/* General Styles */
body {
    font-family: 'Gilroy', sans-serif;
    color: rgb(7, 45, 77);
    margin: 0;
    padding: 0;
}
.headerdsgn {
    background: repeating-linear-gradient(
        -55deg,
        rgb(7, 45, 77),
        rgb(7, 45, 77) 5px,
        #1b1c1f 5px,
        #1b1c1f 6px);
    color: white;
    margin: 0 auto;
    height: 10px;
  }

.container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.banner {
    margin: 0 auto;
}

img {
    width: 150px;
    height: 30px;
}

nav {
    background-color: white;
    border-bottom: 1px solid #ddd;
    font-size: 17px;
    padding: 15px 0 ;
    width: 100%;
    
}

nav ul {
    list-style: none; 
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
}

nav li {
    margin: 0 10px; 
}

nav a {
    color: rgb(7, 45, 77);
    text-decoration: none;
    font-weight: bold;
}

nav a:hover {
    color: rgb(216, 165, 25);
}

nav ul li ul {
    position: absolute;
    background-color: #fff;
    display: none;
}

nav .container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
    padding-left: 40px;
    padding-right: 40px;
}

.navbar ul li:hover ul {
    display: block;
}

.navbar ul li ul li {
    margin: 0;
    padding: 10px;
}

.navbar .navbar-underline {
    text-decoration: underline;
    text-decoration-color: rgb(53, 224, 67);
    text-decoration-thickness: 2px;
    font-weight: bold;
}

main {
    padding: 40px 0;
  }

h1, h2, h3 {
    color: rgb(7, 45, 77);
    text-align: center;
}

h3 {
    margin-top: 30px; 
}

p {
    text-align: justify;
}

.addrenq {
    color: rgb(216, 165, 25);
}

.contacts {
    text-align: center;
}

/* Footer Styles */
footer {
    padding: 0px 0;
    background: repeating-linear-gradient(
        -55deg,
        rgb(7, 45, 77),
        rgb(7, 45, 77) 5px,
        #1b1c1f 5px,
        #1b1c1f 6px);
  }
  
footer .container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px;
}
  
.footer-top {
    display: flex;
    justify-content: space-between;
    width: 100%;
}
  
.footer-left {
    width: 30%;
}
  
.footer-right {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    width: 70%;
}
  
.footer-left img {
    width: 150px;
    margin-bottom: 10px;
}
  
.footer-left p {
    color: #999;
    font-size: 14px;
    line-height: 1.5;
}
  
.footer-right ul {
    list-style: none;
    margin: 0;
    padding: 0;
    width: calc(25% - 10px);
}
  
.footer-right li {
    margin: 10px 0;
}
  
.footer-right a {
    text-decoration: none;
    color: #333;
    font-size: 14px;
}
  
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding-top: 20px;
    border-top: 1px solid #ddd;
  }
  
  .copyright p {
    color: #999;
    font-size: 14px;
    margin: 0;
  }
  
  .legal ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
  }
  
  .legal li {
    margin: 0 10px;
  }
  
  .legal a {
    text-decoration: none;
    color: #999;
    font-size: 1
  }

/*Hamburger menu*/
#hamburger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    justify-content: space-between;
    align-items: flex-end;
    position: absolute;
}

#hamburger-menu div {
    width: 25px;
    height: 3px;
    background-color: black;
    margin: 3px 0;
}

#hamburger-links {
    display: none; /* Initially hide the links */
}

@media screen and (max-width: 768px) {
    #nav-menu {
        display: none;
    }

    #hamburger-menu {
        display: flex;
        position: absolute;
        right: 40px;
    }

    #hamburger-links.active {
        display: block; /* Show the links when the hamburger menu is clicked */
    }

    .navbar {
        flex-direction: column;
        align-items: center;
        position: absolute;
        top: 70px;
        width: 100%;
        background-color: #f9f9f9;
        padding: 10px 0;
        border-top: 1px solid #ccc;
    }

    .navbar li {
        margin: 10px 0;
    }

    .navbar a {
        text-decoration: none;
    }

    .hamnavbar {
        flex-direction: column;
        align-items: center;
        position: absolute;
        top: 70px;
        width: 100%;
        background-color: black;
        padding: 10px 0;
        border-top: 1px solid #ccc;
    }

    .hamnavbar ul li ul li {
        margin: 0;
        padding: 10px;
    }

    .hamnavbar li {
        margin: 10px 0;
    }

    .hamnavbar a {
        color: white;
        text-decoration: none;
    }
}

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  right: 0;
  top: 0;
  width: 50%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
  -webkit-animation-name: fadeIn; /* Fade in the background */
  -webkit-animation-duration: 0.4s;
  animation-name: fadeIn;
  animation-duration: 0.4s
}

/* Modal Content */
.modal-content {
  position: fixed;
  right: 0;
  background-color: black;
  color: white;
  width: 50%;
  height:100%;
  -webkit-animation-name: slideIn;
  -webkit-animation-duration: 0.4s;
  animation-name: slideIn;
  animation-duration: 0.4s
}

/* The Close Button */
.close {
  color: white;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: red;
  text-decoration: none;
  cursor: pointer;
}

.modal-header {
  padding: 16px 2px;
  background-color: #5cb85c;
  color: white;
}

.modal-body {padding: 16px 2px;}


/* Add Animation */
@-webkit-keyframes slideIn {
  from {right: -300px; opacity: 0} 
  to {right: 0; opacity: 1}
}

@keyframes slideIn {
  from {right: -300px; opacity: 0}
  to {right: 0; opacity: 1}
}

@-webkit-keyframes fadeIn {
  from {opacity: 0} 
  to {opacity: 1}
}

@keyframes fadeIn {
  from {opacity: 0} 
  to {opacity: 1}
}