
/* =========================================================
   SAMRUDDHI HOMES - PREMIUM ABOUT PAGE
   Original Navy + Lime Green Color Palette
========================================================= */


/* ================= GENERAL ================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --about-navy: #18264B;
    --about-lime: #9ACD32;
    --about-green-light: #F5F8EE;
    --about-white: #FFFFFF;
    --about-text: #526075;
    --about-border: #E1E7D5;
    --about-dark: #111A35;

    --about-font: 'DM Sans', Arial, Helvetica, sans-serif;
    --about-heading: 'Playfair Display', Georgia, serif;
}

body {
    font-family: var(--about-font);
    color: var(--about-navy);
    background: var(--about-white);
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
}


/* ================= ABOUT HERO - CENTRED LAYOUT ================= */

html {
  scroll-behavior: smooth;
}

.hero-btn i {
  transition: transform 0.3s ease;
}

.hero-btn:hover i {
  transform: translateY(4px);
}

.about-hero {
    position: relative;
    min-height: 400px;

    background-image:
        linear-gradient(
            90deg,
            rgba(24, 38, 75, 0.92) 0%,
            rgba(24, 38, 75, 0.78) 45%,
            rgba(24, 38, 75, 0.35) 100%
        ),
        url("../Images/banner5.jpg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 90px 20px;
    text-align: center;

    overflow: hidden;
}


/* HERO OVERLAY */

.about-hero-overlay {
    position: absolute;
    inset: 0;

    background:
        radial-gradient(
            circle at 80% 50%,
            rgba(154, 205, 50, 0.08),
            transparent 40%
        );

    pointer-events: none;
}


/* HERO CONTENT */

.about-hero-content {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 1000px;

    display: flex;
    flex-direction: column;
    align-items: center;
}


/* HERO LABEL */

.about-hero .hero-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;

    color: var(--about-lime);

    font-size: 13px;
    font-weight: 700;

    letter-spacing: 4px;
    text-transform: uppercase;

    margin-bottom: 30px;
}

.about-hero .hero-label span {
    width: 40px;
    height: 2px;
    background: var(--about-lime);
}


/* MAIN HEADING */

.about-hero-content h1 {

    font-family: 'Poppins', sans-serif;

    font-size: clamp(45px, 6.5vw, 82px);
    font-weight: 600;

    line-height: 1.12;

    color: var(--about-white);

    margin-bottom: 25px;
}

.about-hero-content h1 span {
    color: var(--about-lime);
}


/* DESCRIPTION */

.about-hero-content > p {
    width: 100%;
    max-width: 650px;

    color: #E8EBD9;

    font-size: 17px;
    line-height: 1.9;

    margin-bottom: 35px;
}


/* HERO BUTTON */

.hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;

    padding: 16px 28px;

    background: var(--about-lime);
    color: var(--about-navy);

    font-size: 14px;
    font-weight: 700;

    text-decoration: none;
    border-radius: 3px;

    transition: all 0.3s ease;
}

.hero-btn i {
    font-size: 17px;
    transition: transform 0.3s ease;
}

/* HOVER EFFECT */

.hero-btn:hover {
    background: #FFFFFF;
    border-color: #FFFFFF;
    color: var(--about-navy);
    transform: translateY(-3px);
}

.hero-btn:hover i {
    color: var(--about-navy);
    transform: translateY(4px);
}

/* BOTTOM NOTE */

.hero-bottom-note {
    position: absolute;

    bottom: 30px;
    left: 0;
    right: 0;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;

    color: rgba(255, 255, 255, 0.7);

    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.hero-line {
    width: 40px;
    height: 3px;
    background: var(--about-lime);
}


/* MOBILE RESPONSIVE */

@media (max-width: 768px) {

    .about-hero {
        min-height: 480px;
        padding: 80px 20px;
    }

    .about-hero .hero-label {
        font-size: 10px;
        letter-spacing: 3px;
        gap: 10px;
        margin-bottom: 25px;
    }

    .about-hero .hero-label span {
        width: 25px;
    }

    .about-hero-content h1 {
        font-size: clamp(38px, 9vw, 58px);
    }

    .about-hero-content > p {
        font-size: 14px;
        line-height: 1.8;
        margin-bottom: 28px;
    }

    .hero-bottom-note {
        bottom: 18px;
        gap: 10px;
        font-size: 8px;
        letter-spacing: 1px;
    }

    .hero-line {
        width: 22px;
    }
}

/* ================= SECTION LABEL ================= */

.section-title {
    display: flex;
    align-items: center;
    gap: 12px;

    color: var(--about-lime);

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 2.5px;

    margin-bottom: 20px;
}

.section-title-line {
    width: 30px;
    height: 2px;

    background: var(--about-lime);
}


/* ================= ABOUT SECTION ================= */

.about-section {
    width: 86%;
    max-width: 1250px;

    margin: auto;

    padding: 110px 0;

    display: grid;
    grid-template-columns: 1fr 1fr;

    align-items: center;

    gap: 85px;
}


/* IMAGE */

.about-image {
    position: relative;

    min-width: 0;
}

.about-image-main {
    position: relative;

    height: 550px;

    overflow: hidden;

    border-radius: 4px;
}

.about-image-main img {
    width: 100%;
    height: 100%;

    object-fit: contain;

    display: block;
}


/* Image Decoration */

.about-image::before {
    content: "";

    position: absolute;

    top: -18px;
    left: -18px;

    width: 100px;
    height: 100px;

    border-top: 2px solid var(--about-lime);
    border-left: 2px solid var(--about-lime);

    z-index: 2;
}

.about-image::after {
    content: "";

    position: absolute;

    bottom: -18px;
    right: -18px;

    width: 100px;
    height: 100px;

    border-bottom: 2px solid var(--about-lime);
    border-right: 2px solid var(--about-lime);

    z-index: 2;
}


/* Image Badge */

.about-image-badge {
    position: absolute;

    bottom: 30px;
    left: 30px;

    display: flex;
    align-items: center;
    gap: 15px;

    padding: 20px 25px;

    background: var(--about-white);

    box-shadow: 0 10px 35px rgba(24, 38, 75, 0.15);

    border-radius: 3px;

    z-index: 3;
}

.badge-icon {
    width: 48px;
    height: 48px;

    background: var(--about-green-light);

    color: var(--about-navy);

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 22px;
}

.about-image-badge strong {
    display: block;

    font-size: 14px;

    margin-bottom: 5px;
}

.about-image-badge span {
    display: block;

    color: var(--about-text);

    font-size: 12px;
}


/* CONTENT */

.about-content {
    min-width: 0;
}

.about-content h2 {
    font-family: var(--about-heading);

    font-size: clamp(34px, 4vw, 52px);

    line-height: 1.2;

    font-weight: 600;

    margin-bottom: 25px;
}

.about-content h2 span {
    color: var(--about-lime);
}

.about-content p {
    color: var(--about-text);

    font-size: 15px;

    line-height: 1.9;

    margin-bottom: 18px;
}
/* FORCE WHO WE ARE LABEL TO GREEN */

.about-content p.section-title {
    display: inline-block !important;

    color: #9ACD32 !important;

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;

    margin-bottom: 20px;
}

.about-content .about-description {
    color: var(--about-navy);

    font-size: 17px;

    font-weight: 500;
}

.about-btn {
    display: inline-flex;
    align-items: center;
    gap: 15px;

    margin-top: 20px;

    padding: 16px 24px;

    background: var(--about-navy);
    color: var(--about-white);

    border-radius: 3px;

    font-size: 13px;
    font-weight: 700;

    letter-spacing: 0.3px;
}

.about-btn i {
    font-size: 17px;

    color: var(--about-lime);
}


/* HOVER EFFECT */

.about-btn:hover {
    background: var(--about-lime);
    border-color: var(--about-lime);
    color: var(--about-navy);

    transform: translateY(-3px);
}

.about-btn:hover i {
    color: var(--about-navy);
    transform: translate(3px, -3px);
}


/* ================= MISSION SECTION ================= */

.mission-section {
    background: var(--about-green-light);

    padding: 100px 7%;
}

.mission-heading {
    max-width: 800px;

    margin: 0 auto 60px;

    text-align: center;
}

.mission-heading .section-title {
    justify-content: center;
}

.mission-heading h2 {
    font-family: var(--about-heading);

    font-size: clamp(36px, 4vw, 52px);

    font-weight: 600;

    line-height: 1.2;

    margin-bottom: 20px;
}

.mission-heading h2 span {
    color: var(--about-lime);
}

.mission-intro {
    max-width: 580px;

    margin: auto;

    color: var(--about-text);

    font-size: 16px;

    line-height: 1.8;
}


/* ================= VISION & MISSION CARDS ================= */

.mission-cards {
    max-width: 1200px;

    margin: auto;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 25px;
}

.vision-mission {
    grid-template-columns: repeat(2, 1fr);

    max-width: 1000px;

    margin-bottom: 85px;
}

.mission-card {
    background: var(--about-white);

    padding: 38px;

    border: 1px solid rgba(24, 38, 75, 0.05);

    border-radius: 4px;
}

.vision-mission .mission-card {
    min-height: 360px;
}

.mission-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 35px;
}

.mission-card .icon {
    width: 60px;
    height: 60px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--about-green-light);

    color: var(--about-navy);

    font-size: 25px;

    border-radius: 3px;
}

.card-number {
    color: #D9E0CE;

    font-family: var(--about-heading);

    font-size: 38px;
}

.mission-card .section-title {
    margin-bottom: 15px;
}

.mission-card h2 {
    font-family: var(--about-heading);

    font-size: 29px;

    line-height: 1.3;

    font-weight: 600;

    margin-bottom: 20px;
}

.mission-card p {
    color: var(--about-text);

    font-size: 14px;

    line-height: 1.8;
}

.mission-main-card {
    background: var(--about-navy);
    color: var(--about-white);
}

.mission-main-card .icon {
    background: rgba(255, 255, 255, 0.1);

    color: var(--about-lime);
}

.mission-main-card .card-number {
    color: rgba(255, 255, 255, 0.2);
}

.mission-main-card h2 {
    color: var(--about-white);
}

.mission-main-card p {
    color: #D4DCE8;
}


/* ================= VALUES ================= */

.values-heading {
    text-align: center;

    margin-bottom: 40px;
}

.values-heading .section-title {
    justify-content: center;
}

.values-heading h2 {
    font-family: var(--about-heading);

    font-size: 42px;

    font-weight: 600;
}

.values-grid {
    grid-template-columns: repeat(3, 1fr);
}

.value-card {
    padding: 35px;

    text-align: center;
}

.value-card .icon {
    width: 65px;
    height: 65px;

    margin: 0 auto 25px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--about-green-light);

    color: var(--about-navy);

    font-size: 25px;

    border-radius: 50%;
}

.value-card h3 {
    font-size: 19px;

    font-weight: 700;

    margin-bottom: 15px;
}

.value-card p {
    color: var(--about-text);

    font-size: 14px;

    line-height: 1.8;
}


/* ================= STATS ================= */

.stats-section {
    padding: 100px 8%;

    background: var(--about-white);
}

.stats-heading {
    text-align: center;

    max-width: 700px;

    margin: 0 auto 60px;
}

.stats-heading .section-title {
    justify-content: center;
}

.stats-heading h2 {
    font-family: var(--about-heading);

    font-size: clamp(34px, 4vw, 48px);

    font-weight: 600;

    line-height: 1.3;
}


.stats-heading h2 span {
    color: var(--about-lime);
}

.stats-grid {
    max-width: 1200px;

    margin: auto;

    display: grid;
    grid-template-columns: repeat(4, 1fr);

    border-top: 1px solid var(--about-border);
    border-bottom: 1px solid var(--about-border);
}

.stat {
    text-align: center;

    padding: 40px 20px;

    border-right: 1px solid var(--about-border);
}

.stat:last-child {
    border-right: none;
}

.stat h2 {
    font-family: var(--about-heading);

    color: var(--about-navy);

    font-size: 52px;

    font-weight: 600;

    margin-bottom: 10px;
}

.stat h2 span {
    color: var(--about-lime);
}

.stat p {
    color: var(--about-text);

    font-size: 13px;

    font-weight: 600;

    letter-spacing: 1px;

    text-transform: uppercase;
}


/* ================= PARTNERS ================= */

.about-logo-slider {
    padding: 85px 7%;

    background: var(--about-green-light);
}

.partners-heading {
    text-align: center;

    max-width: 650px;

    margin: 0 auto 50px;
}

.partners-heading .section-title {
    justify-content: center;
}

.partners-heading h2 {
    font-family: var(--about-heading);

    font-size: 40px;

    font-weight: 600;

    margin-bottom: 15px;
}

.partners-heading > p:last-child {
    color: var(--about-text);

    font-size: 15px;

    line-height: 1.8;
}

.logo-slider-track {
    max-width: 1100px;

    margin: auto;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 50px;
}

.logo-slide {
    width: 230px;
    height: 130px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--about-white);

    padding: 25px;

    border: 1px solid var(--about-border);

    border-radius: 4px;
}

.logo-slide img {
    width: 100%;
    height: 100%;

    object-fit: contain;

    display: block;
}


/* ================= CTA ================= */

.cta {
    position: relative;

    padding: 100px 7%;

    background: var(--about-navy);

    color: var(--about-white);

    text-align: center;

    overflow: hidden;
}

.cta::before {
    content: "";

    position: absolute;

    width: 350px;
    height: 350px;

    border: 1px solid rgba(154, 205, 50, 0.15);

    border-radius: 50%;

    top: -180px;
    left: -100px;
}

.cta::after {
    content: "";

    position: absolute;

    width: 450px;
    height: 450px;

    border: 1px solid rgba(154, 205, 50, 0.12);

    border-radius: 50%;

    bottom: -300px;
    right: -150px;
}

.cta-content {
    position: relative;
    z-index: 2;

    max-width: 800px;

    margin: auto;
}

.cta .section-title {
    justify-content: center;

    margin-bottom: 25px;
}

.cta h2 {
    font-family: var(--about-heading);

    font-size: clamp(36px, 5vw, 60px);

    font-weight: 600;

    line-height: 1.2;

    margin-bottom: 25px;
}

.cta h2 span {
    color: var(--about-lime);
}

.cta-content > p:not(.section-title) {
    color: #D4DCE8;

    font-size: 16px;

    line-height: 1.8;

    margin-bottom: 35px;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 15px;

    background: var(--about-lime);
    color: var(--about-navy);

    padding: 17px 28px;

    border-radius: 3px;

    font-size: 14px;
    font-weight: 700;
}

.cta-btn i {
    font-size: 18px;
}

/* HOVER EFFECT */

.cta-btn:hover {
    background: #FFFFFF;
    border-color: #FFFFFF;
    color: var(--about-navy);

    transform: translateY(-3px);
}

.cta-btn:hover i {
    transform: translate(3px, -3px);
}


/* ================= RESPONSIVE ================= */

@media (max-width: 1100px) {

    .about-section {
        gap: 50px;
    }

    .about-image-main {
        height: 480px;
    }

    .mission-card {
        padding: 30px;
    }

    .mission-card h2 {
        font-size: 25px;
    }

    .logo-slider-track {
        gap: 30px;
    }

}


/* ================= TABLET ================= */

@media (max-width: 900px) {

    .about-hero {
        min-height: 570px;

        padding: 90px 6%;
    }

    .about-section {
        width: 90%;

        grid-template-columns: 1fr;

        gap: 65px;

        padding: 80px 0;
    }

    .about-image {
        max-width: 650px;

        margin: auto;
    }

    .about-image-main {
        height: 500px;
    }

    .about-content {
        max-width: 700px;
    }

    .mission-section {
        padding: 80px 5%;
    }

    .mission-cards {
        gap: 20px;
    }

    .vision-mission {
        max-width: 100%;
    }

    .vision-mission .mission-card {
        min-height: 350px;
    }

    .mission-card {
        padding: 28px;
    }

    .values-grid {
        grid-template-columns: 1fr 1fr;
    }

    .stats-section {
        padding: 80px 5%;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .stat:nth-child(2) {
        border-right: none;
    }

    .stat:nth-child(1),
    .stat:nth-child(2) {
        border-bottom: 1px solid var(--about-border);
    }

    .logo-slider-track {
        flex-wrap: wrap;
    }

}


/* ================= MOBILE ================= */

@media (max-width: 600px) {

    .about-hero {
        min-height: 540px;

        padding: 80px 6%;
    }

    .hero-label {
        font-size: 10px;

        letter-spacing: 2px;

        margin-bottom: 25px;
    }

    .about-hero-content h1 {
        font-size: 43px;

        line-height: 1.18;
    }

    .about-hero-content > p {
        font-size: 15px;

        line-height: 1.8;
    }

    .hero-btn {
        padding: 15px 20px;
    }

    .hero-bottom-note {
        left: 6%;
        right: 6%;

        bottom: 25px;

        font-size: 9px;

        letter-spacing: 1px;

        gap: 10px;
    }

    .hero-line {
        width: 25px;
    }


    /* ABOUT */

    .about-section {
        width: 88%;

        padding: 65px 0;

        gap: 50px;
    }

    .about-image-main {
        height: 350px;
    }

    .about-image::before,
    .about-image::after {
        width: 60px;
        height: 60px;
    }

    .about-image-badge {
        left: 15px;
        bottom: 15px;

        padding: 14px;
    }

    .badge-icon {
        width: 40px;
        height: 40px;

        font-size: 18px;
    }

    .about-image-badge strong {
        font-size: 12px;
    }

    .about-image-badge span {
        font-size: 10px;
    }

    .about-content h2 {
        font-size: 36px;
    }

    .about-content p {
        font-size: 14px;
    }

    .about-content .about-description {
        font-size: 15px;
    }


    /* MISSION */

    .mission-section {
        padding: 65px 6%;
    }

    .mission-heading {
        margin-bottom: 40px;
    }

    .mission-heading h2 {
        font-size: 36px;
    }

    .mission-intro {
        font-size: 14px;
    }

    .vision-mission {
        grid-template-columns: 1fr;

        margin-bottom: 60px;
    }

    .vision-mission .mission-card {
        min-height: auto;
    }

    .mission-card {
        padding: 28px;
    }

    .mission-card-top {
        margin-bottom: 25px;
    }

    .mission-card h2 {
        font-size: 26px;
    }

    .values-heading h2 {
        font-size: 36px;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .value-card {
        padding: 35px 25px;
    }


    /* STATS */

    .stats-section {
        padding: 65px 6%;
    }

    .stats-heading {
        margin-bottom: 40px;
    }

    .stats-heading h2 {
        font-size: 36px;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .stat {
        padding: 30px 10px;
    }

    .stat h2 {
        font-size: 38px;
    }

    .stat p {
        font-size: 11px;

        letter-spacing: 0.5px;
    }


    /* PARTNERS */

    .about-logo-slider {
        padding: 65px 6%;
    }

    .partners-heading h2 {
        font-size: 34px;
    }

    .logo-slider-track {
        gap: 15px;
    }

    .logo-slide {
        width: 140px;
        height: 100px;

        padding: 15px;
    }


    /* CTA */

    .cta {
        padding: 75px 6%;
    }

    .cta h2 {
        font-size: 37px;
    }

    .cta-content > p:not(.section-title) {
        font-size: 14px;
    }

    .cta-btn {
        padding: 15px 20px;

        font-size: 12px;
    }

}


/* ================= SMALL MOBILE ================= */

@media (max-width: 380px) {

    .about-hero-content h1 {
        font-size: 36px;
    }

    .about-content h2 {
        font-size: 31px;
    }

    .mission-heading h2 {
        font-size: 31px;
    }

    .mission-card h2 {
        font-size: 23px;
    }

    .stats-heading h2 {
        font-size: 31px;
    }

    .stat h2 {
        font-size: 33px;
    }

    .cta h2 {
        font-size: 32px;
    }

}
