/* style.css */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@200;300;400;500;600;700&display=swap");

html, body {
    height: 100%; 
    margin: 0; /* Remove default margins */
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Montserrat", sans-serif;

}

:root {
  --dark-grey: #333333;
  --medium-grey: #636363;
  --light-grey: #eeeeee;
  --ash: #f4f4f4;
  --primary-color: #2b72fb;
  --white: white;
  --border: 1px solid #393838;
  --shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px,
    rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;
--nav-bg: hsl(220, 24%, 12%);
--nav-txt: #fff;
--nav-bg-alt: hsl(220, 20%, 18%);


  /* Highlight color variables */
  --highlight-color: hsl(220, 85%, 85%); /* Adjust hue, saturation, lightness as needed */
  --hover-color: hsl(220, 65%, 45%);
}

body {
font-family: Arial, sans-serif;
            line-height: .75;     /* main nav height */ 

  background-color: white;
  color: var(--dark-grey);
  letter-spacing: -0.4px;

margin-top: 40px;		  /* 2nd nav bar margin */
}

html {
    scroll-padding-top: 80px; /* Adjust this to match your navbar's height */
}

ul {
  list-style: none;
}

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

/*this is the dropdown and ham button styles*/

button {    
  border: none;
  background-color: transparent;
  cursor: pointer;
	color: var(--nav-txt);
}



.btn {
  display: block;
  background-color: var(--nav-bg-alt);
  text-align: center;
  padding: 0.6rem 1.4rem;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 5px;
}

.showcase
{
  color: var(--highlight-color);
  font-weight: bold;
  display: inline-flex;
  align-items: center;
  gap: 4px; /* Space between text and icon */
  transition: color 0.3s ease;
}

.showcase:hover {
  color: var(--hover-color);
}




.contact
{
  color: #ffffff;
  background-color: #0073e6;
  font-weight: bold;
  display: inline-flex;
  align-items: center;
  gap: 4px; /* Space between text and icon */
  border-radius: 5px;
   box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s, transform 0.2s;
}

.contact:hover {
  color: #ffffff !important;
  background-color: #005bb5; /* Retain the original background color */
  transform: translateY(1px); /* Apply only the translateY effect */
  scale: 1; /* Reset scaling to default (if necessary) */
  rotate: 0deg; /* Reset rotation to default (if necessary) */
}


.icon {
  padding: 0.5rem;
  background-color: var(--light-grey);
  border-radius: 10px;
}

.logo {
  margin-right: 1.5rem; /*spacing right of logo*/
}

#nav-menu {
  border-bottom: var(--border);
background-color: var(--nav-bg); /*bkgrnd outside container max width*/

  position: fixed; /* Keep the menu fixed */
  top: 0; /* Position at the top */
  left: 0; /* Position on the left */
  width: 100%; /* Full width */
z-index: 2999;
}

.container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1600px;
  margin: 0 auto;
  column-gap: 2rem;
  height: 40px;             /*nav height, seems txt size affects it*/
  padding: 1.2rem 3rem;
background-color: var(--nav-bg);  /*nav outside border*/
color: var(--nav-txt);	/*main and submenu colors excluding dropdown*/
}

.menu {
  position: relative;
  background: var(--nav-bg); /*nav link padding*/
}

.menu-bar li:first-child .dropdown {
  flex-direction: initial;
  z-index: 3500;
}



.menu-bar .dropdown-link-title {
  font-weight: 600;
}

.menu-bar .nav-link {
  font-size: .95rem;     /*nav font size*/
   font-weight: 600;
  letter-spacing: -0.6px;
  padding: 0.3rem;
  min-width: 60px;
  margin: 0 0.6rem;
}

.menu-bar .nav-link:hover,
.dropdown-link:hover {
  color: var(--primary-color);
}

.nav-start,
.nav-end,
.menu-bar,
.right-container,
.right-container .search {
  display: flex;
  align-items: center;
}

.dropdown {
  display: flex;
  flex-direction: column;
  min-width: 230px;
  background-color: var(--nav-bg-alt);
  border-radius: 10px;
  position: absolute;
  top: 36px;
  z-index: 3500;
  visibility: hidden;
  opacity: 0;
  transform: scale(0.97) translateX(-5px);
  transition: 0.1s ease-in-out;
  box-shadow: var(--shadow);
}

.dropdown.active {
  visibility: visible;
  opacity: 1;
  transform: scale(1) translateX(5px);
}

.dropdown ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.2rem;
  font-size: .85rem;     /*nav fs n mobi dd font size*/
   font-weight: 600;

}

.dropdown-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.15rem;
}

.dropdown-link {
  display: flex;
  gap: 0.5rem;
  padding: 0.5rem 0;
  border-radius: 7px;
  transition: 0.1s ease-in-out;
}

.dropdown-link p {
  font-size: 0.85rem; /*icon nav subtitles  fs n mobi */
  color: var(--medium-grey);
}

.right-container {
  display: flex;
  align-items: center;
  column-gap: 1rem;
}



.right-container img {
  border-radius: 50%;
}



#hamburger {
  display: none;
  padding: 0.1rem;
  margin-left: 1rem;
  font-size: 1.5rem;        /* actual hamburger icon size */
color:white;
  border: 1px solid #626464; 
  border-radius: 4px;        
  background: #33353d;    
  transition: box-shadow 0.2s ease;
}

#hamburger:focus,
#hamburger:hover {
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.05); 
  outline: none;
}



/* Page Wrapper */
.page-wrapper {
    min-height: 100vh; /* Minimum height matches the viewport height */
    display: flex;
    flex-direction: column; /* Stack header, content, and footer */
}

.page-content {
    flex: 1; /* Grow to fill the remaining space between header and footer */
}

.headerimg {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 50%;
}

/* Footer */
footer {
    background: #222;
    color: white;
    text-align: center;
    padding: 15px 0;
    margin-top: 0; /* No extra margin at the top */
}


/*                             */
/* announcement banner styling */
/*                             */

.announcement-banner {
    background-color: #ffa726; 
    color: white; /* Text color */
    text-align: center; 
  padding-top: 10px;
  padding-bottom: 10px;
    font-size: 1rem; 
    font-weight: 600; 
    position: fixed; 
    top: 220; 
    left: 0; 
    width: 100%; 
    z-index: 2200; 
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); 
}

/* Dismiss button */
.announcement-banner .dismiss-btn {
    position: absolute; 
    right: 1rem; 
    top: 50%; 
    transform: translateY(-50%); 
    background: transparent; 
    border: none; 
    color: white;
    font-size: 1.5rem; 
    cursor: pointer; 
    transition: color 0.3s ease; 
}

.announcement-banner .dismiss-btn:hover {
    color: #ff7043; 
}


.announcement-banner a {
    color: #2563eb; 
    text-decoration: underline; 
    font-weight: 500; 
    transition: color 0.3s ease; 
}

.announcement-banner a:hover {
    color: #1d4ed8; 
}









/*                           */
/*     M O B I L E V I E W   */
/*                           */


@media (max-width: 900px) {

  #hamburger {
    display: block;
  }

  .container {
    padding: 25px; /* mobi nav height */
  }

  .menu {
    display: none;
    position: absolute;
    top: 47px;              /* mobi dropdown start height */
    left: 0;
    min-height: 100vh;
    width: 100vw;
  }

  .dropdown {
    display: none;
    min-width: 100%;
    border: none !important;
    border-radius: 5px;
    position: static;
    top: 0;
    left: 0;
    visibility: visible;
    opacity: 1;
    transform: none;
    box-shadow: none;
  }

  .menu.show,
  .dropdown.active {
    display: block;
  }

  .dropdown ul {
    padding-left: 0.3rem;
  }

  .menu-bar {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    row-gap: 1rem;
    padding: 1rem;
  }

  .menu-bar .nav-link {
    display: flex;
    justify-content: space-between;
    width: 100%;
    font-weight: 600;
    font-size: 1.00rem;    /* mobi man nav font size */
    margin: 0;
  }

  .announcement-banner {
    top: 50px;}



} /* mobi end */