/* ------------------------------------------------------------
   Ollato Eduversity - About Approach CSS
   File: assets/css/about/approach.css

   Purpose:
   - Style the About page Approach section
   - Keep typography simple, professional and readable
   - Keep main heading, step titles and note title bold
   - Style step cards, icons, numbers and professional note
   - Support English, Marathi and Hindi layouts

   Related PHP file:
   pages/about/approach.php
------------------------------------------------------------ */


/* ------------------------------------------------------------
   Section Base
------------------------------------------------------------ */

.about-approach {
    position: relative;
    overflow: hidden;
    padding-top: var(--space-12);
    padding-bottom: var(--space-14);
    background-color: var(--color-white);
}

.about-approach::before {
    content: "";
    position: absolute;
    top: 85px;
    left: -110px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background-color: rgba(31, 79, 143, 0.045);
    pointer-events: none;
}

.about-approach::after {
    content: "";
    position: absolute;
    right: -90px;
    bottom: 90px;
    width: 190px;
    height: 190px;
    border-radius: 50%;
    background-color: rgba(33, 166, 122, 0.055);
    pointer-events: none;
}

.about-approach .container {
    position: relative;
    z-index: 1;
}


/* ------------------------------------------------------------
   Section Header
------------------------------------------------------------ */

.about-approach-header {
    max-width: 820px;
    margin: 0 auto var(--space-8);
    text-align: center;
}

.about-approach-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-3);
    font-weight: 500;
}

.about-approach-title {
    max-width: 780px;
    margin: 0 auto var(--space-3);
    color: var(--color-heading);
    font-size: 30px;
    font-weight: 700;
    line-height: 1.3;
}

.about-approach-subtitle {
    max-width: 730px;
    margin: 0 auto var(--space-3);
    color: var(--color-primary);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.65;
}

.about-approach-description {
    max-width: 760px;
    margin: 0 auto;
    color: var(--color-text-light);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.75;
}


/* ------------------------------------------------------------
   Approach Steps
------------------------------------------------------------ */

.about-approach-steps {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: var(--space-4);
    margin-bottom: var(--space-8);
}

.about-approach-step {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: var(--space-4);
    border: 1px solid rgba(31, 79, 143, 0.1);
    border-radius: var(--radius-xl);
    background-color: var(--color-white);
    box-shadow: var(--shadow-xs);
    transition:
        transform var(--transition-normal),
        box-shadow var(--transition-normal),
        border-color var(--transition-normal);
}

.about-approach-step:hover {
    transform: translateY(-3px);
    border-color: rgba(31, 79, 143, 0.18);
    box-shadow: var(--shadow-sm);
}

.about-approach-step-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
}

.about-approach-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-secondary);
    font-size: 13px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0.4px;
}

.about-approach-step-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-lg);
    background-color: var(--color-primary-light);
    color: var(--color-primary);
    font-size: 20px;
    line-height: 1;
}

.about-approach-step-content {
    flex: 1;
}

.about-approach-step-title {
    margin-bottom: var(--space-2);
    color: var(--color-heading);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.45;
}

.about-approach-step-text {
    margin-bottom: 0;
    color: var(--color-text-light);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.7;
}


/* ------------------------------------------------------------
   Professional Note
------------------------------------------------------------ */

.about-approach-note {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: var(--space-4);
    align-items: flex-start;
    max-width: 860px;
    margin: 0 auto;
    padding: var(--space-5);
    border: 1px solid rgba(31, 79, 143, 0.1);
    border-radius: var(--radius-xl);
    background:
        linear-gradient(
            135deg,
            rgba(31, 79, 143, 0.06) 0%,
            rgba(255, 255, 255, 0.95) 100%
        );
    box-shadow: var(--shadow-xs);
}

.about-approach-note-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: var(--radius-lg);
    background-color: var(--color-white);
    color: var(--color-primary);
    font-size: 23px;
    line-height: 1;
    box-shadow: var(--shadow-xs);
}

.about-approach-note-content {
    min-width: 0;
}

.about-approach-note-title {
    margin-bottom: var(--space-2);
    color: var(--color-heading);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
}

.about-approach-note-text {
    margin-bottom: 0;
    color: var(--color-text-light);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.7;
}


/* ------------------------------------------------------------
   Language-Specific Adjustments
------------------------------------------------------------ */

html[lang="hi"] .about-approach-title,
html[lang="mr"] .about-approach-title {
    line-height: 1.4;
}

html[lang="hi"] .about-approach-subtitle,
html[lang="hi"] .about-approach-description,
html[lang="hi"] .about-approach-step-text,
html[lang="hi"] .about-approach-note-text,
html[lang="mr"] .about-approach-subtitle,
html[lang="mr"] .about-approach-description,
html[lang="mr"] .about-approach-step-text,
html[lang="mr"] .about-approach-note-text {
    line-height: 1.85;
}

html[lang="hi"] .about-approach-step-title,
html[lang="hi"] .about-approach-note-title,
html[lang="mr"] .about-approach-step-title,
html[lang="mr"] .about-approach-note-title {
    line-height: 1.55;
}


/* ------------------------------------------------------------
   Responsive - Large Tablet / Small Laptop
------------------------------------------------------------ */

@media (max-width: 1199px) {
    .about-approach {
        padding-top: var(--space-11);
        padding-bottom: var(--space-12);
    }

    .about-approach-steps {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: var(--space-4);
    }

    .about-approach-title {
        font-size: 28px;
    }
}


/* ------------------------------------------------------------
   Responsive - Tablet
------------------------------------------------------------ */

@media (max-width: 991px) {
    .about-approach {
        padding-top: var(--space-10);
        padding-bottom: var(--space-11);
    }

    .about-approach-header {
        margin-bottom: var(--space-7);
    }

    .about-approach-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 760px;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: var(--space-7);
    }

    .about-approach-title {
        font-size: 27px;
    }

    .about-approach-subtitle {
        font-size: 15px;
    }
}


/* ------------------------------------------------------------
   Responsive - Mobile
------------------------------------------------------------ */

@media (max-width: 767px) {
    .about-approach {
        padding-top: var(--space-8);
        padding-bottom: var(--space-10);
    }

    .about-approach::before,
    .about-approach::after {
        display: none;
    }

    .about-approach-header {
        margin-bottom: var(--space-6);
    }

    .about-approach-title {
        font-size: 25px;
        line-height: 1.35;
    }

    .about-approach-subtitle,
    .about-approach-description {
        font-size: 14px;
    }

    .about-approach-steps {
        grid-template-columns: 1fr;
        gap: var(--space-3);
        margin-bottom: var(--space-6);
    }

    .about-approach-step {
        padding: var(--space-4);
    }

    .about-approach-step-top {
        margin-bottom: var(--space-3);
    }

    .about-approach-step-icon {
        width: 42px;
        height: 42px;
        font-size: 19px;
    }

    .about-approach-note {
        grid-template-columns: 44px minmax(0, 1fr);
        gap: var(--space-3);
        padding: var(--space-4);
    }

    .about-approach-note-icon {
        width: 44px;
        height: 44px;
        font-size: 20px;
    }
}


/* ------------------------------------------------------------
   Responsive - Small Mobile
------------------------------------------------------------ */

@media (max-width: 575px) {
    .about-approach {
        padding-top: var(--space-7);
        padding-bottom: var(--space-9);
    }

    .about-approach-title {
        font-size: 23px;
    }

    .about-approach-label {
        margin-bottom: var(--space-2);
    }

    .about-approach-step {
        border-radius: var(--radius-lg);
    }

    .about-approach-step-title {
        font-size: 14px;
    }

    .about-approach-step-text {
        font-size: 13px;
    }

    .about-approach-note {
        grid-template-columns: 1fr;
        text-align: center;
        border-radius: var(--radius-lg);
    }

    .about-approach-note-icon {
        margin: 0 auto;
    }

    .about-approach-note-title {
        font-size: 15px;
    }

    .about-approach-note-text {
        font-size: 13px;
    }
}