:root {
  --primary: #a329f5;
  --secondary: #0f172a;
  --soft: #f1f5f9;
  --accent: #16a34a;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}
body {
  background: #fff;
  color: #111;
}

/* HEADER */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  z-index: 1000;
}
nav {
  max-width: 1200px;
  margin: auto;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  font-family: "Orbitron", sans-serif;
  font-size: 22px;
  letter-spacing: 3px;
  color: var(--primary);
}
nav a {
  margin-left: 18px;
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

/* HERO */
.hero {
  padding: 160px 20px 100px;
  background: linear-gradient(135deg, #eef2ff, #fff);
}
.hero-box {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}
.hero h1 {
  font-size: 42px;
  line-height: 1.2;
}
.hero span {
  color: var(--primary);
}
.hero p {
  margin: 20px 0;
  font-size: 18px;
  color: #444;
  max-width: 520px;
}
.hero button {
  padding: 14px 34px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 30px;
  font-size: 16px;
  cursor: pointer;
}
.hero img {
  width: 100%;
  max-width: 420px;
  border-radius: 18px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
  justify-self: center;
}

/* SECTION */
section {
  padding: 90px 20px;
}
.section-title {
  max-width: 1200px;
  margin: auto auto 50px;
}
.section-title h2 {
  font-size: 36px;
}
.section-title p {
  margin-top: 10px;
  color: #555;
}

/* COURSES */
.course-grid {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}
.course {
  background: linear-gradient(180deg, #fff, #f8fafc);
  border-radius: 22px;
  padding: 28px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}
.course h3 {
  color: var(--primary);
}
.course button {
  margin-top: 15px;
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 10px 22px;
  border-radius: 20px;
  cursor: pointer;
}

/* WHY CHOOSE */
.why-grid {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
}
.why-card {
  background: #fff;
  padding: 30px;
  border-radius: 22px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}
.why-card h3 {
  color: var(--primary);
  margin-bottom: 8px;
}

/* CERTIFICATE */
.certificate {
  max-width: 900px;
  margin: auto;
  background: #fff;
  border: 10px double #000;
  padding: 60px;
  text-align: center;
}
.certificate h1 {
  font-family: "Orbitron", sans-serif;
  letter-spacing: 4px;
}
.certificate p {
  margin: 10px 0;
}
.certificate .line {
  margin: 30px 0;
  border-top: 1px solid #000;
}
.certificate .sign {
  display: flex;
  justify-content: space-between;
  margin-top: 60px;
  font-size: 14px;
  flex-wrap: wrap;
  gap: 20px;
}

/* REVIEWS */
.review-grid {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}
.review {
  background: #fff;
  padding: 30px;
  border-radius: 25px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

/* SEO CONTENT */
.seo {
  background: #f8fafc;
}
.seo p {
  max-width: 1000px;
  margin: 10px auto;
  color: #444;
  line-height: 1.8;
}

/* CONTACT */
.contact {
  background: var(--secondary);
  color: #fff;
}
.contact-box {
  max-width: 1000px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
}
.contact-card {
  background: #fff;
  color: #111;
  padding: 25px;
  border-radius: 20px;
  text-align: center;
}

/* FOOTER */
/* POPUP */
.popup {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 2000;
}
.popup-box {
  background: #fff;
  border-radius: 25px;
  padding: 35px;
  width: 90%;
  max-width: 500px;
  max-height: 80vh;
  overflow: auto;
}
.popup-box li {
  background: #f1f5f9;
  margin: 8px 0;
  padding: 10px 15px;
  border-radius: 12px;
}
.close {
  float: right;
  font-size: 22px;
  cursor: pointer;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero-box {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero img {
    max-width: 300px;
    margin-top: 30px;
  }
  .hero p {
    margin: auto;
  }
}
@media (max-width: 480px) {
  .hero h1 {
    font-size: 30px;
  }
  .section-title h2 {
    font-size: 28px;
  }
  .certificate {
    padding: 35px;
  }
}
/* ===== MOBILE NAVIGATION FIX ===== */
/* ===== CORRECT MOBILE NAV (LOGO LEFT, HAMBURGER RIGHT) ===== */
@media (max-width: 768px) {
  nav {
    flex-direction: row; /* 🔥 THIS IS THE KEY */
    align-items: center;
  }

  .hamburger {
    display: flex;
    margin-left: auto;
  }

  .nav-links {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: #ffffff;
    display: none;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    widht: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    z-index: 999;
  }

  .nav-links a {
    margin: 12px 0;
    font-size: 16px;
    padding: 20px 24px;
    width: 10rem;
    border-radius: 25px;
    background: #f1f5f9;
  }

  .nav-links.active {
    display: flex;
    animation: slideDown 0.4s ease;
  }
}

/* ===== HERO MOBILE FIX ===== */
@media (max-width: 768px) {
  .hero {
    padding: 130px 15px 80px;
  }

  .hero h1 {
    font-size: 30px;
  }

  .hero p {
    font-size: 16px;
    max-width: 100%;
  }

  .hero img {
    max-width: 260px;
  }
}

/* ===== CERTIFICATE RESPONSIVE FIX ===== */
@media (max-width: 768px) {
  .certificate {
    padding: 30px 20px;
    border-width: 6px;
  }

  .certificate h1 {
    font-size: 22px;
    letter-spacing: 2px;
  }

  .certificate h2,
  .certificate h3 {
    font-size: 18px;
    word-break: break-word;
  }

  .certificate p {
    font-size: 14px;
  }

  .certificate .sign {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
}

/* ===== GRID RESPONSIVE FIX ===== */
@media (max-width: 600px) {
  .course-grid,
  .why-grid,
  .review-grid,
  .contact-box {
    grid-template-columns: 1fr;
  }
}

/* ===== POPUP MOBILE FIX ===== */
@media (max-width: 480px) {
  .popup-box {
    padding: 20px;
    border-radius: 18px;
  }

  .popup-box h3 {
    font-size: 18px;
  }

  .popup-box li {
    font-size: 14px;
  }
}

/* ===== SEO CONTENT MOBILE FIX ===== */
@media (max-width: 768px) {
  .seo p {
    padding: 0 10px;
    font-size: 15px;
  }
}

/* ===== HAMBURGER MENU ===== */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  width: 26px;
  height: 3px;
  background: var(--primary);
  border-radius: 3px;
  transition: 0.4s;
}

/* MOBILE NAV */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
    margin-left: auto;
  }

  .nav-links {
    position: absolute;
    top: 90px;
    left: 0;
    width: 100%;
    background: #ffffff;
    display: none;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  }

  .nav-links a {
    margin: 12px 0;
    font-size: 16px;
    padding: 8px 20px;
    border-radius: 20px;
    background: #f1f5f9;
    width: 80%;
    text-align: center;
  }

  .nav-links.active {
    display: flex;
    animation: slideDown 0.4s ease;
  }
  .logo-text {
    font-size: 5px;
  }
}

/* ANIMATION */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* ===============================
   MOBILE NAV FIX
================================ */

@media (max-width: 768px) {
  .logo-text {
    font-size: 12px;
    letter-spacing: 1px;
  }

  .logo img {
    width: 55px;
    height: auto;
  }

  .logo {
    gap: 8px;
  }
}

/* HAMBURGER TO X */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}
.logo img {
  width: 80px;
  height: 100px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-text {
  font-family: "Orbitron", sans-serif;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary);
  position: relative;
}

/* Blinking Cursor */
.logo-text::after {
  content: "|";
  margin-left: 5px;
  animation: blink 1s infinite;
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}
html {
  scroll-behavior: smooth;
}
.hero {
  padding: 120px 20px 100px; /* reduce top padding */
}
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  z-index: 1000;
}

body {
  padding-top: 90px; /* creates space below fixed navbar */
}
.logo:hover .logo-text {
  transform: scale(1.05);
  transition: 0.3s ease;
}
.logo-text {
  font-family: "Orbitron", sans-serif;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--primary);
  position: relative;
  text-transform: uppercase;
  text-shadow:
    1px 1px 0 #0f172a,
    2px 2px 8px rgba(29, 78, 216, 0.3);
}

/* Blinking Cursor */
.logo-text::after {
  content: "|";
  margin-left: 5px;
  animation: blink 1s infinite;
}

@keyframes blink {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@media (max-width: 768px) {
  .logo-text {
    font-size: 14px;
    letter-spacing: 1px;
  }
}

.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: #25d366;
  color: white;
  font-size: 24px;
  padding: 15px 18px;
  border-radius: 50%;
  text-decoration: none;
  box-shadow: 0 0 20px rgba(0, 255, 0, 0.6);
  animation: pulse 2s infinite;
  z-index: 999;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.15);
  }
  100% {
    transform: scale(1);
  }
}

/* OFFER BAR */
.offer-bar {
  background: linear-gradient(90deg, #ff0000, #ff9900);
  color: #fff;
  text-align: center;
  padding: 10px;
  font-weight: 600;
  animation: glow 2s infinite alternate;
}

@keyframes glow {
  from {
    box-shadow: 0 0 10px red;
  }
  to {
    box-shadow: 0 0 20px yellow;
  }
}

/* LEAD POPUP */
.lead-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  animation: fadeIn 0.8s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.lead-popup {
  background: #fff;
  padding: 40px;
  width: 90%;
  max-width: 400px;
  border-radius: 20px;
  text-align: center;
  animation: zoomIn 0.5s ease;
  position: relative;
}

@keyframes zoomIn {
  from {
    transform: scale(0.5);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.lead-popup h2 {
  margin-bottom: 10px;
}

.lead-popup input {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border-radius: 10px;
  border: 1px solid #ccc;
}

.lead-popup button {
  width: 100%;
  padding: 12px;
  border: none;
  background: linear-gradient(90deg, #007bff, #00c6ff);
  color: white;
  font-weight: bold;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.3s;
}

.lead-popup button:hover {
  transform: scale(1.05);
}

.lead-close {
  position: absolute;
  right: 15px;
  top: 10px;
  font-size: 22px;
  cursor: pointer;
}

/* OVERLAY */
.lead-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  animation: fadeIn 0.6s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* POPUP BOX */
.lead-popup {
  background: linear-gradient(145deg, #ffffff, #f3f3f3);
  padding: 45px 35px;
  width: 90%;
  max-width: 420px;
  border-radius: 25px;
  text-align: center;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
  animation: popupZoom 0.5s ease;
}

@keyframes popupZoom {
  from {
    transform: scale(0.5) rotateX(20deg);
    opacity: 0;
  }
  to {
    transform: scale(1) rotateX(0);
    opacity: 1;
  }
}

/* OFFER BADGE */
.offer-badge {
  background: linear-gradient(90deg, #ff0000, #ff9900);
  color: #fff;
  padding: 6px 15px;
  font-size: 13px;
  font-weight: bold;
  border-radius: 50px;
  display: inline-block;
  margin-bottom: 15px;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.08);
  }
  100% {
    transform: scale(1);
  }
}

/* PRICE STYLE */
.price {
  color: #ff0000;
  font-size: 38px;
  font-weight: 800;
  animation: glow 1.5s infinite alternate;
}

@keyframes glow {
  from {
    text-shadow: 0 0 5px red;
  }
  to {
    text-shadow: 0 0 20px red;
  }
}

.sub-text {
  margin-bottom: 20px;
  font-weight: 500;
  color: #444;
}

/* INPUTS */
.lead-popup input {
  width: 100%;
  padding: 14px;
  margin: 10px 0;
  border-radius: 12px;
  border: 1px solid #ddd;
  transition: 0.3s;
  font-size: 14px;
}

.lead-popup input:focus {
  border-color: #ff0000;
  box-shadow: 0 0 10px rgba(255, 0, 0, 0.3);
  outline: none;
}

/* BUTTON */
.lead-popup button {
  width: 100%;
  padding: 14px;
  margin-top: 10px;
  border: none;
  border-radius: 50px;
  background: linear-gradient(90deg, #ff0000, #ff6600);
  color: #fff;
  font-size: 15px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.lead-popup button:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(255, 0, 0, 0.4);
}

/* CLOSE BUTTON */
.lead-close {
  position: absolute;
  right: 15px;
  top: 10px;
  font-size: 22px;
  cursor: pointer;
  font-weight: bold;
}

/* OVERLAY */
.lead-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* POPUP */
.lead-popup {
  background: linear-gradient(145deg, #ffffff, #f8f8f8);
  padding: 45px 30px;
  width: 90%;
  max-width: 420px;
  border-radius: 25px;
  text-align: center;
  position: relative;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
  animation: popupZoom 0.5s ease;
}

@keyframes popupZoom {
  from {
    transform: scale(0.6);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* BADGE */
.offer-badge {
  background: linear-gradient(90deg, #ff0000, #ff9900);
  color: #fff;
  padding: 6px 15px;
  font-size: 12px;
  font-weight: bold;
  border-radius: 50px;
  margin-bottom: 15px;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  50% {
    transform: scale(1.08);
  }
}

/* PRICE */
.price {
  color: #ff0000;
  font-size: 40px;
  font-weight: 900;
  animation: glow 1.5s infinite alternate;
}

@keyframes glow {
  from {
    text-shadow: 0 0 5px red;
  }
  to {
    text-shadow: 0 0 20px red;
  }
}

.timer {
  font-weight: 600;
  margin: 10px 0;
  color: #333;
}

#countdown {
  color: #ff0000;
  font-weight: bold;
}

.seats {
  font-weight: bold;
  color: #e60000;
  margin-bottom: 20px;
}

/* INPUT */
.lead-popup input {
  width: 100%;
  padding: 14px;
  margin: 10px 0;
  border-radius: 12px;
  border: 1px solid #ddd;
  transition: 0.3s;
}

.lead-popup input:focus {
  border-color: red;
  box-shadow: 0 0 10px rgba(255, 0, 0, 0.3);
  outline: none;
}

/* BUTTON */
.lead-popup button {
  width: 100%;
  padding: 14px;
  border-radius: 50px;
  border: none;
  background: linear-gradient(90deg, #ff0000, #ff6600);
  color: #fff;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.lead-popup button:hover {
  transform: scale(1.05);
}

/* CLOSE */
.lead-close {
  position: absolute;
  right: 15px;
  top: 10px;
  font-size: 22px;
  cursor: not-allowed;
  opacity: 0.5;
}

/* CONFETTI */
#confettiCanvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 10000;
}

/* MOBILE PREMIUM */
@media (max-width: 480px) {
  .lead-popup {
    padding: 35px 20px;
    border-radius: 20px;
  }
  .price {
    font-size: 34px;
  }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* HERO SECTION STYLING */
.hero {
  position: relative;
  padding: 100px 8%;
  background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
  color: #fff;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  width: 400px;
  height: 400px;
  background: rgba(0, 255, 255, 0.1);
  border-radius: 50%;
  top: -100px;
  left: -100px;
  animation: float 8s infinite alternate ease-in-out;
}

@keyframes float {
  from {
    transform: translateY(0px);
  }
  to {
    transform: translateY(40px);
  }
}

.hero-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  position: relative;
  z-index: 2;
}

.hero-content {
  flex: 1;
}

.hero h1 {
  font-size: 42px;
  line-height: 1.3;
  margin-bottom: 20px;
}

.highlight {
  background: linear-gradient(90deg, #00f2fe, #4facfe);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}

.hero p {
  font-size: 17px;
  margin-bottom: 25px;
  opacity: 0.9;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.primary-btn {
  padding: 12px 22px;
  border: none;
  border-radius: 30px;
  background: linear-gradient(90deg, #00f2fe, #4facfe);
  color: #000;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

.primary-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 242, 254, 0.4);
}

.secondary-btn {
  padding: 12px 22px;
  border-radius: 30px;
  border: 1px solid #fff;
  text-decoration: none;
  color: #fff;
  transition: 0.3s;
}

.secondary-btn:hover {
  background: #fff;
  color: #000;
}

.hero-features {
  margin-top: 20px;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 14px;
  opacity: 0.85;
}

.hero-image {
  flex: 1;
  text-align: center;
}

.hero-image img {
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  transition: 0.4s;
  height: 450px;
  width: 450px !important;
}

.hero-image img:hover {
  transform: scale(1.05);
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .hero-box {
    flex-direction: column;
    text-align: center;
  }

  .hero h1 {
    font-size: 34px;
  }

  .hero-image img {
    width: 300px !important;
    height: 350px !important;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 80px 6%;
  }

  .hero h1 {
    font-size: 26px;
  }

  .hero p {
    font-size: 15px;
    color: white;
  }

  .hero-buttons {
    justify-content: center;
  }
}

.courses-section {
  padding: 80px 8%;
  background: #f7f9fc;
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.course-card {
  background: #fff;
  padding: 25px;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transition: 0.4s;
  position: relative;
  overflow: hidden;
}

.course-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.offer-badge {
  position: absolute;
  top: 15px;
  right: -40px;
  background: linear-gradient(90deg, #ff512f, #dd2476);
  color: #fff;
  padding: 6px 50px;
  font-size: 12px;
  transform: rotate(45deg);
}

.course-card h3 {
  margin-bottom: 10px;
}

.course-card p {
  font-size: 14px;
  margin-bottom: 15px;
  opacity: 0.8;
}

.course-info {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  margin-bottom: 15px;
  flex-wrap: wrap;
  gap: 5px;
}

.course-card button {
  width: 100%;
  padding: 10px;
  border: none;
  border-radius: 25px;
  background: linear-gradient(90deg, #00f2fe, #4facfe);
  color: #000;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

.course-card button:hover {
  transform: scale(1.05);
}

/* SYLLABUS POPUP */
.syllabus-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.syllabus-popup {
  background: #fff;
  width: 90%;
  max-width: 600px;
  padding: 30px;
  border-radius: 20px;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
}

.close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  cursor: pointer;
  font-size: 22px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .course-info {
    flex-direction: column;
  }
}

/* WHY SECTION */
.why-section {
  padding: 90px 8%;
  background: linear-gradient(135deg, #f8fbff, #eef4ff);
  text-align: center;
}

.why-section .section-title p {
  margin-top: 10px;
  color: #555;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.why-card {
  background: #fff;
  padding: 30px 25px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: 0.4s;
}

.why-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.why-card .icon {
  font-size: 35px;
  margin-bottom: 15px;
}

.why-card h3 {
  margin-bottom: 10px;
  font-size: 18px;
}

.why-card p {
  font-size: 14px;
  color: #555;
}

/* Parent Trust Box */
.parent-trust {
  margin-top: 60px;
  background: linear-gradient(90deg, #00c6ff, #0072ff);
  padding: 35px;
  border-radius: 20px;
  color: #fff;
}

.parent-trust h3 {
  margin-bottom: 15px;
}

.parent-trust ul {
  list-style: none;
  padding: 0;
}

.parent-trust li {
  margin-bottom: 8px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .why-section {
    padding: 70px 6%;
  }

  .parent-trust {
    text-align: left;
  }
}

/* SECTION BACKGROUND */
.certificate-section {
  padding: 100px 8%;
  background: linear-gradient(135deg, #c2e2f0, #d9edf3, #ccdce2);
  color: #fff;
  text-align: center;
}

.section-title h2 {
  font-size: 32px;
  margin-bottom: 10px;
  color: black;
}

.section-title p {
  opacity: 0.8;
}

/* CONTAINER */
.certificate-container {
  margin-top: 60px;
  display: flex;
  gap: 60px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

/* CERTIFICATE CARD */
.certificate-card {
  position: relative;
  max-width: 650px;
  width: 100%;
}

.cert-border {
  background: linear-gradient(135deg, #1a1919, #222020);
  padding: 15px;
  border-radius: 20px;
}

.cert-content {
  background: #fff;
  color: #000;
  padding: 50px 40px;
  border-radius: 15px;
  text-align: center;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.cert-top img {
  width: 60px;
  margin-bottom: 10px;
}

.cert-top h3 {
  margin: 5px 0;
}

.cert-top span {
  font-size: 14px;
  color: #555;
}

.cert-heading {
  margin: 25px 0;
  font-size: 26px;
  color: #1a73e8;
}

.student-name {
  font-size: 30px;
  margin: 10px 0;
  font-weight: bold;
}

.course-name {
  margin: 10px 0;
  font-size: 18px;
}

.cert-description {
  font-size: 14px;
  margin-top: 15px;
  color: #555;
}

.cert-footer {
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
  flex-wrap: wrap;
  gap: 20px;
}

.signature-line {
  width: 150px;
  height: 2px;
  background: #000;
  margin: 0 auto 5px;
}

.cert-id {
  margin-top: 30px;
  font-size: 12px;
  color: #888;
}

/* GOLD SEAL */
.seal {
  position: absolute;
  right: -20px;
  top: -20px;
  background: radial-gradient(circle, gold, orange);
  color: #000;
  font-weight: bold;
  padding: 20px;
  border-radius: 50%;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* INFO SIDE */
.certificate-info {
  max-width: 400px;
  text-align: left;
}

.certificate-info h3 {
  margin-bottom: 25px;
  font-size: 22px;
}

.info-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 15px;
  border-radius: 10px;
  margin-bottom: 15px;
  font-weight: bold;
}

.info-card span {
  display: block;
  font-weight: normal;
  font-size: 14px;
  margin-top: 5px;
  opacity: 0.9;
}

.highlight-box {
  margin-top: 25px;
  background: #1a73e8;
  padding: 18px;
  border-radius: 10px;
  font-weight: bold;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .certificate-container {
    flex-direction: column;
  }

  .certificate-info {
    text-align: center;
  }
}

@media (max-width: 600px) {
  .cert-content {
    padding: 30px 20px;
  }

  .student-name {
    font-size: 22px;
  }

  .cert-heading {
    font-size: 20px;
  }

  .seal {
    right: 10px;
    top: 10px;
    padding: 12px;
    font-size: 12px;
  }
}

/* REVIEWS SECTION */

/* SEO SECTION */
.seo-section {
  padding: 100px 8%;
  background: linear-gradient(135deg, #ffffff, #f3f7fc);
}

.seo-container {
  display: flex;
  gap: 60px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.seo-content {
  flex: 1;
  min-width: 300px;
}

.seo-description {
  margin-top: 20px;
  color: #555;
  line-height: 1.7;
  font-size: 15px;
}

.seo-highlights {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.highlight-item {
  background: #eaf2ff;
  padding: 12px 15px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 14px;
}

.seo-cta {
  margin-top: 30px;
}

.seo-cta button {
  background: #1a73e8;
  color: #fff;
  padding: 12px 25px;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  font-size: 14px;
  transition: 0.3s;
}

.seo-cta button:hover {
  background: #0f5cd8;
  transform: translateY(-3px);
}

/* STATS SIDE */
.seo-stats {
  flex: 1;
  min-width: 280px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
}

.stat-box {
  background: #fff;
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.stat-box h3 {
  font-size: 28px;
  color: #1a73e8;
  margin-bottom: 10px;
}

.stat-box p {
  color: #666;
  font-size: 14px;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .seo-container {
    flex-direction: column;
  }

  .seo-highlights {
    grid-template-columns: 1fr;
  }

  .seo-stats {
    margin-top: 50px;
  }
}

@media (max-width: 600px) {
  .seo-section {
    padding: 70px 6%;
  }

  .stat-box {
    padding: 20px;
  }

  .stat-box h3 {
    font-size: 22px;
  }
}

/* CONTACT SECTION */
.contact-section {
  padding: 100px 8%;
  background: #f8f9fb;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.contact-wrapper {
  display: flex;
  gap: 70px;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
}

/* LEFT SIDE */
.contact-left {
  flex: 1;
  min-width: 300px;
}

.contact-tag {
  background: #eaf2ff;
  color: #1a73e8;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
}

.contact-left h2 {
  margin: 15px 0;
  font-size: 30px;
}

.contact-description {
  color: #555;
  line-height: 1.7;
  margin-bottom: 30px;
}

.contact-details .detail {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.detail-icon {
  width: 45px;
  height: 45px;
  background: #1a73e8;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: 20px;
}

.detail h4 {
  margin: 0;
}

.detail p {
  margin: 5px 0;
  font-weight: 500;
}

.detail span {
  font-size: 13px;
  color: #777;
}

.free-box {
  margin-top: 25px;
  background: #1a73e8;
  color: #fff;
  padding: 15px;
  border-radius: 8px;
  font-weight: 500;
}

/* RIGHT SIDE FORM */
.contact-right {
  flex: 1;
  min-width: 320px;
  background: #fff;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.contact-right h3 {
  margin-bottom: 25px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.form-row {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #ddd;
  font-size: 14px;
  width: 100%;
  outline: none;
  transition: 0.2s;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: #1a73e8;
}

.contact-form button {
  margin-top: 10px;
  padding: 12px;
  background: #1a73e8;
  color: #fff;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  font-weight: 500;
  transition: 0.3s;
}

.contact-form button:hover {
  background: #0f5cd8;
  transform: translateY(-2px);
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .contact-wrapper {
    flex-direction: column;
  }

  .form-row {
    flex-direction: column;
  }
}

@media (max-width: 600px) {
  .contact-section {
    padding: 70px 6%;
  }

  .contact-left h2 {
    font-size: 24px;
  }

  .contact-right {
    padding: 25px;
  }
}

/* FOOTER */
.footer {
  background: #0f172a; /* Same dark theme */
  color: #e2e8f0;
  padding-top: 70px;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  padding: 0 20px 50px;
}

.footer-col h3,
.footer-col h4 {
  color: #38bdf8;
  margin-bottom: 15px;
}

.footer-col p {
  font-size: 14px;
  line-height: 1.6;
}

.footer-highlight p {
  font-size: 13px;
  margin-top: 8px;
  color: #cbd5e1;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  text-decoration: none;
  color: #cbd5e1;
  transition: 0.3s ease;
}

.footer-col ul li a:hover {
  color: #38bdf8;
  padding-left: 6px;
}

/* Social Buttons */
.social-buttons {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.social-btn {
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  transition: 0.3s ease;
  text-align: center;
}

.insta {
  background: #e1306c;
  color: white;
}

.gmail {
  background: #0a66c2;
  color: white;
}

.whatsapp {
  background: #25d366;
  color: white;
}

.social-btn:hover {
  transform: translateY(-3px);
  opacity: 0.9;
}

/* Call To Action */
.footer-cta {
  text-align: center;
  padding: 25px 20px;
  background: #111827;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-cta h4 {
  color: #38bdf8;
  margin-bottom: 8px;
}

.footer-cta p {
  font-size: 14px;
  color: #cbd5e1;
}

.footer-bottom {
  text-align: center;
  padding: 15px;
  font-size: 13px;
  background: #0b1220;
  color: #94a3b8;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-container {
    text-align: center;
  }

  .social-buttons {
    align-items: center;
  }
}

html,
body {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

/* ENTRY POPUP */
.entry-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.entry-popup {
  background: #fff;
  width: 95%;
  max-width: 420px;
  padding: 35px;
  border-radius: 15px;
  text-align: center;
  position: relative;
  animation: popupFade 0.4s ease;
}

@keyframes popupFade {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.entry-banner {
  background: #1a73e8;
  color: #fff;
  padding: 10px;
  font-size: 14px;
  border-radius: 6px;
  margin-bottom: 15px;
  font-weight: 600;
}

.entry-popup h2 {
  margin-bottom: 10px;
}

.entry-sub {
  font-size: 14px;
  color: #555;
  margin-bottom: 20px;
}

.entry-popup input {
  width: 100%;
  padding: 12px;
  margin-bottom: 12px;
  border-radius: 8px;
  border: 1px solid #ddd;
}

.entry-popup button {
  width: 100%;
  padding: 12px;
  background: #1a73e8;
  color: #fff;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  font-weight: 600;
  transition: 0.3s;
}

.entry-popup button:hover {
  background: #0f5cd8;
}

.entry-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 20px;
  cursor: pointer;
}

body {
  overflow-x: hidden;
}

/* IMPORTANT GLOBAL FIX */
* {
  box-sizing: border-box;
}

html,
body {
  overflow-x: hidden;
}

/* CONTACT SECTION */
.contact-section {
  padding: 80px 6%;
  background: #f8f9fc;
}

.contact-wrapper {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  max-width: 1200px;
  margin: auto;
  flex-wrap: wrap; /* important */
}

/* LEFT SIDE */
.contact-left {
  flex: 1;
  min-width: 300px;
}

.contact-tag {
  display: inline-block;
  background: #1a73e8;
  color: #fff;
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 13px;
  margin-bottom: 15px;
}

.contact-left h2 {
  margin-bottom: 15px;
  font-size: 30px;
}

.contact-description {
  color: #555;
  margin-bottom: 25px;
  line-height: 1.6;
}

.contact-details .detail {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.detail-icon {
  font-size: 22px;
}

.detail h4 {
  margin: 0;
}

.detail p {
  margin: 4px 0;
  font-weight: 600;
}

.detail span {
  font-size: 13px;
  color: #777;
}

.free-box {
  margin-top: 25px;
  background: #e8f0fe;
  padding: 15px;
  border-radius: 8px;
  font-weight: 600;
  color: #1a73e8;
}

/* RIGHT SIDE */
.contact-right {
  flex: 1;
  min-width: 300px;
  background: #fff;
  padding: 35px;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
}

.contact-right h3 {
  margin-bottom: 20px;
}

/* FORM */
.contact-form {
  width: 100%;
}

.form-row {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #ddd;
  font-size: 14px;
  margin-bottom: 15px;
}

.contact-form textarea {
  resize: none;
}

.contact-form button {
  width: 100%;
  padding: 13px;
  border: none;
  border-radius: 30px;
  background: #1a73e8;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

.contact-form button:hover {
  background: #0f5cd8;
}

/* ================= MOBILE FIX ================= */
@media (max-width: 768px) {
  .contact-section {
    padding: 60px 5%;
  }

  .contact-wrapper {
    flex-direction: column;
    gap: 40px;
  }

  .form-row {
    flex-direction: column; /* stack inputs */
    gap: 0;
  }

  .contact-right {
    padding: 25px;
  }

  .contact-left h2 {
    font-size: 24px;
  }
}

/* HERO */
.hero {
  position: relative;
  padding: 110px 6%;
  background: linear-gradient(135deg, #eef4ff, #ffffff);
  overflow: hidden;
}

/* Floating Icons */
.floating-icons span {
  position: absolute;
  font-weight: bold;
  color: rgba(26, 115, 232, 0.08);
  font-size: 40px;
  animation: float 12s linear infinite;
}

.floating-icons span:nth-child(1) {
  top: 10%;
  left: 5%;
}
.floating-icons span:nth-child(2) {
  top: 60%;
  left: 10%;
}
.floating-icons span:nth-child(3) {
  top: 20%;
  right: 10%;
}
.floating-icons span:nth-child(4) {
  bottom: 15%;
  left: 20%;
}
.floating-icons span:nth-child(5) {
  bottom: 25%;
  right: 15%;
}
.floating-icons span:nth-child(6) {
  top: 40%;
  right: 5%;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-30px);
  }
  100% {
    transform: translateY(0px);
  }
}

/* Layout */
.hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  max-width: 1200px;
  margin: auto;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* Content Animation */
.hero-content {
  flex: 1;
  min-width: 300px;
  animation: slideLeft 1s ease;
}

.hero-image {
  flex: 1;
  min-width: 300px;
  text-align: center;
  animation: slideRight 1s ease;
}

@keyframes slideLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Badge */
.student-badge {
  display: inline-block;
  background: #e8f0fe;
  color: #1a73e8;
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 13px;
  margin-bottom: 15px;
  font-weight: 600;
}

/* Heading */
.hero-content h1 {
  font-size: 42px;
  margin-bottom: 10px;
}

.typing-text {
  color: #1a73e8;
  border-right: 3px solid #1a73e8;
  padding-right: 5px;
}

/* Rating */
.rating {
  margin: 10px 0 20px;
  font-size: 14px;
  color: #444;
}

.rating span {
  margin-left: 8px;
}

/* Paragraph */
.hero-content p {
  color: #555;
  line-height: 1.7;
  margin-bottom: 30px;
}

/* Buttons */
.hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin-bottom: 25px;
}

.primary-btn {
  padding: 13px 28px;
  border-radius: 30px;
  border: none;
  background: #1a73e8;
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

.primary-btn:hover {
  background: #0f5cd8;
  transform: translateY(-2px);
}

.secondary-btn {
  padding: 13px 28px;
  border-radius: 30px;
  border: 2px solid #1a73e8;
  color: #1a73e8;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
}

.secondary-btn:hover {
  background: #1a73e8;
  color: white;
}

/* Features */
.hero-features {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 14px;
}

/* Image */
.hero-image img {
  width: 100%;
  max-width: 480px;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

/* Mobile */
@media (max-width: 768px) {
  .hero {
    padding: 70px 5%;
  }

  .hero-container {
    flex-direction: column-reverse;
    text-align: center;
  }

  .hero-content h1 {
    font-size: 28px;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-features {
    justify-content: center;
  }
}

.parent-trust {
  padding: 80px 20px;
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.trust-container {
  max-width: 1200px;
  margin: auto;
}

.trust-header h2 {
  font-size: 32px;
  margin-bottom: 10px;
}

.trust-header p {
  color: #cbd5e1;
  margin-bottom: 50px;
  font-size: 16px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.trust-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 15px;
  transition: 0.4s ease;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.trust-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.1);
}

.trust-icon {
  font-size: 40px;
  margin-bottom: 15px;
}

.trust-card h3 {
  margin-bottom: 15px;
  font-size: 20px;
}

.trust-card p {
  font-size: 14px;
  color: #e2e8f0;
}

.trust-stats {
  display: flex;
  justify-content: center;
  gap: 50px;
  margin-top: 60px;
  flex-wrap: wrap;
}

.stat h2 {
  font-size: 36px;
  color: #38bdf8;
}

.stat p {
  font-size: 14px;
  color: #cbd5e1;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .trust-stats {
    gap: 25px;
  }

  .trust-header h2 {
    font-size: 24px;
  }
}

.testimonial-section {
  background: #ffffff;
  padding: 80px 20px;
  text-align: center;
}

.testimonial-container {
  position: relative;
  max-width: 1100px;
  margin: auto;
}

.testimonial-wrapper {
  overflow: hidden;
}

.testimonial-slider {
  display: flex;
  transition: 0.6s ease;
}

.testimonial-card {
  min-width: 300px;
  max-width: 300px;
  margin: 20px;
  padding: 30px;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.1);
  transition: 0.4s;
}

.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.testimonial-avatar {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #007bff, #00c6ff);
  color: white;
  font-size: 24px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin: auto;
  margin-bottom: 10px;
}

.stars {
  color: #f5b50a;
  font-size: 18px;
  margin-bottom: 10px;
}

.testimonial-card p {
  font-size: 14px;
  color: #444;
  margin-bottom: 15px;
}

.testimonial-card h4 {
  margin: 0;
  font-size: 18px;
  color: #111;
}

.testimonial-card span {
  font-size: 13px;
  color: #777;
}

/* Slider Buttons */

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: linear-gradient(135deg, #007bff, #00c6ff);
  color: white;
  border: none;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  transition: 0.3s;
}

.slider-btn:hover {
  transform: translateY(-50%) scale(1.15);
}

.slider-btn.left {
  left: -10px;
}

.slider-btn.right {
  right: -10px;
}

.social-icons {
  margin-top: 20px;
  display: flex;
  gap: 15px;
}

/* Center only on mobile */
@media (max-width: 768px) {
  .social-icons {
    justify-content: center;
    align-items: center;
  }
}
@media (max-width: 768px) {
  .footer-col {
    text-align: center;
  }
}

.icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 20px;
  color: white;
  transition: 0.3s ease;
}

/* Individual Colors */
.insta {
  background: #e1306c;
}

.gmail {
  background: #0a66c2;
}

.whatsapp {
  background: #25d366;
}

/* Hover Animation */
.icon:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* ===== Slim Referral Running Bar ===== */
/* NOTICE BAR BASE */
.notice-bar {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  display: flex;
  align-items: center;
  position: relative;
}

/* MAIN BATCH NOTICE */
.main-notice {
  background: linear-gradient(90deg, #0c0c0c, #0e0d0d);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  height: 28px;
}

/* REFERRAL NOTICE */
.referral-notice {
  background: linear-gradient(90deg, #f8f8fa, #fafbfc);
  color: black;
  font-weight: 500;
  height: 22px;
}

/* RUNNING TEXT */
.notice-track {
  display: inline-block;
  padding-left: 100%;
  animation: scrollText 30s linear infinite;
}

/* SMALL TEXT */
.small-text {
  font-size: 11px;
}

/* ANIMATION */
@keyframes scrollText {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}
/* Referral Notice Bottom Shadow */
.referral-notice {
  background: linear-gradient(90deg, #111, #333);
  color: #ffd700;
  font-weight: 500;
  height: 22px;
  position: relative;
}

/* Soft fade shadow */
.referral-notice::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 8px;
  background: linear-gradient(to bottom, rgba(170, 5, 247, 0.25), transparent);
  pointer-events: none;
}

/* Popup Background */
.referral-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}

/* Popup Box */
.referral-popup {
  background: white;
  padding: 35px;
  border-radius: 14px;
  width: 90%;
  max-width: 520px;
  text-align: center;
  position: relative;
  animation: popupZoom 0.5s ease;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.35);
}

@keyframes popupZoom {
  0% {
    transform: scale(0.4);
    opacity: 0;
  }
  100% {
    transform: scale(1);
  }
}

.referral-header {
  background: linear-gradient(90deg, #ff7a00, #ff2e00);
  color: white;
  padding: 8px;
  border-radius: 6px;
  font-weight: 600;
  margin-bottom: 15px;
}

.referral-popup h2 span {
  color: #ff2e00;
}

.referral-intro {
  color: #555;
  margin-bottom: 20px;
}

/* Benefits */
.referral-benefits {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 20px;
}

.benefit-box {
  background: #f7f7f7;
  padding: 10px;
  border-radius: 6px;
  font-size: 14px;
}

.benefit-box p {
  margin: 3px 0 0;
  font-size: 13px;
  color: #555;
}

/* Steps */
.referral-steps {
  background: #eef4ff;
  padding: 12px;
  border-radius: 6px;
  margin-bottom: 15px;
  font-size: 14px;
}

.referral-highlight {
  background: #fff3cd;
  padding: 10px;
  border-radius: 6px;
  font-weight: 600;
  margin-bottom: 18px;
}

/* Button */
.referral-btn {
  display: inline-block;
  background: #25d366;
  color: white;
  padding: 12px 22px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
}

.referral-btn:hover {
  background: #1ebe5d;
}

/* Close button */
.referral-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  cursor: pointer;
}

/* Overlay */
.referral-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  padding: 20px;
}

/* Popup Box */
.referral-popup {
  background: #fff;
  width: 100%;
  max-width: 520px;
  max-height: 85vh;
  overflow-y: auto;
  border-radius: 14px;
  padding: 30px;
  text-align: center;
  position: relative;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.35);
  animation: popupFade 0.4s ease;
}

/* Popup Animation */
@keyframes popupFade {
  0% {
    transform: translateY(40px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Header */
.referral-header {
  background: linear-gradient(90deg, #ff7a00, #ff2e00);
  color: white;
  padding: 8px;
  border-radius: 6px;
  font-weight: 600;
  margin-bottom: 15px;
}

.referral-popup h2 span {
  color: #ff2e00;
}

/* Intro */
.referral-intro {
  color: #555;
  margin-bottom: 20px;
}

/* Benefits */
.referral-benefits {
  display: grid;
  gap: 12px;
  margin-bottom: 20px;
}

.benefit-box {
  background: #f5f5f5;
  padding: 12px;
  border-radius: 6px;
}

.benefit-box p {
  font-size: 13px;
  color: #555;
  margin: 4px 0 0;
}

/* Steps */
.referral-steps {
  background: #eef4ff;
  padding: 12px;
  border-radius: 6px;
  margin-bottom: 15px;
  font-size: 14px;
}

/* Highlight */
.referral-highlight {
  background: #fff3cd;
  padding: 10px;
  border-radius: 6px;
  font-weight: 600;
  margin-bottom: 18px;
}

/* Button */
.referral-btn {
  display: inline-block;
  background: #25d366;
  color: white;
  padding: 12px 22px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
}

.referral-btn:hover {
  background: #1ebe5d;
}

/* Close button */
.referral-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 22px;
  cursor: pointer;
  font-weight: bold;
  color: #333;
}

/* Referral Floating Button */
#referralBtn {
  position: fixed !important;
  right: 20px !important;
  bottom: 120px !important; /* above WhatsApp button */
  background: linear-gradient(45deg, #ff7a00, #ff2e00);
  color: #fff;
  padding: 12px 18px;
  border-radius: 40px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
  z-index: 2147483647 !important; /* always on top */
  animation: refPulse 2s infinite;
  font-family: Arial, sans-serif;
}

/* Pulse animation */
@keyframes refPulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.08);
  }
  100% {
    transform: scale(1);
  }
}

/* Mobile adjustment */
@media (max-width: 768px) {
  #referralBtn {
    right: 15px;
    bottom: 110px;
    font-size: 13px;
    padding: 10px 14px;
  }
}

/* Hide Scrollbar */
.referral-popup::-webkit-scrollbar {
  width: 0px;
  background: transparent;
}

.referral-popup {
  scrollbar-width: none;
}

.referral-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #ff3c3c, #ff9f00);
  color: #fff;
  font-size: 20px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  cursor: pointer;
  transition: 0.3s;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.25);
}

/* Hover animation */
.referral-close:hover {
  transform: rotate(90deg) scale(1.15);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

/* Click effect */
.referral-close:active {
  transform: scale(0.9);
}

@keyframes popupZoom {
  0% {
    transform: scale(0.6);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}
