/* =========================
   GLOBAL
========================= */

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  font-family:'Poppins',sans-serif;
  background:#f8f9ff;
  color:#111827;
  overflow-x:hidden;
  line-height:1.6;
}

/* =========================
   HEADER
========================= */

.header{
  position:fixed;
  top:0;
  left:0;
  width:100%;

  display:flex;
  justify-content:space-between;
  align-items:center;

  padding:18px 6%;

  background:rgba(91,63,181,0.95);
  backdrop-filter:blur(14px);

  z-index:9999;

  transition:0.3s ease;
}

/* =========================
   LOGO
========================= */

.logo{
  display:flex;
  align-items:center;
  gap:14px;
}

.logo img{
  width:60px;
  height:60px;
  object-fit:contain;
  border-radius:50%;
  background:white;
  padding:5px;
}

.logo-text h2{
  color:white;
  font-size:24px;
  font-weight:700;
}

.logo-text span{
  color:rgba(255,255,255,0.75);
  font-size:11px;
  letter-spacing:2px;
}

/* =========================
   NAVBAR
========================= */

.navbar{
  display:flex;
  align-items:center;
  gap:30px;
}

.navbar a{
  color:white;
  text-decoration:none;
  font-weight:500;
  transition:0.3s;
  position:relative;
}

.navbar a::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-5px;

  width:0%;
  height:2px;

  background:#F4B400;

  transition:0.3s;
}

.navbar a:hover::after{
  width:100%;
}

.navbar a:hover{
  color:#F4B400;
}

/* =========================
   MOBILE BUTTON
========================= */

.mobile-btn{
  display:none;
}

/* =========================
   MENU TOGGLE
========================= */

.menu-toggle{
  display:none;
  color:white;
  font-size:32px;
  cursor:pointer;
}

/* =========================
   HERO SECTION
========================= */

.hero{
  min-height:100vh;

  background:
  linear-gradient(
    rgba(0,0,0,0.5),
    rgba(0,0,0,0.55)
  ),
  url('https://images.unsplash.com/photo-1503676260728-1c00da094a0b?q=80&w=1600&auto=format&fit=crop');

  background-size:cover;
  background-position:center;

  display:flex;
  align-items:center;
  justify-content:center;

  text-align:center;

  padding:120px 20px 80px;
}

.hero-content{
  max-width:850px;
  color:white;
  animation:fadeUp 1s ease;
}

.hero-tag{
  display:inline-block;

  background:#F4B400;
  color:#111827;

  padding:10px 22px;

  border-radius:40px;

  font-size:14px;
  font-weight:700;

  margin-bottom:25px;
}

.hero h1{
  font-size:68px;
  line-height:1.1;
  margin-bottom:25px;
}

.hero p{
  font-size:18px;
  color:rgba(255,255,255,0.9);
  margin-bottom:35px;
}

/* =========================
   BUTTONS
========================= */

.hero-buttons{
  display:flex;
  justify-content:center;
  gap:20px;
  flex-wrap:wrap;
}

.primary-btn,
.secondary-btn{
  padding:16px 30px;
  border-radius:14px;
  text-decoration:none;
  font-weight:600;
  transition:0.3s ease;
}

.primary-btn{
  background:#F4B400;
  color:#111827;
}

.primary-btn:hover{
  transform:translateY(-4px);
}

.secondary-btn{
  background:white;
  color:#5B3FB5;
}

.secondary-btn:hover{
  transform:translateY(-4px);
}

/* =========================
   GENERAL SECTION
========================= */

section{
  padding:110px 6%;
}

.section-heading{
  text-align:center;
  margin-bottom:70px;
}

.section-tag{
  display:inline-block;

  background:rgba(91,63,181,0.1);
  color:#5B3FB5;

  padding:8px 18px;

  border-radius:30px;

  font-size:13px;
  font-weight:700;

  margin-bottom:18px;
}

.section-heading h2{
  font-size:48px;
}

/* =========================
   ABOUT
========================= */

.about-container{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:70px;
  align-items:center;
}

.about-image img{
  width:100%;
  border-radius:28px;
  box-shadow:0 20px 60px rgba(0,0,0,0.12);
}

.about-content h2{
  font-size:48px;
  margin:22px 0;
  line-height:1.2;
}

.about-content p{
  color:#6B7280;
  margin-bottom:35px;
}

.about-cards{
  display:flex;
  gap:20px;
  flex-wrap:wrap;
}

.about-card{
  background:white;
  padding:24px;
  border-radius:20px;

  min-width:160px;

  box-shadow:0 15px 35px rgba(0,0,0,0.06);

  transition:0.3s ease;
}

.about-card:hover{
  transform:translateY(-8px);
}

.about-card h3{
  color:#5B3FB5;
  font-size:30px;
}

/* =========================
   COURSES
========================= */

.courses{
  background:#f3f5ff;
}

.course-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
  gap:30px;
}

.course-card{
  background:white;
  border-radius:24px;
  overflow:hidden;

  box-shadow:0 20px 45px rgba(0,0,0,0.08);

  transition:0.35s ease;
}

.course-card:hover{
  transform:translateY(-10px);
}

.course-card img{
  width:100%;
  height:240px;
  object-fit:cover;
}

.course-content{
  padding:28px;
}

.course-content h3{
  margin-bottom:12px;
  color:#5B3FB5;
}

/* =========================
   REVIEWS
========================= */

.review-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
  gap:25px;
}

.review-card{
  background:white;
  padding:35px;
  border-radius:24px;

  box-shadow:0 15px 40px rgba(0,0,0,0.06);

  transition:0.3s ease;
}

.review-card:hover{
  transform:translateY(-8px);
}

.review-card p{
  color:#6B7280;
  margin-bottom:18px;
}

/* =========================
   CONTACT
========================= */

.contact{
  background:
  linear-gradient(
    135deg,
    #5B3FB5,
    #7A5AF8
  );

  color:white;
}

.contact-container{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:60px;
  align-items:start;
}

.contact-info h2{
  font-size:52px;
  margin:22px 0;
}

.contact-info p{
  color:rgba(255,255,255,0.85);
  margin-bottom:30px;
}

.contact-card{
  display:flex;
  align-items:center;
  gap:18px;

  background:rgba(255,255,255,0.1);

  padding:22px;

  border-radius:18px;

  margin-bottom:18px;
}

.contact-card span{
  font-size:28px;
}

/* =========================
   FORM
========================= */

.contact-form{
  background:white;
  padding:25px;
  border-radius:28px;

  box-shadow:0 20px 50px rgba(0,0,0,0.12);
}

.contact-form iframe{
  width:100%;
  min-height:620px;

  border:none;

  border-radius:20px;
}

/* =========================
   FOOTER
========================= */

.footer{
  background:#111827;
  color:white;

  padding-top:80px;
}

.footer-container{
  max-width:2000px;
  margin:auto;

  padding:0 6% 60px;

  display:grid;
  grid-template-columns:1.5fr 1fr 1fr;
  gap:50px;
}

.footer h3,
.footer h4{
  margin-bottom:20px;
}

.footer p,
.footer a{
  color:rgba(255,255,255,0.7);
  text-decoration:none;
  line-height:1.9;
}

.footer a{
  display:block;
  margin-bottom:10px;
}

.footer a:hover{
  color:#F4B400;
}

.footer-bottom{
  border-top:1px solid rgba(255,255,255,0.08);

  padding:25px;

  text-align:center;

  color:rgba(255,255,255,0.6);
}

/* =========================
   FLOATING WHATSAPP
========================= */

.floating-whatsapp{
  position:fixed;

  right:25px;
  bottom:25px;

  width:65px;
  height:65px;

  border-radius:50%;

  background:#25D366;

  display:flex;
  align-items:center;
  justify-content:center;

  color:white;
  text-decoration:none;

  font-size:30px;

  z-index:999;

  box-shadow:0 15px 40px rgba(37,211,102,0.4);

  animation:pulse 2s infinite;
}

/* =========================
   ANIMATIONS
========================= */

@keyframes pulse{

  0%{
    box-shadow:0 0 0 0 rgba(37,211,102,0.6);
  }

  70%{
    box-shadow:0 0 0 18px rgba(37,211,102,0);
  }

  100%{
    box-shadow:0 0 0 0 rgba(37,211,102,0);
  }

}

@keyframes fadeUp{

  from{
    opacity:0;
    transform:translateY(40px);
  }

  to{
    opacity:1;
    transform:translateY(0);
  }

}

/* =========================
   MOBILE RESPONSIVE
========================= */

@media(max-width:950px){

  .menu-toggle{
    display:block;
  }

  .navbar{
    position:fixed;

    top:85px;
    right:-100%;

    width:280px;
    height:100vh;

    background:#5B3FB5;

    flex-direction:column;

    align-items:flex-start;

    padding:40px 30px;

    transition:0.4s ease;

    z-index:999;
  }

  .navbar.active{
    right:0;
  }

  .mobile-btn{
    display:inline-block;

    background:#F4B400;

    color:#111827 !important;

    padding:14px 20px;

    border-radius:12px;
  }

  .hero h1{
    font-size:42px;
  }

  .hero p{
    font-size:16px;
  }

  .section-heading h2,
  .about-content h2,
  .contact-info h2{
    font-size:34px;
  }

  .about-container,
  .contact-container,
  .footer-container{
    grid-template-columns:1fr;
  }

  .about-cards{
    flex-direction:column;
  }

  .course-grid,
  .review-grid{
    grid-template-columns:1fr;
  }

  .contact-form iframe{
    min-height:700px;
  }

}

@media(max-width:600px){

  .header{
    padding:15px 5%;
  }

  .logo img{
    width:52px;
    height:52px;
  }

  .logo-text h2{
    font-size:18px;
  }

  .hero h1{
    font-size:34px;
  }

  .hero-buttons{
    flex-direction:column;
  }

  .primary-btn,
  .secondary-btn{
    width:100%;
  }

  section{
    padding:90px 5%;
  }

}