
 :root {
 --primary: #3B3E6E;
 --accent: #E75E3B;
 --light: #F9FAFB;
 --dark: #1a1a2e;
 }

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

  html {
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  }

  body {
  font-family: 'Inter', sans-serif;
  background: var(--light);
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  }

  /* Prevent images and media from causing horizontal scroll */
  img,
  video,
  canvas,
  iframe {
  max-width: 100%;
  height: auto;
  }

  /* Ensure sections don't overflow */
  section {
  overflow-x: hidden;
  }
 
  h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', sans-serif;
  word-wrap: break-word;
  overflow-wrap: break-word;
  }

  p, span, a, li {
  word-wrap: break-word;
  overflow-wrap: break-word;
  }
 
  /* ==================== LOADER ==================== */
  #loader {
  position: fixed;
  inset: 0;
  background: var(--light);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
  }
 
  .loader-content {
  text-align: center;
  }
 
  .loader-logo {
  max-width: 300px;
  margin-bottom: 40px;
  animation: float 3s ease-in-out infinite;
  }
 
  @keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
  }
 
  .loader-spinner {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  border: 4px solid rgba(59, 62, 110, 0.1);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  }
 
  @keyframes spin {
  to { transform: rotate(360deg); }
  }
 
  .loader-text {
  color: var(--primary);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 2px;
  }
 
  .loader-progress {
  width: 300px;
  height: 4px;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  margin: 20px auto;
  overflow: hidden;
  }
 
  .loader-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), #ff8b66);
  border-radius: 10px;
  width: 0%;
  transition: width 0.3s ease;
  }
 
  /* ==================== NAVIGATION ==================== */
  .navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.3s ease;
  }

  .navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  padding: 15px 0;
  }

  /* Add padding to account for fixed navbar */
  section {
  scroll-margin-top: 80px;
  }

  #home {
  padding: 100px 0px;
  }
 
  .nav-link {
  position: relative;
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
  }
 
  .nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
  }
 
  .nav-link:hover::after,
  .nav-link.active::after {
  width: 100%;
  }
 
  /* ==================== GLASSMORPHISM ==================== */
  .glass {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  }
 
  .glass-dark {
  background: rgba(59, 62, 110, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  }
 
  /* ==================== GRADIENT TEXT ==================== */
  .gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  }
 
  /* ==================== ANIMATED BACKGROUND ==================== */
  .animated-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: -1;
  }
 
  .floating-shape {
  position: absolute;
  opacity: 0.1;
  animation: float-random 20s infinite ease-in-out;
  }
 
  @keyframes float-random {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(30px, -30px) rotate(120deg); }
  66% { transform: translate(-20px, 20px) rotate(240deg); }
  }
 
  /* ==================== DNA & SCIENCE ANIMATIONS ==================== */
  .science-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
  }
 
  .dna-helix {
  position: absolute;
  width: 4px;
  height: 200px;
  opacity: 0.15;
  }
 
  .dna-strand {
  position: absolute;
  width: 100%;
  height: 100%;
  animation: dna-rotate 10s linear infinite;
  }
 
  .dna-pair {
  position: absolute;
  width: 60px;
  height: 4px;
  background: white;
  left: -28px;
  border-radius: 2px;
  }
 
  @keyframes dna-rotate {
  0% { transform: rotateY(0deg); }
  100% { transform: rotateY(360deg); }
  }
 
  .molecule {
  position: absolute;
  width: 80px;
  height: 80px;
  opacity: 0.12;
  animation: float-molecule 15s infinite ease-in-out;
  }
 
  .atom {
  position: absolute;
  width: 12px;
  height: 12px;
  background: white;
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
  }
 
  .atom-orbit {
  position: absolute;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  animation: orbit 8s linear infinite;
  }
 
  @keyframes orbit {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
  }
 
  @keyframes float-molecule {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(30px, -30px) rotate(90deg); }
  50% { transform: translate(0, -60px) rotate(180deg); }
  75% { transform: translate(-30px, -30px) rotate(270deg); }
  }
 
  .particle {
  position: absolute;
  width: 6px;
  height: 6px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  animation: particle-float 20s infinite ease-in-out;
  }
 
  @keyframes particle-float {
  0%, 100% { 
    transform: translate(0, 0);
    opacity: 0;
  }
  10%, 90% {
    opacity: 0.6;
  }
  50% { 
    transform: translate(var(--tx, 100px), var(--ty, -100px));
    opacity: 0.8;
  }
  }
 
  .pulse-circle {
  position: absolute;
  width: 150px;
  height: 150px;
  border: 3px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  animation: pulse-wave 4s infinite ease-out;
  }
 
  @keyframes pulse-wave {
  0% {
    transform: scale(0.5);
    opacity: 0.8;
  }
  100% {
    transform: scale(2);
    opacity: 0;
  }
  }
 
  .helix-line {
  position: absolute;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  animation: helix-move 8s infinite ease-in-out;
  }
 
  @keyframes helix-move {
  0%, 100% { 
    width: 0;
    left: 50%;
  }
  50% { 
    width: 200px;
    left: calc(50% - 100px);
  }
  }
 
  .network-line {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform-origin: left center;
  animation: network-pulse 6s infinite ease-in-out;
  }
 
  @keyframes network-pulse {
  0%, 100% { opacity: 0.2; }
  50% { opacity: 0.6; }
  }
 
  /* ==================== CARDS ==================== */
  .modern-card {
  background: white;
  border-radius: 20px;
  padding: 30px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(0, 0, 0, 0.05);
  }
 
  .modern-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  }
 
  /* ==================== BUTTONS ==================== */
  .btn-primary {
  background: linear-gradient(135deg, var(--accent), #ff6b4a);
  color: white;
  padding: 16px 40px;
  border-radius: 50px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(231, 94, 59, 0.3);
  }
 
  .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(231, 94, 59, 0.4);
  }
 
  .btn-secondary {
  background: transparent;
  color: var(--primary);
  padding: 16px 40px;
  border-radius: 50px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  border: 2px solid var(--primary);
  cursor: pointer;
  }
 
  .btn-secondary:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-3px);
  }
 
  /* ==================== HERO SECTION ==================== */
  .hero-gradient {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  position: relative;
  overflow: hidden;
  }
 
  .hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.1;
  background-image: 
    radial-gradient(circle at 20% 50%, white 1px, transparent 1px),
    radial-gradient(circle at 80% 80%, white 1px, transparent 1px);
  background-size: 50px 50px;
  }
 
  /* ==================== TESTIMONIALS SLIDER ==================== */
  .testimonial-slider {
  position: relative;
  overflow: hidden;
  }
 
  .testimonial-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  }
 
  .testimonial-slide {
  min-width: 100%;
  padding: 0 20px;
  }
 
  .slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: white;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  z-index: 10;
  }
 
  .slider-nav:hover {
  background: var(--accent);
  color: white;
  transform: translateY(-50%) scale(1.1);
  }
 
  .slider-nav.prev { left: 20px; }
  .slider-nav.next { right: 20px; }
 
  .slider-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
  }
 
  .slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ddd;
  cursor: pointer;
  transition: all 0.3s ease;
  }
 
  .slider-dot.active {
  background: var(--accent);
  width: 30px;
  border-radius: 5px;
  }
 
  /* ==================== PARALLAX ==================== */
  .parallax {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  }
 
  /* ==================== TIMELINE ==================== */
  .timeline-item::before {
  content: '';
  position: absolute;
  left: -20px;
  top: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(to bottom, var(--accent), transparent);
  }
 
  /* ==================== MOBILE MENU ==================== */
  .mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 400px;
  height: 100vh;
  background: white;
  box-shadow: -5px 0 30px rgba(0, 0, 0, 0.15);
  transition: right 0.3s ease;
  z-index: 9998;
  padding: 80px 30px 40px;
  overflow-y: auto;
  }
 
  .mobile-menu.active {
  right: 0;
  }
 
  .mobile-menu-link {
  display: block;
  padding: 1rem;
  border-radius: 0.75rem;
  transition: all 0.3s ease;
  position: relative;
  }
 
  .mobile-menu-link:hover {
  background-color: rgba(231, 94, 59, 0.1);
  transform: translateX(5px);
  }
 
  .mobile-menu-link:active {
  background-color: rgba(231, 94, 59, 0.2);
  }
 
  .mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 9997;
  backdrop-filter: blur(2px);
  }
 
  .mobile-overlay.active {
  opacity: 1;
  visibility: visible;
  }

  /* Mobile Menu Button Styling */
  #mobileMenuBtn {
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  }
 
  /* ==================== SCROLL TO TOP ==================== */
  .scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--accent);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
  box-shadow: 0 5px 20px rgba(231, 94, 59, 0.3);
  }
 
  .scroll-top.active {
  opacity: 1;
  visibility: visible;
  }
 
  .scroll-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(231, 94, 59, 0.4);
  }
 
  /* ==================== RESPONSIVE ==================== */
  /* Tablet and Mobile Navigation */
  @media (max-width: 1023px) {
  .navbar .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  /* Adjust section padding for tablets */
  section {
    scroll-margin-top: 70px;
  }

  #home {
    padding: 80px 0px;
  }

  /* Better grid layout for tablets */
  #solutions .grid,
  #news .grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.5rem !important;
  }
  }

  @media (max-width: 768px) {
  .loader-logo { max-width: 200px; }
  .slider-nav { width: 40px; height: 40px; }
  .slider-nav.prev { left: 10px; }
  .slider-nav.next { right: 10px; }

  /* Navbar Mobile Adjustments */
  .navbar {
    padding: 12px 0;
  }

  .navbar.scrolled {
    padding: 10px 0;
  }

  .navbar .container {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  .navbar img {
    height: 2rem !important;
    max-height: 2rem;
  }

  /* Adjust section padding for smaller navbar */
  section {
    scroll-margin-top: 60px;
  }

  #home {
    padding: 60px 0px;
  }

  /* Ensure all content stays within viewport */
  .container {
    max-width: 100%;
  }

  /* Button adjustments for mobile */
  .btn-primary,
  .btn-secondary {
    font-size: 0.875rem;
    padding: 12px 20px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
  }

  /* Fix button container wrapping */
  .flex.gap-4 {
    gap: 0.75rem !important;
  }

  /* Hero Section Mobile */
  h1 {
    font-size: 2.5rem !important;
    line-height: 1.2 !important;
  }

  #home h1 {
    font-size: 2.25rem !important;
  }

  #home p {
    font-size: 1.125rem !important;
  }

  h2 {
    font-size: 2rem !important;
  }

  h3 {
    font-size: 1.5rem !important;
  }

  .section-padding {
    padding: 60px 0;
  }
 
  /* Hide complex animations on mobile for performance */
  .dna-helix,
  .molecule,
  .network-line {
    display: none;
  }
 
  /* Simplify remaining animations */
  .particle,
  .pulse-circle,
  .helix-line {
    animation-duration: 12s;
  }
 
  /* Stats Grid */
  .stats-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 1rem !important;
    padding: 0 0.5rem;
  }

  /* Grid Layouts - Force single column on mobile */
  #solutions .grid,
  #news .grid,
  #about .grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  /* Solutions Cards */
  .modern-card {
    padding: 20px;
  }
 
  /* Testimonials */
  .testimonial-slide .glass {
    padding: 30px 20px;
  }
 
  /* Contact Form */
  .contact-grid {
    grid-template-columns: 1fr !important;
  }

  /* Form inputs and textareas */
  input,
  textarea,
  select {
    font-size: 16px !important; /* Prevent iOS zoom on focus */
  }

  /* Job Cards */
  .job-card-content {
    flex-direction: column !important;
    align-items: flex-start !important;
  }
 
  .job-card-content button {
    width: 100%;
    justify-content: center;
    margin-top: 1rem;
  }
 
  /* Mobile Menu Enhancements */
  .mobile-menu-link {
    font-size: 1.125rem;
    padding: 1rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
  }
 
  .mobile-menu-link:active {
    background-color: rgba(0, 0, 0, 0.05);
  }
  }
 
  @media (max-width: 640px) {
  h1 { font-size: 2rem !important; }

  #home h1 {
    font-size: 1.875rem !important;
  }

  #home p {
    font-size: 1rem !important;
  }

  h2 { font-size: 1.75rem !important; }
  h3 { font-size: 1.125rem !important; }

  .btn-primary,
  .btn-secondary {
    padding: 12px 20px;
    font-size: 0.875rem;
  }

  /* Navbar for very small screens */
  .navbar {
    padding: 10px 0;
  }

  .navbar.scrolled {
    padding: 8px 0;
  }

  .navbar img {
    height: 1.75rem !important;
    max-height: 1.75rem;
  }

  /* Adjust section padding for very small screens */
  section {
    scroll-margin-top: 50px;
  }

  #home {
    padding: 50px 0px;
  }

  /* Stats on very small screens - stack vertically */
  .stats-grid {
    grid-template-columns: 1fr !important;
    gap: 0.75rem !important;
  }

  /* Reduce padding on small mobile */
  .container {
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
  }

  .section-padding {
    padding: 40px 0;
  }

  /* Make cards more compact */
  .modern-card,
  .glass,
  .glass-dark {
    padding: 1.25rem !important;
  }
  }
 
  /* ==================== UTILITIES ==================== */
  .section-padding {
  padding: 100px 0;
  }
 
  @media (max-width: 768px) {
  .section-padding {
    padding: 60px 0;
  }
 }
 .whatsapp-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25D366; /* Official WhatsApp Green */
  color: white;
  border-radius: 50%;
  width: 60px; /* Slightly larger for better visibility */
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  z-index: 1000;
  text-decoration: none;
}

.whatsapp-button:hover {
  transform: scale(1.1);
  background-color: #128C7E; /* Darker WhatsApp Teal on hover */
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

.whatsapp-button svg {
  width: 32px;
  height: 32px;
  fill: white;
}