/* ==========================================
   CIVINT Engineering & Interiors Stylesheet
   ========================================== */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Outfit:wght@300;400;500;600;700;800&display=swap');

/* CSS Variables for unified theme */
:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-accent: #f1f5f9;
    --bg-dark: #0f172a;
    --bg-light: #ffffff;
    
    --brand-primary: #1873bb;
    --primary-color: var(--brand-primary);
    --brand-secondary: #f59e0b;
    --brand-success: #10b981;
    
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --text-light: #ffffff;
    
    --border-color: #e2e8f0;
    --border-hover: #cbd5e1;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Montserrat', sans-serif;
    
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-full: 9999px;
    
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --header-height: 80px;
}

/* Base Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    font-weight: 700;
    line-height: 1.25;
}

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

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

/* Layout Containers */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 80px 0;
}

.section-bg {
    background-color: var(--bg-secondary);
}

/* Text Utilities */
.text-center { text-align: center; }
.text-primary { color: var(--brand-primary); }
.text-accent { color: var(--brand-secondary); }
.section-title {
    font-size: 2.25rem;
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
    padding-bottom: 12px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--brand-primary);
    border-radius: var(--radius-full);
}

.section-subtitle {
    font-size: 1.1rem;
    max-width: 650px;
    margin: 0 auto 50px auto;
    color: var(--text-secondary);
}

/* Header & Navigation */
header {
    height: var(--header-height);
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

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

.logo img {
    height: 55px;
    width: auto;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-links a {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 1rem;
    color: var(--text-primary);
    padding: 8px 0;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--brand-primary);
    transition: var(--transition);
}

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

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

/* Burger Menu for Mobile */
.burger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    padding: 8px;
    z-index: 1001;
}

.burger div {
    width: 25px;
    height: 2px;
    background-color: var(--text-primary);
    margin: 6px 0;
    transition: var(--transition);
}

/* Hero Slideshow Section */
.hero-slider {
    height: 75vh;
    min-height: 500px;
    margin-top: var(--header-height);
    position: relative;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.75) 0%, rgba(15, 23, 42, 0.4) 100%);
    z-index: 2;
}

.slide-content {
    position: relative;
    z-index: 3;
    max-width: 700px;
    color: var(--text-light);
    transform: translateY(20px);
    transition: transform 1s ease;
    padding: 0 80px; /* Keep text clear of absolute-centered arrows */
}

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

.slide-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-light);
    margin-bottom: 24px;
    line-height: 1.15;
}

.slide-desc {
    font-size: 1.25rem;
    margin-bottom: 32px;
    font-weight: 300;
    opacity: 0.9;
}

/* Slider Controls */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--text-light);
    width: 50px;
    height: 50px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
}

.slider-arrow:hover {
    background-color: var(--brand-primary);
    border-color: var(--brand-primary);
}

.slider-prev { left: 24px; }
.slider-next { right: 24px; }

.slider-dots {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: var(--radius-full);
    background-color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background-color: var(--brand-primary);
    width: 28px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--brand-primary);
    color: var(--text-light);
    box-shadow: 0 4px 14px 0 rgba(24, 115, 187, 0.4);
}

.btn-primary:hover {
    background-color: #14609c;
    box-shadow: 0 6px 20px 0 rgba(24, 115, 187, 0.5);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent !important;
    border-color: var(--brand-primary) !important;
    color: var(--brand-primary) !important;
}

.btn-outline:hover {
    background-color: var(--brand-primary) !important;
    color: var(--text-light) !important;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-content h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.about-content p {
    margin-bottom: 16px;
    color: var(--text-secondary);
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 32px;
}

.stat-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 24px;
    border-radius: var(--radius-md);
    text-align: center;
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--brand-primary);
}

.stat-num {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--brand-primary);
    margin-bottom: 8px;
    font-family: var(--font-heading);
}

.stat-label {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

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

@media (max-width: 768px) {
    .process-grid {
        grid-template-columns: 1fr;
    }
}

/* Wizard Grid & Onboarding Cards (Mockup Style) */
.wizard-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 40px;
}

@media (max-width: 1200px) {
    .wizard-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .wizard-grid {
        grid-template-columns: 1fr;
    }
}

.wizard-card {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 24px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
}

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

.wizard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.wizard-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.wizard-close-btn {
    background: none;
    border: none;
    font-size: 1.25rem;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 4px;
    line-height: 1;
    border-radius: var(--radius-full);
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-secondary);
    transition: var(--transition);
}

.wizard-close-btn:hover {
    background-color: var(--border-color);
    color: var(--text-primary);
}

.wizard-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 20px;
    height: 60px;
    overflow: hidden;
}

@media (max-width: 1200px) {
    .wizard-desc {
        height: auto;
    }
}

.wizard-graphic {
    border-radius: 12px;
    height: 220px;
    padding: 16px 16px 0 16px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 20px;
    position: relative;
}

.graphic-1 { background-color: #6c2a4a; }
.graphic-2 { background-color: #1d6ec0; }
.graphic-3 { background-color: #0f766e; }
.graphic-4 { background-color: #1873bb; }

.graphic-mockup {
    background-color: #ffffff;
    width: 100%;
    height: 95%;
    border-radius: 8px 8px 0 0;
    box-shadow: 0 -4px 10px rgba(0,0,0,0.08);
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
    transform: translateY(2px);
}

.mockup-header {
    height: 6px;
    background-color: #f1f5f9;
    border-radius: 3px;
    width: 40%;
    margin-bottom: 4px;
}

.mockup-body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    position: relative;
    height: 100%;
}

.mockup-line-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px;
    border-radius: 4px;
    border: 1px solid transparent;
}

.mockup-line-item.active {
    border-color: #e2e8f0;
    background-color: #fafafa;
    box-shadow: var(--shadow-sm);
}

.mockup-circle {
    width: 8px;
    height: 8px;
    border: 1px solid #cbd5e1;
    border-radius: 50%;
    flex-shrink: 0;
}

.mockup-line-item.active .mockup-circle {
    border-color: #94a3b8;
}

.mockup-bar-line {
    height: 6px;
    background-color: #e2e8f0;
    border-radius: 3px;
    flex-grow: 1;
}

.mockup-bar-line.active {
    background-color: #cbd5e1;
}

.mockup-tag {
    background-color: #6c2a4a;
    color: #ffffff;
    font-size: 7px;
    font-weight: 700;
    padding: 1px 3px;
    border-radius: 2px;
    margin-left: auto;
}

.mockup-highlight-bar {
    height: 10px;
    background-color: #1d6ec0;
    border-radius: 3px;
    width: 80%;
    margin-bottom: 4px;
}

.mockup-pills-row {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    margin-top: 2px;
}

.mockup-pill-letter {
    width: 14px;
    height: 14px;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 8px;
    font-weight: 700;
}

.mockup-progress-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 2px;
}

.mockup-progress-card {
    border: 1px dashed #cbd5e1;
    border-radius: 4px;
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    background-color: #f8fafc;
}

.mockup-progress-card .bar-sm {
    height: 4px;
    background-color: #e2e8f0;
    border-radius: 2px;
}

.mockup-progress-card .bar-sm:first-child {
    background-color: #0f766e;
    opacity: 0.4;
    width: 70%;
}

.mockup-progress-card .bar-sm:last-child {
    width: 40%;
}

.mockup-success-illustration {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 0;
    height: 100%;
}

.mockup-success-badge {
    width: 24px;
    height: 24px;
    background-color: #1873bb;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
}

.mockup-success-text {
    height: 4px;
    background-color: #e2e8f0;
    border-radius: 2px;
    width: 50%;
}

.wizard-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    border-top: 1px solid var(--border-color);
    padding-top: 16px;
}

.wizard-step {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.wizard-actions {
    display: flex;
    gap: 8px;
}

.wizard-btn {
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
}

.wizard-btn-outline {
    background: none;
    border-color: var(--border-color);
    color: var(--text-secondary);
}

.wizard-btn-outline:hover {
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    border-color: var(--text-secondary);
}

.wizard-btn-solid {
    color: #ffffff;
}

.wizard-btn-solid.bg-burgundy { background-color: #6c2a4a; border-color: #6c2a4a; }
.wizard-btn-solid.bg-blue { background-color: #1d6ec0; border-color: #1d6ec0; }
.wizard-btn-solid.bg-teal { background-color: #0f766e; border-color: #0f766e; }
.wizard-btn-solid.bg-navy { background-color: #1873bb; border-color: #1873bb; }

.wizard-btn-solid:hover {
    opacity: 0.95;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.why-card {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    padding: 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.why-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--brand-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.why-card:hover::before {
    transform: scaleX(1);
}

.why-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.why-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(24, 115, 187, 0.1);
    color: var(--brand-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 24px;
    font-weight: 700;
}

.why-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

/* Vision & Mission Banner */
.vm-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.vm-card {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.vm-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.vm-card h3::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 24px;
    background-color: var(--brand-primary);
    border-radius: var(--radius-full);
}

/* Projects/Gallery Filters and Grid */
.filter-menu {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    list-style: none;
    margin-bottom: 40px;
}

.filter-btn {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 10px 24px;
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--brand-primary);
    border-color: var(--brand-primary);
    color: var(--text-light);
    box-shadow: 0 4px 10px rgba(24, 115, 187, 0.3);
}

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

.project-card {
    grid-column: span 2;
    background-color: var(--bg-primary);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    border: 1px solid #e2e8f0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.project-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.07);
    border-color: rgba(24, 115, 187, 0.15);
}

/* Asymmetrical desktop grid (3 on top row, 2 centered below) */
@media (min-width: 992px) {
    .project-card:nth-child(1),
    .project-card:nth-child(2),
    .project-card:nth-child(3) {
        grid-column: span 2;
    }
    .project-card:nth-child(4) {
        grid-column: 2 / span 2;
    }
    .project-card:nth-child(5) {
        grid-column: 4 / span 2;
    }
}

@media (max-width: 991px) and (min-width: 769px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    .project-card {
        grid-column: auto !important;
    }
}

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .project-card {
        grid-column: auto !important;
    }
}

.project-img-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    border-radius: 12px 12px 0 0;
}

.project-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-card:hover .project-img-wrapper img {
    transform: scale(1.04);
}

.project-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 24px;
    box-sizing: border-box;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 60%, rgba(0, 0, 0, 0) 100%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
    text-align: left;
}

.project-badge {
    background-color: #1873bb;
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 10px;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease;
    display: inline-block;
}

.project-card:hover .project-badge {
    background-color: #0d5a9d;
}

.project-title-overlay {
    color: #ffffff;
    font-size: 1.35rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
    font-family: var(--font-heading);
}

.project-location {
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.825rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
}

.loc-icon {
    font-size: 0.9rem;
}

.project-info {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    background-color: #ffffff;
    text-align: left;
}

.project-metrics {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #f1f5f9;
    gap: 10px;
}

.metric-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.metric-icon {
    background-color: rgba(24, 115, 187, 0.07);
    border-radius: 50%;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1873bb;
    flex-shrink: 0;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.project-card:hover .metric-icon {
    background-color: rgba(24, 115, 187, 0.12);
}

.metric-details {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.metric-value {
    font-size: 0.925rem;
    font-weight: 700;
    color: #1e293b;
}

.metric-label {
    font-size: 0.725rem;
    color: #64748b;
    font-weight: 500;
}

.project-explore-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: transparent;
    border: 1px solid #1873bb;
    color: #1873bb;
    padding: 10px 24px;
    border-radius: 6px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: fit-content;
    margin-top: auto;
}

.project-explore-btn:hover {
    background-color: #1873bb;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(24, 115, 187, 0.25);
}

/* Projects Section fixed navbar clearing */
.projects-section {
    margin-top: var(--header-height);
}

/* Catalog Header Block custom elements */
.catalog-header-block {
    margin-bottom: 50px;
}

.catalog-subtitle-blue {
    color: #1873bb;
    font-size: 1.2rem;
    font-weight: 500;
    display: block;
    margin-bottom: 16px;
}

.catalog-title-large {
    font-size: 2.75rem;
    font-weight: 800;
    color: #0f172a;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.decorative-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.divider-line {
    width: 40px;
    height: 2px;
    background-color: #1873bb;
    opacity: 0.3;
}

.divider-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #1873bb;
}

/* Bottom CTA Banner styling */
.project-cta-banner {
    background-color: rgba(24, 115, 187, 0.04);
    border: 1px solid rgba(24, 115, 187, 0.1);
    border-radius: 12px;
    padding: 30px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 40px;
}

.cta-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cta-icon-bg {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: rgba(24, 115, 187, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1873bb;
    flex-shrink: 0;
}

.cta-text h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 4px;
    text-align: left;
}

.cta-text p {
    font-size: 0.95rem;
    color: #64748b;
    margin: 0;
    text-align: left;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #1873bb;
    color: #ffffff;
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.925rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(24, 115, 187, 0.2);
}

.cta-btn:hover {
    background-color: #0d5a9d;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(24, 115, 187, 0.3);
}

.cta-btn .arrow-icon {
    transition: transform 0.3s ease;
}

.cta-btn:hover .arrow-icon {
    transform: translateX(4px);
}

@media (max-width: 768px) {
    .project-cta-banner {
        padding: 24px;
        flex-direction: column;
        align-items: flex-start;
    }
    .cta-left {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .cta-btn {
        width: 100%;
        justify-content: center;
        box-sizing: border-box;
    }
}

/* Project Details Section */
.details-header {
    margin-bottom: 40px;
    text-align: left;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 10px 20px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    margin-bottom: 30px;
    box-shadow: var(--shadow-sm);
    font-family: var(--font-heading);
}

.back-btn:hover {
    background-color: var(--bg-secondary);
    border-color: var(--text-secondary);
    transform: translateX(-4px);
}

.details-title {
    font-size: 2.25rem;
    color: var(--text-primary);
    margin-bottom: 12px;
    font-weight: 700;
}

.details-cat {
    display: inline-block;
    padding: 6px 14px;
    background-color: rgba(24, 115, 187, 0.1);
    color: var(--brand-primary);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.details-desc {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--text-secondary);
    max-width: 800px;
}

.details-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.gallery-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 3 / 2;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Glassmorphic Overlay with a Plus Indicator */
.gallery-card::after {
    content: '+';
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 300;
    color: #ffffff;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(24, 115, 187, 0.35); /* brand-primary transparent */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    backdrop-filter: blur(2px);
    transition: all 0.35s ease;
    z-index: 2;
}

.gallery-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.gallery-card:hover img {
    transform: scale(1.05);
}

.gallery-card:hover::after {
    opacity: 1;
}

/* Page Transition States */
.fade-transition {
    transition: opacity 0.35s ease, transform 0.35s ease;
    opacity: 1;
    transform: translateY(0);
}

.fade-hidden {
    opacity: 0;
    transform: translateY(15px);
    pointer-events: none;
    display: none !important;
}

/* Lightbox Modal */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.95);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.lightbox-content {
    max-width: 900px;
    max-height: 80vh;
    position: relative;
}

.lightbox-img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    color: var(--text-light);
    font-size: 2rem;
    cursor: pointer;
    background: none;
    border: none;
    font-weight: 300;
}

.lightbox-caption {
    color: var(--text-light);
    text-align: center;
    margin-top: 16px;
    font-family: var(--font-heading);
    font-size: 1.1rem;
}

/* Services Page specific Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.service-card {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.service-img {
    height: 240px;
    overflow: hidden;
    position: relative;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-info {
    padding: 32px;
}

.service-info h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.service-list {
    list-style: none;
    margin-top: 20px;
}

.service-list li {
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-list li:last-child {
    border-bottom: none;
}

.service-list li::before {
    content: '✓';
    color: var(--brand-primary);
    font-weight: 700;
}

/* Team Page Section */
.team-hero {
    display: grid;
    grid-template-columns: 1fr 2fr;
    align-items: start;
    text-align: left;
    max-width: 1000px;
    margin: 0 auto 80px auto;
    gap: 60px;
}

.director-img-wrapper {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    max-width: 320px;
    width: 100%;
    overflow: hidden; /* Prevent image corners bleeding outside container radius */
}

.director-img-wrapper img {
    width: 100%;
    display: block;
    transition: transform 0.5s ease;
}

.director-img-wrapper:hover img {
    transform: scale(1.05); /* Slight premium scale animation */
}

.director-info h2 {
    font-size: 2.25rem;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.director-info h4 {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--brand-primary);
    margin-bottom: 24px;
}

.director-bio {
    text-align: left;
}

.director-bio p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.chart-section {
    text-align: center;
}

/* Team Page / Organisation Chart Grid Layout */
.team-filter-menu {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    list-style: none;
    margin-bottom: 48px;
}

.team-filter-btn {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.team-filter-btn:hover,
.team-filter-btn.active {
    background-color: var(--brand-primary);
    border-color: var(--brand-primary);
    color: var(--text-light);
    box-shadow: 0 4px 10px rgba(24, 115, 187, 0.3);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 40px 16px;
    justify-content: center;
    align-items: start;
    width: 100%;
}

@media (max-width: 1200px) {
    .team-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 992px) {
    .team-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px 16px;
    }
}

@media (max-width: 480px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
}

.team-member-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-color: transparent;
    padding: 10px;
    transition: var(--transition);
}

.team-member-card:hover {
    transform: translateY(-5px);
}

.team-avatar-wrapper {
    position: relative;
    width: 110px;
    height: 110px;
    margin: 0 auto 16px auto;
}

.team-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, #1e293b, #0f172a);
    border: 3px solid #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: var(--transition);
}

.team-member-card:hover .team-avatar {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}

.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.team-avatar-svg {
    width: 52px;
    height: 52px;
    color: rgba(255, 255, 255, 0.85);
}

.team-badge {
    position: absolute;
    bottom: 0px;
    left: 0px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 2px solid #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    font-weight: 800;
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    z-index: 2;
    text-transform: uppercase;
}

.bg-gold {
    background-color: var(--brand-secondary);
}

.bg-plum {
    background-color: #6c2a4a;
}

.bg-blue {
    background-color: #1d6ec0;
}

.bg-teal {
    background-color: #0f766e;
}

.member-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    text-transform: uppercase;
    margin-bottom: 4px;
    letter-spacing: 0.5px;
}

.member-title {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--brand-primary);
    text-transform: uppercase;
    margin-bottom: 6px;
    letter-spacing: 0.5px;
}

.photo-pending-tag {
    display: inline-block;
    font-size: 0.6rem;
    font-weight: 700;
    color: var(--text-muted);
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 2px 8px;
    border-radius: var(--radius-full);
    letter-spacing: 0.5px;
}

.org-connector-vertical {
    width: 2px;
    height: 40px;
    background-color: var(--border-color);
}

.org-departments {
    display: flex;
    justify-content: center;
    gap: 40px;
    width: 100%;
    position: relative;
    border-top: 2px solid var(--border-color);
    padding-top: 40px;
}

/* Department columns */
.org-dept-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 280px;
    gap: 16px;
    position: relative;
}

/* Connect department to top border */
.org-dept-col::before {
    content: '';
    position: absolute;
    top: -42px;
    left: 50%;
    width: 2px;
    height: 42px;
    background-color: var(--border-color);
}

.dept-header-node {
    width: 100%;
    border-radius: var(--radius-md);
    color: #ffffff;
    border: none;
}

.dept-header-node.bg-plum { background-color: #6c2a4a; }
.dept-header-node.bg-blue { background-color: #1d6ec0; }
.dept-header-node.bg-teal { background-color: #0f766e; }

.dept-header-node h4 {
    color: #ffffff;
    font-size: 1.1rem;
    margin: 0;
}

.org-dept-children {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.child-node {
    width: 100%;
    padding: 12px 16px;
}

.child-node h5 {
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.child-node p {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

@media (max-width: 992px) {
    .org-departments {
        flex-direction: column;
        align-items: center;
        gap: 48px;
        border-top: none;
        padding-top: 0;
    }
    
    .org-dept-col {
        width: 100%;
        max-width: 400px;
    }
    
    .org-dept-col::before {
        display: none;
    }
}

/* Contact Us Grid & Form */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
}

.contact-info-block {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-card {
    display: flex;
    gap: 20px;
    align-items: start;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(24, 115, 187, 0.1);
    color: var(--brand-primary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-details h4 {
    font-size: 1.1rem;
    margin-bottom: 6px;
}

.contact-details p,
.contact-details a:not(.btn) {
    color: var(--text-secondary);
}

.contact-details a:not(.btn):hover {
    color: var(--brand-primary);
}

.whatsapp-btn,
.whatsapp-btn:hover,
.whatsapp-btn:focus,
.whatsapp-btn:active {
    color: #ffffff !important;
}

.whatsapp-btn {
    background-color: #25d366 !important;
    border-color: #25d366 !important;
    transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease !important;
}

.whatsapp-btn:hover {
    background-color: #20ba5a !important;
    border-color: #20ba5a !important;
    transform: translateY(-2px);
}

.contact-form {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.contact-form h3 {
    font-size: 1.5rem;
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.form-input {
    width: 100%;
    padding: 14px 20px;
    border: 1px solid var(--border-color);
    background-color: var(--bg-primary);
    border-radius: var(--radius-md);
    outline: none;
    font-family: var(--font-body);
    transition: var(--transition);
    color: var(--text-primary);
}

.form-input:focus {
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px rgba(24, 115, 187, 0.15);
}

textarea.form-input {
    min-height: 120px;
    resize: vertical;
}

.alert {
    padding: 12px 20px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    font-weight: 500;
    display: none;
}

.alert-success {
    background-color: rgba(16, 185, 129, 0.15);
    color: var(--brand-success);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.alert-error {
    background-color: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Careers Page */
.careers-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: start;
}

.job-card {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    margin-bottom: 24px;
    transition: var(--transition);
}

.job-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--brand-primary);
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 12px;
}

.job-title {
    font-size: 1.3rem;
    color: var(--text-primary);
}

.job-tag {
    background-color: rgba(24, 115, 187, 0.1);
    color: var(--brand-primary);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.job-meta {
    display: flex;
    gap: 20px;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

/* Footer Section */
footer {
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding: 70px 0 30px 0;
    border-top: 5px solid var(--brand-primary);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col h3 {
    color: var(--text-light);
    font-size: 1.25rem;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 8px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 3px;
    background-color: var(--brand-primary);
    border-radius: var(--radius-full);
}

.footer-logo img {
    height: 55px;
    margin-bottom: 20px;
}

.footer-col p {
    color: #94a3b8;
    margin-bottom: 16px;
    font-size: 0.9rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #94a3b8;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--brand-primary);
    padding-left: 6px;
}

.footer-contact-info li {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    color: #94a3b8;
    font-size: 0.9rem;
}

.footer-contact-icon {
    color: var(--brand-primary);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 30px;
    text-align: center;
    color: #64748b;
    font-size: 0.85rem;
}

.footer-bottom p {
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    gap: 12px;
    align-items: center;
}

.footer-bottom-links a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: var(--brand-primary);
}

.footer-bottom-links span {
    color: #475569;
    font-size: 0.75rem;
}


/* Page Banner (Header replacement for subpages) */
.page-banner {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(24, 115, 187, 0.75) 100%), 
                url('https://img1.wsimg.com/isteam/ip/4da8cdcd-0eae-4425-a341-f1ced328c0be/2_1.webp');
    background-size: cover;
    background-position: center;
    padding: 100px 0 60px 0;
    margin-top: var(--header-height);
    color: var(--text-light);
    text-align: center;
}

/* Page Banner Specific Backgrounds */
.page-banner.services-banner {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(24, 115, 187, 0.75) 100%), 
                url('https://img1.wsimg.com/isteam/ip/4da8cdcd-0eae-4425-a341-f1ced328c0be/2_1.webp');
}
.page-banner.projects-banner {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(24, 115, 187, 0.75) 100%), 
                url('https://img1.wsimg.com/isteam/ip/4da8cdcd-0eae-4425-a341-f1ced328c0be/pexels-rdne-8293778.webp');
}
.page-banner.team-banner {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(24, 115, 187, 0.75) 100%), 
                url('https://img1.wsimg.com/isteam/ip/4da8cdcd-0eae-4425-a341-f1ced328c0be/3_1.webp');
}
.page-banner.contact-banner {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(24, 115, 187, 0.75) 100%), 
                url('https://img1.wsimg.com/isteam/ip/4da8cdcd-0eae-4425-a341-f1ced328c0be/2_1.webp');
}
.page-banner.careers-banner {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(24, 115, 187, 0.75) 100%), 
                url('https://img1.wsimg.com/isteam/ip/4da8cdcd-0eae-4425-a341-f1ced328c0be/3_1.webp');
}


.page-banner h1 {
    font-size: 2.75rem;
    color: var(--text-light);
    margin-bottom: 8px;
}

.page-banner p {
    font-size: 1.1rem;
    opacity: 0.9;
    font-weight: 300;
}

/* ==========================================
   Homepage Mockup Premium Enhancements
   ========================================== */

/* Hero Slide Tags and Dual Buttons */
.hero-tag {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--text-light);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    padding: 6px 16px;
    border-radius: 4px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    justify-content: center;
}

.btn-outline-white {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--text-light);
    padding: 12px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-outline-white:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Restructured About Us Section (3 Columns on Desktop) */
.about-grid-3col {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1.1fr;
    gap: 40px;
    align-items: center;
}

.about-photo-col {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-main-img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.about-photo-col:hover .about-main-img {
    transform: scale(1.03);
}

.about-text-col {
    padding-right: 15px;
}

.section-tag-blue {
    display: block;
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.about-title-large {
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1.25;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.about-desc-p {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.about-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
}

.about-checklist li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
}

.about-checklist li .check-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: rgba(24, 115, 187, 0.1);
    color: var(--primary-color);
    font-size: 0.8rem;
    font-weight: bold;
}

.about-stats-col {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

/* Stat Card Version 2 */
.stat-card-v2 {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 24px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card-v2:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.stat-icon-bg {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background-color: rgba(24, 115, 187, 0.08);
    color: var(--primary-color);
    flex-shrink: 0;
}

.stat-info .stat-number {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.1;
    margin-bottom: 4px;
}

.stat-info .stat-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Why Choose Us Cards V2 */
.why-card-v2 {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 30px;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.why-card-v2:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.why-icon-bg {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: rgba(24, 115, 187, 0.08);
    color: var(--primary-color);
    margin-bottom: 24px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.why-card-v2:hover .why-icon-bg {
    background-color: rgba(24, 115, 187, 0.16);
}

.why-num-label {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 1.5rem;
    font-weight: 800;
    color: rgba(24, 115, 187, 0.15);
}

.why-card-v2 h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.why-card-v2 p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-muted);
}

/* Homepage Projects Preview Grid */
.homepage-projects-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.homepage-project-card {
    display: block;
    text-decoration: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    aspect-ratio: 9/12;
}

.homepage-project-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.h-project-img-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}

.h-project-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.homepage-project-card:hover .h-project-img-wrapper img {
    transform: scale(1.05);
}

.h-project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.2) 0%, rgba(15, 23, 42, 0.9) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    box-sizing: border-box;
}

.h-project-icon {
    font-size: 1.75rem;
    margin-bottom: auto;
    background-color: rgba(255, 255, 255, 0.15);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    backdrop-filter: blur(4px);
}

.h-project-info h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 6px;
}

.h-project-info p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 16px;
    font-weight: 500;
}

.h-project-cta {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-color);
    background-color: var(--text-light);
    padding: 8px 16px;
    border-radius: 20px;
    text-align: center;
    transition: background-color 0.3s, color 0.3s;
}

.homepage-project-card:hover .h-project-cta {
    background-color: var(--primary-color);
    color: var(--text-light);
}

/* Our Process / Structural Workflow Section */
.workflow-timeline-wrapper {
    position: relative;
    margin-top: 60px;
    padding: 20px 0;
}

.workflow-timeline-line {
    position: absolute;
    top: 52px;
    left: 5%;
    right: 5%;
    height: 2px;
    background: repeating-linear-gradient(to right, transparent, transparent 4px, var(--primary-color) 4px, var(--primary-color) 8px);
    z-index: 1;
}

.workflow-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    position: relative;
    z-index: 2;
}

.workflow-step {
    text-align: center;
    padding: 24px 15px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    transition: all 0.3s ease;
    background-color: var(--bg-light);
}

.workflow-step .workflow-icon-bg {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: var(--bg-light);
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    margin: 0 auto 16px auto;
    transition: all 0.3s ease;
}

.workflow-step:hover {
    border-color: var(--primary-color);
    background-color: var(--bg-light);
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.workflow-step:hover .workflow-icon-bg {
    background-color: rgba(24, 115, 187, 0.08);
    transform: scale(1.08);
}

.workflow-num {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.workflow-step h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.workflow-step p {
    font-size: 0.85rem;
    line-height: 1.4;
    color: var(--text-muted);
}

/* Vision & Mission Symmetrical V2 */
.vm-grid-v2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.vm-card-v2 {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    padding: 30px;
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.vm-card-v2:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.vm-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background-color: rgba(24, 115, 187, 0.08);
    color: var(--primary-color);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.vm-card-v2:hover .vm-icon-wrapper {
    background-color: rgba(24, 115, 187, 0.16);
    transform: scale(1.05);
}

.vm-text h3 {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.vm-text p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-muted);
}

/* Footer Map Column and Social Links */
.footer-social-links {
    display: flex;
    gap: 12px;
    margin-top: 18px;
}

.footer-social-links .social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-social-links .social-icon:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
    transform: translateY(-2px);
}

.footer-map-container {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.15);
    margin-top: 15px;
}

.footer-map-link {
    display: block;
    text-decoration: none;
}

.footer-map-mockup {
    height: 120px;
    background: url('../images/footer_map.jpg?v=1.0') no-repeat center/cover;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: filter 0.3s ease;
}

.footer-map-link:hover .footer-map-mockup {
    filter: brightness(1.15);
}

.footer-map-mockup .map-pin {
    font-size: 2rem;
    position: absolute;
    top: 45%;
    left: 48%;
    animation: pinBounce 2s infinite ease-in-out;
}

@keyframes pinBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

/* Before/After Transformation Widget styling */
.before-after-wrapper {
    margin: 40px auto 0 auto;
    max-width: 800px;
}

.ba-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    user-select: none;
    -webkit-user-select: none;
}

.ba-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.ba-label {
    position: absolute;
    bottom: 20px;
    padding: 6px 14px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 4px;
    color: var(--text-light);
    backdrop-filter: blur(8px);
    z-index: 5;
}

.ba-label-before {
    left: 20px;
    background-color: rgba(15, 23, 42, 0.75);
}

.ba-label-after {
    right: 20px;
    background-color: rgba(24, 115, 187, 0.85);
}

.ba-after {
    width: 100%;
    z-index: 2;
    clip-path: inset(0 50% 0 0);
    -webkit-clip-path: inset(0 50% 0 0);
}

.ba-slider {
    position: absolute;
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 100%;
    background: transparent;
    outline: none;
    margin: 0;
    z-index: 4;
    cursor: ew-resize;
}

.ba-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 40px;
    height: 100vh;
    background: transparent;
}

.ba-slider::-moz-range-thumb {
    width: 40px;
    height: 100vh;
    background: transparent;
    border: none;
}

.ba-slider-handle {
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background-color: var(--text-light);
    z-index: 3;
    pointer-events: none;
    transform: translateX(-50%);
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

.ba-handle-line {
    width: 100%;
    height: 100%;
}

.ba-handle-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    background-color: var(--primary-color);
    border: 3px solid var(--text-light);
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
}

/* Dynamic Turnkey Cost Estimator styling */
.estimator-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    max-width: 960px;
    margin: 40px auto 0 auto;
    align-items: stretch;
}

.estimator-form {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 35px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.form-group-v2 {
    margin-bottom: 25px;
}

.form-group-v2:last-child {
    margin-bottom: 0;
}

.form-group-v2 label {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.est-select {
    width: 100%;
    padding: 12px 18px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    outline: none;
    transition: border-color 0.3s;
}

.est-select:focus {
    border-color: var(--primary-color);
}

.est-range {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: var(--border-color);
    outline: none;
    margin: 15px 0 10px 0;
}

.est-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--primary-color);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s;
}

.est-range::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}

.est-range::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border: none;
    border-radius: 50%;
    background-color: var(--primary-color);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s;
}

.est-range::-moz-range-thumb:hover {
    transform: scale(1.15);
}

.range-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
}

.estimator-result-card {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: 12px;
    padding: 40px;
    color: var(--text-light);
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: var(--shadow-lg);
}

.estimator-result-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--text-light);
    opacity: 0.85;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.est-price-range {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-light);
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.est-disclaimer {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.4;
    margin-bottom: 24px;
}

.est-specs-list {
    margin-bottom: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
}

.est-specs-list h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.est-specs-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.est-specs-list ul li {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 8px;
    position: relative;
    padding-left: 18px;
}

.est-specs-list ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 800;
}

.est-cta-btn {
    text-align: center;
    width: 100%;
}

/* ==========================================
   Responsive Styles
   ========================================== */

@media (max-width: 1024px) {
    .about-grid,
    .about-grid-3col,
    .vm-grid,
    .vm-grid-v2,
    .contact-grid,
    .careers-grid,
    .estimator-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-photo-col {
        text-align: center;
    }
    
    .about-main-img {
        height: 380px;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .about-stats-col {
        grid-template-columns: 1fr 1fr;
    }

    .homepage-projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .workflow-timeline-line {
        display: none;
    }
    
    .workflow-steps {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px 20px;
    }
    
    .team-hero {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
        gap: 30px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }
    
    .logo img {
        height: 45px;
    }
    
    .nav-links {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background-color: var(--bg-primary);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 40px;
        transition: 0.5s ease-in-out;
        box-shadow: var(--shadow-lg);
        border-top: 1px solid var(--border-color);
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .burger {
        display: block;
    }
    
    /* Burger animation */
    .burger.toggle .line1 {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    .burger.toggle .line2 {
        opacity: 0;
    }
    .burger.toggle .line3 {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    
    .slide-content {
        padding: 0 24px;
        text-align: center;
    }

    .slider-arrow {
        display: none; /* Hide arrows on mobile to prevent blocking text */
    }

    .slide-title {
        font-size: 2.25rem;
    }
    
    .slide-desc {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }

    .catalog-title-large {
        font-size: 2rem !important;
    }

    .catalog-subtitle-blue {
        font-size: 1.05rem !important;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }

    /* Mobile Overrides for Homepage Enhancements */
    .hero-buttons {
        flex-direction: column;
        gap: 12px;
        align-items: center;
        width: 100%;
        max-width: 320px;
        margin: 30px auto 0 auto;
    }
    
    .btn-outline-white {
        width: 100%;
        justify-content: center;
    }

    .about-stats-col {
        grid-template-columns: 1fr;
    }

    .homepage-projects-grid {
        grid-template-columns: 1fr;
    }

    .workflow-steps {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .workflow-step {
        position: relative;
    }

    /* Before/After Mobile Override */
    .ba-container {
        aspect-ratio: 4/3;
    }

    /* Estimator Mobile Override */
    .estimator-form {
        padding: 25px;
    }
    
    .estimator-result-card {
        padding: 30px;
    }

    .est-price-range {
        font-size: 2rem;
    }
}
