@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary: #4A9BD9;
  --primary-light: #87CEEB;
  --primary-dark: #2C6FAC;
  --primary-deeper: #1a4f7a;
  --primary-gradient: linear-gradient(135deg, #4A9BD9, #2C6FAC);
  --primary-gradient-soft: linear-gradient(135deg, #E8F4FD, #B8D8F0);
  --secondary: #6C63FF;
  --accent: #00D2FF;
  --accent-gradient: linear-gradient(135deg, #00D2FF, #3B82F6);
  --sky-light: #E8F4FD;
  --sky-dark: #B8D8F0;
  --white: #FFFFFF;
  --gray-50: #F8FAFC;
  --gray-100: #F1F5F9;
  --gray-200: #E2E8F0;
  --gray-300: #CBD5E1;
  --gray-400: #94A3B8;
  --gray-500: #64748B;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1E293B;
  --gray-900: #0F172A;
  --success: #10B981;
  --success-bg: #D1FAE5;
  --warning: #F59E0B;
  --warning-bg: #FEF3C7;
  --danger: #EF4444;
  --danger-bg: #FEE2E2;
  --info: #3B82F6;
  --glass-bg: rgba(255,255,255,0.7);
  --glass-border: rgba(255,255,255,0.3);
  --glass-shadow: 0 8px 32px rgba(0,0,0,0.08);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --public-bg: #F8FAFC;
  --public-text: #1E293B;
  --public-card: #FFFFFF;
  --public-border: #E2E8F0;
  --public-input: #FFFFFF;
  --public-input-border: #CBD5E1;
  --public-toggle-bg: #FFFFFF;
  --primary-rgb: 74, 155, 217;
}

[data-theme="dark"] {
  --primary: #60A5FA;
  --primary-light: #93C5FD;
  --primary-dark: #3B82F6;
  --primary-deeper: #1D4ED8;
  --primary-gradient: linear-gradient(135deg, #2563EB, #1D4ED8);
  --primary-gradient-soft: linear-gradient(135deg, #1E293B, #0F172A);
  --secondary: #818CF8;
  --accent: #22D3EE;
  --sky-light: #1E293B;
  --sky-dark: #0F172A;
  --white: #1E293B;
  --gray-50: #0F172A;
  --gray-100: #1E293B;
  --gray-200: #334155;
  --gray-300: #475569;
  --gray-400: #64748B;
  --gray-500: #94A3B8;
  --gray-600: #CBD5E1;
  --gray-700: #E2E8F0;
  --gray-800: #F1F5F9;
  --gray-900: #F8FAFC;
  --success: #34D399;
  --success-bg: #064E3B;
  --warning: #FBBF24;
  --warning-bg: #78350F;
  --danger: #F87171;
  --danger-bg: #7F1D1D;
  --info: #60A5FA;
  --glass-bg: rgba(15,23,42,0.7);
  --glass-border: rgba(255,255,255,0.08);
  --glass-shadow: 0 8px 32px rgba(0,0,0,0.3);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.4);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.5);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.5);
  --public-bg: #0F172A;
  --public-text: #F1F5F9;
  --public-card: #1E293B;
  --public-border: #334155;
  --public-input: #1E293B;
  --public-input-border: #334155;
  --public-toggle-bg: #1E293B;
  --primary-rgb: 96, 165, 250;
}

/* Apply public theme variables */
body { background: var(--public-bg); color: var(--public-text); }
.navbar { background: var(--public-card); border-bottom: 1px solid var(--public-border); }
.card, .stat-card, .service-card, .testimonial-card, .news-card, .demarche-item, .media-item { background: var(--public-card); border: 1px solid var(--public-border); color: var(--public-text); }

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', -apple-system, sans-serif;
  background: var(--gray-50);
  color: var(--gray-800);
  line-height: 1.6;
  overflow-x: hidden;
}

.top-bar {
  background: var(--primary-dark);
  color: var(--white);
  padding: 8px 0;
  font-size: 0.8rem;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-bar a { color: var(--white); text-decoration: none; margin-left: 20px; }
.top-bar a:hover { text-decoration: underline; }
.top-bar .top-left span { margin-right: 20px; }
.top-bar .top-left i { margin-right: 6px; }

/* Theme & Language Toggles */
.top-bar .top-right { display: flex; align-items: center; gap: 10px; }
.pub-toggle-group { display: flex; align-items: center; background: rgba(255,255,255,0.08); backdrop-filter: blur(4px); border: 1px solid rgba(255,255,255,0.12); border-radius: 10px; padding: 3px; gap: 2px; }
.pub-toggle-group button { padding: 5px 10px; border: none; background: transparent; color: rgba(255,255,255,0.65); font-size: 0.72rem; font-weight: 700; border-radius: 7px; cursor: pointer; transition: all 0.25s ease; font-family: inherit; display: flex; align-items: center; gap: 4px; letter-spacing: 0.3px; }
.pub-toggle-group button:hover { color: #fff; background: rgba(255,255,255,0.12); transform: translateY(-1px); }
.pub-toggle-group button:active { transform: translateY(0); }
.pub-toggle-group button.active { background: linear-gradient(135deg, rgba(37,99,235,0.5), rgba(30,64,175,0.5)); color: #fff; box-shadow: 0 2px 8px rgba(37,99,235,0.2); }
.pub-toggle-group .lang-flag { font-size: 0.95rem; line-height: 1; display: inline-flex; align-items: center; justify-content: center; }
.pub-toggle-group .lang-en { font-size: 0.7rem; font-weight: 800; letter-spacing: 0.5px; }
.theme-toggle-icon { font-size: 0.9rem; line-height: 1; }

.navbar {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
}
.navbar.scrolled { box-shadow: var(--shadow-md); }
.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.nav-brand .logo-icon {
  width: 45px;
  height: 45px;
  background: var(--primary-gradient);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.4rem;
  font-weight: 700;
}
.nav-brand .nav-logo {
  height: 45px;
  width: auto;
  display: block;
}
.nav-brand .brand-text-header {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  margin-left: 4px;
}
.nav-brand .brand-line1 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-dark);
  letter-spacing: 0.3px;
}
.nav-brand .brand-line2 {
  font-size: 0.68rem;
  font-weight: 700;
  color: #d97706;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-top: -1px;
}
.nav-brand .brand-text { display: flex; flex-direction: column; }
.nav-brand .brand-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1.2;
}
.nav-brand .brand-sub {
  font-size: 0.65rem;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.nav-links { display: flex; align-items: center; gap: 5px; list-style: none; }
.nav-links a {
  padding: 8px 18px;
  text-decoration: none;
  color: var(--gray-600);
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  position: relative;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
  background: var(--sky-light);
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 60%;
  height: 3px;
  background: var(--primary-gradient);
  border-radius: 2px;
  transition: var(--transition);
}
.nav-links a:hover::after,
.nav-links a.active::after { transform: translateX(-50%) scaleX(1); }

.btn-login {
  background: var(--primary-gradient) !important;
  color: var(--white) !important;
  padding: 10px 24px !important;
  border-radius: 50px !important;
  font-weight: 600 !important;
  box-shadow: 0 4px 15px rgba(74, 155, 217, 0.4);
}
.btn-login::after { display: none !important; }
.btn-login:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(74, 155, 217, 0.5) !important;
  background: linear-gradient(135deg, #2C6FAC, #1a4f7a) !important;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary-dark);
  cursor: pointer;
  padding: 5px;
}

.hero {
  background: linear-gradient(135deg, rgba(0,0,0,0.55), rgba(0,0,0,0.25)), url('../images/agadir_hero-1905x530.jpeg') center/cover no-repeat;
  padding: 140px 0 110px;
  position: relative;
  overflow: hidden;
  min-height: 520px;
  display: flex;
  align-items: center;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(26,79,122,0.7) 0%, transparent 60%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, #4A9BD9, #00D2FF, #6C63FF);
  z-index: 2;
}
.hero .container { position: relative; z-index: 1; margin-left: 0; margin-right: auto; }
.hero-content { max-width: 620px; position: relative; padding-left: 30px; }
.hero-content::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 4px;
  background: linear-gradient(180deg, #4A9BD9, #00D2FF);
  border-radius: 4px;
  box-shadow: 0 0 20px rgba(74,155,217,0.4);
}
.hero-content .badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  color: #fff;
  padding: 7px 22px;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 25px;
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.hero-content h1 {
  font-size: 3rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 22px;
  text-shadow: 0 2px 30px rgba(0,0,0,0.3);
  letter-spacing: -0.5px;
}
.hero-content h1 span {
  background: linear-gradient(135deg, #87CEEB, #fff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}
.hero-content p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 35px;
  max-width: 520px;
  line-height: 1.8;
  text-shadow: 0 1px 10px rgba(0,0,0,0.15);
  font-weight: 300;
}
.hero-buttons { display: flex; gap: 15px; flex-wrap: wrap; }


.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  font-family: inherit;
}
.btn-primary {
  background: var(--primary-gradient);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(74,155,217,0.4);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(74,155,217,0.5);
}
.btn-outline {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border: 2px solid rgba(255,255,255,0.6);
  backdrop-filter: blur(4px);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.2);
  border-color: #fff;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}
.btn-white {
  background: var(--white);
  color: var(--primary-dark);
  box-shadow: var(--shadow-md);
}
.btn-white:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.btn-sm { padding: 10px 20px; font-size: 0.8rem; }
.btn-lg { padding: 16px 40px; font-size: 1rem; }

.section { padding: 80px 0; }
.section-header {
  text-align: center;
  margin-bottom: 50px;
}
.section-header .section-badge {
  display: inline-block;
  background: var(--sky-light);
  color: var(--primary-dark);
  padding: 5px 16px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}
.section-header h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 12px;
}
.section-header p {
  color: var(--gray-500);
  max-width: 600px;
  margin: 0 auto;
  font-size: 0.95rem;
}

.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 25px; }
.feature-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 35px 30px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  text-align: center;
  border: 1px solid var(--gray-100);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary-gradient);
  transform: scaleX(0);
  transition: var(--transition);
}
.feature-card:hover::before { transform: scaleX(1); }
.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}
.feature-card .icon {
  width: 70px;
  height: 70px;
  background: var(--sky-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.8rem;
  color: var(--primary);
  transition: var(--transition);
}
.feature-card:hover .icon { background: var(--primary-gradient); color: var(--white); }
.feature-card h3 { font-size: 1.1rem; margin-bottom: 10px; color: var(--gray-800); }
.feature-card p { font-size: 0.85rem; color: var(--gray-500); line-height: 1.6; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

.stats-section {
  background: linear-gradient(135deg, var(--primary-dark), #1a4f7a);
  padding: 60px 0;
  color: var(--white);
}
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px; text-align: center; }
.stat-item { padding: 20px; }
.stat-item .stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 5px;
  background: linear-gradient(135deg, var(--white), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-item .stat-label { font-size: 0.85rem; opacity: 0.85; font-weight: 400; }

.footer {
  background: var(--gray-900);
  color: var(--gray-300);
  padding: 60px 0 0;
}
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px; }
.footer h4 { color: var(--white); margin-bottom: 20px; font-size: 1rem; font-weight: 600; }
.footer p { font-size: 0.85rem; line-height: 1.7; }
.footer a { color: var(--gray-400); text-decoration: none; font-size: 0.85rem; display: block; margin-bottom: 10px; transition: var(--transition); }
.footer a:hover { color: var(--primary-light); padding-left: 4px; }
.footer-bottom {
  border-top: 1px solid var(--gray-700);
  padding: 20px 0;
  margin-top: 40px;
  text-align: center;
  font-size: 0.8rem;
  color: var(--gray-500);
}

.social-links{
    display:flex;
    gap:14px;
    align-items:center;
}

.social-link{
    width:48px;
    height:48px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    text-decoration:none;
    position:relative;
    overflow:hidden;
}

.social-link i{
    font-size:20px;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    width:100%;
    height:100%;
    position:relative;
    z-index:1;
    transition:0.3s ease;
}

/* Base background + subtle glass overlay */
.fb{
    background:#1877f2;
    box-shadow:0 4px 12px rgba(24,119,242,0.25);
    transition:0.3s ease;
}

.ig{
    background:linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888);
    box-shadow:0 4px 12px rgba(221,42,123,0.25);
    transition:0.3s ease;
}

.yt{
    background:#ff0000;
    box-shadow:0 4px 12px rgba(255,0,0,0.25);
    transition:0.3s ease;
}

/* Glass overlay that lifts on hover */
.social-link::after{
    content:'';
    position:absolute;
    inset:0;
    border-radius:50%;
    background:rgba(255,255,255,0.15);
    opacity:0;
    transition:0.3s ease;
}

.social-link:hover::after{ opacity:1; }

/* Hover effect */
.social-link:hover{
    transform:translateY(-4px) scale(1.06);
}

.fb:hover{ box-shadow:0 8px 25px rgba(24,119,242,0.4); }
.ig:hover{ box-shadow:0 8px 25px rgba(221,42,123,0.4); }
.yt:hover{ box-shadow:0 8px 25px rgba(255,0,0,0.4); }

/* Top bar: smaller, transparent base, brand color on hover */
.top-bar .social-links { display:inline-flex; gap:10px; align-items:center; vertical-align:middle; }
.top-bar .social-link { width:32px; height:32px; background:rgba(255,255,255,0.12); box-shadow:none; backdrop-filter:blur(4px); }
.top-bar .social-link i { font-size:14px; }
.top-bar .social-link::after{ display:none; }
.top-bar .social-link:hover{ background:var(--color); box-shadow:0 4px 12px rgba(0,0,0,0.2); }
.top-bar .social-link.fb:hover{ background:#1877f2; }
.top-bar .social-link.ig:hover{ background:linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); }
.top-bar .social-link.yt:hover{ background:#ff0000; }

/* Footer: slightly refined for the dark background */
.footer .social-link{ width:44px; height:44px; }
.footer .social-link i{ font-size:18px; }

.services-section { background: var(--white); }
.services-premium-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
}
.service-premium-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 35px 30px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-100);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-premium-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0;
  transition: var(--transition);
}
.service-premium-card:hover::before { opacity: 1; }
.service-premium-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); }
.service-premium-card .sp-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
  margin-bottom: 20px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
.service-premium-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 18px;
}
.service-premium-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.service-premium-card ul li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  font-size: 0.9rem;
  color: var(--gray-600);
  border-bottom: 1px solid var(--gray-100);
  transition: var(--transition);
}
.service-premium-card ul li:last-child { border-bottom: none; }
.service-premium-card ul li i {
  width: 22px;
  font-size: 0.95rem;
  color: var(--primary);
  text-align: center;
  flex-shrink: 0;
}
.service-premium-card ul li:hover { color: var(--primary-dark); padding-left: 4px; }
.service-premium-card ul li:hover i { transform: scale(1.15); }

.page-header {
  background: linear-gradient(135deg, #E8F4FD 0%, #B8D8F0 100%);
  padding: 60px 0 40px;
  text-align: center;
}
.page-header h1 { font-size: 2.2rem; font-weight: 700; color: var(--gray-900); margin-bottom: 10px; }
.page-header p { color: var(--gray-500); max-width: 600px; margin: 0 auto; font-size: 0.95rem; }
.breadcrumb { margin-top: 15px; font-size: 0.8rem; }
.breadcrumb a { color: var(--primary); text-decoration: none; }
.breadcrumb span { color: var(--gray-400); margin: 0 8px; }
.breadcrumb .current { color: var(--gray-500); }

.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 25px; }
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--gray-100);
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.service-card .service-img {
  height: 160px;
  background: var(--sky-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--primary);
}
.service-card .service-body { padding: 25px; }
.service-card .service-body h3 { font-size: 1.05rem; margin-bottom: 8px; }
.service-card .service-body p { font-size: 0.85rem; color: var(--gray-500); margin-bottom: 15px; line-height: 1.6; }
.service-card .service-footer { display: flex; justify-content: space-between; align-items: center; padding-top: 15px; border-top: 1px solid var(--gray-100); }
.service-card .service-footer .badge-status {
  font-size: 0.7rem;
  padding: 4px 12px;
  border-radius: 50px;
  font-weight: 500;
}
.badge-open { background: #DEF7EC; color: #03543F; }
.badge-scheduled { background: #FEF3C7; color: #92400E; }
.badge-online { background: #DBEAFE; color: #1E40AF; }

.maps-container { display: grid; grid-template-columns: 2fr 1fr; gap: 25px; }
.map-wrapper {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
}
.map-sidebar { display: flex; flex-direction: column; gap: 15px; }
.event-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 18px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition: var(--transition);
  cursor: pointer;
  border-left: 4px solid var(--primary);
}
.event-card:hover { transform: translateX(4px); box-shadow: var(--shadow-md); }
.event-card .event-date { font-size: 0.7rem; color: var(--primary); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.event-card h4 { font-size: 0.9rem; margin: 5px 0; }
.event-card p { font-size: 0.8rem; color: var(--gray-500); }
.event-card .event-tag {
  display: inline-block;
  font-size: 0.65rem;
  padding: 3px 10px;
  border-radius: 50px;
  margin-top: 8px;
  font-weight: 500;
}
.tag-culture { background: #FCE7F3; color: #9D174D; }
.tag-sport { background: #DBEAFE; color: #1E40AF; }
.tag-social { background: #DEF7EC; color: #03543F; }
.tag-education { background: #FEF3C7; color: #92400E; }

.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  position: relative;
}
.media-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--gray-100);
}
.media-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.media-card .media-img {
  height: 200px;
  background: linear-gradient(135deg, var(--sky-light), var(--sky-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  color: var(--primary);
  position: relative;
}
.media-card .media-img .overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(44,111,172,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}
.media-card:hover .media-img .overlay { opacity: 1; }
.media-card .media-img .overlay a { color: var(--white); font-size: 2rem; }
.media-card .media-body { padding: 20px; }
.media-card .media-body h3 { font-size: 1rem; margin-bottom: 6px; }
.media-card .media-body p { font-size: 0.8rem; color: var(--gray-500); }
.media-card .media-body .media-meta { margin-top: 10px; font-size: 0.7rem; color: var(--gray-400); display: flex; gap: 15px; }

.stat-up { background: #DEF7EC; color: #03543F; }
.stat-down { background: #FDE8E8; color: #9B1C1C; }
.login-section {
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, #E8F4FD 0%, #B8D8F0 50%, #87CEEB 100%);
}
.login-container {
  display: flex;
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  max-width: 900px;
  width: 100%;
}
.login-left {
  flex: 1;
  background: var(--primary-gradient);
  padding: 60px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--white);
}
.login-left h2 { font-size: 1.8rem; font-weight: 700; margin-bottom: 15px; }
.login-left p { font-size: 0.9rem; opacity: 0.9; line-height: 1.7; margin-bottom: 30px; }
.login-left .login-features { list-style: none; }
.login-left .login-features li { margin-bottom: 12px; font-size: 0.85rem; display: flex; align-items: center; gap: 10px; }
.login-left .login-features li i { width: 20px; }
.login-right {
  flex: 1.2;
  padding: 60px 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.login-right .login-logo { text-align: center; margin-bottom: 30px; }
.login-right .login-logo .logo-icon-sm {
  width: 60px; height: 60px;
  background: var(--primary-gradient);
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.login-right .login-logo h3 { font-size: 1.3rem; color: var(--gray-800); }
.login-right .login-logo p { font-size: 0.8rem; color: var(--gray-500); }

.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--gray-700);
}
.form-group label .required { color: var(--danger); }
.form-control {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-family: inherit;
  transition: var(--transition);
  background: var(--gray-50);
}
.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(74,155,217,0.1);
  background: var(--white);
}
.form-control.error { border-color: var(--danger); }
.form-group .error-text { font-size: 0.75rem; color: var(--danger); margin-top: 4px; display: none; }
.form-group .error-text.show { display: block; }

.form-options { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; font-size: 0.8rem; }
.form-options label { display: flex; align-items: center; gap: 6px; cursor: pointer; }
.form-options a { color: var(--primary); text-decoration: none; }
.form-options a:hover { text-decoration: underline; }

.login-right .btn { width: 100%; justify-content: center; padding: 16px; }
.login-divider {
  text-align: center;
  margin: 25px 0;
  position: relative;
}
.login-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gray-200);
}
.login-divider span {
  background: var(--white);
  padding: 0 15px;
  position: relative;
  color: var(--gray-400);
  font-size: 0.8rem;
}
.login-footer-text { text-align: center; margin-top: 20px; font-size: 0.85rem; color: var(--gray-500); }
.login-footer-text a { color: var(--primary); text-decoration: none; font-weight: 600; }

.chikaya-hero {
  background: linear-gradient(135deg, var(--primary-dark), #1a4f7a);
  padding: 80px 0;
  text-align: center;
  color: var(--white);
}
.chikaya-hero h1 { font-size: 2.5rem; font-weight: 700; margin-bottom: 15px; }
.chikaya-hero p { font-size: 1rem; opacity: 0.9; max-width: 600px; margin: 0 auto; }
.chikaya-hero .chikaya-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  padding: 5px 18px;
  border-radius: 50px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.chikaya-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin: -50px auto 50px; position: relative; z-index: 10; max-width: 1000px; padding: 0 20px; }
.step-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 30px 20px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.step-card .step-num {
  width: 45px; height: 45px;
  background: var(--primary-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 1.2rem;
  margin: 0 auto 15px;
}
.step-card h4 { font-size: 0.9rem; margin-bottom: 6px; }
.step-card p { font-size: 0.8rem; color: var(--gray-500); }

.chikaya-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-100);
  max-width: 700px;
  margin: 0 auto 50px;
}
.chikaya-form h3 { font-size: 1.2rem; margin-bottom: 25px; text-align: center; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
textarea.form-control { resize: vertical; min-height: 120px; }

.alert {
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 10px;
  display: none;
}
.alert.show { display: flex; }
.alert-success { background: #DEF7EC; color: #03543F; border: 1px solid #B7E4CC; }
.alert-error { background: #FDE8E8; color: #9B1C1C; border: 1px solid #F8B4B4; }
.alert-info { background: #DBEAFE; color: #1E40AF; border: 1px solid #A9CFF5; }

.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 25px; }
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition: var(--transition);
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.testimonial-card .stars { color: #F59E0B; font-size: 0.85rem; margin-bottom: 15px; }
.testimonial-card p { font-size: 0.95rem; color: var(--gray-600); line-height: 1.8; margin-bottom: 15px; font-style: italic; direction: rtl; text-align: start; }
.testimonial-card .testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-card .testimonial-author .avatar {
  width: 45px; height: 45px;
  border-radius: 50%;
  background: var(--sky-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-weight: 600;
  flex-shrink: 0;
}
.testimonial-card .testimonial-author .name { font-size: 0.85rem; font-weight: 600; }
.testimonial-card .testimonial-author .role { font-size: 0.75rem; color: var(--gray-400); }

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid var(--gray-200);
  border-top: 4px solid var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 20px auto;
}
.page-transition {
  animation: fadeInUp 0.5s ease;
}

/* ═══════════════════════════════════════
   PREMIUM ANIMATIONS
   ═══════════════════════════════════════ */

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInLeft { from { opacity: 0; transform: translateX(-30px); } to { opacity: 1; transform: translateX(0); } }
@keyframes fadeInRight { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: translateX(0); } }
@keyframes scaleIn { from { opacity: 0; transform: scale(0.9); } to { opacity: 1; transform: scale(1); } }
@keyframes slideUp { from { opacity: 0; transform: translateY(50px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideDown { from { opacity: 0; transform: translateY(-30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
@keyframes ripple { to { transform: scale(4); opacity: 0; } }
@keyframes glow { 0%, 100% { box-shadow: 0 0 5px rgba(74,155,217,0.3); } 50% { box-shadow: 0 0 20px rgba(74,155,217,0.6); } }
@keyframes gradientShift { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
@keyframes countUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes toastIn { from { opacity: 0; transform: translateX(100px); } to { opacity: 1; transform: translateX(0); } }
@keyframes toastOut { from { opacity: 1; transform: translateX(0); } to { opacity: 0; transform: translateX(100px); } }

/* Scroll reveal animation classes */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ═══════════════════════════════════════
   GLASSMORPHISM
   ═══════════════════════════════════════ */

.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(12px) saturate(1.2);
  -webkit-backdrop-filter: blur(12px) saturate(1.2);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}

.glass-dark {
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(12px) saturate(1.2);
  -webkit-backdrop-filter: blur(12px) saturate(1.2);
  border: 1px solid rgba(255,255,255,0.1);
}

/* ═══════════════════════════════════════
   TOAST NOTIFICATIONS
   ═══════════════════════════════════════ */

  .toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
  max-width: calc(100vw - 40px);
}

.toast {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
  animation: toastIn 0.4s ease forwards;
  min-width: 320px;
  max-width: 450px;
  border-left: 4px solid var(--primary);
}

.toast.toast-out { animation: toastOut 0.4s ease forwards; }

.toast .toast-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.toast .toast-content { flex: 1; }
.toast .toast-title { font-size: 0.85rem; font-weight: 600; color: var(--gray-800); }
.toast .toast-message { font-size: 0.78rem; color: var(--gray-500); margin-top: 2px; }
.toast .toast-close {
  background: none;
  border: none;
  color: var(--gray-400);
  cursor: pointer;
  font-size: 1.2rem;
  padding: 4px;
  line-height: 1;
  transition: var(--transition);
}
.toast .toast-close:hover { color: var(--gray-600); }

.toast-success { border-left-color: var(--success); }
.toast-success .toast-icon { background: var(--success-bg); color: var(--success); }
.toast-error { border-left-color: var(--danger); }
.toast-error .toast-icon { background: var(--danger-bg); color: var(--danger); }
.toast-warning { border-left-color: var(--warning); }
.toast-warning .toast-icon { background: var(--warning-bg); color: var(--warning); }
.toast-info { border-left-color: var(--info); }
.toast-info .toast-icon { background: #DBEAFE; color: var(--info); }

/* ═══════════════════════════════════════
   LOADING SKELETONS
   ═══════════════════════════════════════ */

.skeleton {
  background: linear-gradient(90deg, var(--gray-200) 25%, var(--gray-100) 50%, var(--gray-200) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}

.skeleton-text { height: 14px; margin-bottom: 8px; width: 100%; }
.skeleton-text.short { width: 60%; }
.skeleton-title { height: 22px; margin-bottom: 12px; width: 80%; }
.skeleton-avatar { width: 48px; height: 48px; border-radius: 50%; }
.skeleton-card { height: 180px; width: 100%; }
.skeleton-chart { height: 300px; width: 100%; }

/* ═══════════════════════════════════════
   PREMIUM COMPONENTS
   ═══════════════════════════════════════ */

/* Badge */
.premium-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Glow effect */
.glow-effect {
  position: relative;
  overflow: hidden;
}
.glow-effect::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(74,155,217,0.1) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.glow-effect:hover::after { opacity: 1; }

/* Gradient text */
.gradient-text {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Shimmer button */
.btn-shimmer {
  position: relative;
  overflow: hidden;
}
.btn-shimmer::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.6s;
}
.btn-shimmer:hover::before { left: 100%; }

/* Animated background gradient */
.gradient-animated {
  background: linear-gradient(-45deg, #E8F4FD, #B8D8F0, #87CEEB, #4A9BD9);
  background-size: 400% 400%;
  animation: gradientShift 8s ease infinite;
}

/* Counter animation base */

/* Hover lift effect */
.hover-lift {
  transition: var(--transition);
}
.hover-lift:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

/* Scale on hover */
.hover-scale {
  transition: var(--transition);
}
.hover-scale:hover { transform: scale(1.03); }

/* Image shimmer placeholder */
.img-placeholder {
  background: linear-gradient(90deg, var(--sky-light) 25%, var(--sky-dark) 50%, var(--sky-light) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

/* Premium card with gradient border */
.card-gradient-border {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2px;
}
.card-gradient-border::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: var(--radius-lg);
  background: var(--primary-gradient);
  z-index: 0;
}
.card-gradient-border > * {
  position: relative;
  z-index: 1;
  background: var(--white);
  border-radius: calc(var(--radius-lg) - 2px);
  margin: 2px;
  padding: 25px;
}

/* Notification dot */
.notif-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  display: inline-block;
}
.notif-dot.success { background: var(--success); }
.notif-dot.warning { background: var(--warning); }
.notif-dot.danger { background: var(--danger); }
.notif-dot.info { background: var(--info); }

/* Status pulse */
.status-pulse {
  width: 10px; height: 10px;
  border-radius: 50%;
  display: inline-block;
  animation: pulse 2s infinite;
}
.status-pulse.online { background: var(--success); }
.status-pulse.offline { background: var(--gray-400); animation: none; }
.status-pulse.busy { background: var(--warning); }

/* Floating animation for hero elements */
.float-animation { animation: float 4s ease-in-out infinite; }
.float-animation-delayed { animation: float 5s ease-in-out infinite; animation-delay: 1s; }

/* Page transitions enhanced */
.page-transition {
  animation: fadeInUp 0.5s ease;
}
.page-transition-fast {
  animation: fadeIn 0.3s ease;
}

/* Grid child animations */
.animate-stagger > * {
  opacity: 0;
  animation: fadeInUp 0.5s ease forwards;
}
.animate-stagger > *:nth-child(1) { animation-delay: 0.05s; }
.animate-stagger > *:nth-child(2) { animation-delay: 0.1s; }
.animate-stagger > *:nth-child(3) { animation-delay: 0.15s; }
.animate-stagger > *:nth-child(4) { animation-delay: 0.2s; }
.animate-stagger > *:nth-child(5) { animation-delay: 0.25s; }
.animate-stagger > *:nth-child(6) { animation-delay: 0.3s; }
.animate-stagger > *:nth-child(7) { animation-delay: 0.35s; }
.animate-stagger > *:nth-child(8) { animation-delay: 0.4s; }
.animate-stagger > *:nth-child(9) { animation-delay: 0.45s; }
.animate-stagger > *:nth-child(10) { animation-delay: 0.5s; }

/* Scrollbar styling */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--gray-100); }
::-webkit-scrollbar-thumb { background: var(--gray-300); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--gray-400); }

/* ────────────── STATS PAGE PREMIUM ────────────── */

.stats-hero {
  background: linear-gradient(135deg, #1a4f7a 0%, #2C6FAC 50%, #4A9BD9 100%);
  padding: 80px 0 60px;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.stats-hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -80px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
  border-radius: 50%;
}
.stats-hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -60px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(108,99,255,0.1) 0%, transparent 70%);
  border-radius: 50%;
}
.stats-hero .container { position: relative; z-index: 1; }
.stats-hero h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}
.stats-hero h1 i { margin-right: 12px; opacity: 0.9; }
.stats-hero p {
  font-size: 1rem;
  opacity: 0.85;
  max-width: 600px;
  margin: 0 auto 8px;
  font-weight: 300;
}
.stats-hero .stats-hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(6px);
  padding: 5px 20px;
  border-radius: 50px;
  font-size: 0.7rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
  border: 1px solid rgba(255,255,255,0.15);
}
.stats-hero .update-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  font-size: 0.75rem;
  opacity: 0.6;
  font-weight: 300;
}
.stats-hero .update-badge i { font-size: 0.6rem; }

/* Floating decorative shapes */
.stats-floating-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.stats-floating-shapes .shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.07;
}
.stats-floating-shapes .shape:nth-child(1) {
  width: 200px; height: 200px;
  background: var(--white);
  top: -40px; right: 10%;
  animation: float 6s ease-in-out infinite;
}
.stats-floating-shapes .shape:nth-child(2) {
  width: 120px; height: 120px;
  background: var(--accent);
  bottom: 20px; left: 8%;
  animation: float 8s ease-in-out infinite reverse;
}
.stats-floating-shapes .shape:nth-child(3) {
  width: 80px; height: 80px;
  background: var(--white);
  top: 30%; left: 20%;
  animation: float 5s ease-in-out infinite 1s;
}
.stats-section-inner {
  padding: 60px 0 80px;
  position: relative;
  background: var(--gray-50);
}

/* Premium Stat Cards */
.stats-dashboard {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 24px;
  margin-bottom: 45px;
}
.stat-card {
  background: var(--white);
  border-radius: 20px;
  padding: 28px 26px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
  border: 1px solid rgba(74,155,217,0.08);
  box-shadow: 0 4px 24px rgba(0,0,0,0.04);
}
.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary-gradient);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.stat-card:hover::before { opacity: 1; }
.stat-card::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 80% 20%, rgba(74,155,217,0.04) 0%, transparent 50%);
  pointer-events: none;
}
.stat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(74,155,217,0.12);
  border-color: rgba(74,155,217,0.15);
}
.stat-card .stat-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 18px;
}
.stat-card .stat-card-header .stat-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  position: relative;
  transition: all 0.3s ease;
}
.stat-card:hover .stat-card-header .stat-icon {
  transform: scale(1.05) rotate(-3deg);
}
.stat-card .stat-card-header .stat-icon i {
  position: relative;
  z-index: 1;
}
.stat-card .stat-card-header .stat-icon::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: inherit;
  filter: blur(8px);
  opacity: 0.3;
  transform: translateY(4px) scale(0.9);
  transition: opacity 0.3s;
}
.stat-card:hover .stat-card-header .stat-icon::after { opacity: 0.5; }
.stat-card .stat-card-header .stat-change {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  position: relative;
  overflow: hidden;
}
.stat-card .stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1.1;
  margin-bottom: 4px;
  letter-spacing: -0.5px;
}
.stat-card .stat-label {
  font-size: 0.82rem;
  color: var(--gray-400);
  font-weight: 500;
  letter-spacing: 0.2px;
}
.stat-card .stat-progress {
  margin-top: 14px;
  height: 3px;
  background: var(--gray-100);
  border-radius: 4px;
  overflow: hidden;
}
.stat-card .stat-progress .stat-progress-bar {
  height: 100%;
  border-radius: 4px;
  transition: width 1.2s cubic-bezier(0.4,0,0.2,1);
  width: 0;
}

/* Animated border glow card variant */
.stat-card-border {
  background: var(--white);
  border-radius: 20px;
  padding: 28px 26px;
  position: relative;
  transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
  box-shadow: 0 4px 24px rgba(0,0,0,0.04);
}
.stat-card-border::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 2px;
  background: linear-gradient(135deg, var(--primary), var(--accent), var(--secondary), var(--primary));
  background-size: 300% 300%;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  animation: gradientShift 4s ease infinite;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.stat-card-border:hover::before { opacity: 1; }
.stat-card-border:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(74,155,217,0.12);
}

/* Counter animation for stat numbers */
.stat-number.animate-count {
  animation: countUp 0.6s ease forwards;
}

/* Premium Chart Containers */
.charts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 28px;
}
@media (max-width: 992px) {
  .charts-grid { grid-template-columns: 1fr; }
}
.chart-card {
  background: var(--white);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.04);
  border: 1px solid rgba(74,155,217,0.08);
  transition: all 0.3s ease;
}
.chart-card:hover {
  box-shadow: 0 8px 40px rgba(74,155,217,0.1);
  border-color: rgba(74,155,217,0.12);
}
.chart-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--gray-100);
}
.chart-card-header .chart-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gray-800);
}
.chart-card-header .chart-title i {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  background: var(--sky-light);
  color: var(--primary);
}
.chart-card-header .chart-badge {
  font-size: 0.65rem;
  padding: 3px 12px;
  border-radius: 50px;
  background: var(--gray-50);
  color: var(--gray-400);
  font-weight: 500;
}
.chart-card .chart-body {
  position: relative;
  height: 280px;
}
.chart-card .chart-body-lg {
  height: 280px;
}

/* Full-width chart cards */
.chart-card-full {
  grid-column: 1 / -1;
}

/* Stats summary row */
.stats-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 45px;
  padding: 24px 28px;
  background: linear-gradient(135deg, rgba(74,155,217,0.04), rgba(108,99,255,0.04));
  border-radius: 16px;
  border: 1px solid rgba(74,155,217,0.08);
}
.stats-summary-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-right: 24px;
  border-right: 1px solid var(--gray-200);
}
.stats-summary-item:last-child { border-right: none; }
.stats-summary-item .ssi-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.stats-summary-item .ssi-text { display: flex; flex-direction: column; }
.stats-summary-item .ssi-text .ssi-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gray-800);
  line-height: 1.2;
}
.stats-summary-item .ssi-text .ssi-label {
  font-size: 0.7rem;
  color: var(--gray-400);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Page transition enhanced */
.stats-page-inner {
  animation: fadeInUp 0.6s ease;
}

/* Enhanced feature card with gradient icon */
.feature-card .icon.gradient-icon {
  background: var(--primary-gradient);
  color: var(--white);
}

/* ═══════════════════════════════════════
   SITE-WIDE PREMIUM UPGRADES
   ═══════════════════════════════════════ */

/* --- Premium Page Hero (replaces .page-header) --- */
.page-hero {
  background: linear-gradient(135deg, #1a4f7a 0%, #2C6FAC 50%, #4A9BD9 100%);
  padding: 70px 0 50px;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -100px; right: -60px;
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -40px;
  width: 250px; height: 250px;
  background: radial-gradient(circle, rgba(108,99,255,0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 {
  font-size: 2.3rem;
  font-weight: 800;
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}
.page-hero h1 i { margin-right: 10px; opacity: 0.9; }
.page-hero p {
  font-size: 0.95rem;
  opacity: 0.85;
  max-width: 580px;
  margin: 0 auto;
  font-weight: 300;
}
.page-hero .breadcrumb {
  margin-top: 16px;
  font-size: 0.78rem;
}
.page-hero .breadcrumb a { color: rgba(255,255,255,0.7); text-decoration: none; transition: 0.3s; }
.page-hero .breadcrumb a:hover { color: var(--white); }
.page-hero .breadcrumb span { color: rgba(255,255,255,0.4); margin: 0 8px; }
.page-hero .breadcrumb .current { color: rgba(255,255,255,0.6); }

/* Floating shapes for pages */
.page-floating-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.page-floating-shapes .shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.06;
}
.page-floating-shapes .shape:nth-child(1) {
  width: 180px; height: 180px;
  background: var(--white);
  top: -30px; right: 8%;
  animation: float 6s ease-in-out infinite;
}
.page-floating-shapes .shape:nth-child(2) {
  width: 100px; height: 100px;
  background: var(--accent);
  bottom: 30px; left: 5%;
  animation: float 8s ease-in-out infinite reverse;
}
.page-floating-shapes .shape:nth-child(3) {
  width: 60px; height: 60px;
  background: var(--white);
  top: 25%; left: 15%;
  animation: float 5s ease-in-out infinite 1s;
}

/* --- Premium Section --- */
.premium-section {
  padding: 70px 0;
}
.premium-section-alt {
  background: var(--white);
}
.premium-section-glass {
  background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
}

/* --- Premium Content Card --- */
.premium-card {
  background: var(--white);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.04);
  border: 1px solid rgba(74,155,217,0.08);
  transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
}
.premium-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(74,155,217,0.1);
  border-color: rgba(74,155,217,0.15);
}

/* --- Premium Service Card --- */
.service-card {
  border-radius: 20px !important;
  overflow: hidden;
  position: relative;
  transition: all 0.4s cubic-bezier(0.4,0,0.2,1) !important;
  border: 1px solid rgba(74,155,217,0.08) !important;
  box-shadow: 0 4px 24px rgba(0,0,0,0.04) !important;
}
.service-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 16px 48px rgba(74,155,217,0.15) !important;
  border-color: rgba(74,155,217,0.15) !important;
}
.service-card .service-img {
  height: 140px !important;
  font-size: 2.5rem !important;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}
.service-card .service-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.03));
  pointer-events: none;
}
.service-card:hover .service-img {
  transform: scale(1.03);
}
.service-card .service-body {
  padding: 24px 25px !important;
}
.service-card .service-body h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 10px !important;
}
.service-card .service-body p {
  font-size: 0.82rem !important;
  line-height: 1.6;
}
.service-card .service-footer {
  padding-top: 18px !important;
  border-top: 1px solid var(--gray-100);
}

/* --- Premium Media Card --- */
.media-card {
  border-radius: 18px !important;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4,0,0.2,1) !important;
  box-shadow: 0 4px 24px rgba(0,0,0,0.04) !important;
  border: 1px solid rgba(74,155,217,0.08) !important;
  opacity: 1;
  transform: translateY(0) scale(1);
}
.media-card.hidden {
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  pointer-events: none;
  position: absolute;
  visibility: hidden;
}
.media-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 16px 48px rgba(74,155,217,0.15) !important;
}
.media-card .media-img {
  height: 200px !important;
  background-size: cover !important;
  background-position: center !important;
  font-size: 0 !important;
  transition: all 0.4s ease;
  position: relative;
}
.media-card:hover .media-img {
  transform: scale(1.02);
}
.media-card .media-img .overlay {
  background: rgba(26,79,122,0.75) !important;
  backdrop-filter: blur(3px);
}
.media-card .media-body {
  padding: 22px 24px !important;
}
.media-card .media-body h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px !important;
}
.media-card .media-body p {
  font-size: 0.8rem !important;
  line-height: 1.6;
}
.media-card .media-body .media-meta {
  margin-top: 12px !important;
  gap: 18px !important;
}

/* --- Premium Section Header --- */
.section-header .section-badge {
  background: linear-gradient(135deg, var(--sky-light), rgba(74,155,217,0.15)) !important;
  padding: 6px 18px !important;
  font-weight: 700;
  letter-spacing: 1.2px;
}
.section-header h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 14px;
}
.section-header h2 i { color: var(--primary); margin-right: 8px; }

/* --- Premium Step Card (Chikaya) --- */
.step-card {
  background: var(--white);
  border-radius: 18px !important;
  padding: 32px 24px !important;
  transition: all 0.4s cubic-bezier(0.4,0,0.2,1) !important;
  border: 1px solid rgba(74,155,217,0.08) !important;
  box-shadow: 0 4px 24px rgba(0,0,0,0.04) !important;
  position: relative;
  overflow: hidden;
}
.step-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 16px 48px rgba(74,155,217,0.15) !important;
}
.step-card .step-num {
  background: var(--primary-gradient) !important;
  width: 48px !important;
  height: 48px !important;
  font-size: 1.1rem !important;
  box-shadow: 0 6px 20px rgba(74,155,217,0.3);
  transition: all 0.3s;
}
.step-card:hover .step-num {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(74,155,217,0.4);
}
.step-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 8px !important;
}
.step-card p {
  font-size: 0.8rem !important;
  line-height: 1.6;
}

/* --- Premium Form Container --- */
.premium-form {
  background: var(--white);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.04);
  border: 1px solid rgba(74,155,217,0.08);
  transition: all 0.3s;
}
.premium-form:hover {
  box-shadow: 0 8px 40px rgba(74,155,217,0.1);
}
.premium-form h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 28px;
  text-align: center;
}
.premium-form h3 i { color: var(--primary); margin-right: 8px; }

/* --- Enhanced Buttons --- */
.btn-premium {
  background: var(--primary-gradient);
  color: var(--white) !important;
  box-shadow: 0 4px 20px rgba(74,155,217,0.35);
  border-radius: 50px;
  padding: 14px 32px;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  position: relative;
  overflow: hidden;
}
.btn-premium:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(74,155,217,0.5);
}

/* --- Smooth Entrance for Sections --- */
.premium-fade-in {
  animation: fadeInUp 0.6s ease;
}

/* --- Login Page Premium --- */
.login-page-section {
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, #E8F4FD 0%, #B8D8F0 50%, #87CEEB 100%);
  position: relative;
  overflow: hidden;
}
.login-page-section::before {
  content: '';
  position: absolute;
  top: -30%; right: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(74,155,217,0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.login-page-section::after {
  content: '';
  position: absolute;
  bottom: -20%; left: -5%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(108,99,255,0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

/* --- Chikaya Hero Premium --- */
.chikaya-hero {
  background: linear-gradient(135deg, #1a4f7a 0%, #2C6FAC 50%, #4A9BD9 100%) !important;
  position: relative;
  overflow: hidden;
  padding: 90px 0 !important;
}
.chikaya-hero::before {
  content: '';
  position: absolute;
  top: -80px; right: -60px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.chikaya-hero::after {
  content: '';
  position: absolute;
  bottom: -60px; left: -40px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(108,99,255,0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.chikaya-hero .chikaya-badge {
  background: rgba(255,255,255,0.12) !important;
  backdrop-filter: blur(6px);
  padding: 6px 20px !important;
  border: 1px solid rgba(255,255,255,0.15) !important;
  font-weight: 700;
  letter-spacing: 2px;
}
.chikaya-hero h1 { font-size: 2.5rem !important; font-weight: 800 !important; }
.chikaya-hero p { font-size: 1rem !important; opacity: 0.85 !important; }

/* --- Premium Maps Styling --- */
.map-wrapper {
  border-radius: 20px !important;
  border: 1px solid rgba(74,155,217,0.08) !important;
  box-shadow: 0 4px 24px rgba(0,0,0,0.04) !important;
}
.event-card {
  border-radius: 16px !important;
  border-left: 4px solid var(--primary) !important;
  padding: 20px 22px !important;
  transition: all 0.4s cubic-bezier(0.4,0,0.2,1) !important;
  border: 1px solid rgba(74,155,217,0.08) !important;
  box-shadow: 0 4px 24px rgba(0,0,0,0.04) !important;
}
.event-card:hover {
  transform: translateX(6px) !important;
  box-shadow: 0 12px 40px rgba(74,155,217,0.12) !important;
}

/* --- Login / Register Card Premium --- */
.login-container {
  border-radius: 24px !important;
  box-shadow: 0 20px 60px rgba(0,0,0,0.1) !important;
}
.login-left {
  padding: 60px 45px !important;
  background: linear-gradient(135deg, #1a4f7a, #2C6FAC, #4A9BD9) !important;
}
.login-left h2 { font-size: 1.8rem; font-weight: 800; }
.login-right {
  padding: 60px 50px !important;
}

/* --- Premium Grid Entrances --- */
.premium-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}
.premium-grid > * {
  opacity: 0;
  animation: fadeInUp 0.5s ease forwards;
}
.premium-grid > *:nth-child(1) { animation-delay: 0.05s; }
.premium-grid > *:nth-child(2) { animation-delay: 0.1s; }
.premium-grid > *:nth-child(3) { animation-delay: 0.15s; }
.premium-grid > *:nth-child(4) { animation-delay: 0.2s; }
.premium-grid > *:nth-child(5) { animation-delay: 0.25s; }
.premium-grid > *:nth-child(6) { animation-delay: 0.3s; }
.premium-grid > *:nth-child(7) { animation-delay: 0.35s; }
.premium-grid > *:nth-child(8) { animation-delay: 0.4s; }

/* --- Smooth Scroll & Selection --- */
::selection {
  background: var(--primary);
  color: var(--white);
}

/* --- Testimonial Premium --- */
.testimonial-card {
  border-radius: 18px !important;
  padding: 32px 30px !important;
  transition: all 0.4s cubic-bezier(0.4,0,0.2,1) !important;
  border: 1px solid rgba(74,155,217,0.08) !important;
  box-shadow: 0 4px 24px rgba(0,0,0,0.04) !important;
}
.testimonial-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 16px 48px rgba(74,155,217,0.15) !important;
}
.testimonial-card .testimonial-author .avatar {
  background: var(--primary-gradient) !important;
  color: var(--white) !important;
  box-shadow: 0 4px 12px rgba(74,155,217,0.3);
}

/* --- Forgot Password --- */
.forgot-section {
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, #E8F4FD 0%, #B8D8F0 50%, #87CEEB 100%);
  position: relative;
  overflow: hidden;
}
.forgot-card {
  background: var(--white);
  border-radius: 20px;
  padding: 50px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.1);
  max-width: 460px;
  width: 100%;
  text-align: center;
}
.forgot-card .forgot-icon {
  width: 70px;
  height: 70px;
  background: var(--sky-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.8rem;
  color: var(--primary);
}
.forgot-card h2 { font-size: 1.5rem; font-weight: 700; margin-bottom: 10px; }
.forgot-card p { font-size: 0.85rem; color: var(--gray-500); margin-bottom: 25px; }

@media (max-width: 992px) {
  .hero .container { flex-direction: column; text-align: center; }
  .hero-content p { margin: 0 auto 30px; }
  .hero-buttons { justify-content: center; }
  .maps-container { grid-template-columns: 1fr; }
  .login-container { flex-direction: column; max-width: 480px; }
  .login-left { padding: 40px 30px; }
  .login-right { padding: 40px 30px; }
  .video-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px;
    box-shadow: var(--shadow-lg);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .top-bar .container { flex-direction: column; gap: 8px; }
  .hero-content h1 { font-size: 2rem; }
  .section-header h2 { font-size: 1.6rem; }
  .form-row { grid-template-columns: 1fr; }
  .chikaya-form { padding: 25px; }
  .media-filters { flex-wrap: wrap; }
  .filter-btn { font-size: 0.75rem; padding: 6px 14px; }
  .media-grid { grid-template-columns: 1fr; }
}

/* --- Media Gallery (Médiathèque) --- */
.media-filters {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 35px;
  flex-wrap: wrap;
}
.filter-btn {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 50px;
  padding: 8px 22px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-600);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  font-family: inherit;
}
.filter-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--sky-light);
}
.filter-btn.active {
  background: var(--primary-gradient);
  color: var(--white);
  border-color: transparent;
  box-shadow: 0 4px 20px rgba(74,155,217,0.35);
}

.media-card .media-img {
  height: 200px !important;
  background-size: cover !important;
  background-position: center !important;
  font-size: 0 !important;
  transition: all 0.4s ease;
  position: relative;
}
.media-card:hover .media-img {
  transform: scale(1.02);
}
.media-card .media-img .overlay {
  position: absolute;
  inset: 0;
  background: rgba(26,79,122,0.75) !important;
  backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s;
}
.media-card:hover .media-img .overlay { opacity: 1; }
.media-card .media-img .overlay a {
  color: var(--white);
  font-size: 1.8rem;
  transform: scale(0.8);
  transition: all 0.3s;
}
.media-card:hover .media-img .overlay a { transform: scale(1); }

.media-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(4px);
  padding: 3px 12px;
  border-radius: 50px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--primary-dark);
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* --- Video Section --- */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 25px;
}
.video-card {
  background: var(--white);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.04);
  border: 1px solid rgba(74,155,217,0.08);
  transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
}
.video-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(74,155,217,0.15);
}
.video-placeholder {
  position: relative;
  padding-bottom: 56.25%;
  background-size: cover !important;
  background-position: center !important;
  cursor: pointer;
  overflow: hidden;
}
.video-placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.2);
  transition: all 0.3s;
}
.video-card:hover .video-placeholder::after {
  background: rgba(0,0,0,0.4);
}
.video-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 60px; height: 60px;
  background: rgba(255,255,255,0.95);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--primary-dark);
  z-index: 2;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  transition: all 0.3s;
}
.video-card:hover .video-play {
  transform: translate(-50%, -50%) scale(1.1);
  background: var(--white);
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}
.video-play i {
  margin-left: 3px;
}

.video-body {
  padding: 20px 24px;
}
.video-body h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.video-body p {
  font-size: 0.8rem;
  color: var(--gray-500);
  line-height: 1.6;
}

/* --- VR / Virtual Tour --- */
.vr-wrapper {
  background: linear-gradient(135deg, #1a4f7a, #2C6FAC, #4A9BD9);
  border-radius: 24px;
  padding: 70px 40px;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.vr-wrapper::before {
  content: '';
  position: absolute;
  top: -40%; right: -10%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.vr-wrapper::after {
  content: '';
  position: absolute;
  bottom: -30%; left: -5%;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(108,99,255,0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.vr-content { position: relative; z-index: 1; }
.vr-content i.fa-vr-cardboard {
  font-size: 4rem;
  margin-bottom: 20px;
  opacity: 0.9;
}
.vr-content h3 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 12px;
}
.vr-content p {
  font-size: 0.9rem;
  opacity: 0.8;
  max-width: 500px;
  margin: 0 auto 30px;
  line-height: 1.7;
}
.vr-features {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}
.vr-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(6px);
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,0.15);
}
.vr-feature i { font-size: 1.1rem; }

/* --- Lightbox Modal --- */
.lightbox-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  inset: 0;
  background: rgba(0,0,0,0.92);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.lightbox-modal.show {
  display: flex;
  opacity: 1;
}
.lightbox-content {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 12px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}
.lightbox-modal.show .lightbox-content {
  transform: scale(1);
}
.lightbox-close {
  position: absolute;
  top: 30px;
  right: 40px;
  color: rgba(255,255,255,0.7);
  font-size: 2.5rem;
  font-weight: 300;
  cursor: pointer;
  transition: all 0.3s;
  z-index: 10000;
  line-height: 1;
}
.lightbox-close:hover {
  color: var(--white);
  transform: rotate(90deg);
}

/* ═══════════════════════════════════════════════════
   RESPONSIVE BASE UTILITIES (applies at all sizes)
   ═══════════════════════════════════════════════════ */
img, video, iframe, embed, object { max-width: 100%; height: auto; }
.table-responsive { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-responsive table { min-width: 600px; }

/* Touch device hover overlay fallback */
@media (hover: none) and (pointer: coarse) {
  .media-card .media-img .overlay { opacity: 1; background: rgba(26,79,122,0.5); }
  .media-card .media-img .overlay a { transform: scale(1); }
  .social-link::after { opacity: 0.5; }
  .feature-card::before { transform: scaleX(1); }
  .service-premium-card::before { opacity: 1; }
  .stat-card::before { opacity: 1; }
  .step-card:hover { transform: none !important; }
  .hover-lift:hover { transform: none; }
  .hover-scale:hover { transform: none; }
}

/* Hide decorative shapes on small devices to prevent overflow */
@media (max-width: 767px) {
  .stats-floating-shapes, .page-floating-shapes, .chikaya-hero::before, .chikaya-hero::after,
  .stats-hero::before, .stats-hero::after, .page-hero::before, .page-hero::after { display: none; }
}

/* ═══════════════════════════════════════════════════
   4K / ULTRAWIDE  (2000px+)
   ═══════════════════════════════════════════════════ */
@media (min-width: 2000px) {
  .container { max-width: 1600px; }
  html { font-size: 18px; }
  .hero { min-height: 680px; padding: 180px 0 140px; }
  .hero-content { max-width: 800px; }
  .hero-content h1 { font-size: 4.2rem; }
  .hero-content p { font-size: 1.25rem; max-width: 650px; }
  .features-grid { grid-template-columns: repeat(5, 1fr); gap: 30px; }
  .services-premium-grid { max-width: 1300px; grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: repeat(5, 1fr); }
  .stats-dashboard { grid-template-columns: repeat(5, 1fr); }
  .charts-grid { gap: 36px; }
  .chart-card .chart-body { height: 340px; }
  .chart-card .chart-body-lg { height: 340px; }
  .media-grid { grid-template-columns: repeat(4, 1fr); }
  .video-grid { grid-template-columns: repeat(3, 1fr); }
  .section { padding: 100px 0; }
}

/* --- 1400px+ Big Screens --- */
@media (min-width: 1400px) and (max-width: 1999px) {
  .container { max-width: 1320px; }
  html { font-size: 16px; }
  .hero { min-height: 580px; }
  .hero-content h1 { font-size: 3.5rem; }
  .hero-content p { font-size: 1.15rem; max-width: 580px; }
  .features-grid { grid-template-columns: repeat(4, 1fr); }
  .services-premium-grid { max-width: 1100px; }
  .footer-grid { grid-template-columns: repeat(4, 1fr); }
  .stats-dashboard { grid-template-columns: repeat(4, 1fr); }
  .charts-grid { gap: 32px; }
  .media-grid { grid-template-columns: repeat(3, 1fr); }
}

/* --- 1200px Medium-Large Desktops --- */
@media (max-width: 1399px) and (min-width: 1200px) {
  html { font-size: 15px; }
  .container { max-width: 1140px; }
  .hero-content h1 { font-size: 2.8rem; }
  .features-grid { grid-template-columns: repeat(3, 1fr); }
  .services-premium-grid { grid-template-columns: repeat(2, 1fr); max-width: 850px; }
  .charts-grid { gap: 24px; }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .stats-dashboard { grid-template-columns: repeat(3, 1fr); }
}

/* --- 992px Tablets Landscape / Small Desktops --- */
@media (max-width: 1199px) and (min-width: 992px) {
  html { font-size: 14px; }
  .container { max-width: 960px; }
  .hero .container { flex-direction: column; text-align: center; }
  .hero-content { max-width: 100%; padding-left: 0; }
  .hero-content::before { display: none; }
  .hero-content p { margin: 0 auto 30px; }
  .hero-buttons { justify-content: center; }
  .maps-container { grid-template-columns: 1fr; }
  .login-container { flex-direction: column; max-width: 480px; }
  .login-left { padding: 40px 30px; }
  .login-right { padding: 40px 30px; }
  .video-grid { grid-template-columns: 1fr; }
  .nav-links a { padding: 8px 12px; font-size: 0.78rem; }
  .nav-brand .brand-name { font-size: 1rem; }
  .nav-brand .brand-sub { font-size: 0.55rem; letter-spacing: 1px; }
  .nav-brand .logo-icon { width: 38px; height: 38px; font-size: 1.1rem; }
  .nav-brand .nav-logo { height: 38px; }
  .nav-brand .brand-line1 { font-size: 0.9rem; }
  .nav-brand .brand-line2 { font-size: 0.55rem; letter-spacing: 1.5px; }
  .stats-dashboard { grid-template-columns: repeat(3, 1fr); }
  .stats-hero h1 { font-size: 2rem; }
  .stats-summary { gap: 12px; padding: 20px; }
  .stats-summary-item { padding-right: 16px; }
  .section { padding: 60px 0; }
  .premium-section { padding: 50px 0; }
  .page-hero h1 { font-size: 1.8rem; }
  .page-hero { padding: 50px 0 36px; }
  .chikaya-hero h1 { font-size: 2rem !important; }
  .media-filters { gap: 8px; }
  .filter-btn { padding: 6px 16px; font-size: 0.78rem; }
  .login-page-section { padding: 40px 20px; }
  .vr-wrapper { padding: 50px 30px; }
  .vr-content h3 { font-size: 1.3rem; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .features-grid { grid-template-columns: repeat(3, 1fr); }
  .services-premium-grid { grid-template-columns: repeat(2, 1fr); max-width: 850px; }
  .charts-grid { grid-template-columns: 1fr; }
}

/* --- 768px Tablets Portrait --- */
@media (max-width: 991px) and (min-width: 768px) {
  html { font-size: 13px; }
  .container { max-width: 720px; }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px;
    box-shadow: var(--shadow-lg);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 20px; font-size: 0.9rem; border-radius: var(--radius-sm); }
  .nav-links a::after { display: none; }
  .nav-toggle { display: block; z-index: 1001; }
  .top-bar .container { flex-direction: column; gap: 8px; }
  .top-bar { font-size: 0.72rem; padding: 6px 0; }
  .top-bar .social-link { width: 28px; height: 28px; }
  .top-bar .social-link i { font-size: 12px; }
  .hero-content h1 { font-size: 2rem; }
  .hero { padding: 100px 0 80px; min-height: 420px; }
  .section-header h2 { font-size: 1.6rem; }
  .section-header { margin-bottom: 36px; }
  .form-row { grid-template-columns: 1fr; }
  .chikaya-form { padding: 25px; }
  .chikaya-form h3 { font-size: 1.05rem; }
  .media-filters { flex-wrap: wrap; gap: 6px; }
  .filter-btn { font-size: 0.75rem; padding: 6px 14px; }
  .media-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-dashboard { grid-template-columns: repeat(2, 1fr); }
  .stats-hero h1 { font-size: 1.6rem; }
  .stats-hero .stats-hero-badge { font-size: 0.6rem; padding: 4px 14px; }
  .stat-card { padding: 22px 20px; }
  .stat-card .stat-number { font-size: 1.8rem; }
  .stats-section-inner { padding: 40px 0 50px; }
  .chart-card .chart-body { height: 220px; }
  .chart-card .chart-body-lg { height: 220px; }
  .stats-summary { flex-direction: column; gap: 10px; padding: 16px 20px; }
  .stats-summary-item { border-right: none; border-bottom: 1px solid var(--gray-200); padding: 8px 0; }
  .stats-summary-item:last-child { border-bottom: none; }
  .features-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .feature-card { padding: 25px 20px; }
  .services-premium-grid { grid-template-columns: repeat(2, 1fr); max-width: 100%; }
  .service-premium-card { padding: 28px 24px; }
  .footer { padding: 40px 0 0; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .login-left { display: none; }
  .login-right { padding: 36px 28px !important; }
  .login-container { max-width: 400px; }
  .chikaya-steps { grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: -40px; }
  .step-card { padding: 24px 16px !important; }
  .chikaya-hero { padding: 60px 0 !important; }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .testimonial-card { padding: 24px 22px !important; }
  .premium-card { padding: 24px; }
  .section { padding: 44px 0; }
  .premium-section { padding: 40px 0; }
  .charts-grid { grid-template-columns: 1fr; }
  .page-hero { padding: 40px 0 30px; }
  .page-hero h1 { font-size: 1.5rem; }
  .forgot-card { padding: 36px 28px; }
  .forgot-card h2 { font-size: 1.2rem; }
  .stats-section { padding: 40px 0; }
  .stats-grid { gap: 16px; }
  .stat-item .stat-number { font-size: 2rem; }
  .media-card .media-img { height: 170px !important; }
  .vr-wrapper { padding: 40px 24px; border-radius: 18px; }
  .vr-content h3 { font-size: 1.1rem; }
  .vr-content p { font-size: 0.82rem; }
  .vr-features { gap: 16px; }
  .vr-feature { font-size: 0.78rem; padding: 8px 16px; }
  .video-body { padding: 16px 18px; }
  .video-body h3 { font-size: 0.88rem; }
  .premium-form { padding: 28px 24px; }
  .lightbox-close { top: 20px; right: 24px; font-size: 2rem; }
  .breadcrumb { font-size: 0.72rem; }
  .hero-content .badge { font-size: 0.6rem; padding: 5px 16px; }
  .hero .container, .hero-content { text-align: center; }
  .hero-content { padding-left: 0; }
  .hero-content::before { display: none; }
  .hero-content p { margin: 0 auto 30px; }
  .hero-buttons { justify-content: center; }
  .maps-container { grid-template-columns: 1fr; }
  .login-container { flex-direction: column; }
  .video-grid { grid-template-columns: 1fr; }
}

/* --- 576px-767px Large Phones + Small Tablets --- */
@media (max-width: 767px) and (min-width: 576px) {
  html { font-size: 13px; }
  .container { padding: 0 16px; }
  .hero-content h1 { font-size: 1.8rem; }
  .hero { padding: 80px 0 60px; min-height: 360px; }
  .hero-content p { font-size: 0.9rem; margin-bottom: 24px; }
  .hero-buttons { flex-direction: column; align-items: stretch; gap: 12px; }
  .hero-buttons .btn { justify-content: center; }
  .section-header h2 { font-size: 1.4rem; }
  .section-header p { font-size: 0.85rem; }
  .section-header .section-badge { font-size: 0.65rem; padding: 4px 14px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .feature-card .icon { width: 56px; height: 56px; font-size: 1.4rem; }
  .feature-card h3 { font-size: 1rem; }
  .feature-card p { font-size: 0.8rem; }
  .stat-item .stat-number { font-size: 1.8rem; }
  .stat-item .stat-label { font-size: 0.78rem; }
  .btn { padding: 12px 24px; font-size: 0.85rem; }
  .btn-lg { padding: 14px 32px; font-size: 0.9rem; }
  .btn-login { padding: 10px 18px !important; font-size: 0.85rem !important; }
  .page-header { padding: 40px 0 30px; }
  .page-header h1 { font-size: 1.5rem; }
  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .chikaya-steps { grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: -30px; }
  .step-card h4 { font-size: 0.85rem; }
  .step-card p { font-size: 0.78rem !important; }
  .chikaya-form { padding: 24px 20px; }
  .stats-dashboard { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .stat-card { padding: 20px 18px; }
  .stat-card .stat-number { font-size: 1.6rem; }
  .stat-card .stat-label { font-size: 0.78rem; }
  .stats-hero h1 { font-size: 1.5rem; }
  .stats-hero p { font-size: 0.88rem; }
  .stats-hero { padding: 50px 0 40px; }
  .charts-grid { gap: 18px; }
  .chart-card { padding: 20px 16px; }
  .chart-card .chart-body { height: 200px; }
  .chart-card .chart-body-lg { height: 200px; }
  .page-hero { padding: 36px 0 28px; }
  .page-hero h1 { font-size: 1.4rem; }
  .page-hero p { font-size: 0.85rem; }
  .premium-section { padding: 36px 0; }
  .testimonial-card p { font-size: 0.9rem; }
  .testimonial-card { padding: 22px 20px !important; }
  .login-page-section { padding: 30px 16px; }
  .login-right { padding: 28px 24px !important; }
  .login-left { display: none; }
  .forgot-card { padding: 30px 24px; }
  .forgot-card .forgot-icon { width: 60px; height: 60px; font-size: 1.5rem; }
  .forgot-card h2 { font-size: 1.15rem; }
  .media-card .media-img { height: 150px !important; }
  .media-card .media-body { padding: 16px 18px !important; }
  .media-card .media-body h3 { font-size: 0.92rem; }
  .media-card .media-body p { font-size: 0.78rem !important; }
  .media-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .video-grid { grid-template-columns: 1fr; gap: 18px; }
  .video-body { padding: 14px 16px; }
  .vr-wrapper { padding: 36px 22px; border-radius: 16px; }
  .vr-content i.fa-vr-cardboard { font-size: 3rem; }
  .vr-content h3 { font-size: 1.1rem; }
  .vr-feature { padding: 8px 16px; font-size: 0.78rem; }
  .premium-form { padding: 26px 20px; }
  .premium-form h3 { font-size: 1.05rem; }
  .service-premium-card { padding: 26px 22px; }
  .service-premium-card .sp-icon { width: 48px; height: 48px; font-size: 1.25rem; }
  .service-premium-card h3 { font-size: 1.05rem; }
  .service-premium-card ul li { font-size: 0.85rem; padding: 9px 0; }
  .lightbox-content { max-width: 92vw; max-height: 82vh; }
  .lightbox-close { top: 18px; right: 20px; font-size: 1.8rem; }
  .services-premium-grid { grid-template-columns: 1fr; max-width: 100%; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .footer { padding: 36px 0 0; }
  .stats-section { padding: 36px 0; }
  .stats-grid { gap: 14px; }
  .premium-card { padding: 22px; }
  .section { padding: 40px 0; }
  .maps-container { grid-template-columns: 1fr; }
  .login-container { flex-direction: column; max-width: 420px; }
  .video-grid { grid-template-columns: 1fr; }
}

/* --- 480px-575px Small Phones --- */
@media (max-width: 575px) and (min-width: 480px) {
  html { font-size: 12px; }
  .container { padding: 0 14px; }
  .hero-content h1 { font-size: 1.5rem; }
  .hero { padding: 70px 0 50px; min-height: 340px; }
  .hero-content p { font-size: 0.85rem; margin-bottom: 20px; }
  .hero-buttons { flex-direction: column; align-items: stretch; gap: 10px; }
  .hero-buttons .btn { justify-content: center; }
  .section-header h2 { font-size: 1.25rem; }
  .section-header p { font-size: 0.8rem; }
  .section-header .section-badge { font-size: 0.6rem; padding: 3px 12px; }
  .features-grid { grid-template-columns: 1fr; gap: 12px; }
  .feature-card { padding: 22px 18px; }
  .feature-card .icon { width: 52px; height: 52px; font-size: 1.3rem; }
  .feature-card h3 { font-size: 0.95rem; }
  .feature-card p { font-size: 0.78rem; }
  .stat-item .stat-number { font-size: 1.5rem; }
  .stat-item .stat-label { font-size: 0.72rem; }
  .btn { padding: 11px 22px; font-size: 0.8rem; }
  .btn-lg { padding: 13px 28px; font-size: 0.88rem; }
  .page-header { padding: 36px 0 26px; }
  .page-header h1 { font-size: 1.4rem; }
  .services-grid { grid-template-columns: 1fr; gap: 16px; }
  .chikaya-steps { grid-template-columns: 1fr; gap: 12px; margin-top: -24px; }
  .step-card h4 { font-size: 0.88rem; }
  .step-card p { font-size: 0.75rem !important; }
  .chikaya-form { padding: 20px 16px; }
  .stats-dashboard { grid-template-columns: 1fr; gap: 14px; }
  .stat-card { padding: 18px 16px; }
  .stat-card .stat-number { font-size: 1.5rem; }
  .stat-card .stat-label { font-size: 0.72rem; }
  .stat-card .stat-card-header .stat-icon { width: 42px; height: 42px; font-size: 1.05rem; }
  .stats-hero h1 { font-size: 1.25rem; }
  .stats-hero p { font-size: 0.8rem; }
  .stats-hero { padding: 44px 0 36px; }
  .charts-grid { gap: 16px; }
  .chart-card { padding: 18px 14px; }
  .chart-card .chart-body { height: 180px; }
  .chart-card .chart-body-lg { height: 180px; }
  .page-hero { padding: 30px 0 22px; }
  .page-hero h1 { font-size: 1.2rem; }
  .page-hero p { font-size: 0.8rem; }
  .premium-section { padding: 28px 0; }
  .testimonial-card p { font-size: 0.85rem; }
  .testimonial-card { padding: 20px 16px !important; }
  .login-page-section { padding: 24px 14px; }
  .login-right { padding: 24px 18px !important; }
  .forgot-card { padding: 26px 18px; }
  .forgot-card .forgot-icon { width: 52px; height: 52px; font-size: 1.3rem; }
  .forgot-card h2 { font-size: 1.05rem; }
  .media-card .media-img { height: 130px !important; }
  .media-card .media-body { padding: 14px 16px !important; }
  .media-card .media-body h3 { font-size: 0.88rem; }
  .media-card .media-body p { font-size: 0.72rem !important; }
  .media-grid { grid-template-columns: 1fr; gap: 16px; }
  .video-grid { gap: 16px; }
  .video-body { padding: 12px 14px; }
  .vr-wrapper { padding: 28px 16px; border-radius: 12px; }
  .vr-content i.fa-vr-cardboard { font-size: 2.5rem; }
  .vr-content h3 { font-size: 0.95rem; }
  .vr-feature { padding: 6px 12px; font-size: 0.72rem; }
  .premium-form { padding: 22px 14px; }
  .premium-form h3 { font-size: 0.95rem; }
  .service-premium-card { padding: 22px 18px; }
  .service-premium-card .sp-icon { width: 44px; height: 44px; font-size: 1.15rem; }
  .service-premium-card h3 { font-size: 0.95rem; }
  .service-premium-card ul li { font-size: 0.8rem; padding: 8px 0; }
  .lightbox-content { max-width: 94vw; max-height: 78vh; }
  .lightbox-close { top: 14px; right: 16px; font-size: 1.5rem; }
  .services-premium-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 22px; }
  .footer { padding: 32px 0 0; }
  .stats-section { padding: 32px 0; }
  .stats-grid { gap: 12px; }
  .premium-card { padding: 20px; }
  .section { padding: 36px 0; }
  .maps-container { grid-template-columns: 1fr; }
  .login-container { flex-direction: column; max-width: 380px; }
  .media-grid { grid-template-columns: 1fr; }
  .video-grid { grid-template-columns: 1fr; }
}

/* --- <480px Very Small Phones --- */
@media (max-width: 479px) {
  html { font-size: 11px; }
  .container { padding: 0 10px; }
  .top-bar { font-size: 0.6rem; padding: 4px 0; }
  .top-bar .top-left span { margin-right: 8px; display: block; width: 100%; }
  .top-bar .social-link { width: 22px; height: 22px; }
  .top-bar .social-link i { font-size: 9px; }
  .navbar .container { padding: 10px 12px; }
  .nav-brand .logo-icon { width: 28px; height: 28px; font-size: 0.8rem; }
  .nav-brand .nav-logo { height: 28px; }
  .nav-brand .brand-line1 { font-size: 0.75rem; }
  .nav-brand .brand-line2 { font-size: 0.45rem; letter-spacing: 1px; }
  .nav-brand .brand-name { font-size: 0.8rem; }
  .nav-brand .brand-sub { font-size: 0.45rem; letter-spacing: 0.3px; }
  .nav-brand { gap: 8px; }
  .nav-links a { padding: 10px 14px; font-size: 0.85rem; }
  .nav-toggle { font-size: 1.1rem; }
  .hero { padding: 50px 0 36px; min-height: 260px; }
  .hero-content h1 { font-size: 1.2rem; margin-bottom: 14px; }
  .hero-content p { font-size: 0.75rem; margin-bottom: 16px; line-height: 1.4; }
  .hero-content .badge { font-size: 0.5rem; padding: 3px 10px; margin-bottom: 12px; gap: 3px; letter-spacing: 0.5px; }
  .hero::before { background: linear-gradient(90deg, rgba(26,79,122,0.85) 0%, rgba(26,79,122,0.3) 100%); }
  .section { padding: 28px 0; }
  .section-header { margin-bottom: 20px; }
  .section-header h2 { font-size: 1.05rem; margin-bottom: 6px; }
  .section-header p { font-size: 0.72rem; }
  .section-header .section-badge { font-size: 0.55rem; padding: 2px 10px; margin-bottom: 8px; }
  .features-grid { gap: 10px; }
  .feature-card { padding: 16px 14px; border-radius: var(--radius-md); }
  .feature-card .icon { width: 44px; height: 44px; font-size: 1.1rem; margin-bottom: 12px; }
  .feature-card h3 { font-size: 0.85rem; margin-bottom: 4px; }
  .feature-card p { font-size: 0.7rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .stat-item { padding: 10px; }
  .stat-item .stat-number { font-size: 1.15rem; }
  .stat-item .stat-label { font-size: 0.6rem; }
  .stats-section { padding: 24px 0; }
  .btn { padding: 9px 18px; font-size: 0.75rem; border-radius: 40px; }
  .btn-lg { padding: 11px 22px; font-size: 0.8rem; }
  .btn-sm { padding: 6px 12px; font-size: 0.68rem; }
  .footer { padding: 24px 0 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 20px; }
  .footer h4 { font-size: 0.82rem; margin-bottom: 10px; }
  .footer p { font-size: 0.72rem; }
  .footer a { font-size: 0.72rem; margin-bottom: 6px; }
  .footer .social-link { width: 34px; height: 34px; }
  .footer .social-link i { font-size: 13px; }
  .footer-bottom { font-size: 0.65rem; padding: 12px 0; margin-top: 20px; }
  .charts-grid { gap: 12px; }
  .chart-card { padding: 14px 12px; border-radius: 12px; }
  .chart-card .chart-body { height: 140px; }
  .chart-card .chart-body-lg { height: 140px; }
  .chart-card-header { flex-direction: column; align-items: flex-start; gap: 6px; margin-bottom: 14px; }
  .chart-card-header .chart-title { font-size: 0.82rem; }
  .chart-card-header .chart-badge { font-size: 0.55rem; padding: 2px 10px; }
  .stats-dashboard { gap: 12px; }
  .stat-card { padding: 14px 12px; border-radius: 12px; }
  .stat-card .stat-number { font-size: 1.3rem; }
  .stat-card .stat-label { font-size: 0.68rem; }
  .stat-card .stat-card-header { margin-bottom: 8px; }
  .stat-card .stat-card-header .stat-icon { width: 34px; height: 34px; font-size: 0.85rem; border-radius: 10px; }
  .stat-card .stat-progress { margin-top: 10px; }
  .stats-hero h1 { font-size: 1rem; }
  .stats-hero p { font-size: 0.72rem; }
  .stats-hero { padding: 30px 0 24px; }
  .stats-hero .stats-hero-badge { font-size: 0.5rem; padding: 2px 8px; }
  .stats-section-inner { padding: 22px 0 28px; }
  .page-hero h1 { font-size: 1rem; }
  .page-hero p { font-size: 0.72rem; }
  .page-hero { padding: 22px 0 16px; }
  .page-hero .breadcrumb { font-size: 0.65rem; margin-top: 10px; }
  .chikaya-hero h1 { font-size: 1.2rem !important; }
  .chikaya-hero p { font-size: 0.75rem !important; }
  .chikaya-hero { padding: 32px 0 !important; }
  .chikaya-hero .chikaya-badge { font-size: 0.55rem; padding: 3px 12px; }
  .chikaya-steps { grid-template-columns: 1fr; gap: 10px; margin-top: -20px; }
  .step-card { padding: 18px 12px !important; }
  .step-card .step-num { width: 36px; height: 36px; font-size: 0.9rem; margin-bottom: 10px; }
  .step-card h4 { font-size: 0.82rem; }
  .step-card p { font-size: 0.7rem !important; }
  .chikaya-form { padding: 14px 10px; border-radius: var(--radius-md); }
  .chikaya-form h3 { font-size: 0.85rem; margin-bottom: 14px; }
  .media-grid { gap: 12px; }
  .media-card { border-radius: 14px !important; }
  .media-card .media-img { height: 100px !important; }
  .media-card .media-body { padding: 10px 12px !important; }
  .media-card .media-body h3 { font-size: 0.8rem; margin-bottom: 4px; }
  .media-card .media-body p { font-size: 0.65rem !important; }
  .media-card .media-body .media-meta { font-size: 0.6rem; gap: 10px !important; }
  .media-badge { font-size: 0.5rem; padding: 2px 8px; top: 6px; left: 6px; }
  .media-filters { gap: 4px; margin-bottom: 20px; }
  .filter-btn { font-size: 0.6rem; padding: 4px 10px; border-radius: 40px; }
  .video-grid { gap: 12px; }
  .video-card { border-radius: 14px; }
  .video-play { width: 44px; height: 44px; font-size: 1rem; }
  .video-body { padding: 10px 12px; }
  .video-body h3 { font-size: 0.78rem; margin-bottom: 4px; }
  .video-body p { font-size: 0.65rem; }
  .vr-wrapper { padding: 24px 14px; border-radius: 10px; }
  .vr-content i.fa-vr-cardboard { font-size: 2rem; margin-bottom: 12px; }
  .vr-content h3 { font-size: 0.85rem; margin-bottom: 8px; }
  .vr-content p { font-size: 0.68rem; margin-bottom: 16px; }
  .vr-features { gap: 8px; }
  .vr-feature { padding: 5px 10px; font-size: 0.65rem; border-radius: 40px; }
  .premium-form { padding: 16px 12px; border-radius: 14px; }
  .premium-form h3 { font-size: 0.85rem; margin-bottom: 16px; }
  .premium-card { padding: 14px; border-radius: 12px; }
  .login-right { padding: 20px 14px !important; }
  .login-right .login-logo .logo-icon-sm { width: 42px; height: 42px; font-size: 1rem; }
  .login-right .login-logo h3 { font-size: 1rem; }
  .login-right .login-logo p { font-size: 0.7rem; }
  .form-group { margin-bottom: 14px; }
  .form-group label { font-size: 0.7rem; }
  .form-control { padding: 10px 12px; font-size: 0.78rem; border-width: 1.5px; }
  .form-options { flex-direction: column; gap: 8px; align-items: flex-start; font-size: 0.72rem; }
  .login-divider { margin: 18px 0; }
  .login-divider span { font-size: 0.72rem; }
  .login-footer-text { font-size: 0.75rem; }
  .forgot-card { padding: 20px 14px; border-radius: 16px; }
  .forgot-card .forgot-icon { width: 46px; height: 46px; font-size: 1.1rem; margin-bottom: 14px; }
  .forgot-card h2 { font-size: 0.9rem; }
  .forgot-card p { font-size: 0.72rem; }
  .testimonials-grid { gap: 12px; }
  .testimonial-card { border-radius: 14px !important; }
  .testimonial-card p { font-size: 0.78rem; line-height: 1.5; }
  .testimonial-card .stars { font-size: 0.72rem; margin-bottom: 10px; }
  .testimonial-card .testimonial-author .avatar { width: 32px; height: 32px; font-size: 0.7rem; }
  .testimonial-card .testimonial-author .name { font-size: 0.75rem; }
  .testimonial-card .testimonial-author .role { font-size: 0.65rem; }
  .services-premium-grid { grid-template-columns: 1fr; gap: 16px; }
  .service-premium-card { padding: 20px 16px; border-radius: var(--radius-md); }
  .service-premium-card .sp-icon { width: 36px; height: 36px; font-size: 0.9rem; border-radius: 10px; margin-bottom: 14px; }
  .service-premium-card h3 { font-size: 0.88rem; margin-bottom: 12px; }
  .service-premium-card ul li { font-size: 0.72rem; padding: 6px 0; gap: 8px; }
  .service-premium-card ul li i { width: 18px; font-size: 0.78rem; }
  .lightbox-content { max-width: 96vw; max-height: 70vh; border-radius: 6px; }
  .lightbox-close { top: 10px; right: 12px; font-size: 1.3rem; }
  .premium-section { padding: 20px 0; }
  .breadcrumb { font-size: 0.6rem; margin-top: 8px; }
  textarea.form-control { min-height: 80px; }
  .page-header p { font-size: 0.78rem; }
  .service-card .service-img { height: 100px !important; font-size: 1.8rem !important; }
  .service-card .service-body { padding: 16px 18px !important; }
  .service-card .service-body h3 { font-size: 0.85rem; }
  .service-card .service-body p { font-size: 0.72rem !important; }
  .maps-container { grid-template-columns: 1fr; gap: 16px; }
  .map-wrapper { border-radius: 14px !important; }
  .event-card { padding: 14px 16px !important; }
  .event-card h4 { font-size: 0.82rem; }
  .event-card p { font-size: 0.72rem; }
  .stats-summary { padding: 14px 16px; gap: 8px; }
  .stats-summary-item .ssi-icon { width: 32px; height: 32px; font-size: 0.82rem; }
  .stats-summary-item .ssi-text .ssi-value { font-size: 0.9rem; }
  .stats-summary-item .ssi-text .ssi-label { font-size: 0.6rem; }
  .login-container { border-radius: 16px !important; }
  .login-page-section { padding: 20px 10px; }
}

/* --- Landscape Mode for Mobile Phones --- */
@media (max-height: 480px) and (orientation: landscape) {
  .hero { min-height: 280px; padding: 50px 0 30px; }
  .hero-content h1 { font-size: 1.2rem; margin-bottom: 10px; }
  .hero-content p { font-size: 0.75rem; margin-bottom: 14px; max-width: 100%; }
  .hero-content .badge { display: none; }
  .hero-buttons { gap: 8px; }
  .hero-buttons .btn { padding: 8px 18px; font-size: 0.72rem; }
  .navbar .container { padding: 8px 16px; }
  .nav-toggle { display: block; }
  .nav-links { max-height: 60vh; overflow-y: auto; }
  .login-page-section { min-height: auto; padding: 20px; }
  .login-container { flex-direction: row; max-width: 90vw; }
  .login-left { display: none; }
  .login-right { padding: 24px 20px !important; }
  .forgot-section { min-height: auto; padding: 20px; }
  .forgot-card { padding: 20px 16px; }
  .stats-section { padding: 20px 0; }
  .stats-grid { gap: 10px; }
  .stat-item { padding: 10px; }
  .stat-item .stat-number { font-size: 1.2rem; }
  .section { padding: 24px 0; }
  .section-header { margin-bottom: 16px; }
  .section-header h2 { font-size: 1rem; }
  .chikaya-hero { padding: 30px 0 !important; }
  .chikaya-steps { margin-top: -20px; }
  .chikaya-form { padding: 16px; }
  .footer { padding: 20px 0 0; }
  .footer-grid { gap: 16px; }
}

/* --- Print Styles --- */
@media print {
  .top-bar, .navbar, .nav-toggle, .footer, .toast-container,
  .stats-floating-shapes, .page-floating-shapes,
  .hero::before, .hero::after, .hero-content .badge,
  .media-card .overlay, .video-play, .lightbox-modal,
  .btn:hover, .feature-card:hover, .service-card:hover,
  .media-card:hover, .stat-card:hover, .step-card:hover,
  .testimonial-card:hover, .service-premium-card:hover,
  .premium-card:hover, .chart-card:hover, .event-card:hover { box-shadow: none !important; transform: none !important; }
  .hero { min-height: auto; padding: 40px 0; background: #1a4f7a !important; }
  .hero-content h1 { font-size: 1.8rem; }
  .hero-content p { color: rgba(255,255,255,0.9) !important; }
  .section { padding: 20px 0; }
  .stats-dashboard { break-inside: avoid; }
  .chart-card { break-inside: avoid; }
  .media-grid { break-inside: avoid; }
  .testimonials-grid { break-inside: avoid; }
  .no-print { display: none !important; }
}
