/* ==========================================================
   FUTURISTIC HERO — Water Infrastructure Edition
   Sleek, upscale, and innovative aesthetic
========================================================== */

/* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600;700;800&family=Orbitron:wght@400;500;700&display=swap');


/* Optional: include a display font from Google Fonts (remove if you load fonts elsewhere) */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@600;700;900&family=Inter:wght@300;400;600&display=swap');
.brand-name {
  font-family: "Orbitron", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  font-size: clamp(1.8rem, 4.5vw, 3.5rem);
  line-height: 1.02;
  letter-spacing: 0.6px;
  color: #def2f6; /* clean icy white */
  margin: 0 0 0.8rem 0;
  text-transform: none;
  display: inline-block;
  position: relative;
  text-align: center;
  margin-left: 4.5rem; /* adjust: try 1rem–3rem for the perfect spot */


  /* Luminous white-blue glow */
  text-shadow:
    0 0 2px rgba(180, 240, 255, 0.9),
    0 0 5px rgba(150, 230, 255, 0.6),
    0 0 10px rgba(0, 180, 255, 0.35);
}

/* ✨ Centered gradient underline */
.brand-name::after {
  content: "";
  position: absolute;
  left: 50%;                  /* start from center */
  transform: translateX(-50%); /* perfectly center under text */
  bottom: -14px;              /* spacing below text */
  width: 30%;                 /* length of line relative to text width */
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, #00c8ff, #66e6ff, #00c8ff);
  box-shadow:
    0 0 8px rgba(0, 200, 255, 0.5),
    0 0 16px rgba(0, 220, 255, 0.4);
  animation: linePulse 3s ease-in-out infinite;
}

/* Gentle pulse animation for underline */
@keyframes linePulse {
  0%, 100% {
    opacity: 0.9;
    box-shadow: 0 0 8px rgba(0, 200, 255, 0.5), 0 0 16px rgba(0, 220, 255, 0.4);
  }
  50% {
    opacity: 1;
    box-shadow: 0 0 12px rgba(0, 255, 255, 0.8), 0 0 30px rgba(0, 255, 255, 0.6);
  }
}


/* Hover / focus micro-interaction */
.brand-name:hover,
.brand-name:focus{
  transform: translateY(-2px);
  text-shadow:
    0 1px 0 rgba(255,255,255,0.02),
    0 10px 30px rgba(0,168,255,0.16);
  outline: none;
}

/* Ensure keyboard focus is visible for accessibility */
.brand-name:focus-visible{
  box-shadow: 0 0 0 3px rgba(0,168,255,0.14);
  border-radius: 6px;
}

/* Dark-mode variant (if your banner uses a dark image) */
.banner-dark .brand-name{
  color: var(--brand-white);
  text-shadow:
    0 2px 6px rgba(0,0,0,0.45),
    0 12px 30px rgba(0,0,0,0.50);
}
.banner-dark .brand-name::after{
  background: linear-gradient(90deg, rgba(255,255,255,0.95), rgba(255,255,255,0.6));
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}

/* Small-screen spacing tweaks */
@media (max-width: 520px){
  .brand-name{
    letter-spacing: 0.4px;
    margin-bottom: 0.25rem;
  }
  .brand-name::after{
    width: 44px;
    height: 3px;
  }
}



/* HERO WRAPPER */
#header-wrapper.homepage {
  width: 100%;
  margin: 0;
  padding: 0;
  background-color: #000; /* fallback for blend effect */
}

/* HERO IMAGE */
#banner-wrapper {
  position: relative;
  width: 100%;
  min-height: auto;
  background-image: url('images/e15a7826-5632-4a6e-91c9-c0718333c7ba.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 12rem 4rem;

  /* subtle blue filter overlay blend */
  filter: brightness(0.95) contrast(1.1) saturate(1.2);
}

/* OVERLAY — gradient for readability */
#banner-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to left,
    rgba(55, 82, 123, 0.9) 0%,
    rgba(35, 84, 133, 0.6) 35%,
    rgba(0, 40, 80, 0.25) 50%
  );
  z-index: 1;
}

/* TEXT CONTAINER */
#brand-highlight {
  position: relative;
  z-index: 2;
  max-width: 680px;
  color: #ffffff;
  text-align: left;

  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 1s ease-out forwards;
}

/* ANIMATION */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* TAGLINE — Kinetic Gradient Text */
#brand-highlight .tagline {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  background: linear-gradient(90deg, #fafcfc, #fafcfc, #fcffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientSlide 5s linear infinite;
  margin-top: 3rem;
}

@keyframes gradientSlide {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

/* BRAND MESSAGE — Glassy, Neon Panel */
#brand-highlight .brand-message {
  background: rgba(0, 20, 40, 0.25);
  border: 2px solid rgba(0, 224, 255, 0.6);
  border-radius: 12px;
  padding: 1.2rem 1.5rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.4rem;
  text-align: center;
  line-height: 1.8;
  font-weight: 500;
  color: #e6faff;
  text-shadow: 0 0 5px rgba(0, 224, 255, 0.5);
  backdrop-filter: blur(8px);
  box-shadow: 0 0 25px rgba(0, 224, 255, 0.2);
  transition: all 0.5s ease;
}

/* IN-TEXT BRAND NAME — Neon Glow + Gradient Flicker */
#brand-highlight .brand-message strong {
  font-family: 'Orbitron', sans-serif;
  font-size: 2rem;
  font-weight: 900;
  background: linear-gradient(90deg, #ebf3f7, #f4feff, #eafcff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  letter-spacing: 0.03em;
  text-shadow:
    0 0 6px rgba(0, 180, 255, 0.6),
    0 0 14px rgba(0, 200, 255, 0.3),
    0 0 28px rgba(0, 255, 255, 0.2); /* elegant outer glow */
  filter: drop-shadow(0 0 2px rgba(0, 140, 255, 0.4)); /* subtle depth */
  transition: all 0.4s ease;
}


@keyframes brandFlicker {
  0%, 100% { opacity: 1; text-shadow: 0 0 10px #00e0ff, 0 0 20px #00aaff; }
  50% { opacity: 0.85; text-shadow: 0 0 20px #00ffff, 0 0 35px #00aaff; }
}

/* HERO BUTTON — Neon Pulse */
.hero-btn {
  background: linear-gradient(45deg, #00aaff, #00e0ff);
  box-shadow: 0 0 20px #00e0ff, 0 0 40px #00aaff;
  font-size: 1.2rem;
  padding: 1.2rem 3rem;
  border-radius: 50px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  letter-spacing: 0.8px;
  transition: all 0.3s ease;
}

.hero-btn:hover {
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 0 35px #00ffff, 0 0 60px #00e0ff, inset 0 0 12px #00aaff;
}

/* HERO CONTAINER — Drop-in Animation */
#brand-highlight {
  max-width: 680px;
  text-align: left;
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 1.5s ease-out forwards;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}



/* === Enhanced Banner Wrapper === */
/* === Stylish Dark Blue Banner === */
#banner {
  width: 100%;
  padding: 4em 2em 5em 2em;
  text-align: center;
  border-radius: 0;
  margin: -3em 0 4em 0;
  position: relative;
  overflow: hidden;
  z-index: 2;

  background: linear-gradient(135deg, #0d1b2a, #1b263b, #0a192f); /* rich dark blue gradient */
  box-shadow: 0 8px 30px rgba(10, 25, 47, 0.6);
  backdrop-filter: blur(6px);
  color: #e8f1ff;
  transition: all 0.4s ease;
}

#banner:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(10, 25, 47, 0.8);
}

/* === Melt effect top + bottom === */
#banner::before,
#banner::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 80px;
  z-index: 3;
  pointer-events: none;
}

#banner::before {
  top: 0;
  background: linear-gradient(to bottom, rgba(29, 58, 88, 0.95) 0%, rgba(95, 119, 145, 0) 100%);
}

#banner::after {
  bottom: 0;
  background: linear-gradient(to bottom, rgba(95, 119, 145, 0) 100%),rgba(29, 58, 88, 0.95) 0%, rgba(73, 95, 119, 0) 100%;
}


/* === Banner Intro Text === */
#banner p.banner-intro {
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #d8ecff;
  text-shadow: 0 0 8px rgba(0, 153, 255, 0.4);
  position: relative;
  z-index: 1;
  margin-bottom: 1rem;
}

/* === Expanded Text === */
#banner p.banner-expanded {
  font-size: 1.4rem;
  line-height: 1.7;
  max-width: 720px;
  margin: 0 auto 2em auto;
  color: #bcd9f5;
  opacity: 0.95;
  text-shadow: 0 0 6px rgba(0, 153, 255, 0.25);
  position: relative;
  z-index: 1;
}

/* === Button Container (unchanged) === */
.button-container {
  display: flex;
  justify-content: center;
  gap: 1em;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}


/* Buttons container */
.button-container {
  display: flex;
  justify-content: center;
  gap: 1em;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* Primary button */
.button.primary {
  background: #bbd0fa;
  color: #07254f;
  padding: 0.7em 2em;
  border-radius: 24px;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border: 2px solid #446a9c;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 6px 16px rgba(42, 73, 117, 0.25);
}

.button.primary:hover {
  background: #edf1f7;
  box-shadow: 0 8px 24px rgba(68, 106, 156, 0.35);
  transform: translateY(-3px);
}

/* Secondary button */
.button.secondary {
  background: transparent;
  border: 2px solid #446a9c;
  color: #eaeff6;
  padding: 0.7em 2em;
  border-radius: 24px;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
}

.button.secondary:hover {
  background: #446a9c;
  color: #f0f4fa;
  box-shadow: 0 6px 18px rgba(68, 106, 156, 0.25);
  transform: translateY(-2px);
}

/* Explore button */
.button.explore-projects {
  background: #355d8e;
  padding: 0.65em 1.8em;
  border-radius: 22px;
  font-weight: 600;
  font-size: 0.95rem;
  color: #f0f4fa;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  box-shadow: 0 3px 10px rgba(53, 93, 142, 0.25);
  transition: all 0.3s ease;
}

.button.explore-projects:hover {
  background: #3186b1;
  box-shadow: 0 6px 16px rgba(49, 134, 177, 0.35);
  transform: translateY(-2px);
}



  /* ===== Features Section ===== */
#features-wrapper {
  max-width: 1200px;
  margin: 0 auto 6em auto;
  padding: 0 1.5em;
}

#features-wrapper header.major h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: 2rem;
  color: #0077b6;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 0.2em;
  text-shadow: 0 0 10px #00c8f8;
}

#features-wrapper header.major p {
  text-align: center;
  font-style: italic;
  color: #0077b6cc;
  font-size: 1.2rem;
  margin-bottom: 3em;
  font-family: 'Arial', sans-serif;
}

/* Feature Boxes */
.box.feature {
  background: #001f3f;
  border-radius: 15px;
  box-shadow: 0 0 15px #00c8f7aa;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  font-family: 'Arial', sans-serif;
  color: #a3d2ff;
  overflow: hidden;
  padding-bottom: 1.2em;
    z-index: 0;

}

.box.feature:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px #00ffffcc, 0 0 25px #0077b6cc;
}

.box.feature .image.featured img {
  width: 100%;
  height: auto;
  filter: brightness(1.2) contrast(1.15);
  border-radius: 15px 15px 0 0;
  transition: filter 0.4s ease;
  position: relative;
  z-index: 0;
}

.box.feature:hover .image.featured img {
  filter: brightness(1.4) contrast(1.3);
}

.box.feature header h3 {
  color: #42f7f7;
  margin-top: 0.7em;
  font-size: 1.5rem;
  letter-spacing: 0.08em;
  text-shadow: 0 0 8px #034762;
  text-align: center;
}

.box.feature header p {
  color: #f5f8f8cc;
  font-size: 1rem;
  line-height: 1.6;
  padding: 0 1em;
  margin-top: 0.4em;
  text-align: center;
}

/* ===== Highlights Section ===== */
#highlights {
  max-width: 1100px;
  margin: 0 auto 7em auto;
  padding: 0 0.5rem;
  font-family: 'Arial', sans-serif;
}

#highlights header.major h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: 2rem;
  color: #0077b6;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 0.2em;
  text-shadow: 0 0 6px #19434e;
}

#highlights header.major p {
  text-align: center;
  font-size: 1.4rem;
  color: #07536aaa;
  margin-bottom: 2em;
  font-style: italic;
}

#highlights .grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, auto);
  gap: 2rem; /* adds spacing between columns */
  max-width: 100%; /* remove narrow max-width */
  margin: 0 auto; /* center the grid */
  padding: 0;
}

#highlights .grid img {
  width: 100%;
  max-height: 230px;
  object-fit: contain;      /* entire image fits, no cropping */
  object-position: center;  /* center image inside the container */
  border-radius: 8px;
  box-shadow: 0 0 10px 3px rgba(28, 105, 128, 0.8);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#highlights .grid img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 25px 8px rgb(15, 76, 101);
}

/* Fix layout of highlight images */
#highlights .grid.row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

#highlights .col-6 {
  flex: 0 0 48%; /* slightly less than 50% to allow gap */
  max-width: 48%;
}
/* ===== Highlights Paragraphs ===== */
#highlights .grid .highlight-text {
  text-align: center;
  font-family: 'Arial', sans-serif; /* same as main section */
  font-size: 1rem; /* slightly smaller than header p */
  color: #0c4767cc;
  margin-top: 0.5em;
  line-height: 1.4em;
  font-style: italic; /* keeps it consistent with header p */
}

#highlights .grid .highlight-title {
  text-align: center;
  font-family: 'Orbitron', sans-serif;
  color: #0a6b94;
  font-size: 1.05rem;
  text-transform: uppercase;

  margin-top: 0.3em;
  letter-spacing: 0.05em;
  text-shadow: 0 0 4px #497480;
}
/* Make image container uniform */
#highlights .image.fit {
  background-color: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 220px; /* keep a uniform height for all */
  width: 100%;
  padding: 10px;
  box-shadow: 0 0 10px 3px rgba(28, 105, 128, 0.8);
  box-sizing: border-box;
  justify-content: center; /* ✅ centers image both vertically and horizontally */

}

/* Adjust image fit inside the container */
#highlights .image.fit img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  object-position: center center; /* ✅ centers image perfectly */
}

#highlights .image.fit img:hover {
  transform: scale(1.02);
  box-shadow: 0 0 25px 8px rgb(15, 76, 101);
}
/* Responsive: Stack images on small screens */
@media (max-width: 768px) {
  #highlights .col-6 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  #highlights .grid a.image.fit img {
    width: 100%;
    height: auto;
    max-height: 180px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 0 10px #00c8f8bb;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
}

/* ===== Future Vision Section ===== */
#main-wrapper {
  max-width: 1100px;
  margin: 0 auto 5em auto;
  font-family: 'Arial', sans-serif;
  color: #d0e8ff;
  padding: 0 1.5em;
}

#main-wrapper h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: 2.8rem;
  color: #00e6ff;
  text-shadow: 0 0 12px #00c8f8;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.6em;
}

#main-wrapper p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 2em;
  color: #a9d6ff;
  font-style: italic;
  text-shadow: 0 0 5px #00bcd4aa;
}

/* Sidebar Thumbnails Widget */
#sidebar section.widget.thumbnails {
  background: #002f5f;
  padding: 2em 1.5em;
  border-radius: 15px;
  box-shadow: 0 0 25px #00e6ffcc;
  color: #a9eaff;
  font-family: 'Arial', sans-serif;
  margin-bottom: 3em;
}

#sidebar section.widget.thumbnails h2 {
  font-family: 'Orbitron', sans-serif;
  color: #00f0ff;
  margin-bottom: 1em;
  text-shadow: 0 0 8px #00c8f8;
  letter-spacing: 0.1em;
  font-size: 1.9rem;
}

#sidebar section.widget.thumbnails ul {
  list-style-type: none;
  padding-left: 0;
  margin: 0 0 1.5em 0;
}

#sidebar section.widget.thumbnails ul li {
  margin-bottom: 0.8em;
  font-size: 1.05rem;
  line-height: 1.5;
  color: #a0e0ff;
  padding-left: 1.3em;
  position: relative;
  letter-spacing: 0.03em;
}

#sidebar section.widget.thumbnails ul li::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: #00f0ff;
  font-weight: bold;
  text-shadow: 0 0 5px #00c8f8;
}

#sidebar section.widget.thumbnails .button {
  background: linear-gradient(45deg, #00c8f8, #0077b6);
  color: #e0f7fa;
  border: none;
  padding: 0.8em 2em;
  border-radius: 40px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 0 11px #00c8f8;
  transition: all 0.3s ease;
  font-family: 'Orbitron', sans-serif;
  font-size: 1rem;
}

#sidebar section.widget.thumbnails .button:hover {
  background: linear-gradient(45deg, #6c7478, #00c8f8);
  box-shadow: 0 0 25px #00e0ff, 0 0 15px #0077b6;
  transform: scale(1.1);
}

#sidebar section.widget.thumbnails strong {
  color: #eaf3f6;
}

/* ===== Main Content ===== */
#content section.last h2 {
  font-family: 'Arial Rounded MT Bold', Arial, sans-serif;
  color: #00509e;
  font-weight: 700;
  margin-bottom: 0.5em;
  font-size: 2.5rem;
  text-shadow: none !important;
}

#content section.last p {
  font-family: 'Arial', sans-serif;
  color: #003366;
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1.5em;
  text-shadow: none;
  font-style: normal;

}

#content section.last a.button.icon.solid.fa-arrow-circle-right {
  background: linear-gradient(45deg, #004080, #002244);
  padding: 1em 2.5em;
  border-radius: 40px;
  font-weight: 600;
  color: #cce6ff;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  box-shadow: 0 0 6px #002244;
  font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', sans-serif;
  transition: all 0.3s ease;
  display: inline-block;
}

#content section.last a.button.icon.solid.fa-arrow-circle-right:hover {
  background: linear-gradient(45deg, #0077b6, #00c8f8);
  color: #e0f7fa;
  box-shadow: 0 0 40px #00e0ff, 0 0 25px #0077b6;
  transform: scale(1.1);
}






/* ---------------------------------------
   IMPACT + INNOVATION + PARTNER SECTIONS
---------------------------------------- */
#impact-numbers,
section[aria-labelledby="model"],
.partner-cta {
  background: transparent;
  color: #222;
  padding: 1rem 1rem 1.5rem;
  text-align: center;
  font-family: 'Raleway', sans-serif;
}

/* Section Titles */
#impact-numbers .section-title,
section[aria-labelledby="model"] .section-title,
.partner-box {
  max-width: 800px;
  margin: 0 auto 2rem;
}

#impact-numbers h3,
section[aria-labelledby="model"] h3,
.partner-box h4 {
  font-family: 'Orbitron', sans-serif;
  font-size: 2rem;
  color: #0077b6;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 0.2em;
  text-shadow: 0 0 6px #00c8f8;
}

/* Subtitle Text */
#impact-numbers p,
section[aria-labelledby="model"] p,
.partner-box p {
  font-style: italic;
  color: #0c4767cc;
  font-size: 1.2rem;
  margin-bottom: 3em;
  font-family: 'Arial', sans-serif;
}


/* --- Impact Grid --- */
.impact-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 2rem;
  margin-top: 2rem;
}

.impact-item {
  text-align: center;
  flex: 1 1 180px;
  min-width: 160px;
}

.impact-item .big {
  font-family: 'Poppins', 'Roboto Condensed', sans-serif;
  font-size: 2.3rem;
  color: #007fa3;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 0.4rem;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

#impact-numbers.in-view .impact-item .big {
  opacity: 1;
  transform: translateY(0);
}

.impact-item .big:hover {
  color: #005f7a;
  transform: scale(1.05);
}

.impact-item .small {
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.6;
  color: #06405d;
  font-family: 'Raleway', sans-serif;
  text-shadow: 0 0 2px rgba(0, 200, 248, 0.2);
  margin: 0;
  font-style: normal;
}


/* --- Innovation Steps --- */
section[aria-labelledby="model"] .model {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 1.5rem;
  margin-top: 1rem;
}

.model .step {
  flex: 1 1 200px;
  padding: 1.8rem 1.2rem;
  border: 1px solid #5d7687;
  border-radius: 12px;
  background: transparent;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.model .step:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  border-color: #007fa3;
}

.model h6 {
  font-family: 'Orbitron', sans-serif;
  color: #0b81b4;
  font-size: 1.05rem;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
}

.model p,
#how-it-works .step p {
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.6;
  color: #06405d;
  font-family: 'Raleway', sans-serif;
  margin: 0;
  text-shadow: 0 0 2px rgba(0, 200, 248, 0.2);
  font-style: normal;
}

.partner-cta {
  background: linear-gradient(145deg, #f2fbff, #e4f4fa);
  padding: 3rem 1.5rem 4rem;   /* less top padding if needed */
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  border-radius: 16px;
  max-width: 1000px;
  margin: 3rem auto;
  box-shadow: 0 8px 24px rgba(0, 112, 179, 0.12);
}

.partner-cta h4 {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.6rem;
  color: #0077b6;
  margin-bottom: 1rem;
}

.partner-cta p {
  font-size: 1rem;
  color: #034762;
  line-height: 1.6;
  max-width: 750px;
  margin: 0.5rem auto 1.5rem auto;
}

.partner-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

/* ===== Unified Project Buttons ===== */
.partner-actions .btn {
  padding: 0.8rem 1.5rem;
  border-radius: 36px;
  font-weight: 600;
  text-transform: uppercase;
  transition: all 0.3s ease;
  font-family: 'Poppins', sans-serif;
  cursor: pointer;
  display: inline-block;
  background: #093e6a;   /* darker hover */

}
.partner-actions .btn:hover  {
  background: #3673a9;   /* unified darker blue */
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 95, 122, 0.35);}
/* Primary-style buttons (Projects, Feasibility) */
.partner-actions .btn-primary {
  background: #093e6a;   /* darker hover */
  color: #fff;
  border: none;
}

.partner-actions .btn-primary:hover {
  background: #3673a9;   /* unified darker blue */
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 95, 122, 0.35);
}

/* Secondary-style buttons (Outline) */
.partner-actions .btn-outline {
  background: transparent;
  color: #0056a3;        /* same as primary for consistency */
  border: 2px solid #0056a3;
}

.partner-actions .btn-outline:hover {
  background: #093e6a;   /* darker hover */
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 95, 122, 0.25);
}


.partner-cta .footer-note {
  font-size: 1rem;
  font-style: italic;
  color: #0077b6;
  text-align: center;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}


/* Simple button style */

/* Center the button within its section */
.inner {
  text-align: center; /* centers all inline/inline-block elements inside */
}


.btn {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 0.65rem 1.6rem;
  border-radius: 25px;
  text-decoration: none;
  cursor: pointer;
  display: inline-block;
  transition: all 0.3s ease;
  background: #5aa0d1; /* lighter blue */
  color: #fff;
  border: none;
  
}

.btn:hover,
.btn:focus {
  background: #76b3e0; /* slightly brighter on hover */
  transform: translateY(-2px); /* subtle lift */
  outline: none;
}


/* Layout container */
div.partner-actions {
  display: flex;
  justify-content: center;
  gap: 1em;
  flex-wrap: wrap;
}



/* --- Feasibility Link --- */
.feasibility-link {
  margin-top: 1rem;
  font-size: 0.9rem;
  font-family: 'Raleway', sans-serif;
  color: var(--muted, #666);
  text-align: center;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.in-view .feasibility-link {
  opacity: 1;
  transform: translateY(0);
}

.feasibility-link a {
  color: #007fa3;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px dashed rgba(0, 127, 163, 0.4);
  transition: color 0.3s ease, border-color 0.3s ease;
}

.feasibility-link a:hover {
  color: #005f7a;
  border-color: rgba(0, 127, 163, 1);
}




/* ==============================
   MEDIA QUERIES — Small & Medium Screens
============================== */

/* Shared styles for all screens <= 768px */
@media (max-width: 768px) {
  /* Center text container and brand name margin */
  #brand-highlight {
    text-align: center;
  }
  .brand-name {
    margin-left: 0;
  }
}

/* Extra small screens — mobile portrait */
@media (max-width: 480px) {
  /* Hero / Banner */
  #banner-wrapper {
    padding: 4rem 1.5rem;       /* reduce padding */
    min-height: auto;           /* shrink height */
    justify-content: center;    /* center content */
  }

  /* Text container */
  #brand-highlight {
    max-width: 90%;
    transform: translateY(20px);
  }

  /* Brand name */
  .brand-name {
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    letter-spacing: 0.3px;
  }
  .brand-name::after {
    width: 25%;
    bottom: -10px;
    height: 2px;
  }

  /* Tagline */
  #brand-highlight .tagline {
    font-size: 1.4rem;
    margin-top: 2rem;
    line-height: 1.3;
  }

  /* Brand message panel */
  #brand-highlight .brand-message {
    font-size: 1.1rem;
    padding: 0.9rem 1.2rem;
    line-height: 1.5;
  }
  #brand-highlight .brand-message strong {
    font-size: 1.5rem;
  }

  /* Hero button */
  .hero-btn {
    font-size: 1rem;
    padding: 0.9rem 2rem;
  }

  /* Banner text */
  #banner p.banner-intro {
    font-size: 1.2rem;
  }
  #banner p.banner-expanded {
    font-size: 1rem;
    max-width: 95%;
  }

  /* Buttons container */
  .button-container {
    flex-direction: column;
    gap: 0.8em;
  }
  .button.primary,
  .button.secondary,
  .button.explore-projects {
    width: 100%;
    font-size: 0.9rem;
    padding: 0.65em 0;
  }
}

/* Small to medium devices — tablets / landscape phones */
@media (max-width: 768px) {
  /* Hero / Banner */
  #banner-wrapper {
    padding: 8rem 2rem;
    justify-content: center;
    min-height: auto; /* or remove min-height for small screens */

  }

  /* Text container */
  #brand-highlight {
    max-width: 80%;
  }

  /* Brand name */
  .brand-name {
    font-size: clamp(1.6rem, 4vw, 3rem);
  }
  .brand-name::after {
    width: 30%;
    bottom: -12px;
    height: 2.5px;
  }

  /* Tagline */
  #brand-highlight .tagline {
    font-size: 1.5rem;
    margin-top: 2.5rem;
  }

  /* Brand message panel */
  #brand-highlight .brand-message {
    font-size: 1.25rem;
    padding: 1rem 1.2rem;
  }

  /* Hero button */
  .hero-btn {
    font-size: 1.1rem;
    padding: 1rem 2.5rem;
  }

  /* Banner text */
  #banner p.banner-intro {
    font-size: 1rem;
  }
  #banner p.banner-expanded {
    font-size: 1rem;
    max-width: 90%;
  }

  /* Buttons container */
  .button-container {
    flex-wrap: wrap;
    gap: 1em;
  }
  .button.primary,
  .button.secondary,
  .button.explore-projects {
    font-size: 0.95rem;
    padding: 0.65em 1.5em;
  }
}


/* Extra small screens — mobile portrait */
@media (max-width: 480px) {
  #brand-highlight {
    max-width: 100%;   /* make box wider */
    width: 100%;       /* ensure it fills more of the screen */
    margin: 0 auto;   /* keep it centered */
  }
}

/* Small to medium devices — tablets / landscape phones */
@media (max-width: 768px) {
  #brand-highlight {
    max-width: 100%;   /* slightly narrower than full width */
    width: 100%;
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  #banner-wrapper {
    padding-top: 9rem;  /* add more top space for brand name */
    padding-bottom: 2rem;
    min-height: 75vh;   /* keep enough vertical space for all hero content */
    justify-content: flex-start;
    background-position: center top;
  }

  #brand-highlight {
    margin-top: 0;      /* remove any accidental negative margins */
  }

  .brand-name {
    margin-top: 0.5rem; /* nudge it slightly down for safety */
  }
}

@media (max-width: 480px) {
  /* Features section adjustments */
  #features-wrapper {
    margin-top: 0rem;     /* adds space below banner */
    margin-bottom: 3rem;  /* slightly smaller spacing at bottom */
    padding: 0 1rem;      /* reduce side padding for tighter layout */
  }

  #features-wrapper header.major h2 {
    font-size: 1.3rem;    /* smaller heading */
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
    margin-top: 0;
  }

  #features-wrapper header.major p {
    font-size: 1rem;   /* smaller subtitle text */
    margin-bottom: 2rem;
    line-height: 1.5;
  }
}
@media (max-width: 480px) {
  #banner {
    margin-bottom: 1.5em; /* smaller space between banner and next section */
  }
}



@media (max-width: 480px) {
  /* Make banner taller for mobile */
  #banner {
    padding: 4rem 1.5rem 4rem;   /* increase padding for text area */
    margin-top: 0;                      /* avoid overlap from above */
    min-height: 90vh;                   /* make it take up most of screen height */
    display: flex;
    flex-direction: column;
    justify-content: center;            /* vertically center content */
    align-items: center;                /* center horizontally */
    text-align: center;                 /* center text */
  }

  #banner p.banner-intro {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    color: #e0f7ff;  
    font-weight: 600;              /* stronger appearance */    /* brighter color for readability */
  }

  #banner p.banner-expanded {
    font-size: 1.1rem;             /* slightly larger text */
    line-height: 1.65;             /* more vertical space */
    color: #dff9ff;                /* brighter + cleaner */
    font-weight: 550;              /* stronger appearance */
    text-shadow: 0 0 8px rgba(0, 200, 255, 0.3);
    max-width: 95%;
    margin: 0 auto 2rem auto;
  }

  .button-container {
    flex-direction: column;
    gap: 1rem;
  }
}
