/*
   KAM Consulting Website Stylesheet
   Designed with premium, modern aesthetics: HSL custom colors, glassmorphism, responsive grid, and custom web fonts.
*/

/* 1. Font Faces */
@font-face {
    font-family: "Barlow";
    src: url("../fonts/Barlow-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Barlow";
    src: url("../fonts/Barlow-Medium.ttf") format("truetype");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Barlow";
    src: url("../fonts/Barlow-Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Brandon Grotesque";
    src: url("../fonts/BrandonGrotesque-Light.otf") format("opentype");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Brandon Grotesque";
    src: url("../fonts/BrandonGrotesque-Medium.otf") format("opentype");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Brandon Grotesque";
    src: url("../fonts/BrandonGrotesque-Bold.otf") format("opentype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Uni Neue";
    src: url("../fonts/Fontfabric - UniNeueBold.otf") format("opentype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Myriad Pro";
    src: url("../fonts/MyriadPro-Regular.otf") format("opentype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Panton";
    src: url("../fonts/Panton-Regular.otf") format("opentype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Panton";
    src: url("../fonts/Panton-Bold.otf") format("opentype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* 2. CSS Variables */
:root {
    --color-navy: #121331;
    --color-navy-light: #1c1d42;
    --color-bg-light: #f5f5f7;
    --color-white: #ffffff;

    /* Accent Colors */
    --color-coral: #e87d6e;
    --color-purple: #592db4;
    --color-lavender: #e4bdf2;
    --color-red-primary: #d71734;
    --color-red-bright: #f44130;

    /* Secondary Colors */
    --color-blue-secondary: #e2eafe;
    --color-peach-secondary: #fae5d0;
    --color-orange-secondary: #f9c580;
    --color-blue-slate: #8faae2;
    --color-text-muted: #5c5d71;
    --color-border-light: #e1e3eb;

    /* Font Families */
    --font-headings: "Brandon Grotesque", sans-serif;
    --font-body: "Barlow", sans-serif;
    --font-display: "Panton", sans-serif;
    --font-number: "Uni Neue", sans-serif;

    /* Transitions */
    --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* 3. Base & Reset Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    overflow-x: hidden;
}

body {
    background-color: var(--color-white);
    color: var(--color-navy);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    min-height: 100vh;
    margin: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    background: none;
    border: none;
    font: inherit;
    cursor: pointer;
    outline: none;
}

/* 4. Layout Container */
.page-container {
    background-color: var(--color-white);
    width: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

/* 5. Header Styles */
.site-header {
    padding: 30px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: transparent;
    z-index: 100;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-text {
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 28px;
    letter-spacing: -0.5px;
    color: var(--color-navy);
    display: flex;
    flex-direction: column;
    line-height: 0.9;
}

.logo-text span.consulting {
    font-weight: 400;
    font-size: 14px;
    letter-spacing: 1.5px;
    color: var(--color-text-muted);
    margin-top: 2px;
}

.main-nav ul {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-link {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 15px;
    color: var(--color-navy);
    position: relative;
    padding: 4px 0;
}

.nav-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-red-primary);
    transition: var(--transition-smooth);
}

.nav-link:hover {
    color: var(--color-red-primary);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active {
    font-weight: 700;
    color: var(--color-navy);
}

.nav-link.active::after {
    width: 100%;
    background-color: var(--color-navy);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    width: 30px;
    z-index: 110;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color-navy);
    transition: var(--transition-smooth);
}

/* 6. Hero Banner Component */
.hero-wrapper {
    width: 100%;
    position: relative;
}

.hero-banner {
    padding: 1rem 8% 100px 8%;
    text-align: center;
    position: relative;
    overflow: visible;
    background: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    z-index: 2;
}

#home-hero {
    padding-bottom: 250px;
}

/* Top Section containing header and hero */
.top-section {
    background: linear-gradient(
        135deg,
        var(--color-peach-secondary) 0%,
        var(--color-bg-light) 40%,
        var(--color-blue-secondary) 75%,
        var(--color-lavender) 100%
    );
    position: relative;
    width: 100%;
    margin-bottom: 10px;
}

/* Blur hex overlay on top section */
.home-top-section::before {
    content: "";
    position: absolute;
    top: 100px;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("../img/logo-only.svg");
    background-size: 430px auto;
    background-position: center calc(100% + 145px);
    background-repeat: no-repeat;
    opacity: 1;
    mix-blend-mode: normal;
    pointer-events: none;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    width: 100%;
}

.hero-title {
    font-family: var(--font-headings);
    font-weight: 300;
    font-size: 54px;
    line-height: 1;
    color: var(--color-navy);
    letter-spacing: -0.5px;
    margin-bottom: 10px;
}

.hero-title strong,
.hero-title b {
    font-weight: 700;
}

.hero-subtitle {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 22px;
    color: var(--color-blue-slate);
    margin-bottom: 0;
}

/* Large overlap red hexagon icon */
.hero-logo-overlap {
    position: absolute;
    bottom: -45px;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 90px;
    background-color: var(--color-white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 30px rgba(18, 19, 49, 0.1);
    z-index: 10;
    border: 1px solid var(--color-border-light);
}

.hero-logo-overlap svg {
    width: 54px;
    height: 54px;
}

.hero-logo-overlap .glow-effect {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: rgba(244, 65, 48, 0.05);
    filter: blur(10px);
    z-index: -1;
}

/* Dots navigation inside hero (slider hint) */
.hero-dots {
    position: absolute;
    bottom: 20px;
    right: 40px;
    display: flex;
    gap: 8px;
    z-index: 5;
}

.hero-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(18, 19, 49, 0.2);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.hero-dot.active {
    background-color: var(--color-navy);
    width: 24px;
    border-radius: 4px;
}

/* 7. Section Layouts */
.section {
    padding: 80px 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

#about-kam-section {
    position: relative;
    z-index: 1;
}

#about-kam-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 192px;
    background-image: url("../img/hex_blur.webp");
    background-size: 100% auto;
    background-position: center bottom;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: -1;
}

@media (max-width: 600px) {
    #about-kam-section::before {
        width: 600px;
        height: 0px;
        padding-top: 31.87%;
        background-size: 100% auto;
    }
    /* .home-top-section::before {
        background-size: 100% auto;
        background-position: center calc(100% + 33.7vw);
    } */
}

.section-tag {
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 3px;
    color: var(--color-navy);
    text-transform: uppercase;
    margin-bottom: 24px;
    text-align: center;
}

.section-title-large {
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 26px;
    color: var(--color-navy);
    text-align: center;
    max-width: 900px;
    line-height: 1.4;
    margin-bottom: 28px;
    width: 100%;
}

.section-desc-small {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 15px;
    color: var(--color-text-muted);
    text-align: center;
    max-width: 760px;
    margin-bottom: 0;
    line-height: 1.6;
    width: 100%;
}

/* 8. Services Carousel Component */
.carousel-section {
    background-color: var(--color-bg-light);
    padding: 80px 40px;
    overflow: hidden;
}

.carousel-container {
    position: relative;
    max-width: 1200px;
    width: 100%;
    margin: 40px auto 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-viewport {
    width: 100%;
    overflow: visible;
    position: relative;
}

.carousel-track {
    display: flex;
    gap: 30px;
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    width: 100%;
    justify-content: flex-start;
}

.carousel-card {
    flex: 0 0 350px;
    background-color: var(--color-white);
    border-radius: 24px;
    padding: 40px 30px;
    min-height: 380px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 10px 30px rgba(18, 19, 49, 0.04);
    transition: var(--transition-bounce);
    position: relative;
    border: 1px solid rgba(18, 19, 49, 0.03);
}

.carousel-card-num {
    font-family: var(--font-number);
    font-size: 80px;
    color: rgba(18, 19, 49, 0.04);
    line-height: 1;
    position: absolute;
    top: 20px;
    right: 30px;
    user-select: none;
}

.carousel-card-title {
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 26px;
    color: var(--color-navy);
    line-height: 1.2;
    margin-top: 40px;
    max-width: 80%;
}

.carousel-card-desc {
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--color-text-muted);
    line-height: 1.5;
    margin-top: 20px;
    display: none; /* Only visible on active card */
}

.carousel-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 13px;
    color: var(--color-navy);
    margin-top: 30px;
    width: fit-content;
}

.carousel-card-link svg {
    width: 18px;
    height: 18px;
    fill: none;
}

/* Active centered card styling */
.carousel-card.active {
    transform: scale(1.05);
    box-shadow: 0 20px 50px rgba(18, 19, 49, 0.12);
    background: linear-gradient(
        135deg,
        var(--color-blue-secondary) 0%,
        var(--color-lavender) 50%,
        var(--color-peach-secondary) 100%
    );
    border: none;
}

.carousel-card.active::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image: url("../img/hex_blur.webp");
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    pointer-events: none;
    border-radius: 24px;
}

.carousel-card.active .carousel-card-desc {
    display: block;
    color: var(--color-navy);
}

.carousel-card.active .carousel-card-num {
    color: rgba(18, 19, 49, 0.08);
}

.carousel-card.active .carousel-card-link {
    color: var(--color-navy);
}

/* Carousel controls */
.carousel-arrow {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--color-white);
    box-shadow: 0 4px 15px rgba(18, 19, 49, 0.08);
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    z-index: 10;
    transition: var(--transition-smooth);
}

.carousel-arrow svg {
    width: 20px;
    height: 20px;
    stroke: var(--color-red-primary);
    stroke-width: 2.5px;
    fill: none;
}

.carousel-arrow:hover {
    background-color: var(--color-navy);
    transform: scale(1.05);
}

.carousel-arrow:hover svg {
    stroke: var(--color-white);
}

.carousel-arrow.prev {
    left: -25px;
}

.carousel-arrow.next {
    right: -25px;
}

/* 9. Why Grid Component */
.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    width: 100%;
    max-width: 1100px;
    margin: 40px auto;
}

.why-card {
    background-color: var(--color-white);
    border: 1px solid var(--color-border-light);
    border-radius: 20px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.why-card-title {
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 22px;
    color: var(--color-navy);
    margin-bottom: 12px;
    position: relative;
    z-index: 2;
}

.why-card-text {
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--color-text-muted);
    position: relative;
    z-index: 2;
    max-width: 90%;
}

/* Color themed cards with background SVG hexagons */
.why-card.theme-blue {
    background-color: var(--color-blue-secondary);
    border: none;
}

.why-card.theme-blue .why-card-text {
    color: var(--color-navy);
}

.why-card.theme-peach {
    background-color: var(--color-peach-secondary);
    border: none;
}

.why-card.theme-peach .why-card-text {
    color: var(--color-navy);
}

.why-card-bg-svg {
    position: absolute;
    right: -10px;
    bottom: -20px;
    width: 160px;
    height: 160px;
    opacity: 0.15;
    pointer-events: none;
    z-index: 1;
}

.why-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(18, 19, 49, 0.06);
}

/* 10. Split Two Column Block (Small enough to care) */
.split-section {
    display: flex;
    gap: 60px;
    align-items: center;
    width: 100%;
    max-width: 1100px;
    margin: 40px auto;
}

.split-col-left {
    flex: 1;
}

.split-col-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.split-title {
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 28px;
    line-height: 1.3;
    margin-bottom: 24px;
}

.split-title span.highlight-red {
    color: var(--color-red-bright);
}

.split-p {
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--color-text-muted);
    margin-bottom: 20px;
    line-height: 1.6;
}

.split-p.strong-text {
    font-weight: 500;
    color: var(--color-navy);
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    background-color: var(--color-navy);
    color: var(--color-white);
    border-radius: 30px;
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.5px;
    transition: var(--transition-smooth);
    margin-top: 10px;
}

.cta-button:hover {
    background-color: var(--color-red-primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(215, 23, 52, 0.2);
}

.team-image-container {
    width: 100%;
    max-width: 440px;
    position: relative;
    /* Top-right sloping corner folder-like tab shape */
    border-radius: 24px 80px 24px 24px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(18, 19, 49, 0.1);
    aspect-ratio: 736 / 922;
    transition: var(--transition-smooth);
}

.team-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-image-container:hover img {
    transform: scale(1.05);
}

/* 11. Accordion Component (Dropdown tabs) */
.accordion {
    width: 100%;
    max-width: 1100px;
    margin: 40px auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.accordion-item {
    background-color: var(--color-white);
    border: 1px solid var(--color-border-light);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.accordion-header {
    padding: 24px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
    transition: var(--transition-smooth);
}

.accordion-header:hover {
    background-color: var(--color-bg-light);
}

.accordion-header-left {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.accordion-title {
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 20px;
    letter-spacing: 0.5px;
    color: var(--color-navy);
}

.accordion-subtitle {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--color-text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 600px;
}

.accordion-arrow-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--color-bg-light);
    transition: var(--transition-smooth);
}

.accordion-arrow-icon svg {
    width: 12px;
    height: 12px;
    stroke: var(--color-text-muted);
    stroke-width: 2.5px;
    fill: none;
    transition: var(--transition-smooth);
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    padding: 0 30px;
}

.accordion-content-inner {
    padding: 10px 0 30px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    border-top: 1px solid var(--color-border-light);
    margin-top: 10px;
}

.accordion-desc-col h4 {
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--color-navy);
}

.accordion-desc-col p {
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--color-text-muted);
    line-height: 1.6;
}

.accordion-list-col h4 {
    font-family: var(--font-headings);
    font-weight: 500;
    font-size: 15px;
    margin-bottom: 16px;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.accordion-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.accordion-list-item {
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--color-navy);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}

.accordion-list-item::before {
    content: "";
    display: block;
    width: 6px;
    height: 6px;
    background-color: var(--color-red-primary);
    transform: rotate(45deg);
}

/* Open Accordion State styling */
.accordion-item.active {
    box-shadow: 0 15px 35px rgba(18, 19, 49, 0.08);
    border-color: var(--color-border-light);
}

.accordion-item.active .accordion-header {
    background-color: var(--color-white);
}

.accordion-item.active .accordion-arrow-icon {
    background-color: var(--color-navy);
}

.accordion-item.active .accordion-arrow-icon svg {
    transform: rotate(45deg);
    stroke: var(--color-white);
}

.accordion-item.active .accordion-subtitle {
    display: none; /* Hide single line sub when expanded */
}

.accordion-item.active .accordion-body {
    max-height: 600px; /* Large enough to fit content */
}

/* 12. Call-to-Action Banner (Need Help Navigating) */
.cta-banner-section {
    padding: 40px 60px 20px 60px;
    width: 100%;
}

.cta-banner {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    border-radius: 20px;
    background-color: var(--color-navy);
    padding: 48px;
    color: var(--color-white);
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
    cursor: pointer;
    text-decoration: none;
}

.cta-banner::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image: url("../img/hex_blur.webp");
    background-size: cover;
    background-position: center;
    opacity: 0.08;
    pointer-events: none;
}

.cta-banner-title {
    font-family: var(--font-headings);
    font-weight: 300;
    font-size: 28px;
    letter-spacing: 0.5px;
    line-height: 1.3;
    position: relative;
    z-index: 2;
}

.cta-banner-title strong,
.cta-banner-title b {
    font-weight: 700;
}

.cta-banner-subtitle {
    font-family: var(--font-body);
    font-size: 18px;
    color: var(--color-peach-secondary);
    font-weight: 400;
    position: relative;
    z-index: 2;
}

.cta-banner:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(18, 19, 49, 0.25);
    background-color: var(--color-navy-light);
}

/* 13. Specialisations Grid Component */
.specifications-section {
    background-color: var(--color-bg-light);
    padding: 80px 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.spec-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 100%;
    max-width: 1100px;
    margin-top: 40px;
}

.spec-card {
    background-color: var(--color-navy);
    color: var(--color-white);
    border-radius: 16px;
    padding: 30px 24px;
    text-align: center;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 500;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80px;
    box-shadow: 0 8px 20px rgba(18, 19, 49, 0.08);
}

.spec-card:hover {
    background-color: var(--color-red-primary);
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(215, 23, 52, 0.2);
}

/* 14. Contact Form Card & Page Elements */
.contact-section-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    width: 100%;
    max-width: 1100px;
    margin: 40px auto;
    align-items: start;
}

.contact-left-col {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-title-main {
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 44px;
    color: var(--color-navy);
    line-height: 1.1;
}

.contact-desc-main {
    font-family: var(--font-body);
    font-size: 18px;
    color: var(--color-text-muted);
    line-height: 1.6;
}

.contact-toggle-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 22px 30px;
    background-color: var(--color-white);
    border: 1px solid var(--color-border-light);
    border-radius: 30px;
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 16px;
    color: var(--color-navy);
    text-align: left;
    transition: var(--transition-smooth);
}

.contact-toggle-btn-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--color-navy);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition-smooth);
}

.contact-toggle-btn-circle svg {
    width: 16px;
    height: 16px;
    stroke: var(--color-white);
    stroke-width: 2.5px;
    fill: none;
}

.contact-toggle-btn:hover {
    background-color: var(--color-bg-light);
    border-color: var(--color-navy);
}

.contact-toggle-btn.active {
    background-color: var(--color-navy);
    color: var(--color-white);
    border-color: var(--color-navy);
}

.contact-toggle-btn.active .contact-toggle-btn-circle {
    background-color: var(--color-white);
}

.contact-toggle-btn.active .contact-toggle-btn-circle svg {
    stroke: var(--color-navy);
}

/* Gray Rounded Form Card */
.contact-form-card {
    background-color: #d7dce0; /* Client requirement gray background */
    border-radius: 28px;
    padding: 40px;
    box-shadow: 0 15px 40px rgba(18, 19, 49, 0.05);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-label {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    color: #555770;
}

.form-input {
    width: 100%;
    height: 48px;
    border-radius: 8px;
    border: 1px solid rgba(18, 19, 49, 0.1);
    background-color: var(--color-white);
    padding: 12px 16px;
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--color-navy);
    transition: var(--transition-smooth);
}

.form-input:focus {
    outline: none;
    border-color: var(--color-navy);
    box-shadow: 0 0 0 3px rgba(18, 19, 49, 0.08);
}

.form-select {
    width: 100%;
    height: 48px;
    border-radius: 8px;
    border: 1px solid rgba(18, 19, 49, 0.1);
    background-color: var(--color-white);
    padding: 12px 16px;
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--color-navy);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23121331' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.form-select:focus {
    outline: none;
    border-color: var(--color-navy);
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
}

.form-checkbox {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    border: 1px solid rgba(18, 19, 49, 0.2);
    accent-color: var(--color-navy);
    cursor: pointer;
}

.checkbox-label {
    font-family: var(--font-body);
    font-size: 13px;
    color: #333333;
    cursor: pointer;
}

.form-submit-container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-top: 10px;
}

.submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 28px;
    background-color: var(--color-navy);
    color: var(--color-white);
    border-radius: 24px;
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 15px;
    transition: var(--transition-smooth);
}

.submit-btn-circle {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: var(--color-white);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition-smooth);
}

.submit-btn-circle svg {
    width: 12px;
    height: 12px;
    stroke: var(--color-navy);
    stroke-width: 2.5px;
    fill: none;
}

.submit-btn:hover {
    background-color: var(--color-red-primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(215, 23, 52, 0.2);
}

.submit-btn:hover .submit-btn-circle {
    transform: translateX(2px);
}

/* 15. Shared Footer Section */
.site-footer {
    margin-top: auto;
    border-top: 1px solid var(--color-border-light);
    background-color: var(--color-white);
    padding: 40px 8% 90px 8%; /* Reduced padding width to match navbar */
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo-col {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 200px;
}

.footer-logo-sub {
    font-family: var(--font-body);
    font-size: 11px;
    letter-spacing: 0.5px;
    color: var(--color-text-muted);
}

.footer-info-col {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--color-navy);
}

.footer-info-col.address {
    max-width: 280px;
}

.footer-info-title {
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 14px;
    color: var(--color-navy);
    margin-bottom: 2px;
}

.footer-info-text {
    color: var(--color-text-muted);
    line-height: 1.5;
}

/* 16. Floating WhatsApp Widget */
.whatsapp-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    text-decoration: none;
}

.whatsapp-pill {
    background-color: var(--color-white);
    padding: 8px 16px;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    color: var(--color-text-muted);
    opacity: 0;
    transform: translateX(10px);
    transition: var(--transition-smooth);
    pointer-events: none;
    white-space: nowrap;
}

.whatsapp-icon-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: #25d366; /* WhatsApp Green */
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
    transition: var(--transition-bounce);
}

.whatsapp-icon-btn svg {
    width: 32px;
    height: 32px;
    fill: var(--color-white);
}

.whatsapp-widget:hover .whatsapp-pill {
    opacity: 1;
    transform: translateX(0);
}

.whatsapp-widget:hover .whatsapp-icon-btn {
    transform: scale(1.08) rotate(8deg);
    background-color: #1ebd56;
}

/* 17. Responsive Design Media Queries */

@media (max-width: 1100px) {
    .section {
        padding: 60px 40px;
    }
    .split-section {
        gap: 40px;
    }
    .contact-section-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .form-grid-2 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    body {
        padding: 10px;
    }
    .page-container {
        border-radius: 24px;
    }
    .site-header {
        padding: 20px 30px;
    }
    .main-nav {
        display: none; /* Toggle handled in Mobile JS */
    }
    .mobile-menu-toggle {
        display: flex;
    }

    /* Mobile Open Nav Drawer */
    .site-header.nav-open .main-nav {
        display: block;
        position: absolute;
        top: 100px;
        left: 0;
        right: 0;
        background-color: var(--color-white);
        padding: 30px;
        box-shadow: 0 10px 20px rgba(18, 19, 49, 0.05);
        border-bottom: 1px solid var(--color-border-light);
        z-index: 105;
    }

    .site-header.nav-open .main-nav ul {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }

    .hero-banner {
        padding: 20px 20px 80px 20px;
    }
    #home-hero {
        padding-bottom: 260px;
    }
    .hero-title {
        font-size: 38px;
    }
    .hero-subtitle {
        font-size: 18px;
    }

    .split-section {
        flex-direction: column;
        text-align: center;
    }
    .split-col-right {
        justify-content: center;
    }
    .why-grid {
        grid-template-columns: 1fr;
    }
    .spec-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .accordion-content-inner {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .footer-content {
        flex-direction: column;
        align-items: flex-start;
    }
    .site-footer {
        padding: 30px 30px 90px 30px;
    }
    .accordion-header-left {
        flex: 1;
        min-width: 0;
        padding-right: 15px;
    }
    .accordion-subtitle {
        white-space: normal;
        max-width: 100%;
    }
}

@media (max-width: 600px) {
    .hero-wrapper {
        padding: 0 20px;
    }
    .section {
        padding: 40px 20px;
    }
    .spec-grid {
        grid-template-columns: 1fr;
    }
    .carousel-card {
        flex: 0 0 100%;
    }
    .carousel-arrow.prev {
        left: -10px;
    }
    .carousel-arrow.next {
        right: -10px;
    }
    .contact-form-card {
        padding: 24px;
    }
    .cta-banner {
        padding: 24px;
    }
    .cta-banner-title {
        font-size: 22px;
    }
    .site-footer {
        padding: 30px 30px 90px 30px; /* Aligns with navbar padding on mobile */
    }
}
