/* =========================================================
   CAUVERY NEXUS TECH CLUB — Global Stylesheet
   Modern university / developer community aesthetic
   ========================================================= */

/* ---------- CSS Variables ---------- */
:root {
  --c-primary: #0F172A;
  --c-secondary: #2563EB;
  --c-accent: #06B6D4;
  --c-success: #10B981;
  --c-bg: #F8FAFC;
  --c-dark: #111827;

  --c-text: #0F172A;
  --c-text-soft: #475569;
  --c-muted: #64748B;
  --c-border: rgba(15, 23, 42, 0.08);
  --c-surface: #ffffff;
  --c-surface-2: #F1F5F9;

  --c-glass-bg: rgba(255, 255, 255, 0.55);
  --c-glass-border: rgba(255, 255, 255, 0.65);
  --c-glass-shadow: 0 12px 40px rgba(15, 23, 42, 0.10);

  --grad-hero: radial-gradient(1200px 800px at 10% -10%, rgba(37,99,235,0.35), transparent 60%),
               radial-gradient(900px 700px at 100% 10%, rgba(6,182,212,0.28), transparent 60%),
               linear-gradient(180deg, #0B1224 0%, #0F172A 55%, #111827 100%);
  --grad-btn: linear-gradient(135deg, #2563EB 0%, #06B6D4 100%);
  --grad-btn-hover: linear-gradient(135deg, #1D4ED8 0%, #0891B2 100%);
  --grad-accent: linear-gradient(135deg, #06B6D4 0%, #10B981 100%);
  --grad-text: linear-gradient(135deg, #2563EB, #06B6D4);

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --shadow-sm: 0 2px 6px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 10px 30px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 30px 80px rgba(15, 23, 42, 0.15);
  --shadow-glow: 0 0 40px rgba(37, 99, 235, 0.35);

  --header-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Dark theme */
[data-theme="dark"] {
  --c-text: #E5E7EB;
  --c-text-soft: #94A3B8;
  --c-muted: #94A3B8;
  --c-border: rgba(255, 255, 255, 0.08);
  --c-surface: #0F172A;
  --c-surface-2: #111827;
  --c-bg: #0B1224;

  --c-glass-bg: rgba(255, 255, 255, 0.05);
  --c-glass-border: rgba(255, 255, 255, 0.10);
  --c-glass-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Poppins', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
h1,h2,h3,h4,h5,h6 { font-family: 'Space Grotesk', 'Poppins', sans-serif; color: var(--c-text); letter-spacing: -0.02em; margin: 0 0 .6em; line-height: 1.15; }
p { margin: 0 0 1em; color: var(--c-text-soft); }
::selection { background: rgba(37,99,235,.25); color: var(--c-text); }

/* ---------- Container ---------- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-wide { max-width: 1360px; margin: 0 auto; padding: 0 24px; }

/* ---------- Utility ---------- */
.text-grad { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section { padding: 96px 0; position: relative; }
.section-alt { background: var(--c-surface-2); }
.section-dark { background: var(--c-primary); color: #E5E7EB; }
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: #F8FAFC; }
.section-dark p { color: #CBD5E1; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Space Grotesk', sans-serif;
  text-transform: uppercase; letter-spacing: .18em; font-size: 12px; font-weight: 600;
  padding: 6px 14px; border-radius: 999px;
  color: var(--c-secondary);
  background: rgba(37,99,235,.08);
  border: 1px solid rgba(37,99,235,.18);
}
.section-dark .eyebrow { background: rgba(6,182,212,.10); border-color: rgba(6,182,212,.35); color: #67E8F9; }
.section-title { font-size: clamp(2rem, 3.2vw, 2.8rem); margin-top: 14px; }
.section-lead { max-width: 680px; color: var(--c-text-soft); font-size: 1.05rem; }
.section-head { text-align: center; margin-bottom: 56px; }
.section-head .section-lead { margin: 0 auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px;
  font-weight: 600; font-family: 'Space Grotesk', sans-serif; letter-spacing: .01em;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s var(--ease), color .35s var(--ease);
  will-change: transform;
  position: relative; overflow: hidden;
}
.btn-primary { background: var(--grad-btn); color: #fff; box-shadow: var(--shadow-glow); }
.btn-primary:hover { transform: translateY(-2px); background: var(--grad-btn-hover); box-shadow: 0 0 60px rgba(6,182,212,.45); }
.btn-ghost { background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(10px); }
.btn-ghost:hover { background: rgba(255,255,255,.16); transform: translateY(-2px); }
.btn-outline { border: 1.5px solid var(--c-border); color: var(--c-text); background: var(--c-surface); }
.btn-outline:hover { border-color: var(--c-secondary); color: var(--c-secondary); transform: translateY(-2px); }
.btn-lg { padding: 18px 36px; font-size: 1.05rem; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background .4s var(--ease), box-shadow .4s var(--ease), backdrop-filter .4s var(--ease);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.nav.transparent { background: transparent; }
.nav.scrolled {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  box-shadow: 0 8px 30px rgba(15,23,42,.06);
  border-bottom: 1px solid var(--c-border);
}
[data-theme="dark"] .nav.scrolled { background: rgba(11, 18, 36, 0.85); border-bottom-color: rgba(255,255,255,.08); }

.brand { display: flex; align-items: center; gap: 12px; font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 1.05rem; color: var(--c-text); }
.brand-mark {
  width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--grad-btn); color: #fff; font-weight: 700; font-size: 15px;
  box-shadow: var(--shadow-glow);
  letter-spacing: -.02em;
}
.nav.transparent .brand { color: #fff; }

.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  padding: 10px 16px; border-radius: 10px; font-weight: 500; font-size: .95rem;
  color: var(--c-text-soft); transition: color .25s, background .25s;
  position: relative;
}
.nav.transparent .nav-links a { color: rgba(255,255,255,.85); }
.nav-links a:hover { color: var(--c-secondary); }
.nav.transparent .nav-links a:hover { color: #7DD3FC; }
.nav-links a.active { color: var(--c-secondary); }
.nav.transparent .nav-links a.active { color: #7DD3FC; }
.nav-links a.active::after {
  content: ''; position: absolute; bottom: 2px; left: 16px; right: 16px; height: 2px;
  background: var(--grad-text); border-radius: 2px;
}

.nav-cta { display: flex; align-items: center; gap: 10px; }
.icon-btn {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: transparent; color: var(--c-text-soft);
  border: 1px solid var(--c-border);
  transition: background .25s, color .25s, transform .25s;
}
.icon-btn:hover { color: var(--c-secondary); transform: translateY(-2px); }
.nav.transparent .icon-btn { color: #fff; border-color: rgba(255,255,255,.25); }
.nav.transparent .icon-btn:hover { color: #7DD3FC; }

.menu-toggle { display: none; }
@media (max-width: 900px) {
  .nav-links, .nav-cta .btn { display: none; }
  .menu-toggle { display: grid; }
}

.mobile-menu {
  position: fixed; top: var(--header-h); left: 0; right: 0;
  background: var(--c-surface);
  border-bottom: 1px solid var(--c-border);
  padding: 24px;
  transform: translateY(-120%);
  transition: transform .4s var(--ease);
  z-index: 99;
  box-shadow: var(--shadow-md);
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.mobile-menu a { display: block; padding: 14px 16px; border-radius: 12px; font-weight: 500; color: var(--c-text); }
.mobile-menu a:hover, .mobile-menu a.active { background: var(--c-surface-2); color: var(--c-secondary); }

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh; padding: calc(var(--header-h) + 40px) 0 60px;
  position: relative; color: #fff; overflow: hidden;
  background: var(--grad-hero);
  display: flex; align-items: center;
}
.hero-grid-bg {
  position: absolute; inset: 0;
  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: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  pointer-events: none;
}
.particles { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.particles canvas { display: block; }

.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr .85fr; gap: 60px; align-items: center; }
@media (max-width: 960px) { .hero-inner { grid-template-columns: 1fr; gap: 40px; } }

.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px; border-radius: 999px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
  color: #E0F2FE; font-size: 13px; font-weight: 500;
  backdrop-filter: blur(10px); margin-bottom: 24px;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #10B981; box-shadow: 0 0 12px #10B981; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.5} }

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 1.05;
  color: #fff;
  margin: 0 0 20px;
}
.hero h1 .accent { background: linear-gradient(135deg, #67E8F9, #A5B4FC 55%, #F0ABFC); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .subtitle { font-size: 1.15rem; color: rgba(255,255,255,.72); margin-bottom: 12px; }
.hero .location { font-size: .95rem; color: rgba(255,255,255,.55); margin-bottom: 22px; }
.hero .tagline {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.15rem;
  color: #7DD3FC;
  font-style: italic;
  margin-bottom: 30px;
  min-height: 32px;
}
.hero .cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; }

.hero-visual {
  position: relative; height: 500px;
  display: grid; place-items: center;
}
.code-card {
  width: 100%; max-width: 460px;
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 20px;
  backdrop-filter: blur(20px);
  box-shadow: 0 40px 100px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.06);
  overflow: hidden;
  animation: floaty 6s ease-in-out infinite;
}
.code-head { display: flex; align-items: center; gap: 8px; padding: 14px 18px; border-bottom: 1px solid rgba(255,255,255,.08); }
.code-head .dot-r { width: 12px; height: 12px; border-radius: 50%; background: #EF4444; }
.code-head .dot-y { width: 12px; height: 12px; border-radius: 50%; background: #F59E0B; }
.code-head .dot-g { width: 12px; height: 12px; border-radius: 50%; background: #10B981; }
.code-head .file { margin-left: 12px; font-family: 'JetBrains Mono', 'Fira Code', monospace; font-size: 12px; color: rgba(255,255,255,.55); }
.code-body { padding: 22px 22px 24px; font-family: 'JetBrains Mono', 'Fira Code', monospace; font-size: 13.5px; line-height: 1.75; color: #E2E8F0; }
.code-body .k { color: #C084FC; }
.code-body .s { color: #86EFAC; }
.code-body .c { color: #64748B; font-style: italic; }
.code-body .f { color: #7DD3FC; }
.code-body .n { color: #FDBA74; }
.code-body .p { color: #F0ABFC; }

.floating-shape { position: absolute; border-radius: 24px; opacity: .8; }
.fs-1 { width: 110px; height: 110px; top: 8%; right: 8%; background: linear-gradient(135deg,#06B6D4,#2563EB); animation: floaty 7s ease-in-out infinite; }
.fs-2 { width: 70px; height: 70px; bottom: 12%; left: 4%; background: linear-gradient(135deg,#F0ABFC,#7DD3FC); animation: floaty 9s ease-in-out infinite reverse; }
.fs-3 { width: 40px; height: 40px; top: 42%; left: -8%; background: linear-gradient(135deg,#10B981,#06B6D4); animation: floaty 5s ease-in-out infinite; border-radius: 12px; }
@keyframes floaty { 0%,100%{transform:translateY(0) rotate(0)} 50%{transform:translateY(-16px) rotate(4deg)} }

.hero-scroll { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.5); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; z-index: 2; }
.hero-scroll::after { content: ''; display: block; width: 1px; height: 40px; background: linear-gradient(180deg, rgba(255,255,255,.5), transparent); margin: 10px auto 0; }

/* ---------- Sub-header (interior pages) ---------- */
.subhero {
  padding: calc(var(--header-h) + 80px) 0 80px;
  background: var(--grad-hero);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.subhero .grid-bg { position: absolute; inset: 0; opacity: .5;
  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: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}
.subhero .container { position: relative; z-index: 1; }
.subhero h1 { color: #fff; font-size: clamp(2.2rem, 4vw, 3.5rem); margin: 12px 0; }
.subhero .crumbs { color: rgba(255,255,255,.65); font-size: 14px; }
.subhero .crumbs a { color: #7DD3FC; }
.subhero p.lead { color: rgba(255,255,255,.75); max-width: 680px; font-size: 1.1rem; }

/* ---------- Glass Card ---------- */
.glass {
  background: var(--c-glass-bg);
  border: 1px solid var(--c-glass-border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius-lg);
  box-shadow: var(--c-glass-shadow);
}
.card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(37,99,235,.25); }

/* ---------- About Cards Grid ---------- */
.about-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.about-card { padding: 30px; }
.about-card .icon {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(37,99,235,.12), rgba(6,182,212,.12));
  color: var(--c-secondary); font-size: 22px; margin-bottom: 18px;
  border: 1px solid rgba(37,99,235,.15);
}
.about-card h3 { font-size: 1.15rem; }

/* ---------- Vision / Mission ---------- */
.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
@media (max-width: 820px) { .vm-grid { grid-template-columns: 1fr; } }
.vm-card { padding: 40px; position: relative; overflow: hidden; }
.vm-card::before {
  content: ''; position: absolute; top: -60px; right: -60px; width: 220px; height: 220px; border-radius: 50%;
  background: var(--grad-accent); opacity: .10; filter: blur(20px);
}
.vm-card h3 { font-size: 1.6rem; display: flex; align-items: center; gap: 12px; }
.vm-card h3 .ic { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: var(--grad-btn); color: #fff; font-size: 18px; }
.vm-card ul { list-style: none; padding: 0; margin: 16px 0 0; }
.vm-card ul li { display: flex; gap: 12px; padding: 10px 0; color: var(--c-text-soft); }
.vm-card ul li i { color: var(--c-success); margin-top: 4px; }

/* ---------- Feature Grid (Why Join) ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; }
.feature-card {
  padding: 26px; text-align: left;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  transition: all .4s var(--ease);
  position: relative; overflow: hidden;
}
.feature-card::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(135deg, rgba(37,99,235,.05), rgba(6,182,212,.05));
  opacity: 0; transition: opacity .4s;
}
.feature-card:hover { transform: translateY(-4px); border-color: rgba(37,99,235,.35); box-shadow: var(--shadow-md); }
.feature-card:hover::before { opacity: 1; }
.feature-card .icn {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(37,99,235,.1), rgba(6,182,212,.1));
  color: var(--c-secondary); font-size: 20px; margin-bottom: 16px;
  position: relative; z-index: 1;
}
.feature-card h4 { font-size: 1.05rem; margin-bottom: 6px; position: relative; z-index: 1; }
.feature-card p { font-size: .9rem; margin: 0; color: var(--c-text-soft); position: relative; z-index: 1; }

/* ---------- Tech Grid ---------- */
.tech-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 16px; }
.tech-item {
  padding: 22px 16px; text-align: center;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.tech-item:hover { transform: translateY(-6px) scale(1.03); box-shadow: var(--shadow-md); border-color: rgba(37,99,235,.3); }
.tech-item i { font-size: 40px; margin-bottom: 10px; display: block; }
.tech-item span { font-size: .88rem; font-weight: 500; color: var(--c-text); }

/* Devicon colors preserved by original icons. Fallback colors for FA icons: */
.tech-c { color: #A8B9CC; }
.tech-cpp { color: #00599C; }
.tech-java { color: #ED8B00; }
.tech-py { color: #3776AB; }
.tech-html { color: #E34F26; }
.tech-css { color: #1572B6; }
.tech-js { color: #F7DF1E; }
.tech-php { color: #777BB4; }
.tech-mysql { color: #4479A1; }
.tech-react { color: #61DAFB; }
.tech-node { color: #339933; }
.tech-git { color: #F05032; }
.tech-github { color: #24292E; }
[data-theme="dark"] .tech-github { color: #F8FAFC; }
.tech-ai { color: #8B5CF6; }
.tech-ml { color: #06B6D4; }
.tech-cloud { color: #2563EB; }
.tech-sec { color: #10B981; }
.tech-data { color: #F59E0B; }

/* ---------- Activities Cards ---------- */
.activities-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; }
.activity-card {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  position: relative; overflow: hidden;
}
.activity-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.activity-card .a-icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  font-size: 22px; color: #fff; margin-bottom: 16px;
  background: var(--grad-btn);
}
.activity-card:nth-child(3n+1) .a-icon { background: linear-gradient(135deg, #2563EB, #06B6D4); }
.activity-card:nth-child(3n+2) .a-icon { background: linear-gradient(135deg, #06B6D4, #10B981); }
.activity-card:nth-child(3n)   .a-icon { background: linear-gradient(135deg, #8B5CF6, #EC4899); }

/* ---------- Timeline ---------- */
.timeline { position: relative; padding-left: 40px; }
.timeline::before {
  content: ''; position: absolute; left: 12px; top: 0; bottom: 0; width: 2px;
  background: linear-gradient(180deg, var(--c-secondary), var(--c-accent), transparent);
}
.tl-item { position: relative; padding: 18px 0 28px 30px; }
.tl-item::before {
  content: ''; position: absolute; left: -34px; top: 24px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--grad-btn);
  box-shadow: 0 0 0 4px rgba(37,99,235,.15);
}
.tl-date { font-family: 'Space Grotesk', sans-serif; font-size: 13px; font-weight: 600; color: var(--c-secondary); text-transform: uppercase; letter-spacing: .1em; }
.tl-title { font-size: 1.15rem; margin: 6px 0 6px; }
.tl-body { color: var(--c-text-soft); font-size: .95rem; }
@media (max-width: 600px) { .timeline { padding-left: 24px; } .tl-item::before { left: -26px; } }

/* ---------- Stats / Counters ---------- */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 20px; }
.stat-card { text-align: center; padding: 32px 20px; border-radius: var(--radius); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); }
.stat-num { font-family: 'Space Grotesk', sans-serif; font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 700; background: linear-gradient(135deg,#7DD3FC,#F0ABFC); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-label { color: rgba(255,255,255,.7); font-size: .95rem; letter-spacing: .05em; }

/* ---------- Benefits ---------- */
.benefits-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; }
.benefit-card { padding: 26px; text-align: left; }
.benefit-card .bi { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font-size: 20px; color: var(--c-secondary); background: rgba(37,99,235,.1); margin-bottom: 14px; }

/* ---------- CTA Banner ---------- */
.cta-banner {
  position: relative; overflow: hidden;
  padding: 80px 48px;
  border-radius: var(--radius-xl);
  background: var(--grad-hero);
  color: #fff; text-align: center;
  border: 1px solid rgba(255,255,255,.08);
}
.cta-banner::before { content:''; position: absolute; inset: 0; 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: 40px 40px; mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%); }
.cta-banner h2 { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: 14px; position: relative; }
.cta-banner p { color: rgba(255,255,255,.8); max-width: 640px; margin: 0 auto 26px; position: relative; }
.cta-banner .btn { position: relative; }

/* ---------- Directors ---------- */
.dir-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 26px; }
.dir-card {
  padding: 0; overflow: hidden;
  background: var(--c-surface); border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.dir-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.dir-photo {
  aspect-ratio: 1 / 1; width: 100%;
  background: linear-gradient(135deg,#EEF2FF,#E0F2FE);
  display: grid; place-items: center; color: #64748B; font-size: 40px;
  position: relative; overflow: hidden;
}
.dir-photo img { width: 100%; height: 100%; object-fit: cover; }
.dir-photo .placeholder { font-family: 'Space Grotesk', sans-serif; font-size: 42px; font-weight: 700; color: #94A3B8; }
.dir-badge {
  position: absolute; top: 14px; left: 14px;
  padding: 5px 11px; border-radius: 999px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600;
  background: rgba(255,255,255,.9); color: var(--c-primary); backdrop-filter: blur(10px);
}
.dir-body { padding: 24px; }
.dir-body h3 { font-size: 1.2rem; margin: 0 0 4px; }
.dir-role { color: var(--c-secondary); font-size: .9rem; font-weight: 600; margin-bottom: 4px; }
.dir-qual { color: var(--c-muted); font-size: .85rem; margin-bottom: 12px; }
.dir-msg { font-size: .92rem; color: var(--c-text-soft); font-style: italic; }
.dir-social { display: flex; gap: 10px; margin-top: 16px; }
.dir-social a { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--c-surface-2); color: var(--c-text-soft); transition: all .3s; }
.dir-social a:hover { background: var(--grad-btn); color: #fff; transform: translateY(-2px); }

/* ---------- Department Facilities ---------- */
.fac-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.fac-card { padding: 26px; text-align: left; }
.fac-card .fi { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--grad-accent); color: #fff; font-size: 20px; margin-bottom: 14px; }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.gal-item {
  position: relative; aspect-ratio: 4/3; border-radius: var(--radius); overflow: hidden;
  cursor: pointer; border: 1px solid var(--c-border);
}
.gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gal-item::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(15,23,42,.85)); opacity: 0; transition: opacity .3s; }
.gal-item:hover img { transform: scale(1.08); }
.gal-item:hover::after { opacity: 1; }
.gal-caption { position: absolute; left: 16px; right: 16px; bottom: 14px; color: #fff; font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: .95rem; opacity: 0; transform: translateY(6px); transition: all .3s; z-index: 1; }
.gal-item:hover .gal-caption { opacity: 1; transform: translateY(0); }
.gal-filter { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 30px; }
.gal-filter button { padding: 8px 18px; border-radius: 999px; border: 1px solid var(--c-border); background: var(--c-surface); color: var(--c-text-soft); font-weight: 500; font-size: .9rem; transition: all .3s; }
.gal-filter button.active, .gal-filter button:hover { background: var(--grad-btn); color: #fff; border-color: transparent; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; background: rgba(0,0,0,.9); z-index: 1000;
  display: none; align-items: center; justify-content: center; padding: 40px;
  animation: fadeIn .3s var(--ease);
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 85vh; border-radius: 12px; }
.lightbox-close { position: absolute; top: 24px; right: 24px; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.1); color: #fff; display: grid; place-items: center; font-size: 20px; }
@keyframes fadeIn { from{opacity:0} to{opacity:1} }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-form { padding: 40px; }
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .contact-form .row { grid-template-columns: 1fr; } }
.field { display: block; margin-bottom: 18px; }
.field label { display: block; font-size: .85rem; font-weight: 500; color: var(--c-text-soft); margin-bottom: 8px; letter-spacing: .02em; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 16px;
  border: 1px solid var(--c-border);
  border-radius: 12px; font: inherit; color: var(--c-text);
  background: var(--c-surface);
  transition: border-color .25s, box-shadow .25s, background .25s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--c-secondary); box-shadow: 0 0 0 4px rgba(37,99,235,.12); }

.contact-info { padding: 40px; }
.info-item { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--c-border); }
.info-item:last-child { border: 0; }
.info-item .ii { width: 44px; height: 44px; border-radius: 12px; background: var(--grad-btn); color: #fff; display: grid; place-items: center; flex: none; font-size: 18px; }
.info-item h4 { margin: 0 0 4px; font-size: 1rem; }
.info-item p { margin: 0; color: var(--c-text-soft); font-size: .95rem; }
.map-wrap { border-radius: var(--radius); overflow: hidden; margin-top: 24px; border: 1px solid var(--c-border); }
.map-wrap iframe { width: 100%; height: 300px; border: 0; display: block; }
.social-row { display: flex; gap: 10px; margin-top: 22px; }
.social-row a { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--c-surface-2); color: var(--c-text-soft); transition: all .3s; }
.social-row a:hover { background: var(--grad-btn); color: #fff; transform: translateY(-2px); }

.form-note { padding: 14px 18px; border-radius: 12px; background: rgba(16,185,129,.1); border: 1px solid rgba(16,185,129,.25); color: #059669; font-size: .92rem; margin-top: 12px; display: none; }
.form-note.show { display: flex; align-items: center; gap: 10px; }

/* ---------- Footer ---------- */
.footer { background: #0B1224; color: #CBD5E1; padding: 80px 0 30px; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 20px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer p { color: rgba(255,255,255,.6); font-size: .92rem; }
.footer a { color: rgba(255,255,255,.7); font-size: .92rem; display: block; padding: 4px 0; transition: color .25s, transform .25s; }
.footer a:hover { color: #7DD3FC; transform: translateX(4px); }
.footer .brand { color: #fff; margin-bottom: 16px; }
.footer .newsletter { display: flex; gap: 8px; margin-top: 12px; }
.footer .newsletter input { flex: 1; padding: 12px 14px; border-radius: 10px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); color: #fff; font: inherit; }
.footer .newsletter input:focus { outline: 0; border-color: #06B6D4; }
.footer .newsletter button { padding: 12px 18px; border-radius: 10px; background: var(--grad-btn); color: #fff; font-weight: 600; }
.footer .social { display: flex; gap: 10px; margin-top: 16px; }
.footer .social a { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.05); display: grid; place-items: center; padding: 0; }
.footer .social a:hover { background: var(--grad-btn); color: #fff; transform: translateY(-2px); }
.footer-map { border-radius: 12px; overflow: hidden; margin-top: 12px; border: 1px solid rgba(255,255,255,.08); }
.footer-map iframe { width: 100%; height: 140px; border: 0; display: block; }
.footer-quote { margin: 60px 0 20px; padding: 22px; text-align: center; font-style: italic; font-family: 'Space Grotesk', sans-serif; color: #7DD3FC; border-top: 1px solid rgba(255,255,255,.08); border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-bottom { text-align: center; color: rgba(255,255,255,.5); font-size: .85rem; padding-top: 24px; }

/* ---------- Back to top ---------- */
.back-top {
  position: fixed; right: 24px; bottom: 24px; width: 48px; height: 48px; border-radius: 50%;
  background: var(--grad-btn); color: #fff; display: grid; place-items: center; z-index: 90;
  box-shadow: var(--shadow-glow); opacity: 0; transform: translateY(20px); pointer-events: none;
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.back-top.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
.back-top:hover { transform: translateY(-4px); }

/* ---------- Scroll Reveal ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-zoom { opacity: 0; transform: scale(.92); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal-zoom.in { opacity: 1; transform: scale(1); }

/* Accordion (about page) */
.accordion { display: grid; gap: 12px; }
.acc-item { border: 1px solid var(--c-border); border-radius: 14px; overflow: hidden; background: var(--c-surface); }
.acc-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; cursor: pointer; font-weight: 600; font-family: 'Space Grotesk', sans-serif; }
.acc-head i { transition: transform .3s; color: var(--c-secondary); }
.acc-item.open .acc-head i { transform: rotate(180deg); }
.acc-body { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.acc-item.open .acc-body { max-height: 600px; }
.acc-body-inner { padding: 0 22px 20px; color: var(--c-text-soft); }

/* Objectives grid (About page) */
.obj-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.obj-card { padding: 26px; background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius); }
.obj-card .num { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 2rem; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 6px; }

/* Motto banner */
.motto {
  padding: 44px 32px; text-align: center; border-radius: var(--radius-lg);
  background: var(--grad-btn); color: #fff; position: relative; overflow: hidden;
}
.motto::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(circle at 20% 30%, rgba(255,255,255,.15), transparent 40%), radial-gradient(circle at 80% 70%, rgba(255,255,255,.10), transparent 40%); }
.motto span { display: block; font-family: 'Space Grotesk', sans-serif; font-weight: 300; letter-spacing: .05em; font-size: 14px; text-transform: uppercase; opacity: .85; margin-bottom: 10px; position: relative; }
.motto h3 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0; position: relative; }
.motto h3 em { font-style: normal; color: #A5F3FC; }

/* Utility spacing */
.mt-40 { margin-top: 40px; }
.mt-60 { margin-top: 60px; }
.mb-40 { margin-bottom: 40px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
@media (max-width: 820px) { .grid-2 { grid-template-columns: 1fr; } }

/* Print / Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* React root renders null; hide any leftover element */
#root { display: none !important; }

/* ---------- News Flash Ticker ---------- */
.news-ticker {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 200; height: 38px; overflow: hidden;
  background: linear-gradient(90deg, #DC2626, #EA580C);
  color: #fff; display: flex; align-items: center;
  font-family: 'Space Grotesk', sans-serif; font-weight: 500; font-size: 14px;
  border-bottom: 1px solid rgba(255,255,255,.15);
}
.news-ticker::before {
  content: 'NEWS FLASH'; padding: 0 16px; background: rgba(0,0,0,.25); height: 100%;
  display: flex; align-items: center; font-weight: 700; letter-spacing: .12em; font-size: 12px;
  flex-shrink: 0;
}
.news-ticker-track { flex: 1; overflow: hidden; white-space: nowrap; }
.news-ticker-track span { display: inline-block; padding-left: 100%; animation: ticker 40s linear infinite; }
@keyframes ticker { 0%{transform:translateX(0)} 100%{transform:translateX(-100%)} }
.news-ticker + .nav { top: 38px; }

/* ---------- Events page ---------- */
.events-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 26px; }
.event-card {
  background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius-lg);
  overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  display: flex; flex-direction: column;
}
.event-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.event-img { aspect-ratio: 16/9; overflow: hidden; background: var(--c-surface-2); }
.event-img img { width: 100%; height: 100%; object-fit: cover; }
.event-img.gradient { background: var(--grad-btn); display: grid; place-items: center; color: #fff; font-size: 48px; }
.event-body { padding: 22px 24px; }
.event-badge {
  display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 11px;
  font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 10px;
}
.event-badge.upcoming { background: rgba(16,185,129,.12); color: #059669; }
.event-badge.past { background: rgba(100,116,139,.12); color: #64748B; }
.event-body h3 { font-size: 1.15rem; margin: 0 0 8px; }
.event-meta { font-size: .85rem; color: var(--c-muted); margin-bottom: 10px; }
.event-meta i { color: var(--c-secondary); margin-right: 4px; }
.event-cat { display: inline-block; font-size: .8rem; padding: 3px 10px; background: var(--c-surface-2); border-radius: 999px; margin-top: 8px; color: var(--c-secondary); font-weight: 500; }

/* ---------- News page ---------- */
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 26px; }
.news-card { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius-lg); overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.news-img { aspect-ratio: 16/9; overflow: hidden; background: var(--c-surface-2); }
.news-img img { width:100%; height:100%; object-fit:cover; }
.news-body { padding: 22px 24px; }
.news-flash-tag { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; background: linear-gradient(90deg,#DC2626,#EA580C); color: #fff; margin-bottom: 10px; }
.news-body h3 { font-size: 1.15rem; margin: 0 0 8px; }
.news-meta { font-size: .82rem; color: var(--c-muted); margin-bottom: 10px; }

/* ---------- Clients page ---------- */
.clients-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 26px; }
.client-card { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius-lg); padding: 30px 26px; text-align: center; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.client-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(37,99,235,.25); }
.client-logo { width: 90px; height: 90px; border-radius: 20px; margin: 0 auto 16px; background: linear-gradient(135deg,#EEF2FF,#E0F2FE); display: grid; place-items: center; overflow: hidden; font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 32px; color: #64748B; }
.client-logo img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.client-card h3 { font-size: 1.1rem; margin: 0 0 6px; }
.client-card p { font-size: .92rem; color: var(--c-text-soft); margin: 0 0 12px; }
.client-card blockquote { font-style: italic; color: var(--c-muted); font-size: .88rem; margin: 12px 0; padding: 10px; border-left: 3px solid var(--c-accent); text-align: left; }
.client-link { display: inline-flex; align-items: center; gap: 6px; color: var(--c-secondary); font-weight: 500; font-size: .9rem; margin-top: 8px; }

/* ---------- Enquiry form ---------- */
.enquiry-wrap { max-width: 780px; margin: 0 auto; }
.enquiry-wrap .contact-form { padding: 40px; }

/* ---------- Top contact bar (above nav) ---------- */
.top-contact-bar {
  position: fixed; top: var(--ticker-h, 0); left: 0; right: 0; z-index: 90;
  background: linear-gradient(90deg, #0F172A, #1E293B);
  color: #E2E8F0; height: 36px; display: flex; align-items: center;
  border-bottom: 1px solid rgba(255,255,255,.08);
  font-family: 'Space Grotesk', sans-serif; font-size: 13px;
}
.top-contact-inner { display: flex; justify-content: space-between; align-items: center; }
.tc-left { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.tc-left a { color: #E2E8F0; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.tc-left a:hover { color: #7DD3FC; }
.tc-left i { color: #7DD3FC; }
.tc-hours { color: #94A3B8; display: inline-flex; align-items: center; gap: 6px; }
.tc-right { display: flex; gap: 12px; }
.tc-right a { color: #94A3B8; font-size: 14px; transition: color .2s; }
.tc-right a:hover { color: #7DD3FC; }
.top-contact-bar + .nav, .news-ticker + .top-contact-bar + .nav { top: calc(var(--ticker-h, 0px) + 36px); }
.news-ticker + .top-contact-bar { top: var(--ticker-h, 38px); }
@media (max-width: 720px) {
  .top-contact-bar { height: auto; padding: 8px 0; font-size: 12px; }
  .top-contact-inner { flex-direction: column; gap: 6px; }
  .tc-hours { display: none !important; }
}

/* ---------- Updated News Ticker (single scroll cycle) ---------- */
.news-ticker-track { flex: 1; overflow: hidden; white-space: nowrap; position: relative; }
.news-ticker-content {
  display: inline-block;
  padding-left: 100%;
  animation: ticker-single 40s linear infinite;
}
@keyframes ticker-single {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* ---------- Snapshots (home gallery preview) ---------- */
.snapshots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
}
.snap-card {
  position: relative; aspect-ratio: 1/1; border-radius: 14px; overflow: hidden;
  display: block; text-decoration: none; background: var(--c-surface-2);
  transition: transform .4s var(--ease); border: 1px solid var(--c-border);
}
.snap-card:hover { transform: translateY(-4px) scale(1.02); }
.snap-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.snap-card:hover img { transform: scale(1.08); }
.snap-overlay {
  position: absolute; inset: auto 0 0 0; padding: 20px 14px 12px;
  background: linear-gradient(to top, rgba(0,0,0,.75), transparent);
  color: #fff; font-size: .85rem; font-weight: 500;
}

/* ---------- Gallery Page ---------- */
.gallery-filters { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 30px; }
.gf-btn { padding: 8px 18px; border-radius: 999px; border: 1px solid var(--c-border); background: var(--c-surface); color: var(--c-text-soft); cursor: pointer; font-family: inherit; font-weight: 500; font-size: .88rem; transition: all .2s; }
.gf-btn:hover { border-color: var(--c-secondary); color: var(--c-secondary); }
.gf-btn.active { background: var(--grad-btn); color: #fff; border-color: transparent; }
.gp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.gp-item { position: relative; aspect-ratio: 4/3; border-radius: 14px; overflow: hidden; border: 1px solid var(--c-border); display: block; }
.gp-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gp-item:hover img { transform: scale(1.06); }
.gp-caption { position: absolute; bottom: 0; left: 0; right: 0; padding: 16px 14px 10px; background: linear-gradient(to top, rgba(0,0,0,.8), transparent); color: #fff; opacity: 0; transition: opacity .3s; }
.gp-item:hover .gp-caption { opacity: 1; }
.gp-caption h4 { margin: 0; font-size: .95rem; }
.gp-caption span { font-size: .75rem; opacity: .8; }

/* ---------- News Detail Page ---------- */
.news-detail { max-width: 820px; margin: 0 auto; }
.news-detail h1 { font-size: 2.2rem; margin: 12px 0 16px; line-height: 1.25; }
.news-detail-meta { display: flex; gap: 20px; color: var(--c-muted); font-size: .9rem; margin-bottom: 24px; }
.news-detail-meta i { color: var(--c-secondary); margin-right: 6px; }
.news-detail-cover { border-radius: 18px; overflow: hidden; margin-bottom: 24px; border: 1px solid var(--c-border); }
.news-detail-cover img { width: 100%; height: auto; display: block; }
.news-detail-body p { font-size: 1.06rem; line-height: 1.75; color: var(--c-text-soft); margin: 0 0 16px; }
.news-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; margin: 30px 0; }
.news-thumb { aspect-ratio: 1/1; border-radius: 12px; overflow: hidden; border: 1px solid var(--c-border); }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-card-link { text-decoration: none; color: inherit; display: block; }
.news-read-more { display: inline-flex; align-items: center; gap: 6px; color: var(--c-secondary); font-weight: 500; font-size: .88rem; margin-top: 10px; }

/* ---------- Event Carousel ---------- */
.event-carousel { position: relative; aspect-ratio: 16/9; background: var(--c-surface-2); overflow: hidden; }
.event-carousel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .5s; }
.event-carousel img.active { opacity: 1; }
.carousel-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border-radius: 50%; background: rgba(0,0,0,.5); color: #fff; border: none; cursor: pointer; display: grid; place-items: center; z-index: 2; transition: background .2s; }
.carousel-btn:hover { background: rgba(0,0,0,.75); }
.carousel-btn.prev { left: 10px; }
.carousel-btn.next { right: 10px; }
.carousel-dots { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; z-index: 2; }
.carousel-dots span { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.4); transition: background .2s; }
.carousel-dots span.active { background: #fff; }
.event-header-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; gap: 10px; }
.event-logo { width: 40px; height: 40px; object-fit: contain; border-radius: 8px; background: #fff; padding: 4px; border: 1px solid var(--c-border); }
.event-actions { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; gap: 10px; flex-wrap: wrap; }
.btn-sm { padding: 6px 14px; font-size: .82rem; }

/* ---------- Partnership Section & Form ---------- */
.partnership-banner {
  padding: 44px; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(6,182,212,.15), rgba(37,99,235,.1));
  border: 1px solid rgba(6,182,212,.25); display: flex; align-items: center; gap: 40px; flex-wrap: wrap;
}
.partnership-copy { flex: 1; min-width: 320px; }
.partnership-copy h2 { font-size: 1.9rem; margin: 12px 0; color: #fff; }
.partnership-copy p { color: #CBD5E1; font-size: 1rem; margin: 0; }
.partnership-cta { flex-shrink: 0; }

.partnership-wrap { max-width: 780px; margin: 0 auto; }
.partnership-wrap .contact-form { padding: 40px; }

/* ---------- Contact page dynamic tweaks ---------- */
#cp-phone, #cp-email { color: inherit; text-decoration: none; }
#cp-phone:hover, #cp-email:hover { color: var(--c-secondary); }

/* ---------- Layout adjustments when top bar exists ---------- */
body.has-topbar .nav { top: 36px !important; }
body.has-topbar .news-ticker + .nav,
body.has-topbar[style*="--ticker-h"] .nav { top: calc(36px + var(--ticker-h, 0px)) !important; }
body.has-topbar .top-contact-bar { top: var(--ticker-h, 0px); }
/* Push page content down when both ticker and top bar are present */
body.has-topbar { padding-top: 36px; }
