/* =========================================
   1. GLOBAL RESET & THEME
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, sans-serif;
}

:root {
    /* Updated Theme Colors per request */
    --bg-dark: #1a5345;      /* Deep Forest Green */
    --card-green: #243a35;   /* Darker Slate Green */
    --accent-gold: #d4c185;  /* Beige/Gold */
    --text-white: #ffffff;
    --btn-orange: #ff9900;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 20px;
}

/* Typography */
h1 {
    text-align: center;
    color: var(--accent-gold);
    font-size: 3rem;
    margin: 40px 20px 20px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

h3 {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 60px;
    padding: 0 20px;
    font-weight: 400;
    font-size: 1.1rem;
    opacity: 0.9;
    letter-spacing: 0.5px;
}

h4 {
    color: var(--accent-gold);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

/* =========================================
   2. NAVBAR (STICKY & TRANSPARENT)
   ========================================= */
.navbar {
    position: sticky;
    top: 20px;
    z-index: 1000;
    width: 95%;
    max-width: 1200px;
    margin: 0 auto;
    background: var(--card-green);
    backdrop-filter: blur(10px);
    border-radius: 100px;
    padding: 15px 45px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
    transition: all 0.4s ease;
}

.navbar.scrolled {
    background: rgba(36, 58, 53, 0.5);
    padding: 10px 45px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-left, .nav-right { flex: 1; display: flex; align-items: center; }
.nav-right { justify-content: flex-end; }

.logo-img { height: 50px; width: auto; display: block; }

.nav-links {
    flex: 2;
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 15px;
}

.nav-links a {
    color: var(--accent-gold);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid var(--accent-gold);
    border-radius: 20px;
    padding: 8px 18px;
    transition: 0.3s;
}

.nav-links a:hover, .nav-links a.active {
    background: var(--accent-gold);
    color: var(--card-green);
}

.enquire-btn {
    background: var(--btn-orange);
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

.enquire-btn:hover { transform: scale(1.05); background: #e68a00; }

/* =========================================
   3. MULTI-STEP FORM
   ========================================= */
.form-wrapper {
    max-width: 550px;
    margin: 60px auto;
    background: var(--card-green);
    padding: 40px;
    border-radius: 30px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}

.progress-container {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.circle {
    width: 40px; height: 40px;
    border: 2px solid #555;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: bold; color: #888;
    transition: 0.3s;
}

.circle.active { border-color: var(--accent-gold); color: var(--accent-gold); }

.form-step { display: none; }
.form-step.active { display: block; animation: slideUp 0.4s ease; }

@keyframes slideUp {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

input {
    width: 100%;
    padding: 15px;
    margin: 10px 0 20px;
    border: 1px solid #555;
    background: rgba(255,255,255,0.05);
    color: white;
    border-radius: 10px;
}
input:focus { border-color: var(--accent-gold); outline: none; }

.btn-group { display: flex; gap: 10px; margin-top: 10px; }

.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
}

.next-btn { background: var(--accent-gold); color: var(--card-green); }
.prev-btn { background: #444; color: white; }
.submit-btn { background: var(--btn-orange); color: white; }

/* --- Updated Form Elements --- */

.form-label {
    display: block;
    font-size: 0.85rem;
    color: var(--accent-gold);
    margin-bottom: 5px;
    text-align: left;
    font-weight: 600;
}

.form-select {
    width: 100%;
    padding: 15px;
    margin: 0 0 20px;
    border: 1px solid #555;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border-radius: 10px;
    appearance: none; /* Removes default arrow */
    cursor: pointer;
}

/* Style for dropdown options */
.form-select option {
    background-color: var(--card-green);
    color: #fff;
}

.form-select:focus {
    border-color: var(--accent-gold);
    outline: none;
}

/* Ensure placeholder-like behavior for first disabled option */
.form-select:invalid {
    color: #888;
}

/* --- Responsive Fix for Form --- */
@media (max-width: 600px) {
    .form-wrapper {
        padding: 25px;
        margin: 30px 15px;
    }

    .btn-group {
        flex-direction: column;
    }
}

.config-group {
    margin-bottom: 0px; /* Aligns with existing spacing */
    animation: fadeIn 0.3s ease;
}

.form-input {
    width: 100%;
    padding: 15px;
    margin: 0 0 20px;
    border: 1px solid #555;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border-radius: 10px;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* =========================================
   4. PROCESS SECTION
   ========================================= */
.process-section {
    padding: 80px 20px;
}

.process-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 50px;
    margin-top: 60px;
}

.process-card {
    position: relative;
    background-color: #1e7a64;
    width: 260px;
    height: 350px;
    border-radius: 40px;
    padding: 90px 20px 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.process-card p {
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 1.4;
}

.icon-circle {
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px; height: 120px;
    background-color: var(--accent-gold);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    border: 10px solid var(--bg-dark);
}

.icon-circle img { width: 50%; height: auto; }

/* =========================================
   5. CASE STUDIES SECTION (NEW DESIGN)
   ========================================= */
.case-studies-section {
    padding: 80px 20px;
    background-color: var(--bg-dark);
}

.section-header { text-align: center; margin-bottom: 60px; }

.case-title {
    font-family: 'Times New Roman', serif;
    font-size: 3.5rem;
    font-weight: 400;
    color: var(--accent-gold);
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.title-underline {
    width: 240px; height: 2px;
    background-color: var(--accent-gold);
    margin: 0 auto;
}

.case-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.case-card {
    background-color: var(--accent-gold);
    height: 380px;
    border-radius: 0; /* Sharp corners */
    position: relative;
    overflow: hidden;
    padding: 25px;
    box-sizing: border-box;
}

.case-text-content {
    color: var(--bg-dark); /* Dark Green Text */
    font-family: 'Times New Roman', serif;
    position: relative;
    z-index: 2; /* Text sits above image */
}

.case-text-content h3 {
    font-size: 1.5rem;
    line-height: 1.3;
    margin-bottom: 10px;
    font-weight: 700;
    text-align: left; /* Reset text align */
    color: var(--bg-dark);
    padding: 0; /* Reset global padding */
}

.case-text-content p {
    font-size: 1rem;
    line-height: 1.4;
    color: #1a5345; /* Enforce dark green */
}

/* Image Positioning Defaults */
.case-img {
    position: absolute;
    z-index: 1;
}

/* Specific Card Layouts */

/* 1. Edge to Edge (Land) */
.card-land .case-img {
    bottom: 0; left: 0;
    width: 100%; height: auto;
    max-height: 55%; /* Keep roughly half height */
    object-fit: cover;
}

/* 2. Bottom Right Anchor (Office, Yamuna, Janakpuri, Wadala) */
.card-bottom-right .case-img {
    bottom: 0; right: 0;
    width: auto;
    max-width: 65%; /* Restrict width */
    max-height: 60%; /* Restrict height */
    object-fit: contain;
}

/* 3. Center Bottom (Construction/Dadar) */
.card-center .case-img {
    bottom: 0; left: 50%;
    transform: translateX(-50%);
    width: auto;
    max-width: 80%;
    max-height: 60%;
}


/* =========================================
   6. FOOTER
   ========================================= */
footer {
    background: var(--card-green);
    padding: 60px 20px 20px;
    margin-top: 80px;
    border-top: 1px solid rgba(214, 196, 132, 0.2);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    text-align: center;
}

.footer-column h4 {
    color: var(--accent-gold);
    font-size: 1.2rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-column p {
    margin-bottom: 10px;
    color: #ccc;
    font-size: 0.95rem;
}

.social-links { display: flex; flex-direction: column; gap: 10px; }
.social-links a { color: white; text-decoration: none; transition: color 0.3s; }
.social-links a:hover { color: var(--accent-gold); }

.copyright {
    text-align: center;
    margin-top: 60px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #888;
    font-size: 0.8rem;
}

/* =========================================
   7. RESPONSIVE MEDIA QUERIES
   ========================================= */
@media (max-width: 1024px) {
    .case-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
    h1 { font-size: 2.2rem; }
    .navbar { padding: 10px 20px; border-radius: 30px; }
    .nav-links { display: none; }
    .process-card { width: 100%; max-width: 350px; }
}

@media (max-width: 600px) {
    .case-grid { grid-template-columns: 1fr; }
    .case-title { font-size: 2.5rem; }
    .case-card { height: auto; min-height: 380px; }
}

/* =========================================
   SERVICES PAGE STYLES
   ========================================= */

.services-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px 100px;
}

/* --- Top Section (Split) --- */
.services-intro {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    margin-bottom: 80px;
}

.intro-left {
    flex: 1;
}

.intro-right {
    flex: 0 0 350px; /* Fixed width for report image area */
    display: flex;
    justify-content: center;
}

/* Typography */
.main-heading {
    font-family: 'Times New Roman', serif;
    font-size: 3rem;
    color: var(--accent-gold);
    text-align: left;
    margin: 0 0 10px 0;
    line-height: 1.1;
    letter-spacing: 1px;
}

.sub-heading {
    font-family: 'Segoe UI', sans-serif;
    font-size: 0.9rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 30px;
    font-weight: 400;
    opacity: 0.8;
    text-align: left;
    max-width: 100%;
    padding: 0;
}

.intro-desc {
    font-size: 1.1rem;
    color: #eee;
    margin-bottom: 30px;
    line-height: 1.6;
}

/* Checklist Styling */
.check-list {
    list-style: none;
    padding: 0;
}

.check-list li {
    font-size: 1.05rem;
    color: #e0e0e0;
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
}

.check-icon {
    color: var(--accent-gold);
    font-weight: bold;
    margin-right: 15px;
    font-size: 1.2rem;
}

/* Report Image Placeholder */
.report-image-placeholder {
    width: 100%;
    height: 400px;
    background: rgba(214, 196, 132, 0.1); /* Faint gold bg */
    border: 2px dashed var(--accent-gold);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.placeholder-text {
    color: var(--accent-gold);
    font-weight: bold;
    opacity: 0.7;
}

/* If you have a real image, this class ensures it fits */
.report-img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: contain; /* Or cover, depending on image */
}

/* --- Bottom Section (Cards) --- */
.service-cards-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 Columns */
    gap: 20px;
}

.svc-card {
    display: flex;
    flex-direction: column;
    border-radius: 8px;
    overflow: hidden;
    /* Remove background so only image and bar show */
    background: transparent;
}

.svc-img-box {
    width: 100%;
    height: 200px; /* Fixed height for uniformity */
    background-color: #0f4035; /* Dark placeholder bg */
}

.svc-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.svc-label {
    background-color: var(--accent-gold); /* Beige bar */
    color: var(--bg-dark); /* Dark Text */
    font-family: 'Segoe UI', sans-serif;
    font-weight: 700;
    text-transform: capitalize;
    padding: 15px;
    font-size: 1.1rem;
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .services-intro {
        flex-direction: column;
        text-align: center;
    }

    .intro-left, .main-heading, .sub-heading {
        text-align: center;
    }

    .check-list li {
        justify-content: center; /* Center list items on mobile */
        text-align: left;
    }

    .service-cards-container {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on tablet */
    }
}

@media (max-width: 600px) {
    .service-cards-container {
        grid-template-columns: 1fr; /* 1 column on mobile */
    }

    .main-heading { font-size: 2.5rem; }
}


/* --- Hero Layout Fix --- */
.hero-section {
    padding: 60px 0;
    width: 100%;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center; /* Vertical center */
    justify-content: space-between;
    gap: 40px;
    padding: 0 20px;
}

.hero-text {
    flex: 1;
    text-align: left;
}

.hero-text h1 {
    text-align: left; /* Override global center */
    margin: 0 0 20px 0;
    font-size: 4rem;
    line-height: 1.1;
}

.hero-description {
    font-size: 1.15rem;
    color: #eee;
    max-width: 500px;
    line-height: 1.6;
    opacity: 0.9;
}

.form-wrapper {
    flex: 0 0 500px; /* Fixed width for form on desktop */
    margin: 0; /* Remove auto margins */
}

/* --- Responsive Layout --- */
@media (max-width: 950px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
    }
    .hero-text {
        text-align: center;
        margin-bottom: 30px;
    }
    .hero-text h1 {
        text-align: center;
        font-size: 3rem;
    }
    .hero-description {
        margin: 0 auto;
    }
    .form-wrapper {
        flex: 1;
        width: 100%;
        max-width: 550px;
    }
}

/* --- Form Improvements --- */
.config-group { animation: fadeIn 0.4s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: translateY(0); } }

/* --- Process Section Layout --- */
.process-section {
    padding: 100px 0;
    overflow: hidden;
    position: relative;
}

.timeline-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 60px auto 0;
    padding: 0 20px;
}

/* The Animated Dashed Line */
.timeline-line {
    position: absolute;
    top: 50%;
    left: 0;
    width: 0%; /* Animated to 100% via JS */
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--accent-gold), var(--accent-gold) 10px, transparent 10px, transparent 20px);
    opacity: 0.3;
    z-index: 1;
    transition: width 1.5s ease-out;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
    z-index: 2;
}

/* 3D Glassmorphic Cards */
.process-card {
    background: rgba(36, 58, 53, 0.4); /* Semi-transparent Green */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(212, 193, 133, 0.2); /* Faint Gold Border */
    border-radius: 20px;
    padding: 40px 30px;
    position: relative;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    transition: transform 0.4s ease, box-shadow 0.4s ease, opacity 0.8s ease;
    opacity: 0; /* Hidden initially for reveal */
    transform: translateY(30px);
}

.process-card.active {
    opacity: 1;
    transform: translateY(0);
}

.process-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: var(--accent-gold);
}

/* Background Step Text (High-Fashion Look) */
.step-bg-text {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 5rem;
    font-weight: 900;
    color: var(--accent-gold);
    opacity: 0.05; /* Faint architectural look */
    pointer-events: none;
    line-height: 1;
}

.icon-box {
    width: 70px;
    height: 70px;
    background: var(--accent-gold);
    color: var(--bg-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 1.8rem;
    box-shadow: 0 8px 20px rgba(212, 193, 133, 0.3);
}

.step-content h3 {
    color: var(--accent-gold);
    font-size: 1.4rem;
    margin-bottom: 15px;
    text-align: center;
}

.step-content p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* Responsive Fixes */
@media (max-width: 1024px) {
    .process-steps { grid-template-columns: repeat(2, 1fr); gap: 40px; }
    .timeline-line { display: none; } /* Hide line on tablet/mobile grids */
}

@media (max-width: 600px) {
    .process-steps { grid-template-columns: 1fr; }
}

/* --- Power Hub & High-End Glass --- */
.process-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(212, 193, 133, 0.15);
    border-radius: 24px;
    padding: 50px 30px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Step 2 Glow & Highlight */
.highlighted-card {
    border: 1px solid rgba(212, 193, 133, 0.5);
    background: rgba(212, 193, 133, 0.08);
    box-shadow: 0 0 30px rgba(212, 193, 133, 0.15);
    transform: scale(1.05); /* Visually larger as requested */
    z-index: 5;
}

.engine-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-gold);
    color: var(--bg-dark);
    padding: 4px 15px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.network-icon {
    animation: pulse-gold 2s infinite;
}

@keyframes pulse-gold {
    0% { box-shadow: 0 0 0 0 rgba(212, 193, 133, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(212, 193, 133, 0); }
    100% { box-shadow: 0 0 0 0 rgba(212, 193, 133, 0); }
}

/* --- Trust Bar Styles --- */
.trust-bar {
    margin-top: 80px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 100px;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding: 25px 40px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.trust-item {
    text-align: center;
    display: flex;
    flex-direction: column;
}

.trust-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--accent-gold);
    line-height: 1;
}

.trust-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    opacity: 0.7;
    margin-top: 5px;
}

.trust-divider {
    height: 40px;
    width: 1px;
    background: rgba(212, 193, 133, 0.2);
}

/* Responsive adjustments for the highlight */
@media (max-width: 1024px) {
    .highlighted-card { transform: scale(1); }
    .trust-bar { flex-direction: column; border-radius: 20px; gap: 20px; }
    .trust-divider { display: none; }
}
/* --- Process & Network Section --- */
.process-section {
    padding: 100px 0;
    background-color: var(--bg-dark);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.process-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(212, 193, 133, 0.1);
    border-radius: 20px;
    padding: 40px 25px;
    position: relative;
    transition: all 0.4s ease;
    text-align: center;
}

/* UI Tip: Step 02 Highlight & Pulse */
.highlighted-card {
    border: 1px solid var(--accent-gold);
    background: rgba(212, 193, 133, 0.08);
    transform: scale(1.05);
    z-index: 5;
    box-shadow: 0 0 30px rgba(212, 193, 133, 0.15);
}

.engine-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-gold);
    color: var(--bg-dark);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
}

.network-icon {
    animation: pulse-gold 2s infinite;
}

@keyframes pulse-gold {
    0% { box-shadow: 0 0 0 0 rgba(212, 193, 133, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(212, 193, 133, 0); }
    100% { box-shadow: 0 0 0 0 rgba(212, 193, 133, 0); }
}

/* Content Elements */
.icon-box {
    width: 60px; height: 60px;
    background: var(--accent-gold);
    color: var(--bg-dark);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
}

.step-bg-text {
    position: absolute; top: 10px; right: 20px;
    font-size: 4rem; font-weight: 900;
    color: var(--accent-gold); opacity: 0.05;
}

.step-content h3 {
    color: var(--accent-gold); font-size: 1.2rem;
    margin-bottom: 15px; text-align: center;
}

.step-focus {
    display: block; margin-top: 15px;
    font-size: 0.8rem; color: var(--accent-gold);
    font-style: italic; opacity: 0.8;
}

/* --- Trust Bar Styles --- */
.trust-bar {
    margin: 80px auto 0; max-width: 1100px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 100px; padding: 30px;
    display: flex; justify-content: space-evenly; align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.trust-number { font-size: 2rem; font-weight: 800; color: var(--accent-gold); display: block; }
.trust-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px; opacity: 0.7; }
.trust-divider { width: 1px; height: 40px; background: rgba(212, 193, 133, 0.2); }

/* --- Case Studies (Solid Reversion) --- */
.case-card {
    background-color: var(--accent-gold);
    border-radius: 0; /* Sharp corners restored */
    color: var(--bg-dark);
}

/* =========================================
   1. GLOBAL RESET & THEME
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, sans-serif;
}

:root {
    --bg-dark: #1a5345;
    --card-green: #243a35;
    --accent-gold: #d4c185;
    --text-white: #ffffff;
    --btn-orange: #ff9900;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 20px;
}

/* Typography */
h1 { text-align: center; color: var(--accent-gold); font-size: 3rem; margin: 40px 20px 20px; text-transform: uppercase; letter-spacing: 1.5px; }
h3 { text-align: center; max-width: 900px; margin: 0 auto 60px; font-weight: 400; font-size: 1.1rem; opacity: 0.9; }

/* =========================================
   2. NAVBAR (GLASS)
   ========================================= */
.navbar {
    position: sticky; top: 20px; z-index: 1000;
    width: 95%; max-width: 1200px; margin: 0 auto;
    background: var(--card-green);
    backdrop-filter: blur(10px);
    border-radius: 100px; padding: 15px 45px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
    transition: all 0.4s ease;
}

.navbar.scrolled { background: rgba(36, 58, 53, 0.8); padding: 10px 45px; }

.nav-container { display: flex; align-items: center; justify-content: space-between; }
.logo-img { height: 50px; width: auto; }

.nav-links { display: flex; list-style: none; gap: 15px; flex: 2; justify-content: center; }
.nav-links a {
    color: var(--accent-gold); text-decoration: none; font-size: 0.9rem;
    border: 1px solid var(--accent-gold); border-radius: 20px;
    padding: 8px 18px; transition: 0.3s;
}
.nav-links a:hover, .nav-links a.active { background: var(--accent-gold); color: var(--card-green); }

.enquire-btn {
    background: var(--btn-orange); color: white; border: none;
    padding: 12px 28px; border-radius: 50px; font-weight: 700; cursor: pointer;
}

/* =========================================
   3. HERO & FORM (GLASS)
   ========================================= */
.hero-section { padding: 60px 0; width: 100%; }
.hero-container {
    max-width: 1200px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
    gap: 40px; padding: 0 20px;
}

.hero-text h1 { text-align: left; font-size: 4rem; line-height: 1.1; margin-bottom: 20px; }
.hero-description { font-size: 1.15rem; color: #eee; max-width: 500px; opacity: 0.9; }

.form-wrapper {
    flex: 0 0 500px; background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px); padding: 40px; border-radius: 30px;
    border: 1px solid rgba(212, 193, 133, 0.2);
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}

.form-step { display: none; }
.form-step.active { display: block; animation: slideUp 0.4s ease; }

input, .form-select {
    width: 100%; padding: 15px; margin-bottom: 20px;
    background: rgba(255,255,255,0.05); color: white;
    border: 1px solid #555; border-radius: 10px;
}

/* =========================================
   4. THE NETWORK ADVANTAGE (PROCESS)
   ========================================= */
.process-section { padding: 100px 0; position: relative; }
.process-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; max-width: 1200px; margin: 0 auto; padding: 0 20px; }

.process-card {
    background: rgba(255, 255, 255, 0.03); backdrop-filter: blur(15px);
    border: 1px solid rgba(212, 193, 133, 0.15); border-radius: 24px;
    padding: 50px 30px; text-align: center; position: relative;
    transition: all 0.5s ease;
}

/* Step Number - Top Left Corner */
.step-bg-text {
    position: absolute;
    top: 15px;
    left: 20px; /* Moved from right to left */
    font-size: 4rem;
    font-weight: 900;
    color: var(--accent-gold);
    opacity: 0.08; /* Slightly more visible for the architectural look */
    pointer-events: none;
    line-height: 1;
}

/* UI Tip: Step 02 Highlight & Pulse */
.highlighted-card {
    border: 1px solid var(--accent-gold);
    background: rgba(212, 193, 133, 0.08);
    transform: scale(1.05);
    z-index: 5;
}

.engine-badge {
    position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
    background: var(--accent-gold); color: var(--bg-dark);
    padding: 4px 12px; border-radius: 20px; font-size: 0.7rem; font-weight: 800; text-transform: uppercase;
}

.network-icon { animation: pulse-gold 2s infinite; }

@keyframes pulse-gold {
    0% { box-shadow: 0 0 0 0 rgba(212, 193, 133, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(212, 193, 133, 0); }
    100% { box-shadow: 0 0 0 0 rgba(212, 193, 133, 0); }
}

.icon-box {
    width: 60px; height: 60px; background: var(--accent-gold); color: var(--bg-dark);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px; font-size: 1.5rem;
}

.step-content h3 { color: var(--accent-gold); font-size: 1.25rem; margin-bottom: 10px; text-align: center; }
.step-focus { display: block; margin-top: 15px; font-size: 0.8rem; color: var(--accent-gold); font-style: italic; opacity: 0.8; }

/* =========================================
   5. CASE STUDIES (SOLID & SHARP - NO GLASS)
   ========================================= */
.case-studies-section { padding: 80px 20px; background-color: var(--bg-dark); }
.case-title { font-family: 'Times New Roman', serif; font-size: 3.5rem; color: var(--accent-gold); text-align: center; margin-bottom: 10px; }
.title-underline { width: 240px; height: 2px; background-color: var(--accent-gold); margin: 0 auto 60px; }

.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; max-width: 1200px; margin: 0 auto; }

.case-card {
    background-color: var(--accent-gold); /* Solid Beige */
    height: 380px; border-radius: 0; /* Sharp Corners */
    position: relative; overflow: hidden; padding: 25px;
}

.case-text-content { color: var(--bg-dark); font-family: 'Times New Roman', serif; position: relative; z-index: 2; }
.case-text-content h3 { text-align: left; font-size: 1.5rem; font-weight: 700; color: var(--bg-dark); margin-bottom: 10px; }
.case-text-content p { font-size: 1rem; color: #1a5345; line-height: 1.4; }

.case-img { position: absolute; z-index: 1; }
.card-land .case-img { bottom: 0; left: 0; width: 100%; height: auto; max-height: 55%; object-fit: cover; }
.card-bottom-right .case-img { bottom: 0; right: 0; width: auto; max-width: 65%; max-height: 60%; object-fit: contain; }

/* =========================================
   6. TRUST BAR & FOOTER
   ========================================= */
.trust-bar {
    display: flex; justify-content: space-evenly; align-items: center;
    background: rgba(0, 0, 0, 0.2); border-radius: 100px;
    padding: 30px; margin: 80px auto; max-width: 1100px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.trust-number { font-size: 2rem; font-weight: 800; color: var(--accent-gold); }
.trust-label { font-size: 0.75rem; text-transform: uppercase; opacity: 0.7; }
.trust-divider { width: 1px; height: 40px; background: rgba(212, 193, 133, 0.2); }

footer { background: var(--card-green); padding: 60px 20px; border-top: 1px solid rgba(214, 196, 132, 0.2); margin-top: 80px; }
.footer-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; max-width: 1200px; margin: 0 auto; text-align: center; }

/* =========================================
   7. RESPONSIVE
   ========================================= */
@media (max-width: 950px) {
    .hero-container { flex-direction: column; text-align: center; }
    .hero-text h1 { text-align: center; font-size: 3rem; }
    .form-wrapper { width: 100%; flex: none; }
    .case-grid { grid-template-columns: repeat(2, 1fr); }
    .trust-bar { flex-direction: column; border-radius: 20px; gap: 20px; }
    .trust-divider { display: none; }
}

@keyframes slideUp { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; transform: translateY(0); } }

/* =========================================
   1. PROCESS HEADER (Centered, Gold, Underlined)
   ========================================= */
.process-section {
    padding: 100px 20px;
    text-align: center; /* Centers the whole header area */
}

.process-section .main-heading {
    color: var(--accent-gold);
    display: inline-block; /* Required for the underline to fit the text width */
    text-decoration: underline;
    text-decoration-color: var(--accent-gold);
    text-underline-offset: 12px;
    text-decoration-thickness: 2px;
    font-size: 3.5rem;
    margin-bottom: 20px;
}

/* =========================================
   2. PROCESS TILES (Numbers in Top-Left)
   ========================================= */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 60px auto 0;
}

.process-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(212, 193, 133, 0.15);
    border-radius: 20px;
    padding: 70px 30px 40px; /* Increased top padding to clear the number */
    position: relative; /* Essential for absolute positioning of numbers */
    transition: 0.4s ease;
    text-align: left; /* Keeps content inside the tile left-aligned */
}

.step-bg-text {
    position: absolute;
    top: 15px;     /* Distance from top */
    left: 20px;    /* Distance from left */
    font-size: 3rem;
    font-weight: 900;
    color: var(--accent-gold);
    opacity: 0.2;  /* Watermark style */
    line-height: 1;
}

/* =========================================
   3. FORM PROGRESS ALIGNMENT (Centered)
   ========================================= */
.progress-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 220px;
    margin: 0 auto 40px;
    position: relative;
}

/* =========================================
   4. CASE STUDIES (6 BLOCKS)
   ========================================= */
.case-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3x2 grid for 6 blocks */
    gap: 25px;
    max-width: 1200px;
    margin: 50px auto;
}

.case-card {
    background-color: var(--accent-gold);
    height: 400px;
    border-radius: 0; /* Sharp corners */
    position: relative;
    overflow: hidden;
    padding: 30px;
    transition: 0.4s ease;
}

.case-card:hover {
    transform: translateY(-10px);
}

/* --- HERO SECTION LAYOUT FIX --- */
.hero-section {
    padding: 80px 0 60px; /* Reduced top padding to pull everything up */
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start; /* CRITICAL: Forces both text and form to start at the top */
    justify-content: space-between;
    gap: 50px;
    padding: 0 20px;
}

.hero-text {
    flex: 1;
    margin-top: 0; /* Ensures text starts at the absolute top */
    padding-top: 5px; /* Tiny adjustment to align H1 baseline with Form top edge */
}

.hero-text h1 {
    font-size: 3.8rem;
    color: var(--accent-gold);
    line-height: 1.1;
    margin-top: 0; /* Remove any default browser margins */
    margin-bottom: 25px;
    text-transform: uppercase;
}

/* --- FORM WRAPPER FIX --- */
.form-wrapper {
    flex: 0 0 450px;
    background: var(--card-green);
    padding: 40px;
    border-radius: 30px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    margin-top: 0; /* Ensures form starts at the absolute top */
}

/* Ensure the progress circles are also level */
.progress-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 220px;
    margin: 0 auto 40px; /* Center progress bar within the form */
    position: relative;
}