/*-----------------------------------*\
  #CUSTOM PROPERTY
\*-----------------------------------*/

:root {

    /**
     * colors
     */
    
    --dark-jungle-green: hsl(188, 63%, 7%);
    --prussian-blue: hsl(200, 69%, 14%);
    --raisin-black-1: hsl(227, 29%, 13%);
    --raisin-black-2: hsl(229, 17%, 19%);
    --yellow-green: hsl(89, 72%, 45%);
    --orange-soda: hsl(9, 100%, 62%);
    --cultured-1: hsl(0, 0%, 93%);
    --cultured-2: hsl(192, 24%, 96%);
    --misty-rose: hsl(7, 56%, 91%);
    --alice-blue: hsl(210, 100%, 97%);
    --seashell: hsl(8, 100%, 97%);
    --cadet: hsl(200, 15%, 43%);
    --white: hsl(0, 0%, 100%);
    --black: hsl(0, 0%, 0%);
    --opal: hsl(180, 20%, 62%);
    
    /**
     * typography
     */
    
    --ff-nunito-sans: "Nunito Sans", sans-serif;
    --ff-poppins: "Poppins", sans-serif;
    
    --fs-1: 1.875rem;
    --fs-2: 1.5rem;
    --fs-3: 1.375rem;
    --fs-4: 1.125rem;
    --fs-5: 0.875rem;
    --fs-6: 0.813rem;
    --fs-7: 0.75rem;
    
    --fw-500: 500;
    --fw-600: 600;
    --fw-700: 700;
    
    /**
     * transition
     */
    
    --transition: 0.25s ease;
    
    /**
     * spacing
     */
    
    --section-padding: 100px;
    
    /**
     * shadow
     */
    
    --shadow-1: 0 5px 20px 0 hsla(219, 56%, 21%, 0.1);
    --shadow-2: 0 16px 32px hsla(188, 63%, 7%, 0.1);
    
    }


*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    }

/* Vision Mission Animation Styles */
.vision-section,
.mission-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 2.5s ease-out, transform 2.5s ease-out;
}

.vision-section.fade-in,
.mission-section.fade-in {
    opacity: 1;
    transform: translateY(0);
}

body {
    overflow-x: hidden;
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}



/* Navbar Styles */
/*-------------------------------------HEADER-----------------------------------*/
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5%;
  background-color: #003554;
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  height: 95px;
  z-index: 1000;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  max-height: 80px;
  max-width: 80px;
  margin-right: 10px;
}

.logo p {
  color: white;
  font-size: 16px;
  font-weight: bold;
  white-space: nowrap;
  margin: 0;
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin: 0 1.5rem;
}

.nav-links a {
  text-decoration: none;
  color: white;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: #DDAF40;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: #DDAF40;
  transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.hamburger {
  display: none;
  cursor: pointer;
}

.bar {
  width: 25px;
  height: 3px;
  background-color: white;
  margin: 5px 0;
  transition: var(--transition);
}

.dropdown {
  position: relative;
}
.dropdown-menu {
  display: none;
  position: absolute;
  top: 120%;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  list-style: none;
  padding: 8px 0;
  margin: 0;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  min-width: 220px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
  z-index: 1001;
}

.dropdown-menu li {
  position: relative;
  transition: all 0.3s ease;
}

.dropdown-menu li a {
  text-decoration: none;
  color: white;
  display: block;
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  transition: all 0.3s ease;
}

.dropdown-menu li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #7D5FFF, #5FB7FF);
  transition: all 0.3s ease;
  z-index: -1;
}

.dropdown-menu li:hover::before {
  width: 100%;
}

.dropdown-menu li:hover a {
  transform: translateX(8px);
  color: white;
}

.dropdown-menu.show {
  display: block;
  opacity: 1;
  visibility: visible;
}

@media (min-width: 1025px) {
  .dropdown:hover .dropdown-menu {
      display: block;
      opacity: 1;
      visibility: visible;
  }
}

@media (max-width: 1024px) {
  .dropdown-menu {
      position: static;
      width: 100%;
      background-color: rgba(0, 77, 116, 0.95);
      backdrop-filter: blur(5px);
      -webkit-backdrop-filter: blur(5px);
      box-shadow: none;
      border-radius: 8px;
      margin: 10px 0;
      opacity: 1;
      visibility: visible;
      transform: none;
      border: 1px solid rgba(255, 255, 255, 0.1);
  }
  .dropdown-menu li a {
      color: white;
      padding: 15px 20px;
      font-size: 0.9rem;
  }
  .dropdown-menu li:hover::before {
      width: 100%;
  }
  .dropdown-menu li:hover a {
      transform: translateX(5px);
  }
}


@media (max-width: 1024px) {
  .nav-links {
      position: fixed;
      top: 95px;
      right: -100%;
      width: 100%;
      height: calc(100vh - 95px);
      background-color: rgba(0, 53, 84, 0.95);
      backdrop-filter: blur(10px);
      flex-direction: column;
      align-items: center;
      padding-top: 2rem;
      transition: 0.5s ease-in-out;
      z-index: 999;
  }
  
  .nav-links.active {
      right: 0;
  }
  
  .nav-links li {
      margin: 1.5rem 0;
      opacity: 0;
      transform: translateX(50px);
      transition: all 0.5s ease;
  }
  
  .nav-links.active li {
      opacity: 1;
      transform: translateX(0);
      transition-delay: calc(0.1s * var(--i));
  }
  
  .hamburger {
      display: block;
      cursor: pointer;
  }
  
  .hamburger .bar {
      width: 25px;
      height: 3px;
      margin: 5px auto;
      transition: all 0.3s ease-in-out;
      background-color: white;
  }
  
  .hamburger.active .bar:nth-child(1) {
      transform: translateY(8px) rotate(45deg);
  }
  
  .hamburger.active .bar:nth-child(2) {
      opacity: 0;
  }
  
  .hamburger.active .bar:nth-child(3) {
      transform: translateY(-8px) rotate(-45deg);
  }
  
  .variants-container {
      grid-template-columns: 1fr;
  }

  .logo p{
      display: none;
  }
}

/*    MAIN DESIGN HERE */

/* Footer Styles */
footer {
  position: relative;
  background-color: rgb(0, 0, 0); /* Fallback color */
  color: white;
  padding: 3rem 5% 1rem;
  overflow: hidden; /* Prevents unwanted overflow */
}

footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../images/lamp-background.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.04; /* Adjust this value (0 to 1) to control opacity */
  z-index: 0;
}

footer * {
  position: relative;
  z-index: 1; /* Ensures text and content stay above the background */
}


.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  margin-bottom: 1.5rem;
  position: relative;
}

.footer-section img{
  width: 127px;
  height: 121px;
}

.footer-section h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 50px;
  height: 2px;
  background-color: var(--accent-color);
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.75rem;
}

.footer-section a {
  color: #ddd;
  text-decoration: none;
  transition: var(--transition);
}

.footer-section a:hover {
  color: #DDAF40;
  padding-left: 5px;
}

.social-icons {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-icons a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: var(--transition);
}

.social-icons a:hover {
  background-color: var(--accent-color);
  transform: translateY(-5px);
}

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Animation Classes */
.animate-element {
  opacity: 0;
  transform: translateY(30px);
}
