/* ========================================
   INDEX PAGE SPECIFIC STYLES
   ======================================== */

/* Hero Section */
:root {
  --primary-color: #ffffff; /* White */
  --secondary-color: #f9f9f9; /* Off-white for sections */
  --accent-color: #e31e24; /* Marsorbit Red */
  --text-dark: #1a1a1a; /* For Headings */
  --text-body: #555555; /* For Paragraphs */
  --border-color: #e0e0e0; /* Light border */
  --transition: all 0.3s ease;
  --shadow-light: 0 4px 15px rgba(0, 0, 0, 0.05);
  --shadow-medium: 0 6px 20px rgba(0, 0, 0, 0.1);
  --container-width: 1200px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: var(--primary-color);
  color: var(--text-body);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}
ul {
  list-style: none;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* --- UTILITY CLASSES --- */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}
.section-padding {
  padding: 25px 0;
}
.text-center {
  text-align: center;
}
.heading-wrapper {
  margin-bottom: 60px;
  text-align: center;
}
.section-title {
  font-family: "Montserrat", sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 15px;
}
.section-subtitle {
  color: var(--accent-color);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  font-size: 0.9rem;
}

.btn {
  display: inline-block;
  padding: 12px 20px;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
}

.btn-primary {
  background-color: var(--accent-color);
  color: white;
  box-shadow: 0 4px 15px rgba(227, 30, 36, 0.3);
}

.btn-primary:hover {
  background-color: #c0191f; /* Darker Red */
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(227, 30, 36, 0.4);
}

.btn-outline {
  border-color: var(--accent-color);
  color: var(--accent-color);
}
.btn-outline:hover {
  background-color: var(--accent-color);
  color: #fff;
}

/* --- HEADER --- */
header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  z-index: 10000 !important;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 20px 0;
  transition: padding 0.3s ease, box-shadow 0.3s ease;
}

header.scrolled {
  padding: 15px 0;
  box-shadow: var(--shadow-medium);
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: "Montserrat", sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-dark);
}
.logo span {
  color: var(--accent-color);
}

.nav-menu {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-body);
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--accent-color);
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--accent-color);
}
.nav-link:hover::after {
  width: 100%;
}

.mobile-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-dark);
}

/* Mobile Nav */
@media (max-width: 991px) {
  .nav-menu {
    position: fixed !important;
    top: 70px; /* height of header */
    right: -100%;
    width: 80%;
    height: 100vh;
    background-color: #ffffff;
    flex-direction: column;
    padding: 25px;
    gap: 25px;
    transition: 0.4s ease-in-out;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    z-index: 10001 !important;
  }
  .nav-menu.active {
    right: 0;
  }
  .mobile-toggle {
    display: block;
    z-index: 10001 !important;
    position: relative;
  }
  .nav-menu .btn {
    width: 100%;
    text-align: center;
  }
}

/* --- BACKGROUND ANIMATION --- */
.background-animation-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background: linear-gradient(135deg, #ffffff 0%, #f9f9f9 50%, #ffffff 100%);
  will-change: transform;
}

.background-animation-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  will-change: transform;
}

/* Ensure all content is above animation */
body > *:not(.background-animation-container):not(.modal-overlay):not(header) {
  position: relative;
  z-index: 1;
}

/* Ensure header is always on top */
header,
#header {
  position: fixed !important;
  z-index: 10000 !important;
}

/* Smooth animation performance */
@media (prefers-reduced-motion: reduce) {
  .background-animation-container {
    display: none;
  }
  
  /* Disable section background animations for reduced motion */
  .hero::before,
  .hero::after,
  #services::before,
  #services::after,
  #copyright-protection::before,
  #copyright-protection::after,
  #all-platforms::before,
  #all-platforms::after,
  #about::before,
  #about::after,
  #youtube-showcase::before,
  #youtube-showcase::after,
  #why-us::before,
  #why-us::after,
  #testimonials::before,
  #testimonials::after,
  #gemini-strategy::before,
  #gemini-strategy::after {
    animation: none !important;
    opacity: 0.3;
  }
}

/* --- HERO SECTION --- */
.hero {
  padding-top: 0px; /* Header height */
  min-height: 96vh;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1;
  background: transparent;
  overflow: hidden;
}

/* Hero Background Animation - Gradient Waves */
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    rgba(227, 30, 36, 0.03) 0%,
    rgba(255, 255, 255, 0.05) 25%,
    rgba(227, 30, 36, 0.03) 50%,
    rgba(255, 255, 255, 0.05) 75%,
    rgba(227, 30, 36, 0.03) 100%
  );
  background-size: 400% 400%;
  animation: gradientWave 15s ease infinite;
  z-index: -1;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(227, 30, 36, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  animation: floatPulse 8s ease-in-out infinite;
  z-index: -1;
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 50px;
}
.hero-text {
  animation: fadeInUp 1s ease forwards;
}
.hero-text h1 {
  font-family: "Montserrat", sans-serif;
  font-size: 3.5rem;
  line-height: 1.2;
  color: var(--text-dark);
  margin-bottom: 25px;
}
.hero-text h1 span {
  color: var(--accent-color);
}
.hero-text p {
  font-size: 1.1rem;
  margin-bottom: 30px;
}
.hero-btns {
  display: flex;
  gap: 15px;
}

.hero-image {
  position: relative;
  animation: fadeInRight 1s ease forwards;
}
.hero-image img {
  width: 100%;
  border-radius: 15px;
  box-shadow: var(--shadow-medium);
}

/* Hero image graphic element */
.hero-image::before {
  content: "";
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 100px;
  height: 100px;
  background: var(--accent-color);
  border-radius: 50%;
  z-index: -1;
  opacity: 0.1;
}

@media (max-width: 991px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-text {
    text-align: center;
  }
  .hero-btns {
    justify-content: center;
  }
  .hero-image {
    grid-row: 1;
    margin-bottom: 30px;
  }
  .hero-text h1 {
    font-size: 2.5rem;
  }
}

/* --- SERVICES --- */
#services {
  background-color: var(--secondary-color);
  position: relative;
  z-index: 1;
  overflow: hidden;
}

/* Services Background Animation - Floating Geometric Shapes */
#services::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 20% 30%, rgba(227, 30, 36, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(227, 30, 36, 0.04) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
  animation: floatShapes 20s ease-in-out infinite;
  z-index: 0;
  pointer-events: none;
}

#services::after {
  content: "";
  position: absolute;
  top: -100px;
  left: -100px;
  width: 300px;
  height: 300px;
  background: linear-gradient(135deg, rgba(227, 30, 36, 0.1) 0%, transparent 100%);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  animation: morphShape 12s ease-in-out infinite;
  z-index: 0;
  pointer-events: none;
}

#services > * {
  position: relative;
  z-index: 1;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}
.service-card {
  background: var(--primary-color);
  padding: 20px 15px;
  border-radius: 15px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-light);
  transition: var(--transition);
}
.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-medium);
  border-color: var(--accent-color);
}
.service-icon {
  font-size: 2.5rem;
  color: var(--accent-color);
  margin-bottom: 20px;
}
.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--text-dark);
}
.service-card p {
  font-size: 0.95rem;
  margin-bottom: 20px;
}
.service-link {
  color: var(--accent-color);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.service-link:hover {
  gap: 10px;
}
.service-link i {
  font-size: 0.8rem;
}

/* --- NEW SECTION: COPYRIGHT PROTECTION --- */
#copyright-protection {
  background-color: #1a1a1a;
  color: #fff;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

/* Copyright Protection Background Animation - Subtle Particles */
#copyright-protection::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(2px 2px at 20% 30%, rgba(227, 30, 36, 0.15), transparent),
    radial-gradient(2px 2px at 60% 70%, rgba(227, 30, 36, 0.1), transparent),
    radial-gradient(1px 1px at 50% 50%, rgba(255, 255, 255, 0.1), transparent),
    radial-gradient(1px 1px at 80% 10%, rgba(227, 30, 36, 0.12), transparent),
    radial-gradient(2px 2px at 90% 60%, rgba(227, 30, 36, 0.08), transparent);
  background-size: 200% 200%;
  background-position: 0% 0%, 100% 50%, 50% 100%, 0% 50%, 100% 100%;
  animation: particleMove 25s ease infinite;
  z-index: 0;
  pointer-events: none;
}

#copyright-protection::after {
  content: "";
  position: absolute;
  bottom: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(227, 30, 36, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  animation: slowPulse 15s ease-in-out infinite;
  z-index: 0;
  pointer-events: none;
}

#copyright-protection > * {
  position: relative;
  z-index: 1;
}
#copyright-protection .section-title {
  color: #fff;
}
#copyright-protection .section-subtitle {
  color: var(--accent-color);
}

.protection-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.protection-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 17px;
  border-radius: 12px;
  transition: var(--transition);
}

.protection-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-5px);
  border-color: var(--accent-color);
}

.protection-icon {
  font-size: 3rem;
  color: var(--accent-color);
  margin-bottom: 25px;
  display: inline-block;
}

.protection-card h3 {
  font-family: "Montserrat", sans-serif;
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: #fff;
}

.protection-card p {
  color: #ccc;
  font-size: 0.95rem;
  line-height: 1.7;
}

/* --- NEW SECTION: ALL PLATFORMS --- */
#all-platforms {
  background-color: var(--primary-color);
  position: relative;
  z-index: 1;
  overflow: hidden;
}

/* All Platforms Background Animation - Animated Gradient Mesh */
#all-platforms::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    linear-gradient(120deg, rgba(227, 30, 36, 0.04) 0%, transparent 50%),
    linear-gradient(240deg, rgba(227, 30, 36, 0.03) 0%, transparent 50%),
    linear-gradient(360deg, rgba(255, 255, 255, 0.02) 0%, transparent 50%);
  background-size: 200% 200%;
  animation: meshGradient 18s ease infinite;
  z-index: 0;
  pointer-events: none;
}

#all-platforms::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    rgba(227, 30, 36, 0.05) 90deg,
    transparent 180deg,
    rgba(227, 30, 36, 0.03) 270deg,
    transparent 360deg
  );
  border-radius: 50%;
  animation: rotateConic 20s linear infinite;
  z-index: 0;
  pointer-events: none;
}

#all-platforms > * {
  position: relative;
  z-index: 1;
}

.platform-wrapper {
  background: var(--secondary-color);
  padding: 25px;
  border-radius: 20px;
  border: 1px dashed var(--border-color);
}

.platform-text {
  margin-bottom: 40px;
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.platform-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.platform-badge {
  background: #fff;
  padding: 12px 15px;
  border-radius: 50px;
  box-shadow: var(--shadow-light);
  font-weight: 600;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid transparent;
  transition: var(--transition);
}

.platform-badge i {
  color: var(--accent-color);
}

.platform-badge:hover {
  border-color: var(--accent-color);
  transform: scale(1.05);
  box-shadow: var(--shadow-medium);
}

/* --- ABOUT SECTION --- */
#about {
  position: relative;
  z-index: 1;
  overflow: hidden;
}

/* About Background Animation - Soft Flowing Waves */
#about::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    linear-gradient(180deg, rgba(227, 30, 36, 0.03) 0%, transparent 30%),
    linear-gradient(0deg, rgba(249, 249, 249, 0.05) 0%, transparent 30%);
  background-size: 100% 200%;
  animation: waveFlow 12s ease-in-out infinite;
  z-index: 0;
  pointer-events: none;
}

#about::after {
  content: "";
  position: absolute;
  top: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: linear-gradient(135deg, rgba(227, 30, 36, 0.06) 0%, transparent 100%);
  border-radius: 40% 60% 60% 40% / 60% 30% 70% 40%;
  animation: blobMorph 16s ease-in-out infinite;
  z-index: 0;
  pointer-events: none;
}

#about > * {
  position: relative;
  z-index: 1;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-img {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-medium);
}
.about-text p {
  margin-bottom: 20px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 30px;
}
.stat-item h3 {
  color: var(--accent-color);
  font-size: 2.2rem;
  font-family: "Montserrat", sans-serif;
}
.stat-item span {
  font-size: 0.9rem;
  text-transform: uppercase;
}

@media (max-width: 991px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}

/* --- WHY US --- */
#why-us {
  background-color: var(--secondary-color);
  position: relative;
  z-index: 1;
  overflow: hidden;
}

/* Why Us Background Animation - Animated Grid Pattern */
#why-us::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(227, 30, 36, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(227, 30, 36, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridMove 20s linear infinite;
  z-index: 0;
  pointer-events: none;
}

#why-us::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(227, 30, 36, 0.08) 0%,
    rgba(227, 30, 36, 0.04) 40%,
    transparent 70%
  );
  border-radius: 50%;
  animation: gridPulse 10s ease-in-out infinite;
  z-index: 0;
  pointer-events: none;
}

#why-us > * {
  position: relative;
  z-index: 1;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}
.feature-item {
  text-align: center;
  padding: 15px 10px;
  background: #fff;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  transition: var(--transition);
}
.feature-item:hover {
  box-shadow: var(--shadow-medium);
  transform: translateY(-5px);
}
.feature-item i {
  font-size: 3rem;
  color: var(--accent-color);
  margin-bottom: 20px;
}
.feature-item h4 {
  margin-bottom: 10px;
  font-size: 1.2rem;
  color: var(--text-dark);
}
.feature-item p {
  font-size: 0.9rem;
}

/* --- YOUTUBE SHOWCASE --- */
#youtube-showcase {
  position: relative;
  z-index: 1;
  overflow: hidden;
}

/* YouTube Showcase Background Animation - Video-like Animated Background */
#youtube-showcase::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 50px,
      rgba(227, 30, 36, 0.02) 50px,
      rgba(227, 30, 36, 0.02) 52px
    ),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 50px,
      rgba(227, 30, 36, 0.015) 50px,
      rgba(227, 30, 36, 0.015) 52px
    );
  animation: scanLines 8s linear infinite;
  z-index: 0;
  pointer-events: none;
}

#youtube-showcase::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(227, 30, 36, 0.05) 50%,
    transparent 100%
  );
  animation: videoSweep 6s ease-in-out infinite;
  z-index: 0;
  pointer-events: none;
}

#youtube-showcase > * {
  position: relative;
  z-index: 1;
}

.slider-container {
  position: relative;
}
.slider-wrapper {
  overflow: hidden;
  width: 100%;
}
.slider-track {
  display: flex;
  gap: 20px;
  transition: transform 0.5s ease;
}
.video-card {
  flex-shrink: 0;
  width: calc(100% / 3 - (40px / 3)); /* 3 cards, 20px gap */
  background: #fff;
  border-radius: 10px;
  box-shadow: var(--shadow-light);
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition: var(--transition);
}
.video-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
}
.video-thumbnail {
  position: relative;
  cursor: pointer;
}
.video-thumbnail img {
  width: 100%;
  height: auto;
  display: block;
}
.video-play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 3rem;
  color: rgba(255, 255, 255, 0.9);
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.video-thumbnail:hover .video-play-icon {
  transform: translate(-50%, -50%) scale(1.1);
  color: #fff;
  background-color: rgba(227, 30, 36, 0.8);
}
.video-info {
  padding: 10px;
}
.video-info h4 {
  font-size: 1.1rem;
  color: var(--text-dark);
  margin-bottom: 5px;
}
.video-info p {
  font-size: 0.9rem;
  color: var(--text-body);
}
.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: #fff;
  border: 2px solid var(--border-color);
  color: var(--accent-color);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-medium);
  transition: var(--transition);
}
.slider-nav:hover {
  background-color: var(--accent-color);
  color: #fff;
  border-color: var(--accent-color);
}
.slider-nav:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background-color: #eee;
}
.slider-prev {
  left: -22px; /* Half of width */
}
.slider-next {
  right: -22px; /* Half of width */
}

@media (max-width: 991px) {
  .video-card {
    width: calc(50% - 10px); /* 2 cards */
  }
}
@media (max-width: 768px) {
  .video-card {
    width: 100%; /* 1 card */
  }
  .slider-prev {
    left: 10px;
  }
  .slider-next {
    right: 10px;
  }
}

/* --- TESTIMONIALS --- */
#testimonials {
  position: relative;
  z-index: 1;
  overflow: hidden;
}

/* Testimonials Background Animation - Subtle Animated Gradient */
#testimonials::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(227, 30, 36, 0.02) 0%,
    rgba(255, 255, 255, 0.03) 25%,
    rgba(227, 30, 36, 0.02) 50%,
    rgba(255, 255, 255, 0.03) 75%,
    rgba(227, 30, 36, 0.02) 100%
  );
  background-size: 400% 400%;
  animation: testimonialGradient 14s ease infinite;
  z-index: 0;
  pointer-events: none;
}

#testimonials::after {
  content: "";
  position: absolute;
  top: -20%;
  right: -15%;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(227, 30, 36, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  animation: testimonialFloat 12s ease-in-out infinite;
  z-index: 0;
  pointer-events: none;
}

#testimonials > * {
  position: relative;
  z-index: 1;
}

.testimonial-container {
  background: #fff;
  padding: 25px;
  border-radius: 20px;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  box-shadow: var(--shadow-medium);
  border: 1px solid var(--border-color);
}
.testimonial-icon {
  font-size: 2.5rem;
  color: var(--accent-color);
  margin-bottom: 20px;
}
.testimonial-text {
  font-size: 1.2rem;
  font-style: italic;
  margin-bottom: 20px;
  color: var(--text-dark);
}
.client-name {
  font-weight: 700;
  color: var(--text-dark);
  font-family: "Montserrat", sans-serif;
}
.testimonial-nav {
  margin-top: 25px;
}
.testimonial-nav button {
  background: none;
  border: 2px solid var(--border-color);
  color: var(--text-body);
  width: 40px;
  height: 40px;
  cursor: pointer;
  border-radius: 50%;
  margin: 0 5px;
  transition: var(--transition);
}
.testimonial-nav button:hover {
  background: var(--accent-color);
  border-color: var(--accent-color);
  color: #fff;
}

/* --- FOOTER --- */
footer {
  background-color: #1a1a1a;
  color: #a0a0a0;
  padding-top: 20px;
  position: relative;
  z-index: 1;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}
.footer-col h4 {
  color: #fff;
  margin-bottom: 25px;
  font-size: 1.2rem;
  position: relative;
  padding-bottom: 10px;
}
.footer-col h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--accent-color);
}
.footer-links li {
  margin-bottom: 15px;
}
.footer-links a:hover {
  color: var(--accent-color);
  padding-left: 5px;
}
.contact-info li {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}
.contact-info i {
  color: var(--accent-color);
  margin-top: 5px;
}

.copyright {
  background-color: #111111;
  padding: 10px 0;
  text-align: center;
  font-size: 0.9rem;
  color: #666;
}

/* --- ANIMATIONS --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* --- MODAL STYLES (ENHANCED PROFESSIONAL) --- */
.modal-overlay {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  z-index: 9999 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  pointer-events: none;
}
.modal-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.modal-container {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  width: 90%;
  max-width: 700px; /* Wider for 2-col layout */
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
  position: relative;
  transform: translateY(-20px);
  transition: transform 0.3s ease;
  max-height: 90vh;
  overflow-y: auto;
  z-index: 10000;
  pointer-events: auto;
}
.modal-overlay.active .modal-container {
  transform: translateY(0) !important;
}
.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 1.5rem;
  color: var(--text-body);
  cursor: pointer;
  transition: var(--transition);
}
.modal-close-btn:hover {
  color: var(--accent-color);
}
.modal-container h3 {
  font-family: "Montserrat", sans-serif;
  color: var(--text-dark);
  margin-bottom: 25px;
  text-align: center;
  font-size: 1.8rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-dark);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-family: "Poppins", sans-serif;
  font-size: 0.95rem;
  transition: var(--transition);
  background-color: #fafafa;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-color);
  background-color: #fff;
  box-shadow: 0 0 0 3px rgba(227, 30, 36, 0.1);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.gemini-btn-small {
  display: inline-block;
  background: linear-gradient(to right, #6e45e2, #88d3ce);
  color: #fff;
  padding: 8px 15px;
  border-radius: 5px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  margin-top: 10px;
  border: none;
}
.gemini-btn-small:hover {
  opacity: 0.9;
}
.gemini-btn-small:disabled {
  background: #ccc;
  cursor: not-allowed;
}

@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/* --- GEMINI AI SECTION --- */
#gemini-strategy {
  background-color: var(--secondary-color);
  position: relative;
  z-index: 1;
  overflow: hidden;
}

/* Gemini Strategy Background Animation - Tech-inspired Animated Background */
#gemini-strategy::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 2px,
      rgba(227, 30, 36, 0.02) 2px,
      rgba(227, 30, 36, 0.02) 4px
    ),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 2px,
      rgba(227, 30, 36, 0.015) 2px,
      rgba(227, 30, 36, 0.015) 4px
    );
  animation: techPattern 15s linear infinite;
  z-index: 0;
  pointer-events: none;
}

#gemini-strategy::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 700px;
  background: 
    conic-gradient(
      from 0deg at 50% 50%,
      rgba(227, 30, 36, 0.04) 0deg,
      transparent 60deg,
      rgba(227, 30, 36, 0.03) 120deg,
      transparent 180deg,
      rgba(227, 30, 36, 0.04) 240deg,
      transparent 300deg,
      rgba(227, 30, 36, 0.03) 360deg
    );
  border-radius: 50%;
  animation: techRotate 18s linear infinite;
  z-index: 0;
  pointer-events: none;
}

#gemini-strategy > * {
  position: relative;
  z-index: 1;
}
.gemini-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  background: #fff;
  border-radius: 10px;
  box-shadow: var(--shadow-medium);
  border: 1px solid var(--border-color);
}
.gemini-input-group {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}
#gemini-topic-input {
  flex-grow: 1;
  padding: 15px;
  font-size: 1rem;
  border: 1px solid var(--border-color);
  border-radius: 50px;
}
#gemini-generate-btn {
  white-space: nowrap;
}
.gemini-results {
  margin-top: 30px;
  padding: 15px;
  border: 1px dashed var(--border-color);
  border-radius: 10px;
  background: #fafafa;
  color: var(--text-body);
}
.gemini-results h4 {
  color: var(--text-dark);
  font-family: "Montserrat", sans-serif;
  margin-bottom: 15px;
}
.gemini-results ul {
  list-style: disc;
  padding-left: 20px;
}
.gemini-results li {
  margin-bottom: 10px;
}
.loading-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid var(--border-color);
  border-top-color: var(--accent-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 20px auto;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* --- SECTION BACKGROUND ANIMATION KEYFRAMES --- */

/* Hero Section Animations */
@keyframes gradientWave {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes floatPulse {
  0%, 100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.6;
  }
  50% {
    transform: translate(30px, -30px) scale(1.1);
    opacity: 0.8;
  }
}

/* Services Section Animations */
@keyframes floatShapes {
  0%, 100% {
    transform: translate(0, 0) scale(1);
    opacity: 1;
  }
  33% {
    transform: translate(20px, -20px) scale(1.05);
    opacity: 0.9;
  }
  66% {
    transform: translate(-15px, 15px) scale(0.95);
    opacity: 0.95;
  }
}

@keyframes morphShape {
  0%, 100% {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    transform: rotate(0deg);
  }
  25% {
    border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
    transform: rotate(90deg);
  }
  50% {
    border-radius: 30% 70% 70% 30% / 70% 30% 30% 70%;
    transform: rotate(180deg);
  }
  75% {
    border-radius: 70% 30% 30% 70% / 30% 70% 70% 30%;
    transform: rotate(270deg);
  }
}

/* Copyright Protection Animations */
@keyframes particleMove {
  0%, 100% {
    background-position: 0% 0%, 100% 50%, 50% 100%, 0% 50%, 100% 100%;
  }
  25% {
    background-position: 100% 0%, 0% 50%, 50% 0%, 100% 50%, 0% 100%;
  }
  50% {
    background-position: 50% 100%, 50% 0%, 0% 50%, 50% 50%, 50% 0%;
  }
  75% {
    background-position: 0% 50%, 100% 100%, 100% 50%, 0% 0%, 50% 50%;
  }
}

@keyframes slowPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.4;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.6;
  }
}

/* All Platforms Animations */
@keyframes meshGradient {
  0%, 100% {
    background-position: 0% 50%, 100% 50%, 50% 0%;
  }
  50% {
    background-position: 100% 50%, 0% 50%, 50% 100%;
  }
}

@keyframes rotateConic {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* About Section Animations */
@keyframes waveFlow {
  0%, 100% {
    background-position: 0% 0%, 0% 100%;
  }
  50% {
    background-position: 0% 100%, 0% 0%;
  }
}

@keyframes blobMorph {
  0%, 100% {
    border-radius: 40% 60% 60% 40% / 60% 30% 70% 40%;
    transform: translate(-50%, -50%) rotate(0deg);
  }
  25% {
    border-radius: 60% 40% 40% 60% / 40% 70% 30% 60%;
    transform: translate(-50%, -50%) rotate(90deg);
  }
  50% {
    border-radius: 30% 70% 70% 30% / 70% 40% 60% 30%;
    transform: translate(-50%, -50%) rotate(180deg);
  }
  75% {
    border-radius: 70% 30% 30% 70% / 30% 60% 40% 70%;
    transform: translate(-50%, -50%) rotate(270deg);
  }
}

/* YouTube Showcase Animations */
@keyframes scanLines {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(50px);
  }
}

@keyframes videoSweep {
  0% {
    left: -100%;
    opacity: 0;
  }
  50% {
    opacity: 0.5;
  }
  100% {
    left: 100%;
    opacity: 0;
  }
}

/* Why Us Animations */
@keyframes gridMove {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(60px, 60px);
  }
}

@keyframes gridPulse {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.5;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.15);
    opacity: 0.7;
  }
}

/* Testimonials Animations */
@keyframes testimonialGradient {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes testimonialFloat {
  0%, 100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.5;
  }
  50% {
    transform: translate(-20px, 20px) scale(1.1);
    opacity: 0.7;
  }
}

/* Gemini Strategy Animations */
@keyframes techPattern {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(4px, 4px);
  }
}

@keyframes techRotate {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@media (max-width: 768px) {
  .gemini-input-group {
    flex-direction: column;
  }
  #gemini-generate-btn {
    width: 100%;
  }
  
  /* Reduce animation intensity on mobile for performance */
  .hero::after,
  #services::after,
  #copyright-protection::after,
  #all-platforms::after,
  #about::after,
  #youtube-showcase::after,
  #why-us::after,
  #testimonials::after,
  #gemini-strategy::after {
    animation-duration: 20s;
  }
}
