/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Hero section styles */
.hero {
    position: relative;
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: background-image 0.5s ease-in-out;
    font-family: "Poppins", serif;
}

/* Navigation styles */
.navbar {
    position: fixed;
    width: 100%;
    transition: all 0.3s ease-in-out;
    z-index: 1000;
}

.nav-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem 0;
}

/* Scrolled state for navbar */
.navbar.scrolled {
    background: #254d63;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo img {
    width: 80px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.navbar.scrolled .menu-toggle {
    color: #333;
}

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

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

   .navbar.scrolled .nav-links {
      background-color: #254d63;
   }


.navbar.scrolled .nav-links a {
    color: #fff;
}

.navbar.scrolled .dropdown-menu {
  background-color: #111;
  color: #111;
  margin: 0.5rem 0;
  border-radius: 5px;
}

.navbar.scrolled .dropdown-menu a {
  color: #111;
}

/* Dropdown styles */
.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: none;
    padding: 1rem;
    min-width: 200px;
}

.dropdown-menu.active {
    display: block;
}

.dropdown-menu li {
    margin: 0.5rem 0;
    list-style-type: none;
}

.dropdown-menu a {
    color: #fff !important;
}

/* Hero content styles */
.hero-content {
    position: relative;
    height: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    text-align: left;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    max-width: 100%;
}

.hero-wrapper {
  max-width: 55%;
}

.hero-text {
    display: none;
    padding: 2rem;
}

.hero-text.active {
    display: block;
}

.hero-text h2,
.hero-text.active h2{
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.cta-button {
    padding: 0.7rem 1.5rem;
    font-size: 1.2rem;
    background: #54add8;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
    font-weight: bold;
}

/* Slider controls */
.slider-controls {
    position: absolute;
    bottom: 5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
}

.slider-controls button {
    background: #54add8;
    border: none;
    color: white;
    padding: 0.5rem 1rem;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s ease;
    font-size: 1.2rem;
}

.slider-controls button:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* Mobile styles */
@media (max-width: 600px) {
    .hero-text h2 {
        font-size: 1.5rem;
    }

    .cta-button {
        padding: 0.8rem 1.6rem;
        font-size: 1rem;
    }
}

/* Tablet styles */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        flex-direction: column;
        background: none;
        padding: 1.5rem 4rem 2rem;
        gap: 1rem;
    }

    .nav-links.active {
        display: flex;
    }
  
    .dropdown-menu {
        position: static;
        padding-left: 1rem;
    }
    
        .hero-wrapper {
      max-width: 95%;
  }
}

/* Medium desktop styles */
@media (max-width: 1000px) {
  
}

/* Large desktop styles */
@media (max-width: 1200px) {
  
}