/* =========================================================
   WHATSAPP CSS HERE
========================================================= */

.wa-fab {
    position: relative;
}

/* CLEAN CENTER BADGE */
.wa-badge {
    position: absolute;

    top: 0;
    left: 0;

    width: 22px;   /* small circle */
    height: 22px;

    background: #ff3b30;
    color: white;

    font-size: 10px;
    font-weight: 600;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    box-shadow: 0 3px 8px rgba(255, 59, 48, 0.25);

    /* perfectly centered on corner */
    transform: translate(-35%, -25%);

    animation: none;
}

.wa-pro {
    position: fixed;
    bottom: 22px;
    right: 22px;
    z-index: 99999;
    font-family: 'Inter', sans-serif;
}

/* FLOAT BUTTON */
.wa-fab {
    width: 62px;
    height: 62px;
    background: linear-gradient(135deg, #25D366, #1fae5b);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    cursor: pointer;
    box-shadow: 0 12px 30px rgba(0,0,0,0.25);
    transition: 0.25s ease;
    position: relative;
}

.wa-fab:hover {
    transform: scale(1.08);
}

/* ========================= */
/* WAVE EFFECT (IMPROVED ONLY) */
/* ========================= */

.wa-fab::before,
.wa-fab::after {
    content: "";
    position: absolute;

    top: 0;
    left: 0;

    width: 62px;
    height: 62px;

    border-radius: 50%;

    border: 2px solid rgba(37, 211, 102, 0.45);

    animation: waWave 2.2s infinite;
    opacity: 0;

    z-index: -1;
}

/* second wave */
.wa-fab::after {
    animation-delay: 0.8s;
}

/* SAME STYLE, JUST CLEAN TIMING */
@keyframes waWave {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

/* CHAT BOX */
.wa-box {
    width: 340px;
    height: 460px;
    background: #ffffff;
    position: absolute;
    bottom: 85px;
    right: 0;
    border-radius: 16px;
    overflow: hidden;

    display: none;
    flex-direction: column;

    box-shadow: 0 25px 60px rgba(0,0,0,0.25);

    transform: translateY(20px);
    opacity: 0;
    transition: 0.3s ease;
}

/* OPEN STATE */
.wa-box.active {
    display: flex;
    transform: translateY(0);
    opacity: 1;
}

/* HEADER */
.wa-header {
    background: linear-gradient(135deg, #075E54, #128C7E);
    color: white;
    padding: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.wa-user {
    display: flex;
    align-items: center;
    gap: 10px;
}

.wa-avatar {
    width: 38px;
    height: 38px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.wa-close {
    font-size: 24px;
    cursor: pointer;
}

.wa-body {
    flex: 1;
    padding: 12px;
    background: #ece5dd;
    overflow-y: auto;
}

.msg {
    padding: 10px 12px;
    margin: 6px 0;
    border-radius: 10px;
    max-width: 80%;
    font-size: 14px;
    line-height: 1.4;
    animation: fadeIn 0.25s ease;
}

@keyframes fadeIn {
    from {opacity: 0; transform: translateY(10px);}
    to {opacity: 1; transform: translateY(0);}
}

.bot {
    background: #fff;
}

.wa-user-msg {
    background: #1FAE5B;
    color: white;
    margin-left: auto;
    border-radius: 10px;
}

.wa-input {
    display: flex;
    border-top: 1px solid #ddd;
    background: #fff;
}

.wa-input input {
    flex: 1;
    border: none;
    padding: 12px;
    outline: none;
}

.wa-input button {
    width: 50px;
    border: none;
    background: #25D366;
    color: white;
    cursor: pointer;
    font-size: 16px;
}

.wa-quick {
    display: flex;
    gap: 6px;
    padding: 8px;
    background: #f5f5f5;
}

.wa-quick a {
    flex: 1;
    font-size: 11px;
    text-align: center;
    padding: 6px;
    background: #25D366;
    color: white;
    border-radius: 6px;
    text-decoration: none;
}


/* =========================================================
   HERO SECTION (FIXED SWIPER VERSION)
========================================================= */
#courses {
  scroll-margin-top: -80px;
}

.hero-banner{
  width:100%;
  height:100vh;
  position:relative;
  overflow:hidden;
  display:flex;
  align-items:center;
}

/* SWIPER FULL HEIGHT FIX */
.hero-banner .swiper,
.hero-banner .swiper-wrapper,
.hero-banner .swiper-slide{
  width:100%;
  height:100%;
}

/* SLIDES BACKGROUND */
.slide1{
  background:url('https://images.unsplash.com/photo-1522202176988-66273c2fd55f?q=80&w=2600&auto=format&fit=crop')
  center/cover no-repeat;
}

.slide2{
  background:url('https://images.unsplash.com/photo-1521737604893-d14cc237f11d?q=80&w=2600&auto=format&fit=crop')
  center/cover no-repeat;
}

/* DARK OVERLAY */
.overlay{
  position:absolute;
  inset:0;

  background:linear-gradient(
    to right,
    rgba(0,0,0,0.60),
    rgba(0,0,0,0.25),
    rgba(0,0,0,0.60)
  );

  z-index:1;
}

/* CONTENT LAYER */
.hero-content{
  position:relative;
  z-index:2;
  width:100%;
  padding-top:25px;
}

/* SMALL TAG */
.tag{
  display:inline-block;

  background:rgba(255,255,255,0.12);
  backdrop-filter:blur(12px);

  color:#fff;

  border:1px solid rgba(255,255,255,0.20);
  border-radius:60px;

  padding:10px 22px;

  font-size:14px;
  font-weight:600;

  margin-bottom:10px;
}

/* HEADING */
.hero-content h1{
  font-size:clamp(38px, 6vw, 60px);
  line-height:1.1;

  font-weight:800;
  letter-spacing:-1px;

  color:#fff;

  max-width:900px;
  margin:18px 0;
}

/* TEXT */
.hero-content p{
  font-size:16px;
  line-height:1.8;

  color:#f1f5f9;

  max-width:740px;
  margin-bottom:28px;
}

/* BUTTONS */
.hero-buttons{
  display:flex;
  align-items:center;
  gap:16px;
  flex-wrap:wrap;
  margin-bottom:35px;
}

/* PRIMARY */
.primary-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;

  background:#d71920;
  color:#fff;

  padding:14px 30px;
  border-radius:12px;

  text-decoration:none;

  font-size:15px;
  font-weight:600;

  transition:0.3s ease;
}

.primary-btn:hover{
  background:#b9151b;
  transform:translateY(-2px);
}

/* SECONDARY */
.secondary-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;

  background:rgba(255,255,255,0.08);

  border:1px solid rgba(255,255,255,0.25);

  color:#fff;

  padding:14px 30px;
  border-radius:12px;

  text-decoration:none;

  font-size:15px;
  font-weight:500;

  transition:0.3s ease;
}

.secondary-btn:hover{
  background:#d71920;
  border-color:#d71920;
  transform:translateY(-2px);
}

/* STATS */
.stats{
  display:flex;
  flex-wrap:wrap;
  gap:18px;
  margin-top:12px;
}

.stats div{
  min-width:140px;
  padding:18px 24px;

  border-radius:18px;

  background:rgba(255,255,255,0.08);
  border:1px solid rgba(255,255,255,0.12);

  backdrop-filter:blur(14px);
}

/* NUMBER */
.stats h2{
  color:#fff;

  font-size:28px;
  font-weight:700;

  margin-bottom:4px;
}

/* LABEL */
.stats span{
  color:#dbeafe;

  font-size:14px;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width:991px){
    
  .hero-banner{
    min-height:700px;
    height:auto;

    padding:100px 0;
  }

  .hero-content{
    text-align:center;
  }

  .hero-content h1{
    max-width:100%;
  }

  .hero-content p{
    max-width:100%;

    margin-left:auto;
    margin-right:auto;
  }

  .hero-buttons{
    justify-content:center;
  }

  .stats{
    justify-content:center;
  }
}

@media (max-width:576px){

  .hero-banner{
    min-height:650px;
  }

  .hero-content h1{
    line-height:1.2;
  }

  .hero-content p{
    font-size:15px;
    line-height:1.7;
  }

  .primary-btn,
  .secondary-btn{
    width:100%;
  }

  .stats{
    gap:12px;
  }

  .stats div{
    width:100%;
    text-align:center;
  }
}

@media(max-width:768px){
  .hero-banner{
      padding-top:1px; /* safer than negative margin */
  }
}

@media (max-width: 768px){

  .stats{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 25px;
    padding-bottom: 20px; /* 👈 THIS fixes cut issue */
  }

  .stats div{
    width: 100%;
    max-width: 260px;
    text-align: center;
  }

  .hero-banner{
    padding-bottom: 80px; /* 👈 extra breathing space */
  }
}

@media (max-width:768px){

  .wa-pro{
    right: 10px;   /* 👈 parent ko shift karo */
  }

}