/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Background with gradient */
body.se {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(135deg, #e0f7fa, #e1bee7);
  font-family: Arial, sans-serif;
  color: #333;
  overflow-x: hidden;
}

/* Animated floating circles */
.background-circles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.background-circles span {
  position: absolute;
  display: block;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  bottom: -150px;
  animation: rise 25s infinite;
}

.background-circles span:nth-child(1) {
  left: 25%;
  width: 60px;
  height: 60px;
  animation-delay: 0s;
}

.background-circles span:nth-child(2) {
  left: 10%;
  animation-delay: 5s;
  animation-duration: 20s;
}

.background-circles span:nth-child(3) {
  left: 70%;
  width: 80px;
  height: 80px;
  animation-delay: 2s;
}

.background-circles span:nth-child(4) {
  left: 40%;
  width: 50px;
  height: 50px;
  animation-delay: 8s;
  animation-duration: 18s;
}

.background-circles span:nth-child(5) {
  left: 85%;
  width: 120px;
  height: 120px;
  animation-delay: 3s;
}

@keyframes rise {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 0.6;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: translateY(-1000px) rotate(360deg);
    opacity: 0;
  }
}

/* Nav */
nav.ayan {
  background: #222;
  padding: 12px;
  text-align: center;
  position: relative;
  z-index: 2;
}

nav.ayan a {
  color: white;
  margin: 0 15px;
  text-decoration: none;
  font-size: 18px;
  transition: color 0.3s ease;
}

nav.ayan a:hover {
  color: #ff9800;
}

/* Heading */
.heading {
  text-align: center;
  font-size: 42px;
  margin: 30px 0;
  color: #333;
  position: relative;
  z-index: 2;
}

.heading span {
  color: #ff9800;
}

/* Services */
.services {
  padding: 30px;
  position: relative;
  z-index: 2;
}

.box-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  justify-content: center;
}

.box {
  background: #fff;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.box:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.box h1 {
  font-size: 22px;
  margin-bottom: 12px;
  color: #222;
}

.box p {
  font-size: 15px;
  line-height: 1.6;
  color: #555;
  margin-bottom: 15px;
}

.box img.service {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 15px;
}

/* Button */
.btn {
  display: inline-block;
  background: #ff9800;
  color: white;
  padding: 10px 20px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}

.btn:hover {
  background: #e68900;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease-in-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
  .heading {
    font-size: 32px;
  }

  nav.ayan a {
    font-size: 16px;
    margin: 0 10px;
  }
}
