/* style.css — Custom CSS for animations, ticker, transitions, scrollbar */

/* ===== Google Fonts ===== */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Roboto:wght@400;500;700&family=Palatino+Linotype&display=swap');

/* ===== CSS Variables ===== */
:root {
  --primary-blue: #0b5694;
  --primary-teal: #05b2a9;
  --header-gradient: linear-gradient(35deg, #0b5694 0%, #05b2a9 61%);
  --accent-orange: #ee5519;
  --accent-gold: #facd32;
  --accent-pink: #f863c3;
  --text-dark: #1a1a1a;
  --text-body: #3a3a3a;
  --bg-light: #f5f5f5;
  --bg-white: #ffffff;
  --footer-dark: #1b1b1b;
  --font-heading: 'Palatino Linotype', 'Book Antiqua', Palatino, serif;
  --font-body: 'Roboto', sans-serif;
  --font-nav: 'Plus Jakarta Sans', sans-serif;
  --ticker-orange: #f46e27;
}

/* ===== Base Reset ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text-body);
  background: var(--bg-white);
  overflow-x: hidden;
}

/* ===== Custom Scrollbar ===== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: var(--primary-teal); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary-blue); }

/* ===== News Ticker ===== */
.news-ticker {
  width: 100%;
  height: 40px;
  background: #fff;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  z-index: 100;
}
.ticker-label {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 20px;
  background: var(--ticker-orange);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  font-family: var(--font-nav);
  white-space: nowrap;
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}
.ticker-label::after {
  content: '';
  position: absolute;
  right: -10px;
  top: 10px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 0 10px 10px;
  border-color: transparent transparent transparent var(--ticker-orange);
}
.ticker-content {
  flex: 1;
  overflow: hidden;
  height: 40px;
  line-height: 40px;
}
.ticker-content marquee {
  font-weight: 700;
  color: #393b6e;
  font-size: 15px;
}

/* ===== Header ===== */
.site-header {
  background: var(--header-gradient);
  padding: 8px 40px;
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: background 0.3s, box-shadow 0.3s;
}
.site-header.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

/* Nav dropdown */
.nav-item { position: relative; }
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  background: #fff;
  box-shadow: 4px 4px 20px 2px rgba(0,0,0,0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 200;
  border-radius: 0 0 4px 4px;
}
.nav-item:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown a {
  display: block;
  padding: 15px 30px;
  color: var(--text-dark);
  text-decoration: none;
  font-family: var(--font-nav);
  font-size: 14px;
  font-weight: 500;
  transition: background 0.2s, color 0.2s;
  border-bottom: 1px solid #f0f0f0;
}
.nav-dropdown a:hover {
  background: var(--primary-blue);
  color: #fff;
}

/* Active nav */
.nav-link-active { color: var(--accent-gold) !important; border-bottom: 2px solid var(--accent-gold); }

/* Apply Online button */
.btn-apply-online {
  border: 1px solid #fff;
  color: #fff;
  padding: 12px 28px;
  font-family: var(--font-nav);
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s;
  background: transparent;
  font-size: 14px;
}
.btn-apply-online:hover {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
  color: var(--text-dark);
}

/* ===== Hero Slider ===== */
.hero-slider {
  position: relative;
  width: 100%;
  height: 640px;
  overflow: hidden;
}
.hero-slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  background-size: cover;
  background-position: center;
}
.hero-slide.active { opacity: 1; }
.hero-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  padding: 0 80px;
  background: linear-gradient(90deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.05) 100%);
}
.hero-text { max-width: 600px; color: #fff; }
.hero-text .pre-heading {
  font-size: 20px;
  font-weight: 400;
  font-family: var(--font-body);
  margin-bottom: 8px;
  animation: fadeInDown 0.8s ease;
}
.hero-text .main-heading {
  font-size: 48px;
  font-weight: 700;
  font-family: var(--font-heading);
  line-height: 1.2;
  margin-bottom: 20px;
  text-transform: uppercase;
  animation: fadeInDown 1s ease 0.2s both;
}
.hero-text .sub-text {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 30px;
  font-family: var(--font-body);
  animation: fadeInDown 1s ease 0.4s both;
}
.hero-text .btn-view-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 36px;
  background: var(--accent-orange);
  color: #fff;
  text-decoration: none;
  font-family: var(--font-nav);
  font-weight: 700;
  font-size: 16px;
  border-radius: 4px;
  transition: all 0.3s;
  text-transform: uppercase;
  animation: fadeInUp 1s ease 0.6s both;
}
.hero-text .btn-view-more:hover {
  background: var(--primary-blue);
  transform: translateX(5px);
}

/* Slider dots */
.slider-dots {
  position: absolute;
  bottom: 30px;
  left: 80px;
  display: flex;
  gap: 8px;
  z-index: 10;
}
.slider-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: all 0.3s;
  border: none;
}
.slider-dot.active {
  background: #fff;
  transform: scale(1.3);
}

/* ===== Mobile Hero (shows on small screens instead of slider) ===== */
.mobile-hero {
  display: none;
  background: linear-gradient(95deg, rgba(11,86,148,0.64) 0%, rgba(5,178,169,0.52) 100%);
  background-size: cover;
  padding: 60px 20px;
  text-align: center;
  color: #fff;
}
.mobile-hero img.college-logo {
  width: 200px;
  height: auto;
  margin: 0 auto 20px;
}

/* ===== About Section ===== */
.section-label {
  font-family: var(--font-nav);
  font-size: 20px;
  font-weight: 500;
  color: var(--accent-orange);
  margin-bottom: 8px;
}
.section-heading {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  color: var(--primary-blue);
  text-transform: capitalize;
  margin-bottom: 4px;
}
.section-separator {
  width: 220px;
  height: 2px;
  background: var(--accent-pink);
  margin: 10px 0;
}
.about-text {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-body);
  text-align: justify;
  text-transform: capitalize;
  font-family: var(--font-body);
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--accent-orange);
  color: #fff;
  text-decoration: none;
  font-family: var(--font-nav);
  font-weight: 700;
  font-size: 16px;
  border-radius: 4px;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
  margin-top: 20px;
}
.btn-primary:hover {
  background: var(--primary-blue);
  transform: translateX(5px);
}

/* Side images */
.about-images-col {
  display: flex;
  gap: 16px;
}
.about-img-card {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 1px 1px 10px 1px rgba(0,0,0,0.35);
  width: 50%;
  height: 400px;
  background-size: cover;
  background-position: center;
}
.about-img-card:nth-child(2) {
  margin-top: 50px;
}

/* Wiggle animation for about images */
@keyframes wiggle {
  0%, 100% { transform: translateY(0); }
  25% { transform: translateY(-10px); }
  75% { transform: translateY(10px); }
}
.about-images-col {
  animation: wiggle 4s ease-in-out infinite;
}

/* ===== Courses Section ===== */
.courses-section {
  background: #fff;
  padding: 60px 0;
}
.course-images {
  display: flex;
  gap: 20px;
}
.course-img {
  border-radius: 16px;
  overflow: hidden;
  width: 45%;
  height: 400px;
  object-fit: cover;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* ===== Facilities / Features Row on Home ===== */
.facilities-home {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-teal) 100%);
  padding: 60px 0;
}
.facility-card-home {
  background: rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  transition: transform 0.3s, background 0.3s;
  cursor: pointer;
}
.facility-card-home:hover {
  transform: translateY(-8px);
  background: rgba(255,255,255,0.2);
}
.facility-card-home .facility-icon {
  font-size: 36px;
  margin-bottom: 10px;
}
.facility-card-home h4 {
  color: #fff;
  font-family: var(--font-nav);
  font-size: 15px;
  font-weight: 600;
}

/* ===== Stats / Counters ===== */
.stats-section {
  padding: 60px 0;
  background: var(--bg-white);
}
.stat-card {
  text-align: center;
  padding: 20px;
}
.stat-card img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 16px;
}
.stat-number {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 700;
  color: var(--accent-orange);
}
.stat-label {
  font-family: var(--font-nav);
  font-size: 16px;
  color: var(--text-body);
  margin-top: 4px;
}

/* ===== Gallery Section ===== */
.gallery-section { padding: 60px 0; background: var(--bg-white); }
.gallery-section .section-heading { text-align: center; color: var(--primary-teal); }
.gallery-section .section-separator { margin: 10px auto; background: var(--primary-blue); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 30px;
}
.gallery-item {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  position: relative;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.gallery-item:hover img { transform: scale(1.1); }
.gallery-item::after {
  content: '🔍';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0);
  font-size: 30px;
  transition: transform 0.3s;
  pointer-events: none;
}
.gallery-item:hover::after { transform: translate(-50%, -50%) scale(1); }

/* ===== Lightbox ===== */
.lightbox {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.9);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}
.lightbox.active { display: flex; }
.lightbox img {
  max-width: 90%;
  max-height: 85vh;
  border-radius: 8px;
  box-shadow: 0 0 40px rgba(0,0,0,0.5);
}
.lightbox-close {
  position: absolute;
  top: 20px; right: 30px;
  font-size: 40px;
  color: #fff;
  cursor: pointer;
  z-index: 10000;
  background: none;
  border: none;
  font-family: sans-serif;
}
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 40px;
  color: #fff;
  cursor: pointer;
  background: rgba(255,255,255,0.1);
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  transition: background 0.3s;
}
.lightbox-nav:hover { background: rgba(255,255,255,0.3); }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

/* ===== Testimonials ===== */
.testimonials-section {
  background: linear-gradient(135deg, #1a0533 0%, #0d1b3e 100%);
  padding: 80px 0;
  text-align: center;
  color: #fff;
  overflow: hidden;
}
.testimonials-section .section-heading {
  color: var(--accent-gold);
  text-align: center;
}
.testimonials-section .section-separator {
  margin: 10px auto;
  background: var(--accent-gold);
}
.testimonial-icon {
  font-size: 60px;
  margin: 20px 0;
  opacity: 0.7;
}
.testimonial-slide {
  display: none;
  animation: fadeIn 0.8s ease;
}
.testimonial-slide.active { display: block; }
.testimonial-text {
  font-size: 16px;
  line-height: 1.8;
  max-width: 700px;
  margin: 0 auto 20px;
  font-weight: 500;
  font-style: italic;
}
.testimonial-author {
  font-family: var(--font-nav);
  font-weight: 700;
  font-size: 18px;
}
.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}
.testimonial-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
  border: none;
  transition: all 0.3s;
}
.testimonial-dot.active { background: #fff; }

/* ===== Enquiry Banner ===== */
.enquiry-banner {
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-teal));
  padding: 20px;
  text-align: center;
}
.enquiry-banner a {
  color: #fff;
  font-family: var(--font-nav);
  font-weight: 700;
  font-size: 20px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 40px;
  border: 2px solid #fff;
  transition: all 0.3s;
}
.enquiry-banner a:hover {
  background: #fff;
  color: var(--primary-blue);
}

/* ===== Footer ===== */
.site-footer {
  background: var(--footer-dark);
  color: #ccc;
  padding: 60px 0 0;
}
.footer-heading {
  color: #fff;
  font-family: var(--font-nav);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}
.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 40px;
  height: 2px;
  background: var(--accent-gold);
}
.footer-links a {
  display: block;
  color: #ccc;
  text-decoration: none;
  padding: 6px 0;
  font-size: 14px;
  transition: color 0.3s, padding-left 0.3s;
}
.footer-links a:hover {
  color: var(--accent-gold);
  padding-left: 8px;
}
.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}
.footer-social a {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  transition: all 0.3s;
}
.footer-social a:hover {
  background: var(--accent-gold);
  color: var(--text-dark);
  transform: translateY(-3px);
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  text-align: center;
  font-size: 14px;
  margin-top: 40px;
}
.footer-bottom a {
  color: var(--accent-gold);
  text-decoration: none;
}

/* ===== Scroll to Top ===== */
#toTop {
  position: fixed;
  bottom: 30px; right: 30px;
  width: 48px; height: 48px;
  background: var(--primary-teal);
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 20px;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
  transition: all 0.3s;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
#toTop:hover { background: var(--primary-blue); transform: translateY(-3px); }
#toTop.visible { display: flex; }

/* ===== Animations ===== */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideInLeft { from { opacity: 0; transform: translateX(-60px); } to { opacity: 1; transform: translateX(0); } }
@keyframes slideInRight { from { opacity: 0; transform: translateX(60px); } to { opacity: 1; transform: translateX(0); } }

/* Scroll-triggered animations */
.animate-on-scroll {
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.animate-on-scroll.animate-left { transform: translateX(-60px); }
.animate-on-scroll.animate-right { transform: translateX(60px); }
.animate-on-scroll.animate-up { transform: translateY(40px); }
.animate-on-scroll.animate-down { transform: translateY(-40px); }
.animate-on-scroll.in-view {
  opacity: 1;
  transform: translateX(0) translateY(0);
}

/* ===== Mobile Menu ===== */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
}
.mobile-menu-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 1100;
}
.mobile-menu-overlay.active { display: block; }
.mobile-nav {
  position: fixed;
  top: 0; right: -300px;
  width: 280px; height: 100%;
  background: var(--primary-blue);
  z-index: 1200;
  transition: right 0.3s ease;
  padding: 60px 20px 20px;
  overflow-y: auto;
}
.mobile-nav.active { right: 0; }
.mobile-nav-close {
  position: absolute;
  top: 15px; right: 15px;
  background: none;
  border: none;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
}
.mobile-nav a {
  display: block;
  color: #fff;
  text-decoration: none;
  padding: 12px 0;
  font-family: var(--font-nav);
  font-size: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.mobile-nav a:hover { color: var(--accent-gold); }
.mobile-sub-toggle {
  background: none;
  border: none;
  color: rgba(255,255,255,0.7);
  font-size: 12px;
  cursor: pointer;
  float: right;
  margin-top: 2px;
}
.mobile-sub-menu {
  display: none;
  padding-left: 15px;
}
.mobile-sub-menu.active { display: block; }
.mobile-sub-menu a {
  font-size: 14px;
  padding: 8px 0;
}

/* ===== Off-canvas menu (grid icon) ===== */
.offcanvas-btn {
  background: none;
  border: none;
  color: rgba(255,255,255,0.7);
  font-size: 24px;
  cursor: pointer;
  margin-left: 16px;
  transition: color 0.3s;
}
.offcanvas-btn:hover { color: #fff; }

/* ===== Responsive ===== */
@media (max-width: 1100px) {
  .hero-slider { height: 500px; }
  .hero-text .main-heading { font-size: 36px; }
  .hero-overlay { padding: 0 40px; }
  .slider-dots { left: 40px; }
}

@media (max-width: 800px) {
  .desktop-nav { display: none !important; }
  .mobile-menu-btn { display: block; }
  .hero-slider { display: none; }
  .mobile-hero { display: block; }
  .site-header { padding: 8px 16px; }
  
  /* Ensure all layout columns expand to full width on mobile view so images display fully */
  .lg\:w-2\/5, .lg\:w-\[40\%\], .lg\:w-3\/5, .lg\:w-\[60\%\] {
    width: 100% !important;
  }
  
  /* side-by-side staggered images layout */
  .about-images-col {
    flex-direction: row !important;
    gap: 12px !important;
    animation: none !important;
  }
  .about-img-card {
    width: 50% !important;
    height: 180px !important;
  }
  .about-img-card:nth-child(2) {
    margin-top: 16px !important;
  }

  /* Courses section & courses pages grid images (override vertical stacking and overlapping) */
  .courses-section .grid, 
  main .lg\:w-2\/5.animate-on-scroll.animate-right .grid,
  .about-images-col + .grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }
  .courses-section .grid > div,
  main .lg\:w-2\/5.animate-on-scroll.animate-right .grid > div,
  .about-images-col + .grid > div {
    height: 140px !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }

  /* Facilities list: force uniform flow, remove squeezing padding, fix height aspect ratio */
  .fac-section .max-w-6xl {
    flex-direction: column !important;
    gap: 1.5rem !important;
  }
  .fac-text-col {
    order: 1 !important;
    padding: 0 !important;
    text-align: left !important;
  }
  .fac-text-col h2 {
    font-size: 24px !important;
  }
  .w-full.lg\:w-\[40\%\] {
    order: 2 !important;
  }
  .side-img-wrap {
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
    align-items: start !important;
  }
  .side-img-wrap img {
    height: 160px !important;
  }
  .side-img-wrap .img-bot {
    margin-top: 20px !important;
  }
  .fac-sep {
    width: 100px !important;
    margin: 8px 0 14px !important;
  }

  /* Testimonials */
  .testimonial-text {
    font-size: 14px !important;
    padding: 0 10px;
  }
  .testimonial-slide p {
    font-size: 14px !important;
  }

  .gallery-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .course-images { flex-direction: column; }
  .course-img { width: 100%; height: 250px; }
  .section-heading, h2.font-bold { font-size: 26px !important; line-height: 1.3; }
  h3.font-bold { font-size: 22px !important; }
  .btn-apply-online { display: none; }
  .py-16 { padding-top: 2.5rem !important; padding-bottom: 2.5rem !important; }
  .gap-12 { gap: 2rem !important; }

  /* Reduce form containers padding on tablets/mobiles */
  div.p-8.md\:p-12 {
    padding: 1.5rem !important;
  }

  /* 4 cards in a row for Stats Section on mobile */
  .stats-section .grid {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 8px !important;
  }
  .stat-card {
    padding: 10px 4px !important;
  }
  .stat-number {
    font-size: 18px !important;
  }
  .stat-label {
    font-size: 10px !important;
    line-height: 1.2 !important;
  }

  /* 3 cards in a row for Features Section on About page mobile */
  #featuresCol {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 8px !important;
  }
  #featuresCol > div {
    padding: 12px 6px !important;
  }
  #featuresCol i {
    font-size: 20px !important;
    margin-bottom: 6px !important;
  }
  #featuresCol h3 {
    font-size: 12px !important;
    margin-bottom: 4px !important;
  }
  #featuresCol p {
    font-size: 10px !important;
    line-height: 1.3 !important;
  }
}

@media (max-width: 480px) {
  .hero-text .main-heading { font-size: 24px !important; }
  .ticker-label { font-size: 12px; padding: 0 12px; }
  .ticker-content marquee { font-size: 13px !important; }
  .px-6 { padding-left: 0.75rem !important; padding-right: 0.75rem !important; }
  
  .stats-section .grid {
    gap: 4px !important;
  }
  .stat-card {
    padding: 6px 2px !important;
  }
  .stat-number {
    font-size: 15px !important;
  }
  .stat-label {
    font-size: 8px !important;
  }

  #featuresCol {
    gap: 4px !important;
  }
  #featuresCol > div {
    padding: 8px 4px !important;
  }
  #featuresCol i {
    font-size: 16px !important;
  }
  #featuresCol h3 {
    font-size: 10px !important;
  }
  #featuresCol p {
    font-size: 8px !important;
    line-height: 1.2 !important;
  }
  
  /* Shrink form container padding further on tiny devices */
  div.p-8.md\:p-12 {
    padding: 1rem !important;
  }
}
