/* ============================================
   Cosmic Creations — Design System
   Palette: deep blue (trust) + cyan (accent) + warm orange (action) + green (highlight)
   ============================================ */

:root {
  --color-primary: #1e3a8a;
  --color-primary-dark: #101d3f;
  --color-accent: #0ea5e9;
  --color-accent-light: #e0f2fe;
  --color-cta: #f4611e;
  --color-cta-dark: #c94d15;
  --color-highlight: #10b981;
  --color-highlight-light: #d1fae5;

  --color-edu: #0ea5e9;
  --color-art: #f4611e;
  --color-hosp: #10b981;
  --color-biz: #1e3a8a;

  --color-text: #16232f;
  --color-text-muted: #57697a;
  --color-bg: #f7f8f7;
  --color-surface: #ffffff;
  --color-border: #dde3e6;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Work Sans', -apple-system, sans-serif;

  --radius: 10px;
  --radius-lg: 20px;
  --shadow-soft: 0 8px 32px rgba(16, 29, 63, 0.18);
  --shadow-card: 0 2px 14px rgba(16, 29, 63, 0.08);
  --container: 1140px;
}

/* Signature motif: a four-color band representing the four pillars — education, art, hospitality, business */
.brand-band { height: 4px; background: linear-gradient(90deg, var(--color-edu) 0 25%, var(--color-art) 25% 50%, var(--color-hosp) 50% 75%, var(--color-biz) 75% 100%); }

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-primary-dark);
  line-height: 1.22;
}

h1 { font-size: clamp(2.6rem, 6.5vw, 5.4rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3.4rem); }
h3 { font-size: 1.5rem; }

a { color: var(--color-accent); text-decoration: none; }
img { max-width: 100%; display: block; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container-wide { max-width: 1600px; width: 100%; margin: 0 auto; padding: 0 24px; box-sizing: border-box; }
.section { padding: 80px 0; }
.section-flush-top { padding-top: 0; }
@media (max-width: 700px) {
  .section { padding: 52px 0; }
  .stats-dark, .section-bubbles { padding: 52px 0; }
  .hero { padding: 90px 0 64px; }
  .page-header { padding: 48px 0 38px; }
}
.section-alt { background: var(--color-surface); }

.eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  font-weight: 600;
  margin-bottom: 16px;
  display: block;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251, 251, 250, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
}
.header-inner {
  display: flex; align-items: center;
  padding: 10px 24px; max-width: var(--container); margin: 0 auto;
}
/* Small looping showcase banner sitting in the gap between the logo and nav links.
   At this size the video's own text isn't legible - it reads as ambient motion/color,
   not a message to read. Cropped wider via object-fit so it actually fills the space
   next to the logo instead of floating as a narrow strip with empty space around it. */
/* ---------- Header Promo Video Fix ---------- */
.header-promo-video {
  width: 200px;              /* Reduced width to give navigation links breathing room */
  aspect-ratio: 16 / 9;      /* Lock down the true aspect ratio of your video asset */
  object-fit: contain;       /* Prevents the video content/logo from being cropped */
  background-color: #101d3f; /* Fills empty side space with your theme's dark primary color */
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
  display: block; 
  margin-left: 16px;
  max-height: 65px;          /* Hard cap prevents the video from inflating the header height */
}

@media (max-width: 1150px) and (min-width: 801px) {
  .header-promo-video { 
    width: 110px;            /* Scales down cleanly for tablets */
    max-height: 45px;
  }
}

@media (max-width: 800px) {
  .header-promo-video { 
    width: 80px;             /* Compact layout for mobile viewports */
    max-height: 35px;
    margin-left: 10px; 
  }
}

.logo { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; color: var(--color-primary-dark); }
.logo span { color: var(--color-cta); }
.nav-links { display: flex; gap: 22px; list-style: none; margin-left: auto; }
@media (max-width: 1150px) and (min-width: 801px) { .nav-links { gap: 13px; } .nav-links a { font-size: 0.85rem; } }
.nav-links a { color: var(--color-text); font-weight: 500; font-size: 0.95rem; position: relative; }

/* Dropdown - About submenu. Controlled by a JS click toggle (.open class), not hover -
   hover-only dropdowns break easily on any mouse-path or timing issue; click is unambiguous
   and works identically on desktop and touch devices. */
.nav-dropdown { position: relative; display: flex; align-items: center; gap: 2px; }
.dropdown-toggle {
  background: none; border: none; cursor: pointer; padding: 4px 6px;
  color: var(--color-text); display: flex; align-items: center;
}
.dropdown-caret { font-size: 0.6rem; transition: transform 0.2s ease; display: block; }
.nav-dropdown.open .dropdown-caret { transform: rotate(180deg); }
.dropdown-menu {
  list-style: none; position: absolute; top: 100%; left: 0; margin-top: 0;
  background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius);
  box-shadow: var(--shadow-soft); min-width: 200px; padding: 8px 0;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 50;
}
.nav-dropdown.open .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu li { width: 100%; }
.dropdown-menu a { display: block; padding: 9px 18px; font-size: 0.88rem; white-space: nowrap; }
.dropdown-menu a:hover { background: var(--color-bg); color: var(--color-cta); }
.dropdown-menu a::after { display: none; }
@media (max-width: 800px) {
  .dropdown-menu {
    position: static; box-shadow: none; border: none; padding-left: 16px;
    margin-top: 4px; background: transparent; min-width: 0;
    max-height: 0; overflow: hidden; opacity: 1; visibility: visible; transform: none;
    transition: max-height 0.25s ease;
  }
  .nav-dropdown.open .dropdown-menu { max-height: 300px; }
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: -4px; width: 0; height: 2px;
  background: var(--color-cta); transition: width 0.25s ease;
}
.nav-links a:hover::after { width: 100%; }
.nav-toggle { display: none; }

@media (max-width: 800px) {
  .nav-links {
    position: fixed; top: 64px; left: 0; right: 0; background: var(--color-surface);
    flex-direction: column; padding: 24px; gap: 20px; border-bottom: 1px solid var(--color-border);
    transform: translateY(-150%); transition: transform 0.3s ease; box-shadow: var(--shadow-soft);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-toggle { display: block; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--color-primary-dark); margin-left: auto; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: var(--radius);
  font-weight: 600; font-size: 1rem; cursor: pointer; border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-primary { background: var(--color-cta); color: #fff; position: relative; overflow: hidden; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(232, 114, 46, 0.35); }
.btn-outline { background: transparent; color: var(--color-primary); border: 1.5px solid var(--color-primary); }
.btn-outline:hover { background: var(--color-primary); color: #fff; }

/* ---------- Hero ---------- */
.hero-video-section {
  padding: 32px 0;
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 55%, #0c2d52 100%);
  position: relative;
  overflow: hidden;
}
/* Natural aspect-ratio video - never cropped, scales with the container width on
   any screen size (phone, tablet, desktop) since it's just width:100% + aspect-ratio,
   no absolute positioning or object-fit cropping involved. */
.hero-video-natural {
  display: block; width: 100%; max-width: min(700px, 92vw); margin: 0 auto;
  aspect-ratio: 16 / 9; height: auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
  position: relative; z-index: 2;
}
.hero-video-natural, video { max-width: 100%; }
.hero-video-section::before {
  z-index: 1;
  content: ''; position: absolute; top: -160px; right: -160px;
  width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(14,165,233,0.28) 0%, transparent 70%);
}
.hero-video-section::after {
  z-index: 1;
  content: ''; position: absolute; bottom: -180px; left: -140px;
  width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(244,97,30,0.18) 0%, transparent 70%);
}
.hero-text-section { padding: 56px 0 48px; text-align: center; }

/* Staggered entrance motion - kept, now applied to the white section's elements */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-headline-white {
  color: var(--color-primary-dark);
  font-size: clamp(2.8rem, 6.5vw, 5.6rem);
  opacity: 0;
  animation: heroFadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.1s forwards;
}
/* Cycles each headline phrase through the brand colors, always animating - unlike the
   old gradient shimmer (built for a dark background), every color in this cycle is
   solid and dark/vivid enough to stay legible against the white section. */
@keyframes heroColorCycle {
  0%, 100% { color: var(--color-primary-dark); }
  25% { color: var(--color-cta); }
  50% { color: var(--color-accent); }
  75% { color: var(--color-highlight); }
}
.hero-headline-white .hero-color-cycle {
  animation: heroColorCycle 8s ease-in-out infinite;
}
.hero-lead-dark {
  font-size: clamp(1.05rem, 1.8vw, 1.3rem); color: var(--color-text-muted); margin: 22px 0 32px;
  opacity: 0;
  animation: heroFadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.3s forwards;
}
.hero-text-section .hero-actions {
  opacity: 0;
  animation: heroFadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.48s forwards;
}
.btn-light-green { background: #a7f3d0; color: #065f46; border-color: #a7f3d0; }
.btn-light-green:hover { background: #6ee7b7; color: #065f46; border-color: #6ee7b7; }

/* ---------- Cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 48px; }
.card-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 48px; }
.card-grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; margin-top: 36px; }
@media (max-width: 900px) { .card-grid-5 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .card-grid-5 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) { .card-grid { grid-template-columns: 1fr; } .card-grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .card-grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--color-surface); border-radius: var(--radius-lg);
  padding: 32px 28px; box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); }
.card-icon {
  width: 64px; height: 64px; border-radius: 16px;
  background: var(--color-accent-light); color: var(--color-accent);
  display: flex; align-items: center; justify-content: center; font-size: 1.7rem; margin-bottom: 18px;
}
.card-icon.edu { background: #e0f2fe; color: var(--color-edu); }
.card-icon.art { background: #fde8dd; color: var(--color-art); }
.card-icon.hosp { background: #d1fae5; color: var(--color-hosp); }
.card-icon.biz { background: #e0e7f7; color: var(--color-biz); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--color-text-muted); font-size: 1rem; }

/* Tilt-on-hover card (JS adds transform via mousemove) */
.tilt-card { will-change: transform; transform-style: preserve-3d; }

/* ---------- Stats / count-up ---------- */
.stats-row { display: flex; justify-content: center; gap: 60px; flex-wrap: wrap; margin: 40px 0; }
.stat { text-align: center; }
.stat .num { font-family: var(--font-display); font-size: 2.6rem; font-weight: 700; color: var(--color-primary); }
.stat .label { color: var(--color-text-muted); font-size: 0.98rem; }

/* ---------- Founder / split section ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; } }
.split img { border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); }

/* ---------- Events ---------- */
.event-card {
  display: flex; gap: 20px; background: var(--color-surface);
  border: 1px solid var(--color-border); border-radius: var(--radius-lg);
  padding: 20px; margin-bottom: 20px; box-shadow: var(--shadow-card);
}
.event-date-badge {
  min-width: 68px; height: 68px; background: var(--color-primary); color: #fff;
  border-radius: var(--radius); display: flex; flex-direction: column;
  align-items: center; justify-content: center; font-weight: 700; flex-shrink: 0;
}
.event-date-badge .day { font-size: 1.4rem; line-height: 1; }
.event-date-badge .mon { font-size: 0.7rem; text-transform: uppercase; opacity: 0.85; }
.tag {
  display: inline-block; font-size: 0.75rem; font-weight: 600; padding: 3px 10px;
  border-radius: 20px; margin-bottom: 6px;
}
.tag-upcoming { background: var(--color-accent-light); color: var(--color-accent); }
.tag-ongoing { background: var(--color-highlight-light); color: var(--color-highlight); }
.tag-past { background: #f1f1ef; color: var(--color-text-muted); }

/* ---------- Testimonials ---------- */
.testimonial-card { background: var(--color-surface); border-radius: var(--radius-lg); padding: 28px; border: 1px solid var(--color-border); }
.testimonial-card .quote { font-style: italic; color: var(--color-text); margin-bottom: 16px; }
.testimonial-person { display: flex; align-items: center; gap: 12px; }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--color-accent-light); object-fit: cover; }
.avatar-initials {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  color: #fff; font-weight: 600; font-family: var(--font-display);
}

/* ---------- Footer ---------- */
.site-footer { background: var(--color-primary-dark); color: #cfe0e8; padding: 56px 0 24px; margin-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; font-family: var(--font-body); }
.site-footer a { color: #cfe0e8; }
.site-footer a:hover { color: var(--color-cta); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 20px; font-size: 0.85rem; color: #93a9b3; text-align: center; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------- Top bar ---------- */
.top-bar { background: var(--color-primary-dark); color: #cfe0e8; padding: 8px 0; font-size: 0.82rem; }
.top-bar-content { display: flex; justify-content: space-between; align-items: center; }
.contact-info a { color: #cfe0e8; margin-right: 20px; }
.contact-info a:hover { color: var(--color-cta); }
.contact-info i { margin-right: 5px; }
.top-bar-social a { color: #cfe0e8; font-size: 1rem; }
.top-bar-social a:hover { color: var(--color-cta); }
@media (max-width: 700px) {
  .top-bar-content { flex-direction: column; gap: 6px; text-align: center; }
  .contact-info a { margin-right: 12px; }
}

/* ---------- WhatsApp float + back to top ---------- */
.whatsapp-float {
  position: fixed; bottom: 28px; right: 28px; width: 58px; height: 58px;
  background: #25D366; color: #fff; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 1.7rem;
  box-shadow: var(--shadow-soft); z-index: 999; transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.whatsapp-float:hover { transform: scale(1.08); box-shadow: 0 14px 28px rgba(37,211,102,0.4); }
.back-to-top {
  position: fixed; bottom: 96px; right: 32px; width: 46px; height: 46px;
  background: var(--color-primary); color: #fff; border: none; border-radius: 50%;
  display: none; align-items: center; justify-content: center; font-size: 1.1rem; cursor: pointer;
  box-shadow: var(--shadow-card); z-index: 998; transition: transform 0.2s ease;
}
.back-to-top:hover { transform: translateY(-3px); }
.back-to-top.show { display: flex; }
@media (max-width: 700px) {
  .whatsapp-float { width: 50px; height: 50px; font-size: 1.4rem; bottom: 20px; right: 20px; }
  .back-to-top { bottom: 82px; right: 24px; }
}

/* ---------- Interior page banner (About/Services/Projects/Contact) ---------- */
.page-header {
  padding: 70px 0 56px;
  text-align: center; color: #fff;
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
  position: relative;
}
.page-header .eyebrow { color: #7dd3fc; }
.page-header h1 { color: #fff; margin: 6px 0 0; }

/* ---------- Alerts (auto-hide) ---------- */
.alert { padding: 14px 18px; border-radius: var(--radius); margin-bottom: 20px; font-size: 0.92rem; transition: opacity 0.3s ease; }
.alert-success { background: var(--color-highlight-light); color: #0a5c3a; border-left: 4px solid var(--color-highlight); }
.alert-error { background: #fde8e6; color: #a3291f; border-left: 4px solid #e4392c; }

/* ---------- Form validation ---------- */
.form-group input.field-error, .form-group textarea.field-error { border-color: #e4392c; }
.field-error-msg { color: #e4392c; font-size: 0.8rem; margin-top: 4px; }

/* ---------- Toast notification ---------- */
.toast {
  position: fixed; top: 20px; right: 20px; z-index: 2000; min-width: 280px;
  padding: 14px 18px; border-radius: var(--radius); box-shadow: var(--shadow-soft);
  font-size: 0.9rem; animation: toastIn 0.3s ease;
}
@keyframes toastIn { from { transform: translateX(110%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 0.9rem; font-weight: 500; margin-bottom: 6px; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--color-border);
  border-radius: var(--radius); font-family: var(--font-body); font-size: 1rem;
}
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--color-accent); box-shadow: 0 0 0 3px var(--color-accent-light); }

/* ============================================
   Premium technique layer
   ============================================ */


/* Glass pill badge with pulse glow (hero eyebrow) */
.eyebrow-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 30px; border-radius: 50px; margin-bottom: 22px;
  background: linear-gradient(135deg, rgba(125,211,252,0.14), rgba(14,165,233,0.16));
  border: 2px solid rgba(125,211,252,0.4);
  backdrop-filter: blur(8px);
  animation: glowPulse 3s ease-in-out infinite;
  font-size: 1.15rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; color: #fff;
  text-shadow: 0 1px 6px rgba(0,0,0,0.5);
}
@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 14px rgba(14,165,233,0.25); }
  50% { box-shadow: 0 0 28px rgba(14,165,233,0.5); }
}

/* Shimmer gradient text for the headline's key phrase */
.text-shimmer {
  background: linear-gradient(120deg, #7dd3fc 0%, #fff 50%, #7dd3fc 100%);
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  animation: shimmer 3.5s linear infinite;
}
@keyframes shimmer { to { background-position: 200% center; } }

/* Shine-sweep hover for primary CTA buttons */
.btn-primary::before {
  content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
  transition: left 0.5s ease;
}
.btn-primary:hover::before { left: 100%; }

/* Industrial-style glowing stat cards */
.stats-dark { padding: 80px 0; background: var(--color-surface); }
.stats-grid-dark { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 26px; }
.stat-card-dark {
  background: var(--color-bg);
  border: 1.5px solid var(--color-border); border-radius: 18px;
  padding: 34px 22px; text-align: center; position: relative; overflow: hidden;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.stat-card-dark:hover { transform: translateY(-8px); box-shadow: var(--shadow-card); }
.stat-icon-dark {
  width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 1.8rem; color: #0f172a;
}
.stat-icon-dark.edu { background: linear-gradient(135deg, #0ea5e9, #7dd3fc); }
.stat-icon-dark.art { background: linear-gradient(135deg, #f4611e, #ffab7a); }
.stat-icon-dark.hosp { background: linear-gradient(135deg, #10b981, #6ee7b7); }
.stat-icon-dark.biz { background: linear-gradient(135deg, #93a5c9, #cfe0f0); }
.stat-card-dark.edu:hover { border-color: rgba(14,165,233,0.55); }
.stat-card-dark.art:hover { border-color: rgba(244,97,30,0.55); }
.stat-card-dark.hosp:hover { border-color: rgba(16,185,129,0.55); }
.stat-number-dark { font-size: 3.2rem; font-weight: 700; font-family: var(--font-display); color: var(--color-primary-dark); margin-bottom: 4px; }
.stat-label-dark { color: var(--color-text-muted); font-size: 0.95rem; }

/* Section heading with centered gradient underline */
.section-heading { text-align: center; margin-bottom: 40px; }
.section-heading h2 { position: relative; display: inline-block; padding-bottom: 16px; }
.section-heading h2::after {
  content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 64px; height: 3px; border-radius: 2px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-highlight));
}

/* Card shine-sweep + pillar-colored hover border */
.card::before {
  content: ''; position: absolute; top: 0; left: -120%; width: 60%; height: 100%;
  background: linear-gradient(115deg, transparent, rgba(14,165,233,0.08), transparent);
  transition: left 0.6s ease; pointer-events: none;
}
.card:hover::before { left: 130%; }
.card.pillar-edu:hover { border-color: var(--color-edu); }
.card.pillar-art:hover { border-color: var(--color-art); }
.card.pillar-hosp:hover { border-color: var(--color-hosp); }
.card.pillar-biz:hover { border-color: var(--color-biz); }

/* ============================================
   Cross-page premium components (About/Contact/CTA band)
   ============================================ */

/* Overlap card - floats up over the page-header banner, like a raised dashboard tile */
.overlap-card {
  background: var(--color-surface); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft); padding: 44px; margin-top: -56px; position: relative; z-index: 2;
}
@media (max-width: 700px) { .overlap-card { padding: 28px 22px; margin-top: -36px; } }

/* Mini stat row inside the overlap card (About page) */
.mini-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 20px; margin-top: 36px; }
.mini-stat { text-align: center; }
.mini-stat-icon {
  width: 62px; height: 62px; margin: 0 auto 12px; border-radius: 16px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  display: flex; align-items: center; justify-content: center; font-size: 1.6rem; color: #fff;
}
.mini-stat-num { font-family: var(--font-display); font-size: 2.6rem; font-weight: 700; color: var(--color-primary); }
.mini-stat-label { font-size: 0.92rem; color: var(--color-text-muted); }

/* Feature card with hover-invert (Why choose us) */
.feature-invert { padding: 30px; border-radius: var(--radius-lg); background: var(--color-bg); transition: all 0.3s ease; }
.feature-invert-icon {
  width: 68px; height: 68px; border-radius: 50%; margin-bottom: 18px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  display: flex; align-items: center; justify-content: center; font-size: 1.8rem; color: #fff;
  transition: all 0.3s ease;
}
.feature-invert:hover { background: linear-gradient(135deg, var(--color-primary), var(--color-accent)); color: #fff; transform: translateY(-5px); }
.feature-invert:hover h3 { color: #fff; }
.feature-invert:hover p { color: rgba(255,255,255,0.9); }
.feature-invert:hover .feature-invert-icon { background: #fff; color: var(--color-primary); }
.feature-invert p { color: var(--color-text-muted); margin-top: 6px; }

/* Info item with gradient icon badge (Contact page) */
.info-item { display: flex; gap: 18px; padding-bottom: 24px; margin-bottom: 24px; border-bottom: 1px solid var(--color-border); }
.info-item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.info-icon {
  width: 48px; height: 48px; flex-shrink: 0; border-radius: 12px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  display: flex; align-items: center; justify-content: center; font-size: 1.2rem; color: #fff;
}
.info-content h3 { font-size: 1rem; margin-bottom: 4px; }
.info-content p { color: var(--color-text-muted); font-size: 1rem; line-height: 1.55; }

/* Quick action list with hover-invert (Contact page) */
.action-list { display: flex; flex-direction: column; gap: 10px; }
.action-btn {
  display: flex; align-items: center; gap: 14px; padding: 14px 18px;
  background: var(--color-bg); border: 1.5px solid var(--color-border); border-radius: var(--radius);
  color: var(--color-text); font-weight: 500; font-size: 1rem; transition: all 0.25s ease;
}
.action-btn:hover { background: var(--color-primary); border-color: var(--color-primary); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-card); }
.action-btn.whatsapp:hover { background: #25D366; border-color: #25D366; }

/* Closing CTA band - appears near the bottom of every page */
.cta-band {
  background: linear-gradient(135deg, var(--color-cta) 0%, var(--color-cta-dark) 100%);
  color: #fff; text-align: center; padding: 56px 24px; border-radius: var(--radius-lg);
  margin: 0 24px; position: relative; overflow: hidden;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.92); margin: 12px 0 26px; }
.cta-band .btn-primary { background: #fff; color: var(--color-cta-dark); }
.cta-band .btn-primary::before { background: linear-gradient(90deg, transparent, rgba(0,0,0,0.06), transparent); }
.cta-band .btn-outline { color: #fff; border-color: rgba(255,255,255,0.6); }
.cta-band .btn-outline:hover { background: #fff; color: var(--color-cta-dark); }

/* ============================================
   Industry bubble - big flip icon, elastic 3D lift (from reference "industries-slate")
   ============================================ */
.section-bubbles {
  padding: 80px 0;
  background: var(--color-bg);
  position: relative;
}
.industry-bubble {
  background: var(--color-surface); padding: 40px 26px; border-radius: 22px; text-align: center;
  border: 1.5px solid var(--color-border);
  transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.industry-bubble:hover { transform: translateY(-14px) rotate(2deg); box-shadow: var(--shadow-soft); }
.industry-bubble-icon {
  width: 92px; height: 92px; margin: 0 auto 20px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 2.6rem; color: #fff;
  background: var(--color-accent-light); transition: all 0.5s ease;
}
.industry-bubble:hover .industry-bubble-icon { transform: rotateY(180deg) scale(1.1); }
.industry-bubble.edu .industry-bubble-icon { background: linear-gradient(135deg, rgba(14,165,233,0.25), rgba(14,165,233,0.12)); color: var(--color-edu); }
.industry-bubble.edu:hover .industry-bubble-icon { background: linear-gradient(135deg, #0ea5e9, #7dd3fc); color: #0f172a; }
.industry-bubble.art .industry-bubble-icon { background: linear-gradient(135deg, rgba(244,97,30,0.25), rgba(244,97,30,0.12)); color: var(--color-art); }
.industry-bubble.art:hover .industry-bubble-icon { background: linear-gradient(135deg, #f4611e, #ffab7a); color: #0f172a; }
.industry-bubble.hosp .industry-bubble-icon { background: linear-gradient(135deg, rgba(16,185,129,0.25), rgba(16,185,129,0.12)); color: var(--color-hosp); }
.industry-bubble.hosp:hover .industry-bubble-icon { background: linear-gradient(135deg, #10b981, #6ee7b7); color: #0f172a; }
.industry-bubble.biz .industry-bubble-icon { background: linear-gradient(135deg, rgba(30,58,138,0.18), rgba(30,58,138,0.08)); color: var(--color-biz); }
.industry-bubble.biz:hover .industry-bubble-icon { background: linear-gradient(135deg, #93a5c9, #cfe0f0); color: #0f172a; }
.industry-bubble h3 { color: var(--color-text); font-size: 1.15rem; margin-bottom: 8px; }
.industry-bubble p { color: var(--color-text-muted); font-size: 0.98rem; }

/* ============================================
   Per-section color tints - each section gets its own identity, tied by shared accent logic
   ============================================ */
.section-tint-edu { background: var(--color-surface); }
.section-tint-art { background: var(--color-surface); }
.section-tint-hosp { background: var(--color-surface); }
.section-tint-biz { background: var(--color-surface); }

/* Enhanced CTA band with dual accent glows, matching reference's vibrant-CTA technique */
.cta-band::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 20% 40%, rgba(14,165,233,0.18), transparent 50%),
              radial-gradient(circle at 80% 70%, rgba(16,185,129,0.15), transparent 50%);
  pointer-events: none;
}
.cta-band > * { position: relative; z-index: 1; }