/* ==================================================
   SAHYADRI CONSTRUCTIONS - MODERN ANIMATED THEME
   ================================================== */

:root {
    /* --- PALETTE --- */
    --font-main: 'Inter', sans-serif;
    --bg-page: #ffffff;
    --text-primary: #0f172a; /* Deep Slate */
    --text-secondary: #64748b; /* Cool Grey */

    /* Brand Colors */
    --brand-navy: #1e293b; /* Dark Navy */
    --brand-blue: #2563eb; /* Primary Action Blue */
    --brand-blue-hover: #1d4ed8;
    --brand-accent: #f59e0b; /* Amber/Gold */

    --light-gray: #f8fafc;

    /* UI Variables */
    --nav-height: 80px;
    --border-radius: 12px;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);

    /* Transitions */
    --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* --- RESET & BASICS --- */
html {
    scroll-behavior: smooth;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-main);
    color: var(--text-primary);
    background-color: var(--bg-page);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.2s;
}

ul {
    list-style: none;
}

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

/* =======================
   1. HEADER (Glassmorphism)
   ======================= */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    height: var(--nav-height);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.header .container {
    max-width: 96%;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.logo img {
    height: 80px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 24px;
    align-items: center;
    margin: 0 15px;
}

.nav-links a {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
}

.nav-links a i {
    font-size: 0.85rem;
    color: #94a3b8;
    transition: 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--brand-blue);
}

.nav-links a:hover i,
.nav-links a.active i {
    color: var(--brand-blue);
}
/* When the dropdown is open on mobile, color the toggle link blue */
.dropdown.active > .dropdown-toggle,
.dropdown.active > .dropdown-toggle i {
    color: var(--brand-blue);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--brand-blue);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* =======================
   DROPDOWN MENU STYLES
   ======================= */
.dropdown {
    position: relative; /* This is the anchor for the absolute menu */
}

.dropdown-toggle {
    cursor: pointer; /* Change cursor as it doesn't navigate */
}

.dropdown-menu {
    position: absolute; /* Takes the menu out of the document flow */
    top: 100%; /* Positions it right below the toggle */
    left: 50%; /* Center align the dropdown */
    transform: translateX(-50%) translateY(10px); /* Adjust position and prep for animation */
    
    /* Visibility & Animation */
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s var(--ease-out);

    /* Styling */
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    padding: 10px;
    min-width: 240px; /* Set a minimum width */
    z-index: 1001; /* Ensure it's above other elements */
    border: 1px solid rgba(0,0,0,0.07);
}

/* Show the menu on hover of the parent .dropdown -- ONLY on desktop */
@media (min-width: 1201px) {
    .dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
    }
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 10px 15px;
    border-radius: 8px;
    white-space: nowrap;
}

.dropdown-menu a:hover {
    background-color: var(--light-gray); /* Add a hover effect */
    color: var(--brand-blue); /* Match brand color on hover */
}

/* Remove the underline from dropdown links */
.dropdown-menu a::after {
    display: none;
}


.header-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-shrink: 0;
}

.btn {
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s var(--ease-out);
    white-space: nowrap;
    text-decoration: none;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.8rem;
}

.btn-secondary {
    background: white;
    border: 1px solid #e2e8f0;
    color: var(--text-primary);
}

.btn-secondary:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: var(--brand-blue);
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--brand-blue);
    color: white;
    border: 1px solid transparent;
    box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.2);
}

.btn-primary:hover {
    background: var(--brand-blue-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 10px -1px rgba(37, 99, 235, 0.3);
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-primary);
}

/* =======================
   2. HERO SECTION (Animated)
   ======================= */
#hero {
    padding-top: calc(var(--nav-height) + 100px);
    padding-bottom: 140px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.8)),
        url('images/hero-background.jpg');
    background-size: cover;
    background-position: center;
    z-index: -1;
    animation: heroZoom 20s infinite alternate ease-in-out;
}

@keyframes heroZoom {
    from { transform: scale(1); }
    to { transform: scale(1.1); }
}

.hero-grid {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 24px;
    color: white;
    letter-spacing: -1px;
}

.hero-text h1 span {
    background: linear-gradient(90deg, #60a5fa, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
}

/* =======================
   3. GENERAL LAYOUT
   ======================= */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

section {
    padding: 100px 0;
    scroll-margin-top: 80px;
}

.section-title {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px auto;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--brand-navy);
    letter-spacing: -0.5px;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--brand-accent);
    margin: 15px auto 0;
    border-radius: 2px;
}

.section-title p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* =======================
   4. ABOUT US
   ======================= */
#about {
    background-color: var(--light-gray);
}

.about-content-split {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
    margin-bottom: 80px;
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--brand-navy);
    line-height: 1.2;
}

.about-text p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.about-image-wrapper {
    flex: 1;
    position: relative;
}

.about-image-wrapper img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.about-image-wrapper:hover img {
    transform: translateY(-5px);
}

.md-profile {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
    padding: 24px;
    background: white;
    border-radius: 16px;
    border: 1px solid #f1f5f9;
    border-left: 4px solid var(--brand-accent);
    box-shadow: var(--shadow-md);
}

.md-profile img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
}

.md-details h4 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--brand-navy);
    font-weight: 700;
}

.md-role {
    display: block;
    font-size: 0.8rem;
    color: var(--brand-blue);
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.md-quote {
    font-style: italic;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
}

/* =======================
   PROCESS
   ======================= */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    position: relative;
}

.process-step {
    text-align: center;
    background: white;
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid transparent;
    position: relative;
    z-index: 1;
}

.process-step:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(37, 99, 235, 0.1);
}

.process-icon-wrapper {
    width: 70px;
    height: 70px;
    margin: 0 auto 25px auto;
    background-color: #eff6ff;
    color: var(--brand-blue);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    transition: 0.3s;
}

.process-step:hover .process-icon-wrapper {
    background-color: var(--brand-blue);
    color: white;
}

.process-step h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
    color: var(--brand-navy);
}

.process-step p {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* =======================
   5. WHY CHOOSE US
   ======================= */

   #why-choose-us {
    background-color: var(--light-gray);
    }
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.why-card {
    background: white;
    padding: 35px;
    border-radius: 16px;
    border: 1px solid #f1f5f9;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease;
}

.why-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: #e2e8f0;
}

.why-icon {
    font-size: 2.5rem;
    color: var(--brand-blue);
    margin-bottom: 20px;
}

.why-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--brand-navy);
}

.why-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* =======================
   6. SERVICES
   ======================= */
#services {
    background: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: #ffffff;
    padding: 40px;
    text-align: center;
    border-radius: 16px;
    border: 1px solid #f1f5f9;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--brand-blue);
    box-shadow: var(--shadow-lg);
}

.service-card .icon {
    font-size: 3rem;
    color: var(--brand-accent);
    margin-bottom: 20px;
    transition: 0.3s;
}

.service-card:hover .icon {
    transform: scale(1.1);
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
    color: var(--brand-navy);
}

/* =======================
   7. PROJECTS & FILTERS
   ======================= */
#projects {
    background-color: var(--light-gray);
}

.project-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 10px 24px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 30px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.2s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--brand-blue);
    color: white;
    border-color: var(--brand-blue);
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.2);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.project-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: white;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    width: 420px;
}

.project-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: 0.5s ease;
}

.project-item:hover img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    padding: 24px;
    transform: translateY(100%);
    transition: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border-top: 1px solid #eee;
}

.project-item:hover .project-overlay {
    transform: translateY(0);
}

.project-overlay h3 {
    margin-bottom: 8px;
    font-size: 1.2rem;
    color: var(--brand-navy);
    font-weight: 700;
}

/* =======================
   CLIENT LOGOS
   ======================= */
#client-logos {
    background: #0f172a;
    color: white;
    padding: 60px 0;
}

.logos-heading p {
    text-align: center;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

.logos-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 40px;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.client-logo {
    height: 50px;
    width: auto;
    opacity: 0.7;
    transition: all 0.3s ease;
    filter: brightness(0) invert(1);
}

.client-logo:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* =======================
   INSIGHTS
   ======================= */
#insights {
    background: var(--light-gray);
}

.insights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    width: 100%;
}

.insight-card {
    background: white;
    border-radius: 14px;
    padding: 30px;
    border: 1px solid #e2e8f0;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 15px;
    transition: transform 0.2s ease;
}

.insight-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.insight-tag {
    display: inline-block;
    background: #eff6ff;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--brand-blue);
    width: fit-content;
}

.insight-card h3 {
    font-size: 1.25rem;
    color: var(--brand-navy);
    line-height: 1.4;
}

.insight-excerpt {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.insight-card a {
    color: var(--brand-blue);
    font-weight: 600;
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.loading-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px;
    font-size: 1.1rem;
    color: var(--text-secondary);
    background: white;
    border-radius: 12px;
    border: 1px dashed #e2e8f0;
}

/* =======================
   BROCHURE CTA
   ======================= */
#brochure {
    background: #0f172a;
    color: white;
}

.brochure-card {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
    align-items: center;
    padding: 40px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.25), rgba(15, 23, 42, 0.9));
}

.brochure-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* =======================
   TESTIMONIALS
   ======================= */
#testimonials {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at top left, rgba(250, 204, 21, 0.18), transparent 28%),
        radial-gradient(circle at bottom right, rgba(59, 130, 246, 0.18), transparent 32%),
        linear-gradient(135deg, #0f172a 0%, #16243d 52%, #1d3557 100%);
    color: white;
    padding-bottom: 120px;
}

#testimonials::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='72' height='72' viewBox='0 0 72 72' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.045'%3E%3Cpath d='M38 36v-4h-4v4h-4v4h4v4h4v-4h4v-4h-4zM8 8V4H4v4H0v4h4v4h4v-4h4V8H8zm56 0V4h-4v4h-4v4h4v4h4v-4h4V8h-4zM8 64v-4H4v4H0v4h4v4h4v-4h4v-4H8zm56 0v-4h-4v4h-4v4h4v4h4v-4h4v-4h-4z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.9;
    pointer-events: none;
}

.testimonials-shell {
    position: relative;
    display: grid;
    grid-template-columns: minmax(280px, 380px) minmax(0, 1fr);
    gap: 34px;
    align-items: start;
}

.testimonials-intro,
.testimonials-stage {
    position: relative;
    z-index: 1;
}

.testimonials-intro {
    display: grid;
    gap: 24px;
    padding: 34px;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255,255,255,0.1), rgba(255,255,255,0.04));
    border: 1px solid rgba(255,255,255,0.12);
    backdrop-filter: blur(10px);
    box-shadow: 0 28px 70px rgba(3, 7, 18, 0.22);
}

.testimonials-title {
    text-align: left;
    margin-bottom: 0;
}

.testimonials-title::after {
    margin-left: 0;
    background: linear-gradient(90deg, #f8fafc, rgba(248, 250, 252, 0.25));
}

.testimonials-eyebrow {
    display: inline-flex;
    align-items: center;
    margin-bottom: 14px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,0.14);
    color: #dbeafe;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

#testimonials .section-title h2 {
    color: white;
}

#testimonials .section-title p {
    color: #c7d2fe;
    max-width: 100%;
}

.testimonials-highlights {
    display: grid;
    gap: 14px;
}

.testimonial-highlight-card {
    padding: 16px 18px;
    border-radius: 18px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.1);
}

.testimonial-highlight-card strong {
    display: block;
    margin-bottom: 6px;
    font-size: 0.95rem;
    color: #f8fafc;
}

.testimonial-highlight-card span {
    color: #cbd5e1;
    font-size: 0.95rem;
    line-height: 1.6;
}

.testimonial-swiper {
    width: 100%;
    padding: 12px 6px 64px;
    overflow: hidden;
}

.testimonial-swiper .swiper-wrapper {
    align-items: stretch;
}

.testimonial-swiper .swiper-slide {
    height: auto;
    display: flex;
}

.testimonial-card {
    height: 100%;
    display: grid;
    gap: 22px;
    min-height: 340px;
    padding: 30px;
    border-radius: 28px;
    text-align: left;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.12), rgba(255,255,255,0.06)),
        rgba(15, 23, 42, 0.48);
    border: 1px solid rgba(255,255,255,0.12);
    backdrop-filter: blur(12px);
    box-shadow: 0 22px 55px rgba(2, 6, 23, 0.24);
}

.testimonial-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.testimonial-service-pill {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(250, 204, 21, 0.14);
    color: #fde68a;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.testimonial-stars {
    display: inline-flex;
    gap: 4px;
    color: #fbbf24;
    font-size: 0.85rem;
}

.testimonial-card blockquote {
    position: relative;
    margin: 0;
    padding-top: 18px;
    font-size: 1.05rem;
    font-style: normal;
    color: #e2e8f0;
    line-height: 1.85;
}

.testimonial-card blockquote::before {
    content: "\201C";
    position: absolute;
    top: -16px;
    left: 0;
    font-family: Georgia, serif;
    font-size: 4.5rem;
    line-height: 1;
    color: rgba(255,255,255,0.14);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: auto;
}

.testimonial-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #facc15, #fb7185);
    color: #0f172a;
    font-size: 1rem;
    font-weight: 800;
    box-shadow: 0 10px 24px rgba(248, 113, 113, 0.22);
}

.testimonial-author p {
    margin: 0;
    font-weight: 700;
    font-size: 1.02rem;
    color: white;
}

.testimonial-author span {
    display: block;
    font-weight: 400;
    font-size: 0.92rem;
    color: #a5b4fc;
    margin-top: 4px;
}

.testimonial-controls {
    position: absolute;
    right: 8px;
    bottom: 6px;
    display: flex;
    gap: 12px;
    z-index: 3;
}

.testimonials-intro.reveal,
.testimonials-stage.reveal {
    opacity: 1;
    transform: none;
}

.swiper-button-next,
.swiper-button-prev {
    position: static;
    width: 48px;
    height: 48px;
    margin: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.12);
    color: #f8fafc;
    transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    transform: translateY(-2px);
    background: rgba(255,255,255,0.16);
    border-color: rgba(255,255,255,0.2);
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 1rem;
    font-weight: 700;
}

@media (max-width: 1180px) {
    .testimonials-shell {
        grid-template-columns: 1fr;
    }

    .testimonials-intro {
        padding: 30px;
    }
}

/* =======================
   CONTACT
   ======================= */
#contact {
    background: rgb(211, 211, 211);
}

.contact-content {
    display: flex;
    gap: 40px;
    align-items: stretch;
}

.contact-card {
    background: #f8fafc;
    padding: 50px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    flex: 1;
    box-shadow: var(--shadow-sm);
}

.contact-info h3,
.contact-form h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--brand-navy);
}

.contact-info li {
    display: flex;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid #e2e8f0;
    color: var(--text-secondary);
}

.contact-info li i {
    color: var(--brand-accent);
    font-size: 1.4rem;
    margin-right: 20px;
    background: #fff7ed;
    padding: 10px;
    border-radius: 8px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 14px 16px;
    background-color: white;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    margin-bottom: 16px;
    font-family: var(--font-main);
    font-size: 0.95rem;
    transition: 0.2s;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--brand-blue);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.contact-map {
    margin-top: 40px;
    background: white;
    padding: 10px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: var(--shadow-md);
}

.contact-map iframe {
    width: 100%;
    height: 400px;
    border-radius: 12px;
    border: 0;
}

/* =======================
   FOOTER
   ======================= */
.footer {
    background-color: #0b1120;
    color: #94a3b8;
    padding: 60px 20px 40px;
    font-size: 0.95rem;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    color: white;
    font-weight: 700;
    font-size: 1.4rem;
    text-decoration: none;
}

.footer-logo img {
    height: 100px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    border-radius: 15px;
}

.footer-socials {
    display: flex;
    gap: 20px;
}

.footer-socials a {
    color: #94a3b8;
    font-size: 1.3rem;
    transition: 0.3s;
    background: rgba(255, 255, 255, 0.05);
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
}

.footer-socials a:hover {
    background: var(--brand-blue);
    color: white;
    transform: translateY(-3px);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 50px;
}

.footer-col h4 {
    color: white;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col li {
    margin-bottom: 14px;
}

.footer-col a {
    color: #cbd5e1;
    transition: 0.2s;
}

.footer-col a:hover {
    color: var(--brand-blue);
    padding-left: 5px;
}

.footer-contact-item {
    display: flex;
    gap: 12px;
    margin-bottom: 18px;
    color: #cbd5e1;
}

.footer-contact-item i {
    color: var(--brand-blue);
    margin-top: 4px;
}

/* =======================
   ANIMATIONS & RESPONSIVE
   ======================= */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s var(--ease-out);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-100 { transition-delay: 0.1s; }
.reveal-delay-200 { transition-delay: 0.2s; }
.reveal-delay-300 { transition-delay: 0.3s; }

/* =======================
   MOBILE RESPONSIVE
   ======================= */
@media (max-width: 1200px) {
    .nav-links, .header-actions { display: none; }
    .mobile-toggle { display: block; }
    
    /* === NEW, REFINED MOBILE NAVIGATION STYLES === */
.nav-links.active {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Key change for left-alignment */
    position: fixed;
    top: var(--nav-height);
    left: 100px;
    width: 75%;
    height: calc(68vh - var(--nav-height));
    background: rgba(255, 247, 247, 0.936);
    backdrop-filter: blur(1px);
    padding: 20px 30px; /* More horizontal padding */
    border-top: 1px solid #f1f5f9;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    border-radius: 20px;
    gap: 0; /* Remove gap, use padding/borders instead */
    overflow-y: auto; /* Allow scrolling if menu is long */
}

/* Style for all top-level menu items */
.nav-links.active > a, 
.nav-links.active .dropdown-toggle {
    width: 100%;
    justify-content: flex-start; /* Left-align content within the link */
    padding: 16px 0;
    border-bottom: 1px solid #f1f5f9;
    font-size: 1rem; /* Slightly larger font */
}

/* Remove the desktop underline effect on mobile */
.nav-links.active a::after {
    display: none !important;
}

/* Style for the dropdown container */
.dropdown {
    width: 100%;
    display: flex;
    flex-direction: column;
}

/* Style for the dropdown trigger (e.g., "About") */
.dropdown-toggle {
    display: flex;
    justify-content: space-between; /* Pushes chevron to the right */
    align-items: center;
    width: 100%;
}

.dropdown-toggle span {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Chevron animation */
.dropdown .fa-chevron-down {
    transition: transform 0.3s ease;
}

.dropdown.active .fa-chevron-down {
    transform: rotate(180deg);
}

/* The sub-menu itself (hidden by default) */
.dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    background-color: transparent;
    min-width: auto;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    padding: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: all 0.3s ease-out;
}

/* When the dropdown is active, expand the sub-menu */
.dropdown.active .dropdown-menu {
    max-height: 500px;
    padding-top: 10px;
    padding-bottom: 10px;
}

/* Style for the links inside the dropdown */
.dropdown-menu a {
    padding: 10px 0 10px 25px; /* Indent the sub-menu links */
    width: 100%;
    font-size: 0.9rem;
    color: var(--text-secondary);
    border-radius: 6px;
}

.dropdown-menu a:hover {
    background-color: var(--light-gray);
    color: var(--brand-blue);
}
    
    .about-content-split { flex-direction: column-reverse; gap: 40px; }
    .contact-content { flex-direction: column; }
    .hero-grid { text-align: center; }
    .hero-text h1 { font-size: 2.8rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .footer-top { flex-direction: column; align-items: flex-start; gap: 20px; }
}

/* Floating Buttons */
.float-btn {
    position: fixed;
    right: 20px;
    z-index: 999;
    transition: 0.3s;
}
.float-btn:hover { transform: scale(1.1); }
.float-btn img { width: 55px; border-radius: 50%; box-shadow: var(--shadow-lg); }
.whatsapp-float-btn { bottom: 20px; }
.call-float-btn { bottom: 85px; }

.back-to-top-btn {
    position: fixed;
    bottom: 20px;
    right: 85px;
    width: 45px;
    height: 45px;
    background: var(--brand-navy);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    z-index: 990;
    box-shadow: var(--shadow-md);
}
.back-to-top-btn.visible { opacity: 1; visibility: visible; transform: translateY(0); }

/* Career & Job Card Fix */
.job-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: var(--shadow-sm);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}
.job-card:hover { border-color: var(--brand-blue); box-shadow: var(--shadow-md); }

@media (max-width: 768px) {
    #testimonials {
        padding-bottom: 88px;
    }
    .testimonials-shell {
        grid-template-columns: 1fr;
        gap: 22px;
    }
    .testimonial-swiper {
        padding: 0;
        overflow: visible;
    }
    .testimonial-swiper .swiper-wrapper {
        display: grid;
        gap: 18px;
        transform: none !important;
    }
    .testimonial-swiper .swiper-slide {
        width: 100% !important;
        margin-right: 0 !important;
    }
    .testimonials-intro {
        padding: 24px;
    }
    .testimonial-card {
        min-height: auto;
        padding: 24px;
        border-radius: 22px;
    }
    .testimonial-card-top {
        flex-direction: column;
        align-items: flex-start;
    }
    .testimonial-stars {
        flex-wrap: wrap;
    }
    .testimonial-author {
        align-items: flex-start;
    }
    .testimonial-avatar {
        width: 46px;
        height: 46px;
    }
    .testimonial-controls {
        display: none;
    }
    .job-card { flex-direction: column; align-items: flex-start; gap: 20px; }
    .job-card .btn { width: 100%; }
    .project-info-grid { grid-template-columns: 1fr; }
    .project-details-card { order: -1; }

    .logo img {
        height: 52px;
    }
}


/* ==================================================
   SERVICES PAGE SPECIFIC STYLES
   ================================================== */

/* --- 1. Hero Section --- */
.services-hero {
    background: linear-gradient(135deg, var(--brand-navy) 0%, var(--brand-blue) 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
}

.services-hero h1 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.services-hero p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.85);
}


/* --- 2. Main Service Detail Section --- */
.services-detail {
    background-color: #fff; /* White background for this section */
}

/* The main container for each service (image + content) */
.service-detail-card {
    background: white;
    border-radius: 16px;
    margin-bottom: 40px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.07);
    display: grid;
    grid-template-columns: 350px 1fr; /* Fixed width for image, flexible for content */
    gap: 50px;
    align-items: center;
    padding: 25px;
    overflow: hidden; /* Ensures rounded corners on children */
    border: 1px solid #f1f5f9;
}

/* Styling for the service image */
.service-detail-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.4s ease, filter 0.4s ease;
}

.service-detail-card:hover .service-detail-image {
    transform: scale(1.05);
    filter: brightness(1.02);
}

/* Right-side content area */
.service-detail-content {
    padding: 15px 0; /* Vertical padding */
}

/* Circular icon above the title */
.service-detail-icon {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--brand-blue), #3b82f6);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.2);
}

/* Service Title (e.g., "Residential Construction") */
.service-detail-content h2 {
    font-size: 2rem;
    color: var(--brand-navy);
    margin-bottom: 10px;
}

/* Introductory paragraph for each service */
.service-intro {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 25px;
}

/* "Key Offerings" Subtitle */
.service-detail-content h3 {
    margin-top: 25px;
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: var(--brand-navy);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid var(--brand-accent);
    padding-bottom: 5px;
    display: inline-block;
}

/* The two-column list of features */
.service-features {
    list-style: none;
    padding-left: 0;
    display: grid;
    grid-template-columns: 1fr 1fr; /* Two columns for features */
    gap: 15px 25px; /* Row gap and column gap */
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.service-features i {
    color: var(--brand-blue);
    font-size: 1rem;
}


/* --- 3. Final Call-to-Action Section --- */
.services-cta {
    background: linear-gradient(135deg, #0f172a 0%, var(--brand-navy) 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}


/* --- 4. Responsive Adjustments for Services Page --- */
@media (max-width: 992px) {
    /* Stack image on top of content for tablets */
    .service-detail-card {
        grid-template-columns: 1fr; 
        gap: 30px;
        padding: 25px;
    }

    .service-detail-content {
        padding: 0;
    }
}

@media (max-width: 768px) {
    /* Make features a single column list on mobile */
    .service-features {
        grid-template-columns: 1fr; 
    }

    .services-hero h1 {
        font-size: 2.2rem;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .service-detail-content h2 {
        font-size: 1.8rem;
    }
}

/* FAQ */
.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    transition: background 0.3s ease;
}
.faq-question:hover, .faq-item.active .faq-question { background-color: #f1f5f9; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out; }
.faq-item.active .faq-answer { max-height: 300px; }
.faq-answer p { padding: 0 20px 20px; color: var(--text-secondary); margin: 0; }

.faq-question .fa-plus {
    transition: transform 0.3s ease;
}
.faq-item.active .faq-question .fa-plus {
    transform: rotate(45deg);
}


/* =======================
   MOBILE BUTTON FIX
   ======================= */

.mobile-contact-btn {
    display: none;
}

@media (max-width: 1200px) {
    .mobile-contact-btn {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 6px 12px;
        font-size: 0.8rem;
        height: 34px;
        margin-left: auto;
        margin-right: 12px;
        border-radius: 50px;
    }
}

/* =======================
   MODAL & POP-UP STYLES
   ======================= */
.modal-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: white;
    border-radius: 12px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
    transition: color 0.2s;
}

.modal-close:hover {
    color: #333;
}

#brochure-form input {
    width: 100%;
    padding: 14px 16px;
    margin-bottom: 16px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-family: var(--font-main);
    font-size: 0.95rem;
    color: var(--text-primary);
    background-color: #f8fafc;
    transition: all 0.2s ease;
}

#brochure-form input:focus {
    outline: none;
    background-color: #ffffff;
    border-color: var(--brand-blue);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

#brochure-close {
    top: 15px;
    right: 20px;
    font-size: 32px;
    color: #94a3b8;
    z-index: 10;
}

#brochure-close:hover {
    color: #ef4444;
}

/* MODAL FORM GRID LAYOUT */
.form-row {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.form-row select {
    flex: 1;
    margin-bottom: 0;
}

#modal-form .modal-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 50px;
}

#modal-form .modal-form-grid .full-span {
    grid-column: 1 / -1;
}

#modal-form input,
#modal-form select,
#modal-form textarea {
    width: 100%;
    padding: 14px 16px;
    margin-bottom: 16px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-family: var(--font-main);
    font-size: 0.95rem;
    background-color: #f8fafc;
    transition: all 0.2s ease;
}

#modal-form input:focus,
#modal-form select:focus,
#modal-form textarea:focus {
    outline: none;
    background-color: #ffffff;
    border-color: var(--brand-blue);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

#modal-form #quote-fields textarea {
    margin-bottom: 0;
}


@media (max-width: 500px) {
    #modal-form .modal-form-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}
/* --- PROJECT PAGE VIDEO PLAYER --- */
.project-video-container {
    margin-bottom: 40px;
    background-color: #000;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.video-responsive-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
}

.video-responsive-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.blog-body {
    display: grid;
    gap: 20px;
}

.blog-page-main {
    padding-top: 140px;
    padding-bottom: 80px;
    background:
        radial-gradient(circle at top left, rgba(37, 99, 235, 0.08), transparent 28%),
        linear-gradient(180deg, #f8fbff 0%, #ffffff 220px);
}

.blog-page-shell {
    position: relative;
}

.insight-article {
    max-width: 920px;
    margin: 0 auto;
    padding: 34px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(148, 163, 184, 0.18);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
}

.insight-article-header {
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e2e8f0;
}

.blog-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    color: var(--brand-blue);
    font-size: 0.95rem;
    font-weight: 600;
}

.blog-back-link:hover {
    color: var(--brand-blue-hover);
}

.insight-article-tag {
    display: inline-flex;
    align-items: center;
    margin-bottom: 14px;
    padding: 7px 12px;
    border-radius: 999px;
    background: #e8f0ff;
    color: #2151bf;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.insight-article h1 {
    font-size: clamp(2.3rem, 4vw, 3.6rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
    margin-bottom: 14px;
    color: #10213b;
}

.insight-article-meta {
    margin: 0;
    color: #64748b;
    font-size: 1rem;
}

.blog-body img {
    width: 100%;
    height: auto;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.blog-body p,
.blog-body li,
.blog-body blockquote {
    font-size: 1.02rem;
    color: #334155;
}

.blog-body h2,
.blog-body h3,
.blog-body h4 {
    color: #10213b;
    margin-top: 18px;
    margin-bottom: 8px;
    line-height: 1.25;
}

.blog-body a {
    color: var(--brand-blue);
    text-decoration: underline;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 3px;
}

.blog-body ul,
.blog-body ol {
    padding-left: 22px;
    display: grid;
    gap: 8px;
}

.blog-body blockquote {
    margin: 8px 0;
    padding: 18px 22px;
    border-left: 4px solid var(--brand-blue);
    background: #f8fbff;
    border-radius: 0 14px 14px 0;
    font-style: italic;
}

.blog-media,
.blog-body figure {
    margin: 10px 0;
}

.blog-body figcaption,
.blog-media figcaption {
    margin-top: 10px;
    font-size: 0.92rem;
    color: var(--text-secondary);
    text-align: center;
}

.blog-video-embed {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    border-radius: 14px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
}

.blog-video-embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.insight-cta {
    margin-top: 34px;
    padding: 28px;
    border-radius: 20px;
    background: linear-gradient(135deg, #0f172a, #1f3b6e);
    color: #fff;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.14);
}

.insight-cta h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.insight-cta p {
    color: rgba(255,255,255,0.82);
    margin-bottom: 20px;
}

.blog-error {
    max-width: 920px;
    margin: 28px auto 0;
    padding: 20px 22px;
    border-radius: 16px;
    background: #fff1f2;
    border: 1px solid #fecdd3;
    color: #b91c1c;
}

@media (max-width: 768px) {
    .blog-page-main {
        padding-top: 120px;
        padding-bottom: 60px;
    }

    .insight-article {
        padding: 22px;
        border-radius: 18px;
    }

    .insight-article h1 {
        font-size: 2rem;
    }

    .insight-cta {
        padding: 22px;
    }
}

/* ==================================================
   PROJECT PAGE LAYOUT STYLES (UPDATED - 2-Column Details)
   ================================================== */

/* New styles for the "pill" element */
.project-pills {
    margin-bottom: 25px;
}
.project-pill {
    display: inline-block;
    background: #eff6ff; /* Light blue */
    color: var(--brand-blue);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Styles for the top details card */
.project-details-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 25px 30px;
    margin-bottom: 40px;
}

/* NEW: Two-column grid for the details list */
.project-details-card-top .project-details-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Two equal columns */
    gap: 15px 40px; /* Row and column gap */
    padding: 0;
    margin: 0;
    flex-grow: 1; /* Allow the grid to take up available space */
}

.project-details-card-top .project-details-list li {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin: 0;
}

.project-details-card-top .project-details-list li strong {
    color: var(--text-primary);
    display: block; /* Label on top of value */
    margin-bottom: 2px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.project-details-card-top .project-cta-buttons {
    display: flex;
    flex-direction: row;
    gap: 12px;
    margin-left: auto;
}

/* Main two-column layout for media and story */
.project-layout-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr; 
    gap: 60px;
    align-items: flex-start;
}

/* --- (The rest of the project page CSS remains the same) --- */
/* Media Column Styles */
.project-media-column { display: flex; flex-direction: column; gap: 20px; }
.project-gallery-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.project-gallery-grid img { width: 100%; height: auto; border-radius: 12px; box-shadow: 0 5px 15px rgba(0,0,0,0.08); }

/* Info Column Styles */
.project-info-column { position: sticky; top: 120px; }
.project-story-content h2 { font-size: 1.8rem; color: var(--brand-navy); margin-top: 0; margin-bottom: 15px; }
.project-story-content p { color: var(--text-secondary); line-height: 1.8; margin-bottom: 30px; }
.project-services-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.project-services-list li { display: flex; align-items: center; }

/* --- Responsive Adjustments --- */
@media (max-width: 992px) {
    .project-layout-grid { grid-template-columns: 1fr; gap: 40px; }
    .project-info-column { position: static; }
}

@media (max-width: 768px) {
    .project-details-card-top { flex-direction: column; align-items: flex-start; }
    .project-details-card-top .project-cta-buttons { width: 100%; margin-left: 0; flex-direction: column; }
    .project-details-card-top .project-cta-buttons a { width: 100%; }
}

@media (max-width: 500px) {
    .project-details-card-top .project-details-list {
        grid-template-columns: 1fr; /* Stack to a single column on small screens */
    }
}


/* --- CAREERS PAGE - JOB DESCRIPTION LIST --- */
.job-description-list {
    list-style-type: disc;
    padding-left: 20px; /* Indent the list */
    margin-top: 10px;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.job-description-list li {
    margin-bottom: 8px; /* Space between points */
}

/* =======================
   MOBILE HERO FIX
   ======================= */
@media (max-width: 768px) {
    #hero {
        padding-top: calc(var(--nav-height) + 60px);
        padding-bottom: 80px;
        text-align: left;
    }
    .hero-grid {
        text-align: left;
    }
    .hero-text h1 {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    .hero-text p {
        font-size: 1.05rem;
        max-width: 100%;
    }
    .hero-buttons {
        justify-content: flex-start;
    }
    .hero-dot {
        display: none !important; /* Forcefully hide the dot */
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 2.2rem;
    }
    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }
    .hero-buttons .btn {
        width: 80%;
        text-align: center;
    }
}

/* style.css */
/* ... (all your existing CSS) ... */

/* =======================
   CAREERS PAGE HERO OVERRIDE
   ======================= */
#hero.hero-careers::before {
    background: linear-gradient(rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.8)),
        url('images/hero-background2.jpg');
    background-size: cover;
    background-position: center;
}
