
/* Global Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* General Styles */
body {
    margin: 0;
    font-family: 'Helvetica Neue', 'Roboto', Helvetica, 'Arimo', sans-serif;
    font-size: 14px;
    line-height: 1.42857143;
    color: #333;
}

h1, h2, h3 {
    margin: 20px 0;
    font-weight: 400;
}
p{
    font-weight: 350;
}
/* Header */
.site-header {
    background-color: white;
    padding: clamp(15px, 2vw, 20px);
    height: 1vh;
    position: sticky; /* Sticks at the top of the page */
    z-index: 1002;
    width: 100%;
}

.header-container {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    max-width: screen-size;
  }

/* Logo */
.logo{
    display: flex;
    align-items: center;
    padding-bottom: 25px;
    border-radius: 0; /* Remove rounded corners if any */
    height: 90%; /* Make it extend to the full height */
    position: absolute;

}

.logo img{
    max-width: 140px;
    height: auto;
    display: flex;
    align-items: baseline;
    border-radius: 0; /* Remove rounded corners if any */
    height: auto; /* Make it extend to the full height */
    justify-content:flex-end; /* Space between logo, nav, and button */
    position: absolute;
}

@media (max-width: 1000){
    .logo img{
        width: 50px !important;
    }

    .logo{
        top: 0 !important;
        padding-bottom: 20px !important;
    }
}
/* Navigation Menu */

.nav-menu{
    display: flex;
    align-items: baseline;
    border-radius: 0; /* Remove rounded corners if any */
    height: 100%; /* Make it extend to the full height */
    justify-content:flex-end; /* Space between logo, nav, and button */
    padding-right: 2.5%;
    position: absolute;
    bottom: 0;
}

.nav-menu.show {
    display: flex;
} 

.nav-menu ul {
    display: flex;
    list-style: none;
    align-items: baseline;
    background: white;
    height: 100%;
    gap: 20px; /* Space between nav links */
}

.nav-menu li {
    display: flex;
    align-items: center; /* Ensures other nav links stay centered */
    height: 100%;
}


.nav-menu a {
    display: flex;
    align-items: baseline;
    text-decoration: none;
    color: #333;
    font-size: 1rem;
    border-radius: 0; /* Remove rounded corners if any */
    height: 100%; /* Make it extend to the full height */
    display: flex;
    align-items: center; /* Center the text vertically */
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #007bff; /* Highlight on hover */
}

.nav-menu .home {
    border-radius: 0; /* Remove rounded corners if any */
    height: 100%; /* Make it extend to the full height */
    display: flex;
    align-items: center; /* Center the text vertically */
}

/* Ensure the parent menu item is taking full height */
.nav-menu ul {
    align-items: stretch;
    text-align: bottom;
}

/* Ensure the links inside are taking full height */
.nav-menu .home a {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 15px; /* Adjust padding to match */
}


 /* Add a blue background color to navbar links on hover */
 .nav-menu .home button:hover{
    color: #007bff !important;
  }

.site-header .home.active { 
    background: black !important;
    color: white !important;
}

/* Default navigation link styles */
.nav-menu .dropdown a {
    background: white; /* Default background */
    color: #333;
    transition: background 0.3s, color 0.3s;
}

/* Active class styling for current page */
.nav-menu .dropdown.active a,
.nav-menu .dropdown a.active {
    background: black !important; /* Active section background */
    color: white !important; /* Active section text color */
}

/* Active class for dropdowns */
.nav-menu .dropdown.active .dropbtn {
    background: black !important;
    padding-left: 15px;
    padding-right: 15px;
    color: white !important;
}

.site-header a.active{
    color: white !important;
}



/* The dropdown container */
.dropdown {
    float: left;
    overflow: hidden;
  }
  
  /* Dropdown button */
  .dropdown .dropbtn {
    border: none;
    outline: none;
    text-decoration: none;
    border-radius: 0; /* Remove rounded corners if any */
    height: 100%; /* Make it extend to the full height */
    display: flex;
    align-items: center; /* Center the text vertically */
    color: #333;
    padding-top: 5px;
    font-size: 1rem;
    transition: color 0.3s;
    background-color: inherit;
    font-family: inherit; /* Important for vertical align on mobile phones */
    margin: 0; /* Important for vertical align on mobile phones */
  }
  
  /* Add a blue background color to navbar links on hover */
  .navbar a:hover, .dropdown:hover .dropbtn {
    color: #007bff;
  }

  .navbar a:hover, .dropdown1:hover .dropbtn1 {
    color: #007bff;
  }
  
  /* Dropdown content (hidden by default) */
  .dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
  }
  
  /* Links inside the dropdown */
  .dropdown-content a {
    float: none;
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
    justify-content: center;
  }
  
  /* Add a grey background color to dropdown links on hover */
  .dropdown-content a:hover {
    background-color: #ddd;
  }

  .dropdown-content1 a:hover {
    background-color: #ddd;
  }
  
  /* Show the dropdown menu on hover */
  .dropdown:hover .dropdown-content {
    display: block;
  }
    
/* Styling Header for Phones*/
/* Navigation Menu */
.nav-menu1 {
    display: none;
    align-items: center;
}

.nav-menu1 ul {
    display: flex;
    text-align: center;
    list-style: none;
    gap: 20px;
}

.nav-menu1 a {
    text-decoration: none;
    align-items: center;
    text-align: center;
    color: #333;
    font-size: 1rem;
    padding: 10px 15px;
    transition: color 0.3s;
}

.nav-menu1 a:hover {
    color: #007bff;
}

/* Hamburger Menu */
.hamburger {
    color: white;
    display: none;
    border-radius: 15px;
    flex-direction: column;
    gap: 5px;
    justify-content: center;
    cursor: pointer;
}

.hamburger div {
    width: 25px;
    height: 3px;
    background-color: #333;
    border-radius: 10px;
}

/* Dropdown */
.dropdown1 {
    position: relative;
    text-align: center;
    float: center;
    overflow: hidden;
}

.dropdown1 .dropbtn1{
    border: none;
    outline: none;
    text-decoration: none;
    border-radius: 0; /* Remove rounded corners if any */
    display: flex;
    align-items: center; /* Center the text vertically */
    text-align: center;
    justify-content: center;
    color: #333;
    padding-top: 5px;
    font-size: 1rem;
    transition: color 0.3s;
    background-color: inherit;
    font-family: inherit; /* Important for vertical align on mobile phones */
    margin: 0; /* Important for vertical align on mobile phones */
}

.dropdown-content1 {
    display: none;
    position: absolute;
    background-color: white;
    text-align: left;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

.dropdown-content1 a {
    display: block;
    padding: 10px;
    color: black;
}

.dropdown1:hover .dropdown-content1 {
    display: block;
}

/* Mobile Styles */
@media (max-width: 768px) {
    /* General Styles */
    .site-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-bottom: rgba(255, 255, 255, 0);
        padding-bottom: 20px !important;
        padding: 15px;
        background: #fff;
        position: fixed;
        width: 100%;
        top: 0;
        z-index: 1000;
    }
    .header-container {
        flex-direction: row;
        justify-content: space-between;
    }

    .nav-menu {
        display: none !important;
    }

    .hamburger {
        display: flex !important;
        color: black;
        padding-left: 30%;
        padding-right: 10%;
    }

    .nav-menu1 {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 30px;
        right: 0;
        background: white;
        width: 100%;
        text-align: center;
        align-items: center;
        justify-content: center;
        box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    }

    .nav-menu1.active {
        display: flex;
    }

    .nav-menu1 ul {
        flex-direction: column;
        gap: 10px;
    }

    .dropdown-content1 {
        position: relative;
        box-shadow: none;
    }

    .dropdown1:hover .dropdown-content {
        display: float;
    }
}



/* Call-to-Action Button */
.cta-btn {
    background: linear-gradient(to right, #ff5a36, #f7785c);
    color: #fff;
    padding: 0.5rem;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 350;
    cursor: pointer;
}

.cta-btn:hover {
    background-color: #d32e00;
    cursor: pointer;
}

/*Responsive Scaling*/
@media (max-width: 768px) {
    .logo img {
        height: 30px; /* Scale logo for smaller screens */
    }

    .nav-menu1 a {
        font-size: 0.9rem;
    }

    .nav-menu1.show {
        display: flex;
    }

    .cta-btn {
        display: none !important;
    }
}

/* Footer */
.footer {
    background-color: white;
    color: #333;
    padding: 10px 20px;
    font-size: 0.9rem;
  }
  
  .footer-content {
    display: flex;
    position: relative;
    justify-content: space-between;
    max-width: screen-size;
    border-top: 1px solid #ddd;
    margin: 0 auto;
  }

  .footer-container{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    max-width: screen-size;
  }

  .footer-container p{
    position: absolute;
    padding-right: 5%;
    bottom: 0;
    right: 0;
  }
  
  .footer-links {
    position: absolute;
    right: 0;
    bottom: 0;
    display: flex !important; /* Force Flexbox */
    flex-direction: row; /* Ensure horizontal alignment */
    list-style: none;
    padding-left: 5%;
    gap: 20px;

  }

  @media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        flex-wrap: wrap;
        height: auto;
        align-items: center;
        text-align: center;
    }

    .footer-container p{
        position: relative;
    }

    .footer-links{
        position: relative;
        text-align: left;
        flex-direction: column;
    }
}
  
  .footer-links h4 {
    margin: 0 0 10px;
    font-size: 16px;
    color: #000;
  }
  
  .footer-links ul {
    list-style: none;

  }
  
  .footer-links li {
    margin: 5px;
  }
  
  .footer-links a {
    text-decoration: none;
    color: #000;
  }
  
  .footer-links a:hover {
    text-decoration: underline;
  }
  
  .footer-bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
    font-size: 14px;
    padding-top: 10px;
  }
  
  .footer-bottom ul {
    list-style: none;
    display: inline;
    gap: 20px;
  }
  
  .footer-bottom li a {
    text-decoration: none;
    color: #333;
  }
  
  .footer-bottom li a:hover {
    text-decoration: underline;
  }

