/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  font-family: 'Poppins', sans-serif;
  background-color: #f9f9f9;
  color: #333;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Hero Section Layout */
.hero {
background: linear-gradient(to bottom right, #3e4a89, #5a189a); 
 min-height: 100vh;
  padding: 20px 8%;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  color: #fff;
  position: relative;
  overflow: hidden;
}


/* Logo & Nav Wrapper */
nav {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 10;
  margin-bottom: 20px;
}

.logo {
  width: 280px;
}

/* Nav Links Right */
.nav-links {
  margin-left: auto;
}

.nav-links ul {
  list-style: none;
  display: flex;
  gap: 25px;
}

.nav-links li a {
  font-weight: 600;
  padding: 10px 18px;
  color: #fff;
  border-radius: 8px;
  transition: all 0.3s ease;
  background-color: rgba(255, 255, 255, 0.1);
}

.nav-links li a:hover {
  background-color: #ffd166;
  color: #5a189a;
}

/* Hamburger for mobile */
.hamburger, .close-icon {
  display: none;
}

/* Content Section */
.content {
  max-width: 700px;
  animation: fadeIn 1s ease forwards;
  flex: 1;
}

.content h1 {
  font-size: 4rem;
  font-weight: 800;
  background: linear-gradient(90deg, #ffd166, #ff66c4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.content p {
  margin-top: 20px;
  line-height: 1.8;
  font-size: 1.1rem;
}

.btn {
  display: inline-block;
  margin-top: 30px;
  padding: 14px 40px;
  background: linear-gradient(45deg, #ff66c4, #5a189a);
  color: white;
  border-radius: 30px;
  font-weight: 600;
  transition: background 0.3s ease, transform 0.3s ease;
}

.btn:hover {
  background: linear-gradient(45deg, #ffd166, #ef476f);
  transform: translateY(-2px);
}

/* Image Grid */
.image-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-end;
  margin-top: 40px;
  animation: slideInRight 1.2s ease forwards;
}

.top-images {
  display: flex;
  gap: 20px;
}

.feature-img,
.bottom-img {
  width: 200px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
}

.feature-img:hover,
.bottom-img:hover {
  transform: scale(1.05);
}

.bottom-img {
  width: 420px;
}

/* Animations */
.anim {
  opacity: 0;
  animation: fadeIn 1s ease forwards;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(50px); }
  to { opacity: 1; transform: translateX(0); }
}

/* Responsive Styles */
@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    align-items: center;
  }

  .nav-links {
    margin: 0 auto;
  }

  .nav-links ul {
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
  }

  .image-grid {
    align-items: center;
    margin-top: 30px;
  }

  .top-images {
    flex-direction: column;
    align-items: center;
  }

  .bottom-img,
  .feature-img {
    width: 90%;
  }
}
/* Social Icons */
.social-menu {
  margin-top: 40px;
}

.social-menu ul {
  display: flex;
  gap: 20px;
  list-style: none;
}

.social-menu a {
  font-size: 1.8rem;
  color: #fff;
  transition: transform 0.3s ease, color 0.3s ease;
}

.social-menu a:hover {
  color: #ffd166;
  transform: scale(1.2);
}

@media (max-width: 900px) {
  nav {
    flex-direction: column;
    align-items: center;
  }

  .nav-links {
    width: 100%;
    margin-top: 10px;
  }

  .nav-links ul {
    flex-direction: row; /* ← horizontal instead of column */
    justify-content: center;
    background-color: #3e4a89; /* Solid background */
    padding: 10px 0;
    border-radius: 10px;
    gap: 15px;
  }

  .nav-links li a {
    font-size: 0.95rem;
    padding: 10px 16px;
    width: auto;
    border-radius: 6px;
    background-color: rgba(255, 255, 255, 0.1);
  }

  .nav-links li a:hover {
    background-color: #ffd166;
    color: #5a189a;
  }

  .hamburger, .close-icon {
    display: none !important; /* No need for toggle icons */
  }
}

@media (max-width: 900px) {
  .content h1 {
    font-size: 2.5rem;
    text-align: center;
  }

  .content p {
    text-align: center;
    font-size: 1rem;
  }

  .btn {
    display: block;
    margin: 20px auto 0;
    text-align: center;
  }
}
@media (max-width: 900px) {
  .image-grid {
    width: 100%;
    align-items: center;
    justify-content: center;
  }

  .top-images,
  .bottom-img {
    width: 100%;
  }

  .top-images img,
  .bottom-img {
    max-width: 90%;
  }
}

