
:root {
  --primary-purple: #7a7fe6;
  --light-purple: #d1d4f9;
  --lighter-purple-bg: #e6e8fc;
  --heading-color: #2c2f6d;
  --body-text-color: #5b629e;
  --white: #fff;
  --almost-white-bg: #fcfcfd;
  --shadow-light: rgba(0, 0, 0, 0.05);
  --shadow-medium: rgba(0, 0, 0, 0.1);
}

/* ===== RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  width: 100%;
  overflow-x: hidden;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.7;
  color: var(--body-text-color);
  background: var(--almost-white-bg);
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1200px, 100% - 40px);
  margin: 0 auto;
}

.section-padding {
  padding: 70px 0;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3 {
  color: var(--heading-color);
  line-height: 1.2;
}

h1 { font-size: clamp(2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); text-align: center; }
h3 { font-size: clamp(1.2rem, 3vw, 1.6rem); }

p { font-size: 1rem; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 12px 28px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: 0.3s ease;
  font-weight: 600;
}

.btn:hover {
  transform: translateY(-2px);
}

.primary-btn {
  color: white;
  background: linear-gradient(90deg, #2c2f6d, #78f2ba);
}

.secondary-btn {
  background: white;
  /* border: 1px solid var(--primary-purple); */
  color: var(--primary-purple);
}

/* ===== NAVBAR ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--lighter-purple-bg);
  box-shadow: 0 5px 20px var(--shadow-light);
}

.navbar .container {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--heading-color);
  text-decoration: none;
  font-weight: 700;
}

.logo img {
  height: 42px;
}

.navbar nav {
  background: var(--light-purple);
  border-radius: 999px;
  padding: 8px 14px;
}

.nav-links {
  display: flex;
  gap: 8px;
  list-style: none;
}

.nav-links a {
  display: block;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--heading-color);
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a.active {
  background: linear-gradient(90deg, #78f2ba, #2c2f6d);
  color: white;
}

/* ===== HAMBURGER ===== */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  width: 28px;
  height: 3px;
  background: var(--heading-color);
  border-radius: 10px;
}
/* ===== HERO ===== */
.hero-section {
    position: relative;
    padding: 50px 0;
    overflow: hidden;
    margin: 20px;
}

.hero-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 5;
}

.hero-content {
    position: relative;
    z-index: 5;
}
.hero-description{
  padding: 10px;
}
/* ===== FINAL HERO SLIDER FIX ===== */
.hero-image-wrapper {
    position: relative;
    width: 100%;
    height: 380px;
    overflow: hidden;
    border-radius: 25px;
}

.image-slider {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.image-slider .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    opacity: 0;
    visibility: hidden;
    transition: opacity 1.2s ease-in-out, transform 4s ease;
    transform: scale(1.05);
}

.image-slider .slide.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

/* ===== COURSES EXPANDABLE ===== */
/* ===== PREMIUM COURSES ===== */
.course-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}

.course-card {
  background: white;
  padding: 30px;
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transition: all 0.35s ease;
  border: 1px solid transparent;

  display: flex;
  flex-direction: column;
  height: 100%;
}
.course-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(44,47,109,0.18);
  border-color: #7a7fe6;
}

.course-card i {
  font-size: 32px;
  margin-bottom: 18px;
  color: #7a7fe6;
}

.course-card h3 {
  margin-bottom: 12px;
}

/* .course-card p {
  margin-bottom: 22px;
  min-height: 90px;
} */
.course-card p {
  margin-bottom: 22px;
  flex-grow: 1;
}
.course-card .btn {
  width: 100%;
  margin-top: auto;
}

.extra-course {
  display: none;
}

.extra-course.show {
  display: block;
  animation: fadeUp 0.4s ease;
}

.view-more-wrapper {
  text-align: center;
  margin-top: 35px;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 992px) {
  .course-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .course-cards {
    grid-template-columns: 1fr;
  }
}


.site-footer {
  overflow: hidden;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 30px;
  padding: 60px 40px;
  background: #2c2f6d;
}

.footer-brand h3,
.footer-links h4,
.footer-contact h4 {
  margin-bottom: 18px;
  color: #ffffff;
}

.footer-brand p,
.footer-contact p {
  color: rgba(255,255,255,0.8);
  line-height: 1.8;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255,255,255,0.82);
  text-decoration: none;
  transition: 0.3s ease;
}
.footer-contact a {
  color: rgba(255,255,255,0.82);
  text-decoration: none;
  transition: 0.3s ease;
}

.footer-links a:hover {
  color: #78f2ba;
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  text-align: center;
  padding: 18px;
  color: rgb(44 47 109);
  font-size: 14px;
}

@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    padding: 40px 24px;
  }

  .site-footer {
    margin: 20px 10px 10px;
    border-radius: 24px;
  }
}


/* ===== WHATSAPP FLOAT BUTTON ===== */
.chat-wrapper {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: whatsappFloat 3s ease-in-out infinite;
}

.chat-bubble {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #25D366;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 30px;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.35);
    transition: transform 0.3s ease;
}

.chat-bubble:hover {
    transform: scale(1.08);
}

.chat-label {
    background: white;
    color: #2c2f6d;
    padding: 10px 14px;
    border-radius: 30px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
}

@keyframes whatsappFloat {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-6px);
    }
    100% {
        transform: translateY(0px);
    }
}
/* =========================================
   RESPONSIVE — SINGLE CLEAN STRUCTURE
========================================= */

/* Tablet */

@media (max-width: 992px) {
    .hero-section .container {
        grid-template-columns: 0.9fr 1.1fr;
        gap: 24px;
        align-items: center;
    }

    .course-cards {
        grid-template-columns: 1fr 1fr;
    }

    .about-cards {
        grid-template-columns: 1fr;
    }
}
/* Mobile */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .navbar nav {
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    background: white;
    border-radius: 0;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: 0.3s ease;
  }

  .navbar nav.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-links {
    flex-direction: column;
    width: 100%;
  }
 .hero-section .container {
      grid-template-columns: 1fr;
   }
  .hero-section .container,
  .course-cards {
    grid-template-columns: 1fr;
  }

  .hero-content {
    text-align: center;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .hero-image-wrapper {
    aspect-ratio: 16 / 9;
  }
  .hero-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1238 / 616;
    border-radius: 25px;
    overflow: hidden;
}


.footer-social h3 {
  margin-bottom: 15px;
}

.social-icons {
  display: flex;
  gap: 14px;
}

.social-link {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
  transition: 0.3s ease;
  text-decoration: none;
}

.social-link:hover {
  transform: translateY(-5px) scale(1.05);
}

/* Brand Colors on Hover */
.social-link:nth-child(1):hover { background: #E4405F; } /* Instagram */
.social-link:nth-child(2):hover { background: #25D366; } /* WhatsApp */
.social-link:nth-child(3):hover { background: #0077B5; } /* LinkedIn */
.social-link:nth-child(4):hover { background: #FF0000; } /* YouTube */


