@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&family=Montserrat:wght@700&family=Poppins:wght@700&display=swap');

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background-color: #b4e3ed;
}

/* Header Styles */
.header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  background: #2d3e50;
  padding: 15px;
  z-index: 1000;
}

/* Header inner container for layout */
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Hamburger Button (hidden on desktop) */
.menu-toggle {
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  display: none; /* Only visible on mobile */
}

/* Navigation Menu (desktop default) */
.nav-menu {
  display: flex;
  justify-content: center;
}

.nav-menu ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 30px;
}

.nav-menu ul li {
  font-size: 18px;
}

.nav-menu ul li a {
  text-decoration: none;
  color: white;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s ease;
}

.nav-menu ul li a:hover {
  color: #f39c12;
}

/* Hero Section (Desktop sizes) */
.hero {
  position: relative; /* To position the scroll arrow absolutely */
  background: linear-gradient(135deg, #2d3e50, #b4e3ed);
  height: calc(100vh - 80px); /* Adjusted to fit header */
  display: flex;
  flex-direction: column;  /* Stack image and text vertically */
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  padding-top: 80px; /* Space for header */
}

.hero img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  margin-bottom: 20px; /* Space between image and text */
}

.hero h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 44px;
  margin: 10px 0 0;
}

.hero p,
.hero h2 {
  font-size: 24px;
}

/* Scroll Down Arrow */
.scroll-down {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translate(-50%, 0);
  font-size: 2rem;
  color: white;
  text-decoration: none;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translate(-50%, 0); }
  40% { transform: translate(-50%, -10px); }
  60% { transform: translate(-50%, -5px); }
}

/* Content Sections */
.content-section {
  padding: 30px;
  text-align: center;
  background: #a0d0da;
  margin: 10px auto;
  max-width: 800px;
  border-radius: 10px;
}

/* Responsive Styles for Mobile */
@media (max-width: 768px) {
  /* Always show header on mobile */
  .header {
    opacity: 1;
    transform: none;
  }
  
  /* Show hamburger button on mobile */
  .menu-toggle {
    display: block;
  }
  
  /* Adjust header inner layout for mobile */
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  
  /* Hide navigation menu by default on mobile */
  .nav-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    margin-top: 10px;
  }
  
  /* Show navigation menu when open */
  .nav-menu.open {
    display: flex;
  }
  
  .nav-menu ul {
    flex-direction: column;
    gap: 10px;
    width: 100%;
    align-items: center;
  }
  
  .nav-menu ul li {
    width: 100%;
    text-align: center;
  }
  
  /* Scale down hero section for mobile */
  .hero img {
    width: 150px;
    height: 150px;
  }
  .hero h1 {
    font-size: 36px;
  }
  .hero p,
  .hero h2 {
    font-size: 20px;
  }
}

@media screen and (max-width: 600px) {
  .nav-menu ul {
    flex-direction: column;
    align-items: center;
  }
}
