/* ==========================================================================
   GrabChemistry — Main Design System & Stylesheet
   Exact Replica with Premium Aesthetics & Rich Micro-interactions
   ========================================================================== */

/* --- CSS RESET & VARIABLES --- */
:root {
  /* Brand Colors */
  --color-navy: #0C2340;
  --color-navy-dark: #07192E;
  --color-navy-deep: #06182B;
  --color-navy-light: #16365E;
  
  --color-primary: #1363DF;
  --color-primary-hover: #0652C5;
  --color-primary-light: #EBF3FE;
  --color-primary-subtle: #F0F6FF;
  
  --color-accent-cyan: #00B4D8;
  --color-accent-yellow: #FFD233;
  
  /* Section Backgrounds */
  --bg-page: #FFFFFF;
  --bg-hero: #FFFFFF;
  --bg-why-choose: #EEF5FC;
  --bg-connect: #FAF9F6;
  --bg-footer: #071E3D;
  
  /* Social Card Backgrounds & Borders */
  --card-yt-bg: #FFF5F5;
  --card-yt-border: #FEE2E2;
  --card-yt-glow: rgba(239, 68, 68, 0.12);
  
  --card-insta-bg: #FFF0F7;
  --card-insta-border: #FCE7F3;
  --card-insta-glow: rgba(217, 70, 239, 0.12);
  
  --card-wa-bg: #F0FDF4;
  --card-wa-border: #DCFCE7;
  --card-wa-glow: rgba(34, 197, 94, 0.12);
  
  --card-wa-chan-bg: #F0FDFA;
  --card-wa-chan-border: #CCFBF1;
  --card-wa-chan-glow: rgba(20, 184, 166, 0.12);

  /* Typography */
  --font-main: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-script: 'Caveat', 'Kalam', cursive;
  
  /* Neutrals */
  --text-primary: #0C2340;
  --text-secondary: #475569;
  --text-muted: #64748B;
  --border-light: #E2E8F0;
  --border-card: #E5E9F0;
  
  /* Layout & Spacing */
  --container-max: 1200px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  /* Shadows */
  --shadow-subtle: 0 4px 16px rgba(12, 35, 64, 0.04);
  --shadow-card: 0 10px 30px rgba(12, 35, 64, 0.06);
  --shadow-hover: 0 16px 36px rgba(12, 35, 64, 0.12);
  --shadow-pill: 0 4px 14px rgba(19, 99, 223, 0.25);
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-main);
  color: var(--text-primary);
  background-color: var(--bg-page);
  line-height: 1.6;
  overflow-x: hidden;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
  outline: none;
}

/* --- REUSABLE UTILITIES & BUTTONS --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* Section Badges (e.g. — WELCOME TO, — LATEST, etc.) */
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.badge-line {
  display: inline-block;
  width: 28px;
  height: 2.5px;
  background-color: var(--color-primary);
  border-radius: 2px;
}

.badge-text {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--color-navy);
  text-transform: uppercase;
}

/* Primary, Navy, and Pill Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all var(--transition-smooth);
  white-space: nowrap;
  user-select: none;
}

.btn-primary {
  background-color: var(--color-primary);
  color: #FFFFFF;
  box-shadow: var(--shadow-pill);
}

.btn-primary:hover {
  background-color: var(--color-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(19, 99, 223, 0.35);
}

.btn-navy {
  background-color: var(--color-navy);
  color: #FFFFFF;
}

.btn-navy:hover {
  background-color: var(--color-navy-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(12, 35, 64, 0.25);
}

.btn-outline {
  background-color: #FFFFFF;
  color: var(--color-navy);
  border: 1.5px solid #D0D7E2;
}

.btn-outline:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background-color: var(--color-primary-subtle);
  transform: translateY(-2px);
}

.btn-outline-pill {
  background-color: #FFFFFF;
  color: var(--color-navy);
  border: 1.5px solid #CBD5E1;
  padding: 8px 20px;
  font-size: 0.88rem;
  border-radius: var(--radius-full);
}

.btn-outline-pill:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background-color: var(--color-primary-subtle);
  transform: translateY(-1px);
}

.btn-light-blue {
  background-color: #E2EBF8;
  color: var(--color-navy);
  font-weight: 600;
  padding: 10px 22px;
  font-size: 0.9rem;
}

.btn-light-blue:hover {
  background-color: #D3E2F6;
  color: var(--color-primary-hover);
  transform: translateY(-2px);
}

.btn-arrow, .btn-arrow-down {
  display: inline-block;
  transition: transform var(--transition-fast);
  font-weight: 700;
}

.btn:hover .btn-arrow {
  transform: translateX(4px);
}

.btn:hover .btn-arrow-down {
  transform: translateY(3px);
}

/* ==========================================================================
   1. HEADER / NAVBAR
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  padding: 18px 0;
  transition: padding var(--transition-fast), box-shadow var(--transition-fast);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Brand Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-icon-wrapper {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-cap-icon {
  width: 42px;
  height: 42px;
}

.logo-text-group {
  display: flex;
  flex-direction: column;
}

.logo-brand-name {
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--color-navy);
  line-height: 1.1;
}

.logo-chem {
  color: var(--color-primary);
}

.logo-tagline {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: #64748B;
  margin-top: 2px;
}

/* Desktop Navigation */
.main-nav .nav-list {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-link {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--color-navy);
  position: relative;
  padding: 6px 0;
}

.nav-link:hover {
  color: var(--color-primary);
}

/* Active Link Indicator (Home) */
.nav-link.active {
  color: var(--color-navy);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2.5px;
  background-color: var(--color-primary);
  border-radius: 2px;
}

.mobile-nav-cta {
  display: none;
}

/* Header Action Button */
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

#header-yt-btn {
  padding: 10px 20px;
  font-size: 0.9rem;
}

.btn-yt-icon {
  width: 18px;
  height: 18px;
  color: #FFFFFF;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 30px;
  height: 24px;
}

.mobile-toggle span {
  display: block;
  width: 100%;
  height: 2.5px;
  background-color: var(--color-navy);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

/* ==========================================================================
   2. HERO SLIDER BANNER SECTION (100% FULL WIDTH)
   ========================================================================== */
.hero-slider-section {
  width: 100%;
  margin: 0;
  padding: 0 0 45px 0;
  background-color: var(--bg-page);
  position: relative;
}

.hero-slider-wrapper {
  width: 100%;
  margin: 0;
  padding: 0;
  position: relative;
}

.hero-banner-media {
  position: relative;
  width: 100%;
  display: block;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(12, 35, 64, 0.04);
}

.hero-banner-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 0;
  border: none;
}

/* Interactive Clickable Hotspots overlaying the banner buttons */
.hero-banner-hotspots {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.banner-hotspot {
  position: absolute;
  pointer-events: auto;
  cursor: pointer;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

/* Position of 'Watch on YouTube' button on the banner */
.hotspot-yt {
  left: 11%;
  bottom: 9%;
  width: 20.3%;
  height: 14.2%;
}

.hotspot-yt:hover {
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 0 2px rgba(19, 99, 223, 0.6);
}

/* Position of 'Explore Videos' button on the banner */
.hotspot-explore {
  left: 33.1%;
  bottom: 9%;
  width: 15%;
  height: 14.2%;
}

.hotspot-explore:hover {
  background: rgba(19, 99, 223, 0.08);
  box-shadow: 0 0 0 2px rgba(19, 99, 223, 0.4);
}

/* Visually Hidden Helper for Screen Readers & SEO */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


/* ==========================================================================
   3. SOCIAL / COMMUNITY CARDS GRID
   ========================================================================== */
.social-channels-section {
  padding: 10px 0 50px 0;
}

.social-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.social-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 28px 16px 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-card);
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
  background: #FFFFFF;
}

.social-card::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.6;
  transition: opacity var(--transition-fast);
  z-index: 0;
}

.social-card > * {
  position: relative;
  z-index: 1;
}

/* Individual Card Styling matching screenshot */
.card-youtube::before { background-color: var(--card-yt-bg); }
.card-youtube { border-color: var(--card-yt-border); }
.card-youtube:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 28px var(--card-yt-glow);
  border-color: #FCA5A5;
}

.card-instagram::before { background-color: var(--card-insta-bg); }
.card-instagram { border-color: var(--card-insta-border); }
.card-instagram:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 28px var(--card-insta-glow);
  border-color: #F0ABFC;
}

.card-whatsapp::before { background-color: var(--card-wa-bg); }
.card-whatsapp { border-color: var(--card-wa-border); }
.card-whatsapp:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 28px var(--card-wa-glow);
  border-color: #86EFAC;
}

.card-wa-channel::before { background-color: var(--card-wa-chan-bg); }
.card-wa-channel { border-color: var(--card-wa-chan-border); }
.card-wa-channel:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 28px var(--card-wa-chan-glow);
  border-color: #5EEAD4;
}

/* Card Icons */
.social-icon-box {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  transition: transform var(--transition-smooth);
}

.social-card:hover .social-icon-box {
  transform: scale(1.1);
}

.social-svg {
  width: 40px;
  height: 40px;
}

.social-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 6px;
}

.social-card-action {
  font-size: 0.84rem;
  font-weight: 500;
  color: #64748B;
  display: flex;
  align-items: center;
  gap: 4px;
}

.arrow-right {
  transition: transform var(--transition-fast);
}

.social-card:hover .arrow-right {
  transform: translateX(4px);
  color: var(--color-navy);
}

/* ==========================================================================
   4. LATEST YOUTUBE VIDEOS (SLIDER / CAROUSEL)
   ========================================================================== */
.videos-section {
  padding: 40px 0 60px 0;
}

.section-header-flex {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 28px;
  gap: 20px;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--color-navy);
  letter-spacing: -0.5px;
  line-height: 1.15;
}

.section-title-highlight {
  color: var(--color-primary);
}

.section-subtitle {
  font-size: 0.98rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.section-controls-wrapper {
  display: flex;
  align-items: center;
  gap: 14px;
}

.slider-arrows {
  display: flex;
  align-items: center;
  gap: 8px;
}

.slider-nav-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: #FFFFFF;
  border: 1.5px solid #CBD5E1;
  color: var(--color-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.slider-nav-btn:hover {
  border-color: var(--color-primary);
  background-color: var(--color-primary);
  color: #FFFFFF;
  transform: scale(1.05);
}

/* Video Carousel Track */
.video-carousel-container {
  position: relative;
  overflow: hidden;
  padding: 10px 0 20px 0;
}

.video-track {
  display: flex;
  gap: 22px;
  transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

/* Video Cards */
.video-card {
  flex: 0 0 calc((100% - (22px * 3)) / 4);
  min-width: 255px;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform var(--transition-smooth);
}

.video-card:hover {
  transform: translateY(-5px);
}

.thumbnail-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(12, 35, 64, 0.1);
  background-color: #0B192C;
}

/* Thumbnail Internal Artwork */
.thumb-art {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 10px 12px;
  background-size: cover;
  background-position: center;
}

.thumb-badge-top {
  font-size: 0.68rem;
  font-weight: 800;
  color: #FFD233;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.thumb-main-title {
  font-size: 0.82rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.15;
}

.thumb-title-bold {
  font-size: 0.95rem;
  color: #FFFFFF;
}

.thumb-yellow {
  color: #FFD233;
}

/* Card Specific Thumbnail Backgrounds & Elements */
.thumb-atomic {
  background: radial-gradient(circle at 75% 50%, #003B73 0%, #031429 80%);
}

.atom-graphic {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 65px;
  height: 65px;
}

.orbit {
  position: absolute;
  inset: 0;
  border: 1.5px solid rgba(0, 180, 255, 0.6);
  border-radius: 50%;
}
.orbit-1 { transform: rotate(30deg) scaleX(0.45); }
.orbit-2 { transform: rotate(-30deg) scaleX(0.45); }
.orbit-3 { transform: rotate(90deg) scaleX(0.45); }

.nucleus {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 14px;
  height: 14px;
  background: radial-gradient(circle, #FF4500, #FFD700);
  border-radius: 50%;
  box-shadow: 0 0 10px #FF8C00;
}

.thumb-bonding {
  background: radial-gradient(circle at 70% 60%, #0B2545 0%, #040D1A 85%);
}

.molecule-graphic {
  position: absolute;
  right: 10px;
  bottom: 12px;
  width: 75px;
  height: 45px;
}

.atom-ball {
  position: absolute;
  border-radius: 50%;
  box-shadow: inset -2px -2px 4px rgba(0,0,0,0.5), 0 2px 6px rgba(0,0,0,0.4);
}
.red-ball { background: #E63946; }
.blue-ball { background: #1D3557; }
.white-ball { background: #F1FAEE; }

.b-1 { width: 14px; height: 14px; left: 0; top: 15px; }
.b-2 { width: 18px; height: 18px; left: 24px; top: 6px; }
.b-3 { width: 12px; height: 12px; left: 48px; top: 22px; }
.b-4 { width: 14px; height: 14px; left: 62px; top: 8px; }

.bond-stick {
  position: absolute;
  height: 3px;
  background: #A8DADC;
  border-radius: 2px;
}
.stick-1 { width: 16px; left: 10px; top: 18px; transform: rotate(-25deg); }
.stick-2 { width: 18px; left: 36px; top: 18px; transform: rotate(35deg); }
.stick-3 { width: 15px; left: 52px; top: 20px; transform: rotate(-40deg); }

.thumb-organic-art {
  background: radial-gradient(circle at 75% 55%, #05386B 0%, #05192D 85%);
}

.flask-graphic {
  position: absolute;
  right: 15px;
  bottom: 10px;
}

.mini-flask {
  width: 32px;
  height: 48px;
  border: 2px solid rgba(0, 195, 255, 0.8);
  border-radius: 4px 4px 10px 10px;
  background: linear-gradient(180deg, transparent 40%, #00B4D8 40%);
  box-shadow: 0 0 14px rgba(0, 180, 216, 0.7);
}

.thumb-thermo {
  background: radial-gradient(circle at 60% 50%, #0D2038 0%, #050E1A 85%);
}

.thermo-title {
  font-size: 0.95rem;
  letter-spacing: 0.5px;
}

.thermo-subtitle {
  font-size: 0.72rem;
  color: #FFFFFF;
  margin-top: 2px;
}

.curve-graphic {
  position: absolute;
  right: 8px;
  bottom: 6px;
  width: 100px;
  height: 45px;
}

.thumb-coordination {
  background: radial-gradient(circle at 70% 50%, #134E5E 0%, #0A1C2A 85%);
}

.thumb-kinetics {
  background: radial-gradient(circle at 70% 50%, #203A43 0%, #0F2027 85%);
}

/* Play Button Overlay on Hover */
.play-overlay {
  position: absolute;
  inset: 0;
  background: rgba(12, 35, 64, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.play-btn-circle {
  width: 44px;
  height: 44px;
  background: #FF0000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  transform: scale(0.85);
  transition: transform var(--transition-smooth);
  box-shadow: 0 4px 15px rgba(255, 0, 0, 0.4);
}

.play-btn-circle svg {
  width: 18px;
  height: 18px;
  margin-left: 2px;
}

.video-card:hover .play-overlay {
  opacity: 1;
}

.video-card:hover .play-btn-circle {
  transform: scale(1);
}

.video-duration-badge {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background-color: rgba(0, 0, 0, 0.85);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
}

.video-card-title {
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--color-navy);
  line-height: 1.35;
  margin-top: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Pagination Dots */
.slider-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #CBD5E1;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.slider-dot.active {
  width: 24px;
  border-radius: 4px;
  background-color: var(--color-primary);
}

/* ==========================================================================
   5. WHY CHOOSE GRABCHEMISTRY? SECTION
   ========================================================================== */
.why-choose-section {
  background-color: var(--bg-why-choose);
  padding: 60px 0;
  position: relative;
}

.why-choose-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.6fr;
  gap: 40px;
  align-items: center;
}

.why-choose-title {
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--color-navy);
  letter-spacing: -0.5px;
  line-height: 1.15;
  margin-bottom: 12px;
}

.why-choose-description {
  font-size: 1.05rem;
  color: #475569;
  line-height: 1.55;
  max-width: 440px;
}

.feature-badges-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.feature-badge-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.feature-icon-circle {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background-color: #FFFFFF;
  border: 1.5px solid #D0E1F4;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1363DF;
  margin-bottom: 14px;
  box-shadow: 0 6px 16px rgba(19, 99, 223, 0.08);
  transition: all var(--transition-smooth);
}

.feature-badge-item:hover .feature-icon-circle {
  transform: translateY(-4px) scale(1.05);
  border-color: var(--color-primary);
  background-color: #1363DF;
  color: #FFFFFF;
  box-shadow: 0 10px 24px rgba(19, 99, 223, 0.25);
}

.feature-svg {
  width: 30px;
  height: 30px;
}

.feature-label {
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.25;
}

/* ==========================================================================
   6. GET IN TOUCH / LET'S CONNECT SECTION
   ========================================================================== */
.connect-section {
  background-color: var(--bg-connect);
  padding: 65px 0;
  position: relative;
}

.connect-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr 0.85fr;
  gap: 30px;
  align-items: center;
}

.connect-title {
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--color-navy);
  letter-spacing: -0.5px;
  line-height: 1.15;
  margin-bottom: 12px;
}

.connect-description {
  font-size: 1rem;
  color: #475569;
  line-height: 1.5;
}

/* Center Email Card */
.email-contact-card {
  background: #FFFFFF;
  border: 1px solid #E5E9F0;
  border-radius: var(--radius-md);
  padding: 24px 28px;
  box-shadow: 0 10px 30px rgba(12, 35, 64, 0.04);
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.email-contact-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(12, 35, 64, 0.08);
}

.email-info-group {
  display: flex;
  align-items: center;
  gap: 16px;
}

.email-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background-color: #F0F6FF;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-navy);
}

.email-icon-box svg {
  width: 24px;
  height: 24px;
}

.email-text-details {
  display: flex;
  flex-direction: column;
}

.email-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: #64748B;
}

.email-address {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-navy);
}

.email-address:hover {
  color: var(--color-primary);
}

/* Right Handwritten Script Callout */
.connect-script-callout {
  display: flex;
  justify-content: center;
  position: relative;
}

.script-text-wrapper {
  font-family: var(--font-script);
  color: #163E70;
  transform: rotate(-5deg);
  text-align: left;
}

.script-question {
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1.1;
}

.script-action {
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.15;
  margin-top: 2px;
}

.script-doodle-arrow {
  width: 90px;
  height: 35px;
  margin-top: -6px;
  margin-left: 10px;
}

/* ==========================================================================
   7. FOOTER
   ========================================================================== */
.site-footer {
  background-color: var(--bg-footer);
  color: #FFFFFF;
  padding: 55px 0 35px 0;
}

.footer-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
  padding-bottom: 35px;
}

/* Footer Logo */
.footer-brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #FFFFFF;
}

.footer-logo-icon {
  width: 42px;
  height: 42px;
}

.footer-logo-text {
  display: flex;
  flex-direction: column;
}

.footer-name {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #FFFFFF;
  line-height: 1.1;
}

.footer-tagline {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: #94A3B8;
  margin-top: 2px;
}

/* Footer Nav Links */
.footer-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.footer-nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: #CBD5E1;
  transition: color var(--transition-fast);
}

.footer-nav a:hover {
  color: #FFFFFF;
}

/* Footer Social Buttons */
.footer-socials {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-social-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  transition: transform var(--transition-smooth), opacity var(--transition-fast);
}

.footer-social-btn:hover {
  transform: translateY(-3px) scale(1.1);
}

.footer-social-btn svg {
  width: 20px;
  height: 20px;
}

.f-yt { background-color: #FF0000; }
.f-insta {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}
.f-wa { background-color: #25D366; }
.f-tg { background-color: #00A884; }

/* Quote Divider */
.footer-quote-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin: 10px 0 28px 0;
}

.divider-line {
  flex: 1;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.15);
}

.footer-script-quote {
  font-family: var(--font-script);
  font-size: 1.4rem;
  color: #94A3B8;
  white-space: nowrap;
}

/* Bottom Copyright */
.footer-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #94A3B8;
  font-weight: 500;
}

/* ==========================================================================
   8. MODALS & POPUPS
   ========================================================================== */
.video-modal-backdrop, .contact-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(7, 25, 46, 0.75);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.video-modal-backdrop.open, .contact-modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.video-modal-dialog {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  max-width: 680px;
  width: 100%;
  overflow: hidden;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.video-modal-backdrop.open .video-modal-dialog {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  color: #FFFFFF;
  font-size: 20px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
  transition: background var(--transition-fast);
}

.modal-close-btn:hover {
  background: rgba(239, 68, 68, 0.9);
}

.simulated-player-screen {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #06152B;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  overflow: hidden;
}

.player-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: rgba(6, 21, 43, 0.6);
  color: #FFFFFF;
  z-index: 10;
}

.player-big-btn {
  width: 60px;
  height: 60px;
  background: #FF0000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 25px rgba(255, 0, 0, 0.6);
}

.player-big-btn svg {
  width: 24px;
  height: 24px;
  margin-left: 4px;
}

.player-instruction {
  font-size: 0.9rem;
  font-weight: 600;
}

.simulated-controls {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.85) 0%, transparent 100%);
  padding: 10px 16px;
  z-index: 12;
}

.scrub-bar {
  width: 100%;
  height: 4px;
  background: rgba(255,255,255,0.3);
  border-radius: 2px;
  margin-bottom: 8px;
}

.scrub-progress {
  width: 35%;
  height: 100%;
  background: #FF0000;
  border-radius: 2px;
}

.controls-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #FFFFFF;
  font-size: 0.78rem;
  font-weight: 600;
}

.hd-badge {
  background: #1363DF;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.68rem;
}

.modal-info-body {
  padding: 24px;
}

.modal-category-tag {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.modal-lecture-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-navy);
  margin-bottom: 8px;
}

.modal-lecture-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 20px;
}

.modal-actions-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Contact Modal Card */
.contact-modal-card {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  max-width: 480px;
  width: 100%;
  padding: 32px;
  position: relative;
  box-shadow: 0 25px 50px rgba(0,0,0,0.3);
}

.contact-modal-header {
  text-align: center;
  margin-bottom: 20px;
}

.contact-cap-icon {
  font-size: 2.2rem;
  margin-bottom: 6px;
}

.contact-modal-header h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-navy);
}

.contact-modal-header p {
  font-size: 0.88rem;
  color: #64748B;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.form-group label {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--color-navy);
}

.form-group input, .form-group textarea {
  padding: 10px 14px;
  border: 1.5px solid #CBD5E1;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.92rem;
  transition: border-color var(--transition-fast);
}

.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(19, 99, 223, 0.15);
}

.btn-block {
  width: 100%;
  margin-top: 8px;
}

/* ==========================================================================
   9. RESPONSIVE BREAKPOINTS (100% MOBILE & TABLET OPTIMIZED)
   ========================================================================== */

/* --- Tablet / Medium Screens (<= 1024px) --- */
@media (max-width: 1024px) {
  .social-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .connect-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .connect-script-callout {
    grid-column: 1 / -1;
    justify-content: center;
  }

  .video-card {
    flex: 0 0 calc((100% - 22px) / 2);
  }
}

/* --- Mobile Smartphones & Small Tablets (<= 860px) --- */
@media (max-width: 860px) {
  .container {
    padding: 0 16px;
  }

  /* Header & Mobile Drawer Navigation */
  .site-header {
    padding: 10px 0;
  }

  .header-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }

  .brand-logo {
    gap: 8px;
    flex-shrink: 0;
  }

  .logo-cap-icon {
    width: 36px;
    height: 36px;
  }

  .logo-brand-name {
    font-size: 1.35rem;
  }

  .logo-tagline {
    font-size: 0.55rem;
    letter-spacing: 1.2px;
  }

  .header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  /* Animated Hamburger Menu Button */
  .mobile-toggle {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    z-index: 110;
    width: 42px;
    height: 42px;
    padding: 8px;
    background: transparent;
    border: none;
    -webkit-tap-highlight-color: transparent;
  }

  .mobile-toggle span {
    display: block;
    width: 24px;
    height: 2.5px;
    background-color: var(--color-navy);
    border-radius: 2px;
    transition: all var(--transition-fast);
  }

  .mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .mobile-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .main-nav {
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid #E2E8F0;
    padding: 16px 20px 20px;
    box-shadow: 0 16px 35px rgba(12, 35, 64, 0.12);
    display: none;
    animation: slideDownMobile 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    z-index: 99;
  }

  @keyframes slideDownMobile {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .main-nav.active {
    display: block;
  }

  .main-nav .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }

  .nav-link {
    font-size: 1rem;
    display: block;
    width: 100%;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    transition: background-color var(--transition-fast), color var(--transition-fast);
  }

  .nav-link:hover, .nav-link:active {
    background-color: var(--color-primary-subtle);
    color: var(--color-primary);
  }

  .nav-link.active {
    background-color: var(--color-primary-subtle);
    color: var(--color-primary);
    font-weight: 700;
  }

  .nav-link.active::after {
    display: none;
  }

  .mobile-nav-cta {
    display: block;
    width: 100%;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #E2E8F0;
  }

  .btn-mobile-watch {
    width: 100%;
    padding: 12px 20px;
    font-size: 0.95rem;
    font-weight: 700;
  }

  #header-yt-btn {
    display: none;
  }

  /* Full Width Slider Banner Mobile */
  .hero-slider-section {
    padding: 0 0 20px 0;
  }

  .banner-hotspot:active {
    background: rgba(19, 99, 223, 0.2);
  }

  /* Social Community Cards 2x2 Grid */
  .social-channels-section {
    padding: 6px 0 32px 0;
  }

  .social-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    width: 100%;
  }

  .social-card {
    min-width: 0;
    padding: 16px 8px 14px;
    border-radius: var(--radius-md);
    -webkit-tap-highlight-color: transparent;
  }

  .social-card:active {
    transform: scale(0.97);
  }

  .social-icon-box {
    width: 40px;
    height: 40px;
    margin-bottom: 8px;
  }

  .social-svg {
    width: 32px;
    height: 32px;
  }

  .social-card-title {
    font-size: 0.88rem;
    line-height: 1.25;
    margin-bottom: 4px;
    word-break: break-word;
    text-align: center;
  }

  .social-card-action {
    font-size: 0.72rem;
    white-space: nowrap;
  }

  /* Video Carousel on Mobile */
  .videos-section {
    padding: 28px 0 40px 0;
  }

  .section-header-flex {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 18px;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .section-subtitle {
    font-size: 0.88rem;
  }

  .section-controls-wrapper {
    width: 100%;
    justify-content: space-between;
  }

  .video-carousel-container {
    touch-action: pan-y;
  }

  .video-card {
    flex: 0 0 86%;
    min-width: unset;
    -webkit-tap-highlight-color: transparent;
  }

  .video-card:active {
    transform: scale(0.98);
  }

  .video-card-title {
    font-size: 0.88rem;
  }

  /* Why Choose Section Mobile */
  .why-choose-section {
    padding: 40px 0;
  }

  .why-choose-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 28px;
  }

  .why-choose-title {
    font-size: 1.75rem;
  }

  .why-choose-description {
    font-size: 0.95rem;
    margin: 0 auto;
  }

  .feature-badges-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .feature-icon-circle {
    width: 60px;
    height: 60px;
    margin-bottom: 10px;
  }

  .feature-svg {
    width: 28px;
    height: 28px;
  }

  .feature-label {
    font-size: 0.88rem;
  }

  /* Let's Connect Mobile */
  .connect-section {
    padding: 40px 0;
  }

  .connect-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 22px;
  }

  .connect-title {
    font-size: 1.75rem;
  }

  .connect-description {
    font-size: 0.95rem;
  }

  .email-contact-card {
    padding: 20px 16px;
    text-align: center;
    align-items: center;
  }

  .email-info-group {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }

  .email-address {
    font-size: 0.95rem;
    word-break: break-all;
  }

  .btn-light-blue {
    width: 100%;
    padding: 12px 20px;
  }

  .connect-script-callout {
    margin-top: 8px;
  }

  .script-question {
    font-size: 1.4rem;
  }

  .script-action {
    font-size: 1.2rem;
  }

  /* Footer Mobile */
  .site-footer {
    padding: 38px 0 max(25px, env(safe-area-inset-bottom, 25px)) 0;
  }

  .footer-top-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 22px;
    padding-bottom: 24px;
  }

  .footer-nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px;
  }

  .footer-social-btn {
    width: 40px;
    height: 40px;
  }

  .footer-script-quote {
    font-size: 1.15rem;
  }

  .footer-bottom-row {
    flex-direction: column;
    gap: 10px;
    text-align: center;
    font-size: 0.8rem;
  }

  /* Modals on Mobile */
  .video-modal-dialog {
    max-width: 94vw;
    max-height: 88vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .modal-info-body {
    padding: 18px 16px;
  }

  .contact-modal-card {
    max-width: 94vw;
    max-height: 88vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 24px 18px;
  }

  /* Prevent iOS Safari auto-zoom on form inputs */
  .form-group input, .form-group textarea {
    font-size: 16px;
  }
}

/* --- Small Mobile Phones (<= 480px) --- */
@media (max-width: 480px) {
  .logo-brand-name {
    font-size: 1.22rem;
  }

  .logo-tagline {
    font-size: 0.48rem;
    letter-spacing: 0.8px;
  }

  .social-cards-grid {
    gap: 10px;
  }

  .social-card {
    padding: 14px 8px 12px;
  }

  .social-card-title {
    font-size: 0.88rem;
  }

  .social-card-action {
    font-size: 0.72rem;
  }

  .section-title {
    font-size: 1.55rem;
  }

  .why-choose-title, .connect-title {
    font-size: 1.55rem;
  }

  .feature-icon-circle {
    width: 52px;
    height: 52px;
  }

  .feature-label {
    font-size: 0.82rem;
  }

  .video-card {
    flex: 0 0 90%;
  }
}

/* ==========================================================================
   10. FLOATING WHATSAPP BUTTON (BOTTOM RIGHT)
   ========================================================================== */
.floating-whatsapp-btn {
  position: fixed;
  bottom: 26px;
  right: 26px;
  width: 58px;
  height: 58px;
  background: linear-gradient(135deg, #25D366 0%, #1DA851 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
  z-index: 9999;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.floating-whatsapp-btn:hover {
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
  color: #FFFFFF;
}

.floating-whatsapp-btn:active {
  transform: scale(0.95);
}

.floating-wa-icon {
  width: 32px;
  height: 32px;
  position: relative;
  z-index: 2;
}

/* Continuous Pulse Ripple Effect */
.floating-wa-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.4);
  animation: waPulse 2s infinite cubic-bezier(0.25, 1, 0.5, 1);
  z-index: 1;
}

@keyframes waPulse {
  0% {
    transform: scale(0.95);
    opacity: 0.8;
  }
  70% {
    transform: scale(1.35);
    opacity: 0;
  }
  100% {
    transform: scale(1.35);
    opacity: 0;
  }
}

/* Tooltip on Hover */
.floating-wa-tooltip {
  position: absolute;
  right: 68px;
  background: #0C2340;
  color: #FFFFFF;
  font-family: var(--font-main);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateX(10px);
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.floating-wa-tooltip::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -5px;
  transform: translateY(-50%);
  border-width: 5px 0 5px 5px;
  border-style: solid;
  border-color: transparent transparent transparent #0C2340;
}

.floating-whatsapp-btn:hover .floating-wa-tooltip {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 860px) {
  .floating-whatsapp-btn {
    bottom: max(18px, env(safe-area-inset-bottom, 18px));
    right: 18px;
    width: 52px;
    height: 52px;
  }

  .floating-wa-icon {
    width: 28px;
    height: 28px;
  }

  .floating-wa-tooltip {
    display: none;
  }
}


