/* =============================================================
   Shri Sai Welfare Society (SSWS) — Global Stylesheet
   Theme: Primary #fe0000 | Secondary: White | Contrast-driven
   Author: SSWS Web Template
   ============================================================= */

/* ---------- 1. CSS Variables / Design Tokens ---------- */
:root {
  --primary: #fe0000;
  --primary-dark: #c60000;
  --primary-light: #ff4d4d;
  --secondary: #ffffff;
  --dark: #1a1a1a;
  --gray: #6b7280;
  --light-gray: #f7f7f9;
  --border: #ececf1;
  --gradient: linear-gradient(135deg, #fe0000 0%, #ff5e3a 100%);
  --gradient-dark: linear-gradient(135deg, #c60000 0%, #fe0000 100%);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 50px rgba(254, 0, 0, 0.18);
  --radius: 14px;
  --radius-lg: 24px;
  --transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  --font-head: "Poppins", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

/* ---------- 2. Base / Reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--dark);
  background: var(--secondary);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.25;
  color: var(--dark);
}

a { text-decoration: none; transition: var(--transition); }

img { max-width: 100%; height: auto; }

section { position: relative; }

.text-primary-ssws { color: var(--primary) !important; }
.bg-primary-ssws { background: var(--primary) !important; }
.bg-gradient-ssws { background: var(--gradient) !important; }
.bg-light-ssws { background: var(--light-gray) !important; }

/* ---------- 3. Preloader ---------- */
#preloader {
  position: fixed;
  inset: 0;
  background: var(--secondary);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
#preloader.hidden { opacity: 0; visibility: hidden; }
.loader-ring {
  width: 70px;
  height: 70px;
  border: 6px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- 4. Top Bar ---------- */
.top-bar {
  background: var(--gradient-dark);
  color: #fff;
  font-size: 0.86rem;
  padding: 8px 0;
}
.top-bar a { color: #fff; opacity: 0.92; }
.top-bar a:hover { opacity: 1; text-decoration: underline; }
.top-bar .social-top a {
  display: inline-flex;
  width: 30px; height: 30px;
  align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  margin-left: 6px;
}
.top-bar .social-top a:hover { background: #fff; color: var(--primary); }

/* ---------- 5. Navbar ---------- */
.navbar {
  background: #fff;
  box-shadow: var(--shadow-sm);
  padding: 12px 0;
  transition: var(--transition);
}
.navbar.scrolled { padding: 8px 0; box-shadow: var(--shadow-md); }
.navbar-brand { display: flex; align-items: center; gap: 12px; }
.navbar-brand .logo-badge {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.4rem; font-weight: 700;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}
.navbar-brand .brand-text { line-height: 1.1; }
.navbar-brand .brand-text .name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--dark);
}
.navbar-brand .brand-text .tagline {
  font-size: 0.72rem;
  color: var(--gray);
  letter-spacing: 0.5px;
}
.navbar .nav-link {
  font-weight: 500;
  color: var(--dark) !important;
  margin: 0 4px;
  padding: 8px 14px !important;
  border-radius: 8px;
  position: relative;
}
.navbar .nav-link::after {
  content: "";
  position: absolute;
  left: 14px; bottom: 4px;
  width: 0; height: 2px;
  background: var(--primary);
  transition: var(--transition);
}
.navbar .nav-link:hover::after,
.navbar .nav-link.active::after { width: calc(100% - 28px); }
.navbar .nav-link:hover,
.navbar .nav-link.active { color: var(--primary) !important; }
.dropdown-menu {
  border: none;
  box-shadow: var(--shadow-md);
  border-radius: var(--radius);
  padding: 10px;
  margin-top: 10px;
}
.dropdown-item {
  border-radius: 8px;
  padding: 9px 14px;
  font-weight: 500;
  color: var(--dark);
}
.dropdown-item:hover, .dropdown-item.active {
  background: var(--light-gray);
  color: var(--primary);
}
.btn-donate-nav {
  background: var(--gradient);
  color: #fff !important;
  border-radius: 50px;
  padding: 9px 22px !important;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}
.btn-donate-nav:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.navbar-toggler { border: none; font-size: 1.5rem; color: var(--primary); }
.navbar-toggler:focus { box-shadow: none; }

/* Mobile off-canvas menu (slides from left) */
@media (max-width: 991.98px) {
  .offcanvas-nav {
    background: #fff;
    width: 300px !important;
  }
  .offcanvas-nav .nav-link { margin: 4px 0; }
  .offcanvas-nav .btn-donate-nav { margin-top: 14px; display: inline-block; }
}

/* ---------- 6. Buttons ---------- */
.btn-ssws {
  background: var(--gradient);
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 12px 30px;
  font-weight: 600;
  letter-spacing: 0.3px;
  box-shadow: 0 8px 20px rgba(254, 0, 0, 0.25);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-ssws:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(254, 0, 0, 0.4); color: #fff; }
.btn-outline-ssws {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  border-radius: 50px;
  padding: 10px 28px;
  font-weight: 600;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-outline-ssws:hover { background: var(--primary); color: #fff; transform: translateY(-3px); }
.btn-white-ssws {
  background: #fff;
  color: var(--primary);
  border: none;
  border-radius: 50px;
  padding: 12px 30px;
  font-weight: 600;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}
.btn-white-ssws:hover { transform: translateY(-3px); color: var(--primary-dark); }

/* ---------- 7. Section Headings ---------- */
.section-pad { padding: 90px 0; }
.section-pad-sm { padding: 60px 0; }
.section-title { margin-bottom: 50px; }
.section-title .eyebrow {
  display: inline-block;
  color: var(--primary);
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-bottom: 10px;
  position: relative;
  padding-left: 42px;
}
.section-title .eyebrow::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 32px; height: 2px;
  background: var(--primary);
  transform: translateY(-50%);
}
.section-title.text-center .eyebrow { padding-left: 0; }
.section-title.text-center .eyebrow::before { display: none; }
.section-title h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
}
.section-title p { color: var(--gray); max-width: 640px; }
.section-title.text-center p { margin-left: auto; margin-right: auto; }

/* ---------- 8. Page Banner (inner pages) ---------- */
.page-banner {
  background:
    linear-gradient(135deg, rgba(198,0,0,0.92), rgba(254,0,0,0.85)),
    url('../images/banner-pattern.svg') center/cover;
  color: #fff;
  padding: 120px 0 90px;
  text-align: center;
}
.page-banner h1 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; }
.page-banner .breadcrumb {
  justify-content: center;
  background: transparent;
  margin: 12px 0 0;
}
.page-banner .breadcrumb a { color: rgba(255,255,255,0.85); }
.page-banner .breadcrumb .active { color: #fff; }
.page-banner .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.6); }

/* ---------- 9. Hero Slider ---------- */
.hero-carousel .carousel-item {
  height: 88vh;
  min-height: 560px;
  background-size: cover;
  background-position: center;
  position: relative;
}
.hero-carousel .carousel-item::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(20,0,0,0.78) 0%, rgba(198,0,0,0.55) 55%, rgba(254,0,0,0.25) 100%);
}
.hero-carousel .carousel-caption {
  top: 50%;
  transform: translateY(-50%);
  bottom: auto;
  text-align: left;
  left: 8%; right: 8%;
}
.hero-carousel .caption-inner { max-width: 640px; }
.hero-carousel .hero-tag {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  padding: 7px 18px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 1px;
  margin-bottom: 18px;
  backdrop-filter: blur(6px);
}
.hero-carousel h1 {
  color: #fff;
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 800;
  margin-bottom: 18px;
  text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.hero-carousel p {
  color: rgba(255,255,255,0.92);
  font-size: 1.1rem;
  margin-bottom: 30px;
}
.hero-carousel .carousel-indicators [data-bs-target] {
  width: 40px; height: 5px; border-radius: 5px;
}
.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next { width: 6%; opacity: 0.85; }

@media (max-width: 767.98px) {
  .hero-carousel .carousel-item { height: 82vh; min-height: 480px; }
  .hero-carousel .carousel-caption { text-align: center; left: 5%; right: 5%; }
  .hero-carousel .caption-inner { margin: 0 auto; }
  .hero-carousel .carousel-control-prev,
  .hero-carousel .carousel-control-next { display: none; }
}

/* ---------- 10. Cards ---------- */
.card-ssws {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  height: 100%;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.card-ssws::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 4px;
  background: var(--gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}
.card-ssws:hover { transform: translateY(-10px); box-shadow: var(--shadow-md); border-color: transparent; }
.card-ssws:hover::before { transform: scaleX(1); }
.card-ssws .icon-box {
  width: 68px; height: 68px;
  border-radius: 18px;
  background: rgba(254,0,0,0.08);
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem;
  margin-bottom: 22px;
  transition: var(--transition);
}
.card-ssws:hover .icon-box { background: var(--gradient); color: #fff; transform: rotateY(360deg); }
.card-ssws h4 { font-size: 1.25rem; margin-bottom: 12px; }
.card-ssws p { color: var(--gray); margin-bottom: 0; }

/* Focus area small card */
.focus-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 20px;
  text-align: center;
  height: 100%;
  transition: var(--transition);
}
.focus-card i {
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 14px;
  transition: var(--transition);
}
.focus-card h5 { font-size: 1.05rem; margin-bottom: 6px; }
.focus-card p { color: var(--gray); font-size: 0.9rem; margin-bottom: 0; }
.focus-card:hover { background: var(--gradient); transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.focus-card:hover i,
.focus-card:hover h5,
.focus-card:hover p { color: #fff; }

/* ---------- 11. About Section ---------- */
.about-img-wrap { position: relative; }
.about-img-wrap img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.about-experience-badge {
  position: absolute;
  bottom: -24px; right: -24px;
  background: var(--gradient);
  color: #fff;
  border-radius: var(--radius);
  padding: 22px 26px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.about-experience-badge .num { font-size: 2.4rem; font-weight: 800; font-family: var(--font-head); line-height: 1; }
.about-experience-badge .lbl { font-size: 0.82rem; opacity: 0.95; }
.about-list li {
  list-style: none;
  padding-left: 34px;
  position: relative;
  margin-bottom: 12px;
  font-weight: 500;
}
.about-list li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute; left: 0; top: 2px;
  color: var(--primary);
}

/* ---------- 12. Stats / Counter ---------- */
.stats-section {
  background: var(--gradient-dark);
  color: #fff;
  padding: 70px 0;
}
.stat-item { text-align: center; }
.stat-item .stat-num { font-size: 3rem; font-weight: 800; font-family: var(--font-head); }
.stat-item .stat-label { font-size: 1rem; opacity: 0.92; letter-spacing: 0.5px; }
.stat-item i { font-size: 2.4rem; margin-bottom: 8px; opacity: 0.9; }

/* ---------- 13. Vision / Mission ---------- */
.vm-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 44px 36px;
  height: 100%;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  position: relative;
  transition: var(--transition);
}
.vm-card:hover { box-shadow: var(--shadow-md); transform: translateY(-6px); }
.vm-card .vm-icon {
  width: 80px; height: 80px;
  border-radius: 20px;
  background: var(--gradient);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
  margin-bottom: 24px;
  box-shadow: var(--shadow-lg);
}
.vm-card h3 { font-size: 1.6rem; margin-bottom: 14px; }
.vm-card p { color: var(--gray); font-size: 1.05rem; }

/* ---------- 14. Testimonials ---------- */
.testimonial-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  height: 100%;
  margin: 10px;
}
.testimonial-card .quote-icon { font-size: 2.2rem; color: var(--primary); opacity: 0.25; }
.testimonial-card p { color: #444; font-style: italic; margin: 14px 0 20px; }
.testimonial-card .author { display: flex; align-items: center; gap: 14px; }
.testimonial-card .author img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; }
.testimonial-card .author .name { font-weight: 700; font-family: var(--font-head); }
.testimonial-card .author .role { color: var(--gray); font-size: 0.85rem; }
.testimonial-card .stars { color: #ffb400; margin-bottom: 4px; }

/* ---------- 15. CTA ---------- */
.cta-section {
  background:
    linear-gradient(135deg, rgba(198,0,0,0.94), rgba(254,0,0,0.88)),
    url('../images/cta-bg.svg') center/cover fixed;
  color: #fff;
  padding: 80px 0;
  text-align: center;
}
.cta-section h2 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; }
.cta-section p { color: rgba(255,255,255,0.92); font-size: 1.1rem; max-width: 620px; margin: 14px auto 30px; }

/* ---------- 16. Gallery ---------- */
.gallery-filter { margin-bottom: 36px; }
.gallery-filter .filter-btn {
  background: transparent;
  border: 2px solid var(--border);
  color: var(--dark);
  border-radius: 50px;
  padding: 8px 24px;
  margin: 4px;
  font-weight: 600;
  transition: var(--transition);
}
.gallery-filter .filter-btn.active,
.gallery-filter .filter-btn:hover { background: var(--gradient); color: #fff; border-color: transparent; }
.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}
.gallery-item img { width: 100%; height: 260px; object-fit: cover; transition: var(--transition); }
.gallery-item .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(198,0,0,0.85), transparent);
  opacity: 0;
  display: flex; align-items: flex-end;
  padding: 22px;
  transition: var(--transition);
}
.gallery-item .overlay .zoom-ico {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0.5);
  width: 56px; height: 56px;
  background: #fff; color: var(--primary);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  transition: var(--transition);
}
.gallery-item .overlay .cap { color: #fff; font-weight: 600; }
.gallery-item:hover img { transform: scale(1.1); }
.gallery-item:hover .overlay { opacity: 1; }
.gallery-item:hover .overlay .zoom-ico { transform: translate(-50%, -50%) scale(1); }

/* ---------- 17. Video Gallery ---------- */
.video-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: #fff;
  border: 1px solid var(--border);
  transition: var(--transition);
  height: 100%;
}
.video-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.video-thumb { position: relative; cursor: pointer; }
.video-thumb img { width: 100%; height: 220px; object-fit: cover; }
.video-thumb .play-btn {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 64px; height: 64px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
}
.video-thumb:hover .play-btn { transform: translate(-50%, -50%) scale(1.15); }
.video-thumb::after {
  content: ""; position: absolute; inset: 0;
  background: rgba(0,0,0,0.25); transition: var(--transition);
}
.video-thumb:hover::after { background: rgba(0,0,0,0.4); }
.video-card .video-info { padding: 20px; }
.video-card .video-info h5 { font-size: 1.1rem; margin-bottom: 6px; }
.video-card .video-info p { color: var(--gray); font-size: 0.88rem; margin: 0; }

/* ---------- 18. Contact ---------- */
.contact-info-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  height: 100%;
  transition: var(--transition);
  text-align: center;
}
.contact-info-card:hover { box-shadow: var(--shadow-md); transform: translateY(-6px); }
.contact-info-card .ci-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
  font-size: 1.5rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
}
.contact-info-card h5 { margin-bottom: 8px; }
.contact-info-card p, .contact-info-card a { color: var(--gray); margin: 0; }
.contact-info-card a:hover { color: var(--primary); }
.form-control, .form-select {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
}
.form-control:focus, .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.2rem rgba(254,0,0,0.12);
}
.contact-form-wrap {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

/* Donation specific */
.donation-card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  border-top: 6px solid var(--primary);
}
.donation-card .card-head { background: var(--gradient); color: #fff; padding: 24px 30px; }
.bank-row {
  display: flex; justify-content: space-between;
  padding: 14px 0; border-bottom: 1px dashed var(--border);
}
.bank-row:last-child { border-bottom: none; }
.bank-row .label { color: var(--gray); font-weight: 500; }
.bank-row .value { font-weight: 700; color: var(--dark); text-align: right; }

/* Legal list */
.legal-item {
  background: #fff;
  border: 1px solid var(--border);
  border-left: 5px solid var(--primary);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin-bottom: 20px;
  display: flex; gap: 18px; align-items: flex-start;
  transition: var(--transition);
}
.legal-item:hover { box-shadow: var(--shadow-md); transform: translateX(6px); }
.legal-item .legal-ico {
  width: 52px; height: 52px; flex-shrink: 0;
  border-radius: 12px; background: rgba(254,0,0,0.08); color: var(--primary);
  display: flex; align-items: center; justify-content: center; font-size: 1.3rem;
}

/* ---------- 19. Footer ---------- */
.footer {
  background: #141414;
  color: #b9b9c3;
  padding: 70px 0 0;
}
.footer h5 { color: #fff; margin-bottom: 22px; font-size: 1.15rem; position: relative; padding-bottom: 12px; }
.footer h5::after { content: ""; position: absolute; left: 0; bottom: 0; width: 40px; height: 3px; background: var(--primary); border-radius: 3px; }
.footer a { color: #b9b9c3; }
.footer a:hover { color: var(--primary); padding-left: 5px; }
.footer .footer-links li { list-style: none; margin-bottom: 10px; }
.footer .footer-links li a::before { content: "\f105"; font-family: "Font Awesome 6 Free"; font-weight: 900; margin-right: 8px; color: var(--primary); }
.footer .footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer .footer-brand .logo-badge {
  width: 50px; height: 50px; border-radius: 50%;
  background: var(--gradient); color: #fff; font-weight: 700; font-size: 1.3rem;
  display: flex; align-items: center; justify-content: center;
}
.footer .footer-brand .name { color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; }
.footer .contact-line { display: flex; gap: 12px; margin-bottom: 14px; }
.footer .contact-line i { color: var(--primary); margin-top: 4px; }
.footer .footer-social a {
  display: inline-flex; width: 40px; height: 40px;
  align-items: center; justify-content: center;
  border-radius: 50%; background: rgba(255,255,255,0.08); color: #fff; margin-right: 8px;
}
.footer .footer-social a:hover { background: var(--primary); transform: translateY(-4px); padding-left: 0; }
.footer .newsletter input { border-radius: 50px 0 0 50px; border: none; padding: 11px 18px; }
.footer .newsletter button { border-radius: 0 50px 50px 0; background: var(--primary); color: #fff; border: none; padding: 0 20px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); margin-top: 50px; padding: 22px 0; font-size: 0.9rem; }
.footer-bottom a { color: var(--primary); }

/* ---------- 20. Scroll To Top ---------- */
#scrollTop {
  position: fixed;
  bottom: 30px; right: 30px;
  width: 48px; height: 48px;
  background: var(--gradient);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  opacity: 0; visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition);
  z-index: 999;
  box-shadow: var(--shadow-lg);
}
#scrollTop.show { opacity: 1; visibility: visible; transform: translateY(0); }
#scrollTop:hover { transform: translateY(-4px); }

/* WhatsApp float */
.whatsapp-float {
  position: fixed;
  bottom: 30px; left: 30px;
  width: 54px; height: 54px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  z-index: 999;
  box-shadow: var(--shadow-lg);
  animation: pulse 2s infinite;
}
.whatsapp-float:hover { color: #fff; transform: scale(1.1); }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.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); }
}

/* ---------- 21. Utility / Responsive ---------- */
.divider-line { width: 70px; height: 4px; background: var(--gradient); border-radius: 4px; margin: 18px 0; }
.text-center .divider-line { margin-left: auto; margin-right: auto; }

@media (max-width: 991.98px) {
  .section-pad { padding: 60px 0; }
  .about-experience-badge { bottom: 16px; right: 16px; padding: 16px 18px; }
  .about-experience-badge .num { font-size: 1.8rem; }
}
@media (max-width: 575.98px) {
  .contact-form-wrap { padding: 26px; }
  .vm-card { padding: 32px 24px; }
  .whatsapp-float { width: 48px; height: 48px; font-size: 1.4rem; }
}

/* AOS-like simple fade (fallback if AOS not loaded) */
[data-aos] { transition-property: transform, opacity; }


/* ---------- 22. Lightbox ---------- */
#lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 0, 0, 0.92);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 30px;
}
#lightbox.open { display: flex; animation: lbFade 0.3s ease; }
@keyframes lbFade { from { opacity: 0; } to { opacity: 1; } }
#lightbox .lb-content { text-align: center; max-width: 90vw; max-height: 90vh; }
#lightbox img { max-width: 100%; max-height: 80vh; border-radius: var(--radius); box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
#lightbox .lb-caption { color: #fff; margin-top: 16px; font-weight: 600; font-size: 1.1rem; }
#lightbox .lb-close {
  position: absolute;
  top: 24px; right: 30px;
  width: 48px; height: 48px;
  background: var(--primary);
  color: #fff; border: none; border-radius: 50%;
  font-size: 1.3rem; cursor: pointer;
  transition: var(--transition);
}
#lightbox .lb-close:hover { transform: rotate(90deg); background: var(--primary-dark); }
