* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background: #f5f7fa;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  background: #0b2c4d;
  color: white;
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: 0.3s;
}

/* Shadow on scroll */
.navbar.scrolled {
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* Logo */
.logo img {
  height: 50px;
}

/* Nav Links */
.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
}

.nav-links li {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.4s ease;
}

/* Link style */
.nav-links li a {
  text-decoration: none;
  color: white;
  font-weight: 800;
  position: relative;
}

/* Hover underline animation */
.nav-links li a::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  left: 0;
  bottom: -5px;
  background: #00c2ff;
  transition: 0.3s;
}

.nav-links li a:hover::after {
  width: 100%;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  z-index: 1100;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: white;
  margin: 4px 0;
  transition: 0.4s;
}

/* Animate hamburger to X */
.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(6px, -6px);
}

/* Mobile */

/* Mobile Full Screen Menu */
@media (max-width: 768px) {

  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60vh;
    background: rgba(11, 44, 77, 0.95);
    backdrop-filter: blur(-10px);

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    transform: translateY(-100%);
    transition: transform 0.5s ease;
  }

  .nav-links.active {
    transform: translateY(0);
  }

  /* Bigger menu items */
  .nav-links li {
    margin: 20px 0;
    opacity: 0;
    transform: translateY(20px);
  }

  .nav-links li a {
    font-size: 1.5rem;
    letter-spacing: 1px;
  }

  /* Animate links one by one */
  .nav-links.active li {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.5s ease;
  }

  .nav-links.active li:nth-child(1) { transition-delay: 0.2s; }
  .nav-links.active li:nth-child(2) { transition-delay: 0.3s; }
  .nav-links.active li:nth-child(3) { transition-delay: 0.4s; }
  .nav-links.active li:nth-child(4) { transition-delay: 0.5s; }

  /* Show hamburger */
  .hamburger {
    display: flex;
  }
}

/* Hero */
.hero {
  position: relative;
  height: 90vh;
  background: linear-gradient(135deg, #1fa2ff, #0072ff);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-container {
  width: 85%;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* TEXT */
.hero-text {
  max-width: 500px;
  color: white;
}

.hero-text h1 {
  font-size: 42px;
  line-height: 1.2;
  margin-bottom: 20px;
  font-weight: 700;
}

.hero-text p {
  font-size: 16px;
  margin-bottom: 30px;
  opacity: 0.9;
}

/* BUTTONS */
.hero-buttons {
  display: flex;
  gap: 15px;
}

.btn {
  padding: 12px 22px;
  border-radius: 25px;
  text-decoration: none;
  font-size: 14px;
  transition: 0.3s ease;
}

.primary {
  background: #5a67ff;
  color: white;
}

.primary:hover {
  background: #3f4de0;
}

.secondary {
  background: rgba(255, 255, 255, 0.15);
  color: white;
  backdrop-filter: blur(6px);
}

.secondary:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* IMAGE */
.hero-image {
  position: relative;
}

.image-wrapper {
  width: 350px;
  height: 350px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  z-index: 2;
}

.image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* BACKGROUND SHAPES */
.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.2;
}

.shape1 {
  width: 300px;
  height: 300px;
  background: #ffffff;
  right: 200px;
  top: 80px;
}

.shape2 {
  width: 200px;
  height: 200px;
  background: #ffffff;
  right: 50px;
  bottom: 50px;
}

/* =========================
   TEXT ANIMATION
========================= */
.hero-text h1 {
  animation: fadeSlideUp 1s ease forwards;
  opacity: 0;
}

.hero-text p {
  animation: fadeSlideUp 1.2s ease forwards;
  opacity: 0;
}

.hero-buttons {
  animation: fadeSlideUp 1.4s ease forwards;
  opacity: 0;
}

@keyframes fadeSlideUp {
  from {
    transform: translateY(40px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* =========================
   IMAGE ANIMATION
========================= */
.image-wrapper {
  animation: zoomIn 1.2s ease forwards, float 6s ease-in-out infinite;
  transform: scale(0.8);
}

@keyframes zoomIn {
  to {
    transform: scale(1);
  }
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

/* =========================
   BUTTON HOVER EFFECTS
========================= */
.btn {
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: "";
  position: absolute;
  width: 0;
  height: 100%;
  top: 0;
  left: 0;
  background: rgba(255,255,255,0.2);
  transition: width 0.4s ease;
}

.btn:hover::after {
  width: 100%;
}

.btn:hover {
  transform: translateY(-3px);
}

/* =========================
   FLOATING SHAPES ANIMATION
========================= */
.shape1 {
  animation: floatSlow 4s ease-in-out infinite;
}

.shape2 {
  animation: floatSlow 10s ease-in-out infinite ;
}

@keyframes floatSlow {
  0% { transform: translateY(0px) translateX(0px); }
  50% { transform: translateY(-30px) translateX(10px); }
  100% { transform: translateY(0px) translateX(0px); }
}

/* =========================
   BACKGROUND ANIMATION
========================= */
.hero {
  background: linear-gradient(270deg, #1fa2ff, #0072ff, #1fa2ff);
  background-size: 400% 400%;
  animation: gradientMove 10s ease infinite;
}

@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}



/* RESPONSIVE */
@media (max-width: 700px) {
  .hero-container {
    flex-direction: column;
    text-align: center;
  }

  .hero-image {
    margin-top: 40px;
  }

  .image-wrapper {
    width: 280px;
    height: 280px;
  }
}


.services {
  padding: 40px;
}

.container {
  display: flex;
  gap: 20px;
}

/* LEFT BOX */
.left-box {
  width: 30%;
  background: linear-gradient(135deg, #1e1e2f, #2f3542);
  color: white;
  padding: 30px;
  border-radius: 12px;
}

.left-box h2 {
  margin-bottom: 15px;
}

.left-box p {
  font-size: 14px;
  margin-bottom: 20px;
}

.left-box button {
  padding: 10px 18px;
  border: none;
  background: #ff9f1a;
  border-radius: 25px;
  cursor: pointer;
  color: white;
}

/* GRID */
.grid {
  width: 70%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

/* CARD */
.card {
  background: white;
  padding: 20px;
  border-radius: 12px;
  text-align: left;
  transition: 0.3s;
  position: relative;
  overflow: hidden;
}

/* ICON IMAGE */
.card img {
  width: 50px;
  margin-bottom: 10px;
}

/* TEXT */
.card h3 {
  font-size: 15px;
  margin-bottom: 8px;
}

.card p {
  font-size: 13px;
  color: #666;
}

/* HOVER EFFECT */
.card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

/* GLOW EFFECT */
.card::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 5px;
  bottom: 0;
  left: 0;
  background: linear-gradient(90deg, #00d2ff, #3a7bd5);
  opacity: 0;
  transition: 0.3s;
}

.card:hover::before {
  opacity: 1;
}

/* RESPONSIVE */
@media(max-width: 900px) {
  .container {
    flex-direction: column;
  }

  .left-box, .grid {
    width: 100%;
  }

  /* 🔥 MOBILE = 2 COLUMNS */
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}