/* index Page Specific Styles */

/* Hero Section */
/*
.hero-section {
  background: linear-gradient(
      135deg,
      rgba(30, 58, 138, 0.2) 0%,
      rgba(59, 130, 246, 0.1) 100%
    ),
    url("../images/Index_hero_section_background_image.jpg") center center/cover
      no-repeat,
    linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
  color: white;
  text-align: center;
  padding: 8rem 2rem;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-attachment: fixed;
  overflow: hidden;*/
  /* High resolution rendering 
  image-rendering: -webkit-optimize-contrast;
  image-rendering: optimizeQuality;
  image-rendering: crisp-edges;*/
  /* Entrance animation 
  opacity: 0;
  transform: translateY(30px);
  animation: hero-fade-in 1.5s ease-out forwards,
    hero-breathe 15s ease-in-out infinite 1.5s;*/
  /* Enhanced glow effect 
  box-shadow: inset 0 0 50px rgba(59, 130, 246, 0.05);
}*/

/* Floating particles effect 
.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="0.5" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="80" r="1.5" fill="rgba(255,255,255,0.1)"/><circle cx="60" cy="60" r="0.8" fill="rgba(255,255,255,0.1)"/><circle cx="10" cy="70" r="1.2" fill="rgba(255,255,255,0.1)"/><circle cx="90" cy="20" r="0.7" fill="rgba(255,255,255,0.1)"/></svg>');
  animation: float-particles 20s linear infinite;
  pointer-events: none;
  z-index: 1;
}*/

/* Hero content container 
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1000px;
  margin: 0 auto;
}

.hero-section h1,
.hero-section p,
.hero-section .hero-buttons {
  position: relative;
  z-index: 2;
}*/

/*.hero-section h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 2rem;
  line-height: 1.2;
   Enhanced typography with gradient text */
  /*background: linear-gradient(135deg, #ffffff 0%, #e0f2fe 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
   Entrance animation 
  opacity: 0;
  transform: translateY(20px);
  animation: hero-fade-in 1s ease-out 0.3s forwards;
}*/

/* Hero Section */
.products-hero {
  background: linear-gradient(135deg, #8a1e1e 0%, #f63b3b 100%);
  color: white;
  padding: 4rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  width: 100%;
  
}

.products-hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.products-hero p {
  font-size: 1.2rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto 2rem auto;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, #ffffff 0%, #fcf8f8 100%);
  color: #8a1e1e;
  border-color: #ffffff;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #fcf8f8 0%, #f0e2e2 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

/* Wavy Text Animation for "Our Products" */
.wave-text span {
  display: inline-block;
  animation: wave 2s ease-in-out infinite;
}

.wave-text span:nth-child(4) {
  animation: none;
  width: 0.3em;
}

.wave-text span:nth-child(1) {
  animation-delay: 0s;
}
.wave-text span:nth-child(2) {
  animation-delay: 0.1s;
}
.wave-text span:nth-child(3) {
  animation-delay: 0.2s;
}
/* Space between words - no animation delay needed */
.wave-text span:nth-child(5) {
  animation-delay: 0.4s;
}
.wave-text span:nth-child(6) {
  animation-delay: 0.5s;
}
.wave-text span:nth-child(7) {
  animation-delay: 0.6s;
}
.wave-text span:nth-child(8) {
  animation-delay: 0.7s;
}
.wave-text span:nth-child(9) {
  animation-delay: 0.8s;
}
.wave-text span:nth-child(10) {
  animation-delay: 0.9s;
}
.wave-text span:nth-child(11) {
  animation-delay: 1s;
}
.wave-text span:nth-child(12) {
  animation-delay: 1.1s;
}

@keyframes wave {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}




/* Dynamic font sizing removed for consistency */

/* Typewriter Effect - Universal */
.typewriter-text {
  border-right: 3px solid #ffffff;
  text-align: center;
  display: inline-block;
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.2;
  max-width: 90%;
  /* animation-delay handled by JS for looping */
}

/* Desktop Typewriter Effect */
@media (min-width: 769px) {
  .typewriter-text {
    font-size: 3.2rem;
    max-width: 95%;
    white-space: normal;
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
  }
}

/* Mobile Typewriter Effect - Character by Character */
@media (max-width: 768px) {
  .typewriter-text {
    font-size: 2.2rem;
    line-height: 1.3;
    width: 100%;
    max-width: 100%;
    display: block;
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
  }
}

@media (max-width: 480px) {
  .typewriter-text {
    line-height: 1.4;
    font-size: 1.8rem !important;
  }
}

/* Typing and erasing animations handled by JavaScript */
.typewriter-text.typing,
.typewriter-text.erasing {
  animation: blink-caret 0.75s step-end infinite;
}

/* Animation keyframes removed - now handled by JavaScript */

/* Cursor blinking animation */
@keyframes blink-caret {
  from,
  to {
    border-color: transparent;
  }
  50% {
    border-color: #ffffff;
  }
}

/* Mobile-specific animations removed - now handled by JavaScript */

/* Hero description styling */
.hero-description {
  font-size: 1.4rem;
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto 3rem auto;
  opacity: 0.95;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  /* Entrance animation */
  opacity: 0;
  transform: translateY(20px);
  animation: hero-fade-in 1s ease-out 0.6s forwards;
}

.hero-section p {
  font-size: 1.3rem;
  margin-bottom: 2.5rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
  /* Entrance animation */
  opacity: 0;
  transform: translateY(20px);
  animation: hero-fade-in 1s ease-out 0.9s forwards;
}

.hero-buttons .btn {
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.1rem;
  min-width: 200px;
  justify-content: center;
}

/* Enhanced Button Styles */
.btn-primary {
  background: linear-gradient(135deg, #f63b3b 0%, #af1e1e 100%);
  color: white;
  box-shadow: 0 8px 25px rgba(246, 59, 59, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(246, 59, 59, 0.4);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.95);
  color: #000000;
  border: 2px solid rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  font-weight: 600;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 1);
  border-color: rgba(255, 255, 255, 1);
  transform: translateY(-3px);
  color: #ff1d1d;
}

/* Button ripple effect */
.btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transition: all 0.6s ease;
  transform: translate(-50%, -50%);
}

.btn:active::before {
  width: 300px;
  height: 300px;
}

/* Scroll Indicator removed */

/* Animations */
@keyframes hero-fade-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Fallback for browsers that don't support animations */
@supports not (animation: hero-fade-in) {
  .hero-section,
  .hero-section h1,
  .hero-description,
  .hero-buttons {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Emergency fallback - ensure content is visible */
.hero-section.loaded,
.hero-section.loaded h1,
.hero-section.loaded .hero-description,
.hero-section.loaded .hero-buttons {
  opacity: 1 !important;
  transform: none !important;
}

/* Force typewriter text to be visible as fallback */
.hero-section.loaded .typewriter-text {
  opacity: 1 !important;
  width: auto !important;
  max-width: none !important;
  overflow: visible !important;
}

/* Mobile fallback for typewriter */
@media (max-width: 768px) {
  .hero-section.loaded .typewriter-text {
    width: 100% !important;
    max-width: 100% !important;
    white-space: normal !important;
    display: block !important;
  }
}

@keyframes hero-breathe {
  0%,
  100% {
    background-size: 100% 100%;
  }
  50% {
    background-size: 105% 105%;
  }
}

@keyframes float-particles {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  100% {
    transform: translateY(-100px) rotate(360deg);
  }
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

/* Company Introduction Section */
.company-intro {
  background: linear-gradient(180deg, #ffffff 0%, #fbf9f9 100%);
  padding: 5rem 0;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  position: relative;
  overflow: hidden;
}

.company-intro::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: radial-gradient(
      circle at 10% 20%,
      rgba(59, 130, 246, 0.05) 0%,
      transparent 40%
    ),
    radial-gradient(
      circle at 90% 80%,
      rgba(30, 58, 138, 0.05) 0%,
      transparent 40%
    );
  pointer-events: none;
}

.intro-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
}

/* Header Section */
.intro-header {
  text-align: center;
  margin-bottom: 4rem;
}

.intro-header h2 {
  font-size: 3rem;
  font-weight: 800;
  color: #dc1313;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
  /* Prevent awkward word breaking */
  word-break: keep-all;
  white-space: nowrap;
  overflow-wrap: break-word;
  hyphens: none;
}

/* Split Text Animation */
.split-text-heading {
  overflow: hidden;
  /* Prevent awkward word breaking */
  word-break: keep-all;
  white-space: nowrap;
  overflow-wrap: break-word;
  hyphens: none;
}

.split-text-heading .word {
  display: inline-block;
  word-break: keep-all;
  white-space: nowrap;
}

.split-text-heading .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(100px) rotateX(-90deg);
  transition: all 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  /* Ensure characters don't break words */
  word-break: keep-all;
}

.split-text-heading .char.space {
  /* Spaces should not animate */
  opacity: 1;
  transform: none;
}

.split-text-heading.animated .char {
  opacity: 1;
  transform: translateY(0) rotateX(0);
}

/* Stagger the animation for each character - slower timing */
.split-text-heading.animated .char:nth-child(1) {
  transition-delay: 0.1s;
}
.split-text-heading.animated .char:nth-child(2) {
  transition-delay: 0.2s;
}
.split-text-heading.animated .char:nth-child(3) {
  transition-delay: 0.3s;
}
.split-text-heading.animated .char:nth-child(4) {
  transition-delay: 0.4s;
}
.split-text-heading.animated .char:nth-child(5) {
  transition-delay: 0.5s;
}
.split-text-heading.animated .char:nth-child(6) {
  transition-delay: 0.6s;
}
.split-text-heading.animated .char:nth-child(7) {
  transition-delay: 0.7s;
}
.split-text-heading.animated .char:nth-child(8) {
  transition-delay: 0.8s;
}
.split-text-heading.animated .char:nth-child(9) {
  transition-delay: 0.9s;
}
.split-text-heading.animated .char:nth-child(10) {
  transition-delay: 1s;
}
.split-text-heading.animated .char:nth-child(11) {
  transition-delay: 1.1s;
}
.split-text-heading.animated .char:nth-child(12) {
  transition-delay: 1.2s;
}
.split-text-heading.animated .char:nth-child(13) {
  transition-delay: 1.3s;
}
.split-text-heading.animated .char:nth-child(14) {
  transition-delay: 1.4s;
}
.split-text-heading.animated .char:nth-child(15) {
  transition-delay: 1.5s;
}
.split-text-heading.animated .char:nth-child(16) {
  transition-delay: 1.6s;
}
.split-text-heading.animated .char:nth-child(17) {
  transition-delay: 1.7s;
}
.split-text-heading.animated .char:nth-child(18) {
  transition-delay: 1.8s;
}
.split-text-heading.animated .char:nth-child(19) {
  transition-delay: 1.9s;
}
.split-text-heading.animated .char:nth-child(20) {
  transition-delay: 2s;
}
.split-text-heading.animated .char:nth-child(21) {
  transition-delay: 2.1s;
}
.split-text-heading.animated .char:nth-child(22) {
  transition-delay: 2.2s;
}
.split-text-heading.animated .char:nth-child(23) {
  transition-delay: 2.3s;
}
.split-text-heading.animated .char:nth-child(24) {
  transition-delay: 2.4s;
}
.split-text-heading.animated .char:nth-child(25) {
  transition-delay: 2.5s;
}
.split-text-heading.animated .char:nth-child(26) {
  transition-delay: 2.6s;
}
.split-text-heading.animated .char:nth-child(27) {
  transition-delay: 2.7s;
}
.split-text-heading.animated .char:nth-child(28) {
  transition-delay: 2.8s;
}
.split-text-heading.animated .char:nth-child(29) {
  transition-delay: 2.9s;
}
.split-text-heading.animated .char:nth-child(30) {
  transition-delay: 3s;
}
.split-text-heading.animated .char:nth-child(31) {
  transition-delay: 3.1s;
}
.split-text-heading.animated .char:nth-child(32) {
  transition-delay: 3.2s;
}

.intro-lead {
  font-size: 1.3rem;
  color: #6b7280;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Stats Cards */
.intro-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.stat-card {
  background: white;
  padding: 2rem;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(246, 59, 59, 0.15);
  border-color: rgba(246, 59, 59, 0.3);
}

.stat-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #f63b3b, #8a1e1e);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stat-icon svg {
  width: 30px;
  height: 30px;
  color: white;
}

.stat-content {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: #8a1e1e;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.875rem;
  color: #6b7280;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Main Content */
.intro-content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  align-items: stretch;
}

.intro-section {
  background: white;
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
  border-left: 4px solid #f63b3b;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  /* Animation properties */
  opacity: 0;
  transform: translateY(30px);
  transition: all 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Animation states */
.intro-section.animate {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered animation delays */
.intro-section:nth-child(1).animate {
  transition-delay: 0.2s;
}

.intro-section:nth-child(2).animate {
  transition-delay: 0.4s;
}

.intro-section:nth-child(3).animate {
  transition-delay: 0.6s;
}

.intro-section:nth-child(4).animate {
  transition-delay: 0.8s;
}

.intro-section.animate:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-left-color: #8a1e1e;
}

.section-icon {
  font-size: 3rem;
  margin-bottom: 1.2rem;
  display: inline-block;
}

.intro-section h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #8a1e1e;
  margin-bottom: 1rem;
}

.intro-section p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #4b5563;
  margin: 0;
  flex-grow: 1;
}

.intro-section strong {
  color: #8a1e1e;
  font-weight: 600;
}

/* Features Section */
.features-section {
  padding: 5rem 0;
  background: linear-gradient(180deg, #fcf8f8 0%, #f7e7e7 100%);
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  position: relative;
  overflow: hidden;
}

.features-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: radial-gradient(
      circle at 20% 50%,
      rgba(59, 130, 246, 0.05) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 50%,
      rgba(30, 58, 138, 0.05) 0%,
      transparent 50%
    );
  pointer-events: none;
}

.features-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.features-section h2 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color:#dc1313;
  position: relative;
  display: block;
}

.blur-text-heading {
  display: inline-block;
}

.blur-text {
  display: inline-block;
  margin: 0 0.3rem;
  filter: blur(10px);
  opacity: 0;
}

/* Animation triggers when 'visible' class is added to section */
.features-section.visible .blur-text {
  animation: blur-in 0.8s ease-out forwards;
}

.features-section.visible .blur-text:nth-child(1) {
  animation-delay: 0.1s;
}

.features-section.visible .blur-text:nth-child(2) {
  animation-delay: 0.4s;
}

.features-section.visible .blur-text:nth-child(3) {
  animation-delay: 0.7s;
}

.features-section.visible .blur-text:nth-child(4) {
  animation-delay: 1s;
}

.features-section.visible .blur-text:nth-child(5) {
  animation-delay: 1.3s;
}

@keyframes blur-in {
  0% {
    filter: blur(10px);
    opacity: 0;
  }
  100% {
    filter: blur(0px);
    opacity: 1;
  }
}

.features-section .blur-text-heading::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #f63b3b, #8a1e1e);
  border-radius: 2px;
  opacity: 0;
}

/* Underline animation triggers when 'visible' class is added to section */
.features-section.visible .blur-text-heading::after {
  animation: slide-in 0.9s ease-out 2.1s forwards;
}

@keyframes slide-in {
  0% {
    width: 0;
    opacity: 0;
  }
  100% {
    width: 80px;
    opacity: 1;
  }
}

.section-subtitle {
  font-size: 1.2rem;
  color: #806b6b;
  margin-top: 1.5rem;
  font-weight: 400;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
}

.feature-item {
  background: white;
  padding: 3rem 2.5rem;
  border-radius: 24px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  /* Animation properties */
  opacity: 0;
  transform: translateY(40px);
  transition: all 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Animation states */
.feature-item.animate {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered animation delays for feature items */
.feature-item:nth-child(1).animate {
  transition-delay: 0.2s;
}

.feature-item:nth-child(2).animate {
  transition-delay: 0.4s;
}

.feature-item:nth-child(3).animate {
  transition-delay: 0.6s;
}

.feature-item:nth-child(4).animate {
  transition-delay: 0.8s;
}

.feature-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #f63b3b, #8a1e1e);
  transform: scaleX(0);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-item.animate:hover::before {
  transform: scaleX(1);
}

.feature-item.animate:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 20px 60px rgba(246, 59, 59, 0.25);
  border-color: rgba(246, 59, 59, 0.3);
}

.feature-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.feature-item:hover .feature-icon {
  transform: scale(1.1);
}

.feature-item h3 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #8a1e1e;
  transition: color 0.3s ease;
}

.feature-item:hover h3 {
  color: #f63b3b;
}

.feature-item p {
  color: #6b7280;
  line-height: 1.8;
  font-size: 1.05rem;
  margin-bottom: 0;
}

.feature-decoration {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 100px;
  height: 100px;
  background: linear-gradient(
    135deg,
    rgba(59, 130, 246, 0.05),
    rgba(30, 58, 138, 0.05)
  );
  border-radius: 50%;
  transition: all 0.4s ease;
  pointer-events: none;
}

.feature-item:hover .feature-decoration {
  transform: scale(1.5);
  opacity: 0.8;
}

/* Call to Action Section */
.cta-section {
  background: url("../images/home_page_call_action_section.png") center
    right/cover no-repeat;
  position: relative;
  padding: 5rem 2rem;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  min-height: 460px;
  display: flex;
  align-items: center;
  /* Rendering hints for crisper photo on some browsers */
  image-rendering: -webkit-optimize-contrast;
  image-rendering: optimizeQuality;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Stronger left-side gradient to improve text contrast while preserving image */
  background: linear-gradient(
    90deg,
    rgba(3, 7, 18, 0.7) 0%,
    rgba(3, 7, 18, 0.55) 28%,
    rgba(3, 7, 18, 0.35) 52%,
    rgba(3, 7, 18, 0.15) 72%,
    rgba(3, 7, 18, 0) 92%
  );
  z-index: 1;
}

.cta-section .cta-content {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  justify-content: flex-start;
}

.cta-section .cta-text {
  max-width: 560px;
  text-align: left;
}

.cta-section h2 {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  color: #ffffff;
  letter-spacing: 0.3px;
  line-height: 1.15;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
}

.cta-section p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 2.25rem;
  line-height: 1.75;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.35);
}

.cta-section .btn {
  padding: 0.9rem 2.2rem;
  font-size: 1.1rem;
  font-weight: 700;
  min-width: 200px;
  background: #ffffff;
  color: #8a1e1e;
  border: 2px solid #ffffff;
  border-radius: 9999px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  transition: all 0.25s ease;
}

.cta-section .btn:hover {
  background: transparent;
  color: #ffffff;
  border-color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.35);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-section {
    padding: 6rem 1rem;
    margin: 0 -0.5rem 2rem -0.5rem;
    width: calc(100% + 1rem);
    min-height: 80vh;
    background-attachment: scroll;
  }

  .hero-section {
    padding: 6rem 1rem 4rem 1rem;
    min-height: 90vh;
    background-attachment: scroll;
  }

  .hero-section h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
  }

  .hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .hero-buttons .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  /* Tablet responsive adjustments */
  .typewriter-text {
    font-size: 2.4rem;
  }

  .hero-section p {
    font-size: 1.1rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-buttons .btn {
    min-width: 250px;
  }

  .company-intro {
    margin: 0 -0.5rem 2rem -0.5rem;
    width: calc(100% + 1rem);
    padding: 3rem 1rem;
  }

  .intro-container {
    padding: 0 1rem;
  }

  .intro-header h2 {
    font-size: 2.2rem;
    /* Allow wrapping on tablet but prevent awkward breaks */
    white-space: normal;
    word-break: keep-all;
    line-height: 1.2;
  }

  /* Adjust split text animation for mobile */
  .split-text-heading {
    white-space: normal;
    word-break: keep-all;
    line-height: 1.2;
  }

  .split-text-heading .word {
    white-space: nowrap;
    word-break: keep-all;
  }

  .split-text-heading .char {
    transform: translateY(50px) rotateX(-90deg);
    word-break: keep-all;
  }

  .intro-lead {
    font-size: 1.1rem;
    padding: 0 1rem;
  }

  .intro-stats {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .stat-card {
    padding: 1.5rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  .intro-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .intro-section {
    padding: 2rem 1.5rem;
  }

  .section-icon {
    font-size: 2.5rem;
  }

  .intro-section h3 {
    font-size: 1.3rem;
  }

  .intro-section p {
    font-size: 1rem;
  }

  .features-section {
    margin: 0 -0.5rem;
    width: calc(100% + 1rem);
    padding: 3rem 0;
  }

  .features-container {
    padding: 0 1rem;
  }

  .section-header {
    margin-bottom: 3rem;
  }

  .features-section h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
  }

  .blur-text {
    margin: 0 0.2rem;
  }

  .section-subtitle {
    font-size: 1rem;
    padding: 0 1rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .feature-item {
    padding: 2.5rem 2rem;
  }

  .feature-icon {
    width: 85px;
    height: 85px;
  }

  .feature-item h3 {
    font-size: 1.4rem;
  }

  .cta-section {
    margin: 0 -0.5rem;
    width: calc(100% + 1rem);
    padding: 3rem 1rem;
    min-height: 340px;
    background-position: center;
  }
  .cta-section::before {
    background: linear-gradient(
      90deg,
      rgba(3, 7, 18, 0.75) 0%,
      rgba(3, 7, 18, 0.55) 40%,
      rgba(3, 7, 18, 0.2) 80%,
      rgba(3, 7, 18, 0) 100%
    );
  }
  .cta-section .cta-content {
    justify-content: center;
  }
  .cta-section .cta-text {
    max-width: 100%;
    text-align: center;
  }
  .cta-section h2 {
    font-size: 2.2rem;
    text-align: center;
  }
  .cta-section p {
    font-size: 1.05rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-section {
    padding: 4rem 0.5rem;
    margin: 0 -0.25rem 1.5rem -0.25rem;
    width: calc(100% + 0.5rem);
    min-height: 70vh;
    background-attachment: scroll;
  }

  .hero-section {
    padding: 5rem 1rem 3rem 1rem;
    min-height: 85vh;
  }

  .hero-section h1 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
  }

  .hero-description {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .hero-buttons .btn {
    padding: 0.8rem 2rem;
    font-size: 1rem;
  }

  .typewriter-text {
    border-right-width: 2px;
  }

  /* Mobile responsive adjustments */
  .typewriter-text {
    font-size: 1.8rem;
  }

  .hero-section p {
    font-size: 1rem;
  }

  .hero-buttons .btn {
    min-width: 200px;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
  }

  .company-intro {
    margin: 0 -0.25rem 1.5rem -0.25rem;
    width: calc(100% + 0.5rem);
    padding: 2rem 0.5rem;
  }

  .intro-container {
    padding: 0 0.5rem;
  }

  .intro-header h2 {
    font-size: 1.8rem;
    /* Allow wrapping on mobile but prevent awkward breaks */
    white-space: normal;
    word-break: keep-all;
    line-height: 1.3;
    max-width: 100%;
  }

  /* Mobile split text animation */
  .split-text-heading {
    white-space: normal;
    word-break: keep-all;
    line-height: 1.3;
    max-width: 100%;
  }

  .split-text-heading .word {
    white-space: nowrap;
    word-break: keep-all;
  }

  .split-text-heading .char {
    word-break: keep-all;
  }

  .intro-lead {
    font-size: 1rem;
  }

  .intro-stats {
    gap: 1rem;
  }

  .stat-card {
    padding: 1.2rem;
    flex-direction: row;
  }

  .stat-icon {
    width: 50px;
    height: 50px;
  }

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

  .stat-number {
    font-size: 1.8rem;
  }

  .stat-label {
    font-size: 0.75rem;
  }

  .intro-content {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .intro-section {
    padding: 1.5rem 1.2rem;
  }

  .section-icon {
    font-size: 2.2rem;
  }

  .intro-section h3 {
    font-size: 1.2rem;
  }

  .intro-section p {
    font-size: 0.95rem;
  }

  .features-section {
    margin: 0 -0.25rem;
    width: calc(100% + 0.5rem);
    padding: 2rem 0;
  }

  .features-container {
    padding: 0 0.5rem;
  }

  .section-header {
    margin-bottom: 2rem;
  }

  .features-section h2 {
    font-size: 1.8rem;
  }

  .blur-text {
    margin: 0 0.15rem;
  }

  .features-section .blur-text-heading::after {
    width: 60px;
  }

  .features-section.visible .blur-text-heading::after {
    animation: slide-in-mobile 0.9s ease-out 2.1s forwards;
  }

  @keyframes slide-in-mobile {
    0% {
      width: 0;
      opacity: 0;
    }
    100% {
      width: 60px;
      opacity: 1;
    }
  }

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

  .features-grid {
    gap: 1.5rem;
  }

  .feature-item {
    padding: 2rem 1.5rem;
  }

  .feature-icon {
    width: 75px;
    height: 75px;
  }

  .feature-item h3 {
    font-size: 1.3rem;
  }

  .feature-item p {
    font-size: 1rem;
  }

  .cta-section {
    margin: 0 -0.25rem;
    width: calc(100% + 0.5rem);
    padding: 2rem 0.5rem;
    min-height: 280px;
  }
  .cta-section::before {
    background: linear-gradient(
      90deg,
      rgba(3, 7, 18, 0.78) 0%,
      rgba(3, 7, 18, 0.6) 46%,
      rgba(3, 7, 18, 0.22) 86%,
      rgba(3, 7, 18, 0) 100%
    );
  }
  .cta-section .cta-content {
    justify-content: center;
  }
  .cta-section .cta-text {
    max-width: 100%;
    text-align: center;
  }
  .cta-section h2 {
    font-size: 1.9rem;
    text-align: center;
  }
  .cta-section p {
    font-size: 1rem;
    text-align: center;
  }
}
