* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(to bottom right, #ffffff, #f4f6ff);
  color: #333;
  display: flex;
  flex-direction: column;
}

/* ================= HEADER ================= */

header {
  background: linear-gradient(135deg, #5f0fce, #6a11cb, #2575fc);
  padding: 18px 40px;
  box-shadow: 0 4px 20px rgba(106, 17, 203, 0.25);
}

.header-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.logo-section {
  display: flex;
  align-items: center;
}

.logo-section img {
  height: 100px;
}

.academy-text {
  margin-left: 15px;
}

.academy-name {
  color: white;
  font-size: 42px;
  font-weight: bold;
  letter-spacing: 2px;
}

.tagline {
  color: white;
  font-size: 14px;
  font-style: italic;
  margin-top: 5px;
}

/* ================= NAVIGATION ================= */

nav a {
  color: white;
  text-decoration: none;
  margin-left: 20px;
  font-weight: 600;
  position: relative;
  padding-bottom: 5px;
  transition: 0.3s ease;
}

nav a::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  background: white;
  left: 0;
  bottom: 0;
  transition: 0.3s;
}

nav a:hover::after {
  width: 100%;
}

/* ================= SLIDER (16:9 PERFECT FIT) ================= */

.slider {
  width: 1280px;
  height: 600px;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(37, 117, 252, 0.2);
  margin-bottom: 60px;
  background: #f4f6ff;
  position: relative;
}

.slides {
  display: flex;
  width: 1280px;
  height: 600px;
  animation: slide 20s infinite ease-in-out;
}

.slides img {
  width: 1280px;
  height: 600px;
  object-fit: cover;
  object-position: center;
  flex-shrink: 0;
}

/* Smooth sliding animation */
@keyframes slide {

  0% { transform: translateX(0%); }
  20% { transform: translateX(0%); }

  25% { transform: translateX(-100%); }
  45% { transform: translateX(-100%); }

  50% { transform: translateX(-200%); }
  70% { transform: translateX(-200%); }

  75% { transform: translateX(-300%); }
  95% { transform: translateX(-300%); }

  100% { transform: translateX(0%); }
}

/* ================= MAIN CONTAINER ================= */

.container {
  max-width: 1200px;
  margin: 50px auto;
  padding: 0 20px;
  flex: 1;
}

h1, h2 {
  color: #6a11cb;
  margin-bottom: 20px;
}

/* ================= PREMIUM CARD ================= */

.card {
  background: white;
  padding: 28px;
  margin-bottom: 30px;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(106, 17, 203, 0.08);
  transition: all 0.3s ease;
  border: 1px solid rgba(106, 17, 203, 0.08);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 40px rgba(106, 17, 203, 0.15);
}

/* ================= ANGEL BOX ================= */

.angel-box {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 30px;
  background: white;
  border-radius: 25px;
  box-shadow: 0 12px 40px rgba(37, 117, 252, 0.15);
  flex-wrap: wrap;
}

.angel-box img {
  width: 300px;
  border-radius: 20px;
}

.angel-name {
  font-size: 42px;
  font-weight: bold;
  color: #2575fc;
}

/* ================= STUDY MATERIAL ================= */

.study-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.study-card {
  background: white;
  border-radius: 18px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(37, 117, 252, 0.1);
  transition: 0.3s ease;
  border: 1px solid rgba(37, 117, 252, 0.08);
}

.study-card:hover {
  transform: translateY(-5px);
}

.study-card h3 {
  color: #2575fc;
  margin-bottom: 15px;
}

.study-card a.btn {
  display: block;
  margin: 10px 0;
  text-decoration: none;
  background: linear-gradient(135deg, #6a11cb, #2575fc);
  color: white;
  padding: 10px;
  border-radius: 25px;
  font-weight: 500;
  transition: 0.3s ease;
}

.study-card a.btn:hover {
  transform: scale(1.05);
}

/* ================= GALLERY ================= */

.gallery img {
  width: 280px;
  margin: 12px;
  border-radius: 18px;
  transition: 0.3s ease;
  box-shadow: 0 8px 25px rgba(37, 117, 252, 0.1);
}

.gallery img:hover {
  transform: scale(1.05);
}

/* ================= FORM ================= */

form input, form textarea {
  width: 100%;
  padding: 14px;
  margin: 12px 0;
  border-radius: 12px;
  border: 1px solid #ddd;
  transition: 0.3s;
}

form input:focus, form textarea:focus {
  border-color: #6a11cb;
  box-shadow: 0 0 10px rgba(106, 17, 203, 0.2);
  outline: none;
}

form button {
  background: linear-gradient(135deg, #6a11cb, #2575fc);
  color: white;
  padding: 14px;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

form button:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(106, 17, 203, 0.3);
}

/* ================= FOOTER ================= */

footer {
  background: #f2f4ff;
  padding: 25px;
  text-align: center;
  border-top: 3px solid #6a11cb;
  font-size: 14px;
}

footer a.instagram {
  color: #6a11cb;
  text-decoration: none;
  margin-left: 5px;
}

footer a.instagram img {
  height: 20px;
  vertical-align: middle;
}

/* ================= WHATSAPP ================= */

.whatsapp {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: white;
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  text-decoration: none;
  font-size: 26px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.25);
  transition: 0.3s ease;
}

.whatsapp:hover {
  transform: scale(1.1);
}

/* ================= RESPONSIVE ================= */

@media(max-width: 1024px) {
  .study-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media(max-width: 768px) {

  .academy-name {
    font-size: 28px;
  }

  .header-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  nav {
    margin-top: 15px;
  }

  nav a {
    display: inline-block;
    margin: 10px 10px 0 0;
  }

  .angel-box {
    flex-direction: column;
    text-align: center;
  }

  .angel-box img {
    width: 220px;
  }

  .angel-name {
    font-size: 28px;
  }

  .study-grid {
    grid-template-columns: 1fr;
  }

  .slider {
    height: 250px;
  }
}