/* style.css */

:root {
  --primary-color: #222831;
  --accent-color: #f9b313;
  --text-color: #eeeeee;
  --body-bg: #1a1a1a;
  --font-heading: "Oswald", sans-serif;
  --font-body: "Inter", sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--body-bg);
  color: var(--text-color);
  line-height: 1.6;
}

.container {
  max-width: 1100px;
  margin: auto;
  padding: 2rem;
}

header {
  background-color: var(--primary-color);
  padding: 1rem 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

header h1 {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--accent-color);
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin-top: 1rem;
}

nav a {
  color: var(--text-color);
  text-decoration: none;
  transition: color 0.2s ease-in-out;
}

nav a:hover {
  color: var(--accent-color);
}

.btn {
  display: inline-block;
  background-color: var(--accent-color);
  color: #000;
  padding: 0.75rem 1.5rem;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s;
}

.btn:hover {
  background-color: #ffcb3b;
}

.section {
  padding: 4rem 2rem;
}

h3 {
  font-family: var(--font-heading);
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--accent-color);
}

.services-list li {
  margin-bottom: 0.5rem;
}

.project-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.project-card {
  background: #2c2f36;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
}

.contact a {
  color: var(--accent-color);
  text-decoration: none;
}

footer {
  background: #111;
  text-align: center;
  padding: 1.5rem;
  font-size: 0.9rem;
  color: #aaa;
}

.site-logo {
  height: 60px;
  object-fit: contain;
}

.logo-link {
  display: inline-block;
}

.trusted-by h3 {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--accent-color);
}

.trusted-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 4rem;
}

.trusted-logos img {
  height: 60px;
  max-width: 150px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.8;
  transition: all 0.3s ease-in-out;
}

.trusted-logos img:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}
.project-logo {
  height: 40px;
  margin-bottom: 0.5rem;
  object-fit: contain;
  display: block;
  max-width: 100%;
}

.project-card img {
  max-height: 80px;
  margin-bottom: 0.5rem;
}

.project h3 {
  font-size: 1.6rem;
  color: #d00000;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.project-logo {
  height: 80px;
  margin-bottom: 0.5rem;
  object-fit: contain;
  display: block;
  max-width: 100%;
}
.site-logo {
  height: 120px; /* was 60px */
  object-fit: contain;
}
.site-logo {
  height: 100px; /* was 60px */
  object-fit: contain;
}
.tile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 1.25rem; /* was 2rem — this tightens the gap */
}

.tile {
  background: #2c2f36;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  text-align: left;
}

.tile h4 {
  color: var(--accent-color);
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}
.category-boxes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.category-box {
  background: #2c2f36;
  padding: 1.5rem;
  text-align: center;
  border-radius: 8px;
  text-decoration: none;
  color: var(--text-color);
  font-weight: bold;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  transition: background 0.3s ease, transform 0.2s ease;
}

.category-box:hover {
  background: var(--accent-color);
  color: var(--primary-color);
  transform: translateY(-5px);
}
/* Updated CSS variables to match logo colors */

:root {
  --primary-color: #222831;
  --accent-color: #9b1c1c; /* Changed from yellow to burgundy red from logo */
  --secondary-accent: #ffffff; /* Added white as secondary accent */
  --text-color: #eeeeee;
  --body-bg: #1a1a1a;
  --font-heading: "Oswald", sans-serif;
  --font-body: "Inter", sans-serif;
}

/* Update buttons to match logo color */
.btn {
  display: inline-block;
  background-color: var(--accent-color);
  color: var(--secondary-accent); /* Changed to white for better contrast */
  padding: 0.75rem 1.5rem;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s;
}

.btn:hover {
  background-color: #bc2626; /* Slightly lighter red on hover */
}

/* Update accent colors throughout site */
h3 {
  font-family: var(--font-heading);
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--accent-color); /* Changed from yellow to red */
}

nav a:hover {
  color: var(--accent-color); /* Changed from yellow to red */
}

.contact a {
  color: var(--accent-color); /* Changed from yellow to red */
  text-decoration: none;
}

/* Update category box hover state */
.category-box:hover {
  background: var(--accent-color);
  color: var(--secondary-accent);
  transform: translateY(-5px);
}

/* Add subtle red border to project cards */
.project-card {
  background: #2c2f36;
  padding: 1.5rem;
  border-radius: 8px;
  border-left: 3px solid var(--accent-color); /* Added subtle red border */
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Update tile headings to match */
.tile h4 {
  color: var(--accent-color); /* Changed from yellow to red */
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}
/* 
This needs to be added at the END of your style.css file
to override all previous definitions
*/

/* Clear fix for the site logo */
.site-logo {
  height: 150px !important;
  object-fit: contain !important;
}

/* Make sure the logo link wrapper doesn't restrict size */
.logo-link {
  display: inline-block;
  line-height: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .site-logo {
    height: 100px !important;
  }

  .trusted-by h3 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--accent-color);
  }

  .trusted-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding-top: rem;
    gap: 4rem;
  }
}
.site-logo {
  height: 120px; /* was 60px */
  object-fit: contain;
}
.site-logo {
  height: 100px; /* was 60px */
  object-fit: contain;
}
/* Add this to your style.css file */

.hero {
  background-image: url("images/hero-banner.webp"); /* Updated to use WebP format */
  background-size: cover;
  background-position: center;
  background-color: #2c2f36; /* Fallback color if image is loading */
  padding: 5rem 2rem;
  text-align: center;
  position: relative;
  min-height: 400px; /* Minimum height for the hero */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Optional overlay to improve text readability */
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Dark overlay */
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2; /* Place content above the overlay */
  max-width: 900px;
}

.hero h2 {
  font-size: 2.75rem;
  margin-bottom: 1.5rem;
  font-family: var(--font-heading);
  color: white;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  color: white;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.category-boxes.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.category-box {
  background: #f7f7f7;
  border-radius: 8px;
  text-align: center;
  padding: 1.5rem;
  text-decoration: none;
  color: #222;
  transition: background 0.3s, transform 0.2s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.category-box:hover {
  background: #e9ecef;
  transform: translateY(-2px);
}
.category-box.government {
  background-image: url("images/government.webp");
  /* other properties */
}

.category-box.commercial {
  background-image: url("images/commercial.webp");
  /* other properties */
}
/* Updated category boxes with image backgrounds */
.category-box {
  background: #2c2f36;
  padding: 2rem;
  text-align: center;
  border-radius: 8px;
  text-decoration: none;
  color: var(--text-color);
  font-weight: bold;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 140px; /* Ensure consistent height */
  z-index: 1;
}

/* Dark overlay for better text readability */
.category-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.65); /* Dark overlay */
  z-index: -1;
  transition: background-color 0.3s ease;
}

/* Background images for each category */
.category-box.government {
  background-image: url("images/government.webp");
  background-size: cover;
  background-position: center;
}

.category-box.commercial {
  background-image: url("images/commercial.webp");
  background-size: cover;
  background-position: center;
}

.category-box.industrial {
  background-image: url("images/industrial.webp");
  background-size: cover;
  background-position: center;
}

.category-box.utilities {
  background-image: url("images/utilities.webp");
  background-size: cover;
  background-position: center;
}

/* Hover effects */
.category-box:hover {
  transform: translateY(-5px);
}

.category-box:hover::before {
  background-color: rgba(
    155,
    28,
    28,
    0.8
  ); /* Your burgundy color with transparency */
}

/* Ensure text remains readable */
.category-box span {
  position: relative;
  z-index: 2;
}

/* Updated style.css */

:root {
  --primary-color: #263238; /* Slightly softer dark blue than before */
  --accent-color: #c62828; /* Brighter red that's more energetic */
  --secondary-accent: #2196f3; /* Adding blue as a secondary accent */
  --text-color: #333333; /* Dark text for readability on light backgrounds */
  --light-text: #f5f5f5; /* Light text for dark backgrounds */
  --body-bg: #f0f2f5; /* Light gray background instead of dark */
  --card-bg: #ffffff; /* White card backgrounds */
  --font-heading: "Oswald", sans-serif;
  --font-body: "Inter", sans-serif;
  --section-padding: 4rem 2rem;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  background-color: var(--body-bg);
  color: var(--text-color);
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 2rem;
}

header {
  background-color: var(--primary-color);
  padding: 1rem 0;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

header h1 {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--light-text);
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

nav a {
  color: var(--light-text);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease-in-out;
  padding: 0.5rem;
}

nav a:hover {
  color: var(--secondary-accent);
}

.btn {
  display: inline-block;
  background-color: var(--accent-color);
  color: white;
  padding: 0.8rem 1.8rem;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
  border: none;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.btn:hover {
  background-color: #e53935; /* Slightly lighter red */
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.section {
  padding: var(--section-padding);
}

h3 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  margin-bottom: 1.8rem;
  color: var(--primary-color);
  position: relative;
  padding-bottom: 0.5rem;
}

h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 70px;
  height: 3px;
  background-color: var(--accent-color);
}

.services-list li {
  margin-bottom: 0.8rem;
}

.project-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.project-card {
  background: var(--card-bg);
  padding: 1.8rem;
  border-radius: 10px;
  border-top: 4px solid var(--accent-color);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.project-card h4 {
  color: var(--primary-color);
  margin-bottom: 0.8rem;
  font-size: 1.3rem;
}

.project-card p {
  color: #555;
}

.contact a {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.contact a:hover {
  color: var(--secondary-accent);
  text-decoration: underline;
}

footer {
  background: var(--primary-color);
  text-align: center;
  padding: 1.5rem;
  font-size: 0.9rem;
  color: var(--light-text);
}

.site-logo {
  height: 100px;
  object-fit: contain;
}

.logo-link {
  display: inline-block;
  line-height: 1;
}

/* Hero section with gradient overlay */
.hero {
  background-image: url("images/hero-banner.webp");
  background-size: cover;
  background-position: center;
  padding: 6rem 2rem;
  text-align: center;
  position: relative;
  min-height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(38, 50, 56, 0.85),
    rgba(198, 40, 40, 0.75)
  );
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.hero h2 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  font-family: var(--font-heading);
  color: white;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.hero p {
  font-size: 1.4rem;
  margin-bottom: 2.5rem;
  color: white;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Updated Project Categories */
.category-boxes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.category-box {
  background-color: var(--card-bg);
  padding: 0;
  border-radius: 10px;
  text-decoration: none;
  overflow: hidden;
  position: relative;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 200px;
}

.category-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0.2) 50%,
    rgba(0, 0, 0, 0) 100%
  );
  z-index: 1;
  transition: opacity 0.3s;
}

.category-box:hover::before {
  background: linear-gradient(
    to top,
    rgba(198, 40, 40, 0.8) 0%,
    rgba(198, 40, 40, 0.4) 60%,
    rgba(198, 40, 40, 0.1) 100%
  );
}

.category-box span {
  position: absolute;
  bottom: 20px;
  left: 20px;
  color: white;
  font-weight: 600;
  font-size: 1.2rem;
  z-index: 2;
  transition: transform 0.3s;
}

.category-box:hover span {
  transform: translateY(-5px);
}

.category-box:hover {
  transform: translateY(-7px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Background images for categories - keeping same structure but with higher brightness */
.category-box.government,
.category-box.commercial,
.category-box.industrial,
.category-box.utilities {
  background-size: cover;
  background-position: center;
  filter: brightness(1.1); /* Making images a bit brighter */
}

/* About section */
#about {
  background-color: var(--primary-color);
  color: var(--light-text);
  position: relative;
}

#about h3 {
  color: white;
}

#about h3::after {
  background-color: var(--secondary-accent);
}

#about p {
  font-size: 1.1rem;
  max-width: 800px;
}

/* Contact section styling */
#contact {
  background-color: #f8f9fa;
}

.contact-info {
  background-color: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  max-width: 600px;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .hero h2 {
    font-size: 2.2rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .category-box {
    height: 180px;
  }

  .site-logo {
    height: 80px;
  }
}

.hero {
  position: relative;
  padding: 6rem 0;
  color: #fff;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}
.dark-section {
  background-color: #20262c;
  color: #f2f2f2;
}
.tile {
  background-color: #2c2f36;
  color: #f2f2f2;
}
.tile:hover {
  transform: translateY(-4px);
  transition: 0.3s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}
.about-section {
  background-color: #2a3439;
  padding: 60px 0;
  color: #fff;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.section-title {
  text-align: center;
  font-size: 28px;
  margin-bottom: 10px;
  color: #fff;
}

.section-underline {
  height: 3px;
  width: 60px;
  background-color: #d9473f;
  margin: 0 auto 40px;
}

/* Card Styles */
.about-row {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 30px;
  gap: 20px;
}

.about-card {
  flex: 1;
  min-width: 300px;
  background-color: #3a454e;
  border-radius: 5px;
  padding: 25px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.about-card:hover {
  transform: translateY(-5px);
}

.card-icon {
  font-size: 36px;
  color: #d9473f;
  margin-bottom: 15px;
}

.card-title {
  font-size: 22px;
  margin-bottom: 15px;
  color: #fff;
}

/* Highlight Box Styles */
.highlight-box {
  background-color: rgba(255, 255, 255, 0.05);
  border-left: 4px solid #d9473f;
  color: #f1f1f1;

  padding: 15px;
  margin-top: 15px;
  border-radius: 0 4px 4px 0;
}

.highlight-title {
  display: block;
  font-weight: bold;
  margin-bottom: 5px;
  color: #d9473f;
}

/* Expertise List Styles */
.expertise-list {
  list-style-type: none;
  padding: 0;
}

.expertise-list li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.percentage {
  display: inline-block;
  width: 50px;
  font-weight: bold;
  font-size: 18px;
  color: #d9473f;
}

/* Advantage Item Styles */
.advantage-item {
  margin-bottom: 20px;
}

.advantage-item h4 {
  color: #d9473f;
  margin-bottom: 5px;
}

/* Approach Section Styles */
.approach-section {
  margin-top: 40px;
}

.approach-title {
  text-align: center;
  font-size: 24px;
  margin-bottom: 30px;
  color: #fff;
}

.approach-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.approach-item {
  flex: 1;
  min-width: 250px;
  max-width: 350px;
  text-align: center;
  background-color: #3a454e;
  padding: 25px;
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.approach-icon {
  font-size: 32px;
  color: #d9473f;
  margin-bottom: 15px;
}

.approach-item h4 {
  margin-bottom: 10px;
  color: #fff;
}

/* CTA Styles */
.about-cta {
  text-align: center;
  margin-top: 50px;
  background-color: #3a454e;
  padding: 30px;
  border-radius: 5px;
}

.about-cta p {
  font-size: 20px;
  margin-bottom: 20px;
}

.btn-primary {
  display: inline-block;
  background-color: #e31937;
  color: white;
  padding: 12px 25px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.btn-primary:hover {
  background-color: #c41730;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .about-card,
  .approach-item {
    min-width: 100%;
  }

  .about-row {
    flex-direction: column;
  }
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
.dark-section h3 {
  color: #f2f2f2; /* Light neutral */
}
.dark-section h3 {
  color: #ffffff;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}
.hero {
  background-image: url("images/hero-banner.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 500px; /* Adjust height as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  position: relative;
}

/* Optional overlay to darken the image and make text more readable */
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Adjust opacity as needed */
  z-index: 1;
}

.hero-content {
  z-index: 2; /* Place content above the overlay */
  max-width: 800px;
  padding: 0 20px;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}
/* Dropdown styles */
.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #2c3e50;
  min-width: 200px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 100;
  border-radius: 4px;
  padding: 0.5rem 0;
}

.dropdown.active .dropdown-menu {
  display: block;
}

.dropdown-menu li {
  display: block;
  width: 100%;
}

.dropdown-menu li a {
  padding: 0.5rem 1rem;
  display: block;
  color: white;
  text-decoration: none;
  white-space: nowrap;
}

.dropdown-menu li a:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.sector-info-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 3rem;
  justify-content: center;
}

.sector-info-box {
  flex: 1;
  min-width: 250px;
  max-width: 350px;
  background-color: #2a3439;
  color: #fff;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.sector-info-box:hover {
  transform: translateY(-5px);
  background-color: #3a454e;
}

.sector-info-box h4 {
  color: #d9473f;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}
/* Add breathing room between project grid and bottom boxes */
.project-list {
  margin-bottom: 2rem; /* or 5rem for more space */
}

/* Optional: fine-tune the top margin for the bottom 3-box section */
.sector-info-grid {
  margin-top: 3rem; /* already in your CSS, but bump to 4rem if needed */
}
.notable-projects.section {
  padding-bottom: 2rem;
}
@media (max-width: 768px) {
  .project-list {
    margin-bottom: 3rem;
  }
  .sector-info-grid {
    margin-top: 3rem;
  }
}

.section.tile-tight {
  padding-top: 1rem;
  padding-bottom: 3rem;
}

.footer-content p,
.footer-content a {
  color: #f5f5f5; /* Light neutral for readability */
  font-size: 0.95rem;
  text-align: center;
  display: block;
  margin-top: 0.5rem;
  text-decoration: none;
}

.footer-content a:hover {
  color: var(--accent-color); /* Your red */
  text-decoration: underline;
}
footer {
  background: var(--primary-color);
  padding: 2rem 1rem;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1); /* Soft separator */
}
.footer-content a {
  color: #f5f5f5;
  text-decoration: underline;
  font-weight: 500;
  margin: 0.25rem 0;
  transition: color 0.2s ease;
}

.footer-content a:hover {
  color: var(--accent-color); /* Burgundy red hover */
}

.footer-content a:visited {
  color: #f5f5f5;
}

.footer-content p {
  color: #f5f5f5;
  font-size: 0.95rem;
  margin-top: 0.75rem;
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 0.75rem;
}

.footer-links a {
  color: #f5f5f5;
  text-decoration: underline;
  font-weight: 500;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--accent-color); /* Burgundy red on hover */
}
html,
body {
  overflow-x: hidden;
}
nav ul {
  flex-wrap: wrap;
  justify-content: center;
}
.dropdown-menu {
  max-width: 100vw;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 1.75rem;
    line-height: 1.3;
  }

  .hero p {
    font-size: 1rem;
  }

  .btn.cta-button {
    font-size: 0.95rem;
    padding: 0.6rem 1.2rem;
  }
}

@media (max-width: 768px) {
  .section-title,
  .card-title,
  .tile h4 {
    font-size: 1.2rem;
  }

  .project-card h4 {
    font-size: 1rem;
  }
}
.category-boxes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

@media (max-width: 1024px) {
  .category-boxes {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}
.project-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.expertise-list {
  list-style: none;
  padding-left: 0;
}
.expertise-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.expertise-list i.fas.fa-check-circle {
  display: none;
}

.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .header-flex {
    flex-direction: column;
    align-items: center;
  }

  nav ul {
    justify-content: center;
    margin-top: 1rem;
  }
}
.tile {
  padding-bottom: 2.5rem; /* was 2rem */
}

/* Use only .header-flex to control layout */
.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .header-flex {
    flex-direction: column;
    align-items: center;
  }

  .header-flex nav ul {
    justify-content: center;
    margin-top: 1rem;
    flex-wrap: wrap;
  }
}
/* Remove this or comment it out */
header .container {
  /* display: flex; <-- REMOVE this line */
  padding: 0.5rem 2rem;
}
