@charset "UTF-8";
/* main.css - serve with Content-Type: text/css */

/* =====================================
   Base / Reset
===================================== */
:root {
  --header-height: 60px; /* desktop default */
  --brand-navy: #0D3B66;
  --text-main: #344256;
  --muted: #0D3B66;
  --overlay: rgba(0, 51, 102, 0.6);
}

*,
*::before,
*::after { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", Arial, Helvetica, sans-serif;
  color: var(--text-main);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }

h1 { font-size: 20px; font-weight: 500; }
h1, h2, h3 { text-shadow: 1px 1px 4px rgba(0,0,0,0.4); } /* gentler shadow */

/* =====================================
   Header / Nav
===================================== */
header {
  position: fixed; inset: 0 0 auto 0;
  height: var(--header-height);
  z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%;
  background: #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  /*max-width: 1500px;
  margin: auto;*/
}

.logo a {
  display: flex; align-items: center; gap: .5rem;
  font-weight: 700; font-size: 1.5rem; color: navy;
}
.logo img {
  filter: brightness(0) saturate(100%) invert(13%) sepia(57%) saturate(600%)
          hue-rotate(179deg) brightness(95%) contrast(95%);
}

/* Desktop nav */
nav ul {
  list-style: none;
  display: flex;
  gap: .5rem;
  align-items: center;
}
nav ul li a {
  font-size: 18px;
  font-weight: 700;
  color: #666;
  padding: .15rem .25rem;
  border-radius: 6px;
  transition: color .25s ease, text-shadow .25s ease;
  display: inline-block;
}
nav ul li a:hover { color: #000; text-shadow: 1px 1px 4px rgba(0,0,0,0.12); }

/* Join button */
.btn-join {
  background: #1d4ed8; color: #fff;
  padding: .5rem 1rem; border-radius: 6px;
  transition: background .25s ease;
}
.btn-join:hover { background: #153eaf; }

/* Burger (hidden on desktop) */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  position: relative;
  z-index: 2001;
}
.menu-toggle span {
  width: 25px; height: 3px; border-radius: 2px; background: #333;
  transition: transform .35s ease, opacity .35s ease;
  transform-origin: 40% 50%;
}
/* Burger → X */
.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile nav dropdown (full width, sliding) */
@media (max-width: 768px) {
  :root { --header-height: 70px; } /* mobile header height */

  /* show burger, hide desktop inline menu */
  .menu-toggle { display: flex; }
   nav ul {
    position: absolute; /* relative to header */
    top: 70%;           /* immediately below header, no gap */
    left: 0;
    right: 0;
    width: 100%;
    background: #fff;
    flex-direction: column;
    padding: .05rem 1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    max-height: 0;          /* collapsed */
    overflow: hidden;
    transition: max-height .4s ease-in-out;
    display: flex;          /* always flex so it can animate */
  }
  nav ul.show { max-height: 75vh; }
  nav ul li a { display: block; padding: .75rem 0; }
}

/* Default (desktop) – hide text */
nav ul li .action-text {
  display: none;
}

/* =====================================
   Search Bar Form on the top menu
===================================== */
form.search {
  position: relative;
  width: 50px;   /* fixed width */
  height: 50px;
  background: white;
  border-radius: 25px;
  border: 4px solid white;
  box-sizing: border-box;
  padding: 0;
  overflow: visible; /* allow input to grow outside */
}

/* input starts collapsed, hidden behind the icon */
form.search input {
  position: absolute;
  top: 4px;
  right: 45px;   /* expand left from just before the icon */
  width: 0;
  height: 40px;
  outline: none;
  border: 1px solid gray;
  border-radius: 20px;
  font-size: 1em;
  padding: 0 15px;
  opacity: 0;
  transition: all 0.5s ease;
}

/* icon stays fixed at the right side of form */
form.search .fa {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 42px;
  height: 42px;
  line-height: 42px;
  text-align: center;
  font-size: 1.2em;
  color: #888;
  border-radius: 50%;
  transition: all 0.3s ease;
  cursor: pointer;
}

form.search li {
  background-color: blue;
}

/* desktop hover → expand left */
form.search:hover input {
  width: 340px;
  opacity: 1;
}

form.search:hover .fa {
  color: #000;
}

/* Wrapper around search */
.search-wrapper {
  position: relative;
  display: inline-block;
  width: 100%;
  max-width: 300px;
}

.search-wrapper input[type="text"] {
  width: 100%;
  padding-right: 25px; /* leave space for the X button */
  box-sizing: border-box;
}

.clear-btn {
  position: absolute;
  right: 60px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 16px;
  color: #999;
  display: none; /* hidden by default */
}

.clear-btn:hover {
  color: #333;
}

/* 📱 mobile (expand to the right) */
@media (max-width: 768px) {
    form.search:hover input {
        width: 300px;
        opacity: 1;
    }

    form.search:hover .fa {
        color: #000;
    }

    form.search input {
        width: 0;                /* collapsed by default */
        opacity: 0;
        transition: width 0.3s ease, opacity 0.3s ease;
    }
   
  /* Hide form by default */
  #frmSearch {
    display: none;
    flex: 1; /* let it expand fully when shown */
    align-items: center;
    justify-content: space-between;
    margin-top: -4px;
  }

  /* Input styling */
  #frmSearch input[type="text"] {
    position:absolute;
    width: 100%;       /* take 90% of screen width */
    max-width: none;
    box-sizing: border-box;
    border: none;
    font-size: 16px;
    left: -10px;
    top: 2px;
  }

  #frmSearch i {
    margin-left: 8px;
    font-size: 18px;
    cursor: pointer;
    top: 0px;
  }

  /* Default state: text + icon visible on same line */
  nav ul li.mobile-action.search-li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 50px;              /* match other menu items */
    box-sizing: border-box;
    font-size: 28px;
  }

  nav ul li.mobile-action .action-text {
    display: inline-block;
    font-size: 18px;
  }

  /* When hover (or tap): hide the text, show the form */
  nav ul li.mobile-action.search-li:hover .action-text {
    display: none;
  }

  nav ul li.mobile-action.search-li:hover #frmSearch {
    display: flex;
  }
  
}

/* =====================================
   Hero (background layer + overlay)
===================================== */
.hero {
  position: relative;
  margin-top: var(--header-height);
  height: calc(100vh - var(--header-height));
  display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  text-align: center;
  padding: 0 .5rem;
  color: #fff; /* text in hero is light on dark bg */
  overflow: hidden;
  z-index: 0;
}

/* Background layer isolated from text for animation */
.hero-bg {
  position: fixed;  /* mobile-safe "fixed background" */
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: -2;
  transition: opacity 1s ease, filter 1s ease;
  opacity: 1; filter: blur(0px);
}
.hero-bg.fade-out { opacity: 0; filter: blur(8px); }

/* Overlay tint above bg, below text */
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--overlay);
  z-index: -1;
}

/* Hero typography only */
.hero h1 {
  font-size: 4rem; font-weight: 800; margin-bottom: 1rem; padding-left: 10px; padding-right: 10px;
}
.hero p {
  font-size: 1.1rem; margin-bottom: 2rem; max-width: 900px;
  color: #fff; /* keep hero paragraph readable on dark BG */
}

.cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.cta-buttons a { padding: .8rem 1.5rem; border-radius: 8px; font-weight: 600; }
.btn-primary { background: linear-gradient(90deg, #0D3B66, #1E5A99); color: #fff; border: none; }
.btn-secondary { background: #fff; color: var(--brand-navy); }

/* =====================================
   Stats
===================================== */
.stats { display: flex; justify-content: center; align-items: center; gap: 1rem; margin-top: 1rem; padding: 1rem; }
.stats-container { display: flex; justify-content: center; gap: 1.5rem; width: 80%; margin: 0 auto; }
.stat-box {
  flex: 1; min-width: 300px; text-align: center; padding: 1.5rem;
  border-radius: 16px; background: rgba(255,255,255,0.15);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);  
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  transition: transform .3s ease, box-shadow .3s ease;
  display: flex; flex-direction: column; justify-content: center; align-items: center; min-height: 120px;
}
.stat-box:hover { transform: translateY(-6px); box-shadow: 0 12px 32px rgba(0,0,0,0.25); }
.stat-box h2 { font-size: 2rem; font-weight: 600; margin-bottom: .25rem; color: #fff; }
.stat-box p { font-weight: 300; color: #e0e0e0; margin: 0; }

/* =====================================
   Search Results
===================================== */
.searchPanel { display: none; padding: 4rem 5%; background: #f9fafb; text-align: center; align-content: center; }
.searchPanel h2 { font-size: 2.5rem; font-weight: 700; margin-bottom: 1rem; }
.searchPanel p  { max-width: 1250px; margin: 0 auto 3rem; font-size: 1.1rem; color: var(--muted); }
.searchPanel li  { max-width: 1250px; line-height: 1.5; margin: 0 0 1rem;  font-size: 1.0rem; color: var(--muted); }

#searchResultsBox {
    display: none; /* hidden by default */
    margin: 10px 0;
    padding: 10px;
    border: none;
    border-radius: 10px;
    background: transparent;
    font-family: Arial, sans-serif;
}
#searchResultsBox span {
    display: inline-block;
    margin: 3px 6px;
    padding: 4px 8px;
    background: #e0e0e0;
    border-radius: 4px;
    color: var(--muted);
}

/* =====================================
   About
===================================== */
.about {
  padding: 4rem 5%;
  background: #f9fafb;
  text-align: center; /* keep headings centered */
  align-content: center;
}

.about h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.about p {
  max-width: 1250px;
  margin: 0 auto 3rem;
  font-size: 1.1rem;
  color: var(--muted);
}

.about li {
  max-width: 1250px;
  line-height: 1.5;
  margin: 0 0 1rem;
  font-size: 1rem;
  color: var(--muted);
}

.about-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 1250px;
  margin: 0 auto;
  width: 100%;
  font-size: 2.5rem;
}

/* Responsive font size for About list items */
@media (max-width: 768px) {
  .about li {
    font-size: 0.9rem; /* smaller text on tablets and phones */
    margin-bottom: 1rem; /* tighter spacing */
  }
}

@media (max-width: 480px) {
  .about li {
    font-size: 0.9rem; /* even smaller for very small screens */
  }
}
.about-container {
  display: flex;
  flex-direction: row; /* ensure side-by-side layout */
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  max-width: 1250px;
  margin: 0 auto;
  text-align: left; /* override inherited centering from .about */
}

.about-text {
  flex: 1 1 60%;
}

.video-panel {
  flex: 1 1 35%;
  background-color: #f2f2f2;
  padding: 1rem;
  border-radius: 10px;
}

/* Responsive YouTube embed */
.video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  border-radius: 10px;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Stack vertically on smaller screens */
@media (max-width: 768px) {
  .about-container {
    flex-direction: column;
    align-items: center;
  }

  .about-text,
  .video-panel {
    width: 100%;
  }

  .video-panel {
    order: 2;
  }

  .about-text {
    order: 1;
  }
}
/* =====================================
    Who We Serve
===================================== */
.who-we-serve {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  padding: 40px; background: #fff; border-radius: 12px;
  margin: 40px auto; max-width: 1200px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.who-we-serve p:first-of-type {
  margin-top: -20px;
  margin-top: -20px;
  grid-column: 1 / -1;
  margin-bottom: -10px;
  text-align: left;
  color: #0D3B66;
}
.who-we-serve h2 { grid-column: 1 / -1; font-size: 2.5rem; margin-bottom: 20px; text-align: center; }
.who-we-serve ul { list-style: disc; padding-left: 20px; }
.who-we-serve ul li { margin: 8px 0;   color: #0D3B66;}

.international {
  background: #f1f6fb; padding: 20px; border-radius: 10px;
  font-size: 0.95rem; line-height: 1.7;
}
.international h3 { margin-top: 0; }

/* =====================================
    Call To Action
===================================== */

.cta-panel{
  background: #f9fafb; padding: 20px;
}

.cta {
  background: linear-gradient(90deg, #0D3B66, #1E5A99); color: #fff; border: none; text-align: center;
  padding: 50px 20px 80px; border-radius: 12px;
  max-width: 1200px; margin: 10px auto;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.cta img {
  border-radius: 12px;
  width: 100%;
  max-width: 800px;
  display: inline-block;
}
.cta h2 { font-size: 1.8rem; margin-bottom: 15px; }
.cta p  { font-size: 1.1rem; margin-bottom: 25px; max-width: 1000px; text-align: center; margin: 0 auto; padding: 0 1rem}

.cta button {
  padding: 12px 30px; font-size: 1rem; font-weight: bold;
  color: #004080; background: #fff; border: none;
  border-radius: 8px; cursor: pointer; transition: 0.3s;
}
.cta button:hover { background: #e6e6e6; }


.join-buttons { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.join-buttons button { padding: 12px 20px; font-size: 1rem; border: none; border-radius: 6px; color: #1E347D; cursor: pointer; transition: background .3s;}
.join-buttons button:hover { background: linear-gradient(90deg, #0D3B66, #1E5A99); color: white; box-shadow: 1px 3px 10px white; }

@media (max-width: 768px) {
  .join-buttons { flex-direction: column; align-items: center; }
  .join-buttons button { width: 100%; max-width: 300px; }
}

/* Panel container that expands/collapses */

#register-panel_1 { background: #FFFFFF; }
#register-panel_2 { background: #FFFFFF; }
#register-panel_3 { background: #FFFFFF; }

.panel-container {
  max-height: 0;
  width: 80%;
  overflow: hidden;
  transition: max-height 1s ease;
  margin: auto;
}

/* When expanded */
.panel-container.open {
  max-height: 800px; /* adjust based on panel content */
}

/* Panels (only one active at a time) */
.panel {
  display: none;
  position: relative;
  padding: 10px;
  border-radius: 8px;
  background: #f9f9f9;
  margin-top: 10px;
  color: var(--muted);
}

.panel p{
  text-align: left;
}

.panel.active {
  display: block;
}


/* Panels (only one active at a time) */
.panel2 {
  display: block;
  position: relative;
  padding: 10px;
  border-radius: 8px;
  background: #f9f9f9;
  margin-top: 10px;
  color: var(--muted);
}

.panel2 p{
  text-align: left;
}

.panel2.active {
  display: block;
}


/* Close button */
.close-panel {
  position: absolute;
  top:0px;
  right: 0px;
  background: transparent;
  border: none;
  padding:0;
  font-size: 24px;
  font-weight: bold;
  color: #444;
  cursor: pointer;
  transition: color 1s ease;
}

/* ---------- Contact Form ---------- */
.register-form { flex: 2; min-width: 300px; background: #fff; padding: 2rem; border-radius: 8px; text-align: left; box-shadow: 0 2px 6px rgba(0,0,0,0.1); }
.register-form h3 { margin-bottom: 1rem; color: #0D3B66; }
.register-form form { display: flex; flex-direction: column; gap: 1rem; }

.register-form input,
.register-form select,
.register-form textarea {
  width: 100%;
  padding: 0.75rem;
  border-radius: 6px;
  border: 1px solid #ddd;
  font-size: 0.95rem;
  color: #7D8CAB;
  font-family: inherit;
  box-sizing: border-box;
}

.register-form textarea { resize: none; color: #7D8CAB; }

.register-form button { background: linear-gradient(90deg, #0D3B66, #1E5A99); color: #fff; border: none; padding: 0.9rem 1.5rem; border-radius: 6px; font-size: 1rem; cursor: pointer; transition: 0.3s ease; }
.register-form button:hover { opacity: 0.9; }


/* =====================================
    Responsive
===================================== */
@media (max-width: 900px) {
  .who-we-serve { grid-template-columns: 1fr; }
}

/* =====================================
   Services
===================================== */
.services { padding: 4rem 5%; background: #fff; text-align: center; align-content: center; }
.services h2 { font-size: 2.5rem; font-weight: 700; margin-bottom: 1rem; text-align: center; }
.services p  { max-width: 1000px; margin: 0 auto 3rem; font-size: 1.1rem; color: var(--muted); text-align: center; }
.services li { color: var(--muted);  }

.services-cards {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2rem; max-width: 1100px; margin: 0 auto; width: 100%;
}
.services-cards .card p { font-size: 1rem; line-height: 1.5; }
.services-cards .card h2 { font-size: 2rem; line-height: 2; }

/* =====================================
   Generic Card
===================================== */
.card {
  background: #f1f6fb; padding: 2rem; border-radius: 12px;
  text-align: left; transition: transform .3s ease, box-shadow .3s ease;
  box-shadow: 1px 1px 1px rgba(0,0,0,0.1);
}
.card:hover { box-shadow: 0 8px 20px rgba(0,0,0,0.15); }
.card h3 {
  font-size: 1.2rem; font-weight: 700; margin-bottom: .5rem;
  display: flex; align-items: center; gap: .5rem;
}
.card h3::before { content: "⬤"; font-size: .7rem; color: #0F5197; display: inline-block; }
.card p { font-size: .95rem; color: var(--muted); text-align: left; line-height: 2;  }

.icon-box { display: grid; grid-template-columns: 1fr 5fr; /* 2 equal columns */ gap: 10px; align-items: start;}
.icon-image {  background: #f0f4f8; 
  border-radius: 5px;
  padding: 10px;
  display: flex;              /* keeps image centered */
  justify-content: center;
  align-items: center; }
.icon-content { background: #ffffff; padding: 10px; }
  
/* =====================================
   Contact
===================================== */
.contact { padding: 2rem; background: #f9fafb; text-align: center; font-family: Arial, sans-serif; }
.contact h2 { font-size: 2.5rem; font-weight: 700; margin-bottom: 0.5rem; color: #0D3B66; }
.contact p { max-width: 1200px; margin: 0 auto 2rem; color: #7D8CAB; }


/* ---------- Layout ---------- */
.contact-wrapper { 
  display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem; 
  max-width: 1200px; margin: 0 auto; padding: 0 1rem; 
}


/* ---------- Contact Info ---------- */
.contact-info { flex: 1; min-width: 280px; max-width: 400px; display: flex; flex-direction: column; gap: 1rem; }
.info-box { background: #fff; border-radius: 8px; padding: 1rem; text-align: left; box-shadow: 0 2px 6px rgba(0,0,0,0.1); }
.info-box h3 { margin: 0 0 0.25rem; font-size: 1rem; color: #0D3B66; }
.info-box p { margin: 0; font-weight: bold; color: #7D8CAB; }
.info-box small { color: #7D8CAB; }

/* ---------- Contact Form ---------- */
.contact-form { flex: 2; min-width: 300px; background: #fff; padding: 2rem; border-radius: 8px; text-align: left; box-shadow: 0 2px 6px rgba(0,0,0,0.1); }
.contact-form h3 { margin-bottom: 1rem; color: #0D3B66; }
.contact-form form { display: flex; flex-direction: column; gap: 1rem; }
.form-row { display: flex; gap: 1rem; }
.form-row input { flex: 1; color: #7D8CAB;}

.contact-form input,
.contact-form textarea { width: 100%; padding: 0.75rem; border-radius: 6px; border: 1px solid #ddd; font-size: 0.95rem; color: #7D8CAB;}
.contact-form textarea { resize: none; color: #7D8CAB; }

.contact-form button { background: linear-gradient(90deg, #0D3B66, #1d4ed8); color: #fff; border: none; padding: 0.9rem 1.5rem; border-radius: 6px; font-size: 1rem; cursor: pointer; transition: 0.3s ease; }
.contact-form button:hover { opacity: 0.9; }

/* =====================================
   Footer
===================================== */
.footer { 
  background: #0D3B66; 
  color: #fff; 
  padding: 1rem 2rem 1rem; 
  font-size: 0.95rem; 
}

/* Layout */
.footer-container { 
  max-width: 1450px; 
  margin: 0 auto; 
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); 
  gap: 1rem; 
}

/* Mid-Footer */
.footer-mid { 
  width: 100%; 
  margin: 0 auto; 
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); 
  gap: 1rem; 
}

/* Mid-Footer */
.footer-newsletter { 
  max-width: 250px; 
  margin: 0 auto; 
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); 
  gap: 1rem; 
}

/* Logo + Intro */
.footer-logo { font-size: 1.2rem; margin-bottom: 0.75rem; font-weight: 700; }
.footer-logo span { font-weight: 400; font-size: 0.9rem; }
.footer p { margin-bottom: 1rem; line-height: 1.5; color: #dbeafe; }

/* Contact Info */
.footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-contact li { margin-bottom: 0.5rem; color: #e0f2fe; }

/* Column Titles */
.footer-col h4 { margin-bottom: 1rem; font-size: 1.05rem; font-weight: 600; }

/* Links */
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul li a { color: #e0f2fe; text-decoration: none; transition: color 0.2s; }
.footer-col ul li a:hover { color: #fff; }

/* Newsletter */
.newsletter { display: flex; flex-direction: column; gap: 0.5rem; }
.newsletter input { padding: 0.7rem; border-radius: 6px; border: none; outline: none; font-size: 0.9rem; }
.newsletter button { 
  padding: 0.7rem; border-radius: 6px; border: none; 
  background: rgba(255,255,255,0.15); color: #fff; 
  font-weight: 600; cursor: pointer; transition: background 0.3s ease; 
}
.newsletter button:hover { background: rgba(255,255,255,0.3); }

/* Bottom Bar */
.footer-bottom { 
  max-width: 1450px; margin: 2rem auto 0; padding-top: 1rem; 
  border-top: 1px solid rgba(255,255,255,0.3); 
  display: flex; flex-wrap: wrap; justify-content: space-between; 
  gap: 1rem; font-size: 0.85rem; color: #dbeafe; 
}

.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { color: #dbeafe; text-decoration: none; }
.footer-links a:hover { color: #fff; }



.footer2 {
  background: #0D3B66; 
  color: #fff;
  padding: 40px 20px;
  width: 100%;
}

.footer2-container {
  max-width: 1500px;
  margin: 0 auto;
  display: flex;
  gap: 0;
  flex-wrap: wrap; /* allow wrapping */
}

.footer2-col {
  padding: 10px;
}

/* Column widths for desktop */
.footer2-left {
  flex: 0 0 30%;
}
.footer2-middle {
  flex: 0 0 50%;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.footer2-right {
  flex: 0 0 20%;
}
.footer2-col ul { list-style: none; padding: 0; margin: 0; }
.footer2-col ul li { margin-bottom: 0.5rem; }
/* =====================================
   Responsive Tweaks
===================================== */
@media (max-width: 1024px) {
  .hero h1 { font-size: 3rem; }
  .hero p  { font-size: 1rem; max-width: 600px; }
  .stat-box h2 { font-size: 1.6rem; }
}

@media (max-width: 992px) {
  .services-cards { grid-template-columns: repeat(2, 1fr); }
}

/* =====================================
   Mobile nav dropdown (full-width clickable rows)
===================================== */
@media (max-width: 768px) {
  :root { --header-height: 70px; }

  /* Hamburger visible */
  .menu-toggle { display: flex; }

  .about h2  { font-size: 2rem; color: var(--muted);text-align: cener; padding: 10px; color: #0D3B66 }
  .about p  { max-width: 1250px; margin: 0 auto 3rem; font-size: 1rem; color: var(--muted);text-align: left; padding: 10px; }

  nav ul {
    position: absolute;
    top: var(--header-height); /* directly below header */
    left: 0;
    right: 0;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    margin: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s ease-in-out;
    display: flex;
    z-index: 2000;
  }
  nav ul.show { max-height: 75vh; }

  nav ul li {
    width: 100%;
    margin: 0;
    list-style: none;
  }

  nav ul li a {
    display: block;
    width: 100%;
    padding: 16px 20px;
    background: gray;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #eee;
    cursor: pointer;
  }
  nav ul li:last-child a { border-bottom: 0; }
  nav ul li a:hover { background: #eda; }
  
  nav ul li.mobile-action {
    display: flex;
    align-items: center;
    justify-content: space-between; /* text left, icon right */
    width: 100%;
  }

  nav ul li.mobile-action .action-text {
    display: inline-block;
    font-size: 18px;
  }

  nav ul li.mobile-action i {
    margin-left: auto;
    font-size: 18px;
  }

  /* Make search input expand full width below text+icon */
  nav ul li.search-li form {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }

  nav ul li.search-li input {
    flex: 1;
    margin: 0 10px;
  }


  .panel-container {
    max-height: 0;
    width: 100%;
    overflow: hidden;
    transition: max-height 1s ease;
    margin: auto;
  }
  
  .register-form { 
    flex: 2; 
    min-width: 250px; 
    background: #fff; 
    padding: 0; 
    border-radius: 8px; 
    text-align: left; 
  }
    
  .register-form input,
  .register-form textarea { width: 100%; padding: 0.75rem; border-radius: 6px; border: 1px solid #ddd; font-size: 0.95rem; color: #7D8CAB;}
  .register-form textarea { resize: none; color: #7D8CAB; }

  .register-form select { width: 100%; padding: 0.75rem; border-radius: 6px; border: 1px solid #ddd; font-size: 0.95rem; color: #7D8CAB;}
  .register-form select { resize: none; color: #7D8CAB; }

  .register-form button { background: linear-gradient(90deg, #0D3B66, #1E5A99); color: #fff; border: none; padding: 0.9rem 1.5rem; border-radius: 6px; font-size: 1rem; cursor: pointer; transition: 0.3s ease; }
  .register-form button:hover { opacity: 0.9; }

  /* Close button */
  .close-panel {
    position: absolute;
    top:0px;
    right: 0px;
    background: transparent;
    border: none;
    padding:0;
    font-size: 24px;
    font-weight: bold;
    color: #444;
    cursor: pointer;
    transition: color 1s ease;
  }
}

@media (max-width: 768px) {
  .hero {
    height: calc(100dvh - var(--header-height)); /* mobile-safe viewport */
    padding: 4rem 1rem 2rem;
  }
  .hero h1 { font-size: 2.2rem; }
  .hero p  { font-size: .95rem; max-width: 500px; }

  .stats-container { width: 100%; padding: 0 1rem; }
  .stats { flex-direction: column; gap: 1rem; width: 100%; }
  .stat-box { min-width: auto; width: 100%; padding: 1rem; min-height: 100px; }
  .stat-box h2 { font-size: 1.5rem; }
  .stat-box p  { font-size: .85rem; }

  .about-cards { grid-template-columns: 1fr; } /* stack about cards */

  nav ul {
    position: absolute;
    top: var(--header-height); /* directly below header */
    left: 0;
    right: 0;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    margin: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s ease-in-out;
    display: flex;
    z-index: 2000;
  }
  nav ul.show { max-height: 75vh; }

  nav ul li {
    width: 100%;
    margin: 0;
    list-style: none;
  }

  nav ul li a {
    display: block;
    width: 100%;
    padding: 16px 20px;
    background: #f9f9f9;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #eee;
    cursor: pointer;
  }
  nav ul li:last-child a { border-bottom: 0; }
  nav ul li a:hover { background: #e0e0e0; }
}

@media (max-width: 600px) {
  .services-cards { grid-template-columns: 1fr; } /* stack services cards */
}

.hidden {
  display: none;
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.8rem; line-height: 1.3; }
  .hero p  { font-size: .85rem; max-width: 90%; }
  .cta-buttons { flex-direction: column; gap: .75rem; }
  .cta-buttons a { width: 100%; font-size: .85rem; }
  .stats-container { width: 100%; padding: 0 .75rem; }
  .stat-box { width: 100%; padding: .8rem; border-radius: 12px; min-height: 90px; }
  .stat-box h2 { font-size: 1.3rem; }
  .stat-box p  { font-size: .8rem; }

  nav ul {
    position: absolute;
    top: var(--header-height); /* directly below header */
    left: 0;
    right: 0;
    width: 100%;
    background: #fefefe;
    flex-direction: column;
    align-items: stretch;
    margin: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s ease-in-out;
    display: flex;
    z-index: 2000;
  }
  nav ul.show { max-height: 75vh; }

  nav ul li {
    width: 100%;
    margin: 0;
    list-style: none;
  }

  nav ul li a {
    display: block;
    width: 100%;
    padding: 16px 20px;
    background: #f9f9f9;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #eee;
    cursor: pointer;
  }
  nav ul li:last-child a { border-bottom: 0; }
  nav ul li a:hover { background: #e0e0e0; }
}


.footer2 {
  background: #0D3B66; 
  color: #fff;
  padding: 40px 20px;
  width: 100%;
}

.footer2-container {
  max-width: 1500px;
  margin: 0 auto;
  display: flex;
  gap: 0;
  flex-wrap: wrap; /* allow wrapping */
}

.footer2-col {
  padding: 10px;
}

/* Column widths for desktop */
.footer2-left {
  flex: 0 0 25%;
}
.footer2-middle {
  flex: 0 0 50%;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.footer2-right {
  flex: 0 0 25%;
}
.footer2-col ul { list-style: none; padding: 0; margin: 0; }
.footer2-col ul li { margin-bottom: 0.5rem; }
/* Responsive: stack columns on smaller screens */
@media (max-width: 992px) {
  .footer2-left,
  .footer2-middle,
  .footer2-right {
    flex: 0 0 100%;
  }
}

/* Responsive: stack middle column items vertically */
@media (max-width: 600px) {
  .footer2-middle {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer2-middle-item {
    margin-bottom: 10px;
  }
}
