.hero-section {
  /* padding: 20px; */
  position: relative;
  max-width: 1280px;
  padding-top: 100px;
  margin: 0 auto;
  overflow-x: hidden; /* Prevent horizontal scrolling */
}

.hero-section h1 {
  font-size: clamp(2.5rem, 6vw, 4rem); /* Responsive font size */
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-section h1 span {
  color: #1c2026;
}

.hero-section p {
  font-size: clamp(1rem, 1.5vw, 1.2rem); /* Responsive paragraph */
  line-height: 1.6;
  margin-bottom: 20px;
}

.hero-content {
  width: 100%;
  display: flex;
  flex-wrap: wrap; /* Allow wrapping on small screens */
}

.hero-left {
  width: 50%;
  padding-top: 50px;
}

.hero-right {
  width: 50%;
  display: flex;
  justify-content: flex-end;
}

.hero-right img {
  max-width: 100%;
  height: auto;
  margin-top: -90px;
  border-radius: 10px;
  border-bottom-left-radius: 350px;
  object-fit: cover;
}

.hero-btns {
  display: flex;
  gap: 20px;
  margin-top: 50px;
  flex-wrap: wrap; /* Allow button wrapping */
}

.hero-btns button {
  padding: 12px 30px;
  border-top-left-radius: 20px;
  border-bottom-right-radius: 20px;
  outline: none;
  border: none;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.hero-btns button:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.hero-btns .explore-btn {
  background-color: #1c2026;
}

.explore-btn a {
  color: #fff;
  text-decoration: none;
}

.hero-btns .contact-btn {
  background-color: #fff;
  border: 1px solid #1c2026;
}

.contact-btn a {
  color: #1c2026;
  text-decoration: none;
}

.hero-info {
  margin-top: 50px;
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap; /* Allow wrapping */
}

.hero-info p {
  font-size: 1.2rem;
  position: relative;
  padding-left: 25px;
}

.hero-info p::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 15px;
  height: 15px;
  background-color: #1c2026;
  border-radius: 50%;
}

header {
  position: fixed; 
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: auto;
  padding: 10px 20px; /* Adjusted padding */
  z-index: 1000; 

  /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);  */
  max-width: 1280px; 
  margin: 0 auto; 
}

header {
  background-color: transparent;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

header.scrolled {
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo img {
  width: 140px;
  height: auto;
}

.nav-menu {
  display: flex;
  gap: 30px;
  margin-right: 220px;
}

.nav-menu a {
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  position: relative;
  transition: color 0.3s ease;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: #1c2026;
  transition: width 0.3s ease;
}

.nav-menu a:hover {
  color: #1c2026;
}

.nav-menu a:hover::after {
  width: 100%;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  z-index: 100;
}

.hamburger span {
  height: 3px;
  width: 25px;
  background: #333;
  margin: 4px 0;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Mobile Styles */
@media (max-width: 992px) {
  .nav-menu {
    margin-right: 50px;
  }
}

@media (max-width: 768px) {
  .hero-content {
    flex-direction: column;
    margin-top: 80px;
  }

  .hero-left,
  .hero-right {
    width: 100%;
  }
  .hero-left h1 {
    text-align: center;
    font-size: 3.5rem;
  }

  .hero-left {
    padding-top: 30px;
    order: 1;
  }

  .hero-right {
    order: 2;
    justify-content: center;
    margin-top: 30px;
  }

  .hero-right img {
    margin-top: 0;
    max-width: 100%;
    border-bottom-left-radius: 200px;
  }

  .hero-btns {
    justify-content: center;
  }

  .hero-info {
    justify-content: center;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%; /* Start off-screen */
    width: 70%;
    max-width: 300px;
    height: 100vh;
    background: white;
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 30px 30px;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease-in-out;
    margin-right: 0;
    z-index: 99;
  }

  .nav-menu.active {
    right: 0; /* Slide in from right */
  }

  .nav-menu a {
    color: #333;
    padding: 15px 0;
    width: 100%;
    border-bottom: 1px solid #eee;
  }

  .hamburger {
    display: flex;
    position: relative;
    z-index: 100;
    transition: all 0.3s ease;
  }

  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }
}

@media (max-width: 480px) {
  .hero-section {
    padding: 20px 15px;
  }

  .hero-btns {
    flex-direction: column;
    gap: 15px;
  }

  .hero-btns button {
    width: 100%;
  }

  .hero-info {
    gap: 25px;
  }
}

/* ===== Header Color Change on Scroll ===== */
/* Default state (transparent header with white text) */
header {
  background-color: transparent;
  transition: all 0.3s ease;
}

.nav-menu a {
  color: white;
  transition: color 0.3s ease;
}


/* Scrolled state (white header with black text) */
header.scrolled {
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

header.scrolled .nav-menu a {
  color: black;
}

header.scrolled .hamburger span {
  background-color: black;
}

/* Mobile menu - ensure colors are correct when open */
.nav-menu.active a {
  color: black !important;
}