/* CyberShelter professional theme layer (v1). Loaded after all site CSS; overrides look only, no content. */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  --cs-bg: #061113;
  --cs-bg-2: #0a1a1d;
  --cs-surface: rgba(255, 255, 255, .035);
  --cs-surface-2: rgba(255, 255, 255, .06);
  --cs-border: rgba(255, 255, 255, .09);
  --cs-border-strong: rgba(30, 200, 230, .45);
  --cs-teal: #1ec8e6;
  --cs-green: #a8dd7c;
  --cs-grad: linear-gradient(90deg, #1ec8e6 0%, #a8dd7c 100%);
  --cs-text: #eaf4f5;
  --cs-muted: rgba(234, 244, 245, .68);
  --cs-radius: 20px;
  --cs-shadow: 0 24px 60px -28px rgba(0, 0, 0, .75);
  --cs-glow: 0 22px 50px -24px rgba(30, 200, 230, .55);
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }
body {
  background:
    radial-gradient(1100px 600px at 85% -10%, rgba(30, 200, 230, .10), transparent 60%),
    radial-gradient(900px 600px at -10% 40%, rgba(168, 221, 124, .06), transparent 60%),
    linear-gradient(180deg, var(--cs-bg) 0%, var(--cs-bg-2) 100%) !important;
  background-attachment: fixed !important;
  color: var(--cs-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
body p, body li, body .event-card-grid__description, body .footer-widget__info, body .footer-widget__links {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif !important;
}
::selection { background: rgba(30, 200, 230, .35); color: #fff; }
a, button { transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
:focus-visible { outline: 2px solid var(--cs-teal) !important; outline-offset: 3px; border-radius: 6px; }

/* Scrollbar */
html::-webkit-scrollbar { width: 10px; }
html::-webkit-scrollbar-track { background: #050d0f; }
html::-webkit-scrollbar-thumb { background: linear-gradient(180deg, #1ec8e6, #a8dd7c); border-radius: 10px; border: 2px solid #050d0f; }

/* Scroll progress bar (element added by cs-theme.js) */
.cs-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 2000; background: var(--cs-grad); box-shadow: 0 0 12px rgba(30, 200, 230, .7); }

/* ---------- Header ---------- */
html body .site-header {
  height: 84px !important;
  background: rgba(6, 17, 19, .72) !important;
  backdrop-filter: saturate(160%) blur(16px) !important;
  -webkit-backdrop-filter: saturate(160%) blur(16px) !important;
  border-bottom: 1px solid var(--cs-border) !important;
  box-shadow: none !important;
}
html body .site-header.cs-scrolled {
  height: 70px !important;
  background: rgba(6, 17, 19, .9) !important;
  box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .6) !important;
}
html body .site-header .main-bar { height: 100%; }
html body .site-header .logo-header img { transition: height .25s ease; }
html body .site-header.cs-scrolled .logo-header img { height: 46px !important; width: auto !important; }

html body .desktop-nav .nav-link {
  font-weight: 600 !important;
  letter-spacing: .01em;
  white-space: nowrap !important;
  color: rgba(234, 244, 245, .86) !important;
  background-image: linear-gradient(90deg, #1ec8e6, #a8dd7c);
  background-repeat: no-repeat;
  background-position: 50% 100%;
  background-size: 0 2px;
  transition: background-size .25s ease, color .2s ease;
}
html body .desktop-nav .nav-link:hover,
html body .desktop-nav .nav-link.cs-active { color: #fff !important; background-size: 70% 2px; }

/* Dropdowns */
html body .desktop-nav .dropdown,
html body .desktop-nav .submenu,
html body .desktop-nav .dropdown-menu,
html body .desktop-nav .dropdown-submenu .submenu {
  background: #0a1b1e !important;
  backdrop-filter: blur(14px);
  border: 1px solid var(--cs-border) !important;
  border-radius: 14px !important;
  box-shadow: var(--cs-shadow) !important;
  padding: 8px !important;
}
html body .desktop-nav .dropdown-item {
  border-radius: 10px !important;
  color: rgba(234, 244, 245, .85) !important;
  font-weight: 500;
}
html body .desktop-nav .dropdown-item {
  border-bottom: 1px solid rgba(255, 255, 255, .08) !important;
  -webkit-text-fill-color: currentColor !important;
  background-clip: border-box !important;
  -webkit-background-clip: border-box !important;
}
html body .desktop-nav .dropdown-item:last-child { border-bottom: 0 !important; }
html body .desktop-nav .dropdown-item:hover,
html body .desktop-nav .dropdown-item:focus {
  background: rgba(30, 200, 230, .14) !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  transform: translateX(4px);
}

/* Header CTA: the existing Contact link is styled as a button (class added by cs-theme.js) */
html body .desktop-nav .nav-link.cs-nav-cta {
  padding: 10px 22px !important; border-radius: 999px !important;
  background: var(--cs-grad) !important; background-size: 100% 100% !important;
  color: #06201f !important; font-weight: 700 !important;
  box-shadow: 0 10px 26px -12px rgba(30, 200, 230, .8);
}
html body .desktop-nav .nav-link.cs-nav-cta:hover { transform: translateY(-2px); color: #06201f !important; box-shadow: 0 14px 30px -10px rgba(30, 200, 230, .95); }

/* ---------- Inner page heading ---------- */
html body .inner-heading {
  position: relative;
  margin-top: 84px !important;
  padding: 90px 0 70px !important;
  overflow: hidden;
  border-bottom: 1px solid var(--cs-border);
  background:
    radial-gradient(700px 260px at 50% 0%, rgba(30, 200, 230, .16), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, .02), transparent);
}
html body .inner-heading::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .35;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
          mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}
html body .inner-heading .container { position: relative; }
html body .inner-heading h6 {
  display: inline-block;
  padding: 7px 16px; border-radius: 999px;
  border: 1px solid rgba(168, 221, 124, .45);
  background: rgba(168, 221, 124, .08);
  color: var(--cs-green) !important;
  font-size: 12px !important; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  margin-bottom: 18px !important;
}
html body .inner-heading h1,
html body .inner-heading h2 {
  font-size: clamp(32px, 4.4vw, 54px) !important;
  line-height: 1.1 !important;
  font-weight: 800 !important;
  letter-spacing: -.02em;
  background: linear-gradient(90deg, #ffffff 0%, #d7f6fb 45%, #a8dd7c 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent !important;
  margin: 0 !important;
}
html body .inner-heading h1::after,
html body .inner-heading h2::after {
  content: ""; display: block; width: 72px; height: 3px; border-radius: 3px;
  margin: 22px auto 0; background: var(--cs-grad);
}

/* ---------- Service cards ---------- */
html body .events-page { padding-top: 70px !important; }
html body .event-card-grid {
  border-radius: var(--cs-radius) !important;
  overflow: hidden;
  background: linear-gradient(165deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .015)) !important;
  border: 1px solid var(--cs-border) !important;
  box-shadow: var(--cs-shadow);
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
  height: 100%;
}
html body .event-card-grid:hover {
  transform: translateY(-6px);
  border-color: var(--cs-border-strong) !important;
  box-shadow: var(--cs-glow);
}
html body .event-card-grid__image { overflow: hidden; display: block; }
html body .event-card-grid__image img { transition: transform .8s cubic-bezier(.2, .7, .2, 1); width: 100%; object-fit: cover; }
html body .event-card-grid:hover .event-card-grid__image img { transform: scale(1.06); }
html body .event-card-grid__content { padding: 28px 28px 30px !important; border: 0 !important; background: transparent !important; }
html body .event-card-grid__title,
html body .event-card-grid__title a {
  color: #fff !important;
  font-size: 22px !important; font-weight: 700 !important; letter-spacing: -.01em;
}
html body .event-card-grid__title { position: relative; padding-left: 16px; }
html body .event-card-grid__title::before {
  content: ""; position: absolute; left: 0; top: .2em; bottom: .2em; width: 4px; border-radius: 4px; background: var(--cs-grad);
}
html body .event-card-grid:hover .event-card-grid__title a { color: var(--cs-green) !important; }
html body .event-card-grid__description { color: var(--cs-muted) !important; font-size: 15.5px !important; line-height: 1.7 !important; }

/* Generic cards on other pages */
html body .donation-card, html body .team-single, html body .events-gallery__item {
  border-radius: var(--cs-radius) !important;
  overflow: hidden;
  transition: transform .35s ease, box-shadow .35s ease;
}
html body .donation-card:hover, html body .team-single:hover { transform: translateY(-6px); box-shadow: var(--cs-glow); }

/* ---------- Section titles ---------- */
html body .sec-title__tagline {
  color: var(--cs-green) !important; letter-spacing: .16em !important; font-weight: 700 !important;
}
html body .sec-title__title { letter-spacing: -.02em; }

/* ---------- Buttons ---------- */
html body .btn-primary,
html body button[type="submit"]:not(.cleenhearts-btn),
html body input[type="submit"] {
  background: var(--cs-grad) !important;
  border: 0 !important;
  border-radius: 999px !important;
  color: #06201f !important;
  font-weight: 700 !important;
  padding: 12px 26px !important;
  box-shadow: 0 12px 28px -14px rgba(30, 200, 230, .85);
}
html body .btn-primary:hover,
html body button[type="submit"]:not(.cleenhearts-btn):hover,
html body input[type="submit"]:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -12px rgba(30, 200, 230, .95); }


/* Site buttons with white text (e.g. Read more): dark glass + gradient border, text stays white */
html body .cleenhearts-btn {
  border-radius: 999px !important;
  background: linear-gradient(#0b1d20, #0b1d20) padding-box, var(--cs-grad) border-box !important;
  border: 1.5px solid transparent !important;
  box-shadow: 0 10px 26px -14px rgba(30, 200, 230, .8);
}
html body .cleenhearts-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(30, 200, 230, .95); }

/* Forms */
html body input.form-control, html body textarea.form-control, html body select.form-control,
html body .contact-form input, html body .contact-form textarea {
  background: rgba(255, 255, 255, .04) !important;
  border: 1px solid var(--cs-border) !important;
  border-radius: 12px !important;
  color: #fff !important;
}
html body input.form-control:focus, html body textarea.form-control:focus {
  border-color: var(--cs-teal) !important;
  box-shadow: 0 0 0 4px rgba(30, 200, 230, .15) !important;
}

/* ---------- Footer ---------- */
html body .main-footer {
  position: relative;
  background: linear-gradient(180deg, rgba(6, 17, 19, 0) 0%, #040c0e 30%) !important;
  border-top: 1px solid var(--cs-border);
}
html body .main-footer::before {
  content: ""; position: absolute; top: -1px; left: 10%; right: 10%; height: 1px; background: var(--cs-grad); opacity: .7;
}
html body .main-footer__top { padding-top: 80px !important; padding-bottom: 50px !important; }
html body .footer-widget__title {
  color: #fff !important; font-weight: 700 !important; letter-spacing: .01em;
}
html body .footer-widget__links a, html body .footer-widget__info a, html body .footer-widget__info li {
  color: rgba(234, 244, 245, .72) !important;
}
html body .footer-widget__links a:hover, html body .footer-widget__info a:hover { color: var(--cs-teal) !important; padding-left: 4px; }
html body .social-link-two a, html body .about-info-two__social a {
  border-radius: 50% !important;
  border: 1px solid var(--cs-border) !important;
  background: rgba(255, 255, 255, .04) !important;
}
html body .social-link-two a:hover, html body .about-info-two__social a:hover {
  background: var(--cs-grad) !important; color: #06201f !important; border-color: transparent !important; transform: translateY(-3px);
}
html body .footer-three__bottom { border-top: 1px solid var(--cs-border) !important; }
html body .footer-three__copyright { color: rgba(234, 244, 245, .5) !important; font-size: 13px !important; letter-spacing: .02em; }

/* Floating buttons */
html body .scroll-to-top { border-radius: 50% !important; }
html body .whatsapp-icon, html body .call-icon { box-shadow: 0 12px 26px -10px rgba(0, 0, 0, .6) !important; }

/* ---------- Reveal on scroll (classes added by cs-theme.js) ---------- */
.cs-reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.cs-reveal.cs-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .cs-reveal { opacity: 1 !important; transform: none !important; }
  html body .event-card-grid, html body .event-card-grid__image img { transition: none !important; }
}

/* ---------- Mobile ---------- */
@media (max-width: 991px) {
  html body .site-header { height: 70px !important; }
  html body .inner-heading { margin-top: 70px !important; padding: 60px 16px 46px !important; }
  html body .events-page { padding-top: 40px !important; }
  html body .event-card-grid__content { padding: 22px !important; }
  html body .event-card-grid__title, html body .event-card-grid__title a { font-size: 19px !important; }
  html body .main-footer__top { padding-top: 56px !important; }
}

/* Mobile menu: keep hovered/tapped items readable */
html body .mobile-dropdown-item, html body .mobile-nav-link { -webkit-text-fill-color: currentColor !important; }
html body .mobile-dropdown-item:hover, html body .mobile-nav-link:hover { -webkit-text-fill-color: #a8dd7c !important; color: #a8dd7c !important; background-clip: border-box !important; -webkit-background-clip: border-box !important; }
