/* ================================================================
   Crop Schedule Page — Professional Editorial Layout
   File: crop-schedule.css
   Uses existing theme tokens from style.css & newstyles.css
   ================================================================ */

/* === Section Wrapper === */
.crop-schedule-section {
    padding: 80px 0 50px;
    background: #f8fbf5;
    position: relative;
    overflow: hidden;
}

.crop-schedule-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #61b73a 0%, #00578d 50%, #61b73a 100%);
}

/* === Section Header === */
.cs-header {
    text-align: center;
    margin-bottom: 60px;
}

.cs-sub-marker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #61b73a;
    margin-bottom: 18px;
    padding: 6px 18px;
    background: rgba(97, 183, 58, 0.08);
    border: 1px solid rgba(97, 183, 58, 0.2);
    border-radius: 30px;
}

.cs-sub-marker i {
    font-size: 14px;
}

.cs-headline {
    font-family: 'Newsreader', 'EB Garamond', Georgia, serif;
    font-weight: 400;
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    line-height: 1.2;
    color: #00578d;
    letter-spacing: -0.01em;
    margin-bottom: 16px;
}

.cs-headline em {
    font-style: italic;
    color: #61b73a;
}

.cs-description {
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    color: #555;

    margin: 0 auto;
}

/* === Crop Schedule Cards === */
.cs-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 87, 141, 0.06);
    border: 1px solid rgba(0, 87, 141, 0.08);
    margin-bottom: 50px;
    overflow: hidden;
    transition: box-shadow 0.4s ease, transform 0.4s ease;
}

.cs-card:hover {
    box-shadow: 0 12px 50px rgba(0, 87, 141, 0.12);
    transform: translateY(-4px);
}

/* Card Header */
.cs-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding: 28px 32px;
    background: linear-gradient(135deg, #00578d 0%, #003d66 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.cs-card-header::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(97, 183, 58, 0.08);
    pointer-events: none;
}

.cs-card-crop-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    position: relative;
    z-index: 2;
}

.cs-card-crop-name {
    font-family: 'Newsreader', 'EB Garamond', Georgia, serif;
    font-size: 1.6rem;
    font-weight: 500;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cs-card-crop-name i {
    font-size: 1.3rem;
    color: #61b73a;
}

.cs-card-crop-detail {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.82rem;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.75);
}

.cs-card-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: rgba(97, 183, 58, 0.18);
    border: 1px solid rgba(97, 183, 58, 0.35);
    border-radius: 8px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #90ee90;
    position: relative;
    z-index: 2;
}

.cs-card-badge i {
    font-size: 13px;
}

/* Card Body */
.cs-card-body {
    padding: 0;
}

/* Schedule Table */
.cs-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.cs-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.88rem;
    border: 1.5px solid #dbe3db;
}

.cs-table thead {
    background: #f0f7ed;
}

.cs-table thead th {
    padding: 14px 18px;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #00578d;
    border-bottom: 2px solid rgba(97, 183, 58, 0.25);
    border-right: 1.5px solid #dbe3db;
    text-align: left;
    white-space: nowrap;
}

.cs-table thead th:last-child {
    border-right: none;
}

.cs-table thead th:first-child {
    width: 12%;
    text-align: center;
}

.cs-table tbody tr {
    border-bottom: 1.5px solid #dbe3db;
    transition: background 0.2s ease;
}

.cs-table tbody tr:hover {
    background: #f8fdf5;
}

.cs-table tbody tr:last-child {
    border-bottom: none;
}

.cs-table tbody td {
    padding: 12px 12px;
    color: #333;
    vertical-align: top;
    line-height: 1.55;
    border-right: 1.5px solid #dbe3db;
}

.cs-table tbody td:last-child {
    border-right: none;
}

.cs-table tbody td:first-child {
    text-align: center;
    font-weight: 700;
    color: #00578d;
    font-size: 1rem;
}

.cs-stage-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00578d, #003d66);
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
}

.cs-capsule-name {
    font-weight: 600;
    color: #00578d;
    display: block;
    margin-bottom: 2px;
}

.cs-capsule-strain {
    font-style: italic;
    color: #61b73a;
    font-size: 0.82rem;
}

.cs-timing-badge {
    display: inline-block;
    padding: 3px 10px;
    background: rgba(0, 87, 141, 0.06);
    border-radius: 4px;
    font-size: 0.82rem;
    font-weight: 500;
    color: #00578d;
}

/* Card Footer / Note */
.cs-card-footer {
    padding: 18px 32px;
    background: #f9fdf6;
    border-top: 1px solid #eef5ea;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.cs-card-footer i {
    color: #61b73a;
    font-size: 1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.cs-card-footer p {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.88rem;
    color: #555;
    line-height: 1.6;
    margin: 0;
    font-style: italic;
}

/* === Benefits Section === */
.cs-benefits {
    margin-top: 30px;
    margin-bottom: 50px;
}

.cs-benefits-header {
    text-align: center;
    margin-bottom: 40px;
}

.cs-benefits-header h3 {
    font-family: 'Newsreader', 'EB Garamond', Georgia, serif;
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    color: #00578d;
    font-weight: 400;
    margin-bottom: 8px;
}

.cs-benefits-header p {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.95rem;
    color: #777;
}

.cs-benefit-card {
    background: #fff;
    border-radius: 14px;
    padding: 32px 28px;
    border: 1px solid rgba(0, 87, 141, 0.06);
    box-shadow: 0 3px 20px rgba(0, 0, 0, 0.04);
    height: 100%;
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}

.cs-benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(180deg, #61b73a, #00578d);
    border-radius: 0 0 4px 0;
    transition: height 0.4s ease;
}

.cs-benefit-card:hover::before {
    height: 100%;
}

.cs-benefit-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 87, 141, 0.1);
}

.cs-benefit-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(97, 183, 58, 0.1), rgba(0, 87, 141, 0.08));
    margin-bottom: 20px;
    font-size: 1.5rem;
    color: #61b73a;
}

.cs-benefit-card h4 {
    font-family: 'Newsreader', 'EB Garamond', Georgia, serif;
    font-size: 1.15rem;
    font-weight: 500;
    color: #00578d;
    margin-bottom: 10px;
    line-height: 1.3;
}

.cs-benefit-card p {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.88rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.cs-benefit-stat {
    display: inline-block;
    font-weight: 700;
    color: #61b73a;
    font-size: 1rem;
}

/* === Download CTA Section === */
.cs-download-section {
    text-align: center;
    padding: 50px 30px;
    background: linear-gradient(135deg, #00578d 0%, #003d66 50%, #002a4f 100%);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    margin-bottom: 50px;
}

.cs-download-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: rgba(97, 183, 58, 0.06);
    pointer-events: none;
}

.cs-download-section::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: rgba(97, 183, 58, 0.04);
    pointer-events: none;
}

.cs-download-section h3 {
    font-family: 'Newsreader', 'EB Garamond', Georgia, serif;
    font-size: clamp(1.4rem, 2.5vw, 1.9rem);
    color: #fff;
    font-weight: 400;
    margin-bottom: 10px;
    position: relative;
    z-index: 2;
}

.cs-download-section p {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 28px;
    position: relative;
    z-index: 2;
}

.cs-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 36px;
    background: linear-gradient(135deg, #61b73a, #4ea32f);
    color: #fff;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    position: relative;
    z-index: 2;
    transition: all 0.35s ease;
    box-shadow: 0 6px 25px rgba(97, 183, 58, 0.35);
    text-decoration: none;
}

.cs-download-btn:hover {
    background: linear-gradient(135deg, #4ea32f, #3d8a24);
    transform: translateY(-3px);
    box-shadow: 0 10px 35px rgba(97, 183, 58, 0.45);
    color: #fff;
}

.cs-download-btn i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.cs-download-btn:hover i {
    transform: translateY(3px);
    animation: bounceDown 0.6s ease infinite;
}

@keyframes bounceDown {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(5px);
    }
}

/* === Contact Strip === */
.cs-contact-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    padding: 30px;
    background: #fff;
    border-radius: 14px;
    border: 1px solid rgba(0, 87, 141, 0.06);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.03);
}

.cs-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.cs-contact-item:hover {
    transform: translateY(-2px);
}

.cs-contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    font-size: 1.1rem;
}

.cs-contact-icon.website {
    background: rgba(0, 87, 141, 0.08);
    color: #00578d;
}

.cs-contact-icon.whatsapp {
    background: rgba(37, 211, 102, 0.1);
    color: #25d366;
}

.cs-contact-text {
    display: flex;
    flex-direction: column;
}

.cs-contact-label {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #999;
    font-weight: 600;
}

.cs-contact-value {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.92rem;
    color: #333;
    font-weight: 500;
}

/* === Enquiry Modal — Centered Overlay === */
#pdfEnquiryModal.modal {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    max-width: none !important;
    height: 100% !important;
    max-height: none !important;
    background-color: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    z-index: 999999 !important;
}

#pdfEnquiryModal .modal-dialog {
    max-width: 640px;
}

/* Custom scale transition */
/* #pdfEnquiryModal.fade .modal-dialog {
    transform: scale(0.85) translateY(30px);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
}

#pdfEnquiryModal.show .modal-dialog {
    transform: scale(1) translateY(0);
    opacity: 1;
} */

/* Backdrop */
.modal-backdrop {
    z-index: 999998 !important;
}

#pdfEnquiryModal .modal-content {
    border: none;
    border-radius: 24px;
    overflow: hidden;
    box-shadow:
        0 30px 100px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.08);
    animation: modalGlow 3s ease-in-out infinite alternate;
}

@keyframes modalGlow {
    0% {
        box-shadow: 0 30px 100px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.08);
    }

    100% {
        box-shadow: 0 30px 100px rgba(0, 87, 141, 0.2), 0 0 30px rgba(97, 183, 58, 0.05);
    }
}

/* Modal Header */
#pdfEnquiryModal .modal-header {
    background: linear-gradient(135deg, #00578d 0%, #003d66 60%, #002a4f 100%);
    padding: 30px 36px 26px;
    border: none;
    position: relative;
    overflow: hidden;
}

#pdfEnquiryModal .modal-header::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -40px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(97, 183, 58, 0.08);
    pointer-events: none;
}

#pdfEnquiryModal .modal-header::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: -20px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(97, 183, 58, 0.05);
    pointer-events: none;
}

#pdfEnquiryModal .modal-title {
    font-family: 'Newsreader', 'EB Garamond', Georgia, serif;
    font-size: 1.5rem;
    color: #fff;
    font-weight: 400;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 10px;
}

#pdfEnquiryModal .modal-title i {
    color: #90ee90;
    font-size: 1.2rem;
}

#pdfEnquiryModal .modal-header .btn-close {
    filter: brightness(0) invert(1);
    opacity: 0.6;
    position: relative;
    z-index: 2;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

#pdfEnquiryModal .modal-header .btn-close:hover {
    opacity: 1;
    transform: rotate(90deg);
}

.cs-modal .modal-subtitle {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.55);
    margin-top: 6px;
    position: relative;
    z-index: 2;
}

/* Modal Body */
#pdfEnquiryModal .modal-body {
    padding: 32px 36px 24px;
    background: #fff;
}

/* Form Groups */
.cs-form-group {
    margin-bottom: 20px;
}

.cs-form-group label {
    display: block;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    color: #444;
    margin-bottom: 7px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.cs-form-group label .required-star {
    color: #e53935;
    margin-left: 2px;
}

.cs-form-group input,
.cs-form-group textarea {
    width: 100%;
    padding: 13px 18px;
    border: 1.5px solid #e8e8e8;
    border-radius: 12px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.92rem;
    color: #333;
    background: #f9f9f9;
    transition: all 0.3s ease;
    outline: none;
}

.cs-form-group input:focus,
.cs-form-group textarea:focus {
    border-color: #61b73a;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(97, 183, 58, 0.08);
}

.cs-form-group input::placeholder,
.cs-form-group textarea::placeholder {
    color: #c0c0c0;
    font-style: normal;
}

.cs-form-group textarea {
    resize: vertical;
    min-height: 85px;
}

.cs-form-group .invalid-feedback {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.76rem;
    color: #e53935;
    margin-top: 5px;
    display: none;
}

.cs-form-group .is-invalid {
    border-color: #e53935 !important;
    box-shadow: 0 0 0 4px rgba(229, 57, 53, 0.06) !important;
}

.cs-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

/* Modal Footer */
#pdfEnquiryModal .modal-footer {
    padding: 20px 36px 30px;
    border-top: 1px solid #f0f0f0;
    background: #fafbfc;
    display: flex;
    justify-content: center;
}

.cs-submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 40px;
    background: linear-gradient(135deg, #61b73a, #4ea32f);
    color: #fff;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 25px rgba(97, 183, 58, 0.3);
    width: 100%;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.cs-submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.5s ease;
}

.cs-submit-btn:hover::before {
    left: 100%;
}

.cs-submit-btn:hover {
    background: linear-gradient(135deg, #4ea32f, #3d8a24);
    transform: translateY(-2px);
    box-shadow: 0 10px 35px rgba(97, 183, 58, 0.4);
    color: #fff;
}

.cs-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.cs-submit-btn .spinner-border {
    width: 18px;
    height: 18px;
    border-width: 2px;
}

/* PDF Info in modal */
.cs-pdf-info {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    background: linear-gradient(135deg, rgba(0, 87, 141, 0.03), rgba(97, 183, 58, 0.03));
    border: 1px solid rgba(0, 87, 141, 0.08);
    border-radius: 14px;
    margin-bottom: 26px;
}

.cs-pdf-info i {
    font-size: 2rem;
    color: #e53935;
    flex-shrink: 0;
}

.cs-pdf-info-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.cs-pdf-info-name {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: #333;
}

.cs-pdf-info-size {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.72rem;
    color: #999;
}

/* === Fade-in Animation === */
.cs-fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.cs-fade-up.cs-visible {
    opacity: 1;
    transform: translateY(0);
}

/* === Responsive === */
@media (max-width: 991px) {
    .crop-schedule-section {
        padding: 60px 0 70px;
    }

    .cs-card-header {
        padding: 22px 24px;
    }

    .cs-card-crop-name {
        font-size: 1.35rem;
    }

    .cs-card-footer {
        padding: 16px 24px;
    }

    .cs-form-row {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
}

@media (max-width: 767px) {
    .crop-schedule-section {
        padding: 50px 0 60px;
    }

    .cs-header {
        margin-bottom: 40px;
    }

    .cs-table thead th,
    .cs-table tbody td {
        padding: 12px 14px;
        font-size: 0.82rem;
    }

    .cs-card-header {
        padding: 18px 20px;
        flex-direction: column;
        align-items: flex-start;
    }

    .cs-download-section {
        padding: 40px 20px;
        border-radius: 14px;
    }

    .cs-contact-strip {
        flex-direction: column;
        gap: 20px;
    }

    .cs-benefit-card {
        padding: 24px 20px;
    }
}

@media (max-width: 575px) {
    .cs-table {
        font-size: 0.8rem;
    }

    .cs-table thead th {
        font-size: 0.68rem;
        padding: 10px 10px;
    }

    .cs-table tbody td {
        padding: 10px 10px;
    }

    .cs-stage-num {
        width: 30px;
        height: 30px;
        font-size: 0.75rem;
    }
}

/* === Tab Navigation === */
.cs-tab-nav-wrapper {
    margin-bottom: 50px;
    display: flex;
    justify-content: center;
    width: 100%;
}

.cs-tab-nav {
    border-bottom: none !important;
    background: rgba(0, 87, 141, 0.05);
    padding: 6px;
    border-radius: 40px;
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 4px;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.05);
    max-width: 100%;
}

.cs-tab-nav .nav-item {
    margin-bottom: 0;
}

.cs-tab-nav .nav-link {
    border: none !important;
    border-radius: 30px !important;
    padding: 10px 20px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    color: #00578d !important;
    background: transparent !important;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: nowrap;
}

.cs-tab-nav .nav-link i {
    font-size: 1rem;
    color: #61b73a;
    transition: transform 0.3s ease;
}

.cs-tab-nav .nav-link.active {
    background: linear-gradient(135deg, #00578d, #003d66) !important;
    color: #fff !important;
    box-shadow: 0 4px 15px rgba(0, 87, 141, 0.25);
}

.cs-tab-nav .nav-link.active i {
    color: #90ee90;
}

.cs-tab-nav .nav-link:hover:not(.active) {
    background: rgba(97, 183, 58, 0.1) !important;
    color: #61b73a !important;
}

.cs-tab-nav .nav-link:hover i {
    transform: rotate(15deg) scale(1.15);
}

/* Responsive Grid layout for Tabs on screens below 1200px or when zoomed */
@media (max-width: 1199px) {
    .cs-tab-nav {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        width: 100%;
        border-radius: 20px;
        padding: 8px;
        gap: 8px;
    }

    .cs-tab-nav .nav-link {
        padding: 12px 10px;
        border-radius: 12px !important;
        white-space: normal;
        text-align: center;
    }
}

@media (max-width: 767px) {
    .cs-tab-nav {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .cs-tab-nav {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .cs-tab-nav .nav-link {
        padding: 10px;
    }
}

/* === Mobile Modal Optimizations === */
@media (max-width: 575px) {
    #pdfEnquiryModal .modal-header {
        padding: 20px 20px 16px;
    }

    #pdfEnquiryModal .modal-body {
        padding: 20px 20px 16px;
    }

    #pdfEnquiryModal .modal-footer {
        padding: 16px 20px 20px;
    }

    .cs-form-group {
        margin-bottom: 12px;
    }

    .cs-form-group input,
    .cs-form-group textarea {
        padding: 10px 14px;
        font-size: 0.85rem;
    }

    .cs-pdf-info {
        padding: 10px 14px;
        margin-bottom: 16px;
    }
}

/* === Yield Boost Box === */
.cs-yield-boost-box {
    margin-top: 40px;
    padding: 24px 30px;
    background-color: #fffdf0;
    border: 2px solid #e5a93b;
    border-radius: 12px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #333;
    box-shadow: 0 4px 15px rgba(229, 169, 59, 0.08);
}

.cs-yield-boost-box .cs-ybb-title {
    color: #00578d;
    font-weight: 700;
}

.cs-yield-boost-box strong {
    font-weight: 700;
    color: #111;
}

.cs-yield-boost-box .cs-ybb-italic {
    font-style: italic;
    color: #555;
}

/* === Protocol & Transition Section === */
.cs-info-section {
    margin-top: 40px;
    margin-bottom: 30px;
    font-family: 'DM Sans', sans-serif;
}

.cs-info-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 87, 141, 0.04);
    border: 1px solid rgba(0, 87, 141, 0.08);
    padding: 35px 30px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.cs-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, #61b73a, #00578d);
}

.cs-info-card h3 {
    font-family: 'Newsreader', 'EB Garamond', Georgia, serif;
    color: #00578d;
    font-size: 1.45rem;
    margin-bottom: 24px;
    border-bottom: 1px solid rgba(97, 183, 58, 0.15);
    padding-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
}

.cs-info-card h3 i {
    color: #61b73a;
}

.cs-info-list {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.cs-info-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.cs-info-item-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(97, 183, 58, 0.1);
    color: #61b73a;
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.cs-info-item-content h4 {
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #111;
    margin-bottom: 4px;
}

.cs-info-item-content p {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.6;
    margin: 0;
}

.cs-info-item-content strong {
    color: #00578d;
}

.cs-transition-text {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 24px;
}

.cs-transition-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}

.cs-transition-step {
    background: #fcfdfe;
    border: 1px solid rgba(0, 87, 141, 0.08);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 87, 141, 0.02);
    transition: all 0.3s ease;
}

.cs-transition-step:hover {
    transform: translateY(-2px);
    border-color: #61b73a;
    box-shadow: 0 6px 20px rgba(97, 183, 58, 0.08);
}

.cs-transition-step-year {
    font-weight: 700;
    color: #61b73a;
    font-size: 1.15rem;
    margin-bottom: 8px;
}

.cs-transition-step-desc {
    font-size: 0.88rem;
    color: #333;
    line-height: 1.5;
}

.cs-transition-footer {
    padding-top: 15px;
    border-top: 1px dashed rgba(0, 0, 0, 0.1);
    font-size: 0.9rem;
    color: #555;
    line-height: 1.6;
}

@media (max-width: 767px) {
    .cs-transition-steps {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}