/* --- CSS Reset & Base Styles --- */
:root {
    /* Tivanathi Logo Brand Color Palette */
    --brand-blue: #0C5A9A;           /* Cerulean / Ocean Blue from Logo Swoosh */
    --brand-blue-hover: #106cb8;     /* Lighter hover blue */
    --brand-navy: #253D90;           /* Cobalt Royal Blue from Logo Text */
    --brand-navy-dark: #1A2D6E;      /* Deep Royal Navy */
    --brand-silver: #E6E8E8;         /* Platinum Silver from Logo Swoosh Base */
    --brand-silver-light: #F1F4F6;   /* Cool light silver */
    --brand-cyan: #38BDF8;           /* Luminous Sky / Electric Blue for accents & active states */
    --brand-glow: rgba(12, 90, 154, 0.35);

    /* Rich Midnight Navy Theme Backgrounds */
    --bg-dark: #081120;              /* Main page background */
    --bg-surface: #0E1B31;           /* Card and section surface */
    --bg-surface-elevated: #142442;  /* Elevated surface */
    --bg-deep: #050A14;              /* Filter bar, CTA and footer background */
    
    /* Text Colors */
    --text-white: #FFFFFF;
    --text-light: #E2E8F0;
    --text-muted: #94A3B8;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    overflow-x: hidden;
}

/* --- Scroll Reveal Animation System --- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left.revealed {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right.revealed {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.85);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-scale.revealed {
    opacity: 1;
    transform: scale(1);
}

/* Stagger delays for card grids */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }
.stagger-7 { transition-delay: 0.7s; }
.stagger-8 { transition-delay: 0.8s; }
.stagger-9 { transition-delay: 0.9s; }
.stagger-10 { transition-delay: 1.0s; }

/* Hero entrance animations */
@keyframes heroFadeUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroLineDraw {
    from { width: 0; }
    to { width: 70px; }
}

.hero-content h1 {
    animation: heroFadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

.hero-content p {
    animation: heroFadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.5s both;
}

.hero-content .btn-hero-contact {
    animation: heroFadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.8s both;
}

/* Navbar shrink on scroll */
.navbar.scrolled {
    padding-top: 8px;
    padding-bottom: 8px;
    background-color: rgba(8, 17, 32, 0.97);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.navbar.scrolled .brand-logo-img {
    height: 34px;
    transition: height 0.3s ease;
}

/* Glance counter pop animation */
@keyframes counterPop {
    0% { transform: scale(0.5); opacity: 0; }
    70% { transform: scale(1.1); }
    100% { transform: scale(1); opacity: 1; }
}

.glance-card.revealed h3 {
    animation: counterPop 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* Subtle floating animation for accent elements */
@keyframes subtleFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.cta-accent-bar {
    animation: heroLineDraw 1s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    .reveal, .reveal-left, .reveal-right, .reveal-scale {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .hero-content h1,
    .hero-content p,
    .hero-content .btn-hero-contact,
    .glance-card.revealed h3,
    .cta-accent-bar {
        animation: none;
    }
}

/* --- Sticky Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 5%;
    background-color: rgba(8, 17, 32, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(12, 90, 154, 0.25);
    z-index: 1000;
    transition: padding 0.35s ease, background-color 0.35s ease, box-shadow 0.35s ease;
}

/* Tivanathi Logo Badge */
.logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    padding: 6px 16px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.6);
    text-decoration: none;
    cursor: pointer;
}

.logo:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(12, 90, 154, 0.4);
}

.brand-logo-img {
    height: 44px;
    width: auto;
    max-width: 170px;
    object-fit: contain;
    display: block;
}

.footer-logo {
    display: inline-flex;
    margin-bottom: 20px;
}

.modal-logo {
    display: inline-flex;
    margin: 0 auto 15px auto;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #ffffff;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.btn-contact {
    background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-navy) 100%);
    color: #ffffff;
    padding: 10px 24px;
    border-radius: 5px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(12, 90, 154, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
}

.btn-contact:hover {
    background: linear-gradient(135deg, var(--brand-blue-hover) 0%, #2e4ba8 100%);
    box-shadow: 0 6px 20px rgba(12, 90, 154, 0.55);
    transform: translateY(-1px);
}

/* Navbar Dropdown */
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--bg-surface);
    min-width: 230px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-radius: 6px;
    padding: 10px 0;
    border: 1px solid rgba(12, 90, 154, 0.3);
    z-index: 1100;
}

.dropdown-content a {
    color: #ffffff;
    padding: 10px 20px;
    display: block;
    font-size: 14px;
    transition: all 0.2s ease;
}

.dropdown-content a:hover {
    background-color: rgba(12, 90, 154, 0.2);
    color: var(--brand-cyan);
    padding-left: 24px;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* --- Hero Section Static Background --- */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    background: linear-gradient(rgba(8, 17, 32, 0.72), rgba(8, 17, 32, 0.88)), 
                url('images/background/petrochemicals.jpg') no-repeat center center/cover;
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 0 5% 12vh 5%;
    padding-top: 100px;
}

.hero-content {
    max-width: 800px;
    z-index: 2;
}

.hero-content h1 {
    font-size: 52px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
    color: #ffffff;
}

.hero-content p {
    font-size: 20px;
    color: var(--brand-silver);
    margin-bottom: 35px;
    line-height: 1.4;
}

.btn-hero-contact {
    display: inline-block;
    background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-navy) 100%);
    color: #ffffff;
    padding: 14px 34px;
    border-radius: 5px;
    font-weight: 600;
    text-decoration: none;
    font-size: 16px;
    box-shadow: 0 4px 18px rgba(12, 90, 154, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.btn-hero-contact:hover {
    background: linear-gradient(135deg, var(--brand-blue-hover) 0%, #2e4ba8 100%);
    box-shadow: 0 6px 24px rgba(12, 90, 154, 0.65);
    transform: translateY(-2px);
}

/* --- Services Subpage Hero --- */
.service-hero {
    position: relative;
    width: 100%;
    min-height: 70vh;
    background: linear-gradient(135deg, rgba(8, 17, 32, 0.78) 0%, rgba(16, 33, 61, 0.84) 50%, rgba(8, 17, 32, 0.88) 100%),
                url('images/background/petrochemicals.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    padding: 140px 8% 80px 8%;
    border-bottom: 3px solid var(--brand-blue);
}

.service-hero-content {
    max-width: 850px;
}

.service-hero-content h1 {
    font-size: 44px;
    font-weight: 800;
    color: var(--brand-cyan);
    line-height: 1.15;
    margin-bottom: 25px;
}

.service-hero-content h2 {
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.4;
    margin-bottom: 20px;
}

.service-hero-content p {
    font-size: 16px;
    color: #b0bac5;
    line-height: 1.6;
}

/* --- Interactive Accordion & CAD Viewer Section --- */
.service-interactive-section {
    position: relative;
    background-color: #ffffff;
    color: #111111;
    padding: 90px 8%;
}

.service-container {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.accordion-column {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.accordion-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 20px 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    overflow: hidden;
}

.accordion-item.active {
    border-color: var(--brand-blue);
    box-shadow: 0 4px 18px rgba(12, 90, 154, 0.12);
}

.accordion-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 18px;
    font-weight: 700;
    color: var(--brand-navy);
    cursor: pointer;
    transition: color 0.2s ease;
}

.accordion-header:hover {
    color: var(--brand-blue);
}

.accordion-title-wrapper {
    display: flex;
    align-items: center;
}

.check-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background-color: rgba(12, 90, 154, 0.12);
    color: var(--brand-blue);
    border-radius: 50%;
    font-size: 12px;
    margin-right: 15px;
    flex-shrink: 0;
    font-weight: bold;
}

.toggle-icon {
    font-size: 20px;
    font-weight: bold;
    color: var(--brand-blue);
}

/* Accordion Body Content Expansion */
.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.3s ease;
    padding-top: 0;
}

.accordion-item.active .accordion-body {
    max-height: 150px;
    padding-top: 15px;
}

.accordion-body p {
    font-size: 15px;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

.cad-image-column {
    width: 100%;
}

.cad-viewer-box {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
}

.cad-viewer-box img {
    width: 100%;
    height: auto;
    display: block;
}

/* --- About Section (Two-Column Layout) --- */
.about-section {
    position: relative;
    background-color: var(--bg-dark);
    padding: 90px 5%;
    z-index: 2;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1250px;
    margin: 0 auto;
}

.about-main-heading {
    font-size: 36px;
    font-weight: 900;
    color: #ffffff;
    line-height: 1.1;
    margin-bottom: 25px;
    letter-spacing: -0.5px;
}

.about-main-heading .slash-accent {
    color: var(--brand-cyan);
}

.about-main-heading .second-line {
    display: block;
    margin-top: 5px;
}

.about-lead {
    font-size: 18px;
    line-height: 1.5;
    color: #ffffff;
    margin-bottom: 20px;
}

.about-text-content p {
    font-size: 16px;
    line-height: 1.6;
    color: #b0bac5;
    margin-bottom: 15px;
}

.about-text-content strong {
    color: #ffffff;
}

.about-image-column {
    width: 100%;
}

.image-slider-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    aspect-ratio: 16 / 10;
    border: 1px solid rgba(12, 90, 154, 0.2);
}

.image-slider-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.dot {
    width: 10px;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: var(--brand-cyan);
    transform: scale(1.2);
}

/* --- Key International Clients Section with Sticky Background --- */
.clients-section {
    position: relative;
    width: 100%;
    min-height: 85vh;
    background: linear-gradient(rgba(8, 17, 32, 0.8), rgba(8, 17, 32, 0.9)), 
                url('images/background/design.jpg') no-repeat center center/cover;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 5%;
    z-index: 2;
}

.clients-content-wrapper {
    max-width: 1300px;
    width: 100%;
    text-align: center;
}

.clients-section h2 {
    font-size: 34px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 50px;
    letter-spacing: -0.5px;
}

.clients-carousel-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.client-cards-wrapper {
    display: flex;
    justify-content: center;
    gap: 30px;
    width: 100%;
    flex-wrap: wrap;
}

.client-card {
    background-color: #ffffff;
    width: 340px;
    height: 200px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.client-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(12, 90, 154, 0.25);
}

.client-logo-img {
    max-height: 80px;
    max-width: 250px;
    width: auto;
    object-fit: contain;
    display: block;
}

.saint-gobain {
    color: #002b49;
    font-weight: 800;
    font-size: 22px;
    letter-spacing: 0.5px;
}

.thermo {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1;
}

.thermo-title {
    color: #da291c;
    font-weight: 900;
    font-size: 28px;
}

.thermo-sub {
    color: #231f20;
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 3px;
    margin-top: 5px;
}

.virta-name {
    color: #0b1f35;
    font-weight: 900;
    font-size: 32px;
    letter-spacing: 2px;
}

.carousel-btn {
    background-color: rgba(14, 27, 49, 0.8);
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.2);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.carousel-btn:hover {
    background-color: var(--brand-blue);
    color: #ffffff;
    border-color: var(--brand-cyan);
    box-shadow: 0 0 15px rgba(12, 90, 154, 0.5);
}

/* --- Services / Turnkey Solutions Grid Section --- */
.services-section {
    position: relative;
    background-color: var(--bg-dark);
    padding: 100px 5%;
    z-index: 2;
    border-top: 1px solid rgba(12, 90, 154, 0.15);
}

.services-container {
    max-width: 1300px;
    margin: 0 auto;
}

.services-header {
    text-align: left;
    margin-bottom: 50px;
    border-left: 4px solid var(--brand-blue);
    padding-left: 15px;
}

.services-top-label {
    font-size: 14px;
    color: var(--brand-cyan);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.services-section h2 {
    font-size: 38px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.5px;
}

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

.service-card {
    background: transparent;
    text-align: left;
    display: flex;
    flex-direction: column;
}

.service-img-wrapper {
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(12, 90, 154, 0.2);
}

.service-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.service-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
}

.read-more-link {
    font-size: 15px;
    font-weight: 600;
    color: var(--brand-cyan);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.read-more-link:hover {
    color: #ffffff;
    text-decoration: underline;
    transform: translateX(3px);
}

/* --- Tivanathi at a Glance Section (Pure #FFFFFF Background) --- */
.glance-section {
    position: relative;
    background-color: #FFFFFF;
    color: #111111;
    padding: 100px 5%;
    text-align: center;
    z-index: 2;
}

.glance-section h2 {
    font-size: 38px;
    color: var(--brand-navy);
    margin-bottom: 60px;
    font-weight: 800;
}

.glance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.glance-card {
    background: #FFFFFF;
    border: 1px solid #e2e8f0;
    padding: 35px 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}

.glance-card:hover {
    transform: translateY(-5px);
    border-color: var(--brand-blue);
    box-shadow: 0 12px 25px rgba(12, 90, 154, 0.12);
}

.glance-icon {
    font-size: 32px;
    margin-bottom: 15px;
}

.glance-card h3 {
    font-size: 28px;
    color: var(--brand-navy);
    margin-bottom: 8px;
    font-weight: 800;
}

.glance-card p {
    color: #64748b;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 600;
}

/* --- Explore Our Projects Section --- */
.projects-section {
    position: relative;
    background-color: var(--bg-dark);
    padding: 100px 5%;
    text-align: center;
    z-index: 2;
}

.projects-container {
    max-width: 1300px;
    margin: 0 auto;
}

.projects-section h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 50px;
    letter-spacing: -0.5px;
}

.projects-section .explore-text {
    color: var(--brand-cyan);
}

.projects-section .projects-title-dark {
    color: #ffffff;
}

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

.project-card {
    background: var(--bg-surface);
    border: 1px solid rgba(12, 90, 154, 0.2);
    border-radius: 10px;
    overflow: hidden;
    text-align: left;
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    border-color: var(--brand-blue);
    box-shadow: 0 15px 30px rgba(12, 90, 154, 0.2);
}

.project-card img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.project-info {
    padding: 25px;
}

.project-info h3 {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 15px;
    line-height: 1.3;
}

.project-slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
}

.project-slider-dots .dot {
    width: 10px;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
}

.project-slider-dots .dot.active {
    background-color: var(--brand-cyan);
    transform: scale(1.2);
}

/* --- Call to Action Section --- */
.cta-section {
    position: relative;
    background: linear-gradient(rgba(8, 17, 32, 0.88), rgba(8, 17, 32, 0.96)), 
                url('images/background/petrochemicals.jpg') no-repeat center center/cover;
    background-attachment: fixed;
    padding: 100px 5%;
    text-align: left;
    z-index: 2;
    border-top: 1px solid rgba(12, 90, 154, 0.2);
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-accent-bar {
    width: 50px;
    height: 4px;
    background-color: var(--brand-blue);
    margin-bottom: 20px;
    border-radius: 2px;
}

.cta-section h2 {
    font-size: 42px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 18px;
    color: #b0bac5;
    line-height: 1.6;
    margin-bottom: 25px;
}

/* --- Contact Map & Direction Pin --- */
.contact-map-wrapper {
    background: var(--bg-surface);
    border: 1px solid rgba(12, 90, 154, 0.35);
    border-radius: 12px;
    padding: 16px;
    margin: 20px 0 30px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 20px rgba(12, 90, 154, 0.15);
}

.map-pin-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    color: var(--text-light);
}

.pin-pulse-icon {
    font-size: 22px;
    animation: pinBounce 2s infinite ease-in-out;
    display: inline-block;
}

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

.map-pin-text strong {
    color: var(--brand-cyan);
    display: block;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.map-pin-text span {
    color: #e2e8f0;
    font-size: 14px;
}

.contact-map-frame {
    width: 100%;
    height: 280px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    background-color: #0c182c;
}

.contact-map-iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.map-directions-bar {
    margin-top: 12px;
    display: flex;
    justify-content: flex-start;
}

.btn-directions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--brand-cyan);
    background: rgba(12, 90, 154, 0.18);
    border: 1px solid rgba(56, 189, 248, 0.3);
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
}

.btn-directions:hover {
    background: rgba(12, 90, 154, 0.35);
    border-color: var(--brand-cyan);
    color: #ffffff;
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.35);
    transform: translateY(-1px);
}

.directions-icon {
    font-size: 15px;
}


.btn-cta {
    display: inline-block;
    background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-navy) 100%);
    color: #ffffff;
    padding: 14px 35px;
    border-radius: 5px;
    font-weight: 700;
    text-decoration: none;
    font-size: 16px;
    box-shadow: 0 4px 18px rgba(12, 90, 154, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.btn-cta:hover {
    background: linear-gradient(135deg, var(--brand-blue-hover) 0%, #2e4ba8 100%);
    box-shadow: 0 6px 24px rgba(12, 90, 154, 0.65);
    transform: translateY(-2px);
}

/* --- Footer Section --- */
.footer-section {
    position: relative;
    background-color: var(--bg-deep);
    color: #b0bac5;
    padding: 80px 5% 30px;
    border-top: 1px solid rgba(12, 90, 154, 0.2);
    z-index: 2;
}

.footer-container {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand .logo {
    margin-bottom: 20px;
}

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

.social-icon {
    width: 38px;
    height: 38px;
    background-color: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: bold;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--brand-blue);
    color: #ffffff;
    border-color: var(--brand-cyan);
    box-shadow: 0 0 12px rgba(12, 90, 154, 0.5);
}

.footer-col h3 {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    border-left: 3px solid var(--brand-blue);
    padding-left: 10px;
}

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

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

.footer-col ul li a {
    color: #b0bac5;
    text-decoration: none;
    font-size: 15px;
    transition: all 0.2s ease;
}

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

.footer-contact p {
    font-size: 15px;
    margin-bottom: 10px;
    line-height: 1.5;
}

.footer-hours {
    margin-top: 15px;
    font-style: italic;
    color: var(--brand-cyan);
}

.footer-bottom {
    max-width: 1300px;
    margin: 0 auto;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    font-size: 14px;
    color: #8b9bb4;
}

/* --- Projects Page Styling --- */
.projects-hero {
    position: relative;
    width: 100%;
    background: linear-gradient(135deg, rgba(8, 17, 32, 0.78) 0%, rgba(16, 33, 61, 0.84) 70%, rgba(8, 17, 32, 0.88) 100%),
                url('images/background/petrochemicals.jpg') no-repeat center center/cover;
    padding: 140px 8% 60px 8%;
    border-bottom: 3px solid var(--brand-blue);
}

.projects-hero-content {
    max-width: 900px;
}

.projects-hero-content h1 {
    font-size: 40px;
    font-weight: 800;
    color: var(--brand-cyan);
    margin-bottom: 10px;
}

.projects-hero-content h2 {
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
}

.projects-hero-content p {
    font-size: 15px;
    color: #b0bac5;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Filter Bar */
.projects-filter-bar {
    background-color: var(--bg-deep);
    padding: 25px 8%;
    border-top: 1px solid rgba(12, 90, 154, 0.2);
    border-bottom: 1px solid rgba(12, 90, 154, 0.2);
}

.filter-container {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
}

.filter-dropdown {
    background-color: var(--bg-surface);
    color: #ffffff;
    border: 1px solid rgba(12, 90, 154, 0.35);
    padding: 10px 15px;
    border-radius: 4px;
    font-size: 14px;
    min-width: 180px;
    cursor: pointer;
    outline: none;
    transition: border-color 0.2s ease;
}

.filter-dropdown:focus {
    border-color: var(--brand-cyan);
}

.awards-checkbox {
    color: #ffffff;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    margin-left: 10px;
}

/* Projects Image Grid */
.projects-grid-section {
    padding: 60px 8%;
    background-color: var(--bg-dark);
}

.projects-grid-container {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
}

.project-grid-item {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    aspect-ratio: 16 / 11;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(12, 90, 154, 0.2);
}

.project-grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(8, 17, 32, 0.95), rgba(8, 17, 32, 0.4));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 25px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-grid-item:hover .project-overlay {
    opacity: 1;
}

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

.project-overlay h3 {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
    line-height: 1.3;
}

.project-read-more {
    font-size: 14px;
    font-weight: 600;
    color: var(--brand-cyan);
    text-decoration: none;
    transition: color 0.2s ease;
}

.project-read-more:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* --- Project Details Page Styling --- */
.project-detail-hero {
    position: relative;
    width: 100%;
    min-height: 55vh;
    background: linear-gradient(135deg, rgba(8, 17, 32, 0.82) 0%, rgba(14, 27, 49, 0.88) 100%),
                url('images/background/petrochemicals.jpg') no-repeat center center/cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 140px 8% 60px 8%;
    border-bottom: 3px solid var(--brand-blue);
}

.project-hero-content {
    max-width: 900px;
    margin-bottom: 40px;
}

.project-hero-content h1 {
    font-size: 38px;
    font-weight: 800;
    color: var(--brand-cyan);
    line-height: 1.2;
    margin-bottom: 15px;
}

.partner-text {
    font-size: 16px;
    color: #ffffff;
}

.project-nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    font-size: 13px;
    font-weight: 700;
    color: var(--brand-cyan);
    letter-spacing: 0.5px;
}

.project-nav-bar a {
    color: var(--brand-cyan);
    text-decoration: none;
    transition: all 0.2s ease;
}

.project-nav-bar a:hover {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(56, 189, 248, 0.6);
}

.project-nav-bar span {
    font-size: 15px;
    color: #ffffff;
    display: inline-block;
    margin-top: 4px;
}

/* Quick Stats */
.project-stats-section {
    background-color: var(--bg-surface);
    padding: 40px 8%;
    border-bottom: 1px solid rgba(12, 90, 154, 0.2);
}

.stats-container {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

.stat-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(12, 90, 154, 0.2);
    border-radius: 8px;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.stat-icon {
    font-size: 24px;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 13px;
    text-transform: uppercase;
    color: #94a3b8;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.stat-value {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
}

/* Main Project Details Section */
.project-main-content {
    padding: 80px 8%;
    background-color: #ffffff;
    color: #111111;
}

.main-content-grid {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
}

.project-text-column {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.content-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 35px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.content-card h2, .content-card h3 {
    font-size: 24px;
    color: var(--brand-navy);
    margin-bottom: 15px;
    font-weight: 800;
}

.content-card p {
    font-size: 15px;
    color: #475569;
    line-height: 1.7;
}

.highlights-card ul {
    list-style-type: disc;
    padding-left: 20px;
    color: #475569;
}

.highlights-card li {
    font-size: 15px;
    margin-bottom: 8px;
    line-height: 1.5;
}

.project-gallery-card {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid #e2e8f0;
}

.gallery-main-img img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    display: block;
}

.gallery-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 15px;
    background: #ffffff;
}

.benefit-card {
    background-color: var(--bg-surface);
    color: #ffffff;
    border: 1px solid rgba(12, 90, 154, 0.3);
}

.benefit-card h3 {
    color: var(--brand-cyan);
}

.benefit-card p {
    color: #d0d5dd;
}

/* More Projects Section */
.more-projects-section {
    background: linear-gradient(135deg, var(--bg-dark) 0%, #10213d 100%);
    padding: 80px 8%;
    text-align: center;
    border-top: 1px solid rgba(12, 90, 154, 0.2);
}

.more-projects-container {
    max-width: 1300px;
    margin: 0 auto;
}

.more-projects-section h2 {
    font-size: 32px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 40px;
}

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

.more-project-card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    aspect-ratio: 16 / 10;
    border: 1px solid rgba(12, 90, 154, 0.2);
    transition: all 0.3s ease;
}

.more-project-card:hover {
    transform: translateY(-5px);
    border-color: var(--brand-blue);
    box-shadow: 0 15px 35px rgba(12, 90, 154, 0.3);
}

.more-project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.more-projects-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
}

/* --- About Page Specific Styling --- */
.about-hero-section {
    position: relative;
    width: 100%;
    background: linear-gradient(135deg, rgba(8, 17, 32, 0.78) 0%, rgba(16, 33, 61, 0.84) 70%, rgba(8, 17, 32, 0.88) 100%),
                url('images/background/petrochemicals.jpg') no-repeat center center/cover;
    padding: 150px 8% 80px 8%;
    border-bottom: 3px solid var(--brand-blue);
}

.about-hero-content {
    max-width: 900px;
}

.about-hero-content h1 {
    font-size: 42px;
    font-weight: 800;
    color: var(--brand-cyan);
    margin-bottom: 20px;
}

.about-hero-content p {
    font-size: 18px;
    color: #d0d5dd;
    line-height: 1.6;
    margin-bottom: 15px;
}

.about-main-content {
    padding: 80px 8%;
    max-width: 1300px;
    margin: 0 auto;
}

.about-block {
    margin-bottom: 60px;
}

.about-block .section-title {
    font-size: 32px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 30px;
    border-left: 4px solid var(--brand-blue);
    padding-left: 15px;
}

.purpose-box {
    background: var(--bg-surface);
    border: 1px solid rgba(12, 90, 154, 0.25);
    padding: 40px;
    border-radius: 8px;
}

.purpose-box p {
    font-size: 20px;
    font-style: italic;
    color: #ffffff;
    line-height: 1.6;
}

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

.value-card {
    background: var(--bg-surface);
    border: 1px solid rgba(12, 90, 154, 0.2);
    border-radius: 8px;
    padding: 30px;
    transition: all 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
    border-color: var(--brand-blue);
    box-shadow: 0 10px 25px rgba(12, 90, 154, 0.15);
}

.value-card h3 {
    color: var(--brand-cyan);
    font-size: 20px;
    margin-bottom: 12px;
}

.value-card p {
    color: #b0bac5;
    font-size: 15px;
    line-height: 1.6;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.team-card {
    background: var(--bg-surface);
    border: 1px solid rgba(12, 90, 154, 0.2);
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
    padding-bottom: 20px;
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-5px);
    border-color: var(--brand-blue);
    box-shadow: 0 10px 25px rgba(12, 90, 154, 0.2);
}

.team-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    background: #132742;
    margin-bottom: 15px;
}

.team-card h4 {
    font-size: 18px;
    color: #ffffff;
    margin-bottom: 5px;
}

.team-card p {
    font-size: 14px;
    color: var(--brand-cyan);
    font-weight: 600;
}

/* --- Online Portal Modal Styling --- */
.portal-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 10, 20, 0.88);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portal-modal-overlay.active {
    display: flex;
    opacity: 1;
}

.portal-modal {
    background: var(--bg-surface);
    border: 1px solid rgba(12, 90, 154, 0.4);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(12, 90, 154, 0.2);
    border-radius: 12px;
    width: 100%;
    max-width: 440px;
    padding: 35px 30px;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

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

.portal-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: #8b9bb4;
    font-size: 26px;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s ease;
}

.portal-modal-close:hover {
    color: var(--brand-cyan);
}

.portal-modal-header {
    text-align: center;
    margin-bottom: 25px;
}

.portal-modal-header h3 {
    font-size: 22px;
    font-weight: 800;
    color: #ffffff;
    margin-top: 10px;
}

.portal-modal-header p {
    font-size: 14px;
    color: #8b9bb4;
    margin-top: 5px;
}

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

.portal-form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #d0d5dd;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.portal-form-group input {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    color: #ffffff;
    font-size: 15px;
    outline: none;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.portal-form-group input:focus {
    border-color: var(--brand-cyan);
    background: rgba(255, 255, 255, 0.08);
}

.btn-portal-submit {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-navy) 100%);
    color: #ffffff;
    font-weight: 700;
    font-size: 15px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(12, 90, 154, 0.4);
    transition: all 0.3s ease;
    margin-top: 5px;
}

.btn-portal-submit:hover {
    background: linear-gradient(135deg, var(--brand-blue-hover) 0%, #2e4ba8 100%);
    box-shadow: 0 6px 20px rgba(12, 90, 154, 0.6);
}

.portal-modal-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 12px;
    color: #64748b;
}

.portal-modal-footer a {
    color: var(--brand-cyan);
    text-decoration: none;
}

.portal-modal-footer a:hover {
    text-decoration: underline;
}

/* Mobile Nav Toggle */
.nav-toggle-btn {
    display: none;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 26px;
    cursor: pointer;
    padding: 5px;
}

@media (max-width: 992px) {
    .nav-toggle-btn {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--bg-surface);
        flex-direction: column;
        align-items: flex-start;
        padding: 25px 8%;
        gap: 18px;
        border-bottom: 1px solid rgba(12, 90, 154, 0.25);
        box-shadow: 0 15px 30px rgba(0,0,0,0.5);
    }

    .nav-links.nav-open {
        display: flex;
    }

    .dropdown-content {
        position: static;
        box-shadow: none;
        border: none;
        padding: 5px 0 5px 15px;
        background: transparent;
    }

    .nav-action {
        display: none;
    }

    /* Footer: 2 columns on tablets */
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 30px;
        margin-bottom: 45px;
    }

    .service-container,
    .main-content-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .more-projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablet portrait & medium screens (<= 768px) */
@media (max-width: 768px) {
    /* Adjust hero section */
    .hero-section {
        min-height: 60vh;
        padding: 0 5% 8vh 5%;
    }
    .hero-content h1 {
        font-size: 34px;
        line-height: 1.15;
    }
    .hero-content p {
        font-size: 15px;
    }
    .btn-hero-contact {
        padding: 10px 24px;
        font-size: 14px;
    }

    /* Stack section grids */
    .about-grid,
    .services-grid,
    .glance-grid,
    .projects-grid,
    .more-projects-grid {
        grid-template-columns: 1fr;
    }
    .about-grid {
        gap: 30px;
    }
    .services-grid {
        gap: 30px;
    }
    .glance-grid {
        gap: 20px;
    }
    .projects-grid {
        gap: 20px;
    }

    /* Client carousel layout */
    .client-cards-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    .client-card {
        width: 90%;
        max-width: 360px;
        height: auto;
        padding: 20px;
    }

    /* Navbar */
    .navbar {
        padding: 12px 5%;
    }

    /* Footer tablet adjustments */
    .footer-section {
        padding: 60px 5% 30px;
    }
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 35px 25px;
        margin-bottom: 40px;
    }
}

/* Mobile phones & small devices (<= 576px) */
@media (max-width: 576px) {
    .navbar {
        padding: 10px 4%;
    }
    .logo {
        padding: 4px 10px;
    }
    .brand-logo-img {
        height: 34px;
        max-width: 130px;
    }

    .hero-section {
        min-height: 50vh;
        padding: 0 4% 6vh 4%;
    }
    .hero-content h1 {
        font-size: 26px;
        line-height: 1.2;
        margin-bottom: 14px;
    }
    .hero-content p {
        font-size: 14px;
        margin-bottom: 22px;
    }
    .btn-hero-contact {
        padding: 9px 20px;
        font-size: 13px;
    }

    .about-section,
    .services-section,
    .glance-section,
    .projects-section {
        padding: 50px 4%;
    }

    .about-main-heading {
        font-size: 26px;
    }
    .about-lead {
        font-size: 15px;
    }

    .services-section h2,
    .glance-section h2,
    .projects-section h2 {
        font-size: 26px;
        margin-bottom: 30px;
    }

    .cta-section {
        padding: 50px 4%;
    }
    .cta-section h2 {
        font-size: 26px;
        line-height: 1.25;
        margin-bottom: 14px;
    }
    .cta-section p {
        font-size: 14px;
        line-height: 1.5;
        margin-bottom: 22px;
    }
    .btn-cta {
        padding: 10px 24px;
        font-size: 14px;
    }

    .glance-card {
        padding: 20px 12px;
    }
    .service-card h3 {
        font-size: 19px;
    }
    .service-card p {
        font-size: 13px;
    }
    .read-more-link {
        font-size: 14px;
    }
    .client-card {
        width: 100%;
        padding: 16px;
    }
    .nav-toggle-btn {
        font-size: 24px;
    }

    /* Subpages grids and cards */
    .values-grid,
    .team-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .service-hero-content h1,
    .about-hero-content h1,
    .projects-hero-content h1,
    .project-hero-content h1 {
        font-size: 28px;
        line-height: 1.2;
    }
    .filter-dropdown {
        width: 100%;
    }

    /* Modal dialog */
    .portal-modal {
        padding: 25px 18px;
        width: 95%;
    }

    /* Contact map mobile adjustments */
    .contact-map-wrapper {
        padding: 12px;
        margin: 16px 0 24px;
    }
    .contact-map-frame {
        height: 220px;
    }
    .map-pin-header {
        font-size: 13px;
        gap: 8px;
    }
    .btn-directions {
        width: 100%;
        justify-content: center;
        padding: 9px 12px;
        font-size: 13px;
    }

    /* Footer: 1 column full-width stack for mobile */
    .footer-section {
        padding: 45px 5% 25px;
    }
    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 35px;
    }
    .footer-brand .brand-logo-img {
        height: 38px;
    }
    .footer-col {
        width: 100%;
    }
    .footer-col h3 {
        font-size: 17px;
        margin-bottom: 12px;
        padding-left: 8px;
    }
    .footer-col ul li {
        margin-bottom: 9px;
    }
    .footer-col ul li a {
        font-size: 14px;
        display: inline-block;
        padding: 2px 0;
    }
    .footer-contact p {
        font-size: 14px;
        margin-bottom: 8px;
        word-break: break-word;
    }
    .footer-bottom {
        padding-top: 22px;
        font-size: 12px;
        line-height: 1.5;
    }
}