body, h1, h2, p, a {
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
  }
  
  /* Top Nav Bar */
  .top-nav {
    display: flex;
    justify-content: space-between;
    background-color: #f4f5fa;
    padding: 10px 20px; /* reduced from 40px */
    font-weight: bold;
    font-size: 14px;
    position: relative;
    z-index: 1001; /* stays behind hamburger */
  }
  
  .top-nav-left,
  .top-nav-right {
    display: flex;
    gap: 20px;
  }
  
  .top-nav-right {
    padding-right: 40px; /* give room for hamburger */
  }
  
  .top-nav a {
    color: #000;
    text-decoration: none;
  }
  
  
  
  
  /* Main Header */
  .main-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 40px;
    background-color: #fff;
    border-bottom: 1px solid #eee;
    flex-wrap: wrap;
  }
  
  .logo-section {
    display: flex;
    align-items: center;
    gap: 12px; /* <-- This adds spacing between logo and sub-brand */
  }
  
  .logo {
    height: 100px;
    margin-right: 12px;
    border-radius: 6px;
  }
  
  .sub-brand {
    font-size: 14px;
    color: #001f70;
    font-weight: 600;
    line-height: 1.4;
  }
  
  .main-nav {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
  }
  
  .main-nav a {
    color: #001f70;
    font-weight: 600;
    text-decoration: none;
  }
  
  .auth-section a {
    margin-left: 15px;
    color: #001f70;
    font-weight: 600;
    text-decoration: none;
  }
  
  /* Hero Banner */
  .hero-banner {
    position: relative;
    height: 210px;
    background: url('images/panoramic-image.jpg') center/cover no-repeat;
  }
  
  .hero-text {
    position: absolute;
    bottom: 20px;
    left: 40px;
    color: white;
  }
  
  .hero-text h1 {
    font-size: 80px;
    margin-bottom: 10px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
  }
  
  .hero-text p {
    font-size: 24px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  }
  
  /* CTA Buttons */
  .cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding: 20px;
    background: #fff;
  }
  
  .cta-buttons a {
    background: #0d6efd;
    color: white;
    padding: 12px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
  }
  
  .cta-buttons a:hover {
    background: #084298;
  }
  

  .collapsed-nav {
    position: fixed;
    top: 0;
    right: -260px; /* Hidden by default */
    width: 240px;
    height: 100vh;
    background-color: #0d6efd;
    padding: 20px;
    box-shadow: -4px 0 12px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1100;
    transition: right 0.3s ease-in-out;
    overflow-y: auto;
  }
  
  /* When nav is open — add this class via JS */
  .collapsed-nav.open {
    right: 0;
  }
  
  .collapsed-nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    padding: 10px;
    border-radius: 5px;
    transition: background 0.2s ease;
  }
  
  .collapsed-nav a:hover {
    background: rgba(255, 255, 255, 0.2);
  }
  
  
  .close-nav {
    align-self: flex-end;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    margin-bottom: 20px;
  }
  
  /* Overlay */
  .nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease-in-out;
  }
  
  .nav-overlay.show {
    opacity: 1;
    pointer-events: all;
  }
  .search-bar {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%) translateY(-100%);
    width: 100%;
    max-width: 500px;
    background: white;
    padding: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 1200;
    display: flex;
    gap: 10px;
    transition: transform 0.3s ease-in-out;
  }
  
  .search-bar.show {
    transform: translateX(-50%) translateY(0);
  }
  
  .search-bar input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
  }
  
  .search-bar button {
    background: #dc3545;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
  }
  
  /* Hamburger */
  .menu-button {
    font-size: 28px;
    color: #001f70;
    background: none;
    border: none;
    cursor: pointer;
    position: fixed;
    top: 16px;
    right: 20px;
    z-index: 1300;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .dropdown {
    position: relative;
  }
    

  .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border: 1px solid #ccc;
    display: none;
    flex-direction: column;
    padding: 10px;
    border-radius: 6px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    z-index: 1050;
    animation: fadeDown 0.3s ease-in-out;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease-in-out;
  }

  .dropdown-menu a {
    padding: 6px 10px;
    text-decoration: none;
    color: #001f70;
    white-space: nowrap;
  }
  
  .dropdown-menu a:hover {
    background: #f4f5fa;
  }
  
  .dropdown.show .dropdown-menu {
    display: flex;
  }
  /* Ensure proper stack order */
.menu-button { z-index: 1300; }
.search-bar { z-index: 1250; }
.collapsed-nav { z-index: 1200; }
.nav-overlay { z-index: 1100; }

  
  @keyframes fadeDown {
    from {
      opacity: 0;
      transform: translateY(-8px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .dropdown.show .dropdown-menu {
    opacity: 1;
    pointer-events: all;
  }
  
  @media (max-width: 768px) {
    .main-header {
      flex-direction: column;
      align-items: flex-start;
      padding: 20px 20px; /* Reduce horizontal padding for smaller screens */
      width: 100%;
    }

    .main-nav {
      flex-direction: column;
      gap: 10px;
      width: 100%;
      padding-top: 10px;
    }
  
    .auth-section {
      align-self: flex-end;
      padding-top: 10px;
    }
  }
  .content-block {
    background: #fff;
    margin: 30px auto;
    padding: 30px;
    border-radius: 12px;
    max-width: 900px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid #e0e0e0;
    transition: box-shadow 0.3s ease;
  }

  .content-block:hover {
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
  }
  
  .content-block img.section-icon {
    width: 100px;
    height: auto;
    display: block;
    margin: 15px 0;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }

  .content-block h2 {
    color: #0d6efd;
    margin-bottom: 10px;
  }
  
  .content-block ul {
    padding-left: 20px;
    list-style-type: disc;
  }
  
  .content-block li {
    margin-bottom: 10px;
  }
  
  .content-block form {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 10px;
  }
  
  .content-block input[type="email"] {
    padding: 10px;
    flex: 1;
    min-width: 250px;
    border: 1px solid #ccc;
    border-radius: 4px;
  }
  
  .content-block button {
    background: #198754;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
  }
  
  .content-block button:hover {
    background: #145c32;
    transform: scale(1.03);
  }
  

  .content-block {
    border-top: 5px solid #0d6efd;
  }

    
  /*search glow effect add a visual cue when a section is highlighted from search*/ 
  .content-block {
    transition: border 0.3s ease-in-out, transform 0.3s ease;
  }
  
  .content-block:has(section[style*="border-color: #0d6efd"]) {
    box-shadow: 0 0 10px #0d6efd;
    border-radius: 8px;
  }
  .section-icon {
    width: 100px;
    height: auto;
    margin-bottom: 10px;
  }
 /* Widget container styling */
.widget-box {
  padding: 20px;
  margin: 20px 0;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  font-family: 'Montserrat', sans-serif;
  line-height: 1.6;
}

/* Default state */
.item, .drop-zone {
  background: white;
  border: 2px solid #005a9e !important; /* Force solid */
  border-style: solid !important;      /* Ensure no dotted inheritance */
  padding: 12px;
  margin-bottom: 10px;
  cursor: pointer;
  border-radius: 5px;
  text-align: center;
  transition: background 0.3s, border-color 0.3s;
}
.item.active {
  background-color: #cce6ff;           /* Light blue background */
  border: 2px solid #003d73 !important; /* Stronger blue border */
  box-shadow: 0 0 0 3px rgba(0, 90, 158, 0.2); /* Soft highlight */
}
#butterfly-effect-section {
  animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.cta-link {
  display: inline-block;
  background-color: #005a9e;
  color: white;
  padding: 8px 14px;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.4s ease-in-out;
}

.cta-link.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.cta-link:hover {
  background-color: #003d73;
}
.cta-link {
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.4s ease-in-out;
}



/*contact form*/

.contact-form {
  background-color: #fff;
  border: 1px solid #ddd;
  padding: 30px;
  border-radius: 8px;
  max-width: 600px;
  margin: 30px auto;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.form-group {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 600;
  margin-bottom: 6px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  padding: 10px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form button[type="submit"] {
  background-color: #0077cc;
  color: #fff;
  font-weight: 600;
  border: none;
  padding: 12px 20px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-form button[type="submit"]:hover {
  background-color: #005fa3;
}

.footer {
  background-color: #f8f9fa;
  padding: 20px;
  margin-top: 40px;
  font-size: 14px;
  color: #333;
  text-align: center;
}

.footer-content {
  max-width: 800px;
  margin: 0 auto;
}

.footer a {
  color: #0056b3;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

.footer .disclaimer {
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.6;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.7;
  background: #f9f9f9;
  color: #333;
  margin: 0;
  padding: 0;
}

.top-nav {
  background-color: #fff;
  padding: 15px 20px;
  border-bottom: 1px solid #ddd;
  text-align: left;
  font-size: 14px;
}

.top-nav a {
  text-decoration: none;
  color: #0073e6;
}

section {
  background: #fff;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

h1 .blog-post h1 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #222; /* Only applies to blog page headings now */
}

h2 {
  margin-top: 30px;
  font-size: 1.25rem;
  color: #0073e6;
  border-left: 4px solid #0073e6;
  padding-left: 10px;
}

p {
  margin: 16px 0;
}

em {
  color: #666;
}

img {
  display: block;
  max-width: 100%;
  border-radius: 10px;
}

a {
  color: #0073e6;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

strong {
  background: #fff3cd;
  padding: 4px 8px;
  border-radius: 5px;
}
/*I'm adding in this below code on 31 May 2025 to render the website to look the same on mobile devices */

/* Universal reset + scale fix */
body {
  margin: 0;
  padding: 0;
  font-family: 'Arial', sans-serif;
}

img {
  max-width: 100%;
  height: auto;
}

/* Logo alignment */
header img, .logo {
  max-width: 130px;
  height: auto;
  margin: 10px auto 5px;;
  display: block;
}

/* Banner section */
.banner {
  text-align: center;
  padding: 20px;
  background-size: cover;
  background-position: center;
}

.banner h1 {
  font-size: 2.2em;
  margin: 0;
  color: #fff;
}

.banner p {
  font-size: 1em;
  color: #f4f4f4;
}

/* new rendering 31 May 2025 for mobile */

/* ====== RESPONSIVE TWEAKS FOR MOBILE (<=768px) ====== */
@media (max-width: 768px) {
  /* Hero text scaling */
  .hero-text h1 {
    font-size: 42px;
    text-align: center;
  }

  .hero-text p {
    font-size: 18px;
    text-align: center;
  }

  /* Main header stacking */
  .main-header {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
  }

  .logo-section {
    justify-content: center;
    width: 100%;
  }

  /* Hide desktop nav if using mobile-only nav */
  .main-nav {
    display: none !important;
  }

  /* CTA buttons stack vertically */
  .cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .cta-buttons a {
    width: 100%;
    max-width: 320px;
    text-align: center;
  }

  /* Tighter top nav spacing */
  .top-nav {
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 15px;
    gap: 10px;
  }

  .top-nav-left, .top-nav-right {
    flex-direction: column;
    gap: 6px;
    padding: 0;
  }

  /* Smaller logo */
  .logo {
    max-width: 100px;
    margin: 0 auto;
  }

  /* Adjust footer */
  .footer {
    font-size: 13px;
    padding: 15px;
  }

  .footer .disclaimer {
    font-size: 11px;
  }

  /* Better content spacing */
  .content-block {
    padding: 20px;
    margin: 20px 10px;
  }

  .contact-form {
    padding: 20px;
    margin: 20px 10px;
  }

  /* Smaller dropdown menu items */
  .dropdown-menu a {
    font-size: 14px;
  }

  /* Responsive form inputs */
  .contact-form input,
  .contact-form textarea {
    font-size: 14px;
  }
}
