/* ============================================
   M9S Media & AI Innovation — Light Theme
   Premium Political Consultancy Aesthetic
   ============================================ */

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

/* --- CSS Variables --- */
:root {
  --primary: #1B3A6B;
  --primary-mid: #24508F;
  --primary-light: #3468B2;
  --primary-pale: #E8EFF8;
  --accent: #E8573A;
  --accent-light: #FF7A5C;
  --accent-pale: #FFF0EC;
  --navy: #0F2341;
  --dark-text: #1A2332;
  --body-text: #4A5568;
  --muted-text: #8896A6;
  --white: #FFFFFF;
  --off-white: #F8F9FC;
  --light-bg: #F1F4F9;
  --card-bg: #FFFFFF;
  --border: #E2E8F0;
  --border-light: #EDF2F7;
  --gradient-primary: linear-gradient(135deg, #1B3A6B 0%, #3468B2 100%);
  --gradient-accent: linear-gradient(135deg, #E8573A 0%, #FF7A5C 100%);
  --gradient-hero: linear-gradient(160deg, #F8F9FC 0%, #E8EFF8 40%, #F1F4F9 100%);
  --gradient-warm: linear-gradient(135deg, #FFF0EC 0%, #F8F9FC 100%);
  --shadow-sm: 0 1px 3px rgba(27, 58, 107, 0.06);
  --shadow-md: 0 4px 16px rgba(27, 58, 107, 0.08);
  --shadow-lg: 0 12px 40px rgba(27, 58, 107, 0.1);
  --shadow-xl: 0 20px 60px rgba(27, 58, 107, 0.12);
  --shadow-accent: 0 8px 30px rgba(232, 87, 58, 0.2);
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset & Base --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--white);
  color: var(--body-text);
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 { color: var(--dark-text); font-weight: 700; line-height: 1.3; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; }
::selection { background: var(--primary-pale); color: var(--primary); }

::-webkit-scrollbar { width: 7px; }
::-webkit-scrollbar-track { background: var(--off-white); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary-light); }

/* ============================================
   PRELOADER
   ============================================ */
#preloader {
  position: fixed; inset: 0;
  background: var(--white);
  display: flex; align-items: center; justify-content: center;
  z-index: 99999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
#preloader.loaded { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-ring {
  width: 48px; height: 48px;
  border: 3px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.75s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  padding: 18px 0;
  transition: var(--transition);
  z-index: 1050;
  background: transparent !important;
}
.navbar.scrolled {
  background: rgba(255, 255, 255, 0.96) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 12px 0;
  box-shadow: 0 1px 20px rgba(27, 58, 107, 0.07);
}
.navbar-brand {
  font-weight: 800;
  font-size: 1.55rem;
  letter-spacing: -0.5px;
  color: var(--primary) !important;
}
.navbar-brand span { color: var(--accent); }
.navbar-brand small {
  display: block;
  font-size: 0.52rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--muted-text);
  margin-top: -3px;
}
.navbar-nav .nav-link {
  color: var(--body-text) !important;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 8px 18px !important;
  position: relative;
}
.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 18px;
  width: 0; height: 2.5px;
  background: var(--gradient-accent);
  border-radius: 2px;
  transition: width 0.3s ease;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active { color: var(--primary) !important; font-weight: 600; }
.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after { width: calc(100% - 36px); }
.navbar-toggler { border: none; padding: 4px 8px; }
.navbar-toggler:focus { box-shadow: none; }
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='%231B3A6B' stroke-linecap='round' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E") !important;
}
.btn-nav-cta {
  background: var(--gradient-accent);
  color: #fff !important;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 10px 26px !important;
  border-radius: 50px;
  border: none;
  transition: var(--transition);
}
.btn-nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-accent);
  color: #fff !important;
}
@media (max-width: 991px) {
  .navbar-collapse {
    background: var(--white);
    padding: 20px 24px;
    border-radius: var(--radius);
    margin-top: 12px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
  }
}

/* ============================================
   HERO
   ============================================ */
.hero-section {
  min-height: 100vh;
  display: flex; align-items: center;
  position: relative;
  background: var(--gradient-hero);
  overflow: hidden;
  padding-top: 80px;
}
.hero-decor-circle { position: absolute; border-radius: 50%; pointer-events: none; }
.hero-decor-circle.one {
  width: 600px; height: 600px;
  top: -200px; right: -100px;
  background: radial-gradient(circle, rgba(232, 87, 58, 0.06) 0%, transparent 70%);
}
.hero-decor-circle.two {
  width: 500px; height: 500px;
  bottom: -150px; left: -100px;
  background: radial-gradient(circle, rgba(27, 58, 107, 0.05) 0%, transparent 70%);
}
.hero-grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(27, 58, 107, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(27, 58, 107, 0.028) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent-pale);
  color: var(--accent);
  font-size: 0.73rem; font-weight: 700;
  padding: 8px 22px;
  border-radius: 50px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 24px;
  border: 1px solid rgba(232, 87, 58, 0.15);
  animation: fadeInUp 0.7s ease forwards;
}
.hero-title {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--navy);
  animation: fadeInUp 0.7s 0.12s ease forwards;
  opacity: 0;
}
.hero-title .highlight {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  font-size: 1.08rem;
  color: var(--body-text);
  max-width: 540px;
  margin-bottom: 36px;
  animation: fadeInUp 0.7s 0.24s ease forwards;
  opacity: 0;
}
.hero-buttons {
  display: flex; gap: 14px; flex-wrap: wrap;
  animation: fadeInUp 0.7s 0.36s ease forwards;
  opacity: 0;
}
.hero-stats {
  display: flex; gap: 36px; margin-top: 52px;
  animation: fadeInUp 0.7s 0.48s ease forwards;
  opacity: 0;
}
.hero-stat h3 { font-size: 2rem; font-weight: 800; color: var(--primary); margin-bottom: 0; }
.hero-stat p {
  font-size: 0.78rem; color: var(--muted-text);
  font-weight: 600; text-transform: uppercase;
  letter-spacing: 1px; margin-bottom: 0;
}
.hero-visual {
  animation: fadeInRight 0.9s 0.3s ease forwards;
  opacity: 0;
}
.hero-visual-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px;
  position: relative; overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.hero-visual-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--gradient-accent);
}
.war-room-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.wr-cell {
  background: var(--off-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 16px 10px;
  text-align: center;
  transition: var(--transition);
}
.wr-cell:hover {
  background: var(--primary-pale);
  border-color: rgba(27, 58, 107, 0.15);
  transform: translateY(-2px);
}
.wr-cell i { font-size: 1.15rem; color: var(--primary); margin-bottom: 4px; display: block; }
.wr-cell span {
  font-size: 0.68rem; color: var(--muted-text);
  font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px;
}
.wr-label {
  font-size: 0.7rem; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--muted-text); font-weight: 600;
}
.data-flow-line {
  position: absolute; width: 2px; height: 100%;
  background: linear-gradient(180deg, transparent, rgba(27, 58, 107, 0.08), transparent);
  animation: dataFlow 3s ease-in-out infinite; opacity: 0;
}
.data-flow-line:nth-child(1) { left: 18%; animation-delay: 0s; }
.data-flow-line:nth-child(2) { left: 50%; animation-delay: 1s; }
.data-flow-line:nth-child(3) { left: 82%; animation-delay: 2s; }
@keyframes dataFlow {
  0%, 100% { transform: translateY(-100%); opacity: 0; }
  50% { opacity: 0.5; }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn-primary-m9s {
  background: var(--gradient-primary);
  color: #fff;
  font-weight: 600; font-size: 0.9rem;
  padding: 14px 34px;
  border-radius: 50px; border: none;
  transition: var(--transition);
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-primary-m9s:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(27, 58, 107, 0.2);
  color: #fff;
}
.btn-accent-m9s {
  background: var(--gradient-accent);
  color: #fff;
  font-weight: 600; font-size: 0.9rem;
  padding: 14px 34px;
  border-radius: 50px; border: none;
  transition: var(--transition);
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-accent-m9s:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-accent);
  color: #fff;
}
.btn-outline-m9s {
  background: var(--white);
  color: var(--primary);
  font-weight: 600; font-size: 0.9rem;
  padding: 13px 32px;
  border-radius: 50px;
  border: 2px solid var(--border);
  transition: var(--transition);
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-outline-m9s:hover {
  border-color: var(--primary);
  background: var(--primary-pale);
  color: var(--primary);
}

/* ============================================
   SECTIONS
   ============================================ */
.section-padding { padding: 100px 0; }
.section-light-bg { background: var(--off-white); }
.section-warm-bg { background: var(--gradient-warm); }

.section-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--accent); margin-bottom: 14px;
}
.section-tag::before {
  content: '';
  width: 28px; height: 3px;
  background: var(--gradient-accent);
  border-radius: 2px;
}
.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.7rem);
  font-weight: 800;
  margin-bottom: 18px;
  line-height: 1.2;
  color: var(--navy);
}
.section-title .highlight {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-desc { color: var(--body-text); font-size: 1.05rem; max-width: 620px; }
.section-divider { width: 100%; height: 1px; background: var(--border); border: none; }

/* ============================================
   FEATURE / SERVICE CARDS
   ============================================ */
.feature-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  height: 100%;
  position: relative; overflow: hidden;
  transition: var(--transition);
}
.feature-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.feature-card:hover {
  border-color: var(--border);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.feature-card:hover::after { transform: scaleX(1); }

.feature-icon {
  width: 58px; height: 58px;
  display: flex; align-items: center; justify-content: center;
  background: var(--primary-pale);
  border-radius: 16px;
  margin-bottom: 20px;
  font-size: 1.35rem;
  color: var(--primary);
  transition: var(--transition);
}
.feature-card:hover .feature-icon {
  background: var(--gradient-primary);
  color: #fff;
  transform: scale(1.05);
}
.feature-card h5 {
  font-size: 1.08rem; font-weight: 700;
  margin-bottom: 10px; color: var(--navy);
}
.feature-card p { font-size: 0.9rem; color: var(--body-text); margin-bottom: 0; line-height: 1.7; }

/* ============================================
   PROCESS / FLOW
   ============================================ */
.process-step { text-align: center; position: relative; padding: 0 10px; }
.process-number {
  width: 54px; height: 54px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--gradient-primary);
  color: #fff; font-weight: 800; font-size: 1.1rem;
  border-radius: 50%;
  margin-bottom: 16px;
  position: relative; z-index: 2;
  box-shadow: 0 4px 14px rgba(27, 58, 107, 0.2);
}
.process-step h6 { font-size: 0.92rem; font-weight: 700; margin-bottom: 6px; color: var(--navy); }
.process-step p { font-size: 0.8rem; color: var(--muted-text); }
.process-connector {
  position: absolute;
  top: 27px; right: -50%;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--border), var(--primary-pale));
  z-index: 1;
}
@media (max-width: 767px) { .process-connector { display: none; } }

/* ============================================
   STATS BAR
   ============================================ */
.stats-bar {
  background: var(--gradient-primary);
  padding: 56px 0;
  position: relative; overflow: hidden;
}
.stats-bar::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}
.stat-item { text-align: center; padding: 10px 0; }
.stat-item h3 { font-size: 2.6rem; font-weight: 800; color: #fff; margin-bottom: 4px; }
.stat-item p {
  font-size: 0.78rem; color: rgba(255,255,255,0.7);
  text-transform: uppercase; letter-spacing: 1.8px;
  font-weight: 600; margin-bottom: 0;
}

/* ============================================
   TIMELINE
   ============================================ */
.timeline-item { position: relative; padding-left: 48px; padding-bottom: 36px; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: 15px; top: 10px; bottom: 0;
  width: 2px; background: var(--border);
}
.timeline-item:last-child::before { display: none; }
.timeline-dot {
  position: absolute;
  left: 6px; top: 5px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--gradient-accent);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 3px rgba(232, 87, 58, 0.15);
  z-index: 2;
}
.timeline-item h5 { font-size: 1rem; font-weight: 700; margin-bottom: 6px; color: var(--navy); }
.timeline-item p { font-size: 0.88rem; color: var(--body-text); }

/* ============================================
   VISION CARD
   ============================================ */
.vision-card {
  background: var(--gradient-warm);
  border: 1px solid rgba(232, 87, 58, 0.12);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
}
.vision-card blockquote {
  font-size: 1.12rem; font-weight: 500;
  color: var(--navy); line-height: 1.75;
  font-style: italic;
  border-left: 4px solid var(--accent);
  padding-left: 20px; margin: 0;
}

/* ============================================
   PAGE HEADER
   ============================================ */
.page-header {
  padding: 160px 0 80px;
  position: relative;
  background: var(--gradient-hero);
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(27, 58, 107, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(27, 58, 107, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}
.page-header .section-tag { animation: fadeInUp 0.6s ease forwards; }
.page-header h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900; color: var(--navy);
  animation: fadeInUp 0.6s 0.1s ease forwards;
  opacity: 0;
}
.page-header p {
  color: var(--body-text); font-size: 1.05rem;
  max-width: 580px;
  animation: fadeInUp 0.6s 0.2s ease forwards;
  opacity: 0;
}
.breadcrumb {
  background: none; padding: 0; margin-top: 14px;
  animation: fadeInUp 0.6s 0.3s ease forwards; opacity: 0;
}
.breadcrumb-item { font-size: 0.82rem; }
.breadcrumb-item a { color: var(--muted-text); }
.breadcrumb-item a:hover { color: var(--accent); }
.breadcrumb-item.active { color: var(--accent); }
.breadcrumb-item + .breadcrumb-item::before { color: var(--muted-text) !important; }

/* ============================================
   TICKER
   ============================================ */
.ticker-bar {
  background: var(--gradient-accent);
  padding: 13px 0;
  overflow: hidden; white-space: nowrap;
}
.ticker-content { display: inline-flex; animation: ticker 28s linear infinite; }
.ticker-content span {
  font-size: 0.82rem; font-weight: 600;
  color: #fff; padding: 0 44px;
  letter-spacing: 1.2px; text-transform: uppercase;
}
@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================
   CTA
   ============================================ */
.cta-section { position: relative; overflow: hidden; }
.cta-box {
  background: var(--gradient-primary);
  border-radius: var(--radius-xl);
  padding: 72px 48px;
  text-align: center;
  position: relative; overflow: hidden;
}
.cta-box::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}
.cta-box .section-tag { color: rgba(255,255,255,0.7); }
.cta-box .section-tag::before { background: rgba(255,255,255,0.3); }
.cta-box .section-title { color: #fff; }
.cta-box .section-title .highlight {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.cta-box .section-desc { color: rgba(255,255,255,0.75); }
.cta-box .btn-accent-m9s { background: #fff; color: var(--primary); }
.cta-box .btn-accent-m9s:hover {
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  color: var(--primary);
}

/* ============================================
   CONTACT
   ============================================ */
.contact-info-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex; align-items: flex-start; gap: 16px;
  transition: var(--transition);
  height: 100%;
}
.contact-info-card:hover { box-shadow: var(--shadow-md); border-color: var(--border); }
.contact-info-icon {
  width: 50px; height: 50px; min-width: 50px;
  display: flex; align-items: center; justify-content: center;
  background: var(--primary-pale);
  border-radius: 14px;
  color: var(--primary); font-size: 1.15rem;
}
.contact-info-card h6 { font-size: 0.95rem; font-weight: 700; margin-bottom: 4px; color: var(--navy); }
.contact-info-card p { font-size: 0.85rem; color: var(--body-text); margin-bottom: 0; }
.contact-info-card a { color: var(--body-text); }
.contact-info-card a:hover { color: var(--accent); }

.contact-form-wrapper {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 44px;
  box-shadow: var(--shadow-md);
}
.form-control,
.form-select {
  background: var(--off-white) !important;
  border: 1px solid var(--border) !important;
  color: var(--dark-text) !important;
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  padding: 13px 18px;
  border-radius: var(--radius);
  transition: var(--transition);
}
.form-control:focus,
.form-select:focus {
  border-color: var(--primary-light) !important;
  box-shadow: 0 0 0 3px rgba(27, 58, 107, 0.08) !important;
  background: var(--white) !important;
}
.form-control::placeholder { color: var(--muted-text) !important; }
.form-label { font-size: 0.82rem; font-weight: 600; color: var(--dark-text); margin-bottom: 6px; }
textarea.form-control { resize: vertical; min-height: 120px; }

/* ============================================
   SERVICE DETAIL CARD
   ============================================ */
.service-detail-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}
.service-detail-card h4 { font-size: 1.25rem; font-weight: 700; margin-bottom: 14px; color: var(--navy); }
.check-list { list-style: none; padding: 0; }
.check-list li {
  position: relative;
  padding-left: 30px; margin-bottom: 13px;
  font-size: 0.9rem; color: var(--body-text);
}
.check-list li::before {
  content: '✓';
  position: absolute; left: 0; top: 1px;
  width: 22px; height: 22px;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent-pale);
  color: var(--accent); font-weight: 800; font-size: 0.7rem;
  border-radius: 6px;
}
.platform-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--off-white);
  border: 1px solid var(--border-light);
  border-radius: 50px;
  padding: 9px 20px;
  font-size: 0.82rem; font-weight: 600;
  color: var(--body-text);
  transition: var(--transition);
}
.platform-badge:hover {
  border-color: var(--primary-light);
  color: var(--primary);
  background: var(--primary-pale);
}
.platform-badge i { color: var(--primary); }

/* ============================================
   FOOTER
   ============================================ */
.site-footer { background: var(--navy); padding: 72px 0 0; }
.footer-brand { font-size: 1.45rem; font-weight: 800; color: #fff; margin-bottom: 12px; }
.footer-brand span { color: var(--accent-light); }
.footer-desc { font-size: 0.88rem; color: rgba(255,255,255,0.55); max-width: 320px; line-height: 1.75; }
.footer-title {
  font-size: 0.78rem; font-weight: 700; color: #fff;
  text-transform: uppercase; letter-spacing: 2.5px; margin-bottom: 20px;
}
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: 0.88rem; color: rgba(255,255,255,0.5); transition: var(--transition); }
.footer-links a:hover { color: var(--accent-light); padding-left: 4px; }
.footer-links li i { color: var(--accent-light); }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  color: rgba(255,255,255,0.5); font-size: 1rem;
  transition: var(--transition);
}
.footer-social a:hover {
  background: var(--accent); border-color: var(--accent);
  color: #fff; transform: translateY(-3px);
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0; margin-top: 52px;
}
.footer-bottom p { font-size: 0.78rem; color: rgba(255,255,255,0.35); margin-bottom: 0; }

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  background: var(--gradient-accent);
  color: #fff; border-radius: 50%;
  font-size: 1.1rem; z-index: 1040;
  opacity: 0; visibility: hidden;
  transition: var(--transition);
  cursor: pointer; border: none;
  box-shadow: var(--shadow-accent);
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { transform: translateY(-3px); }

/* ============================================
   LOGO PULSE
   ============================================ */
.logo-pulse { display: inline-block; position: relative; }
.logo-pulse::after {
  content: '';
  position: absolute;
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  top: 2px; right: -14px;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(0.5); }
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}
.animate-on-scroll {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.animate-on-scroll.visible { opacity: 1; transform: translateY(0); }
.stagger-children .animate-on-scroll:nth-child(1) { transition-delay: 0s; }
.stagger-children .animate-on-scroll:nth-child(2) { transition-delay: 0.08s; }
.stagger-children .animate-on-scroll:nth-child(3) { transition-delay: 0.16s; }
.stagger-children .animate-on-scroll:nth-child(4) { transition-delay: 0.24s; }
.stagger-children .animate-on-scroll:nth-child(5) { transition-delay: 0.3s; }
.stagger-children .animate-on-scroll:nth-child(6) { transition-delay: 0.36s; }
.stagger-children .animate-on-scroll:nth-child(7) { transition-delay: 0.42s; }
.stagger-children .animate-on-scroll:nth-child(8) { transition-delay: 0.48s; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 991px) {
  .hero-visual { margin-top: 48px; }
  .hero-stats { gap: 20px; }
  .cta-box { padding: 48px 24px; }
}
@media (max-width: 767px) {
  .section-padding { padding: 68px 0; }
  .hero-stats { flex-direction: column; gap: 14px; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn-primary-m9s,
  .hero-buttons .btn-outline-m9s { width: 100%; justify-content: center; }
  .contact-form-wrapper,
  .service-detail-card { padding: 28px 20px; }
  .vision-card { padding: 32px 24px; }
}
