/* styles.css - Full Corrected File */
:root {
  --primary: #00509e;
 /* --secondary: #008000; */
  --secondary: #ffd700;
  --bg: #f6f9fc;
  --text: #333;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: Arial, sans-serif; color: var(--text); background: var(--bg); line-height: 1.6; }
.container { width: 90%; max-width: 1200px; margin: auto; padding: 1rem 0; }
.container-1 { width: 90%; max-width: 1200px; margin: auto;  color: white; font-style: italic; text-align: center;}
.section { padding: 0.5rem 0; background: #fff; margin-bottom: 2.5rem; border-radius: 8px; } /* doubled the rem here */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }

/* Header */
.site-header { background: #fff; position: sticky; top: 0; box-shadow: 0 2px 4px rgba(0,0,0,0.1); z-index: 100; }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 1rem 0; }
.logo { height: 60px; }
.main-nav a { margin-right: 1.5rem; text-decoration: none; color: var(--text); font-weight: bold; }
.main-nav a:hover {color: #008000; text-decoration: underline; }
.nav-toggle { display: none; flex-direction: column; justify-content: space-between; width: 24px; height: 18px; background: none; border: none; cursor: pointer; }
.nav-toggle span { display: block; height: 3px; background: var(--text); }


/* Hero */

.hero {
  background: url('/assets/water-header.jpg') no-repeat center center;
  background-size: cover;
  color: white;
  text-align: center;
  padding: 0.5rem 0;
  position: relative;
  min-height: 330px;

}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4); /* darken image slightly */
  z-index: 1;
}
.hero > .container {
  position: relative;
  z-index: 2;
}

/* FIX APPLIED: Set desktop size first */
.hero h1 {
  font-size: 3.5rem; /* Desktop default size */
  margin-bottom: 0.5rem;
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}


.hero p {
  margin-bottom: 1.5rem; /* Optional: adds space after paragraph too */

}

/* Mobile Overrides (must come AFTER the general rules they are overriding) */
@media (max-width: 768px) {
  .hero {
    padding: 4rem 1rem;
	min-height: 250px;
  }
  .hero h1 {
    font-size: 3rem; /* Mobile size wins and prevents overflow */
  }
}




.btn-primary {
  background: #008000; /* var(--secondary); */
  color: #FFFFFF; /* var(--text); */
  padding: 0.8rem 1.5rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
}


.hero .btn-primary {
  margin-top: 1.5rem;
  display: inline-block;
}

.responsive-img {
  max-width: 100%;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.responsive-img2 {
  max-width: 100%;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
}



/* Services, Filters */
.service h3 { margin-bottom: 0.5rem; }


.service-img {
  width: 100%;
  max-height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.service h3 a {
  color: var(--text);
  text-decoration: none;
}

.service h3 a:hover {
  text-decoration: underline;
  color: var(--primary);
}


/* Responsive */
@media (max-width: 768px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .nav-toggle { display: flex; }
  .main-nav { display: none; position: absolute; right: 1rem; top: 70px; background: white; flex-direction: column; box-shadow: 0 2px 8px rgba(0,0,0,0.2); }
  .main-nav.open { display: flex; }
  .main-nav a { margin: 1rem; }
}

.accreditations {
  text-align: Left;
  background: #fff;
  padding: 0.5rem 0; /* Corrected from 2rem 0 */
  border-radius: 6px;
}

.accreditations h2 {
  margin-bottom: 2.5rem;
}

.accreditations-logos {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
}

.accreditations-logos img {
  max-height: 80px;
  max-width: 200px;
  object-fit: contain;
}

h2 {
  font-size: 2.5rem; 
  margin-bottom: 0.5rem;
}

p {
  margin-bottom: 1.5rem; 
  font-size: 18px; /* HERE */
}

/* Styling for lists and list items */
ul, ol {
	margin-top: 1rem; /* FIX: Added for consistent spacing after headings */
    margin-left: 20px; /* Adds space for the bullet/number */
    margin-bottom: 1.5rem; /* Matches the spacing of paragraphs */
}

li {
    font-size: 18px; /* Increase the font size here */
    margin-bottom: 0.5rem; /* Add a little space between bullet points */
}


h3 {
    /* Use a size between H2 (40px) and your paragraph text (18px) */
    font-size: 2.0rem; /* approx. 32px */
    margin-bottom: 1rem;
}


.cta-left, .cta-right {
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.contact-methods-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.contact-block {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 1rem;
  min-height: 150px;
  background: #fff;
  border-radius: 6px;
}

.contact-block h2,
.contact-block h4 {
  margin: 0 0 0.5rem;
}

.contact-block a.btn-primary {
  margin-top: 1rem;
}

h4 {
  font-size: 1.5rem; /* FIX: Consistent intermediate size */
  margin-bottom: 1rem; /* Standard margin for a heading */
}


/* Footer */
.site-footer { background: #333; color: white; padding: 4rem 0 2rem; }
.site-footer h3 { margin-bottom: .5rem; }
.site-footer a { color: var(--secondary); text-decoration: none; }
.footer-bottom { text-align: center; padding: 1rem; border-top: 1px solid rgba(255,255,255,0.2); font-size: .9rem; }

#contact-form-section {
  padding: 2rem;
  max-width: 600px;
  margin: 2rem auto;
}

#contact h2 {
  margin-bottom: 1rem;
  font-size: 2rem;
  color: #333;
}

#contact-form .form-row {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
}

#contact-form label {
  margin-bottom: 0.5rem;
  font-weight: bold;
  color: #555;
}

#contact-form input,
#contact-form textarea {
  padding: 0.6rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
}
/*
#contact-form input:focus,
#contact-form textarea:focus {
  outline: none;
  border-color: #00aaff;
}
*/

#contact-form input,
#contact-form textarea,
#contact-form .submit-btn {
  font-family: inherit; 
  /* Also add font-size and padding here for consistency if not done above */
  font-size: 1rem; 
  padding: 0.6rem;
}


#contact-form .submit-btn {
  padding: 0.8rem 1.5rem;
  background-color: #008000; /* #00aaff; */
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

#contact-form .submit-btn:hover {
  background-color: #008ecc;
}

/* CORRECTED STRUCTURE: Cookie banner styles are now outside the mobile media query. */
#cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #222;
    color: #fff;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    /* Banner starts hidden; the JS will make it 'block' if needed */
    display: none; 
    z-index: 1000;
  }
  #cookie-banner button {
    margin-left: 1rem;
    background: #4caf50;
    border: none;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
  }
  
  .g-recaptcha {
    margin-bottom: 15px; /* Adds extra breathing room below the checkbox */
}


/* News-Specific Additions */


.news-accent {
    width: 330px;           /* Small width */
    height: 4px;           /* Thin horizontal bar */
    background-color: #28a745; /* A clean, professional engineering green */
    margin-bottom: 1.5rem; /* Space between bar and heading */
    border-radius: 2px;
}

.news-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s ease;
}

.news-card:hover {
    border-color: #28a745 !important; /* Border turns green on hover */
    transform: translateY(-3px);      /* Subtle lift effect */
}



.news-card { display: flex; flex-direction: column; justify-content: space-between; }
.article-header { border-bottom: 1px solid #eee; padding-bottom: 1.5rem; margin-bottom: 2rem; }
.article-body blockquote { border-left: 4px solid var(--primary); padding-left: 1.5rem; font-style: italic; margin: 2rem 0; }