/* ------------------------------------------------------------
   Ollato Eduversity - Expert CTA CSS
   File: assets/css/experts/expert-cta.css

   Purpose:
   - Style the Experts page final CTA section
   - Keep typography simple, professional and readable
   - Keep main heading bold only
   - Style CTA content, feature list and buttons
   - Support English, Marathi and Hindi layouts

   Related PHP file:
   pages/experts/expert-cta.php
------------------------------------------------------------ */


/* ------------------------------------------------------------
   Section Base
------------------------------------------------------------ */

.expert-cta {
    position: relative;
    overflow: hidden;
    padding-top: var(--space-12);
    padding-bottom: var(--space-14);
    background:
        linear-gradient(
            135deg,
            rgba(31, 79, 143, 0.96) 0%,
            rgba(20, 58, 111, 0.98) 100%
        );
}

.expert-cta::before {
    content: "";
    position: absolute;
    top: -90px;
    right: -90px;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.08);
    pointer-events: none;
}

.expert-cta::after {
    content: "";
    position: absolute;
    left: -80px;
    bottom: -90px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background-color: rgba(33, 166, 122, 0.18);
    pointer-events: none;
}

.expert-cta .container {
    position: relative;
    z-index: 1;
}


/* ------------------------------------------------------------
   Wrapper
------------------------------------------------------------ */

.expert-cta-wrapper {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.75fr);
    align-items: center;
    gap: var(--space-8);
    padding: var(--space-7);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius-xl);
    background-color: rgba(255, 255, 255, 0.06);
    box-shadow: var(--shadow-md);
}


/* ------------------------------------------------------------
   Content
------------------------------------------------------------ */

.expert-cta-content {
    max-width: 720px;
}

.expert-cta-label {
    display: inline-flex;
    align-items: center;
    margin-bottom: var(--space-3);
    color: rgba(255, 255, 255, 0.88);
    font-weight: 500;
}

.expert-cta-title {
    margin-bottom: var(--space-4);
    color: var(--color-white);
    font-size: 32px;
    font-weight: 700;
    line-height: 1.3;
}

.expert-cta-description {
    max-width: 700px;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.75;
}


/* ------------------------------------------------------------
   Action Area
------------------------------------------------------------ */

.expert-cta-action {
    width: 100%;
    padding: var(--space-5);
    border-radius: var(--radius-lg);
    background-color: var(--color-white);
    box-shadow: var(--shadow-sm);
}

.expert-cta-feature-list {
    display: grid;
    gap: var(--space-3);
    margin: 0 0 var(--space-5);
    padding: 0;
    list-style: none;
}

.expert-cta-feature-item {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    gap: var(--space-2);
    align-items: flex-start;
}

.expert-cta-feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    color: var(--color-accent);
    font-size: 17px;
    line-height: 1;
}

.expert-cta-feature-text {
    color: var(--color-text);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.65;
}


/* ------------------------------------------------------------
   Buttons
------------------------------------------------------------ */

.expert-cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
}

.expert-cta-buttons .btn {
    min-height: 44px;
    font-weight: 500;
}

.expert-cta-primary-btn,
.expert-cta-secondary-btn {
    flex: 1 1 160px;
    justify-content: center;
}


/* ------------------------------------------------------------
   Language-Specific Adjustments
------------------------------------------------------------ */

html[lang="hi"] .expert-cta-title,
html[lang="mr"] .expert-cta-title {
    line-height: 1.4;
}

html[lang="hi"] .expert-cta-description,
html[lang="hi"] .expert-cta-feature-text,
html[lang="mr"] .expert-cta-description,
html[lang="mr"] .expert-cta-feature-text {
    line-height: 1.85;
}


/* ------------------------------------------------------------
   Responsive - Small Laptop
------------------------------------------------------------ */

@media (max-width: 1199px) {
    .expert-cta {
        padding-top: var(--space-11);
        padding-bottom: var(--space-12);
    }

    .expert-cta-wrapper {
        gap: var(--space-6);
        padding: var(--space-6);
    }

    .expert-cta-title {
        font-size: 30px;
    }
}


/* ------------------------------------------------------------
   Responsive - Tablet
------------------------------------------------------------ */

@media (max-width: 991px) {
    .expert-cta {
        padding-top: var(--space-10);
        padding-bottom: var(--space-11);
    }

    .expert-cta-wrapper {
        grid-template-columns: 1fr;
        max-width: 780px;
        margin: 0 auto;
        text-align: center;
    }

    .expert-cta-content {
        max-width: 100%;
    }

    .expert-cta-description {
        margin-left: auto;
        margin-right: auto;
    }

    .expert-cta-action {
        max-width: 560px;
        margin: 0 auto;
        text-align: left;
    }

    .expert-cta-title {
        font-size: 28px;
    }
}


/* ------------------------------------------------------------
   Responsive - Mobile
------------------------------------------------------------ */

@media (max-width: 767px) {
    .expert-cta {
        padding-top: var(--space-8);
        padding-bottom: var(--space-10);
    }

    .expert-cta::before,
    .expert-cta::after {
        display: none;
    }

    .expert-cta-wrapper {
        padding: var(--space-5);
        border-radius: var(--radius-lg);
    }

    .expert-cta-title {
        font-size: 25px;
        line-height: 1.35;
    }

    .expert-cta-description {
        font-size: 14px;
    }

    .expert-cta-action {
        padding: var(--space-4);
    }

    .expert-cta-buttons {
        display: grid;
        grid-template-columns: 1fr;
    }

    .expert-cta-buttons .btn {
        width: 100%;
    }
}


/* ------------------------------------------------------------
   Responsive - Small Mobile
------------------------------------------------------------ */

@media (max-width: 575px) {
    .expert-cta {
        padding-top: var(--space-7);
        padding-bottom: var(--space-9);
    }

    .expert-cta-wrapper {
        padding: var(--space-4);
    }

    .expert-cta-title {
        font-size: 23px;
    }

    .expert-cta-label {
        margin-bottom: var(--space-2);
    }

    .expert-cta-feature-item {
        grid-template-columns: 22px minmax(0, 1fr);
    }

    .expert-cta-feature-text {
        font-size: 13px;
    }
}