/* Pricing Page Specific Styles */
body {
    background-color: #f8f9fa; /* Light gray background like the example */
}

.pricing-page-container {
    max-width: 1280px; /* Increased from 1100px */
    margin: 0 auto;
    padding: 2rem;
    padding-top: 8rem; /* Account for fixed navbar */
}

.pricing-header-section {
    text-align: center;
    margin-bottom: 3rem;
}

.pricing-header-section h1 {
    font-size: 2.8rem;
    font-weight: 600;
    color: #212529; /* Darker text */
    margin-bottom: 1.5rem;
}

.pricing-toggle-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    background-color: #fff;
    padding: 0.5rem;
    border-radius: 50px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    max-width: fit-content;
    margin: 0 auto;
}

.toggle-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 50px;
    background-color: transparent;
    color: #6c757d; /* Muted text */
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.toggle-btn.active {
    background-color: #28a745; /* Green active state */
    color: #fff;
}

.discount-badge {
    background-color: #ffc107; /* Yellow badge */
    color: #212529;
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    margin-left: 0.5rem;
    font-weight: bold;
}

.free-trial-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #495057;
    margin-left: 1rem;
}

/* Basic Switch Styles (from W3Schools) */
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 28px;
}

.switch input { 
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
}

input:checked + .slider {
    background-color: #28a745;
}

input:focus + .slider {
    box-shadow: 0 0 1px #28a745;
}

input:checked + .slider:before {
    transform: translateX(22px);
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

/* Pricing Plans Section */
.pricing-plans-section {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Changed from auto-fit to 4 columns */
    gap: 2rem;
    align-items: stretch; /* Make cards same height if content differs */
    margin-bottom: 3rem;
    padding-top: 10px; /* Add a bit of padding to the container if cards are lifted, to avoid cutoff */
}

.pricing-plan-card {
    background-color: #fff;
    border: 1px solid #e9ecef; /* Light border */
    border-radius: 12px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    text-align: left;
    position: relative; /* For badges */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-plan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.pricing-plan-card.popular {
    border: 2px solid #28a745; /* Green border for popular */
    box-shadow: 0 5px 20px rgba(40, 167, 69, 0.2);
}

.pricing-plan-card.recommended {
    border: 2px solid #007bff; /* Ensure a distinct, slightly thicker blue border */
    box-shadow: 0 10px 35px rgba(0, 100, 255, 0.3); /* Slightly enhanced shadow */
    transform: translateY(-10px);
    padding-bottom: 2.5rem; /* Slightly increased padding for more height */
    position: relative; /* Needed for z-index to work effectively with transform */
    z-index: 5; /* Ensure it's visually above other cards */
}

.plan-badges-container {
    /* position: absolute; */ /* Removed */
    /* top: -15px; */ /* Removed */
    /* left: 50%; */ /* Removed */
    /* transform: translateX(-50%); */ /* Removed */
    display: flex;
    gap: 8px; /* Space between badges */
    /* z-index: 10; */ /* Removed */
    margin-bottom: 8px; /* Space below badges, before h2 */
}

/* Reset positioning for badges INSIDE the container to flow as flex items */
.plan-badges-container .plan-badge {
    position: relative; /* Allow them to flow as flex items */
    top: auto;
    left: auto;
    transform: none;
    /* Inherit other .plan-badge styles like padding, color, font, border-radius */
}

.plan-badge {
    position: absolute;
    top: -15px; 
    left: 50%;
    transform: translateX(-50%);
    z-index: 10; /* Ensure badges are on top */
    padding: 0.25rem 0.7rem; /* Adjusted padding for even smaller font */
    border-radius: 20px;
    font-size: 0.65rem; /* Further reduced font size */
    font-weight: bold;
    color: #fff;
}

.popular-badge {
    background-color: #FF6F00; /* Hot Orange */
}

.recommended-badge {
    background-color: #D81B60; /* Hot Pink/Magenta */
}

.best-deal-badge {
    background-color: #007bff; /* Blue for differentiation */
    /* Or use the same green: #28a745; */
}

.plan-header {
    /* padding-top: 25px; */ /* This global rule is kept but overridden above for .recommended .plan-header */
    /* The general rule will apply to non-recommended cards, ensuring their single badges have space */
}

.plan-header h2 {
    font-size: 1.6rem;
    font-weight: 600;
    color: #212529;
    margin-bottom: 0.25rem;
}

.plan-header p {
    font-size: 0.95rem;
    color: #6c757d;
    margin-bottom: 1.5rem;
}

.plan-price {
    margin-bottom: 1.5rem;
}

.plan-price .price-amount {
    font-size: 3rem;
    font-weight: 600;
    color: #212529;
}

.plan-price .price-period {
    font-size: 1rem;
    color: #6c757d;
    margin-left: 0.25rem;
}

.pricing-plan-card.custom-plan .price-amount {
    font-size: 1.8rem; /* Smaller font for "Let's Talk" */
    color: #007bff;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
    flex-grow: 1; /* Allows this to take up space so buttons align */
}

.plan-features li {
    font-size: 0.95rem;
    color: #495057;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
}

.plan-features li i.fa-check {
    color: #28a745;
    margin-right: 0.75rem;
    font-size: 0.9rem;
}
.plan-features li i.fa-info-circle {
    color: #6c757d;
    margin-left: 0.5rem;
    font-size: 0.8rem;
}

.plan-cta {
    display: block;
    width: 100%;
    padding: 1rem;
    text-align: center;
    background-color: #28a745;
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s ease;
    margin-bottom: 1rem;
}

.plan-cta:hover {
    background-color: #218838; /* Darker green */
}

.plan-cta i.fa-arrow-right {
    margin-left: 0.5rem;
}

.plan-note {
    font-size: 0.85rem;
    color: #6c757d;
    text-align: center;
}

.plan-note i.fa-check-circle {
    color: #28a745;
    margin-right: 0.3rem;
}

/* Post to Section */
.post-to-section {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e9ecef;
}

.post-to-section p {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 1rem;
}

.post-to-section .social-icons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.post-to-section .social-icons i {
    font-size: 1.5rem;
    color: #adb5bd; /* Light gray icons */
    transition: color 0.3s ease;
}

.post-to-section .social-icons i:hover {
    color: #495057; /* Darker on hover */
}

/* Extra Services Section (Now Custom Contact Section) */
.extra-services-section {
    text-align: center;
    padding: 3rem 1rem; /* Adjusted padding slightly */
    margin-top: 2rem;
    border-top: 1px solid #e9ecef; /* Separator line */
    background-color: #f8f9fa; /* Optional: slightly different background */
}

.extra-services-section h2 {
    font-size: 2.2rem;
    font-weight: 600;
    color: #212529;
    margin-bottom: 0.75rem;
}

.extra-services-section .section-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
    margin-bottom: 1.5rem; /* Reduced margin a bit */
    max-width: 700px; /* Increased max-width */
    margin-left: auto;
    margin-right: auto;
}

.custom-service-text {
    font-size: 1rem;
    color: #495057;
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto 2rem auto; /* Centered with bottom margin */
}

.custom-contact-btn {
    display: inline-block; /* Different from plan-cta which is block */
    padding: 1rem 2.5rem; /* Adjusted padding to be similar to plan-cta's vertical but custom horizontal */
    font-size: 1rem; /* Match plan-cta, was 1.05rem */
    background-color: #28a745; /* Match plan-cta */
    color: #fff; /* Match plan-cta */
    border-radius: 8px; /* Match plan-cta */
    text-decoration: none; /* Match plan-cta */
    font-weight: 500; /* Match plan-cta */
    transition: background-color 0.3s ease; /* Match plan-cta */
    /* cta-button class provides some base, this makes it specific */
}

.custom-contact-btn:hover {
    background-color: #218838; /* Match plan-cta hover */
}

/* Remove old styles no longer used */
/*
.extra-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.extra-service-card {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.extra-service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.07);
}

.extra-service-card .service-icon {
    color: #007bff; 
    margin-bottom: 1rem;
}

.extra-service-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #343a40;
    margin-bottom: 0.5rem;
}

.extra-service-card p {
    font-size: 0.95rem;
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.extra-service-card .service-price {
    font-size: 1rem;
    font-weight: 500;
    color: #28a745; 
}
*/

/* Responsive adjustments */
@media (max-width: 992px) {
    .pricing-page-container {
        padding-top: 6rem;
    }
    .pricing-plans-section { /* Added for 2 columns on medium screens */
        grid-template-columns: repeat(2, 1fr);
    }
    .pricing-toggle-container {
        flex-direction: column;
        gap: 0.5rem;
        padding: 1rem;
        max-width: 300px;
    }
    /* .recommended-badge { */ /* Removing previous responsive fix for stacked badges */
        /* top: auto; */
        /* left: 10px; */
        /* transform: none; */
    /* } */
    .free-trial-toggle {
        margin-left: 0;
        margin-top: 0.5rem;
    }
}

@media (max-width: 768px) {
    .pricing-header-section h1 {
        font-size: 2.2rem;
    }
    .pricing-plans-section { /* This existing rule will stack them to 1 column */
        grid-template-columns: 1fr;
    }
}

.pricing-plan-card.recommended .plan-header {
    padding-top: 10px; /* Override global padding for this specific header */
    display: flex;
    flex-direction: column;
    align-items: center;
} 