/* ===== Garg Classes – Main Stylesheet ===== */
:root {
  --primary: #0b2a5b;
  --primary-2: #133f86;
  --accent: #ffb703;
  --accent-2: #fb8500;
  --text: #24314a;
  --muted: #6b7a90;
  --light: #f5f8fd;
  --radius: 16px;
}

* { scroll-behavior: smooth; }
body {
  font-family: 'Poppins', sans-serif;
  color: var(--text);
  background: #fff;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5 { font-weight: 700; color: var(--primary); }
a { text-decoration: none; }
.text-accent { color: var(--accent-2) !important; }
.bg-light-soft { background: var(--light); }
.section { padding: 90px 0; }
.section-title { margin-bottom: 50px; }
.tag, .section-title .tag {
  display: inline-block; background: rgba(251,133,0,.12); color: var(--accent-2);
  font-weight: 600; font-size: .85rem; padding: 6px 16px; border-radius: 50px;
  letter-spacing: .5px; margin-bottom: 12px; text-transform: uppercase;
}
.section-title h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.section-title p { color: var(--muted); max-width: 640px; margin: 10px auto 0; }

/* Buttons */
.btn-accent {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #1b1b1b; font-weight: 600; border: none; border-radius: 50px;
  padding: 12px 30px; transition: .3s; box-shadow: 0 8px 20px rgba(251,133,0,.3);
}
.btn-accent:hover { transform: translateY(-3px); color: #000; box-shadow: 0 12px 26px rgba(251,133,0,.4); }
.btn-outline-light-custom {
  border: 2px solid rgba(255,255,255,.7); color: #fff; border-radius: 50px;
  padding: 10px 28px; font-weight: 600; transition: .3s;
}
.btn-outline-light-custom:hover { background: #fff; color: var(--primary); }
.btn-primary-custom {
  background: var(--primary); color: #fff; border-radius: 50px; padding: 12px 30px;
  font-weight: 600; border: none; transition: .3s;
}
.btn-primary-custom:hover { background: var(--primary-2); color: #fff; transform: translateY(-2px); }

/* Top bar */
.topbar { background: var(--primary); color: #cfd9ec; font-size: .85rem; padding: 7px 0; }
.topbar a { color: #cfd9ec; }
.topbar a:hover { color: var(--accent); }
.topbar i { color: var(--accent); margin-right: 5px; }

/* Navbar */
.navbar { padding: 14px 0; transition: .3s; background: #fff; }
.navbar.scrolled { box-shadow: 0 6px 25px rgba(11,42,91,.1); padding: 8px 0; }
.navbar-brand { font-weight: 800; font-size: 1.5rem; color: var(--primary) !important; display: flex; align-items: center; gap: 10px; }
.brand-logo {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-2)); color: var(--accent); font-size: 1.3rem;
}
.navbar-brand span { color: var(--accent-2); }
.navbar .nav-link { font-weight: 500; color: var(--text); margin: 0 6px; position: relative; }
.navbar .nav-link::after {
  content: ""; position: absolute; left: 8px; bottom: 2px; width: 0; height: 2px;
  background: var(--accent-2); transition: .3s;
}
.navbar .nav-link:hover::after, .navbar .nav-link.active::after { width: calc(100% - 16px); }
.navbar .nav-link.active, .navbar .nav-link:hover { color: var(--primary); }
@media (max-width: 991px) {
  .navbar .nav-link::after { display: none; }
  .navbar-collapse { padding: 15px 0; }
}

/* Hero */
.hero {
  background: radial-gradient(circle at 85% 20%, rgba(255,183,3,.25), transparent 40%),
              linear-gradient(135deg, var(--primary) 0%, var(--primary-2) 100%);
  color: #fff; padding: 100px 0 120px; position: relative; overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 26px 26px;
}
.hero .container { position: relative; z-index: 1; }
.hero h1 { color: #fff; font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.2; }
.hero h1 span { color: var(--accent); }
.hero p.lead { color: #d6e0f3; font-size: 1.1rem; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2); padding: 7px 16px; border-radius: 50px; font-size: .9rem; margin-bottom: 20px;
}
.hero-card {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(10px); border-radius: 24px; padding: 30px;
}
.hero-card .stat { text-align: center; padding: 18px 10px; border-radius: 16px; background: rgba(255,255,255,.07); }
.hero-card .stat h3 { color: var(--accent); margin: 0; font-size: 2rem; }
.hero-card .stat small { color: #d6e0f3; }
.hero-illus {
  width: 100%; aspect-ratio: 1/1; max-width: 420px; margin: auto; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,183,3,.35), rgba(255,183,3,0) 70%);
  display: grid; place-items: center; position: relative;
}
.hero-illus > i { font-size: clamp(7rem, 18vw, 11rem); color: #fff; filter: drop-shadow(0 20px 30px rgba(0,0,0,.3)); }
.float-chip {
  position: absolute; background: #fff; color: var(--primary); border-radius: 14px;
  padding: 10px 16px; font-weight: 600; font-size: .9rem; box-shadow: 0 12px 30px rgba(0,0,0,.2);
  display: flex; align-items: center; gap: 8px; animation: floaty 4s ease-in-out infinite;
}
.float-chip i { color: var(--accent-2); font-size: 1.2rem; }
.float-chip.c1 { top: 12%; left: 0; }
.float-chip.c2 { bottom: 14%; right: 0; animation-delay: 1.5s; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* Page header (inner pages) */
.page-header {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff; padding: 80px 0 70px; text-align: center; position: relative; overflow: hidden;
}
.page-header::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px); background-size: 26px 26px;
}
.page-header h1 { color: #fff; font-size: clamp(2rem, 4vw, 2.8rem); position: relative; }
.page-header .breadcrumb { justify-content: center; position: relative; margin: 0; }
.page-header .breadcrumb a { color: var(--accent); }
.page-header .breadcrumb-item.active, .page-header .breadcrumb-item + .breadcrumb-item::before { color: #d6e0f3; }

/* Feature / course cards */
.feature-card, .course-card, .info-card {
  background: #fff; border-radius: var(--radius); padding: 32px 26px; height: 100%;
  border: 1px solid #e8eef8; transition: .35s; position: relative; overflow: hidden;
}
.feature-card:hover, .course-card:hover, .info-card:hover {
  transform: translateY(-8px); box-shadow: 0 20px 40px rgba(11,42,91,.12); border-color: transparent;
}
.icon-box {
  width: 64px; height: 64px; border-radius: 16px; display: grid; place-items: center;
  font-size: 1.7rem; margin-bottom: 20px; color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
}
.icon-box.accent { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #1b1b1b; }
.feature-card p, .course-card p, .info-card p { color: var(--muted); margin: 0; }
.course-card .badge-tag {
  position: absolute; top: 20px; right: 20px; background: rgba(251,133,0,.12); color: var(--accent-2);
  font-size: .75rem; font-weight: 600; padding: 4px 12px; border-radius: 50px;
}
.course-card ul { list-style: none; padding: 0; margin: 16px 0 20px; }
.course-card ul li { color: var(--text); font-size: .93rem; padding: 4px 0; }
.course-card ul li i { color: #22a06b; margin-right: 8px; }
.course-card .course-link { font-weight: 600; color: var(--primary); }
.course-card .course-link:hover { color: var(--accent-2); }

/* Counter strip */
.counter-strip { background: linear-gradient(135deg, var(--accent), var(--accent-2)); padding: 60px 0; }
.counter-strip h2 { color: var(--primary); font-size: 2.6rem; margin: 0; }
.counter-strip p { color: #3b2a00; font-weight: 500; margin: 0; }

/* About image block */
.about-visual {
  border-radius: 24px; background: linear-gradient(135deg, var(--primary), var(--primary-2));
  min-height: 380px; position: relative; display: grid; place-items: center; overflow: hidden;
}
.about-visual > i { font-size: 9rem; color: rgba(255,255,255,.9); }
.about-visual .exp-badge {
  position: absolute; bottom: 24px; left: 24px; background: var(--accent); color: var(--primary);
  border-radius: 18px; padding: 16px 22px; font-weight: 700; box-shadow: 0 12px 25px rgba(0,0,0,.2);
}
.about-visual .exp-badge h3 { margin: 0; font-size: 2.2rem; }
.check-list { list-style: none; padding: 0; }
.check-list li { padding: 7px 0; display: flex; gap: 10px; }
.check-list li i { color: var(--accent-2); font-size: 1.15rem; }

/* Timeline steps */
.step-card { text-align: center; padding: 20px; }
.step-num {
  width: 70px; height: 70px; border-radius: 50%; margin: 0 auto 18px; display: grid; place-items: center;
  font-size: 1.5rem; font-weight: 700; color: var(--primary); background: #fff;
  border: 3px dashed var(--accent-2);
}

/* Testimonials */
.testimonial-card {
  background: #fff; border-radius: var(--radius); padding: 30px; height: 100%;
  box-shadow: 0 10px 30px rgba(11,42,91,.07); position: relative;
}
.testimonial-card .quote-icon { position: absolute; top: 20px; right: 24px; font-size: 2.6rem; color: rgba(251,133,0,.2); }
.testimonial-card .stars { color: var(--accent); margin-bottom: 12px; }
.testimonial-card p { color: var(--muted); font-style: italic; }
.avatar {
  width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; font-weight: 700;
  background: linear-gradient(135deg, var(--primary), var(--primary-2)); color: var(--accent);
}

/* Team */
.team-card { text-align: center; background: #fff; border-radius: var(--radius); padding: 30px 20px; border: 1px solid #e8eef8; transition: .3s; height: 100%; }
.team-card:hover { transform: translateY(-6px); box-shadow: 0 18px 35px rgba(11,42,91,.1); }
.team-card .avatar { width: 96px; height: 96px; font-size: 2rem; margin: 0 auto 16px; }
.team-card small { color: var(--accent-2); font-weight: 600; }
.team-card .social a { color: var(--muted); margin: 0 6px; }
.team-card .social a:hover { color: var(--primary); }

/* FAQ */
.accordion-item { border: none; margin-bottom: 14px; border-radius: 14px !important; overflow: hidden; box-shadow: 0 6px 20px rgba(11,42,91,.06); }
.accordion-button { font-weight: 600; color: var(--primary); padding: 18px 22px; }
.accordion-button:not(.collapsed) { background: var(--primary); color: #fff; }
.accordion-button:not(.collapsed)::after { filter: brightness(0) invert(1); }
.accordion-button:focus { box-shadow: none; }

/* CTA */
.cta {
  background: linear-gradient(135deg, var(--primary), var(--primary-2)); border-radius: 28px;
  padding: 60px 40px; color: #fff; position: relative; overflow: hidden;
}
.cta::after {
  content: ""; position: absolute; width: 300px; height: 300px; border-radius: 50%;
  background: rgba(255,183,3,.15); right: -80px; top: -80px;
}
.cta h2 { color: #fff; }
.cta p { color: #d6e0f3; }
.cta > * { position: relative; z-index: 1; }

/* Contact */
.contact-info-card { display: flex; gap: 18px; align-items: flex-start; }
.contact-info-card .icon-box { flex-shrink: 0; margin: 0; width: 56px; height: 56px; font-size: 1.4rem; }
.contact-info-card p, .contact-info-card a { color: var(--muted); margin: 0; }
.contact-form {
  background: #fff; border-radius: 24px; padding: 40px; box-shadow: 0 20px 50px rgba(11,42,91,.1);
}
.form-control, .form-select { border-radius: 12px; padding: 12px 16px; border: 1px solid #dbe3f0; }
.form-control:focus, .form-select:focus { border-color: var(--accent-2); box-shadow: 0 0 0 .2rem rgba(251,133,0,.15); }
.map-wrap iframe { width: 100%; height: 380px; border: 0; border-radius: 24px; display: block; }
@media (max-width: 575px) { .contact-form { padding: 26px 20px; } .cta { padding: 44px 24px; } }

/* Legal pages */
.legal-content { max-width: 900px; margin: auto; }
.legal-content h3 { font-size: 1.35rem; margin-top: 36px; margin-bottom: 14px; display: flex; gap: 10px; align-items: center; }
.legal-content h3 i { color: var(--accent-2); }
.legal-content p, .legal-content li { color: #4a5873; line-height: 1.85; }
.legal-content ul li { margin-bottom: 6px; }
.legal-box { background: var(--light); border-left: 4px solid var(--accent-2); border-radius: 12px; padding: 20px 24px; }
.legal-toc { position: sticky; top: 100px; background: var(--light); border-radius: 16px; padding: 24px; }
.legal-toc a { display: block; color: var(--muted); padding: 6px 0; font-size: .93rem; }
.legal-toc a:hover { color: var(--accent-2); }

/* Footer */
footer { background: #071a3a; color: #aebad0; padding-top: 70px; }
footer h5 { color: #fff; margin-bottom: 22px; font-size: 1.1rem; }
footer a { color: #aebad0; transition: .3s; }
footer a:hover { color: var(--accent); padding-left: 4px; }
footer .footer-links li { margin-bottom: 10px; list-style: none; }
footer .footer-links { padding: 0; }
footer .footer-links i { color: var(--accent); font-size: .75rem; margin-right: 6px; }
.social-icons a {
  width: 40px; height: 40px; border-radius: 50%; display: inline-grid; place-items: center;
  background: rgba(255,255,255,.08); color: #fff; margin-right: 8px;
}
.social-icons a:hover { background: var(--accent); color: var(--primary); padding-left: 0; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; margin-top: 50px; font-size: .9rem; }

/* Floating buttons */
.whatsapp-float {
  position: fixed; bottom: 24px; right: 24px; width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center; font-size: 1.8rem; z-index: 999;
  box-shadow: 0 10px 25px rgba(37,211,102,.45); animation: pulse 2s infinite;
}
.whatsapp-float:hover { color: #fff; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.5); } 70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }
.back-to-top {
  position: fixed; bottom: 94px; right: 30px; width: 46px; height: 46px; border-radius: 12px;
  background: var(--primary); color: #fff; display: grid; place-items: center; z-index: 999;
  opacity: 0; visibility: hidden; transition: .3s;
}
.back-to-top.show { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--accent-2); color: #fff; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(30px); transition: all .8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 767px) {
  .section { padding: 64px 0; }
  .hero { padding: 70px 0 80px; text-align: center; }
  .float-chip { display: none; }
}
.contact-info-card > div:last-child { min-width: 0; }
.contact-info-card a { overflow-wrap: anywhere; }

/* ===== Courses page ===== */
.course-tabs { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.course-tabs a {
  background: var(--light); color: var(--primary); font-weight: 600; font-size: .9rem;
  padding: 10px 18px; border-radius: 50px; border: 1px solid #e3eaf6; transition: .3s;
}
.course-tabs a:hover { background: var(--primary); color: #fff; }
.course-tabs a i { margin-right: 4px; }
.course-detail { padding-bottom: 70px; margin-bottom: 70px; border-bottom: 1px dashed #dbe3f0; scroll-margin-top: 100px; }
.course-detail.mb-0 { border-bottom: 0; padding-bottom: 0; }
.course-visual {
  border-radius: 24px; min-height: 280px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2)); color: #fff; position: relative; overflow: hidden;
}
.course-visual::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.1) 1px, transparent 1px); background-size: 22px 22px;
}
.course-visual.alt { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: var(--primary); }
.course-visual i { font-size: 5.5rem; position: relative; }
.course-visual span { font-weight: 700; font-size: 1.2rem; position: relative; background: rgba(255,255,255,.18); padding: 6px 18px; border-radius: 50px; }
.mini-info { display: flex; gap: 12px; align-items: center; background: var(--light); border-radius: 14px; padding: 12px 14px; height: 100%; }
.mini-info i { font-size: 1.5rem; color: var(--accent-2); }
.mini-info small { display: block; color: var(--muted); font-size: .78rem; }
.mini-info strong { color: var(--primary); font-size: .92rem; }
@media (max-width: 767px) { .course-detail { padding-bottom: 50px; margin-bottom: 50px; } .course-visual { min-height: 200px; } }

/* ===== Results page ===== */
.rating-strip {
  display: flex; flex-wrap: wrap; align-items: center; gap: 24px; background: #fff; border-radius: 20px;
  padding: 24px 28px; box-shadow: 0 12px 35px rgba(11,42,91,.08); border: 1px solid #e8eef8;
}
.rating-big { font-size: 3rem; font-weight: 800; color: var(--primary); line-height: 1; }
.topper-card {
  background: #fff; border-radius: 20px; padding: 26px 16px; text-align: center; height: 100%;
  border: 1px solid #e8eef8; transition: .3s; position: relative; overflow: hidden;
}
.topper-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 70px; background: linear-gradient(135deg, var(--primary), var(--primary-2)); }
.topper-card:hover { transform: translateY(-6px); box-shadow: 0 18px 35px rgba(11,42,91,.12); }
.topper-photo {
  width: 96px; height: 96px; border-radius: 50%; margin: 0 auto 12px; position: relative; overflow: hidden;
  border: 4px solid #fff; box-shadow: 0 8px 20px rgba(0,0,0,.15);
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); display: grid; place-items: center;
}
.topper-photo span { font-size: 2rem; font-weight: 700; color: var(--primary); }
.topper-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.topper-card .score { font-size: 1.6rem; font-weight: 800; color: var(--accent-2); }
.topper-card h6 { margin: 4px 0 2px; color: var(--primary); font-weight: 700; }
.topper-card small { color: var(--muted); }
.result-list { list-style: none; padding: 0; margin: 0; }
.result-list li { display: flex; justify-content: space-between; gap: 10px; padding: 12px 0; border-bottom: 1px dashed #dbe3f0; }
.result-list li:last-child { border-bottom: 0; }
.result-list strong { color: var(--accent-2); }

/* ===== Gallery page ===== */
.gallery-filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 34px; }
.gallery-filters button {
  border: 1px solid #dbe3f0; background: #fff; color: var(--primary); font-weight: 600;
  padding: 9px 22px; border-radius: 50px; transition: .3s;
}
.gallery-filters button.active, .gallery-filters button:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.gallery-tile {
  position: relative; display: block; width: 100%; aspect-ratio: 1/1; border: 0; padding: 0;
  border-radius: 18px; overflow: hidden; background: var(--light); cursor: zoom-in;
}
.gallery-tile.no-img { cursor: default; }
.gallery-ph {
  position: absolute; inset: 0; display: grid; place-items: center; font-size: 2.6rem; color: rgba(11,42,91,.25);
  background: linear-gradient(135deg, #eef3fb, #f8fafe);
}
.gallery-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery-tile:hover img { transform: scale(1.08); }
.gallery-cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 14px 12px; text-align: left;
  color: #fff; font-weight: 600; font-size: .88rem;
  background: linear-gradient(transparent, rgba(7,26,58,.85));
}
.gallery-tile.no-img .gallery-cap { background: none; color: var(--primary); }
.insta-cta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 24px; border-radius: 24px; padding: 34px 36px; color: #fff;
  background: linear-gradient(135deg, #833ab4, #fd1d1d 55%, #fcb045);
}
.insta-cta h3 { color: #fff; }
.insta-icon { width: 72px; height: 72px; border-radius: 20px; background: rgba(255,255,255,.2); display: grid; place-items: center; font-size: 2.2rem; }
@media (max-width: 575px) { .insta-cta { padding: 26px 22px; text-align: center; justify-content: center; } }

/* Navbar collapses at xl now (more links) */
@media (max-width: 1199px) {
  .navbar .nav-link::after { display: none; }
  .navbar-collapse { padding: 15px 0; }
}
.gallery-tile.no-img .gallery-cap i { display: none; }
