/* =========================================================
   SADHIKA RESEARCH & PUBLICATIONS
   ABOUT US PAGE
========================================================= */


/* =========================================================
   GLOBAL
========================================================= */

.about-page {
    width: 100%;
    overflow: hidden;

    font-family: Georgia, "Times New Roman", serif;

    color: #102a43;
}

.about-page *,
.about-page *::before,
.about-page *::after {
    box-sizing: border-box;
}

.about-container {
    width: 90%;
    max-width: 1390px;
    margin: 0 auto;
}


/* =========================================================
   ABOUT HERO
========================================================= */

.about-hero {
    position: relative;

    width: 100%;

    /* Increased banner height */
    min-height: 275px;

    display: flex;
    align-items: center;

    background-image: url("../images/hero/about-hero.jpg");
    background-size: cover;
    background-position: center;

    overflow: hidden;

    margin-bottom: 25px;
}

.about-hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(5, 31, 57, 0.97) 0%,
            rgba(5, 31, 57, 0.90) 32%,
            rgba(5, 31, 57, 0.67) 57%,
            rgba(5, 31, 57, 0.15) 100%
        );

    z-index: 1;
}

.about-hero-container {
    position: relative;

    z-index: 2;

    width: 90%;
    max-width: 1390px;

    margin: 0 auto;

    padding: 32px 0 35px;
}

.about-breadcrumb {
    display: flex;
    align-items: center;

    gap: 10px;

    margin-bottom: 20px;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 15px;

    color: #ffffff;
}

.about-breadcrumb a {
    color: #ffffff;

    text-decoration: none;

    transition: color 0.25s ease;
}

.about-breadcrumb a:hover {
    color: #d2a331;
}

.about-breadcrumb span:nth-child(2) {
    color: #d2a331;
}

.about-hero-content {
    animation: aboutHeroIn 0.9s ease both;
}

.about-hero h1 {
    margin: 0 0 5px;

    font-family: Georgia, "Times New Roman", serif;

    font-size: clamp(48px, 5vw, 68px);

    line-height: 1.05;

    font-weight: 600;

    color: #ffffff;
}

.about-hero-content p {
    margin: 0;

    font-family: Georgia, "Times New Roman", serif;

    font-size: clamp(22px, 2.2vw, 31px);

    line-height: 1.3;

    color: #ffffff;

    text-align: left;
}


/* =========================================================
   SECTION TITLE
========================================================= */

.about-section-title {
    margin-bottom: 14px;
}

.about-section-title h2 {
    margin: 0;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 29px;

    line-height: 1.2;

    font-weight: 600;

    color: #102a43;
}

.about-section-title span {
    display: block;

    width: 35px;
    height: 3px;

    margin-top: 7px;

    background: #c49324;
}


/* =========================================================
   OUR STORY
========================================================= */

.about-story-section {
    padding: 0 0 25px;

    background: #ffffff;

    /* Gap after story section */
    margin-bottom: 12px;
}

.about-story-grid {
    display: grid;

    grid-template-columns:
        1.05fr
        1.35fr
        0.72fr;

    gap: 22px;

    align-items: stretch;
}


/* =========================================================
   STORY CONTENT
========================================================= */

.about-story-content {
    padding-top: 3px;
}

.about-story-content p {
    margin: 0 0 16px;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 16px;

    line-height: 1.43;

    color: #102a43;

    text-align: justify;
}


/* =========================================================
   BUTTON
========================================================= */

.about-button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 13px;

    min-height: 39px;

    padding: 0 23px;

    margin-top: 2px;

    background: #e9b83f;

    color: #102a43;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 15px;

    font-weight: 600;

    text-decoration: none;

    transition:
        transform 0.25s ease,
        background 0.25s ease,
        box-shadow 0.25s ease;
}

.about-button:hover {
    background: #d5a329;

    transform: translateY(-3px);

    box-shadow: 0 7px 18px rgba(16, 42, 67, 0.16);
}

.about-button span {
    font-size: 19px;
}


/* =========================================================
   STORY IMAGE
========================================================= */

.about-story-image {
    width: 100%;

    min-height: 315px;
}

.about-image-wrapper {
    width: 100%;
    height: 100%;

    overflow: hidden;

    background: #f1eee7;
}

.about-image-wrapper img {
    display: block;

    width: 100%;
    height: 100%;

    min-height: 315px;

    object-fit: cover;

    transition: transform 0.8s ease;
}

.about-image-wrapper:hover img {
    transform: scale(1.04);
}


/* =========================================================
   AT A GLANCE
========================================================= */

.about-glance {
    padding: 13px 17px;

    background: #f8f5ed;

    border: 1px solid #eee7d9;
}

.about-glance .about-section-title {
    margin-bottom: 4px;
}

.glance-item {
    display: flex;

    align-items: center;

    gap: 14px;

    padding: 11px 0;

    border-bottom: 1px solid #e3dccd;
}

.glance-item.last {
    border-bottom: none;

    padding-bottom: 4px;
}

.glance-icon {
    flex: 0 0 58px;

    width: 58px;
    height: 58px;

    display: flex;

    align-items: center;
    justify-content: center;

    color: #b88418;

    font-size: 34px;
}

.glance-item strong {
    display: block;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 25px;

    line-height: 1.05;

    color: #102a43;
}

.glance-item span {
    display: block;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 15px;

    line-height: 1.2;

    color: #102a43;
}


/* =========================================================
   MISSION / VISION / VALUES
========================================================= */

.about-mvv-section {
    padding: 0 0 25px;

    background: #ffffff;

    /* Extra separation */
    margin-bottom: 10px;
}

.about-mvv-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    background: #fbfaf7;

    border-top: 1px solid #eee7d9;
    border-bottom: 1px solid #eee7d9;
}

.about-mvv-item {
    display: flex;

    align-items: center;

    gap: 17px;

    min-height: 78px;

    padding: 10px 35px;

    border-right: 1px solid #e2dbcc;
}

.about-mvv-item:last-child {
    border-right: none;
}

.mvv-icon {
    flex: 0 0 52px;

    width: 52px;
    height: 52px;

    display: flex;

    align-items: center;
    justify-content: center;

    color: #b88418;

    font-size: 33px;
}

.about-mvv-item h3 {
    margin: 0 0 3px;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 21px;

    color: #102a43;
}

.about-mvv-item p {
    margin: 0;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 15px;

    line-height: 1.25;

    color: #102a43;

    text-align: justify;
}


/* =========================================================
   WHY CHOOSE SADHIKA
========================================================= */

.about-why-section {
    padding: 0 0 22px;

    background: #ffffff;

    margin-bottom: 12px;
}

.about-why-title {
    margin-bottom: 10px;
}

.about-why-grid {
    display: grid;

    grid-template-columns: repeat(6, 1fr);

    border-bottom: 1px solid #e5dfd3;
}

.why-item {
    min-height: 110px;

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    padding: 8px 15px;

    text-align: center;

    border-right: 1px solid #e5dfd3;
}

.why-item:last-child {
    border-right: none;
}

.why-icon {
    width: 48px;
    height: 48px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin-bottom: 8px;

    border-radius: 50%;

    background: #082a4d;

    color: #c69326;

    font-size: 22px;

    transition:
        transform 0.3s ease,
        background 0.3s ease;
}

.why-item:hover .why-icon {
    transform: translateY(-5px) rotate(4deg);

    background: #102a43;
}

.why-item p {
    margin: 0;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 15px;

    line-height: 1.18;

    color: #102a43;

    text-align: center;
}


/* =========================================================
   SCROLL REVEAL
========================================================= */

.about-reveal {
    opacity: 0;

    transform: translateY(25px);

    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}

.about-reveal.about-visible {
    opacity: 1;

    transform: translateY(0);
}


/* =========================================================
   HERO ANIMATION
========================================================= */

@keyframes aboutHeroIn {

    from {
        opacity: 0;

        transform: translateY(25px);
    }

    to {
        opacity: 1;

        transform: translateY(0);
    }
}


/* =========================================================
   LARGE DESKTOP
========================================================= */

@media (min-width: 1401px) {

    .about-hero {
        min-height: 285px;
    }

    .about-story-grid {
        gap: 25px;
    }

    .about-story-section {
        padding-bottom: 24px;
    }

}


/* =========================================================
   TABLET / SMALL DESKTOP
========================================================= */

@media (max-width: 1100px) {

    .about-container,
    .about-hero-container {
        width: 92%;
    }

    .about-hero {
        min-height: 265px;
    }

    .about-story-grid {
        grid-template-columns:
            1fr
            1.2fr;

        gap: 24px;
    }

    .about-glance {
        grid-column: 1 / -1;
    }

    .about-mvv-item {
        padding: 10px 20px;
    }

    .about-why-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .why-item:nth-child(3) {
        border-right: none;
    }

    .why-item:nth-child(-n+3) {
        border-bottom: 1px solid #e5dfd3;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .about-container,
    .about-hero-container {
        width: 92%;
    }


    /* -----------------------------------------------------
       HERO
    ----------------------------------------------------- */

    .about-hero {
        min-height: 270px;

        margin-bottom: 18px;

        background-position: 62% center;
    }

    .about-hero-overlay {
        background:
            linear-gradient(
                90deg,
                rgba(5, 31, 57, 0.97) 0%,
                rgba(5, 31, 57, 0.89) 70%,
                rgba(5, 31, 57, 0.64) 100%
            );
    }

    .about-hero-container {
        padding: 30px 0;
    }

    .about-breadcrumb {
        margin-bottom: 15px;

        font-size: 14px;
    }

    .about-hero h1 {
        font-size: 45px;

        line-height: 1.08;

        white-space: normal;
    }

    .about-hero-content p {
        font-size: 21px;

        line-height: 1.35;
    }


    /* -----------------------------------------------------
       STORY
    ----------------------------------------------------- */

    .about-story-section {
        padding: 4px 0 22px;

        margin-bottom: 8px;
    }

    .about-story-grid {
        display: flex;

        flex-direction: column;

        gap: 24px;
    }

    .about-story-content {
        order: 1;
    }

    .about-story-image {
        order: 2;

        min-height: 250px;
    }

    .about-glance {
        order: 3;
    }

    .about-image-wrapper img {
        min-height: 250px;
    }

    .about-story-content p {
        font-size: 15px;

        line-height: 1.55;

        text-align: justify;
    }


    /* -----------------------------------------------------
       SECTION TITLE
    ----------------------------------------------------- */

    .about-section-title {
        margin-bottom: 13px;
    }

    .about-section-title h2 {
        font-size: 27px;
    }


    /* -----------------------------------------------------
       MISSION / VISION / VALUES
    ----------------------------------------------------- */

    .about-mvv-section {
        padding: 0 0 22px;

        margin-bottom: 8px;
    }

    .about-mvv-grid {
        grid-template-columns: 1fr;
    }

    .about-mvv-item {
        min-height: 85px;

        padding: 14px 10px;

        border-right: none;

        border-bottom: 1px solid #e2dbcc;
    }

    .about-mvv-item:last-child {
        border-bottom: none;
    }


    /* -----------------------------------------------------
       WHY CHOOSE
    ----------------------------------------------------- */

    .about-why-section {
        padding-bottom: 24px;

        margin-bottom: 8px;
    }

    .about-why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-item {
        min-height: 115px;

        border-right: 1px solid #e5dfd3;

        border-bottom: 1px solid #e5dfd3;
    }

    .why-item:nth-child(2n) {
        border-right: none;
    }

    .why-item:nth-child(5),
    .why-item:nth-child(6) {
        border-bottom: none;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 420px) {

    .about-hero {
        min-height: 250px;

        margin-bottom: 16px;
    }

    .about-hero-container {
        padding: 27px 0;
    }

    .about-hero h1 {
        font-size: 39px;
    }

    .about-hero-content p {
        font-size: 19px;
    }

    .about-breadcrumb {
        font-size: 13px;
    }


    /* STORY */

    .about-story-section {
        padding-bottom: 20px;

        margin-bottom: 8px;
    }

    .about-story-content p {
        font-size: 14px;

        line-height: 1.55;
    }


    /* TITLES */

    .about-section-title h2 {
        font-size: 25px;
    }


    /* GLANCE */

    .glance-item {
        gap: 10px;

        padding: 10px 0;
    }

    .glance-icon {
        flex-basis: 48px;

        width: 48px;
        height: 48px;

        font-size: 29px;
    }

    .glance-item strong {
        font-size: 22px;
    }

    .glance-item span {
        font-size: 14px;
    }


    /* MVV */

    .about-mvv-section {
        padding-bottom: 20px;
    }

    .about-mvv-item {
        padding: 13px 5px;
    }

    .mvv-icon {
        flex-basis: 45px;

        width: 45px;
        height: 45px;

        font-size: 28px;
    }

    .about-mvv-item h3 {
        font-size: 19px;
    }

    .about-mvv-item p {
        font-size: 14px;
    }


    /* WHY */

    .about-why-section {
        padding-bottom: 20px;
    }

    .why-item {
        min-height: 108px;

        padding: 7px 8px;
    }

    .why-icon {
        width: 43px;
        height: 43px;

        font-size: 19px;
    }

    .why-item p {
        font-size: 13px;
    }

}


/* =========================================================
   VERY SMALL SCREEN
========================================================= */

@media (max-width: 360px) {

    .about-hero {
        min-height: 235px;
    }

    .about-hero h1 {
        font-size: 35px;
    }

    .about-hero-content p {
        font-size: 18px;
    }

    .about-story-grid {
        gap: 20px;
    }

    .about-story-content p {
        font-size: 13.5px;
    }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .about-reveal {
        opacity: 1;

        transform: none;

        transition: none;
    }

    .about-image-wrapper img,
    .about-button,
    .why-icon {
        transition: none;
    }

    .about-hero-content {
        animation: none;
    }

}


/* =========================================================
   FINAL FIX: ABOUT IMAGE HEIGHT
========================================================= */

.about-page .about-story-grid {
    align-items: start !important;
}

.about-page .about-story-image {
    width: 100% !important;
    height: 515px !important;
    min-height: 0 !important;
    align-self: start !important;
    overflow: hidden !important;
}

.about-page .about-image-wrapper {
    width: 100% !important;
    height: 515px !important;
    min-height: 0 !important;
    overflow: hidden !important;
}

.about-page .about-image-wrapper img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    transform: none !important;
}

/* Tablet */
@media (max-width: 1100px) {
    .about-page .about-story-image,
    .about-page .about-image-wrapper {
        height: 450px !important;
    }
}

/* Mobile */
@media (max-width: 700px) {
    .about-page .about-story-image {
        height: auto !important;
        min-height: 0 !important;
    }

    .about-page .about-image-wrapper {
        height: auto !important;
        aspect-ratio: 4 / 3 !important;
    }

    .about-page .about-image-wrapper img {
        height: 100% !important;
        max-height: 100% !important;
        object-fit: cover !important;
    }
}
