*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #1a73e8;
  --primary-dark: #1558b0;
  --accent: #fbbc04;
  --dark: #0f172a;
  --dark2: #1e293b;
  --light: #f8faff;
  --text: #334155;
  --muted: #64748b;
  --card-bg: #ffffff;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-hover: 0 12px 40px rgba(26,115,232,0.18);
  --radius: 16px;
}

html { scroll-behavior: smooth; }
body { font-family: 'Poppins', sans-serif; color: var(--text); background: var(--light); overflow-x: hidden; }

/* NAVBAR */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 2.5rem;
  background: rgba(15,23,42,0.6);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: background 0.3s;
}
.navbar.scrolled { background: rgba(15,23,42,0.97); }
.nav-brand { display: flex; align-items: center; gap: 0.8rem; color: #fff; font-size: 1.15rem; font-weight: 700; text-decoration: none; }
.brand-logo { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; border: 2px solid var(--accent); }
.nav-brand i { color: var(--accent); font-size: 1.4rem; }
.nav-links { list-style: none; display: flex; align-items: center; gap: 0.3rem; }
.nav-links a { color: rgba(255,255,255,0.8); text-decoration: none; font-size: 0.85rem; font-weight: 500; padding: 0.4rem 0.8rem; border-radius: 8px; transition: all 0.2s; }
.nav-links a:hover { color: #fff; background: rgba(255,255,255,0.1); }
.nav-whatsapp { background: #25d366 !important; color: #fff !important; padding: 0.4rem 1rem !important; border-radius: 50px !important; font-weight: 600 !important; }
.nav-whatsapp:hover { background: #1ebe5d !important; transform: translateY(-1px); }
.hamburger { display: none; color: #fff; font-size: 1.4rem; cursor: pointer; }

/* HERO */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex; align-items: center;
  padding: 6rem 2.5rem 4rem;
  background: url('assets/hero-bg.jpg') center/cover no-repeat;
  color: #fff;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(10,20,50,0.88) 55%, rgba(26,115,232,0.55) 100%);
}
.hero-content { position: relative; z-index: 1; max-width: 680px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(251,188,4,0.15); border: 1px solid rgba(251,188,4,0.5);
  color: var(--accent); padding: 0.4rem 1rem; border-radius: 50px;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.5px;
  margin-bottom: 1.2rem;
}
.hero-content h1 { font-size: 3.2rem; font-weight: 800; line-height: 1.15; margin-bottom: 1.2rem; }
.hero-content h1 span { color: var(--accent); }
.hero-content p { font-size: 1.05rem; color: rgba(255,255,255,0.78); margin-bottom: 2rem; line-height: 1.8; max-width: 540px; }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }
.btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.85rem 1.8rem; border-radius: 50px; font-weight: 600; text-decoration: none; font-size: 0.95rem; transition: all 0.3s; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 4px 20px rgba(26,115,232,0.4); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-3px); box-shadow: 0 8px 30px rgba(26,115,232,0.5); }
.btn-whatsapp { background: #25d366; color: #fff; box-shadow: 0 4px 20px rgba(37,211,102,0.4); }
.btn-whatsapp:hover { background: #1ebe5d; transform: translateY(-3px); }
.hero-stats { display: flex; align-items: center; gap: 2rem; }
.stat span { font-size: 2rem; font-weight: 800; color: var(--accent); display: block; }
.stat p { font-size: 0.8rem; color: rgba(255,255,255,0.6); }
.stat-divider { width: 1px; height: 40px; background: rgba(255,255,255,0.2); }

/* MARQUEE */
.marquee-bar { background: var(--primary); padding: 0.75rem 0; overflow: hidden; }
.marquee-track {
  display: flex; gap: 3rem; white-space: nowrap;
  animation: marquee 25s linear infinite;
}
.marquee-track span { color: #fff; font-size: 0.85rem; font-weight: 500; }
.marquee-track span i { margin-right: 0.4rem; color: var(--accent); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* SECTIONS */
.section { padding: 5.5rem 1.5rem; }
.container { max-width: 1140px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-sub { font-size: 0.78rem; font-weight: 700; letter-spacing: 2px; color: var(--primary); text-transform: uppercase; margin-bottom: 0.5rem; }
.section-title { font-size: 2.1rem; font-weight: 800; color: var(--dark); }
.section-title::after { content: ''; display: block; width: 50px; height: 4px; background: var(--accent); margin: 0.8rem auto 0; border-radius: 2px; }

/* ABOUT */
.about { background: #fff; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-image-wrap { position: relative; border-radius: 20px; overflow: visible; }
.about-image-wrap img { width: 100%; border-radius: 20px; display: block; box-shadow: 0 20px 60px rgba(0,0,0,0.15); }
.about-image-badge {
  position: absolute; bottom: 20px; left: 20px;
  background: var(--primary); color: #fff;
  padding: 0.7rem 1.2rem; border-radius: 12px;
  font-size: 0.83rem; font-weight: 700;
  box-shadow: 0 8px 24px rgba(26,115,232,0.4);
  backdrop-filter: blur(4px);
}
.about-image-badge i { color: var(--accent); margin-right: 0.4rem; }
.about-features { display: flex; flex-direction: column; gap: 1.5rem; }
.feature-item { display: flex; align-items: flex-start; gap: 1.2rem; padding: 1.3rem; background: var(--light); border-radius: 14px; transition: box-shadow 0.3s; }
.feature-item:hover { box-shadow: var(--shadow-hover); }
.feature-icon { min-width: 48px; height: 48px; background: var(--primary); border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.feature-icon i { color: #fff; font-size: 1.2rem; }
.feature-item h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.3rem; color: var(--dark); }
.feature-item p { font-size: 0.88rem; color: var(--muted); line-height: 1.6; }

/* COURSES */
.courses { background: var(--light); }
.courses-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }
.course-card {
  background: #fff; border-radius: var(--radius); padding: 2rem;
  box-shadow: var(--shadow); transition: all 0.3s; cursor: default;
  border-bottom: 3px solid transparent;
  display: flex; flex-direction: column;
}
.course-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); border-bottom-color: var(--primary); }
.course-icon { width: 60px; height: 60px; border-radius: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 1.2rem; }
.course-icon i { font-size: 1.6rem; }
.course-card h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 0.5rem; color: var(--dark); min-height: 3rem; }
.course-card p { font-size: 0.85rem; color: var(--muted); line-height: 1.6; margin-bottom: 1.2rem; flex-grow: 1; }
.course-info-meta { display: flex; gap: 1rem; margin-bottom: 1rem; padding-bottom: 1rem; border-bottom: 1px dashed rgba(0,0,0,0.08); margin-top: auto; }
.course-info-meta span { font-size: 0.78rem; font-weight: 600; color: var(--primary); display: flex; align-items: center; gap: 0.35rem; }
.course-info-meta i { font-size: 0.9rem; color: var(--accent); }
.course-tag { display: inline-flex; align-items: center; gap: 0.35rem; background: #e6f4ea; color: #2e7d32; font-size: 0.72rem; font-weight: 600; padding: 0.25rem 0.8rem; border-radius: 50px; margin-top: 0.4rem; margin-right: 0.4rem; }
.section-footer { text-align: center; margin-top: 3.5rem; }
.btn-secondary { background: rgba(26,115,232,0.1); color: var(--primary); border: 1px solid var(--primary); }
.btn-secondary:hover { background: var(--primary); color: #fff; transform: translateY(-3px); }

/* TIMING */
.timing { background: var(--dark2); color: #fff; }
.timing .section-title { color: #fff; }
.timing .section-sub { color: var(--accent); }
.timing-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.timing-info { display: flex; flex-direction: column; gap: 1.5rem; }
.timing-highlight { display: flex; align-items: center; gap: 1.5rem; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); padding: 1.8rem; border-radius: 16px; }
.timing-highlight i { font-size: 2.5rem; color: var(--accent); }
.timing-highlight h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.2rem; }
.timing-highlight p { font-size: 0.85rem; color: rgba(255,255,255,0.6); }
.timing-highlight strong { color: var(--accent); font-size: 1rem; }
.closed-highlight i { color: #94a3b8; }
.closed-highlight strong { color: #94a3b8; }
.timing-table-wrap { background: rgba(255,255,255,0.04); border-radius: 16px; overflow: hidden; border: 1px solid rgba(255,255,255,0.08); }
.timing-table { width: 100%; border-collapse: collapse; }
.timing-table thead { background: var(--primary); }
.timing-table th { padding: 1rem 1.5rem; text-align: left; font-size: 0.85rem; font-weight: 600; color: #fff; }
.timing-table td { padding: 0.9rem 1.5rem; font-size: 0.9rem; color: rgba(255,255,255,0.8); border-bottom: 1px solid rgba(255,255,255,0.06); }
.timing-table tbody tr:hover { background: rgba(255,255,255,0.05); }
td.open { color: #4ade80; font-weight: 600; }
td.open i { font-size: 0.6rem; margin-right: 0.5rem; }
td.closed { color: #f87171; font-weight: 600; }
td.closed i { font-size: 0.6rem; margin-right: 0.5rem; }

/* REVIEWS */
.reviews { background: var(--light); }
.overall-rating { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 1rem; }
.rating-number { font-size: 3.5rem; font-weight: 800; color: var(--dark); line-height: 1; }
.overall-rating .stars { color: var(--accent); font-size: 1.2rem; margin-bottom: 0.2rem; }
.overall-rating p { font-size: 0.82rem; color: var(--muted); }
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.review-card {
  background: #fff; border-radius: var(--radius); padding: 1.8rem;
  box-shadow: var(--shadow); transition: all 0.3s;
  border-top: 3px solid var(--accent);
}
.review-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.review-header { display: flex; align-items: center; gap: 0.9rem; margin-bottom: 1rem; }
.reviewer-avatar { width: 46px; height: 46px; border-radius: 50%; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; font-weight: 700; flex-shrink: 0; }
.review-header h4 { font-size: 0.95rem; font-weight: 700; color: var(--dark); margin-bottom: 0.2rem; }
.review-header .stars { color: var(--accent); font-size: 0.75rem; }
.g-logo { width: 22px; height: 22px; margin-left: auto; flex-shrink: 0; }
.review-card p { font-size: 0.88rem; color: var(--muted); line-height: 1.7; font-style: italic; }
.review-date { display: block; font-size: 0.75rem; color: #aaa; margin-top: 0.8rem; }

/* CONTACT */
.contact { background: #fff; }
.contact-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: stretch; }
.contact-cards { display: flex; flex-direction: column; gap: 1.2rem; }
.contact-card { display: flex; flex-direction: column; background: var(--light); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow); transition: all 0.3s; flex: 1; }
.contact-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.contact-icon { width: 50px; height: 50px; border-radius: 12px; background: var(--primary); display: flex; align-items: center; justify-content: center; margin-bottom: 0.9rem; }
.contact-icon i { color: #fff; font-size: 1.3rem; }
.phone-icon { background: #1a73e8; }
.wa-icon { background: #25d366; }
.contact-card h3 { font-size: 1rem; font-weight: 700; color: var(--dark); margin-bottom: 0.4rem; }
.contact-card p { font-size: 0.85rem; color: var(--muted); line-height: 1.7; margin-bottom: 0.8rem; }
.contact-link { color: var(--primary); font-size: 0.85rem; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 0.4rem; }
.contact-link:hover { text-decoration: underline; }
.map-wrap { border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); min-height: 450px; }
.map-wrap iframe { width: 100%; height: 100%; min-height: 450px; display: block; }

/* FOOTER */
.footer { background: var(--dark); padding: 2.5rem 1.5rem; text-align: center; }
.footer-inner { max-width: 600px; margin: 0 auto; }
.footer-brand { display: flex; align-items: center; justify-content: center; gap: 0.8rem; color: #fff; font-size: 1.1rem; font-weight: 700; margin-bottom: 1rem; }
.footer-logo { width: 50px; height: 50px; border-radius: 50%; border: 2px solid var(--accent); }
.footer-brand i { color: var(--accent); }
.footer p { color: #94a3b8; font-size: 0.85rem; line-height: 1.8; }
.footer-links { display: flex; justify-content: center; gap: 2rem; margin: 1rem 0; }
.footer-links a { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 0.85rem; display: flex; align-items: center; gap: 0.4rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--accent); }
.footer-copy { margin-top: 1rem; color: #475569 !important; font-size: 0.78rem !important; }

/* FLOATING WHATSAPP — only visible on mobile (nav button covers desktop) */
.float-wa {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 999;
  width: 58px; height: 58px; background: #25d366; border-radius: 50%;
  display: none; align-items: center; justify-content: center;
  color: #fff; font-size: 1.8rem; box-shadow: 0 4px 20px rgba(37,211,102,0.5);
  text-decoration: none; transition: all 0.3s;
  animation: pulse-wa 2.5s infinite;
}
.float-wa:hover { background: #1ebe5d; transform: scale(1.1); }
@keyframes pulse-wa {
  0%,100% { box-shadow: 0 4px 20px rgba(37,211,102,0.5); }
  50% { box-shadow: 0 4px 40px rgba(37,211,102,0.8); }
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .nav-links { display: none; flex-direction: column; position: fixed; top: 65px; left: 0; right: 0; background: var(--dark); padding: 1.5rem; gap: 0.3rem; border-top: 1px solid rgba(255,255,255,0.1); }
  .nav-links.open { display: flex; }
  .hamburger { display: block; }
  /* Show floating WhatsApp only when nav (and its WA button) is hidden */
  .float-wa { display: flex; }
}
@media (max-width: 992px) {
  .about-grid, .timing-wrapper, .contact-wrapper { grid-template-columns: 1fr; }
  .about-image-badge { left: 10px; bottom: 10px; }
}
@media (max-width: 768px) {
  .hero { padding: 7rem 1.5rem 3rem; }
  .hero-content h1 { font-size: 2rem; }
  .hero-stats { gap: 1.2rem; }
  .stat span { font-size: 1.5rem; }
  .section-title { font-size: 1.7rem; }
  .map-wrap { min-height: 260px; }
}
