/* ==========================================================================
   Aviva - Premium Smart Home Automation Design System
   Pin-to-Pin & Page-to-Page Clone Stylesheet
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  /* Color Palette - Premium Dark Theme & Accents */
  --bg-dark: #0f1012;
  --bg-card: #181a1f;
  --bg-card-hover: #22252c;
  --bg-light: #ffffff;
  --bg-cream: #f7f5f0;
  --bg-cream-dark: #ebe7de;
  --bg-subtle: #1e2026;

  /* Accent Colors */
  --accent-gold: #e2c299;
  --accent-gold-hover: #d4ae80;
  --accent-orange: #e2c299;
  --accent-orange-hover: #d4ae80;
  --accent-green: #25d366;
  --accent-green-hover: #1ebd5a;
  --accent-blue: #3b82f6;

  /* Text Colors */
  --text-main: #ffffff;
  --text-muted: #a0a6b5;
  --text-dark: #121316;
  --text-dark-muted: #555a64;
  --border-color: rgba(255, 255, 255, 0.08);
  --border-light: rgba(0, 0, 0, 0.08);

  /* Glassmorphism & Shadows */
  --glass-bg: rgba(15, 16, 18, 0.85);
  --glass-border: rgba(255, 255, 255, 0.12);
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.2), 0 2px 4px -1px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.3), 0 8px 10px -6px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 25px rgba(226, 194, 153, 0.25);
  --shadow-orange-glow: 0 0 30px rgba(226, 194, 153, 0.35);

  /* Layout & Transitions */
  --max-width: 1280px;
  --header-height: 84px;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-full: 9999px;
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

ul {
  list-style: none;
}

img, svg, video {
  max-width: 100%;
  height: auto;
  display: block;
}

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
  background: none;
}

button {
  cursor: pointer;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Section Padding */
.section-pad {
  padding: 100px 0;
}

.section-pad-sm {
  padding: 60px 0;
}

.bg-light-section {
  background-color: var(--bg-light);
  color: var(--text-dark);
}

.bg-cream-section {
  background-color: var(--bg-cream);
  color: var(--text-dark);
}

.bg-dark-section {
  background-color: var(--bg-dark);
  color: var(--text-main);
}

/* ==========================================================================
   Typography & Headings
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.hero-title {
  font-size: clamp(2.75rem, 5vw, 4.5rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #ffffff 60%, var(--accent-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  margin-bottom: 1rem;
  font-weight: 700;
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 680px;
  margin-bottom: 3rem;
  line-height: 1.7;
}

.bg-light-section .section-subtitle,
.bg-cream-section .section-subtitle {
  color: var(--text-dark-muted);
}

.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.text-gold { color: var(--accent-gold); }
.text-orange { color: var(--accent-orange); }

/* ==========================================================================
   Buttons & Badges
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 1rem;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-gold {
  background: linear-gradient(135deg, var(--accent-gold), #cba371);
  color: #121316;
  box-shadow: var(--shadow-glow);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(226, 194, 153, 0.4);
  background: linear-gradient(135deg, #ecd5bc, var(--accent-gold));
}

.btn-orange {
  background: linear-gradient(135deg, var(--accent-gold), #cba371);
  color: #121316;
  font-weight: 700;
  box-shadow: var(--shadow-glow);
}

.btn-orange:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(226, 194, 153, 0.45);
  background: linear-gradient(135deg, #ecd5bc, var(--accent-gold));
  color: #121316;
}

.btn-outline {
  border: 1.5px solid var(--border-color);
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  transform: translateY(-2px);
  background: rgba(226, 194, 153, 0.08);
}

.bg-light-section .btn-outline,
.bg-cream-section .btn-outline {
  border-color: var(--border-light);
  color: var(--text-dark);
}

.bg-light-section .btn-outline:hover,
.bg-cream-section .btn-outline:hover {
  border-color: var(--accent-orange);
  color: var(--accent-orange);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  transition: all var(--transition-normal);
  background: transparent;
}

.header.scrolled {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: var(--shadow-md);
  height: 72px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.03em;
}

.logo-icon {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), rgba(255,255,255,0.05));
  border: 1px solid rgba(255,255,255,0.2);
}

.logo-icon svg {
  width: 24px;
  height: 24px;
  color: var(--text-main);
}

/* Nav Menu */
.nav-list {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-item {
  position: relative;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 0;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-gold);
  transition: width var(--transition-normal);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent-gold);
}

/* Dropdown Menu */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 12px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-fast);
  z-index: 110;
}

.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all var(--transition-fast);
}

.dropdown-link:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  padding-left: 18px;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  width: 32px;
  height: 24px;
  justify-content: center;
  z-index: 1001;
}

.mobile-toggle span {
  width: 100%;
  height: 2px;
  background: var(--text-main);
  transition: all var(--transition-fast);
  border-radius: 2px;
}

/* ==========================================================================
   Hero Sections
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: 140px 0 80px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

/* ── Video Hero Override ── */
.hero-video-section {
  background: #0f1012; /* solid fallback while video loads */
}
/* ── YouTube iframe Background Video ── */
.hero-yt-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100vw;
  height: 56.25vw;   /* 16:9 aspect — keeps full coverage */
  min-width: 177.78vh;
  min-height: 100vh;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-yt-iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  pointer-events: none;
}


.hero-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  pointer-events: none;
  /* Reset the default max-width: 100% from the global img/video rule */
  max-width: none;
}


.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 70% 30%, rgba(15, 16, 18, 0.5) 0%, rgba(15, 16, 18, 0.92) 80%);
  z-index: 1;
}


.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* Inner Page Header Hero */
.page-hero {
  position: relative;
  padding: 160px 0 80px;
  background: linear-gradient(180deg, rgba(24, 26, 31, 0.8) 0%, var(--bg-dark) 100%);
  border-bottom: 1px solid var(--border-color);
  text-align: center;
}

.page-hero-title {
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.breadcrumb a:hover { color: var(--accent-gold); }
.breadcrumb span { color: rgba(255, 255, 255, 0.3); }

/* ==========================================================================
   Wired vs Wireless Section
   ========================================================================== */
.choice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.choice-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 48px 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-normal);
  z-index: 1;
}

.choice-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

.choice-card:hover::after {
  transform: scale(1.08);
}

.choice-card-wired::after {
  background: linear-gradient(135deg, rgba(15, 16, 18, 0.92) 0%, rgba(15, 16, 18, 0.65) 50%, rgba(15, 16, 18, 0.90) 100%), url('https://images.unsplash.com/photo-1545259741-2ea3ebf61fa3?auto=format&fit=crop&w=1000&q=80');
}

.choice-card-wireless::after {
  background: linear-gradient(135deg, rgba(15, 16, 18, 0.92) 0%, rgba(15, 16, 18, 0.65) 50%, rgba(15, 16, 18, 0.90) 100%), url('https://images.unsplash.com/photo-1558002038-1055907df827?auto=format&fit=crop&w=1000&q=80');
}

.choice-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--accent-gold);
  opacity: 0;
  z-index: 2;
  transition: opacity var(--transition-normal);
}

.choice-card:hover {
  transform: translateY(-6px);
  border-color: rgba(226, 194, 153, 0.3);
  box-shadow: var(--shadow-lg);
}

.choice-card:hover::before {
  opacity: 1;
}

.choice-card h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--accent-gold);
}

.choice-card p {
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.7;
}

/* ==========================================================================
   The Art of Smart Living (3 Columns)
   ========================================================================== */
.art-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.art-card {
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: left;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.art-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  border-color: var(--accent-orange);
}

.art-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--bg-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--accent-orange);
  font-size: 1.8rem;
  transition: transform var(--transition-normal);
}

.art-card:hover .art-icon {
  transform: scale(1.1) rotate(5deg);
  background: var(--accent-orange);
  color: var(--bg-light);
}

.art-card h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.art-card p {
  color: var(--text-dark-muted);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* ==========================================================================
   Milestones & Counters Section
   ========================================================================== */
.milestones-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.counter-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 36px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-normal);
}

.counter-card:hover {
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  border-color: var(--accent-gold);
  box-shadow: var(--shadow-glow);
}

.counter-num {
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent-gold);
  margin-bottom: 8px;
  line-height: 1;
}

.counter-label {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ==========================================================================
   Smart Home Products Grid (10 items)
   ========================================================================== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 50px;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent-gold);
  box-shadow: var(--shadow-lg);
}

.product-img-wrapper {
  position: relative;
  height: 220px;
  background: #111317;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.product-card:hover .product-img-wrapper img {
  transform: scale(1.08);
}

.product-icon-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(15, 16, 18, 0.75);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold);
  font-size: 1.4rem;
}

.product-band {
  background: var(--bg-cream);
  color: var(--text-dark);
  padding: 16px 20px;
  font-weight: 700;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background var(--transition-fast);
}

.product-card:hover .product-band {
  background: var(--accent-gold);
  color: #121316;
}

.product-desc {
  padding: 20px;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.product-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-weight: 600;
  color: var(--accent-gold);
  font-size: 0.9rem;
}

.product-link:hover {
  gap: 10px;
  color: #ffffff;
}

/* ==========================================================================
   Cognitive Hubs Section (HomeMaster, HomeGuard, CoolSense, MusicNest)
   ========================================================================== */
.hubs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.hub-card {
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  position: relative;
  transition: all var(--transition-normal);
  text-align: center;
}

.hub-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent-orange);
  transform: translateY(-6px);
  box-shadow: var(--shadow-orange-glow);
}

.hub-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(227, 95, 72, 0.12);
  color: var(--accent-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 20px;
  transition: all var(--transition-normal);
}

.hub-card:hover .hub-icon {
  background: var(--accent-orange);
  color: #ffffff;
  transform: scale(1.1);
}

.hub-card h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
  color: var(--text-main);
}

.hub-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ==========================================================================
   Why Choose Us Section (Highlighted Dark Typography & Premium Cards)
   ========================================================================== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.why-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: #ffffff;
  padding: 30px 25px;
  border-radius: 18px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.why-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-orange), var(--accent-gold));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.why-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
  border-color: rgba(227, 95, 72, 0.3);
}

.why-item:hover::before {
  opacity: 1;
}

.why-icon {
  flex-shrink: 0;
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: linear-gradient(135deg, #1f242d 0%, #11141a 100%);
  color: #FFB800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.65rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 184, 0, 0.35);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-item:hover .why-icon {
  transform: scale(1.1) rotate(-6deg);
  box-shadow: 0 12px 28px rgba(255, 184, 0, 0.35);
}

.why-text h4 {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: #111827 !important; /* High contrast dark charcoal heading */
  letter-spacing: -0.3px;
}

.why-text p {
  color: #374151 !important; /* Crisp, dark slate gray text */
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 1.7;
}

/* ==========================================================================
   App Showcase & Client Brands
   ========================================================================== */
.app-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-top: 40px;
}

@media (max-width: 960px) {
  .app-showcase { grid-template-columns: 1fr; }
}

.app-stores {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}

.app-store-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #111317;
  color: #ffffff;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  transition: all var(--transition-fast);
}

.app-store-btn:hover {
  border-color: var(--accent-gold);
  transform: translateY(-2px);
}

/* ==========================================================================
   Testimonials / Recorded Moments (Video Cards)
   ========================================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
}

.testimonial-quote {
  font-size: 1.05rem;
  color: var(--text-main);
  font-style: italic;
  margin-bottom: 20px;
  line-height: 1.7;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent-gold);
  color: #121316;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
}

.author-info h5 {
  font-size: 1rem;
  margin-bottom: 2px;
}

.author-info span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

/* Video Infinite Scroll Marquee */
.video-marquee-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 10px 0;
  margin-top: 30px;
  mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
}

.video-marquee-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: scrollVideosMarquee 32s linear infinite;
}

.video-marquee-track:hover {
  animation-play-state: paused;
}

@keyframes scrollVideosMarquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.video-marquee-track .video-card {
  width: 340px;
  flex-shrink: 0;
  margin: 0;
}

.video-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  group: true;
}

.video-thumb {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.video-card:hover .video-thumb {
  transform: scale(1.05);
}

.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(227, 95, 72, 0.9);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
  transition: all var(--transition-fast);
}

.video-card:hover .play-btn {
  transform: translate(-50%, -50%) scale(1.15);
  background: var(--accent-orange);
}

/* ==========================================================================
   Consultation Form Section
   ========================================================================== */
.consultation-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  background: linear-gradient(135deg, rgba(15, 16, 18, 0.88) 0%, rgba(15, 16, 18, 0.70) 50%, rgba(15, 16, 18, 0.92) 100%), url('https://images.unsplash.com/photo-1600596542815-ffad4c1539a9?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
  border: 1px solid rgba(226, 194, 153, 0.3);
  border-radius: var(--radius-lg);
  padding: 60px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  position: relative;
  overflow: hidden;
}

.consultation-wrapper form {
  background: rgba(18, 20, 24, 0.88) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(226, 194, 153, 0.25) !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

@media (max-width: 960px) {
  .consultation-wrapper {
    grid-template-columns: 1fr;
    padding: 36px 24px;
  }
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--text-muted);
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  transition: all var(--transition-fast);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--accent-gold);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(226, 194, 153, 0.15);
}

.form-select option {
  background: var(--bg-card);
  color: var(--text-main);
}

/* ==========================================================================
   FAQ Accordion
   ========================================================================== */
.faq-list {
  max-width: 840px;
  margin: 40px auto 0;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-header {
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text-main);
}

.faq-header:hover {
  color: var(--accent-gold);
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: transform var(--transition-normal);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  background: var(--accent-gold);
  color: #121316;
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal);
}

.faq-content {
  padding: 0 28px 24px;
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background-color: #0b0c0e;
  border-top: 1px solid var(--border-color);
  padding: 80px 0 30px;
  color: var(--text-muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr) 1.5fr;
  gap: 40px;
  margin-bottom: 60px;
}

@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer-col h4 {
  color: var(--text-main);
  font-size: 1.15rem;
  margin-bottom: 24px;
  font-weight: 700;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a:hover {
  color: var(--accent-gold);
  padding-left: 6px;
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 0.9rem;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  transition: all var(--transition-fast);
}

.social-btn:hover {
  background: var(--accent-gold);
  color: #121316;
  transform: translateY(-3px);
}

/* ==========================================================================
   Floating WhatsApp Widget
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 60px;
  height: 60px;
  background-color: var(--accent-green);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: all var(--transition-normal);
}

.whatsapp-float:hover {
  transform: scale(1.1) rotate(10deg);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
  background-color: var(--accent-green-hover);
}

/* ==========================================================================
   Modals & Toasts
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-box {
  background: var(--bg-card);
  border: 1px solid var(--accent-gold);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 480px;
  width: 90%;
  text-align: center;
  transform: scale(0.9);
  transition: transform var(--transition-normal);
  box-shadow: var(--shadow-lg);
}

.modal-overlay.active .modal-box {
  transform: scale(1);
}

.modal-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.15);
  color: var(--accent-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 20px;
}

/* ==========================================================================
   Responsive Styles
   ========================================================================== */
@media (max-width: 900px) {
  .nav-list {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background: var(--bg-card);
    flex-direction: column;
    padding: 30px 24px;
    gap: 20px;
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    transform: translateY(-150%);
    transition: transform var(--transition-normal);
  }

  .nav-list.active {
    transform: translateY(0);
  }

  .mobile-toggle {
    display: flex;
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: rgba(255, 255, 255, 0.02);
    padding: 8px 0 8px 16px;
    display: none;
  }

  .nav-item.open .dropdown-menu {
    display: block;
  }

  .hero-section {
    padding: 120px 0 60px;
    min-height: auto;
  }
}


/* ── AVIVA Brand Logo Styling ── */
.brand-logo-img {
  height: 40px;
  width: auto;
  display: block;
  transition: transform 0.3s ease;
}
.logo-link:hover .brand-logo-img {
  transform: scale(1.05);
}

/* ── Premium Brand Client Logos Grid ── */
.premium-clients-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 40px 30px;
  align-items: center;
  justify-items: center;
  max-width: 1150px;
  margin: 0 auto;
}

.client-logo-card {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 100px;
  padding: 10px;
  transition: transform 0.3s ease;
}

.client-logo-card:hover {
  transform: translateY(-5px);
}

.client-logo-card img {
  max-width: 85%;
  max-height: 75px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.client-logo-card:hover img {
  transform: scale(1.06);
}

@media (max-width: 992px) {
  .premium-clients-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px 20px;
  }
}

@media (max-width: 600px) {
  .premium-clients-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 16px;
  }
}

/* ── Experience Centre Showcase Page (contact.html) ── */
.ec-hero-bg {
  position: relative;
  background: linear-gradient(180deg, rgba(15,13,10,0.75) 0%, rgba(15,13,10,0.9) 100%), url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
  padding: 120px 0 80px;
  text-align: center;
}

.ec-hero-title {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--accent-orange);
  margin-bottom: 20px;
  line-height: 1.2;
}

.ec-hero-sub {
  font-size: 1.15rem;
  color: #fff;
  max-width: 850px;
  margin: 0 auto 30px;
  line-height: 1.8;
}

.ec-ecosystem-container {
  max-width: 1000px;
  margin: 40px auto;
  position: relative;
  text-align: center;
}

.ec-house-img {
  width: 100%;
  max-width: 550px;
  margin: 0 auto;
  display: block;
  filter: drop-shadow(0 10px 30px rgba(0,0,0,0.5));
}

.ec-pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin-top: 30px;
}

.ec-pillar-badge {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-color);
  padding: 12px 16px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 600;
  color: #fff;
  transition: all 0.3s ease;
}

.ec-pillar-badge:hover {
  background: var(--accent-orange);
  border-color: var(--accent-orange);
  transform: translateY(-3px);
}

.ec-categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.ec-category-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.ec-category-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-gold);
}

.ec-category-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.ec-category-body {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.ec-demo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: center;
  margin-top: 40px;
}

@media (max-width: 768px) {
  .ec-demo-grid {
    grid-template-columns: 1fr;
  }
}

.ec-demo-img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.ec-location-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  margin-bottom: 40px;
}

@media (max-width: 850px) {
  .ec-location-card {
    grid-template-columns: 1fr;
  }
}

.ec-location-info {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ec-location-img {
  width: 100%;
  height: 100%;
  min-height: 350px;
  object-fit: cover;
}

/* Bright & Animated Testimonial Cards */
.ec-testimonial-card {
  position: relative;
  background: linear-gradient(135deg, rgba(30, 26, 22, 0.95) 0%, rgba(45, 30, 15, 0.9) 100%);
  border-radius: 20px;
  padding: 35px 30px;
  border: 2px solid rgba(255, 165, 0, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(255, 165, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Bright colorful variations for each card */
.ec-testimonial-card.card-orange {
  background: linear-gradient(135deg, rgba(255, 107, 0, 0.22) 0%, rgba(30, 25, 20, 0.95) 100%);
  border-color: #FF6B00;
  box-shadow: 0 15px 35px rgba(255, 107, 0, 0.25), inset 0 0 25px rgba(255, 107, 0, 0.15);
}

.ec-testimonial-card.card-gold {
  background: linear-gradient(135deg, rgba(245, 197, 66, 0.25) 0%, rgba(30, 25, 20, 0.95) 100%);
  border-color: #F5C542;
  box-shadow: 0 15px 35px rgba(245, 197, 66, 0.25), inset 0 0 25px rgba(245, 197, 66, 0.15);
}

.ec-testimonial-card.card-cyan {
  background: linear-gradient(135deg, rgba(0, 225, 255, 0.22) 0%, rgba(30, 25, 20, 0.95) 100%);
  border-color: #00E1FF;
  box-shadow: 0 15px 35px rgba(0, 225, 255, 0.25), inset 0 0 25px rgba(0, 225, 255, 0.15);
}

/* Hover Animation - Bounce / Float up with intense bright glow */
.ec-testimonial-card:hover {
  transform: translateY(-12px) scale(1.03);
  z-index: 2;
}

.ec-testimonial-card.card-orange:hover {
  box-shadow: 0 20px 45px rgba(255, 107, 0, 0.5), 0 0 30px rgba(255, 107, 0, 0.4);
  border-color: #FF8533;
}

.ec-testimonial-card.card-gold:hover {
  box-shadow: 0 20px 45px rgba(245, 197, 66, 0.5), 0 0 30px rgba(245, 197, 66, 0.4);
  border-color: #FFD700;
}

.ec-testimonial-card.card-cyan:hover {
  box-shadow: 0 20px 45px rgba(0, 225, 255, 0.5), 0 0 30px rgba(0, 225, 255, 0.4);
  border-color: #66EAFF;
}

/* Shimmer animation bar on top of the card */
.ec-testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
  transition: 0.5s;
}

.ec-testimonial-card:hover::before {
  left: 100%;
  transition: 0.7s ease-in-out;
}

/* Quote Icon in background */
.ec-testimonial-quote-bg {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 6rem;
  line-height: 1;
  color: #fff;
  opacity: 0.1;
  font-family: serif;
  pointer-events: none;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.ec-testimonial-card:hover .ec-testimonial-quote-bg {
  transform: rotate(10deg) scale(1.15);
  opacity: 0.25;
}

/* Avatar Badge Styling */
.ec-testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.ec-author-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
  color: #fff;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  flex-shrink: 0;
  letter-spacing: 1px;
}

.avatar-orange { background: linear-gradient(135deg, #FF6B00, #FFB800); }
.avatar-gold { background: linear-gradient(135deg, #F5C542, #FF9900); color: #111; }
.avatar-cyan { background: linear-gradient(135deg, #00E1FF, #0077FF); }

/* Subtle pulse animation for cards */
@keyframes cardFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.ec-testimonial-card {
  animation: cardFloat 6s ease-in-out infinite;
}

.ec-testimonial-card:nth-child(2) {
  animation-delay: -2s;
}

.ec-testimonial-card:nth-child(3) {
  animation-delay: -4s;
}

/* Stop float animation on hover so hover scale takes over smoothly */
.ec-testimonial-card:hover {
  animation-play-state: paused;
}

