/* ===== BASE STYLES & VARIABLES ===== */
        :root {
            --primary: #0a3d62;
            --primary-light: #1e5f8a;
            --primary-dark: #07334f;
            --secondary: #0a3d62;
            --secondary-light: #1e5f8a;
            --dark: #333333;
            --light: #ffffff; /* set global light background to pure white */
            --gray: #6c757d;
            --success: #28a745;
            --danger: #dc3545;
            --transition: all 0.3s ease;
            --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            --shadow-strong: 0 8px 30px rgba(0, 0, 0, 0.2);
            --border-radius: 4px;
            --focus-ring: #0a3d62; /* define focus ring colour to avoid undefined var */
            
            /* Typography System */
            --font-primary: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', 'Liberation Sans', sans-serif;
            --font-size-heading: 1.8rem; /* unified heading size base */
            --font-size-subheading: 1.2rem; /* unified subheading size */
            --font-size-body: 1rem; /* unified body size */
            --font-weight-heading: 600;
            --font-weight-subheading: 500;
            --font-weight-body: 400;
            --line-height: 1.5;
            --heading-color: #1f2937; /* unified dark slate for headings */
            --body-color: #1f2937; /* same color across body text */
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        html {
            scroll-behavior: smooth;
            scroll-padding-top: 105px; /* Adjusted for taller navbar (1.5x) */
        }

        /* When a modal is open, disable smooth scrolling to avoid focus-induced jumps */
        html.modal-open {
            scroll-behavior: auto !important;
        }

        /* Offset page content so it sits below the fixed navbar */
        main {
            margin-top: 105px; /* match .site-header height */
        }

        /* Ensure anchor navigation (e.g., #sustainability) accounts for fixed header */
        .section[id] {
            scroll-margin-top: 105px; /* prevent headings from hiding beneath navbar on hash navigation */
        }

        body {
            font-family: var(--font-primary);
            font-size: var(--font-size-body);
            font-weight: var(--font-weight-body);
            color: var(--body-color);
            line-height: var(--line-height);
            background-color: var(--light);
            overflow-x: hidden;
            text-transform: none; /* remove global all caps */
        }

        a {
            color: var(--primary);
            text-decoration: none;
            transition: var(--transition);
        }

        a:hover {
            color: var(--primary-light);
        }

        img {
            max-width: 100%;
            height: auto;
        }

        .container {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        .section {
            padding: 60px 10px; /* 60px top/bottom, 10px left/right padding */
            position: relative;
            overflow: hidden;
        }
/* Achievements section with 10px horizontal padding */
.section.achievements {
  padding-left: 10px;
  padding-right: 10px;
}
/* Projects section with 10px horizontal padding */
.section.projects {
  padding-left: 10px;
  padding-right: 10px;
}
.projects .container {
  max-width: none;
  padding-left: 10px;
  padding-right: 10px;
}

/* Services section with 10px horizontal padding */
.section.services {
  padding-left: 10px;
  padding-right: 10px;
}
.services .container {
  max-width: none;
  padding-left: 10px;
  padding-right: 10px;
}

/* Clients section with 10px horizontal padding */
.section.clients {
  padding-left: 10px;
  padding-right: 10px;
}
.clients .container {
  max-width: none;
  padding-left: 10px;
  padding-right: 10px;
}

/* Sustainability & CSR section with 10px horizontal padding */
#sustainability {
  padding-left: 10px;
  padding-right: 10px;
}
#sustainability .container {
  max-width: none;
  padding-left: 10px;
  padding-right: 10px;
}

/* Newsroom section with 10px horizontal padding */
#newsroom {
  padding-left: 10px;
  padding-right: 10px;
}
#newsroom .container {
  max-width: none;
  padding-left: 10px;
  padding-right: 10px;
}

/* Connect With Us (Location) section with 10px horizontal padding */
#location {
  padding-left: 10px;
  padding-right: 10px;
}
#location .container {
  max-width: none;
  padding-left: 10px;
  padding-right: 10px;
}

/* Careers full-bleed: edge-to-edge */
#careers {
  padding-left: 10px;
  padding-right: 10px;
}
#careers .container {
  max-width: none;
  padding-left: 10px;
  padding-right: 10px;
}
#careers .careers-container {
  max-width: none;
  padding-left: 10px;
  padding-right: 10px;
}

        .section-title {
            font-family: var(--font-primary);
            font-size: var(--font-size-heading);
            font-weight: var(--font-weight-heading);
            margin-bottom: 24px; /* was 40px: tighten space under heading */
            text-align: center;
            position: relative;
            color: var(--primary);
            animation: fadeInUp 1s ease both;
        }

        .section-title::after {
            content: none;
            display: none;
        }

        .grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

        .grid-2 {
            grid-template-columns: repeat(2, 1fr);
        }

        .grid-3 {
            grid-template-columns: repeat(3, 1fr);
        }

        .grid-5 {
            grid-template-columns: repeat(5, 1fr);
        }

        .center {
            text-align: center;
            margin-top: 40px;
        }

        /* ===== BUTTONS ===== */
        .btn-primary, .btn-secondary {
            display: inline-block;
            padding: 12px 28px;
            border-radius: var(--border-radius);
            font-weight: 600;
            text-transform: none; /* no caps */
            letter-spacing: 0.3px; /* subtle spacing for a refined look */
            cursor: pointer;
            transition: var(--transition);
            border: none;
            font-size: 0.9rem;
        }

        .btn-primary {
            background-color: var(--primary);
            color: white;
        }

        .btn-primary:hover {
            background-color: var(--primary-light);
            transform: translateY(-3px);
            box-shadow: var(--shadow);
        }

        .btn-secondary {
            background-color: var(--secondary);
            color: white;
        }

        .btn-secondary:hover {
            background-color: var(--secondary-light);
            transform: translateY(-3px);
            box-shadow: var(--shadow);
        }

        /* ===== HEADER AND NAVIGATION ===== */
        .site-header {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            z-index: 1000;
            background-color: #ffffff; /* solid white header background */
            box-shadow: none;
            backdrop-filter: none;
            transition: var(--transition);
            height: 105px; /* Increased navbar height to 1.5x */
            border-bottom: 0; /* no translucent edge */
        }

        .nav-container {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 15px 0; /* Increased to match taller navbar */
        }

        /* Navbar container: solid white, no transparency */
        .site-header .container.nav-container {
            background: #ffffff;
            -webkit-backdrop-filter: none;
            backdrop-filter: none;
            border: none;
            border-radius: 0; /* square edges */
            padding: 12px 18px;
            margin: 0; /* sit flush at top */
            box-shadow: none;
        }

.logo {
            display: block;
            width: 254px; /* +30% from 195px to enhance navbar branding */
            transition: var(--transition);
        }

        .logo img {
            width: 100%;
            height: auto;
            transition: transform 0.3s ease;
        }

        .logo:hover img {
            transform: scale(1.05);
        }

        @keyframes logo-glow {
          0%, 100% {
            filter: drop-shadow(0 0 0 rgba(10,61,98,0));
          }
          50% {
            filter: drop-shadow(0 0 10px rgba(10,61,98,0.55)) drop-shadow(0 0 20px rgba(10,61,98,0.35));
          }
        }

        @media (prefers-reduced-motion: reduce) {
          .logo img {
            animation: none !important;
            filter: none !important;
          }
        }

        .hamburger {
            display: none;
            background: none;
            border: none;
            cursor: pointer;
            width: 30px;
            height: 24px;
            position: relative;
            z-index: 1001;
        }

        .hamburger span {
            display: block;
            width: 100%;
            height: 3px;
            background-color: var(--primary);
            margin: 5px 0;
            transition: var(--transition);
            border-radius: 0; /* square hamburger bars */
        }

        .nav-list {
            display: flex;
            list-style: none;
            margin: 0;
            padding: 0;
            gap: 10px;
            align-items: center;
        }

        .nav-item {
            position: relative;
            animation: fadeInDown 0.5s forwards;
            opacity: 0;
        }

        .nav-item:nth-child(1) { animation-delay: 0.1s; }
        .nav-item:nth-child(2) { animation-delay: 0.2s; }
        .nav-item:nth-child(3) { animation-delay: 0.3s; }
        .nav-item:nth-child(4) { animation-delay: 0.4s; }
        .nav-item:nth-child(5) { animation-delay: 0.5s; }
        .nav-item:nth-child(6) { animation-delay: 0.6s; }

        .nav-item a, .dropdown-toggle {
            display: block;
            padding: 8px 12px; /* Reduced padding for smaller navbar */
            color: var(--primary);
            font-weight: 600;
            transition: var(--transition);
            border-radius: 0; /* square link edges */
            font-size: 1.1rem; /* Match SOLCON brand prominence */
        }

        .nav-item a:hover, .dropdown-toggle:hover {
            color: var(--primary);
            background-color: rgba(10, 61, 98, 0.1);
        }

        .nav-item.highlight a {
            background: none;
            color: var(--primary);
        }

        .nav-item.highlight a:hover {
            color: var(--primary);
            background-color: rgba(10, 61, 98, 0.1);
            transform: none;
            box-shadow: none;
        }
        .dropdown-toggle {
            background: none;
            border: none;
            cursor: pointer;
            font-size: 1.1rem; /* Match SOLCON brand prominence */
            display: flex;
            align-items: center;
            gap: 5px;
        }

        .dropdown-toggle::after {
            content: '▼';
            font-size: 0.7rem;
            transition: var(--transition);
        }

        .dropdown-toggle[aria-expanded="true"]::after {
            transform: rotate(180deg);
        }

        .dropdown-menu {
            position: absolute;
            top: 100%;
            left: 0;
            min-width: 200px;
            background-color: white;
            border-radius: 0; /* square dropdown edges */
            box-shadow: var(--shadow);
            opacity: 0;
            visibility: hidden;
            transform: translateY(10px);
            transition: var(--transition);
            z-index: 100;
            list-style: none;
            padding: 10px 0;
        }

        .dropdown-toggle[aria-expanded="true"] + .dropdown-menu {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        .dropdown-menu a {
            padding: 10px 20px;
            display: block;
            color: var(--primary);
            transition: var(--transition);
            font-size: 1.1rem; /* Match nav link size */
        }

        .dropdown-menu a:hover {
            background-color: rgba(10, 61, 98, 0.1);
            color: var(--primary);
        }

        /* ===== HERO SECTION ===== */
.hero {
            position: relative;
            height: calc(100vh - 105px); /* start hero below fixed navbar height */
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            text-align: center;
        }

.hero-video {
            position: absolute;
            top: 0; /* begin at top of hero (which is already below navbar) */
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            z-index: 0; /* ensure video is visible above section background */
            pointer-events: none; /* prevent video from blocking interactions */
            animation: scaleVideo 20s infinite alternate ease-in-out;
        }

        @keyframes scaleVideo {
            from { transform: scale(1); }
            to { transform: scale(1.1); }
        }

        .hero-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            /* Layered, modern glassy overlay */
            background:
              radial-gradient(80vmax 80vmax at 10% 15%, rgba(255,255,255,0.07), transparent 60%),
              radial-gradient(70vmax 70vmax at 85% 80%, rgba(255,255,255,0.06), transparent 55%),
              linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.35));
            backdrop-filter: saturate(120%) blur(2px);
            z-index: -1; /* keep overlay behind text pseudo-elements */
        }

        /* Floating light blobs with scroll parallax on hero */
        .hero-overlay::before,
        .hero-overlay::after {
            content: '';
            position: absolute;
            inset: -20%;
            pointer-events: none;
            will-change: transform, opacity;
        }

        .hero-overlay::before {
            background: radial-gradient(40vmax 40vmax at 20% 30%, rgba(59,130,246,0.18), transparent 60%);
            transform: translate3d(0, calc(var(--heroPY, 0) * 0.35), 0);
            filter: blur(28px);
        }

        .hero-overlay::after {
            background: radial-gradient(50vmax 50vmax at 80% 70%, rgba(30,95,138,0.16), transparent 62%);
            transform: translate3d(0, calc(var(--heroPY, 0) * 0.6), 0);
            filter: blur(32px);
        }

        .hero::after {
            content: 'Building Tomorrow\'s Infrastructure Today';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            font-size: 3.5rem;
            font-weight: 700;
            color: white;
            text-align: center;
            max-width: 80%;
            text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
            animation: fadeIn 2s ease;
        }

        .hero::before {
            content: 'Solcon Engineering Consultants';
            position: absolute;
            top: calc(50% - 80px);
            left: 50%;
            transform: translate(-50%, -50%);
            font-size: 1.5rem;
            color: var(--primary);
            text-transform: none; /* no caps */
            letter-spacing: 0.8px;
            text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
            animation: fadeIn 1.5s ease;
        }

        /* (deprecated Achievements styles removed to avoid duplicates) */

        /* ===== PROJECTS & SERVICES SECTIONS ===== */
        .parallax {
            position: relative;
            background-attachment: fixed;
            background-position: center;
            background-repeat: no-repeat;
            background-size: cover;
        }

.parallax-primary {
    background-image:
      radial-gradient(80vmax 80vmax at -10% -10%, rgba(59,130,246,0.08), transparent 55%),
      radial-gradient(70vmax 70vmax at 110% 120%, rgba(10,61,98,0.08), transparent 60%),
      linear-gradient(180deg, #f8fafc 0%, #ffffff 60%);
}

        .parallax-alt {
            background-image:
              radial-gradient(80vmax 80vmax at 120% -20%, rgba(30,95,138,0.08), transparent 60%),
              radial-gradient(75vmax 75vmax at -20% 120%, rgba(30,95,138,0.08), transparent 60%),
              linear-gradient(180deg, #ffffff 0%, #f9fafb 60%);
        }

        /* Parallax with imagery: Architecture and Engineering */
        .parallax-architecture {
            background-image:
              radial-gradient(80vmax 80vmax at -10% -10%, rgba(59,130,246,0.08), transparent 55%),
              radial-gradient(70vmax 70vmax at 110% 120%, rgba(16,185,129,0.08), transparent 60%),
              linear-gradient(180deg, rgba(248,250,252,0.65), rgba(255,255,255,0.65)),
              url("Services/Banner/2 Architecture.jpg");
        }

        .parallax-engineering {
            background-image:
              radial-gradient(80vmax 80vmax at 120% -20%, rgba(30,95,138,0.10), transparent 60%),
              radial-gradient(75vmax 75vmax at -20% 120%, rgba(30,95,138,0.10), transparent 60%),
              linear-gradient(180deg, rgba(255,255,255,0.60), rgba(249,250,251,0.60)),
              url("Services/Banner/4 MEP.jpg");
        }

        /* Add decorative parallax layers */
        .section.parallax::before,
        .section.parallax::after {
            content: '';
            position: absolute;
            inset: -25%;
            pointer-events: none;
            will-change: transform, opacity;
        }
        .section.parallax::before {
            background: radial-gradient(45vmax 45vmax at 15% 25%, rgba(59,130,246,0.12), transparent 65%);
            transform: translate3d(0, calc(var(--pY, 0) * 0.35), 0);
            filter: blur(30px);
        }
        .section.parallax::after {
            background: radial-gradient(55vmax 55vmax at 85% 75%, rgba(30,95,138,0.12), transparent 68%);
            transform: translate3d(0, calc(var(--pY, 0) * 0.6), 0);
            filter: blur(32px);
        }

        .section-header {
            margin-bottom: 40px;
        }

        .filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
}

.filter-btn {
    background: #fff;
    border: 1px solid #ddd;
    padding: 8px 18px;
    border-radius: 4px;
    font-size: 14px;
    color: #222;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    white-space: normal;
    text-align: center;
}

.filter-btn:hover {
    background: #f5f5f5;
}

.filter-btn.active, .client-filter-btn.active {
    background-color: var(--primary);
    color: #fff;
    border-color: var(--primary);
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(10,61,98,0.25);
}

        /* ===== PROJECT CARDS ===== */
.project-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    cursor: pointer;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-strong);
}

.card-img-container {
    overflow: hidden;
    position: relative;
    aspect-ratio: 4/3; /* Modern approach to maintain aspect ratio */
}

.project-card .card-img-container {
    height: 250px; /* Fixed height for project images */
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .card-img {
    transform: scale(1.05); /* More subtle zoom effect */
}

.card-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-title {
    font-family: var(--font-primary);
    font-size: var(--font-size-subheading);
    font-weight: var(--font-weight-subheading);
    margin-bottom: 10px;
    color: var(--body-color);
    transition: color 0.3s ease;
}

.project-card:hover .card-title {
    color: var(--body-color);
}

.card-desc {
    color: var(--gray);
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3; /* Limit description to 3 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Optional: Add a subtle overlay on hover */
.card-img-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .card-img-container::after {
    opacity: 1;
}

        /* Service Card Container */
.service-card {
  position: relative;
  overflow: hidden;
  border-radius: 0; /* rectangle only */
  background: #fff;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  text-align: center;
  padding: 20px 15px;
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-4px);
}

/* Service Icon */
.service-card img,
.service-card svg {
  max-width: 80px;   /* 👈 icon size decreased */
  height: auto;      /* maintain proportion */
  margin: 0 auto 12px auto;
  display: block;
}

/* Service Name */
.service-card .service-name, .service-card .title {
  font-family: var(--font-primary);
  font-size: var(--font-size-subheading);
  font-weight: var(--font-weight-subheading);
  color: var(--body-color);
  text-transform: none; /* sentence/regular case */
  margin-top: 8px;
}

/* Overlay (optional hover effect) */
.service-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 61, 98, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
}

.service-card:hover .service-overlay {
  opacity: 1;
}

        /* ===== MODAL STYLES ===== */
        .modal {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            z-index: 2000;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            visibility: hidden;
            transition: var(--transition);
        }

        .modal[aria-hidden="false"] {
            opacity: 1;
            visibility: visible;
        }

        .modal-backdrop {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: rgba(0, 0, 0, 0.7);
            backdrop-filter: blur(5px);
        }

        .modal-content {
            position: relative;
            background-color: white;
            border-radius: var(--border-radius);
            max-width: 800px;
            width: 90%;
            max-height: 90vh;
            overflow-y: auto;
            padding: 30px;
            margin: 20px;
            transform: scale(0.9);
            transition: transform 0.3s ease;
            box-shadow: var(--shadow-strong);
        }

        /* Slide counter for project modal */
        #project-slide-counter {
          margin: 8px 0 12px;
          font-size: 0.95rem;
          color: #555;
        }

        .modal[aria-hidden="false"] .modal-content {
            transform: scale(1);
        }

        .modal-close {
            position: absolute;
            top: 15px;
            right: 15px;
            background: none;
            border: none;
            font-size: 1.5rem;
            cursor: pointer;
            color: var(--gray);
            transition: var(--transition);
            z-index: 1;
        }

        .modal-close:hover {
            color: var(--danger);
            transform: rotate(90deg);
        }

        /* Slideshow container used inside all modals (project, services, newsroom, sustainability) */
        .slideshow,
        .modal-nav { /* older markup used `modal-nav`; keep for backward compatibility */
            position: relative;
            margin: 20px 0;
        }

        .slides-container {
            overflow: hidden;
            border-radius: var(--border-radius);
            position: relative; /* ensures nav buttons anchor consistently over slides */
        }

        .slide-nav {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background-color: rgba(255, 255, 255, 0.7);
            border: none;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            font-size: 1.2rem;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: var(--transition);
            z-index: 1;
        }

        .slide-nav:hover {
            background-color: white;
            box-shadow: var(--shadow);
        }

        .slide-nav.prev {
            left: 10px;
        }

        .slide-nav.next {
            right: 10px;
        }

        /* ===== GLOBAL REACH SECTION ===== */
        .global-reach {
            background-color: white;
        }

        .global-reach-container {
            width: 100%;
            overflow: hidden;
            border-radius: var(--border-radius);
            box-shadow: var(--shadow);
        }

        .global-reach-img {
            width: 100%;
            height: 680px;
            object-fit: cover;
            display: block;
        }

        /* ===== CONTACT SECTION ===== */
        .contact-container {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 40px;
        }

        .contact-info {
            display: flex;
            flex-direction: column;
            gap: 25px;
        }

        .contact-item {
            display: flex;
            align-items: flex-start;
            gap: 15px;
        }

        .contact-icon {
            width: 50px;
            height: 50px;
            background-color: var(--primary);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }

        .contact-icon svg {
            width: 24px;
            height: 24px;
            fill: white;
        }

        .contact-details {
            display: flex;
            flex-direction: column;
        }

        .contact-type {
            font-weight: 600;
            color: var(--primary);
            margin-bottom: 5px;
        }

        .contact-value {
            color: var(--dark);
            font-size: 1.1rem;
        }

        .contact-form {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

        .form-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px;
        }

        .contact-form label {
            display: flex;
            flex-direction: column;
            gap: 5px;
            font-weight: 500;
        }

        .contact-form input,
        .contact-form textarea {
            padding: 12px;
            border: 1px solid #ddd;
            border-radius: var(--border-radius);
            transition: var(--transition);
        }

        .contact-form input:focus,
        .contact-form textarea:focus {
            border-color: var(--primary);
            outline: none;
            box-shadow: 0 0 0 2px rgba(10, 61, 98, 0.2);
        }

        .contact-form button {
            align-self: flex-start;
        }

        .social-icons {
            display: flex;
            justify-content: center;
            gap: 20px;
            margin-top: 40px;
        }

        .social-icon {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 54px; /* slightly larger for visibility */
            height: 54px;
            border-radius: 50%;
            background-color: white;
            box-shadow: var(--shadow);
            transition: var(--transition);
        }

        .social-icon:hover {
            transform: translateY(-5px) rotate(360deg);
            box-shadow: var(--shadow-strong);
            /* keep original icon colors; do not recolor background on hover */
        }

        .social-icon:hover img {
            /* keep original brand colors */
            filter: none;
        }

        .social-icon img {
            width: 28px; /* bump icon size for visibility */
            height: 28px;
            transition: var(--transition);
        }

        /* ===== FOOTER ===== */
        .site-footer {
            background-color: var(--primary);
            color: white;
            padding: 30px 0;
        }

        .footer-inner {
  position: relative;
  display: flex;
  justify-content: flex-end; /* push the back-to-top to the right */
  align-items: center;
}

.footer-inner p {
  position: absolute;
  left: 50%;
  transform: translateX(-50%); /* perfectly centers the text */
  margin: 0; /* remove extra spacing */
}
/* Mobile: prevent footer overlap */
@media (max-width: 767px) {
  .footer-inner {
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
  }
  .footer-inner p {
    position: static;
    left: auto;
    transform: none;
    margin: 0;
    order: 2; /* place text below icons */
  }
  .site-footer .social-icons {
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    order: 1; /* place icons above text */
  }
  .site-footer .back-to-top {
    order: 3; /* place after text and icons */
  }
}

/* Desktop: icons centered above text, back-to-top on right */
@media (min-width: 768px) {
  .footer-inner {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-auto-rows: auto;
    align-items: center;
    row-gap: 12px;
  }
  /* Center icons using grid, placed above text */
  .site-footer { position: relative; padding-top: 30px; }
  .site-footer .social-icons {
    position: static;
    left: auto;
    transform: none;
    top: auto;
    grid-column: 1 / -1;
    grid-row: 1;
    justify-content: center;
    margin-top: 0;
    gap: 16px;
    width: auto; /* keep natural width of icons row */
    white-space: nowrap; /* keep in single line on desktop */
  }
  .footer-inner p {
    position: static;
    left: auto;
    transform: none;
    margin: 0;
    grid-column: 2;
    grid-row: 2;
    justify-self: center;
  }
  /* Anchor back-to-top to the screen's right edge */
  .site-footer .back-to-top {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
  }
}

/* Footer social icons overrides */
.site-footer .social-icons {
  margin-top: 0;
  gap: 12px;
  justify-content: center;
}
@media (max-width: 576px) {
  .site-footer .social-icons {
    justify-content: center;
  }
}


        /* ===== ANIMATIONS ===== */
        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes fadeInDown {
            from {
                opacity: 0;
                transform: translateY(-20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Motion accessibility */
        @media (prefers-reduced-motion: reduce) {
          .hero-video { animation: none !important; }
          .hero-overlay::before,
          .hero-overlay::after,
          .section.parallax::before,
          .section.parallax::after {
            transform: none !important;
            animation: none !important;
          }
        }

        /* ===== RESPONSIVE STYLES ===== */
        @media (max-width: 1200px) {
            .grid-5 {
                grid-template-columns: repeat(3, 1fr);
            }

            .hero::after {
                font-size: 3rem;
            }
        }

        @media (max-width: 992px) {
            .section-title {
                font-size: calc(var(--font-size-heading) * 0.9);
            }

            .grid-2 {
                grid-template-columns: 1fr;
                gap: 40px;
            }
            
            .contact-container {
                grid-template-columns: 1fr;
            }

            .form-row {
                grid-template-columns: 1fr;
            }

            .hero::after {
                font-size: 2.5rem;
            }

            .hero::before {
                font-size: 1.2rem;
                top: calc(50% - 60px);
            }
        }

        @media (max-width: 768px) {
            .hamburger {
                display: block;
            }

            .main-nav {
                position: fixed;
                top: 0;
                right: -100%;
                width: 80%;
                max-width: 300px;
                height: 100vh;
                background-color: rgba(255, 255, 255, 0.88);
                -webkit-backdrop-filter: saturate(180%) blur(12px);
                backdrop-filter: saturate(180%) blur(12px);
                box-shadow: var(--shadow-strong);
                padding: 80px 20px 20px;
                transition: right 0.3s ease;
                overflow-y: auto;
                z-index: 1000;
            }

            .main-nav.active {
                right: 0;
            }

            .nav-list {
                flex-direction: column;
                gap: 5px;
            }

            .dropdown-menu {
                position: static;
                opacity: 1;
                visibility: visible;
                transform: none;
                box-shadow: none;
                padding: 0 0 0 20px;
                max-height: 0;
                overflow: hidden;
                transition: max-height 0.3s ease;
            }

            .dropdown-toggle[aria-expanded="true"] + .dropdown-menu {
                max-height: 200px;
            }

            .grid-5 {
                grid-template-columns: 1fr;
            }

            #projects-grid,
            #services-grid {
                grid-template-columns: 1fr;
            }

            .filters {
                flex-direction: column;
                align-items: center;
            }

            .filter-btn, .client-filter-btn {
                width: 100%;
                text-align: center;
            }

            .stat {
                padding: 20px;
            }

            .global-reach-img {
                height: 200px;
            }
        }

        @media (max-width: 576px) {
            .section {
                padding: 60px 0;
            }

            .section-title {
                font-size: 1.75rem;
            }

            .grid-5 {
                grid-template-columns: 1fr;
            }

            .hero::after {
                font-size: 1.75rem;
            }

            .hero::before {
                font-size: 0.9rem;
                top: calc(50% - 40px);
            }

            .modal-content {
                padding: 20px;
            }

            .footer-inner {
                flex-direction: column;
                gap: 20px;
                text-align: center;
            }
            
            .project-card .card-img-container {
                height: 200px; /* Slightly smaller on mobile */
            }
        }

        /* Project Grid */
#projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Mobile: stack projects one per row (placed after base for proper cascade) */
@media (max-width: 767px) {
  #projects-grid {
    grid-template-columns: 1fr;
  }
}

/* Sustainability & CSR Grid - mirror Projects grid */
#sustainability-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Mobile: stack sustainability tiles */
@media (max-width: 767px) {
  #sustainability-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* Sustainability Cards - mirror Projects cards */
#sustainability-grid .project-card {
  display: flex;
  flex-direction: column;
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 6px 14px rgba(0,0,0,0.1);
  background: #fff;
  height: 100%;
  transition: transform 0.2s ease;
}
#sustainability-grid .project-card:hover {
  transform: translateY(-4px);
}

/* Project Card */
#projects-grid .project-card {
  display: flex;
  flex-direction: column;
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 6px 14px rgba(0,0,0,0.1);
  background: #fff;
  height: 100%;
  transition: transform 0.2s ease;
}

#projects-grid .project-card:hover {
  transform: translateY(-4px);
}

/* Card Image */
#projects-grid .project-card img {
  width: 100%;
  height: 338px; /* 30% increase from 260px */
  object-fit: cover;
}

/* Sustainability card image sizing — match Projects */
#sustainability-grid .project-card img {
  width: 100%;
  height: 338px; /* match projects image height */
  object-fit: cover;
}

@media (max-width: 767px) {
  #sustainability-grid .project-card img {
    height: 260px; /* scale down on mobile similar to projects */
  }
}

/* Remove bullets in Sustainability & CSR section */
#sustainability ul,
#sustainability ol {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
}

.badge {
  text-align: center;
  padding-top: 5px;
  font-size: 13px;
  font-weight: 500;
  color: #444;
}
/* Card ke andar jo pehla badge hoga */
#projects-grid .project-card .badge {
  text-align: center;
  padding-top: 5px;
  font-size: 13px;
  font-weight: 500;
  color: #444;
  display: block;
}

/* Card ke andar jo last element hoga (yani title) */
#projects-grid .project-card div:last-child {
  text-align: center;
  padding-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  display: block;
}

/* Project card parent should be relative */
#projects-grid .project-card,
#sustainability-grid .project-card,
#newsroom-grid .project-card {
  position: relative;
  overflow: hidden;
}

/* Title overlay for all three grids */
#projects-grid .project-card .title,
#sustainability-grid .project-card .title,
#newsroom-grid .project-card .title {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0,0,0,0.6);
  color: #fff;
  text-align: center;
  padding: 10px;
  font-family: var(--font-primary);
  font-size: var(--font-size-subheading);
  font-weight: var(--font-weight-subheading);
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Hover show overlay */
#projects-grid .project-card:hover .title,
#sustainability-grid .project-card:hover .title,
#newsroom-grid .project-card:hover .title {
  opacity: 1;
}

/* Badge overlay for all three grids */
#projects-grid .project-card .badge,
#sustainability-grid .project-card .badge,
#newsroom-grid .project-card .badge {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255,255,255,0.8);
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Hover show badge */
#projects-grid .project-card:hover .badge,
#sustainability-grid .project-card:hover .badge,
#newsroom-grid .project-card:hover .badge {
  opacity: 1;
}


/* =========================
   CLIENT SECTION CSS
   ========================= */

/* Section Title */
.section-title {
  text-align: center;
  font-family: var(--font-primary);
  font-size: var(--font-size-heading);
  font-weight: var(--font-weight-heading);
  margin-bottom: 24px; /* unify spacing under section headings */
  color: #0a3d62;
}

/* ==== Filter Buttons ==== */
/* ==== Filter Buttons (Square Style) ==== */
.filters {
  margin-bottom: 30px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;       /* wrap allowed */
  gap: 10px;
}

.client-filter-btn {
  background: #fff;
  border: 1px solid #ddd;
  padding: 8px 18px;     /* square look ke liye thoda balance padding */
  border-radius: 4px;    /* almost square (no rounded corners) */
  font-family: var(--font-primary);
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-body);
  color: #222;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  white-space: normal;   /* wrapping allowed */
  text-align: center;
}

.client-filter-btn:hover {
  background: #f5f5f5;
}

.client-filter-btn.active {
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(10,61,98,0.25);
}

/* ==== Clients Grid ==== */
/* Clients grid: 4 columns on desktop so rows with 4 logos are centered evenly */
#clients-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  align-items: center;
  justify-items: center;
}

/* Public Companies: use 5 columns (5x5 layout) */
#clients-grid.grid-5 {
  grid-template-columns: repeat(5, 1fr);
}

/* Mobile: show two logos per row in Clients section (including grid-5 variant) */
@media (max-width: 768px) {
  #clients-grid, #clients-grid.grid-5 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Client Card / Logo Container */
.client-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 0;
  padding: 20px;
  width: 100%;
  height: 120px;               /* fixed height */
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.client-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.1);
}

/* Client Logos */
.client-card img {
  max-width: 100%;
  max-height: 80px;            /* sabhi logos ek size me */
  object-fit: contain;
}


.photo-frame.fullscreen {
  width: 100vw;       /* full viewport width */
  margin-left: calc(-50vw + 50%); /* cancel container padding */
}

.photo-frame.fullscreen img {
  width: 100%;
  display: block;
}


/* Two Column Layout */
.contact-section-grid {
  display: grid;
  grid-template-columns: 300px 1fr; /* left tiles + right map */
  gap: 40px;
  margin-top: 30px;
}

/* Left Side: Stack contact boxes vertically */
.contact-left {
  display: flex;
  flex-direction: column;
  gap: 25px; /* larger gap between boxes */
}

/* Contact Boxes - Bigger */
.contact-box {
  display: flex;
  flex-direction: column; /* title + details stacked */
  justify-content: center;
  align-items: flex-start; /* align to left */
  min-height: 123px;        /* allow taller content like Address */
  padding: 20px;            /* more padding */
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Address tile: ensure enough space for multi-line address */
.contact-box-address {
  min-height: 200px;
}

/* Icon + Title on same line */
.contact-title {
  display: flex;
  align-items: center;
  gap: 12px;                /* spacing between icon and title */
  margin-bottom: 10px;
  justify-content: flex-start;
}

.contact-title i {
  font-size: 28px;          /* bigger icon */
  color: #0a3d62;
}

.contact-title h4 {
  font-size: 18px;          /* bigger title */
  margin: 0;
  color: #333;
}

/* Details */
.contact-box p {
  margin: 0;
  font-size: 15px;          /* slightly bigger text */
  text-align: left;
}

.contact-box p a {
  color: #0a3d62;
  text-decoration: none;
}

.contact-box p a:hover {
  text-decoration: underline;
}

/* Right Side Form */
.contact-right {
  display: flex;
  flex-direction: column;
}

#contact-form input,
#contact-form textarea {
  width: 100%;
  padding: 10px 12px;
  margin-bottom: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

/* Map Card Styles */
.map-card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  padding: 16px;
}

.map-card p {
  margin-top: 0;
  margin-bottom: 12px;
}

.map-card a {
  color: #0a3d62;
  text-decoration: none;
}

.map-card a:hover {
  text-decoration: underline;
}

.map-frame {
  width: 100%;
  min-height: 420px;
  border: 0;
  border-radius: 6px;
}

.contact-full-form {
  margin-top: 32px;
}

.contact-full-form h3 {
  text-align: center;
}

.contact-full-form .contact-form {
  max-width: 100%;
}

.contact-full-form .form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(240px, 1fr));
  gap: 16px;
}

.contact-full-form button {
  margin-top: 8px;
  align-self: center;
}

/* Mobile Responsive */
@media (max-width: 991px) {
  .contact-section-grid {
    grid-template-columns: 1fr; /* stack left & right vertically */
  }
  .contact-left {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
  }
  .contact-box {
    width: 100%;
    min-height: 160px;
  }
  .contact-box-address {
    min-height: 220px;
  }
  .contact-full-form .form-row {
    grid-template-columns: 1fr;
  }
}


/*About Us Section */
/* ===========================
   History Section
=========================== */
#history {
  /* Let History section span full width without extra horizontal padding */
  padding-left: 0;
  padding-right: 0;
}

#history .container {
  max-width: none; /* edge-to-edge layout */
  width: 100%;
  margin: 0; /* no center constraints */
  text-align: center;
  padding: 0 10px; /* 10px padding on both sides */
}

#history p {
  font-size: 16px;
  line-height: 1.8;
  margin-top: 15px;
}

/* Cover image at the top of History text */
#history .history-cover {
  margin: 0 0 16px 0; /* no side margins, small gap below image */
}
#history .history-cover img {
  display: block;
  width: 100%;
  height: auto;
}

/* ===========================
   Timeline Section
=========================== */
#timeline {
  padding-left: 0;
  padding-right: 0;
}

#timeline .container {
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 0 10px; /* 10px padding on both sides */
}

/* Override the full-bleed frame for timeline to respect 10px padding */
#timeline .photo-frame.fullscreen {
  width: 100%;
  margin-left: 0;
}

#timeline .photo-frame img {
  width: 100%;
  height: auto;
  max-height: none;
  border-radius: 0;
  display: block;
  object-fit: contain;
}

/* ===========================
   Office Section
=========================== */
#office .grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 20px;
}

#office .card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

#office .card iframe {
  width: 100%;
  height: 200px;
  border-radius: 5px;
}

/* ===========================
   Key Members Section
=========================== */
#key-members-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 20px;
}

/* Mobile: stack key members tiles */
@media (max-width: 767px) {
  #key-members-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Key Members Cards - mirror Sustainability cards */
#key-members-grid .project-card {
  display: flex;
  flex-direction: column;
  border-radius: 8px; /* sleeker edges */
  overflow: hidden;
  box-shadow: 0 8px 18px rgba(0,0,0,0.12);
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  height: 100%;
  transition: transform 180ms ease, box-shadow 200ms ease;
  position: relative;
}

#key-members-grid .project-card:hover {
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 12px 22px rgba(0,0,0,0.16);
}

#key-members-grid .project-card img {
  width: 100%;
  height: 338px;
  object-fit: cover;
  transform: scale(1);
  transition: transform 220ms ease;
}

/* Title overlay for key members */
#key-members-grid .project-card .title {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0.35) 60%, rgba(0,0,0,0) 100%);
  color: #fff;
  text-align: center;
  padding: 10px;
  font-family: var(--font-primary);
  font-size: var(--font-size-subheading);
  font-weight: var(--font-weight-subheading);
  opacity: 1; /* always visible */
  transform: translateY(0); /* fixed position */
  transition: opacity 220ms ease, transform 220ms ease;
}

/* Hover show overlay */
#key-members-grid .project-card:hover .title {
  opacity: 1;
  transform: translateY(0);
}

/* Edge-to-edge layout for Key Members section with 10px side padding */
#key-members .container {
  max-width: 100%;
  padding-left: 10px;
  padding-right: 10px;
}

#key-members .subsection-title {
  margin-top: 22px;
  margin-bottom: 20px; /* increased gap between subheading and image */
  text-align: center;
  color: var(--primary);
}

#key-members .full-bleed img {
  width: 100%;
  height: auto;
  display: block;
}

/* Subtle image zoom on hover */
#key-members-grid .project-card:hover img {
  transform: scale(1.03);
}

/* Skeleton shimmer for instant perceived loading */
.skeleton {
  position: relative;
  background: #f0f0f0;
}
.skeleton::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.6) 50%, rgba(255,255,255,0) 100%);
  animation: shimmer 1.2s infinite;
}
@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* Member Modal header layout */
.member-header {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  align-items: center;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  padding-bottom: 12px;
}
.member-photo {
  width: 120px;
  height: 120px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 6px 14px rgba(0,0,0,0.12);
}
.member-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0 0 6px 0;
}
.member-position {
  font-size: 0.95rem;
  color: #444;
}
.member-iframe {
  width: 100%;
  min-height: 52vh;
  border: none;
  border-radius: 6px;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.06);
}

@media (max-width: 767px) {
  #key-members-grid .project-card img {
    height: 260px; /* scale down on mobile similar to sustainability */
  }
}

/* ===========================
   MOBILE RESPONSIVE BREAKPOINTS
=========================== */
@media (max-width: 991px) {
  /* Office cards stack vertically */
  #office .grid-2 {
    grid-template-columns: 1fr;
  }

  /* Key Members reduce columns */
  #key-members-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  /* Key Members single column */
  #key-members-grid {
    grid-template-columns: 1fr;
  }

  /* Timeline image: keep full-bleed without height constraint on mobile */
  #timeline .photo-frame img {
    max-height: none;
  }

  /* Office iframe smaller */
  #office .card iframe {
    height: 180px;
  }

  /* Reduce padding on office cards */
  #office .card {
    padding: 15px;
  }

  /* History paragraph smaller text */
  #history p {
    font-size: 15px;
  }

  /* Section padding smaller for mobile */
  .section {
    padding: 60px 15px;
  }
}



/* Newsroom grid - desktop */
@media (min-width: 992px) {
  #newsroom-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
  }

  #newsroom-grid img {
    width: 100%;
    height: 200px; /* same height for all */
    object-fit: cover; /* keeps image aspect and fills box */
    border-radius: 0; /* match Sustainability tile shape */
  }
}

/* Optional: for mobile, keep images responsive */
@media (max-width: 991px) {
  #newsroom-grid img {
    height: auto;
    object-fit: contain;
  }
}

/*Newsroom section*/
/* Card wrapper (each grid item) */
#newsroom-grid > div {
  position: relative;
  overflow: hidden;
  border-radius: 0; /* match Sustainability tile shape */
  transition: transform 0.3s ease;
}

/* Title (the last child under each card) */
#newsroom-grid > div > *:last-child {
  position: absolute;
  bottom: -100%; /* hidden initially */
  left: 0;
  width: 100%;
  padding: 12px;
  text-align: center;
  background: rgba(0,0,0,0.7);
  color: #fff;
  font-size: 16px;
  transition: bottom 0.4s ease;
  border-radius: 0; /* remove rounding to match Sustainability */
}

/* On hover, slide title up */
#newsroom-grid > div:hover > *:last-child {
  bottom: 0;
}

/* Newsroom Grid - mirror Projects grid */
#newsroom-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Mobile: stack newsroom tiles */
@media (max-width: 767px) {
  #newsroom-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* Newsroom Cards - mirror Projects cards */
#newsroom-grid .project-card {
  display: flex;
  flex-direction: column;
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 6px 14px rgba(0,0,0,0.1); /* match Sustainability cards */
  background: #fff;
  height: 100%;
  transition: transform 0.2s ease;
  position: relative;
}

#newsroom-grid .project-card:hover {
  transform: translateY(-4px);
}

#newsroom-grid .project-card img {
  width: 100%;
  height: 338px; /* match projects image height */
  object-fit: cover;
}

@media (max-width: 767px) {
  #newsroom-grid .project-card img {
    height: 260px; /* scale down on mobile similar to projects */
  }
}

/*Career section*/
/* Container */
.careers-container {
  max-width: 1100px;
  margin: auto;
  padding: 40px 20px;
  text-align: center;
}

/* Title */
.section-title {
  font-family: var(--font-primary);
  font-size: var(--font-size-heading);
  font-weight: var(--font-weight-heading);
  margin-bottom: 24px; /* unify spacing under section headings */
  text-align: center;
}

/* Two-column layout */
.careers-content {
  display: flex;
  gap: 40px;
  align-items: stretch;
  justify-content: space-between;
  flex-wrap: wrap;
  text-align: left;
}

/* Left Column */
.careers-left {
  flex: 1;
  min-width: 300px;
  background: #f9f9f9;
  padding: 20px;
  /* Make box rectangular: remove rounded corners */
  border-radius: 0;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Right Column */
.careers-right {
  flex: 1;
  min-width: 320px;
  background: #fff;
  padding: 20px;
  /* Make box rectangular: remove rounded corners */
  border-radius: 0;
  box-shadow: 0px 4px 10px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-form label {
  display: block;
  font-weight: 500;
  width: 100%;
}

.contact-form input,
.contact-form select {
  width: 100%;
  padding: 10px;
  margin-top: 6px;
  border: 1px solid #ccc;
  /* Careers form: crisp rectangular fields */
  border-radius: 0;
}

/* Form rows */
.form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 15px;
}

.form-row label {
  flex: 1;
}

.form-row.single {
  display: block;
}

/* Buttons */
.form-actions {
  display: flex;
  gap: 15px;
  margin-top: 15px;
  justify-content: flex-start;
}

.btn-primary {
  background: #0a3d62;
  color: #fff;
  border: none;
  padding: 10px 18px;
  /* Careers form buttons: rectangular */
  border-radius: 0;
  cursor: pointer;
}

.btn-secondary {
  background: #0b4269;
  border: none;
  padding: 10px 18px;
  /* Careers form buttons: rectangular */
  border-radius: 0;
  cursor: pointer;
}

/* Scope the square style strictly to Careers section to avoid affecting other forms */
#careers .contact-form input,
#careers .contact-form select,
#careers .contact-form textarea,
#careers .btn-primary,
#careers .btn-secondary,
#careers .careers-left,
#careers .careers-right {
  border-radius: 0;
}

.btn-primary:hover { background: #0a3d62; }
.btn-secondary:hover { background: #0a3d62; }

/* ✅ Mobile Responsive */
@media (max-width: 768px) {
  .careers-content {
    flex-direction: column;
    gap: 20px;
  }

  .careers-left,
  .careers-right {
    width: 100%;
  }

  .form-row {
    flex-direction: column;
  }

  .form-actions {
    flex-direction: column;
    gap: 10px;
  }

  .form-actions button {
    width: 100%;
  }
}


#services-grid img,
#services-grid div {
  cursor: pointer; /* shows hand cursor on hover */
}


/* Key Figures (Achievements) — enhanced visuals */
.achievements {
  position: relative;
  overflow: hidden;
  background: var(--primary); /* flip: blue background */
  color: #fff; /* flip: default text color white */
}
/* Full-bleed container inside achievements */
.achievements .container {
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

.achievements::before,
.achievements::after { content: none !important; }

/* Stats Grid Layout: full-bleed single row */
.achievements .stats-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  justify-items: stretch;
}

/* Each Tile (Stat Card) */
/* Simplified style: continuous row, no card boxes */
.achievements .stat {
  position: relative;
  text-align: center;
  padding: .75rem .5rem;
  width: 100%;
  min-height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  transition: none;
  overflow: visible;
}
.achievements .stat::before { display: none !important; }

.achievements .stat::after { display: none; }
.achievements .stat:hover { transform: none; box-shadow: none; background: transparent; }
.achievements .stat:hover::before { display: none !important; opacity: 0 !important; }

/* Icon */
.achievements .stat-icon { position: relative; margin-bottom: .5rem; color: #fff; }
.achievements .stat-icon svg { width: 64px; height: 64px; stroke: currentColor; }
/* Font Awesome icons: monochrome white */
.achievements .stat-icon i { font-size: 72px; line-height: 1; color: #fff; }
.achievements .stat-icon::before { content: none; }

/* Number */
.achievements .stat-number {
  font-size: 2.6rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: .25rem;
  color: #fff;
}

/* Label */
.achievements .stat-label { margin-top: .15rem; font-size: 1.05rem; color: #fff; letter-spacing: .3px; font-weight: 700; }

/* Ensure the section heading is white inside achievements */
.achievements .section-title { color: #fff; }

/* Hover color override: keep consistent blue */
.achievements .stat:hover .stat-number,
.achievements .stat:hover .stat-label,
.achievements .stat:hover .stat-icon,
.achievements .stat:hover .stat-icon svg { color: #fff; stroke: #fff; }

/* Staggered entrance */
.achievements .stat:nth-child(1){ animation-delay: .05s; }
.achievements .stat:nth-child(2){ animation-delay: .15s; }
.achievements .stat:nth-child(3){ animation-delay: .25s; }
.achievements .stat:nth-child(4){ animation-delay: .35s; }
.achievements .stat:nth-child(5){ animation-delay: .45s; }

/* Keyframes */
@keyframes shimmer { 0% { background-position: 0% 50%; } 100% { background-position: 200% 50%; } }
@keyframes borderGlow { 0% { background-position: 0% 50%; } 100% { background-position: 200% 50%; } }
@keyframes cardIn { 0% { opacity: 0; transform: translateY(16px) scale(.98); } 100% { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes floatY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(16px); } }

/* Achievements single-row; allow inline flow without visible scrollbar */
.achievements .stats-grid { grid-auto-flow: column; }
.achievements .stats-grid > * { min-width: 220px; }
.achievements .container { overflow-x: auto; scrollbar-width: none; }
.achievements .container::-webkit-scrollbar { display: none; }
.achievements .container::-webkit-scrollbar-thumb { display: none; }

/* Mobile: show tiles one-by-one (stacked), disable horizontal scroll */
@media (max-width: 767px) {
  .achievements .stats-grid {
    grid-template-columns: 1fr;
    grid-auto-flow: row;
  }
  .achievements .stats-grid > * { min-width: 0; }
  .achievements .container { overflow-x: hidden; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .achievements .stat,
  .achievements .stat-number { animation: none !important; }
  .achievements::before,
  .achievements::after { display: none; }
}
 /* Social Drawer: right-hand slide-out panel for social icons */
.social-drawer {
  --handle-size: 36px; /* match handle width */
  position: fixed;
  top: 50%;
  right: 0; /* stick to the right edge */
  transform: translateY(-50%) translateX(100%); /* slide offscreen, only handle peeks */
  transition: var(--transition);
  z-index: 10000;
  overflow: visible; /* allow handle to be visible outside container */
  will-change: transform;
}
.social-drawer.open { transform: translateY(-50%) translateX(0); }

.social-drawer-toggle {
  position: absolute; /* anchor to drawer */
  left: -36px; /* sits outside panel width */
  top: 50%;
  transform: translateY(-50%);
  width: 36px; /* vertical tab width */
  height: 120px; /* vertical tab height */
  background: var(--primary); /* site blue */
  color: #111; /* black text */
  border: none;
  border-radius: 6px 0 0 6px;
  box-shadow: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 0;
  text-transform: none;
  z-index: 100001; /* above panel */
}
.social-drawer-toggle:hover { background: var(--primary-light); color: #fff; }
.social-drawer-toggle:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; border-radius: 6px; }
/* Vertical label */
.social-drawer-toggle::before {
  content: 'Social';
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  color: #111;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1;
}
/* Remove chevron */
.social-drawer-toggle::after { content: none; }

.social-drawer-panel {
  background: #fff;
  border-radius: var(--border-radius) 0 0 var(--border-radius);
  box-shadow: var(--shadow-strong);
  padding: 14px;
  border: 1px solid rgba(0,0,0,0.06);
  margin-right: 6px; /* create breathing room from right edge */
  min-width: 64px; /* ensure stable width */
  opacity: 1;
  transition: opacity var(--transition);
}
/* Hide panel visuals and interactions when closed */
.social-drawer:not(.open) .social-drawer-panel { pointer-events: none; opacity: 0; border-color: transparent; box-shadow: none; }
/* Optional light backdrop when open to increase visibility */
.social-drawer.open::after {
  content: '';
  position: absolute;
  inset: -8px 0 -8px -12px; /* extend slightly left to hug edge under handle */
  background: linear-gradient(90deg, rgba(10,61,98,0.06), rgba(10,61,98,0));
  border-radius: var(--border-radius) 0 0 var(--border-radius);
  pointer-events: none;
}

/* Icons layout inside drawer */
.social-drawer .social-icons {
  position: static;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
}

.social-drawer .social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  text-decoration: none;
  box-sizing: border-box;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.social-drawer .social-icon:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
}
.social-drawer .social-icon img {
  width: 24px;
  height: 24px;
  /* keep original brand colors */
  filter: none;
}

@media (max-width: 600px) {
  .social-drawer { --handle-size: 44px; }
  .social-drawer-toggle { height: var(--handle-size); width: var(--handle-size); }
}


/* existing code continues */
/* Navbar consistency: Bold About Us and Services, same font, single-line alignment */
.main-nav a, .main-nav .dropdown-toggle { font-family: inherit; }
.main-nav .dropdown-toggle { font-weight: 600; }
.main-nav a[href*="#services"] { font-weight: 600; }
/* cleaned stray fragment + edge alignment overrides */
.site-header .nav-container { max-width: none; padding-left: 0; padding-right: 0; }
.main-nav { margin-left: auto; }
.nav-list { align-items: center; }
@media (min-width: 769px) { .nav-list { justify-content: flex-end; } }
.nav-item.highlight a { padding-right: 0; }

/* Accessibility: clear focus-visible styles for interactive elements */
:root { --focus-ring: var(--primary); }

a:focus-visible,
button:focus-visible,
[role="button"]:focus-visible,
[tabindex]:not([tabindex="-1"]):focus-visible,
.main-nav a:focus-visible,
.main-nav .dropdown-toggle:focus-visible,
.filter-btn:focus-visible,
.client-filter-btn:focus-visible,
.slide-nav button:focus-visible,
.social-drawer .social-icon:focus-visible,
.social-drawer-toggle:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
  box-shadow: 0 0 0 3px rgba(10, 61, 98, 0.25);
  border-radius: 8px;
}

/* Cards: provide hover-like lift on keyboard focus */
.service-card:focus-visible,
.project-card:focus-visible {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.14);
}

/* Links: reinforce focus with underline (except heading links which get outline) */
a:focus-visible {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

/* Headings: remove underline in all states */
h1, h2, h3, h4, h5, h6 {
  text-decoration: none;
  border-bottom: none;
}

/* Heading links: never underline (normal, hover, focus) */
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
  text-decoration: none;
  border-bottom: none;
}
h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover,
h1 a:focus, h2 a:focus, h3 a:focus, h4 a:focus, h5 a:focus, h6 a:focus,
h1 a:focus-visible, h2 a:focus-visible, h3 a:focus-visible, h4 a:focus-visible, h5 a:focus-visible, h6 a:focus-visible {
  text-decoration: none;
  outline: 2px solid #0a3d62;
  outline-offset: 2px;
}

/* === Polish Overrides (Non-functional visual tweaks) === */
:root {
  --shadow: 0 2px 10px rgba(0,0,0,0.08);
  --shadow-strong: 0 10px 24px rgba(0,0,0,0.15);
  --border-radius: 6px;
}
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
.section-title {
  font-family: var(--font-primary);
  font-size: var(--font-size-heading);
  font-weight: var(--font-weight-heading);
  letter-spacing: 0.3px;
  margin-bottom: 24px; /* ensure compact spacing globally */
  text-transform: uppercase; /* caps only for section headings */
}
.site-header {
  backdrop-filter: saturate(115%) blur(6px);
  border-bottom: 1px solid rgba(10, 61, 98, 0.08);
}
.main-nav a, .main-nav .dropdown-toggle {
  transition: color 0.2s ease, transform 0.2s ease;
}
.main-nav a:hover, .main-nav .dropdown-toggle:hover {
  color: var(--primary-light);
  transform: translateY(-1px);
}
.btn-primary:hover, .btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.grid {
  gap: 24px;
}
.grid-5 {
  gap: 24px;
}
.card, .project-card, .service-card, .client-card {
  border: 1px solid #e6e9ef;
  box-shadow: 0 2px 8px rgba(10, 61, 98, 0.06);
}
.project-card:hover, .service-card:hover, .client-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 18px rgba(10, 61, 98, 0.12);
}
.client-card img {
  filter: saturate(1.05) contrast(1.02);
}
#clients-grid {
  gap: 20px; /* keep slightly tighter gap at tail end */
  justify-items: center;
}
:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
}

/* Unified typography scale for headings and body */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  color: var(--body-color);
  font-weight: var(--font-weight-heading);
  text-transform: none;
}
h1 { font-size: 2rem; }
h2 { font-size: 1.6rem; }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.15rem; }
h5 { font-size: 1.05rem; }
h6 { font-size: 1rem; }
p, li, a, label, input, button { font-size: var(--font-size-body); }

/* Edge-to-edge: Sustainability & Newsroom sections */
#sustainability,
#newsroom {
  padding-left: 0;
  padding-right: 0;
}
@media (max-width: 576px) {
  #sustainability,
  #newsroom {
    padding-left: 0;
    padding-right: 0;
  }
}

/* Parallax disabled + global background override */
/* Global theme color approximating 'pruce metallic pearl white' */
:root {
  --site-bg: #f8f8f5;
}
html, body {
  background-color: var(--site-bg);
  background-image: none !important;
}
/* About Us page: enforce pure white background */
html.page-about, body.page-about {
  background-color: #ffffff !important;
}
/* Ensure sections and common containers are transparent to show the global background,
   but keep Achievements blue */
.section:not(.achievements), .container, .main, .site-content {
  background-color: transparent;
}
/* Disable all parallax-related backgrounds and decorative layers */
.section.parallax,
.parallax,
.parallax-primary,
.parallax-alt,
.parallax-architecture,
.parallax-engineering {
  background-image: none !important;
  background-attachment: scroll !important;
  background-position: center top !important;
  background-size: auto !important;
}
.section.parallax::before,
.section.parallax::after {
  content: none !important;
  display: none !important;
}
@media (prefers-reduced-motion: reduce) {
  .section.parallax,
  .parallax,
  .parallax-primary,
  .parallax-alt,
  .parallax-architecture,
  .parallax-engineering {
    background-image: none !important;
  }
}

/* Hero background cleanup */
.hero { background-color: #ffffff !important; }

/* Back-to-top global styles */
.back-to-top {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: #333;
  color: #fff;
  border-radius: 50%;
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.back-to-top:hover {
  background-color: #555;
  transform: translateY(-2px);
}
.back-to-top i {
  font-size: 18px;
}
.hero-overlay { background: none !important; backdrop-filter: none !important; }
.hero-overlay::before, .hero-overlay::after { content: none !important; display: none !important; }

/* Hero video: ensure visible */
.hero-video { display: block !important; visibility: visible !important; opacity: 1 !important; }

/* Tile size consistency: match Projects across Sustainability & CSR and Newsroom (desktop only) */
@media (min-width: 768px) {
  #newsroom-grid, #sustainability-grid { grid-template-columns: repeat(3, 1fr) !important; }
  #newsroom-grid .project-card { border-radius: 0 !important; box-shadow: 0 6px 14px rgba(0,0,0,0.1) !important; }
  #sustainability-grid .project-card { border-radius: 0 !important; box-shadow: 0 6px 14px rgba(0,0,0,0.1) !important; }
}

/* Navbar: shift Careers slightly inside on desktop */
@media (min-width: 769px) {
  .nav-item.highlight { margin-right: 8px; }
}

/* Blue theme overrides: Show More buttons + Services headings */
#projects-show-more,
#newsroom-show-more {
  background-color: var(--primary) !important;
  color: #fff !important;
  border: 1px solid var(--primary);
}
#projects-show-more:hover,
#newsroom-show-more:hover {
  background-color: var(--primary-light) !important;
  box-shadow: var(--shadow);
}
/* Ensure Newsroom Show More inherits button styling */
#newsroom-show-more {
  display: inline-block;
  padding: 12px 28px;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-transform: none;
  letter-spacing: 1px;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-size: 0.9rem;
}
/* Services section heading back to site blue */
#services .section-title,
.section.services .section-title {
  color: var(--primary);
}
/* Service card titles unified colour and regular case */
.service-card .title {
  color: var(--body-color);
  text-transform: none;
}
/* Service modal title unified colour and regular case */
#service-modal-title {
  color: var(--body-color);
  text-transform: none;
}

/* Navbar links regular case */
.main-nav a,
.main-nav .dropdown-toggle {
  text-transform: none;
}

/* Regular case across interactive and content elements */
h1, h2, h3, h4, h5, h6,
button, input[type="button"], input[type="submit"], label,
nav, header, footer, section, article,
p, span, small, strong, em,
ul, ol, li,
.card-title, .card-desc, .stat-label, .stat-number,
.service-card .service-name, .service-card .title,
#service-modal-title,
.badge, .title,
.client-filter-btn, .filter-btn {
  text-transform: none;
}

/* Preserve case for form inputs' actual user-typed content (optional) */
input[type="text"], input[type="email"], input[type="password"], textarea {
  text-transform: none;
}

/* End of file */
/* Keep Instagram icon in its original colors (remove gradient/background overrides) */
/* No special overrides needed; icon SVG renders with native colors */
/* === Requested Overrides: Caps for H1 and Navbar buttons === */
h1 { text-transform: uppercase; }
.main-nav a, .main-nav .dropdown-toggle { text-transform: uppercase; }
/* --- Interaction safety fixes (added by assistant) --- */
/* Ensure the hero overlay never intercepts clicks; header/nav remain clickable. */
.hero-overlay {
  pointer-events: none;
}

/* Hard-disable any global preloader overlay if present in DOM. */
#preloader-overlay {
  display: none !important;
  pointer-events: none !important;
}
/* --- About page image sizing & performance hints (added by assistant) --- */
.page-about #key-members-grid .project-card img {
  display: block;
  width: 100%;
  height: auto;
}

.page-about .full-bleed img,
.page-about .photo-frame img {
  display: block;
  width: 100%;
  height: auto;
}

/* Defer rendering cost for offscreen sections when supported */
.page-about .section {
  content-visibility: auto;
}
