/* General */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Poppins', sans-serif;
  overflow-x: hidden;
}
.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* Navbar */
.navbar {
  background: #0b132b;
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  height: 100px;
}
nav {
  display: flex;
  align-items: center;
}
nav a {
  color: #fff;
  margin-left: 20px;
  text-decoration: none;
  font-weight: 500;
}
nav a:hover {
  color: #5bc0be;
}
.btn {
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: .3s;
}
.btn-outline {
  border: 2px solid #5bc0be;
  color: #5bc0be;
}
.btn-outline:hover {
  background: #5bc0be;
  color: #fff;
}
.btn-primary {
  background: #5bc0be;
  color: #fff;
}
.btn-primary:hover {
  background: #3aafa9;
}

/* 🔹 Mobile Menu Toggle */
.menu-toggle {
  display: none;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
}

/* Hero Carousel */
.hero-carousel {
  position: relative;
  height: 100vh;
  overflow: hidden;
}
.hero-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  padding: 0 20px;
}
.hero-slide.active {
  opacity: 1;
  z-index: 2;
}
.hero-content {
  max-width: 800px;
  animation: fadeInUp 1.5s ease;
}
.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  font-weight: 700;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.6);
}
.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  text-shadow: 1px 1px 5px rgba(0,0,0,0.5);
}
.btn {
  background: #00c6ff;
  color: #fff;
  padding: 12px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}
.btn:hover {
  background: #0072ff;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* Navigation Arrows */
.hero-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  padding: 0 20px;
}
.hero-nav span {
  font-size: 2.5rem;
  color: #fff;
  cursor: pointer;
  user-select: none;
  transition: 0.3s;
}
.hero-nav span:hover {
  color: #00c6ff;
}

/* Animations */
@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(50px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Sections */
.section-title {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 40px;
  color: #1c2541;
}

/* Services */
.services { padding: 60px 0; }
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}
.card {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform .3s;
}
.card:hover { transform: translateY(-10px); }
.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  margin-bottom: 15px;
}

/* About */
.about { background: #f9f9f9; padding: 60px 0; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.about-text ul { margin-top: 15px; }
.about-text li { margin: 8px 0; }
.about-image img {
  width: 100%;
  border-radius: 10px;
}

/* CTA */
.cta {
  background: #1c2541;
  color: #fff;
  text-align: center;
  padding: 60px 20px;
}
.cta h2 { margin-bottom: 20px; }

/* Contact */
.contact { padding: 60px 0; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.contact-form input, .contact-form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  margin-bottom: 15px;
  font-size: 1rem;
}
.contact-form button { width: 100%; }

/* Portfolio */
.portfolio {
  padding: 80px 0;
  background: #f5f7fa;
  text-align: center;
}
.portfolio-subtitle {
  margin-bottom: 50px;
  color: #666;
  font-size: 1.1rem;
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}
.portfolio-card {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.12);
  transition: transform .4s ease, box-shadow .4s ease;
}
.portfolio-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform .5s ease;
  display: block;
}
.portfolio-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.2);
}
.portfolio-card:hover img { transform: scale(1.1); }

/* Footer */
footer {
  background: #0b132b;
  color: #fff;
  text-align: center;
  padding: 20px;
}

/* Animations */
.animate-slide { animation: slideIn 1.2s ease; }
.animate-fade { animation: fadeIn 1.5s ease; }
.animate-bounce { animation: bounce 2s infinite; }
.animate-up { animation: slideUp 1.2s ease; }

@keyframes slideIn { from { opacity: 0; transform: translateX(-100px);} to { opacity: 1; transform: translateX(0);} }
@keyframes fadeIn { from { opacity: 0;} to { opacity: 1;} }
@keyframes bounce { 0%,100% { transform: translateY(0);} 50% { transform: translateY(-10px);} }
@keyframes slideUp { from { opacity: 0; transform: translateY(50px);} to { opacity: 1; transform: translateY(0);} }

/* 🔹 Responsive Media Queries */
@media (max-width: 768px) {
  .about-grid, .contact-grid {
    grid-template-columns: 1fr;
  }
  .hero-content h1 { font-size: 2rem; }
  .hero-content p { font-size: 1rem; }

  /* Navbar mobile */
  nav {
    display: none;
    flex-direction: column;
    background: #0b132b;
    width: 100%;
    padding: 15px 0;
  }
  nav a {
    margin: 10px 0;
    text-align: center;
  }
  .menu-toggle {
    display: block;
  }
  nav.active {
    display: flex;
  }
}
