/* ===== General Reset / Base ===== */
html, body { overflow-x: hidden; /* Hide any accidental horizontal overflow */ 
}

body {
  margin: 0;
  font-family: 'Geomanist', sans-serif;
  color: #333;
}

main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

h2, h3 {
  color: #00325B;
}

/* ===== Utility Bar ===== */
.utility-bar {
  background-color: #f2f2f2; /* light grey */
  padding: 6px 0;
  border-bottom: 1px solid #e0e0e0;
}

.utility-nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: right;
}

.utility-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.utility-nav li {
  display: inline-block;
  margin-left: 20px;
}

.utility-nav a {
  color: #0066B3;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 400 !important;
}

.utility-nav a:hover {
  text-decoration: underline;
}
.utility-avatar {
  width: 24px;
  height: 24px;
  vertical-align: middle;
  stroke: currentColor; /* inherits link colour */
}

/* ===== Logo ===== */
.logo-bar {
  max-width: 1200px;
  margin: 25px auto 40px;
  padding: 0 20px;
  text-align: left;
}

.site-logo-img {
  max-height: 90px;      /* Adjust to match desired size */
  height: auto;
  width: auto;
  display: block;
}
/* ===== Main Menu Bar ===== */
.main-menu {
  text-align: left;
  margin-top: 10px;
  max-width: 1200px;
  margin: 25px auto 10px;
  padding: 0 20px;
}

.main-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 30px;
}

.main-menu li {
  display: inline-block;
}

.main-menu a {
  display: inline-block;
  text-decoration: none;
  color: #1576c9;
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.3s ease, transform 0.3s ease;
}

.main-menu a:hover {
  transform: translateY(-2px);
}

/* ===== Hero Section ===== */
.hero-section {
  background-color: #00325B; /* deep navy / dark blue background */
  color: #ffffff;
  padding-top: 40px;
  padding-bottom: 40px;
}
.hero-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
  max-width: 1200px;
  padding: 0 20px;
  gap: 20px;
}

.hero-text {
  flex: 1;
  margin: 0;
  text-align: left;
  max-width: 600px;
}

.hero-text h1 {
  font-family: Charcoal, sans-serif;
  font-weight: 700;
  font-size: 2.5rem;
  line-height: 1.2;
}

.hero-text p {
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}
.hero-image {
  text-align: right;
  min-width: 500px;
}
.hero-image img {
  width: 100%;
}


/* ---- Zoom-in animation ---- */
.zoom-in {
  opacity: 0;
  transform: scale(1.1);
  animation: zoomIn 1.6s ease forwards; /* adjust duration as needed */
}

@keyframes zoomIn {
  0% {
    opacity: 0;
    transform: scale(1.1);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* ---- Hero Responsive layout tweaks ---- */
@media (max-width: 807px) {
  .hero-content {
    align-items: center;     /* center the child blocks */
  }
  .hero-text {
    margin: 0 auto 20px; /* bottom margin separates text from image */ 
    text-align: left; 
  } 
  .hero-text h1 {
    font-size: 2.2rem; 
    line-height: 1.15;
  } 
  .hero-text p {
    font-size: 1rem; 
  } 
  
  .hero-image {
    min-width: 0;
    margin: 0 auto; 
    display: flex; 
    justify-content: center;
  }

  .hero-image img {
    height: auto; 
    display: block; 
  } 
}


/* ---- Info Row ---- */
.info-row {
  background-color: #f5f5f5;   
  padding: 60px 20px;
}

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

.info-box {
  background: #ffffff;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 30px 20px;
  text-align: left;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.info-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.info-box img {
  width: 100%;
  display: block;
  margin: 0 auto 20px;    /* auto left/right = centered */
}

.info-box h3 {
  font-size: 1.25rem;      
  color: #1576c9;          /* light blue */
  margin-bottom: 15px;
  font-weight: 700;
}

.info-box p {
  font-size: 1rem;         /* match your new body size */
  color: #333;
  margin-bottom: 20px;
  line-height: 1.5;
  font-weight: 600;
}

.info-box ul {
  padding-left: 0;      
  list-style: none;       
  margin: 0;
}

.info-box ul li {
  position: relative;
  padding-left: 24px;   /* space for the square */
  margin-bottom: 8px;
  font-size: 1rem;
  color: #333;
  line-height: 1.5;
}

.info-box ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;           /* vertically centers the square */
  width: 8px;            /* size of the square */
  height: 8px;
  background-color: #1576c9; 
}
/* ---- Mobile tweaks ---- */
@media (max-width: 768px) {
  .info-box {
    text-align: center;
  }
  .info-box img {
    margin-left: auto;
    margin-right: auto;
  }
}

/* ===== Second Hero Section ===== */
.hero2-section {
  background-color: #00325B; /* deep navy / dark blue background */
  color: #ffffff;
  padding-top: 40px;
  padding-bottom: 40px;
}
.hero2-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
  max-width: 1200px;
  padding: 0 20px;
  gap: 20px;
}

.hero2-text {
  flex: 1;
  max-width: 300px;
  margin: 0;
  text-align: left;
}

.hero2-text h1 {
  font-family: Charcoal, sans-serif;
  font-weight: 700;
  font-size: 2.5rem;
  line-height: 1.2;
}

.hero2-text p {
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
  max-width: 300px;
}

.hero2-image {
  flex: 1;                 /* takes up all remaining space */
  min-width: 0;            /* allow flex item to shrink below content size */
  max-width: 900px;        /* optional ceiling so it doesn’t stretch too far */
}

.hero2-image img {
  width: 100%;             /* fill the container */
  height: auto;
  display: block;
}
/* ---- Hero2 Responsive layout tweaks ---- */ 
@media (max-width: 807px) {
  .hero2-content {
    max-width: 600px;
    flex-direction: column;
    align-items: center; /* center the child blocks */
    padding-left: 0; /* we’ll control spacing with the child widths */
    padding-right: 0; 
  } 
  
  .hero2-text {
    width: 90%;
    max-width: 600px;
    margin: 0 auto 20px; /* bottom margin separates text from image */
    text-align: left; 
  } 
  
  .hero2-text h1 {
    max-width: 600px;
    font-size: 2.2rem;
    line-height: 1.15; 
  } 
  
  .hero2-text p {
    max-width: 600px;
    font-size: 1rem; 
  } 
  
  .hero2-image {
    width: 90%;
    max-width: 600px;
    margin: 0 auto; display: flex;
    justify-content: center; 
  }
  
  .hero2-image img { 
    width: 100%;
    height: auto;
    display: block; 
  } 
}


/* ===== Case Studies Section ===== */
.case-studies-row {
  background-color: #f5f5f5;   
  padding: 60px 20px;
}

.case-studies-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;            /* stack text + boxes vertically */
  flex-direction: column;
  gap: 40px;                 /* space between text and boxes */
  padding: 0 20px;           /* optional side padding */
}

.case-studies-text {
  text-align: center;        /* center the heading & text */
  color: #00325B;
  max-width: 800px;          /* keep text readable */
  margin: 0 auto;
}

.case-studies-boxes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.case-studies-text h1 {
  font-family: Charcoal, sans-serif;
  font-weight: 700;
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 20px;
}

.case-studies-text p {
  font-size: 1.2rem;
  line-height: 1.6;
  margin: 0;
}

.case-studies-boxes h3 {
  font-size: 1.25rem;      
  color: #1576c9;          /* light blue */
  margin-bottom: 15px;
  font-weight: 700;
}

.case-studies-boxes p {
  font-size: 1rem;         /* match your new body size */
  color: #333;
  margin-bottom: 20px;
  line-height: 1.5;
  font-weight: 600;
}

.case-studies-boxes ul {
  padding-left: 0;      
  list-style: none;       
  margin: 0;
}

.case-studies-boxes ul li {
  position: relative;
  padding-left: 24px;   /* space for the square */
  margin-bottom: 8px;
  font-size: 1rem;
  color: #333;
  line-height: 1.5;
}

.case-studies-boxes ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;           /* vertically centers the square */
  width: 8px;            /* size of the square */
  height: 8px;
  background-color: #1576c9; 
}

.case-box {
  background: #ffffff;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 30px 20px;
  text-align: left;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.case-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.case-box img {
  width: 100%;
  display: block;
  margin: 0 auto 20px;    /* auto left/right = centered */
}

/* ===== Services Page Boxes ===== */
/* Services Section */
.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.service {
  background: #f8f8f8;      /* light background for the boxes */
  border: 1px solid #ddd;   /* thin border around each box */
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.service h2 {
  margin-top: 0;
  color: #0057b7;  /* match your brand blue if you like */
}

.service p {
  color: #555;
}


/* ===== Contact Page Form ===== */
.contact-container {
  max-width: 600px;
  margin: 40px auto;
  padding: 30px;
  background-color: #ffffff;
  border: 1px solid #ddd;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.contact-container h2 {
  text-align: center;
  color: #00325B;
  margin-top: 0;
}

.contact-container form {
  display: flex;
  flex-direction: column;
}

.contact-container label {
  margin-bottom: 6px;
  font-weight: 600;
}

.contact-container input,
.contact-container textarea {
  padding: 10px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 16px;
}

.contact-container button {
  background-color: #0066B3;
  color: #fff;
  border: none;
  padding: 12px;
  font-size: 16px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.contact-container button:hover {
  background-color: #004a80;
}


/* ---- Footer ---- */

.site-footer {
  background-color: #104799;
  color: #ffffff;
  padding: 40px 20px 20px;
  font-size: 0.95rem;
}

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

.footer-col h4 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: #ffffff;
}

.footer-col p,
.footer-col a,
.footer-col li {
  color: #cfd8dc;
  text-decoration: none;
  margin: 0 0 8px;
  line-height: 1.6;
}

.footer-col a:hover {
  color: #ffffff;
}

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

.footer-social a {
  display: inline-block;
  margin-right: 12px;
  font-size: 1.2rem;
  color: #cfd8dc;
}

.footer-social a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.2);
  text-align: center;
  padding-top: 20px;
  margin-top: 20px;
  font-size: 0.85rem;
}

/* Sliding boxes Starting state (hidden & pushed down) */
.slide-up-box {
  opacity: 0;
  transform: translateY(80px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

/* When visible */
.slide-up-box.visible {
  opacity: 1;
  transform: translateY(0);
}
.slide-up-box.visible:nth-child(1) { transition-delay: 0s; }
.slide-up-box.visible:nth-child(2) { transition-delay: 0.2s; }
.slide-up-box.visible:nth-child(3) { transition-delay: 0.4s; }
.slide-up-box.visible:nth-child(4) { transition-delay: 0.6s; }

/* Hover lift after visible */
.slide-up-box.visible:hover {
  transform: translateY(-5px);    /* small upward lift */
  box-shadow: 0 6px 15px rgba(0,0,0,0.15); /* optional shadow */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
/* ------------- Map section ------------- */
  .service-area {
    background-color: #00a5d0; /* previously #e0e0e0 */
    color: #fff;
    padding: 4rem 1rem;
    text-align: center;
  }
  .service-area h1 {
    font-family: Charcoal, sans-serif;
    font-size: 2.5rem;
  	font-weight: bold;
  	margin-bottom: 20px;
  }
  .service-area p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 2rem;
    line-height: 1.6;
  }
  .service-area img {
    max-width: 1200px;
    width: 100%;
  }