/* =========================================
   KALAVATI DEVELOPERS ABOUT PAGE
   NAVY BLUE + GOLD LOGO THEME
========================================= */

:root {
    --navy-dark: #101b2b;
    --navy-deep: #17263b;
    --navy: #223750;
    --navy-light: #344a66;

    --gold-dark: #8a5b1c;
    --gold: #b77c2c;
    --gold-light: #dfb66d;
    --gold-soft: #f0d8aa;

    --cream: #f7f2e9;
    --light-grey: #eef1f4;
    --white: #ffffff;

    --text-dark: #182231;
    --text-grey: #687380;
    --border: #dce2e7;

    --shadow:
        0 20px 50px rgba(16, 27, 43, 0.13);
}


/* =========================================
   GLOBAL RESET
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    color: var(--text-dark);
    background-color: var(--white);

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    line-height: 1.7;
    overflow-x: hidden;
}


img {
    display: block;
    width: 100%;
}


a {
    color: inherit;
}


button,
input,
select,
textarea {
    font: inherit;
}


.container {
    width: min(1180px, 90%);
    margin-inline: auto;
}


.section {
    padding: 100px 0;
}


/* =========================================
   COMMON HEADINGS
========================================= */

.section-label {
    display: inline-block;

    margin-bottom: 14px;

    color: var(--gold-dark);

    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.6px;

    text-transform: uppercase;
}


.light-label {
    color: var(--gold-light);
}


.section-heading {
    max-width: 760px;

    margin: 0 auto 55px;

    text-align: center;
}


.section-heading h2,
.profile-content h2 {
    margin-bottom: 18px;

    color: var(--navy-dark);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: clamp(36px, 5vw, 54px);
    font-weight: 500;
    line-height: 1.15;
}


.section-heading p,
.profile-content p {
    color: var(--text-grey);
    font-size: 17px;
}


/* =========================================
   MAIN BUTTON
========================================= */

.main-button {
    min-height: 52px;
    padding: 13px 25px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    color: var(--white);
    background-color: var(--navy);

    border-radius: 4px;

    text-decoration: none;
    font-size: 15px;
    font-weight: 800;

    transition:
        transform 0.3s ease,
        background-color 0.3s ease;
}


.main-button:hover {
    background-color: var(--gold-dark);
    transform: translateY(-3px);
}


/* =========================================
   TOP BAR
========================================= */

.top-bar {
    padding: 9px 0;

    color: var(--white);
    background-color: var(--navy-dark);

    font-size: 13px;
}


.top-bar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;
}


.top-contact,
.top-social {
    display: flex;
    align-items: center;

    gap: 20px;
}


.top-contact a,
.top-social a {
    color: var(--white);
    text-decoration: none;
}


.top-contact i {
    margin-right: 6px;

    color: var(--gold-light);
}


.top-social a:hover {
    color: var(--gold-light);
}


/* =========================================
   HEADER
========================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;

    background-color: rgba(255, 255, 255, 0.97);

    border-bottom: 1px solid var(--border);

    backdrop-filter: blur(12px);
}


.navbar {
    position: relative;

    min-height: 92px;

    display: flex;
    align-items: center;

    gap: 27px;
}


.brand-logo {
    width: 155px;
    height: 82px;

    margin-right: auto;

    display: flex;
    align-items: center;

    text-decoration: none;
}


.brand-logo img {
    width: 100%;
    height: 100%;

    object-fit: contain;
}


.nav-menu {
    display: flex;
    align-items: center;

    gap: 24px;
}


.nav-menu a {
    position: relative;

    color: var(--text-dark);

    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
}


.nav-menu a::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: -8px;

    width: 0;
    height: 2px;

    background-color: var(--gold);

    transition: width 0.3s ease;
}


.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}


.nav-menu a:hover,
.nav-menu a.active {
    color: var(--gold-dark);
}


.header-button {
    padding: 11px 18px;

    color: var(--white);
    background-color: var(--navy);

    border-radius: 4px;

    text-decoration: none;
    font-size: 13px;
    font-weight: 800;

    transition: background-color 0.3s ease;
}


.header-button:hover {
    background-color: var(--gold-dark);
}


.menu-checkbox,
.mobile-menu-button {
    display: none;
}


/* =========================================
   ABOUT HERO BANNER
========================================= */

.about-hero {
    position: relative;
    min-height: 520px;

    display: flex;
    align-items: center;

    background:   url("../image/ambika.png")
        center / cover no-repeat;
}

.about-hero-overlay {
     position: absolute;
    inset: 0;

   background:
        linear-gradient(
            90deg,
            rgba(8, 24, 29, 0.76) 0%,
            rgba(47, 64, 37, 0.52) 46%,
            rgba(176, 143, 46, 0.26) 100%
        ),
        linear-gradient(
            180deg,
            rgba(120, 112, 46, 0.16) 0%,
            rgba(255, 255, 255, 0) 60%,
            rgba(248, 244, 234, 0.40) 100%
        );
   
}

.about-hero-content {
    position: relative;
    z-index: 2;

    padding: 90px 0;

    color: var(--white);
}


.about-hero-content > span {
    display: inline-block;

    margin-bottom: 17px;
    padding: 8px 16px;

    color: var(--gold-soft);
    background-color: rgba(255, 255, 255, 0.08);

    border: 1px solid rgba(240, 216, 170, 0.55);
    border-radius: 30px;

    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.4px;

    text-transform: uppercase;
}


.about-hero-content h1 {
    max-width: 850px;

    margin-bottom: 20px;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: clamp(48px, 7vw, 76px);
    font-weight: 500;
    line-height: 1.05;
}


.about-hero-content p {
    max-width: 690px;

    color: rgba(255, 255, 255, 0.86);

    font-size: 17px;
}


.breadcrumb {
    margin-top: 28px;

    display: flex;
    align-items: center;

    gap: 10px;

    font-size: 13px;
}


.breadcrumb a {
    color: var(--gold-light);
    text-decoration: none;
}


.breadcrumb i {
    font-size: 10px;
}


/* =========================================
   COMPANY PROFILE
========================================= */

.company-profile {
    background-color: var(--white);
}


.profile-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;

    gap: 80px;
}


.profile-image {
    position: relative;
}


.profile-image img {
    height: 590px;

    object-fit: cover;

    border-radius: 5px;
}


.profile-image::before {
    content: "";

    position: absolute;
    left: -22px;
    bottom: -22px;
    z-index: -1;

    width: 70%;
    height: 70%;

    border: 3px solid var(--gold);
}


.profile-badge {
    position: absolute;
    right: -20px;
    bottom: 35px;

    padding: 22px 26px;

    display: flex;
    align-items: center;

    gap: 14px;

    color: var(--white);
    background-color: var(--navy-dark);
}


.profile-badge i {
    color: var(--gold-light);
    font-size: 34px;
}


.profile-badge strong,
.profile-badge span {
    display: block;
}


.profile-badge strong {
    color: var(--gold-light);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 24px;
}


.profile-badge span {
    font-size: 12px;
}


.profile-content p {
    margin-bottom: 16px;
}


.profile-points {
    margin: 28px 0;

    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 15px;
}


.profile-points div {
    display: flex;
    align-items: center;

    gap: 9px;

    color: var(--navy-dark);
    font-size: 14px;
    font-weight: 700;
}


.profile-points i {
    color: var(--gold-dark);
}


/* =========================================
   CORE VALUES
========================================= */

.values-section {
    background-color: var(--white);
}


.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 20px;
}


.value-card {
    position: relative;

    min-height: 290px;
    padding: 34px 28px;

    background-color: var(--cream);

    border-bottom: 4px solid var(--navy);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}


.value-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow);
}


.value-card > span {
    position: absolute;
    top: 17px;
    right: 20px;

    color: rgba(16, 27, 43, 0.12);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 42px;
}


.value-card i {
    margin-bottom: 24px;

    color: var(--gold-dark);

    font-size: 37px;
}


.value-card h3 {
    margin-bottom: 10px;

    color: var(--navy-dark);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 24px;
}


.value-card p {
    color: var(--text-grey);
    font-size: 14px;
}


/* =========================================
   DIRECTOR MESSAGE
========================================= */

.director-section {
    color: var(--white);

    background:
        linear-gradient(
            135deg,
            var(--navy-dark),
            var(--navy-deep)
        );
}


.director-layout {
    display: grid;
    grid-template-columns: 0.75fr 1.25fr;
    align-items: center;

    gap: 70px;
}


.director-image-placeholder {
    min-height: 500px;
    padding: 30px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    color: var(--gold-light);
    background-color: rgba(255, 255, 255, 0.06);

    border: 1px solid rgba(255, 255, 255, 0.17);
}


.director-image-placeholder i {
    margin-bottom: 20px;

    font-size: 100px;
}


.director-image-placeholder span {
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
}


.director-photo img {
    width: 100%;
    min-height: 500px;
    max-height: 600px;

    object-fit: cover;
}


.quote-icon {
    margin-bottom: 15px;

    color: var(--gold-light);

    font-size: 45px;
}


.director-content h2 {
    margin-bottom: 22px;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: clamp(36px, 5vw, 54px);
    font-weight: 500;
    line-height: 1.15;
}


.director-content p {
    margin-bottom: 15px;

    color: rgba(255, 255, 255, 0.74);
}


.director-name {
    margin-top: 27px;
    padding-left: 18px;

    border-left: 4px solid var(--gold-light);
}


.director-name strong,
.director-name span {
    display: block;
}


.director-name strong {
    color: var(--gold-soft);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 22px;
}


.director-name span {
    color: rgba(255, 255, 255, 0.65);
    font-size: 13px;
}


/* =========================================
   COMPANY JOURNEY
========================================= */

.journey-section {
    background-color: var(--cream);
}


.timeline {
    position: relative;

    max-width: 920px;
    margin: 0 auto;
}


.timeline::before {
    content: "";

    position: absolute;
    left: 125px;
    top: 0;
    bottom: 0;

    width: 2px;

    background-color: var(--gold);
}


.timeline-item {
    position: relative;

    display: grid;
    grid-template-columns: 100px 1fr;

    gap: 50px;

    padding-bottom: 42px;
}


.timeline-item:last-child {
    padding-bottom: 0;
}


.timeline-item::before {
    content: "";

    position: absolute;
    left: 118px;
    top: 7px;

    width: 16px;
    height: 16px;

    background-color: var(--navy);

    border: 4px solid var(--cream);
    border-radius: 50%;

    box-shadow: 0 0 0 2px var(--gold);
}


.timeline-year {
    color: var(--gold-dark);

    font-size: 13px;
    font-weight: 800;
    text-align: right;
    text-transform: uppercase;
}


.timeline-content {
    padding: 24px 27px;

    background-color: var(--white);

    border-left: 4px solid var(--navy);

    box-shadow:
        0 10px 30px rgba(16, 27, 43, 0.07);
}


.timeline-content h3 {
    margin-bottom: 7px;

    color: var(--navy-dark);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 23px;
}


.timeline-content p {
    color: var(--text-grey);
    font-size: 14px;
}


/* =========================================
   OUR TEAM
========================================= */

.team-section {
    background-color: var(--white);
}


.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    gap: 22px;
}


.team-card {
    background-color: var(--cream);

    border: 1px solid var(--border);

    overflow: hidden;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}


.team-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow);
}


.team-photo {
    height: 260px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: rgba(255, 255, 255, 0.85);

    background:
        linear-gradient(
            145deg,
            var(--navy-light),
            var(--navy-dark)
        );

    font-size: 85px;
}


.team-photo img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}


.team-details {
    padding: 25px;
}


.team-details h3 {
    color: var(--navy-dark);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 22px;
}


.team-details span {
    display: block;

    margin: 4px 0 12px;

    color: var(--gold-dark);

    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}


.team-details p {
    color: var(--text-grey);
    font-size: 13px;
}


/* =========================================
   CALL TO ACTION
========================================= */

.about-cta {
    padding: 75px 0;

    color: var(--white);

    background:
        linear-gradient(
            135deg,
            var(--gold-dark),
            var(--gold)
        );
}


.about-cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 45px;
}


.about-cta-content > div:first-child {
    max-width: 720px;
}


.about-cta-content > div > span {
    display: inline-block;

    margin-bottom: 12px;

    color: var(--gold-soft);

    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;

    text-transform: uppercase;
}


.about-cta-content h2 {
    margin-bottom: 12px;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: clamp(34px, 5vw, 52px);
    font-weight: 500;
    line-height: 1.15;
}


.about-cta-content p {
    color: rgba(255, 255, 255, 0.8);
}


.cta-buttons {
    display: flex;
    gap: 13px;
    flex-wrap: wrap;
}


.cta-primary,
.cta-outline {
    min-height: 52px;
    padding: 13px 23px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 4px;

    text-decoration: none;
    font-size: 14px;
    font-weight: 800;

    transition:
        transform 0.3s ease,
        background-color 0.3s ease;
}


.cta-primary {
    color: var(--white);
    background-color: var(--navy-dark);
}


.cta-primary:hover {
    background-color: var(--navy);
    transform: translateY(-3px);
}


.cta-outline {
    color: var(--white);

    border: 1px solid rgba(255, 255, 255, 0.7);
}


.cta-outline:hover {
    color: var(--navy-dark);
    background-color: var(--white);

    transform: translateY(-3px);
}


/* =========================================
   FOOTER
========================================= */

.site-footer {
    padding-top: 70px;

    color: rgba(255, 255, 255, 0.7);
    background-color: #0b1421;
}


.footer-grid {
    padding-bottom: 55px;

    display: grid;
    grid-template-columns: 1.3fr 0.7fr 0.8fr 1fr;

    gap: 48px;
}


.footer-about img {
    width: 160px;
    height: 115px;

    margin-bottom: 17px;

    object-fit: contain;

    background-color: var(--white);
}


.footer-about p {
    max-width: 340px;
}


.footer-social {
    margin-top: 20px;

    display: flex;
    gap: 10px;
}


.footer-social a {
    width: 40px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--white);
    background-color: rgba(255, 255, 255, 0.08);

    border-radius: 50%;

    text-decoration: none;
}


.footer-social a:hover {
    background-color: var(--gold-dark);
}


.footer-links,
.footer-contact {
    display: flex;
    flex-direction: column;

    gap: 10px;
}


.footer-links h3,
.footer-contact h3 {
    margin-bottom: 10px;

    color: var(--white);
}


.footer-links a,
.footer-contact a {
    color: rgba(255, 255, 255, 0.7);

    text-decoration: none;
}


.footer-links a:hover,
.footer-contact a:hover {
    color: var(--gold-light);
}


.footer-contact i {
    margin-right: 8px;

    color: var(--gold-light);
}


.footer-bottom {
    padding: 20px 0;

    display: flex;
    justify-content: space-between;

    gap: 20px;

    border-top: 1px solid rgba(255, 255, 255, 0.12);

    font-size: 12px;
}




/* =========================================
   TABLET RESPONSIVE
========================================= */

@media screen and (max-width: 1050px) {

    .nav-menu {
        gap: 14px;
    }

    .header-button {
        display: none;
    }

    .profile-layout,
    .director-layout {
        grid-template-columns: 1fr;
    }

    .profile-image {
        max-width: 700px;
        margin-inline: auto;
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* =========================================
   MOBILE RESPONSIVE
========================================= */

@media screen and (max-width: 780px) {

    .section {
        padding: 75px 0;
    }

    .top-bar {
        display: none;
    }

    .navbar {
        min-height: 78px;
    }

    .brand-logo {
        width: 115px;
        height: 68px;
    }


    /* Mobile hamburger button */

    .mobile-menu-button {
        width: 43px;
        height: 40px;

        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;

        gap: 5px;

        cursor: pointer;
    }


    .mobile-menu-button span {
        width: 27px;
        height: 3px;

        background-color: var(--navy-dark);

        border-radius: 5px;

        transition:
            transform 0.3s ease,
            opacity 0.3s ease;
    }


    /* Mobile navigation */

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;

        width: 100%;
        padding: 12px 5% 20px;

        display: none;
        flex-direction: column;
        align-items: stretch;

        gap: 0;

        background-color: var(--white);

        box-shadow:
            0 18px 35px rgba(16, 27, 43, 0.16);
    }


    .nav-menu a {
        padding: 13px 5px;

        border-bottom: 1px solid var(--border);
    }


    .nav-menu a::after {
        display: none;
    }


    .menu-checkbox:checked ~ .nav-menu {
        display: flex;
    }


    .menu-checkbox:checked
    + .mobile-menu-button
    span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }


    .menu-checkbox:checked
    + .mobile-menu-button
    span:nth-child(2) {
        opacity: 0;
    }


    .menu-checkbox:checked
    + .mobile-menu-button
    span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }



    /* Profile section */

    .profile-layout {
        gap: 55px;
    }


    .profile-image img {
        height: 430px;
    }


    .profile-badge {
        right: 10px;
        bottom: 15px;
    }


    .profile-points,
    .vision-mission-grid,
    .values-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }


    .vision-card,
    .mission-card {
        min-height: auto;
    }


    .director-image-placeholder {
        min-height: 420px;
    }


    /* Timeline */

    .timeline::before {
        left: 8px;
    }


    .timeline-item {
        grid-template-columns: 1fr;

        gap: 10px;

        padding-left: 35px;
    }


    .timeline-item::before {
        left: 0;
    }


    .timeline-year {
        text-align: left;
    }


    /* CTA */

    .about-cta-content {
        flex-direction: column;
        align-items: flex-start;
    }


    .cta-buttons {
        width: 100%;

        flex-direction: column;
    }


    .cta-primary,
    .cta-outline {
        width: 100%;
    }


    /* Footer */

    .footer-grid {
        grid-template-columns: 1fr;

        gap: 35px;
    }


    .footer-bottom {
        flex-direction: column;
    }
}


/* =========================================
   SMALL MOBILE
========================================= */

@media screen and (max-width: 480px) {

    .container {
        width: 92%;
    }


    .about-hero-content h1 {
        font-size: 37px;
    }


    .profile-image img {
        height: 350px;
    }


    .profile-badge {
        padding: 15px 17px;
    }


    .profile-badge i {
        font-size: 26px;
    }


    .vision-card,
    .mission-card {
        padding: 36px 25px;
    }


    .vision-card h2,
    .mission-card h2 {
        font-size: 29px;
    }


    .team-photo {
        height: 230px;
    }


    .whatsapp-button {
        width: 58px;
        height: 58px;
        padding: 0;

        justify-content: center;
    }


    .whatsapp-button span {
        display: none;
    }
}
/* =========================================
   DIRECTOR SECTION
========================================= */

.director-section {
    padding: 80px 0;
    background: #14243a;
}

.director-layout {
    display: grid;
    grid-template-columns: 42% 58%;
    align-items: center;
    gap: 70px;
}

.director-photo {
    width: 100%;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(227, 180, 92, 0.3);
}

.director-photo img {
    display: block;
    width: 100%;
    height: 620px;
    object-fit: cover;
    object-position: center top;
}

.director-content {
    width: 100%;
    color: #ffffff;
}

.director-content .section-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    margin-bottom: 22px;

    color: #e3b45c;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.director-content .section-label i {
    font-size: 38px;
    color: #e3b45c;
}

.director-content h2 {
    max-width: 780px;
    margin-bottom: 28px;

    color: #ffffff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(42px, 5vw, 68px);
    font-weight: 500;
    line-height: 1.12;
}

.director-content p {
    max-width: 780px;
    margin-bottom: 22px;

    color: rgba(255, 255, 255, 0.84);
    font-size: 17px;
    line-height: 1.75;
}

.director-content h3 {
    margin-top: 24px;

    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
}

.director-content h3 span {
    font-weight: 400;
}

/* =========================================
   TABLET AND SMARTPHONE
========================================= */

@media (max-width: 900px) {

    .director-layout {
        display: flex;
        flex-direction: column;
        gap: 35px;
    }

    .director-photo {
        order: 1;
        width: 100%;
        max-width: 520px;
        margin: 0 auto;
    }

    .director-content {
        order: 2;
        width: 100%;
    }

    .director-photo img {
        width: 100%;
        height: auto;
        max-height: 560px;
        object-fit: cover;
        object-position: center top;
    }
}

@media (max-width: 560px) {

    .director-section {
        padding: 55px 0;
    }

    .director-layout {
        gap: 28px;
    }

    .director-photo {
        max-width: 100%;
    }

    .director-photo img {
        height: auto;
        max-height: 470px;
    }

    .director-content h2 {
        font-size: 38px;
        line-height: 1.18;
    }

    .director-content p {
        font-size: 16px;
        line-height: 1.7;
    }

    .director-content .section-label {
        font-size: 13px;
        letter-spacing: 1.5px;
    }

    .director-content .section-label i {
        font-size: 30px;
    }
}
/* =========================================
   FLIP TEAM CARDS
========================================= */

.team-card {
    position: relative;

    width: 100%;
    height: 590px;

    perspective: 1200px;
}

.team-card-toggle {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.team-card-inner {
    position: relative;

    display: block;

    width: 100%;
    height: 100%;

    cursor: pointer;

    transform-style: preserve-3d;
    transition: transform 0.75s ease;
}

.team-card-face {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    overflow: hidden;

    border: 1px solid #d7dde3;
    background: #f8f3e9;

    box-shadow:
        0 12px 32px
        rgba(20, 33, 49, 0.12);

    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* =========================================
   FRONT SIDE
========================================= */

.team-card-front {
    display: flex;
    flex-direction: column;
}

.team-card-front img {
    display: block;

    width: 100%;
    height: 325px;

    object-fit: contain;
    object-position: center top;

    background: #ffffff;
}

.team-card-content {
    flex: 1;

    padding: 30px 30px 25px;

    background: #f8f3e9;
}

.team-card-content h3 {
    margin: 0 0 12px;

    color: #102033;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 30px;
    line-height: 1.15;
}

.team-card-content > span {
    display: block;

    margin-bottom: 18px;

    color: #9b5d00;

    font-size: 15px;
    font-weight: 800;

    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.team-card-content > p {
    margin: 0;

    color: #66717d;

    font-size: 16px;
    line-height: 1.7;
}

/* =========================================
   BACK SIDE
========================================= */

.team-card-back {
    display: flex;
    align-items: center;
    justify-content: center;

    padding: 35px;

    color: #ffffff;

    background: linear-gradient(
        135deg,
        #102033 0%,
        #1d3047 55%,
        #4a5563 100%
    );

    transform: rotateY(180deg);
}

.team-back-content {
    width: 100%;
    text-align: center;
}

.team-back-icon {
    display: grid;
    place-items: center;

    width: 76px;
    height: 76px;

    margin: 0 auto 22px;

    color: #102033;
    background: #e3b45c;

    border-radius: 50%;

    font-size: 31px;
}

.team-back-content h3 {
    margin: 0 0 8px;

    color: #ffffff;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 30px;
}

.team-back-content > span {
    display: block;

    margin-bottom: 22px;

    color: #e3b45c;

    font-size: 14px;
    font-weight: 800;

    letter-spacing: 1px;
    text-transform: uppercase;
}

.team-back-content > p {
    margin-bottom: 25px;

    color: rgba(255, 255, 255, 0.85);

    font-size: 15px;
    line-height: 1.7;
}

.team-information {
    margin-top: 22px;
    text-align: left;
}

.team-information p {
    display: flex;
    align-items: center;
    gap: 12px;

    margin: 0 0 12px;
    padding: 12px 14px;

    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);

    border: 1px solid rgba(227, 180, 92, 0.25);
    border-radius: 4px;

    font-size: 14px;
}

.team-information i {
    width: 22px;
    color: #e3b45c;
}

/* =========================================
   FLIP HINT
========================================= */

.flip-hint {
    display: flex;
    align-items: center;
    gap: 8px;

    margin-top: 20px;

    color: #9b5d00;

    font-size: 13px;
    font-weight: 800;

    text-transform: uppercase;
}

.back-hint {
    justify-content: center;
    margin-top: 25px;
    color: #e3b45c;
}

/* =========================================
   DESKTOP HOVER FLIP
========================================= */

@media (hover: hover) and (pointer: fine) {

    .team-card:hover .team-card-inner {
        transform: rotateY(180deg);
    }
}

/* =========================================
   MOBILE TAP FLIP
========================================= */

.team-card-toggle:checked + .team-card-inner {
    transform: rotateY(180deg);
}

/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 780px) {

    .team-card {
        height: 570px;
    }

    .team-card-front img {
        height: 300px;
    }

    .team-card-content {
        padding: 25px;
    }

    .team-card-content h3,
    .team-back-content h3 {
        font-size: 27px;
    }

    .team-card-back {
        padding: 28px 24px;
    }
}

/* =========================================
   TEAM FLIP CARDS
========================================= */

.team-flip-card {
    width: 100%;
    min-height: 590px;
    perspective: 1200px;
}

.team-card-toggle {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.team-card-inner {
    position: relative;
    display: block;

    width: 100%;
    min-height: 590px;

    cursor: pointer;

    transform-style: preserve-3d;
    transition: transform 0.75s ease;
}

.team-card-face {
    position: absolute;
    inset: 0;

    width: 100%;
    min-height: 590px;

    overflow: hidden;

    background: #f7f2e9;
    border: 1px solid #d9dee4;

    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;

    box-shadow: 0 12px 30px rgba(20, 33, 49, 0.12);
}

/* Front side */

.team-card-front {
    transform: rotateY(0deg);
}

.team-card-front img {
    display: block;

    width: 100%;
    height: 325px;

    object-fit: contain;
    object-position: center top;

    background: #ffffff;
}

.team-card-content {
    padding: 28px 30px;
}

.team-card-content h3 {
    margin-bottom: 10px;

    color: #102033;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 29px;
}

.team-card-content span {
    display: block;

    margin-bottom: 15px;

    color: #9a5c00;

    font-size: 15px;
    font-weight: 800;
    text-transform: uppercase;
}

.team-card-content p {
    margin-bottom: 18px;

    color: #647080;
    font-size: 16px;
    line-height: 1.7;
}

.team-card-content small {
    color: #b77a24;
    font-size: 13px;
    font-weight: 700;
}

/* Back side */

.team-card-back {
    display: flex;
    align-items: center;
    justify-content: center;

    padding: 35px 30px;

    color: #ffffff;

    background: linear-gradient(
        145deg,
        #102033 0%,
        #1d3047 55%,
        #35485c 100%
    );

    border: 1px solid rgba(227, 180, 92, 0.4);

    transform: rotateY(180deg);
}

.team-back-content {
    text-align: center;
}

.team-back-content > i {
    width: 72px;
    height: 72px;

    display: grid;
    place-items: center;

    margin: 0 auto 20px;

    color: #102033;
    background: #e3b45c;

    border-radius: 50%;
    font-size: 29px;
}

.team-back-content h3 {
    margin-bottom: 8px;

    color: #ffffff;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 30px;
}

.team-back-content > span {
    display: block;

    margin-bottom: 20px;

    color: #e3b45c;

    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.team-back-content > p {
    margin-bottom: 22px;

    color: rgba(255, 255, 255, 0.85);
    font-size: 15px;
    line-height: 1.7;
}

.team-information {
    margin: 20px 0 24px;
    text-align: left;
}

.team-information p {
    display: flex;
    align-items: center;
    gap: 10px;

    margin-bottom: 12px;

    color: #ffffff;
    font-size: 14px;
}

.team-information p i {
    color: #e3b45c;
}

.team-back-content small {
    color: #e3b45c;
    font-size: 13px;
    font-weight: 700;
}

/* Laptop hover */

@media (hover: hover) and (pointer: fine) {

    .team-flip-card:hover .team-card-inner {
        transform: rotateY(180deg);
    }
}

/* Smartphone tap */

.team-card-toggle:checked + .team-card-inner {
    transform: rotateY(180deg);
}

/* Responsive */

@media (max-width: 780px) {

    .team-flip-card,
    .team-card-inner,
    .team-card-face {
        min-height: 570px;
    }

    .team-card-front img {
        height: 310px;
    }

    .team-card-content {
        padding: 24px;
    }

    .team-card-content h3 {
        font-size: 26px;
    }

    .team-card-back {
        padding: 30px 24px;
    }
}
.team-card-front img {
    width: 100%;
    height: 365px;
    display: block;

    object-fit: contain;
    object-position: center bottom;

    background-color: #ffffff;
}
img.fixed-team-photo {
    display: block !important;
    width: 100% !important;
    height: 365px !important;

    object-fit: contain !important;
    object-position: center center !important;

    padding: 12px 8px 0 !important;
    margin: 0 !important;

    background: #ffffff !important;
    transform: none !important;
}

@media (max-width: 780px) {
    img.fixed-team-photo {
        height: 330px !important;
    }
}
.team-card-front img {
    display: block;
    width: 100%;
    height: 365px;
    object-fit: cover;
    object-position: center top;
    background: #ffffff;
}
@media (max-width: 780px) {

    .team-card-front img {
        width: 100% !important;
        height: 300px !important;

        object-fit: contain !important;
        object-position: center bottom !important;

        background: #ffffff !important;
    }
}


/* ==================================================
   ABOUT PAGE FAQ SECTION
   KALAVATI DEVELOPERS NAVY AND GOLD THEME
================================================== */

.about-faq-section {
    position: relative;
    padding: 90px 20px;
    background:
        radial-gradient(
            circle at top right,
            rgba(198, 151, 62, 0.14),
            transparent 35%
        ),
        linear-gradient(
            180deg,
            #ffffff 0%,
            #faf7f0 55%,
            #f3eee4 100%
        );
    overflow: hidden;
}

.about-faq-section::before {
    content: "";
    position: absolute;
    top: -130px;
    left: -100px;
    width: 320px;
    height: 320px;
    border: 1px solid rgba(198, 151, 62, 0.2);
    border-radius: 50%;
}

.about-faq-section::after {
    content: "";
    position: absolute;
    right: -110px;
    bottom: -130px;
    width: 330px;
    height: 330px;
    background: rgba(16, 35, 63, 0.04);
    border-radius: 50%;
}

.about-faq-container {
    position: relative;
    z-index: 2;
    width: 92%;
    max-width: 1000px;
    margin: 0 auto;
}

.about-faq-small-title {
    width: fit-content;
    margin: 0 auto 14px;
    padding: 8px 18px;
    color: #b7832f;
    background: rgba(198, 151, 62, 0.1);
    border: 1px solid rgba(198, 151, 62, 0.35);
    border-radius: 30px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-align: center;
    text-transform: uppercase;
}

.about-faq-container h2 {
    position: relative;
    max-width: 780px;
    margin: 0 auto 48px;
    color: #10233f;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(31px, 4vw, 45px);
    font-weight: 600;
    line-height: 1.25;
    text-align: center;
}

.about-faq-container h2::after {
    content: "";
    display: block;
    width: 80px;
    height: 3px;
    margin: 18px auto 0;
    background: linear-gradient(
        90deg,
        #10233f,
        #c6973e,
        #10233f
    );
    border-radius: 10px;
}

.about-faq-item {
    margin-bottom: 18px;
}

.about-faq-item details {
    background: #ffffff;
    border: 1px solid #e7dbc3;
    border-radius: 16px;
    box-shadow:
        0 9px 26px rgba(16, 35, 63, 0.08),
        0 2px 7px rgba(16, 35, 63, 0.03);
    overflow: hidden;
    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.about-faq-item details:hover {
    transform: translateY(-3px);
    border-color: rgba(198, 151, 62, 0.7);
    box-shadow:
        0 15px 35px rgba(16, 35, 63, 0.12),
        0 5px 12px rgba(198, 151, 62, 0.08);
}

.about-faq-item summary {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 74px;
    padding: 20px 74px 20px 26px;
    color: #10233f;
    background: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.5;
    cursor: pointer;
    list-style: none;
    transition:
        background 0.3s ease,
        color 0.3s ease;
}

.about-faq-item summary::-webkit-details-marker {
    display: none;
}

.about-faq-item summary::marker {
    display: none;
}

.about-faq-item summary::after {
    content: "+";
    position: absolute;
    top: 50%;
    right: 23px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    color: #ffffff;
    background: linear-gradient(
        145deg,
        #10233f,
        #1c3a61
    );
    border: 2px solid rgba(198, 151, 62, 0.45);
    border-radius: 50%;
    box-shadow: 0 5px 14px rgba(16, 35, 63, 0.22);
    font-size: 23px;
    font-weight: 400;
    transform: translateY(-50%);
    transition:
        transform 0.3s ease,
        background 0.3s ease;
}

.about-faq-item details[open] {
    border-color: #c6973e;
    box-shadow:
        0 15px 35px rgba(16, 35, 63, 0.12),
        0 5px 15px rgba(198, 151, 62, 0.1);
}

.about-faq-item details[open] summary {
    color: #ffffff;
    background: linear-gradient(
        110deg,
        #0d1e36 0%,
        #173657 65%,
        #1d436a 100%
    );
}

.about-faq-item details[open] summary::after {
    content: "−";
    color: #ffffff;
    background: linear-gradient(
        145deg,
        #d0a14c,
        #a87320
    );
    border-color: #f2d597;
    transform: translateY(-50%) rotate(180deg);
}

.about-faq-item details p {
    position: relative;
    margin: 0;
    padding: 23px 28px 26px 32px;
    color: #566273;
    background:
        linear-gradient(
            90deg,
            rgba(198, 151, 62, 0.06),
            transparent 45%
        ),
        #ffffff;
    border-top: 1px solid #eadfc9;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.8;
}

.about-faq-item details p::before {
    content: "";
    position: absolute;
    top: 24px;
    left: 18px;
    width: 4px;
    height: calc(100% - 48px);
    min-height: 30px;
    background: linear-gradient(
        180deg,
        #c6973e,
        #10233f
    );
    border-radius: 10px;
}

.about-faq-item details[open] p {
    animation: aboutFaqOpen 0.35s ease;
}

@keyframes aboutFaqOpen {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {

    .about-faq-section {
        padding: 60px 15px;
    }

    .about-faq-container {
        width: 100%;
    }

    .about-faq-small-title {
        padding: 7px 14px;
        font-size: 11px;
    }

    .about-faq-container h2 {
        margin-bottom: 32px;
        font-size: 29px;
    }

    .about-faq-item {
        margin-bottom: 14px;
    }

    .about-faq-item details {
        border-radius: 13px;
    }

    .about-faq-item summary {
        min-height: 66px;
        padding: 17px 60px 17px 18px;
        font-size: 15px;
    }

    .about-faq-item summary::after {
        right: 15px;
        width: 32px;
        height: 32px;
        font-size: 19px;
    }

    .about-faq-item details p {
        padding: 19px 18px 21px 27px;
        font-size: 14px;
        line-height: 1.7;
    }

    .about-faq-item details p::before {
        top: 20px;
        left: 14px;
        height: calc(100% - 40px);
    }
}

/* ==================================================
   PREMIUM ABOUT PAGE FOOTER
   KALAVATI DEVELOPERS NAVY AND GOLD THEME
================================================== */

.premium-footer {
    position: relative;
    color: #ffffff;
    background:
        radial-gradient(
            circle at 86% 12%,
            rgba(204, 157, 69, 0.16),
            transparent 28%
        ),
        radial-gradient(
            circle at 7% 92%,
            rgba(255, 255, 255, 0.05),
            transparent 26%
        ),
        linear-gradient(
            135deg,
            #071426 0%,
            #0d2340 48%,
            #12345a 100%
        );
    overflow: hidden;
}

.footer-top-line {
    width: 100%;
    height: 4px;
    background: linear-gradient(
        90deg,
        transparent,
        #b77d24,
        #f0cf8d,
        #b77d24,
        transparent
    );
}

.footer-decoration {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.footer-circle-one {
    top: 55px;
    right: -110px;
    width: 300px;
    height: 300px;
    border: 1px solid rgba(211, 170, 93, 0.18);
}

.footer-circle-two {
    bottom: 30px;
    left: -130px;
    width: 340px;
    height: 340px;
    background: rgba(255, 255, 255, 0.018);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 1fr 1.25fr;
    gap: 50px;
    width: 90%;
    max-width: 1250px;
    margin: 0 auto;
    padding: 75px 0 55px;
}

.footer-logo {
    width: 92px;
    height: 92px;
    margin-bottom: 18px;
    background: #ffffff;
    border: 3px solid rgba(209, 166, 84, 0.9);
    border-radius: 50%;
    object-fit: cover;
    box-shadow:
        0 0 0 7px rgba(209, 166, 84, 0.08),
        0 10px 30px rgba(0, 0, 0, 0.25);
}

.footer-brand h3 {
    margin: 0 0 15px;
    color: #ffffff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 27px;
    font-weight: 600;
}

.footer-brand > p {
    max-width: 330px;
    margin: 0;
    color: #bdc8d5;
    font-size: 15px;
    line-height: 1.8;
}

.footer-column h4 {
    position: relative;
    margin: 5px 0 27px;
    padding-bottom: 12px;
    color: #ffffff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 21px;
    font-weight: 600;
}

.footer-column h4::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 48px;
    height: 2px;
    background: linear-gradient(
        90deg,
        #d3a754,
        transparent
    );
}

.footer-column ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 13px;
}

.footer-column ul li a {
    position: relative;
    display: inline-block;
    padding-left: 17px;
    color: #bdc8d5;
    font-size: 15px;
    text-decoration: none;
    transition:
        color 0.3s ease,
        transform 0.3s ease;
}

.footer-column ul li a::before {
    content: "›";
    position: absolute;
    left: 0;
    color: #d3a754;
    font-size: 19px;
    line-height: 1;
}

.footer-column ul li a:hover {
    color: #f0cf8d;
    transform: translateX(5px);
}

.footer-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 11px;
    margin-top: 25px;
}

.footer-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 39px;
    height: 39px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(211, 167, 84, 0.35);
    border-radius: 50%;
    text-decoration: none;
    transition:
        transform 0.3s ease,
        background 0.3s ease,
        color 0.3s ease;
}

.footer-socials a:hover {
    color: #10233f;
    background: #d3a754;
    transform: translateY(-4px);
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    margin-bottom: 18px;
}

.footer-contact-item span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    width: 34px;
    height: 34px;
    color: #f0cf8d;
    background: rgba(211, 167, 84, 0.1);
    border: 1px solid rgba(211, 167, 84, 0.25);
    border-radius: 50%;
}

.footer-contact-item p,
.footer-contact-item a {
    margin: 4px 0 0;
    color: #bdc8d5;
    font-size: 14px;
    line-height: 1.7;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.footer-contact-item a:hover {
    color: #f0cf8d;
}

.footer-enquiry-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin-top: 7px;
    padding: 13px 19px;
    color: #10233f;
    background: linear-gradient(
        135deg,
        #f0cf8d,
        #c28c35
    );
    border-radius: 7px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.footer-enquiry-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 27px rgba(0, 0, 0, 0.26);
}

.footer-enquiry-button i {
    transition: transform 0.3s ease;
}

.footer-enquiry-button:hover i {
    transform: translateX(4px);
}

.footer-bottom {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    width: 90%;
    max-width: 1250px;
    margin: 0 auto;
    padding: 21px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    margin: 0;
    color: #aeb9c7;
    font-size: 13px;
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-bottom-links a,
.footer-bottom-links span {
    color: #aeb9c7;
    font-size: 13px;
    text-decoration: none;
}

.footer-bottom-links a:hover {
    color: #f0cf8d;
}

@media (max-width: 1000px) {

    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 45px 35px;
    }
}

@media (max-width: 650px) {

    .footer-container {
        grid-template-columns: 1fr;
        width: 88%;
        padding: 58px 0 40px;
        gap: 38px;
    }

    .footer-logo {
        width: 82px;
        height: 82px;
    }

    .footer-brand h3 {
        font-size: 24px;
    }

    .footer-column h4 {
        margin-bottom: 21px;
        font-size: 20px;
    }

    .footer-bottom {
        flex-direction: column;
        width: 88%;
        padding: 20px 0 25px;
        text-align: center;
    }

    .footer-bottom-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}


/* =========================================================
   FINAL TEAM FLIP CARD LAYOUT
   Paste this at the bottom of about.css
========================================================= */

.team-section {
    padding: 100px 0;
    background: #ffffff;
}

.team-grid {
    display: grid !important;
    grid-template-columns: repeat(6, 1fr) !important;
    gap: 30px !important;
    align-items: stretch;
}

/* First row: 3 cards */

.team-card:nth-child(1),
.team-card:nth-child(2),
.team-card:nth-child(3) {
    grid-column: span 2 !important;
}

/* Second row: 2 cards centered */

.team-card:nth-child(4) {
    grid-column: 2 / span 2 !important;
}

.team-card:nth-child(5) {
    grid-column: 4 / span 2 !important;
}

.team-card {
    position: relative;
    min-height: 510px;
    perspective: 1200px;
    cursor: pointer;
}

.team-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 510px;

    transition: transform 0.75s ease;
    transform-style: preserve-3d;
}

/* Laptop hover flip */

.team-card:hover .team-card-inner {
    transform: rotateY(180deg);
}

/* Mobile click flip */

.team-card.is-flipped .team-card-inner {
    transform: rotateY(180deg);
}

.team-card-front,
.team-card-back {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;

    overflow: hidden;

    border: 1px solid #d8dee5;
    border-top: 4px solid #d4a23a;

    box-shadow:
        0 15px 35px rgba(7, 22, 41, 0.09);
}


/* =========================
   FRONT SIDE
========================= */

.team-card-front {
    display: flex;
    flex-direction: column;

    background: #f8f4ea;
}

.team-image {
    width: 100%;
    height: 330px;

    background: #ffffff;

    overflow: hidden;
}

.team-image img {
    display: block;
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center top;
}

.team-front-content {
    flex: 1;

    padding: 25px 27px 28px;

    display: flex;
    flex-direction: column;
}

.team-front-content h3 {
    margin: 0 0 8px;

    color: #071629;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 29px;
    font-weight: 600;
    line-height: 1.12;
}

.team-front-content h4 {
    margin: 0 0 16px;

    color: #9e6200;

    font-size: 14px;
    font-weight: 800;
    line-height: 1.5;

    text-transform: uppercase;
}


/* =========================
   BACK SIDE
========================= */

.team-card-back {
    padding: 38px 30px;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;

    color: #ffffff;

    background:
        radial-gradient(
            circle at 88% 12%,
            rgba(212, 162, 58, 0.24),
            transparent 30%
        ),
        linear-gradient(
            145deg,
            #071629,
            #173959
        );

    transform: rotateY(180deg);
}

.team-back-icon {
    width: 62px;
    height: 62px;

    margin-bottom: 22px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #071629;

    background:
        linear-gradient(
            135deg,
            #efce89,
            #d4a23a
        );

    border-radius: 50%;

    font-size: 24px;
}

.team-card-back h3 {
    margin: 0 0 8px;

    color: #ffffff;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 29px;
    font-weight: 600;
    line-height: 1.15;
}

.team-card-back h4 {
    margin: 0 0 18px;

    color: #efce89;

    font-size: 14px;
    font-weight: 800;
    line-height: 1.5;

    text-transform: uppercase;
}

.team-card-back p {
    margin: 0;

    color: rgba(255, 255, 255, 0.78);

    font-size: 15px;
    line-height: 1.8;
}


/* =========================
   FLIP TEXT
========================= */

.flip-hint {
    margin-top: auto;

    display: inline-flex;
    align-items: center;

    gap: 8px;

    color: #9e6200;

    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.7px;

    text-transform: uppercase;
}

.team-card-back .flip-hint {
    margin-top: 24px;

    color: #efce89;
}


/* =========================
   TABLET
========================= */

@media screen and (max-width: 1000px) {

    .team-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .team-card:nth-child(1),
    .team-card:nth-child(2),
    .team-card:nth-child(3),
    .team-card:nth-child(4),
    .team-card:nth-child(5) {
        grid-column: auto !important;
    }

    .team-card:nth-child(5) {
        grid-column: 1 / -1 !important;
        width: calc(50% - 15px);
        justify-self: center;
    }
}


/* =========================
   MOBILE
========================= */

@media screen and (max-width: 650px) {

    .team-section {
        padding: 75px 0;
    }

    .team-grid {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }

    .team-card:nth-child(1),
    .team-card:nth-child(2),
    .team-card:nth-child(3),
    .team-card:nth-child(4),
    .team-card:nth-child(5) {
        grid-column: auto !important;
        width: 100% !important;
    }

    .team-card,
    .team-card-inner {
        min-height: 500px;
    }

    .team-image {
        height: 315px;
    }

    .team-front-content,
    .team-card-back {
        padding: 24px 22px 27px;
    }

    .team-front-content h3,
    .team-card-back h3 {
        font-size: 26px;
    }
}


/* =========================================
   PREMIUM LOGO STYLE FOR ABOUT PAGE
   Paste at the bottom of about.css
========================================= */

.brand-logo {
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;

    width: auto !important;
    height: auto !important;

    text-decoration: none !important;
}

.brand-logo img {
    width: 95px !important;
    height: 95px !important;

    object-fit: contain !important;
    display: block !important;
}

.brand-name {
    display: flex;
    flex-direction: column;
    justify-content: center;

    line-height: 1;
}

.brand-main {
    color: #10233d;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 27px;
    font-weight: 700;

    letter-spacing: 1px;
}

.brand-sub {
    margin-top: 6px;

    color: #b47a25;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 20px;
    font-weight: 600;

    letter-spacing: 3px;
    text-transform: uppercase;
}

@media screen and (max-width: 780px) {

    .brand-logo {
        gap: 10px !important;
    }

    .brand-logo img {
        width: 68px !important;
        height: 68px !important;
    }

    .brand-main {
        font-size: 20px;
    }

    .brand-sub {
        margin-top: 4px;
        font-size: 13px;
        letter-spacing: 2px;
    }
}

/* =====================================================
   VERTICAL FLOATING ACTION BUTTONS
===================================================== */

.floating-action-buttons {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 1200;

    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.floating-action-button {
    width: 50px;
    height: 50px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 9px;

    color: #ffffff;
    border-radius: 50px;

    text-decoration: none;
    overflow: hidden;

    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.20);

    transition:
        width 0.3s ease,
        transform 0.3s ease;
}

.floating-action-button i {
    min-width: 50px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 18px;
}

.floating-action-button span {
    display: none;

    white-space: nowrap;
    padding-right: 16px;

    font-size: 13px;
    font-weight: 800;
}

.floating-action-button:hover {
    width: 125px;
    transform: translateY(-3px);
    justify-content: flex-start;
}

.floating-action-button:hover span {
    display: block;
}


/* COLORS */

.floating-action-button.call-button {
    background: #3c6746;
}

.floating-action-button.enquire-button {
    background: #213b5a;
}

.floating-action-button.whatsapp-button {
    background: #25D366;
}


/* MOBILE */

@media screen and (max-width: 780px) {

    .floating-action-buttons {
        right: 14px;
        bottom: 16px;
        gap: 8px;
    }

    .floating-action-button {
        width: 46px;
        height: 46px;
    }

    .floating-action-button i {
        min-width: 46px;
        font-size: 17px;
    }

    .floating-action-button:hover,
    .floating-action-button:focus {
        width: 115px;
    }

    .floating-action-button:hover span,
    .floating-action-button:focus span {
        display: block;
    }

}

/* =========================================================
   KALAVATI DEVELOPERS
   NEW COMPANY STORY SECTION
   NAVY + GOLD LOGO THEME
========================================================= */

.story-section {
    padding: 110px 0;
    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #f7f2e9 100%
        );
}

.story-heading {
    max-width: 850px;
}

.story-heading h2 {
    margin-bottom: 12px;
}

.story-subtitle {
    color: #b77c2c !important;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 25px !important;
    font-weight: 600;
    margin-bottom: 20px !important;
}

.story-block {
    max-width: 1050px;
    margin: 70px auto 0;

    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 55px;

    padding: 55px;

    background: #ffffff;

    border: 1px solid #dce2e7;
    border-left: 5px solid #b77c2c;

    box-shadow:
        0 20px 55px rgba(16, 27, 43, 0.08);
}

.story-number {
    color: #b77c2c;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 65px;
    font-weight: 600;
    line-height: 1;
}

.story-label {
    display: inline-block;

    margin-bottom: 10px;

    color: #8a5b1c;

    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.7px;

    text-transform: uppercase;
}

.story-content h3 {
    margin-bottom: 18px;

    color: #101b2b;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 38px;
    font-weight: 500;
    line-height: 1.2;
}

.story-content p {
    margin-bottom: 16px;

    color: #687380;
    font-size: 16px;
    line-height: 1.8;
}

.company-names {
    margin-top: 28px;

    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.company-names span {
    padding: 9px 15px;

    color: #10233d;
    background: #f7f2e9;

    border: 1px solid #dfc991;

    font-size: 12px;
    font-weight: 800;
}


/* =========================================================
   ROTI TO MAKAAN
========================================================= */

.roti-makaan {
    max-width: 1050px;
    margin: 45px auto 0;

    display: grid;
    grid-template-columns: 1fr 70px 1fr;
    align-items: center;

    gap: 25px;
}

.roti-box,
.makaan-box {
    min-height: 300px;
    padding: 40px;

    border: 1px solid #dce2e7;

    background: #ffffff;

    box-shadow:
        0 15px 40px rgba(16, 27, 43, 0.07);
}

.roti-box {
    border-top: 4px solid #b77c2c;
}

.makaan-box {
    border-top: 4px solid #101b2b;
}

.roti-box i,
.makaan-box i {
    margin-bottom: 20px;

    font-size: 38px;
}

.roti-box i {
    color: #b77c2c;
}

.makaan-box i {
    color: #101b2b;
}

.roti-box span,
.makaan-box span {
    display: block;

    margin-bottom: 7px;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 15px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 2px;
}

.roti-box h3,
.makaan-box h3 {
    margin-bottom: 13px;

    color: #101b2b;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 27px;
    font-weight: 500;
}

.roti-box p,
.makaan-box p {
    color: #687380;
    font-size: 14px;
    line-height: 1.8;
}

.roti-arrow {
    width: 55px;
    height: 55px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #ffffff;
    background: #b77c2c;

    border-radius: 50%;

    font-size: 18px;
}


/* =========================================================
   WHY UJJAIN
========================================================= */

.why-ujjain-section {
    padding: 110px 0;

    color: #ffffff;

    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(223, 182, 109, 0.16),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #101b2b,
            #17263b
        );
}

.why-ujjain-grid {
    display: grid;

    grid-template-columns: 1.15fr 0.85fr;

    align-items: center;

    gap: 80px;
}

.why-ujjain-content .section-label {
    color: #dfb66d;
}

.why-ujjain-content h2 {
    margin-bottom: 22px;

    color: #ffffff;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: clamp(40px, 5vw, 58px);
    font-weight: 500;
    line-height: 1.15;
}

.why-ujjain-content p {
    margin-bottom: 18px;

    color: rgba(255, 255, 255, 0.76);

    font-size: 16px;
    line-height: 1.8;
}

.why-highlight {
    margin-top: 25px;

    padding-left: 20px;

    color: #dfb66d !important;

    border-left: 3px solid #dfb66d;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 23px !important;
}

.ujjain-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.ujjain-card {
    width: min(370px, 100%);
    min-height: 370px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,0.08),
            rgba(255,255,255,0.02)
        );

    border: 1px solid rgba(223, 182, 109, 0.45);

    border-radius: 50%;

    box-shadow:
        0 0 0 15px rgba(223, 182, 109, 0.04),
        0 30px 70px rgba(0, 0, 0, 0.25);
}

.ujjain-card span {
    color: #dfb66d;

    font-size: 14px;
    font-weight: 800;
    letter-spacing: 3px;

    text-transform: uppercase;
}

.ujjain-card strong {
    margin: 10px 0;

    color: #ffffff;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 55px;
    font-weight: 500;
}

.ujjain-card small {
    color: rgba(255,255,255,0.65);

    font-size: 12px;
    letter-spacing: 1px;
}


/* =========================================================
   DEVELOPMENT STATISTICS
========================================================= */

.development-stats {
    margin-top: 70px;

    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 25px;
}

.development-stat {
    padding: 38px;

    background: rgba(255,255,255,0.06);

    border: 1px solid rgba(223, 182, 109, 0.3);

    transition:
        transform 0.3s ease,
        background 0.3s ease;
}

.development-stat:hover {
    transform: translateY(-6px);
    background: rgba(255,255,255,0.09);
}

.stat-icon {
    width: 50px;
    height: 50px;

    margin-bottom: 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #101b2b;
    background: #dfb66d;

    border-radius: 50%;
}

.development-stat > strong {
    display: block;

    margin-bottom: 8px;

    color: #dfb66d;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 43px;
    font-weight: 500;
}

.development-stat h3 {
    margin-bottom: 10px;

    color: #ffffff;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 22px;
    font-weight: 500;
}

.development-stat p {
    color: rgba(255,255,255,0.65);

    font-size: 14px;
    line-height: 1.7;
}


/* =========================================================
   BIRTH SECTION
========================================================= */

.birth-section {
    padding: 110px 0;

    background: #f7f2e9;
}

.birth-heading {
    text-align: center;
    margin-bottom: 60px;
}

.birth-heading h2 {
    color: #101b2b;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: clamp(40px, 5vw, 60px);
    font-weight: 500;
}

.birth-heading h2 span {
    color: #b77c2c;
}

.birth-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 70px;

    align-items: center;
}

.birth-intro {
    padding: 45px;

    background: #ffffff;

    border-left: 4px solid #b77c2c;

    box-shadow:
        0 18px 45px rgba(16,27,43,0.08);
}

.birth-icon {
    width: 65px;
    height: 65px;

    margin-bottom: 25px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #ffffff;
    background: #101b2b;

    border-radius: 50%;

    font-size: 27px;
}

.birth-intro h3 {
    margin-bottom: 17px;

    color: #101b2b;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 31px;
    font-weight: 500;
}

.birth-intro p {
    margin-bottom: 14px;

    color: #687380;

    font-size: 15px;
    line-height: 1.8;
}

.birth-points {
    display: flex;
    flex-direction: column;

    gap: 20px;
}

.birth-point {
    display: grid;

    grid-template-columns: 55px 1fr;

    gap: 20px;

    padding: 20px 0;

    border-bottom: 1px solid #d8dfe4;
}

.birth-point:last-child {
    border-bottom: 0;
}

.birth-point > span {
    color: #b77c2c;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 25px;
    font-weight: 600;
}

.birth-point h3 {
    margin-bottom: 5px;

    color: #101b2b;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 23px;
    font-weight: 600;
}

.birth-point p {
    color: #687380;

    font-size: 14px;
    line-height: 1.7;
}


/* =========================================================
   NAME WITH MEANING
========================================================= */

.name-meaning-section {
    padding: 110px 0;

    background:
        linear-gradient(
            135deg,
            #ffffff,
            #f7f2e9
        );
}
.name-meaning-grid {
    display: block;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.meaning-circle span {
    color: #dfb66d;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 115px;
    line-height: 1;
}

.meaning-circle small {
    margin-top: 12px;

    color: rgba(255,255,255,0.75);

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 3px;
    text-transform: uppercase;
}

.name-meaning-content {
    width: 100%;
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
}

.name-meaning-content h2 {
    margin-bottom: 20px;

    color: #101b2b;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: clamp(42px, 5vw, 60px);
    font-weight: 500;
}

.name-meaning-content h2 span {
    color: #b77c2c;
}

.name-meaning-content p {
    margin-bottom: 17px;

    color: #687380;

    font-size: 16px;
    line-height: 1.85;
}

.legacy-line {
    margin-top: 30px;

    display: flex;
    align-items: center;

    gap: 15px;
}

.legacy-line span {
    width: 45px;
    height: 2px;

    background: #b77c2c;
}

.legacy-line strong {
    color: #8a5b1c;

    font-size: 13px;
    letter-spacing: 1px;

    text-transform: uppercase;
}


/* =========================================================
   JOURNEY IMPROVEMENTS
========================================================= */

.timeline-content h4 {
    margin-bottom: 10px;

    color: #b77c2c;

    font-size: 13px;
    font-weight: 800;

    letter-spacing: 0.5px;

    text-transform: uppercase;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media screen and (max-width: 900px) {

    .story-block {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .story-number {
        font-size: 48px;
    }

    .roti-makaan {
        grid-template-columns: 1fr;
    }

    .roti-arrow {
        margin: 0 auto;

        transform: rotate(90deg);
    }

    .why-ujjain-grid,
    .birth-grid,
    .name-meaning-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .ujjain-visual {
        order: -1;
    }

    .development-stats {
        grid-template-columns: 1fr;
    }

    .name-meaning-symbol {
        order: -1;
    }

}


@media screen and (max-width: 650px) {

    .story-section,
    .why-ujjain-section,
    .birth-section,
    .name-meaning-section {
        padding: 75px 0;
    }

    .story-block {
        margin-top: 45px;
        padding: 28px 22px;
    }

    .story-content h3 {
        font-size: 30px;
    }

    .story-subtitle {
        font-size: 20px !important;
    }

    .roti-box,
    .makaan-box {
        padding: 28px;
    }

    .why-ujjain-content h2 {
        font-size: 38px;
    }

    .ujjain-card {
        width: 270px;
        min-height: 270px;
    }

    .ujjain-card strong {
        font-size: 45px;
    }

    .development-stat {
        padding: 28px;
    }

    .development-stat > strong {
        font-size: 36px;
    }

    .birth-intro {
        padding: 30px 25px;
    }

    .birth-heading h2 {
        font-size: 38px;
    }

    .meaning-circle {
        width: 240px;
        height: 240px;
    }

    .meaning-circle span {
        font-size: 85px;
    }

}

/* ===== WHY KALAVATI - FORCE CENTER ===== */

.why-kalavati-section {
    width: 100%;
    padding: 80px 0;
}

.why-kalavati-section .container {
    width: 100%;
    max-width: 1200px;
    margin-left: auto !important;
    margin-right: auto !important;
}

.why-kalavati-section .section-heading {
    width: 100% !important;
    max-width: 900px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
}

.why-kalavati-section .section-heading h2,
.why-kalavati-section .section-heading p,
.why-kalavati-section .section-heading .section-tag {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.name-meaning-symbol,
.meaning-circle {
    display: none !important;
}

/* =========================================
   UJJAIN CIRCULAR IMAGE
========================================= */

.ujjain-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.ujjain-image {
    width: 370px;
    height: 370px;

    margin: 0 auto;

    border-radius: 50%;
    overflow: hidden;

    position: relative;

    background: transparent;

    box-shadow: none;
}

.ujjain-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
    object-position: center;

    border-radius: 50%;
}

@media screen and (max-width: 650px) {

    .ujjain-image {
        width: 270px;
        height: 270px;
    }

}


/* =========================================
   HEADER TAGLINE
   UNDER DEVELOPERS
========================================= */

.brand-name {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;

    line-height: 1 !important;
}

.header-tagline {
    display: block !important;

    margin-top: 7px !important;
    margin-left: 0 !important;

    color: #172437 !important;

    font-family: Arial, Helvetica, sans-serif !important;

    font-size: 12px !important;
    font-weight: 400 !important;

    line-height: 1.2 !important;

    letter-spacing: 0 !important;

    white-space: nowrap !important;
}



.header-tagline {
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 12px !important;
    font-style: italic !important;
    font-weight: 400 !important;
    color: #a36f24 !important;
    letter-spacing: 0 !important;
    line-height: 1.2 !important;
}
.brand-main {
    color: #10233d !important;

    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 27px !important;
    font-weight: 700 !important;

    letter-spacing: 1px !important;
    line-height: 1 !important;
}
.brand-sub {
    margin-top: 6px !important;
    color: #10233d !important;

    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 20px !important;
    font-weight: 600 !important;

    letter-spacing: 2px !important;
    text-transform: none !important;
    line-height: 1 !important;
}

/* FOOTER TAGLINE - MATCH LOGO STYLE */

.footer-tagline {
    margin: -5px 0 15px !important;

    color: #A36F24 !important;

    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 16px !important;
    font-style: italic !important;
    font-weight: 400 !important;

    line-height: 1.3 !important;
    letter-spacing: 0 !important;
}

/* =========================================
   HEADER TEXT — MATCH FOOTER
========================================= */

.brand-main {
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 27px !important;
    font-weight: 600 !important;
    letter-spacing: 0 !important;
    line-height: 1 !important;
}

.brand-sub {
    margin-top: 4px !important;

    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 27px !important;
    font-weight: 600 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    line-height: 1 !important;
}

/* =====================================================
   VISION & MISSION - PREMIUM 3D FLIP CARDS
===================================================== */

.vision-mission-section {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
    background:
        linear-gradient(
            rgba(245, 241, 233, 0.88),
            rgba(245, 241, 233, 0.92)
        ),
        url("../image/vision-bg.jpg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}


/* =====================================================
   SECTION HEADING
===================================================== */

.vision-mission-heading {
    text-align: center;
    margin-bottom: 55px;
}

.vision-mission-heading span {
    display: block;
    color: #A36F24;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 4px;
    margin-bottom: 10px;
}

.vision-mission-heading h2 {
    margin: 0;
    color: #172437;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 52px;
    font-weight: 600;
    line-height: 1.1;
}

.vision-mission-heading p {
    margin: 15px 0 0;
    color: #555;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
}


/* =====================================================
   GRID
===================================================== */

.vision-mission-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
    max-width: 1100px;
    margin: 0 auto;
}


/* =====================================================
   FLIP CARD
===================================================== */

.flip-card {
    height: 470px;
    perspective: 1500px;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.4, 0.2, 0.2, 1);
}

.flip-card.flipped .flip-card-inner {
    transform: rotateY(180deg);
}


/* =====================================================
   FRONT + BACK COMMON
===================================================== */

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;

    border-radius: 7px;
    overflow: hidden;

    box-sizing: border-box;

    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}


/* =====================================================
   FRONT SIDE
===================================================== */

.flip-card-front {
    padding: 60px 52px 45px;

    display: flex;
    flex-direction: column;
    align-items: flex-start;

    box-shadow: 0 18px 45px rgba(23, 36, 55, 0.18);
}


/* Vision front */

.vision-front {
    background:
        linear-gradient(
            rgba(15, 32, 53, 0.90),
            rgba(15, 32, 53, 0.94)
        ),
        url("../image/raw.png");

    background-size: cover;
    background-position: center;

    color: #fff;
}


/* Mission front */

.mission-front {
    background:
        linear-gradient(
            rgba(15, 32, 53, 0.90),
            rgba(15, 32, 53, 0.94)
        ),
        url("../image/raw2.png");

    background-size: cover;
    background-position: center;

    color: #fff;
}


/* =====================================================
   FRONT NUMBER
===================================================== */

.card-number {
    position: absolute;
    top: 5px;
    right: 25px;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 125px;
    line-height: 1;

    color: rgba(255, 255, 255, 0.07);
    font-weight: 600;
}


/* =====================================================
   FRONT ICON
===================================================== */

.card-icon {
    width: 80px;
    height: 80px;

    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 45px;

    background: rgba(255, 255, 255, 0.05);
}

.card-icon i {
    color: #F2D18B;
    font-size: 27px;
}


/* =====================================================
   CARD LABEL
===================================================== */

.card-label {
    color: #F2C46D;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: 700;

    letter-spacing: 3px;

    margin-bottom: 20px;
}


/* =====================================================
   FRONT TITLE
===================================================== */

.flip-card-front h2 {
    max-width: 650px;

    margin: 0 0 22px;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 37px;
    line-height: 1.22;

    font-weight: 500;

    color: #fff;
}


/* =====================================================
   FRONT PARAGRAPH
===================================================== */

.flip-card-front > p {
    max-width: 620px;

    margin: 0;

    color: rgba(255, 255, 255, 0.82);

    font-family: Arial, Helvetica, sans-serif;

    font-size: 16px;
    line-height: 1.7;
}


/* =====================================================
   LEARN MORE BUTTON
===================================================== */

.learn-more-btn {
    margin-top: auto;

    border: 0;

    padding: 13px 0;

    background: transparent;

    color: #F2C46D;

    font-family: Arial, Helvetica, sans-serif;

    font-size: 15px;
    font-weight: 700;

    cursor: pointer;

    display: inline-flex;
    align-items: center;

    gap: 10px;

    transition: all 0.3s ease;
}

.learn-more-btn i {
    transition: transform 0.3s ease;
}

.learn-more-btn:hover {
    color: #fff;
}

.learn-more-btn:hover i {
    transform: translateX(6px);
}

/* =====================================================
   BACK SIDE - SOFT BLURRED IMAGE
===================================================== */

.flip-card-back {
    position: absolute;
    transform: rotateY(180deg);

    padding: 55px 52px 40px;

    color: #172437;

    border: 1px solid rgba(163, 111, 36, 0.35);

    box-shadow: 0 18px 45px rgba(23, 36, 55, 0.18);

    background: transparent !important;

    overflow: hidden;
}


/* =====================================================
   BLURRED BACKGROUND IMAGE
===================================================== */

.flip-card-back::before {
    content: "";
    position: absolute;

    top: -15px;
    left: -15px;
    right: -15px;
    bottom: -15px;

    z-index: 0;

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    filter: blur(3px);

    transform: scale(1.05);
}


/* =====================================================
   SOFT WHITE OVERLAY
===================================================== */

.flip-card-back::after {
    content: "";
    position: absolute;

    inset: 0;

    z-index: 1;

    background: rgba(255, 255, 255, 0.42);
}


/* =====================================================
   VISION BACKGROUND
===================================================== */

.flip-card-back.vision-back::before {
    background-image: url("../image/raw.png");
}


/* =====================================================
   MISSION BACKGROUND
===================================================== */

.flip-card-back.mission-back::before {
    background-image: url("../image/raw2.png");
}


/* =====================================================
   KEEP BACK CONTENT SHARP
===================================================== */

.flip-card-back > * {
    position: relative;
    z-index: 2;
}

/* =====================================================
   BACK SIDE CONTENT
===================================================== */

.flip-card-back > * {
    position: relative;
    z-index: 2;
}


/* =====================================================
   BACK NUMBER
===================================================== */

.back-number {
    position: absolute;

    top: 5px;
    right: 25px;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 105px;
    line-height: 1;

    color: rgba(163, 111, 36, 0.12);
}


/* =====================================================
   BACK LABEL
===================================================== */

.flip-card-back .card-label {
    color: #A36F24;

    margin-bottom: 18px;
}


/* =====================================================
   BACK TITLE
===================================================== */

.flip-card-back h3 {
    position: relative;

    margin: 0 0 20px;

    max-width: 600px;

    color: #172437;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 31px;

    font-weight: 500;

    line-height: 1.25;
}


/* =====================================================
   BACK PARAGRAPH
===================================================== */

.flip-card-back p {
    margin: 0;

    max-width: 620px;

    color: #333;

    font-family: Arial, Helvetica, sans-serif;

    font-size: 16px;

    line-height: 1.75;

    font-weight: 500;
}


/* =====================================================
   BACK BUTTON
===================================================== */

.back-btn {
    position: absolute;

    bottom: 38px;
    left: 52px;

    border: 1px solid #A36F24;

    background: rgba(255, 255, 255, 0.75);

    color: #A36F24;

    border-radius: 30px;

    padding: 10px 20px;

    font-family: Arial, Helvetica, sans-serif;

    font-size: 14px;

    font-weight: 600;

    cursor: pointer;

    display: flex;
    align-items: center;

    gap: 8px;

    transition: all 0.3s ease;
}

.back-btn:hover {
    background: #A36F24;
    color: #fff;
}


/* =====================================================
   TABLET
===================================================== */

@media screen and (max-width: 900px) {

    .vision-mission-grid {
        grid-template-columns: 1fr;
        max-width: 650px;
    }

    .flip-card {
        height: 450px;
    }

    .vision-mission-heading h2 {
        font-size: 44px;
    }
}


/* =====================================================
   MOBILE
===================================================== */

@media screen and (max-width: 600px) {

    .vision-mission-section {
        padding: 70px 0;
        background-attachment: scroll;
    }

    .vision-mission-heading {
        margin-bottom: 35px;
    }

    .vision-mission-heading span {
        font-size: 11px;
        letter-spacing: 3px;
    }

    .vision-mission-heading h2 {
        font-size: 36px;
    }

    .vision-mission-heading p {
        font-size: 14px;
    }

    .vision-mission-grid {
        gap: 25px;
    }

    .flip-card {
        height: 430px;
    }

    .flip-card-front,
    .flip-card-back {
        padding: 45px 30px 35px;
    }

    .card-number {
        font-size: 90px;
        right: 15px;
    }

    .card-icon {
        width: 65px;
        height: 65px;
        margin-bottom: 30px;
    }

    .card-icon i {
        font-size: 22px;
    }

    .flip-card-front h2 {
        font-size: 28px;
    }

    .flip-card-front > p,
    .flip-card-back p {
        font-size: 14px;
        line-height: 1.6;
    }

    .flip-card-back h3 {
        font-size: 26px;
    }

    .back-number {
        font-size: 80px;
        right: 15px;
    }

    .back-btn {
        left: 30px;
        bottom: 28px;
    }
}





/* =====================================================
   PREMIUM COMPANY PROFILE
===================================================== */

.company-profile {
    position: relative;
    overflow: hidden;

    background:
        radial-gradient(
            circle at 15% 20%,
            rgba(183, 124, 44, 0.10),
            transparent 30%
        ),
        radial-gradient(
            circle at 85% 80%,
            rgba(23, 53, 83, 0.10),
            transparent 32%
        ),
        linear-gradient(
            135deg,
            #f8f5ee 0%,
            #ffffff 48%,
            #f4efe5 100%
        );
}

.company-profile::before {
    content: "";
    position: absolute;

    width: 420px;
    height: 420px;

    top: -220px;
    right: -160px;

    border: 1px solid rgba(183, 124, 44, 0.18);
    border-radius: 50%;
}

.company-profile::after {
    content: "";
    position: absolute;

    width: 320px;
    height: 320px;

    bottom: -180px;
    left: -130px;

    border: 1px solid rgba(23, 53, 83, 0.12);
    border-radius: 50%;
}

.company-profile .container {
    position: relative;
    z-index: 2;
}

.company-profile .profile-content {
    width: 100%;
    max-width: 900px;

    margin: 0 auto;

    text-align: center;
}

.company-profile .section-label {
    margin-bottom: 16px;

    color: #a96d16;

    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;

    text-transform: uppercase;
}

.company-profile .profile-content h2 {
    max-width: 800px;

    margin: 0 auto 25px;

    color: #10233f;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: clamp(38px, 5vw, 58px);
    font-weight: 500;
    line-height: 1.15;
}

.company-profile .profile-content p {
    max-width: 760px;

    margin: 0 auto 15px;

    color: #5f6b78;

    font-size: 16px;
    line-height: 1.8;
}

.company-profile .profile-points {
    max-width: 760px;

    margin: 35px auto;

    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 14px 30px;

    text-align: left;
}

.company-profile .profile-points div {
    padding: 14px 18px;

    color: #344458;

    background: rgba(255, 255, 255, 0.65);

    border: 1px solid rgba(183, 124, 44, 0.16);

    border-radius: 5px;

    box-shadow:
        0 8px 25px rgba(16, 35, 63, 0.05);
}

.company-profile .profile-points i {
    margin-right: 9px;

    color: #b77c2c;
}

.company-profile .main-button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    margin-top: 10px;

    padding: 14px 27px;

    color: #ffffff;
    background: #173553;

    border-radius: 4px;

    text-decoration: none;

    font-size: 14px;
    font-weight: 800;

    transition:
        background 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.company-profile .main-button:hover {
    background: #a96d16;

    transform: translateY(-3px);

    box-shadow:
        0 10px 25px rgba(16, 35, 63, 0.15);
}


/* MOBILE */

@media screen and (max-width: 650px) {

    .company-profile {
        padding: 70px 0;
    }

    .company-profile .profile-content h2 {
        font-size: 36px;
    }

    .company-profile .profile-content p {
        font-size: 15px;
    }

    .company-profile .profile-points {
        grid-template-columns: 1fr;

        gap: 12px;

        text-align: left;
    }

}



/* =====================================================
   SMOOTH HERO TO COMPANY PROFILE BLEND
===================================================== */

.about-hero {
    position: relative;
    overflow: visible;
}

.about-hero::after {
    content: "";
    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    height: 180px;

    background: linear-gradient(
        to bottom,
        rgba(248, 245, 238, 0) 0%,
        rgba(248, 245, 238, 0.30) 30%,
        rgba(248, 245, 238, 0.70) 65%,
        #f8f5ee 100%
    );

    z-index: 1;
    pointer-events: none;
}


/* HIDE TOP BAR */
.top-bar {
    display: none !important;
}