:root {
    --primary: #242424;
    --secondary: #d4b15e;
    --white: #ffffff;
    --light: #ebebea;
    --text: #242424;
    --muted: #838486;
    --accent-dark: #5c462f;
    --accent-beige: #d7c3ab;
    --accent-pale: #ebebea;
    --accent-gold: #f95830;
    --accent-blue: #2b3f4b;
    --accent-brown: #a77e59;
    --radius: 5px;
    --shadow: 0 20px 45px rgba(36, 36, 36, 0.08);
    --transition: all 0.3s ease;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Inter", sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Main Container */
.container {
    width: 92%;
    max-width: 1360px;
    /* Balanced width */
    margin-inline: auto;
}

/* Header & Navigation */
/* Header & Navigation */
.hero {
    min-height: 100vh;
    color: var(--white);
    background: #333333;
    /* Solid Grey */
    display: flex;
    flex-direction: column;
    padding-bottom: 3rem;
    position: relative;
    justify-content: flex-start;
    overflow: hidden;
    /* Ensure video doesn't overflow */
}

/* Remove video styles if any remain unused, but keep cleanup minimal */
.video-background,
.video-overlay {
    display: none;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    /* Dark overlay for text readability */
    z-index: 1;
}

.navbar {
    /* ... existing styles ... */
    z-index: 100;
    /* Ensure above video */
}

.hero-container {
    /* ... existing styles ... */
    position: relative;
    z-index: 2;
    /* Ensure content above video */
}

/* Page Header - For pages other than Home */
.page-header {
    min-height: 50vh;
    padding-bottom: 2rem;
}

.navbar {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 1rem 0;
    /* Vertical padding only, horiz handled by container */
    gap: 0;
    z-index: 100;
    position: relative;
    /* Ensure z-index works and stacking context is stable */

    /* Full width background styles - BLACK */
    background: #000000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    margin-top: 0;
    border-radius: 0;
    border: none;
    color: var(--white);
    /* Text white on black bg */
}

/* Fix navbar button visibility for dark bg */
.navbar .btn-outline {
    border-color: rgba(255, 255, 255, 0.7);
    color: var(--white);
}

.navbar .btn-outline:hover {
    background: var(--white);
    color: var(--primary);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 92%;
    max-width: 1360px;
    margin: 0 auto;
}

.logo {
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--white);
    margin-right: auto;
    /* Pushes menu and button to the right */
}

.logo span {
    color: var(--secondary);
}

.nav-links {
    display: flex;
    gap: 1.25rem;
}

.nav-links a {
    font-weight: 500;
    opacity: 0.9;
}

.nav-links a:hover,
.nav-links a.active {
    opacity: 1;
    color: var(--secondary);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--white);
}

/* Force button next to menu */
.navbar .btn-outline {
    margin-left: 1.5rem !important;
}

/* Hero Section Layout */
.hero-container {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    /* More space for text */
    gap: 4rem;
    align-items: center;
    margin-top: 12vh;
}

.hero-content {
    /* Removed margin-top as it's handled by hero-container */
    max-width: 100%;
    text-align: left;
}

/* Hero Form */
.hero-form-wrapper {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    color: var(--text);
    max-width: 400px;
    /* Restricted width */
    width: 100%;
    margin-left: auto;
    /* Align to the right */
}

.hero-form-wrapper h3 {
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.hero-form-wrapper p {
    font-size: 0.9rem;
    color: var(--muted);
    margin-bottom: 1.5rem;
}

.hero-form-wrapper input,
.hero-form-wrapper select,
.hero-form-wrapper textarea {
    background: #f8fafc;
    border-color: #e2e8f0;
    margin-bottom: 1rem;
}

.hero-form-wrapper .btn {
    width: 100%;
    margin-top: 0.5rem;
}

/* Page Header - For other pages */
.page-header {
    min-height: 50vh;
    padding-bottom: 2rem;
    display: block;
    /* Override flex from .hero if needed */
}

.page-header .hero-content {
    margin-top: 12vh;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

@media (max-width: 960px) {
    .hero-container {
        grid-template-columns: 1fr;
        margin-top: 8vh;
    }

    .hero-form-wrapper {
        margin: 0 auto;
    }
}

.heading-uppercase {
    text-transform: uppercase;
    font-weight: 400;
    letter-spacing: 2px;
}

/* Hero Content */
/* The original hero-content was here, but it's been moved and modified above. */

.eyebrow,
.section-tag {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 0.8rem;
}

h1,
h2,
h3,
h4 {
    line-height: 1.2;
    margin-top: 0;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
}

h2 {
    font-size: clamp(1.6rem, 3vw, 2.3rem);
    margin-bottom: 1rem;
}

.subheading {
    font-size: 1.08rem;
    max-width: 640px;
    opacity: 0.9;
}

.hero-actions {
    display: flex;
    gap: 0.9rem;
    margin-top: 1.8rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 0.78rem 1.2rem;
    border-radius: 5px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--transition);
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: #f95830;
    color: #ffffff;
}

.btn-secondary,
.btn-outline {
    border-color: rgba(255, 255, 255, 0.7);
    color: var(--white);
    background: transparent;
}

.btn-secondary:hover,
.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
}

.hero-metrics {
    margin-top: 2.2rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(120px, 1fr));
    gap: 1rem;
}

.hero-metrics div {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius);
    padding: 1rem;
    backdrop-filter: blur(5px);
    box-shadow: none;
}

.hero-metrics strong {
    display: block;
    font-size: 1.2rem;
}

.hero-metrics span {
    color: #e0e0e0;
    font-size: 0.88rem;
}

/* Sections */
.section {
    padding: 5.2rem 0;
}

.section-alt {
    background: var(--light);
}

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

/* About Section Redesign */
.about-details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.about-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-top: 4px solid var(--secondary);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
}

.about-icon {
    width: 60px;
    height: 60px;
    background: rgba(212, 177, 94, 0.1);
    /* Low opacity gold */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.about-icon i {
    font-size: 1.5rem;
    color: var(--secondary);
}

.about-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--primary);
    font-weight: 700;
}

.about-card p {
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .about-details-grid {
        grid-template-columns: 1fr;
    }
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
}

.icon {
    width: 46px;
    height: 46px;
    border-radius: 5px;
    display: grid;
    place-content: center;
    font-size: 1.2rem;
    background: var(--light);
    margin-bottom: 0.6rem;
    color: var(--secondary);
}

.case-card {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.case-card .img {
    height: 170px;
    background-size: cover;
    background-position: center;
}

.case-card .content {
    padding: 1rem 1.1rem 1.2rem;
    flex: 1;
}

.highlight {
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: block;
}

.tick-list {
    padding-left: 1.2rem;
}

.tick-list li {
    margin-bottom: 0.7rem;
}

.stats article strong {
    font-size: 1.7rem;
    color: var(--primary);
    display: block;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(130px, 1fr));
    gap: 0.9rem;
}

.process-grid div {
    background: var(--primary);
    color: var(--white);
    text-align: center;
    border-radius: 5px;
    padding: 0.8rem 0.4rem;
    font-weight: 600;
    font-size: 0.9rem;
}

.logo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.logo-grid span {
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    padding: 1rem;
    text-align: center;
    font-weight: 600;
    color: var(--text);
}

.cta {
    background: linear-gradient(130deg, var(--primary), #333333);
    color: var(--white);
    padding: 4rem 0;
}

.cta-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

/* Contact Form */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    align-items: start;
}

.contact-info-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.contact-icon {
    font-size: 1.5rem;
    color: var(--secondary);
    margin-right: 1rem;
    width: 40px;
    height: 40px;
    background: rgba(182, 140, 62, 0.1);
    /* 10% opacity of secondary */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
}

input,
textarea,
select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--light);
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(11, 44, 95, 0.1);
    background: var(--white);
}

textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background: var(--primary);
    color: #e0e0e0;
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 50% 25% 25%;
    gap: 2rem;
}

.footer h4 {
    color: var(--white);
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer ul li {
    margin-bottom: 0.6rem;
}

.footer a:hover {
    color: var(--secondary);
}

/* Responsive */
@media (max-width: 960px) {

    .split,
    .grid-3,
    .process-grid,
    .footer-grid,
    .contact-wrapper {
        grid-template-columns: 1fr 1fr;
    }

    .navbar .btn-outline {
        display: none !important;
        /* Force hide header button on mobile */
    }

    .nav-links {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--white);
        color: var(--text);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        z-index: 9999;
        /* Very high z-index */
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        color: var(--primary);
        font-size: 1.2rem;
    }

    .menu-toggle {
        display: block;
        z-index: 10000;
        /* Highest z-index */
        cursor: pointer;
        padding: 10px;
        color: var(--primary);
        position: relative;
    }

    /* Hide the extra button on mobile/tablet to avoid clutter */
    .navbar .btn-outline {
        display: none;
    }

    .hero-metrics {
        grid-template-columns: 1fr;
    }

    .cta-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 640px) {

    .split,
    .grid-3,
    .process-grid,
    .logo-grid,
    .footer-grid,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .navbar {
        flex-wrap: wrap;
    }

    .menu-toggle {
        order: 2;
    }

    .btn-outline {
        display: none;
        /* Hide header button on mobile for space */
    }

    .section {
        padding: 4rem 0;
    }

    h1 {
        font-size: 2.2rem;
    }
}

/* WhatsApp Button */
.whatsapp-chat {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-chat:hover {
    transform: scale(1.1);
    background-color: #20b858;
}

/* Tooltip on hover */
.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: #333;
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.whatsapp-chat:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
}

/* Mobile Adjustment */
@media (max-width: 640px) {
    .whatsapp-chat {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 50px;
        height: 50px;
        font-size: 1.8rem;
    }
}

/* About Us Grid Layout */
.about-images-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}

.about-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    position: relative;
    padding-bottom: 2rem;
}

/* Vertical divider line in the middle */
.about-details-grid::after {
    content: '';
    position: absolute;
    top: 5%;
    bottom: 5%;
    left: 50%;
    width: 1px;
    background-color: #ddd;
    transform: translateX(-50%);
}

.about-item {
    padding: 0 1rem;
}

.about-item h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
}

.about-item p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .about-images-grid {
        grid-template-columns: 1fr;
    }

    .about-details-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-details-grid::after {
        display: none;
    }

    .about-item {
        text-align: center;
        padding: 0;
    }
}

/* New Services Section Styles */
.services-header {
    margin-bottom: 3rem;
}

.services-header h2 {
    font-size: 2.2rem;
    font-weight: 500;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    color: #111;
    text-transform: uppercase;
}

.services-underline {
    width: 60px;
    height: 3px;
    background-color: var(--secondary);
    /* Gold accent color */
    margin: 0;
}

.services-grid-new {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 2rem;
    row-gap: 3rem;
    max-width: 1000px;
}

.service-item-new {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.service-icon-wrapper {
    position: relative;
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon-wrapper i {
    font-size: 2rem;
    color: var(--secondary);
    /* Icon color */
    z-index: 2;
    position: relative;
}

.icon-bg {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 40%;
    background-color: var(--accent-pale);
    /* Light gold bg */
    z-index: 1;
}

.service-content-new h3 {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    color: #333;
}

.service-content-new p {
    font-size: 1rem;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 768px) {
    .services-grid-new {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .services-header h2 {
        font-size: 1.8rem;
    }
}

/* Global Section Padding Fix */
.section {
    padding: 6rem 0;
}

/* Header Consistency */
.services-header h2,
.section-tag,
h2 {
    text-align: center;
}

/* How We Work Section */
.work-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.work-card {
    background: #fff;
    padding: 2.5rem 2rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    /* For equal height */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}

.work-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.step-number {
    background: #111;
    color: #fff;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    border-radius: 4px;
}

.work-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: #333;
}

.work-card p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}

/* Flexible Operating Model Section */
.model-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: 1200px;
    /* Increased max-width */
    margin: 3rem auto 0;
    justify-content: center;
}

.model-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
    transition: var(--transition);
    height: 100%;
}

.model-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
}

.model-number {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
    /* Organic Blob Shape */
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.model-content h4 {
    font-size: 1.15rem;
    color: #222;
    margin: 0;
    font-weight: 600;
    line-height: 1.4;
}

/* Colors for the model numbers */
.num-1,
.num-4 {
    background-color: var(--accent-dark);
    /* Dark Gold */
}

.num-2,
.num-5 {
    background-color: var(--accent-gold);
    /* Gold */
}

.num-3,
.num-6 {
    background-color: var(--secondary);
    /* Brand Gold */
}

/* Specific rotations for variety */
.num-1 {
    transform: rotate(-10deg);
}

.num-2 {
    transform: rotate(15deg);
}

.num-3 {
    transform: rotate(-5deg);
}

.num-4 {
    transform: rotate(10deg);
}

.num-5 {
    transform: rotate(-15deg);
}

.num-6 {
    transform: rotate(5deg);
}

.model-item:hover .model-number {
    transform: rotate(0deg) scale(1.1);
    transition: var(--transition);
}

/* Responsive Breakpoints */
@media (max-width: 960px) {

    .work-grid,
    .model-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .about-details-grid {
        gap: 3rem;
    }
}

@media (max-width: 600px) {

    .work-grid,
    .model-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .section {
        padding: 4rem 0;
    }
}

/* Helper Classes */
.align-left {
    text-align: left !important;
}

.contact-description {
    margin-bottom: 2rem;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.6;
}

.page-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem auto;
}

.page-intro p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--muted);
    margin-top: 1rem;
}