
  
/*
Style
*/
:root {
  --blue:#0b3a66;
  --dark-blue:#082c4d;
  --orange:#f28c28;
  --light-gray:#f4f6f8;
  --white:#ffffff;
  --text-gray:#5f6c7b;   
  --banner-background-url: /img/banner_home.jpg;
  
}

body {
    margin: 0;
    padding: 0;
}
html {
    margin: 0;
    padding: 0;
}
/* ===== Reusable Content Container ===== */
/* 
  desktop
    this what contrls the  are of the content on the page
 */
.content {
  width: 60%;  /*change HERE  for area content will take*/
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.subcontent {
  width: 85%;  /*change HERE  for area content will take*/
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ===== Top Section (Blue / Stock Ticker) ===== */
.top-bar {
  background-color: #0b3a66;
  color: white;
  font-size: 13px;
}

.top-bar .content {
  padding: 8px 0;
}


/* ===== Middle Section (Grey / Nav) ===== */
.nav-section {
  background-color: white;
  border-bottom: 1px solid #ccc;
  
}

/* ===== DESKTOP NAV (DEFAULT) ===== */
/* =========================
   DESKTOP NAV — BASELINE
   ========================= */
nav {
  position: static;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  height: auto;
  width: auto;
  background: none  !important;
  padding: 0;
}


nav ul,
nav .mobile-nav-links {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
}

nav a {
  text-align: left;
}

/* Desktop must never look like the overlay */
@media (min-width: 769px) {
  nav {
    inset: auto;
    display: flex !important;
  }
}


/* Hide hamburger on desktop */
.menu-toggle {
  display: none;
}


.nav-section .content {
  padding: 15px 0;
}


.logo {
  font-size: 20px;
  font-weight: bold;
  color: #0b3a66;
}

nav {
  display:flex;
  gap:24px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}
nav a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

nav a:hover {
  color: #0b3a66;
  text-decoration: underline;
}

.dropdown{position:relative}
.dropdown>a{text-decoration:none;color:#333;font-weight:500;cursor:pointer}
.dropdown-content{display:none;position:absolute;background:#fff;border:1px solid #ddd;min-width:180px;z-index: 1000;}
.dropdown-content a{display:block;padding:10px 14px;color:#333;text-decoration:none}
.dropdown:hover .dropdown-content{display:block}

@media (max-width: 768px) {
  .dropdown {
    position: static;
  }

  .dropdown-content {
    position: static;
    display: none;
    width: 100%;
    min-width: auto;
    border: none;
    background: transparent;
    box-shadow: none;
    margin-top: 0;
    padding-left: 0;
  }

  .dropdown:hover .dropdown-content,
  .dropdown:focus-within .dropdown-content {
    display: block;
  }

  .dropdown-content a {
    padding: 10px 24px;
    background: transparent;
    color: #333;
  }
}

/* ===== top banner Section  ===== */
/*
DEFINE ON EACH PAGE SO IT CA BE  CuSTOMIZE FOR EACH PAGE AND PLUGINS WONT DISABLE THEM
*/

.topbanner-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
}

.topbanner-content {
  position: relative;
  color: white;
  height: 100%;
  display: flex;
  align-items: center;
}

.topbanner-text {
  max-width: 600px;
}

.topbanner-text h1 {
  font-size: 42px;
  margin-bottom: 15px;
}

.topbanner-text p {
  font-size: 14px;
  line-height: 1.5;
}

/*rest of here define in css file*/
.topbanner-section {
  position: relative;
  background-color: #000;
  background-image: url("/img/banners/banner1.jpg");
  background-size: cover;
  background-position: center;
  height: 500px;
}

/*cta  banner*/  
@media (min-width: 1024px) {
  .cta-banner {
    width: 60%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    color: #fff;
    background-color:var(--blue);
    margin: 0 auto;
    border-radius: 6px; /* optional – matches “contained” look */
  }

/* Fix CTA layout on desktop */
@media (min-width: 1024px) {
  .cta-banner .content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0px;
      padding: 10px 0;
  }
}

.cta-banner .content {
    padding: 70px 0;
  }
}

.cta-banner h2{
    color:#d6e6f5;
    font-size:1.8rem;
    margin-bottom:10px
}
.cta-vspace p{
    color:#d6e6f5;
    font-size:.95rem
}
.cta-vspace {
  line-height: 1.2;
}


/*footer menu*/
.footer {
  background: #1f1f1f;
  padding: 50px 40px 30px;
  color: #ccc;
}



.footer-container {
  width: 100%;
  display: grid;

  /* columns size to their content */
  grid-template-columns: repeat(4, max-content);

  /* center the entire group */
  justify-content: left;

  /* spacing between columns */
  column-gap: 120px;
}

.footer-container div {
  text-align: left;
}

.footer-brand {
  max-width: 240px;
  font-size: .85rem;
  /*color: #ccc;*/
}

footer h4 {
  margin-bottom: 12px;
/*  color: #9fd3ff;*/
  font-size: .85rem;
}

footer a {
  display: block;
  margin-bottom: 8px;
  /*color:var(--blue);*/
  color: inherit;
  text-decoration: none;
  font-size: .85rem;
}

.copyright {
  text-align: center;
  margin-top: 30px;
  font-size: .75rem;
  /*color: #aaa;*/
}



a.linkblue {
    cursor: pointer;
    color: #1b5da8;
     text-decoration: underline;
}

a.linkblue:hover,
a.linkblue:focus,
a.linkblue:active {
    color: #0b3a66;    
}

a.linkblue_nounderline {
    cursor: pointer;
    color: #1b5da8;
     text-decoration: none;
}
a.linkblue_nounderline:hover,
a.linklinkblue_nounderlineblue:focus,
a.linkblue_nounderline:active {
    color: #0b3a66;
    text-decoration: underline;
}



a.button_pagecolor {   
    color: white;
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 14px;
    text-decoration: none;
}
    
a.button_pagecolor {   
    margin-top: 20px;
    padding: 10px 18px;
    border-radius: 20px;
    border: none;
    cursor: pointer;
    font-size: 14px;
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 600;
    display: inline-block;
    transition: background-color 0.2s ease-in-out;
}

a.button_pagecolor:hover,
a.button_pagecolor:focus,
a.button_pagecolor:active,
a.button_pagecolor:visited {
  color: #ffffff !important;
  text-decoration: none !important;
 
}


a.button_orange {
   background-color: var(--orange);
    margin-top: 0px;
    padding: 10px 18px;
    border-radius: 20px;
    border: none;
    cursor: pointer;
    font-size: 14px;
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 600;
    display: inline-block;
    transition: background-color 0.2s ease-in-out;
}
a.button_orange:hover,
a.button_orange:focus,
a.button_orange:active,
a.button_orange:visited {
  color: #ffffff !important;
  text-decoration: none !important;
  background-color: var(--orange);
}



a.button_blue {
   background-color: var(--blue);
    margin-top: 0px;   
    padding: 10px 18px;
    border-radius: 20px;
    border: none;
    cursor: pointer;
    font-size: 14px;
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 600;
    display: inline-block;
    transition: background-color 0.2s ease-in-out;
}
a.button_blue:hover,
a.button_blue:focus,
a.button_blue:active,
a.button_blue:visited {
  color: #ffffff !important;
  text-decoration: none !important;
  background-color: var(--blue);
}

a.button_white {
    background-color: var(--white)  !important;
    margin-top: 20px;
    padding: 10px 18px;
    border-radius: 20px;
    border: none;
    cursor: pointer;
    font-size: 14px;
    color: var(--blue) !important;   
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 600;
    display: inline-block;
    transition: background-color 0.2s ease-in-out;
}
a.button_white:hover,
a.button_white:focus,
a.button_white:active,
a.button_white:visited {
   background-color: var(--white)  !important;
  color: var(--blue) !important;
  text-decoration: none !important;

}


/* Mobile content*/

@media (max-width: 768px) {
  .content {
    width: 92%;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

/* Mobile nav*/
@media (max-width: 768px) {

    nav {
    position: fixed;
    inset: 0;
    background-color: #181a1f;
    z-index: 9999;
    display: none;
    flex-direction: column;
    align-items: flex-start; /* ✅ LEFT aligned */
    padding: 24px;
  }

  nav.active {
    display: flex;
  }

  .mobile-nav-links {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* ✅ LEFT */
    gap: 20px;
    margin-top: 40px;
  }

  .mobile-nav-links a {
    text-align: left;
  }


  .menu-toggle {
    display: block;
    position: absolute;
    top: 50%;
    right: 6px;
    transform: translateY(-50%);
    z-index: 10001;

    background: none;
    border: none;
    color: #ffffff;
    font-size: 28px;
    cursor: pointer;
  }


  
  .desktop-nav {
    display: none;
  }


  .nav-logo {
    order: 2;
  }

   .nav-section .content {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .button_orange {
    align-self: flex-start;
  }

   .nav-section > .content > .button_orange {
    display: none;
  }

}

@media (max-width: 768px) {

  .mobile-contact {
    margin-top: auto;     /* ✅ Pushes to bottom */
    align-self: flex-start;
  }
}



/* Hide mobile menu by default */
@media (max-width: 768px) {
  nav {
    position: fixed;
  
    inset: 0;
    background: #ffffff;
    z-index: 9999;
    display: none;
    flex-direction: column;
    padding: 20px;
  }

  

  nav.active {
    display: flex;
  }
  
  .mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
  }

  .mobile-contact {
    margin-top: auto; /* pushes button to bottom */
    width: 100%;
    text-align: center;
    padding: 14px 0;
    border-radius: 25px;
  }

  .menu-toggle {
    display: block;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #333;
  }
}
@media (min-width: 769px) {
  .menu-toggle {
    display: none;
  }
}

/* ===========================
   MOBILE MENU — HARD FIX
   =========================== */
@media (max-width: 768px) {

  /* Fullscreen container */
  nav {
    position: fixed;
    inset: 0;
    background: #ffffff !important;
    z-index: 9999;
    display: none;
    flex-direction: column;
    padding: 24px;
  }

  nav.active {
    display: flex;
  }

  /* Mobile Menu Header */
  .mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e0e0e0;
  }

  .mobile-logo img {
    width: 60px;
    height: 60px;
  }

  .close-btn {
    background: none;
    border: none;
    font-size: 32px;
    cursor: pointer;
    color: #333;
    padding: 0;
    line-height: 1;
    margin-left: auto;
  }

  .menu-toggle .close {
    display: none;
  }

  .menu-toggle.active {
    display: none !important;
  }

  /* MENU LIST – FORCE COLUMN */
  nav ul,
  .mobile-nav-links {
    display: flex;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    gap: 20px;
    margin-top: 40px;
    width: 100%;
  }

  /* Menu links */
  nav a {
    font-size: 18px;
    text-align: left;
  }

  /* Contact Us – PUSH TO BOTTOM */
  .mobile-contact {
    margin-top: auto;
    width: 100%;
  }

  /* Mobile button width */
  nav .button_orange {
    width: 80%;
    display: block;
    margin: 0 auto;
    text-align: center;
    padding: 14px 18px;
    margin-top: 0;
    align-self: center;
  }
}

/*top banner*/
@media (max-width: 768px) {
  .topbanner-section {
    height: auto;
    padding: 80px 0;
  }

  .topbanner-text h1 {
    font-size: 28px;
  }

  .topbanner-text p {
    font-size: 15px;
  }
}

/*cta-banner*/
@media (max-width: 768px) {
  .cta-banner .content {   
      width: 100%; 
     color: #fff;
    background-color:var(--blue);
    text-align: left;
    padding: 0px 0;
  }

.cta-banner h2 {
    font-size: 26px;
}

.cta-banner p {
    font-size: 15px;
  }
}



/*bottom footer menu*/
@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;
    row-gap: 30px;
    justify-content: flex-start;
  }

  .footer {
    padding: 40px 20px;
  }
}