/* ============================================
   Shree Shyam Driving School - Theme Stylesheet
   ============================================ */
:root {
  --ss-maroon: #6a0f1a;
  --ss-maroon-dark: #4a0a12;
  --ss-saffron: #ff8f00;
  --ss-saffron-dark: #e07b00;
  --ss-gold: #ffd54f;
  --ss-cream: #fff8ee;
  --ss-light: #faf6f0;
}

html { scroll-behavior: smooth; }
body { font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: #2b2b2b; }
h1, h2, h3, h4, h5 { font-weight: 700; color: var(--ss-maroon); }

.section-title { position: relative; display: inline-block; padding-bottom: .5rem; margin-bottom: 1.5rem; }
.section-title::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 60px; height: 4px; border-radius: 2px;
  background: linear-gradient(90deg, var(--ss-saffron), var(--ss-gold));
}
.text-center .section-title::after { left: 50%; transform: translateX(-50%); }
.subtitle { color: var(--ss-saffron); font-weight: 600; text-transform: uppercase; letter-spacing: 2px; font-size: .8rem; }

/* Buttons */
.btn-ss { background: var(--ss-saffron); color: #fff; border: none; font-weight: 600; padding: .75rem 1.75rem; border-radius: 50px; transition: all .25s; }
.btn-ss:hover { background: var(--ss-saffron-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(255,143,0,.35); }
.btn-outline-ss { border: 2px solid var(--ss-gold); color: var(--ss-gold); font-weight: 600; padding: .7rem 1.75rem; border-radius: 50px; transition: all .25s; }
.btn-outline-ss:hover { background: var(--ss-gold); color: var(--ss-maroon); }

/* Top bar */
.topbar { background: var(--ss-maroon-dark); color: #f3d9c4; font-size: .875rem; }
.topbar a { color: var(--ss-gold); text-decoration: none; }

/* Navbar */
.navbar-ss { background: var(--ss-maroon); padding: .75rem 0; box-shadow: 0 2px 12px rgba(0,0,0,.2); border-bottom: 3px solid var(--ss-gold); }
.navbar-ss .navbar-brand { display: flex; align-items: center; gap: .6rem; color: #fff; font-weight: 700; font-size: 1.2rem; }
.navbar-ss .navbar-brand img { width: 48px; height: 48px; }
.navbar-ss .navbar-brand span small { display: block; font-size: .66rem; font-weight: 500; letter-spacing: 2px; color: var(--ss-gold); text-transform: uppercase; }
.navbar-ss .nav-link { color: #f3e6d8; font-weight: 500; margin: 0 .35rem; position: relative; }
.navbar-ss .nav-link:hover, .navbar-ss .nav-link.active { color: var(--ss-gold); }
.navbar-ss .nav-link.active::after { content: ""; position: absolute; left: .5rem; right: .5rem; bottom: 0; height: 2px; background: var(--ss-gold); }
.navbar-ss .navbar-toggler { border-color: rgba(255,255,255,.4); }
.navbar-ss .navbar-toggler-icon { filter: invert(1); }

/* Hero */
.hero {
  background: linear-gradient(120deg, rgba(74,10,18,.97) 35%, rgba(106,15,26,.7)),
              url("https://images.unsplash.com/photo-1502877338535-766e1452684a?auto=format&fit=crop&w=1600&q=80") center/cover no-repeat;
  color: #fff; padding: 7rem 0; position: relative;
}
.hero h1 { color: #fff; font-size: 3rem; line-height: 1.15; }
.hero h1 span { color: var(--ss-gold); }
.hero p.lead { color: #f3d9c4; }
.hero-badge { display: inline-block; background: rgba(255,213,79,.15); color: var(--ss-gold); border: 1px solid var(--ss-gold); border-radius: 50px; padding: .35rem 1rem; font-size: .85rem; font-weight: 600; }
.hero-logo { width: 300px; filter: drop-shadow(0 20px 40px rgba(0,0,0,.5)); }

/* Page header */
.page-header { background: linear-gradient(135deg, var(--ss-maroon), var(--ss-maroon-dark)); color: #fff; padding: 4rem 0; text-align: center; border-bottom: 5px solid var(--ss-gold); }
.page-header h1 { color: #fff; }
.page-header .breadcrumb { justify-content: center; margin: 0; }
.page-header .breadcrumb a { color: var(--ss-gold); text-decoration: none; }
.page-header .breadcrumb-item.active, .page-header .breadcrumb-item + .breadcrumb-item::before { color: #f3d9c4; }

/* Feature strip */
.feature-strip { margin-top: -3rem; position: relative; z-index: 2; }
.feature-card { background: #fff; border-radius: 14px; padding: 1.75rem; height: 100%; box-shadow: 0 10px 30px rgba(106,15,26,.1); border-bottom: 4px solid var(--ss-saffron); transition: transform .3s; }
.feature-card:hover { transform: translateY(-6px); }
.feature-card i { font-size: 2.25rem; color: var(--ss-saffron); }

/* Service cards */
.service-card { background: #fff; border-radius: 16px; padding: 1.75rem; height: 100%; box-shadow: 0 6px 20px rgba(0,0,0,.07); transition: transform .3s, box-shadow .3s; border-top: 4px solid transparent; }
.service-card:hover { transform: translateY(-6px); box-shadow: 0 16px 34px rgba(106,15,26,.15); border-top-color: var(--ss-gold); }
.service-icon { width: 70px; height: 70px; border-radius: 50%; background: linear-gradient(135deg, var(--ss-maroon), #9c1f2e); display: flex; align-items: center; justify-content: center; color: var(--ss-gold); font-size: 1.9rem; margin-bottom: 1rem; }
.service-card a { color: var(--ss-saffron); font-weight: 600; text-decoration: none; }

/* Sections */
.bg-light-ss { background: var(--ss-light); }
.bg-maroon { background: var(--ss-maroon); color: #fff; }
.bg-maroon h2, .bg-maroon h3 { color: #fff; }

/* Steps */
.step-number { width: 56px; height: 56px; border-radius: 50%; background: var(--ss-maroon); color: var(--ss-gold); font-weight: 700; font-size: 1.4rem; display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; border: 3px solid var(--ss-gold); }

/* Stats */
.stat h3 { font-size: 2.5rem; color: var(--ss-gold); margin: 0; }
.stat p { margin: 0; color: #f3d9c4; }

/* Testimonials */
.testimonial { background: #fff; border-radius: 16px; padding: 2rem; height: 100%; box-shadow: 0 6px 20px rgba(0,0,0,.06); position: relative; }
.testimonial::before { content: "\\201C"; position: absolute; top: 8px; right: 20px; font-size: 5rem; color: var(--ss-gold); opacity: .4; font-family: Georgia, serif; line-height: 1; }
.testimonial .stars { color: var(--ss-saffron); }
.testimonial .avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--ss-maroon); color: var(--ss-gold); display: flex; align-items: center; justify-content: center; font-weight: 700; }

/* CTA */
.cta { background: linear-gradient(90deg, var(--ss-saffron), var(--ss-gold)); color: var(--ss-maroon-dark); }
.cta h2 { color: var(--ss-maroon-dark); }
.cta .btn { background: var(--ss-maroon); color: #fff; border-radius: 50px; padding: .75rem 2rem; font-weight: 600; }
.cta .btn:hover { background: var(--ss-maroon-dark); color: var(--ss-gold); }

/* Team */
.team-card img { width: 130px; height: 130px; border-radius: 50%; object-fit: cover; border: 4px solid var(--ss-gold); }

/* Timeline */
.timeline { border-left: 3px solid var(--ss-saffron); padding-left: 1.5rem; }
.timeline-item { position: relative; margin-bottom: 1.5rem; }
.timeline-item::before { content: ""; position: absolute; left: -2.1rem; top: .35rem; width: 14px; height: 14px; border-radius: 50%; background: var(--ss-gold); border: 3px solid var(--ss-maroon); }
.timeline-item .year { color: var(--ss-saffron); font-weight: 700; }

/* Contact */
.contact-info-card { background: var(--ss-maroon); color: #fff; border-radius: 16px; padding: 2rem; height: 100%; }
.contact-info-card i { color: var(--ss-gold); font-size: 1.5rem; }
.contact-info-card a { color: var(--ss-gold); text-decoration: none; }
.form-control:focus, .form-select:focus { border-color: var(--ss-saffron); box-shadow: 0 0 0 .2rem rgba(255,143,0,.2); }
.map-wrap iframe { width: 100%; height: 340px; border: 0; border-radius: 16px; }

/* Footer */
footer { background: var(--ss-maroon-dark); color: #d9bfb0; }
footer h5 { color: #fff; }
footer a { color: #d9bfb0; text-decoration: none; transition: color .2s; }
footer a:hover { color: var(--ss-gold); }
footer .social a { display: inline-flex; width: 38px; height: 38px; border-radius: 50%; align-items: center; justify-content: center; background: rgba(255,255,255,.08); margin-right: .5rem; }
footer .social a:hover { background: var(--ss-saffron); color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); font-size: .875rem; }

/* Floating WhatsApp */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 999; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.7rem; box-shadow: 0 8px 20px rgba(37,211,102,.45); animation: pulse 2s infinite; }
.wa-float:hover { color: #fff; background: #1ebe5d; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.5); } 70% { box-shadow: 0 0 0 18px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }

@media (max-width: 991px) { .hero { padding: 4.5rem 0; } .hero h1 { font-size: 2.2rem; } .feature-strip { margin-top: 2rem; } }
