/* Light Theme (Default - Improved) */
:root[data-theme="dark"] .btn-outline {
  background: transparent;
  border: 2px solid rgba(14, 165, 233, 0.5);
  box-shadow: none;
}

.btn-outline:hover {
  background: rgba(16, 169, 214, 0.08);
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

:root[data-theme="dark"] .btn-outline:hover {
  background: rgba(14, 165, 233, 0.1);
  box-shadow: none;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 4rem;
  flex-wrap: wrap;
  animation: slideInUp 1s ease-out 0.8s both;
}

.hero-stat {
  text-align: center;
  padding: 2rem 1.5rem;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(16, 169, 214, 0.1);
  box-shadow: var(--shadow-light);
  transition: all 0.3s ease;
  min-width: 160px;
}

:root[data-theme="dark"] .hero-stat {
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.hero-stat:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-heavy);
  border-color: rgba(16, 169, 214, 0.2);
}

:root[data-theme="dark"] .hero-stat:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  border-color: var(--border);
}

.hero-stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient-secondary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-stat-label {
  font-size: 0.875rem;
  color: var(--gray-600);
  font-weight: 500;
}

:root[data-theme="dark"] .hero-stat-label {
  color: var(--gray-500);
}

/* Section Improvements */
.section {
  padding: 120px 0;
  position: relative;
  z-index: 1;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-header {
  text-align: center;
  margin-bottom: 5rem;
  position: relative;
  z-index: 10;
}

.section-title {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 1.25rem;
  color: var(--gray-700);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
}

:root[data-theme="dark"] .section-subtitle {
  color: var(--gray-600);
}

/* About Section Redesign */
.about {
  background: var(--surface);
  position: relative;
  box-shadow: inset 0 1px 0 rgba(16, 169, 214, 0.08);
}

:root[data-theme="dark"] .about {
  box-shadow: none;
}

.about::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 20% 80%,
      rgba(16, 169, 214, 0.05) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(97, 205, 227, 0.05) 0%,
      transparent 50%
    ),
    repeating-linear-gradient(
      45deg,
      rgba(16, 169, 214, 0.02) 0,
      rgba(16, 169, 214, 0.02) 1px,
      transparent 1px,
      transparent 20px
    );
  z-index: 1;
}

:root[data-theme="dark"] .about::before {
  background: radial-gradient(
      circle at 20% 80%,
      rgba(139, 92, 246, 0.05) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(6, 182, 212, 0.05) 0%,
      transparent 50%
    );
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.about-content h3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.about-content p {
  font-size: 1.125rem;
  color: var(--gray-700);
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

:root[data-theme="dark"] .about-content p {
  color: var(--gray-600);
}

.about-features {
  list-style: none;
  display: grid;
  gap: 1rem;
}

.about-features li {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 12px;
  border: 1px solid rgba(16, 169, 214, 0.1);
  color: var(--text);
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-light);
}

:root[data-theme="dark"] .about-features li {
  background: var(--gray-50);
  border: 1px solid var(--border);
  box-shadow: none;
}

.about-features li:hover {
  background: rgba(16, 169, 214, 0.05);
  border-color: rgba(16, 169, 214, 0.2);
  transform: translateX(10px);
  box-shadow: var(--shadow-medium);
}

:root[data-theme="dark"] .about-features li:hover {
  background: rgba(14, 165, 233, 0.1);
  border-color: rgba(14, 165, 233, 0.3);
  box-shadow: none;
}

.about-features li::before {
  content: "→";
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: bold;
  font-size: 1.2rem;
}

#learn-btn {
  margin: 2rem 0rem;
}

.about-visual {
  position: relative;
}

.about-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: var(--shadow-heavy);
  transition: transform 0.3s ease;
}

:root[data-theme="dark"] .about-image {
  box-shadow: 0 20px 40px rgba(14, 165, 233, 0.2);
}

.about-visual:hover .about-image {
  transform: scale(1.02);
}

.about-card {
  position: absolute;
  bottom: -30px;
  right: -30px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  padding: 2rem;
  border-radius: 20px;
  border: 1px solid rgba(16, 169, 214, 0.1);
  max-width: 300px;
  box-shadow: var(--shadow-heavy);
}

:root[data-theme="dark"] .about-card {
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.about-card h4 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  background: var(--gradient-secondary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.75rem;
}

.about-card p {
  color: var(--gray-700);
  font-size: 0.875rem;
  line-height: 1.6;
}

:root[data-theme="dark"] .about-card p {
  color: var(--gray-600);
}
/* Services Section Enhancement */
.services {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 1) 0%,
    rgba(248, 251, 252, 0.8) 50%,
    rgba(255, 255, 255, 1) 100%
  );
  position: relative;
}

:root[data-theme="dark"] .services {
  background: var(--background);
}

.services::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(
      circle at 30% 70%,
      rgba(16, 169, 214, 0.05) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 70% 30%,
      rgba(97, 205, 227, 0.05) 0%,
      transparent 50%
    ),
    repeating-radial-gradient(
      circle at 10% 90%,
      transparent 0,
      rgba(16, 169, 214, 0.02) 2px
    );
  z-index: 1;
}

.services .container {
  position: relative;
  z-index: 2;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.service-card {
  background: rgba(255, 255, 255, 0.95);
  padding: 2.5rem;
  border-radius: 24px;
  border: 1px solid rgba(16, 169, 214, 0.1);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-medium);
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 360px; /* Ensure consistent card height */
}

:root[data-theme="dark"] .service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  backdrop-filter: none;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-heavy);
  border-color: rgba(16, 169, 214, 0.15);
  background: rgba(255, 255, 255, 0.98);
}

:root[data-theme="dark"] .service-card:hover {
  box-shadow: 0 32px 64px rgba(14, 165, 233, 0.15);
  border-color: rgba(14, 165, 233, 0.3);
  background: var(--surface);
}

.service-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-light);
  background-size: 70% !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  font-size: 0;
  background-color: transparent;
}

.service-card:nth-child(1) .service-icon {
  background-image: url("https://img.icons8.com/color-glass/96/artificial-intelligence.png");
}

.service-card:nth-child(2) .service-icon {
  background-image: url("https://img.icons8.com/color-glass/96/code.png");
}

.service-card:nth-child(3) .service-icon {
  background-image: url("https://img.icons8.com/color-glass/96/iphone.png");
}

.service-card:nth-child(4) .service-icon {
  background-image: url("https://img.icons8.com/color-glass/96/online-shop.png");
}

.service-card:nth-child(5) .service-icon {
  background-image: url("https://img.icons8.com/color-glass/96/line-chart.png");
}

.service-card:nth-child(6) .service-icon {
  background-image: url("https://img.icons8.com/color-glass/96/video.png");
}

:root[data-theme="dark"] .service-icon {
  background-image: none !important;
  font-size: 1.5rem !important;
  background: var(--gradient-primary) !important;
  background-color: var(--gradient-primary) !important;
  box-shadow: var(--shadow-light);
  align-items: center; /* Ensure emoji alignment in dark mode */
  justify-content: center;
}

.service-card h3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 1rem;
}

.service-card p {
  color: var(--gray-700);
  line-height: 1.7;
  flex-grow: 1; /* Allow paragraph to take available space */
  margin-bottom: 1.5rem;
}

:root[data-theme="dark"] .service-card p {
  color: var(--gray-600);
}

.service-card a.btn {
  align-self: flex-start; /* Align button to the start */
  padding: 0.75rem 1.5rem; /* Smaller padding for better fit */
  font-size: 0.9rem; /* Slightly smaller font for balance */
  margin-top: auto; /* Push button to bottom of card */
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .service-card {
    min-height: 320px; /* Slightly smaller for mobile */
    padding: 2rem;
    margin: 0 0.5rem;
  }

  .service-card a.btn {
    width: 100%; /* Full-width buttons on mobile */
    text-align: center;
  }
}

@media (max-width: 480px) {
  .service-card {
    min-height: 300px;
    padding: 1.5rem;
  }

  .service-icon {
    width: 50px;
    height: 50px;
  }

  .service-card h3 {
    font-size: 1.3rem;
  }

  .service-card p {
    font-size: 0.9rem;
  }
}
/* Contact Section Redesign */
.contact {
  background: var(--surface);
  position: relative;
  box-shadow: inset 0 1px 0 rgba(16, 169, 214, 0.08);
}

:root[data-theme="dark"] .contact {
  box-shadow: none;
}

.contact::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 50% 50%,
      rgba(16, 169, 214, 0.05) 0%,
      transparent 70%
    ),
    repeating-linear-gradient(
      transparent 0,
      rgba(97, 205, 227, 0.01) 1px,
      transparent 1px,
      transparent 40px
    );
}

:root[data-theme="dark"] .contact::before {
  background: radial-gradient(
    circle at 50% 50%,
    rgba(14, 165, 233, 0.03) 0%,
    transparent 70%
  );
}

.contact-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.contact-form {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  padding: 3rem;
  border-radius: 24px;
  border: 1px solid rgba(16, 169, 214, 0.1);
  box-shadow: var(--shadow-heavy);
}

:root[data-theme="dark"] .contact-form {
  background: var(--background);
  border: 1px solid var(--border);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.form-group {
  margin-bottom: 2rem;
}

.form-label {
  display: block;
  margin-bottom: 0.75rem;
  font-weight: 600;
  color: var(--text);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 1rem 1.5rem;
  border: 2px solid rgba(16, 169, 214, 0.1);
  border-radius: 12px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.85);
  color: var(--text);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-light);
}

:root[data-theme="dark"] .form-input,
:root[data-theme="dark"] .form-textarea {
  border: 2px solid var(--border);
  background: var(--surface);
  backdrop-filter: blur(10px);
  box-shadow: none;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(16, 169, 214, 0.08);
  background: rgba(255, 255, 255, 0.98);
}

:root[data-theme="dark"] .form-input:focus,
:root[data-theme="dark"] .form-textarea:focus {
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.1);
  background: var(--surface);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--gray-500);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-submit {
  width: 100%;
  background: var(--gradient-primary);
  color: white;
  border: none;
  padding: 1.25rem 2rem;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

:root[data-theme="dark"] .form-submit {
  box-shadow: 0 8px 32px rgba(14, 165, 233, 0.3);
}

.form-submit:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-heavy);
}

:root[data-theme="dark"] .form-submit:hover {
  box-shadow: 0 12px 40px rgba(14, 165, 233, 0.4);
}

/* Footer Complete Redesign */
.footer {
  position: relative;
  background: linear-gradient(
      135deg,
      rgba(240, 248, 255, 0.95) 0%,
      rgba(173, 216, 230, 0.9) 100%
    ),
    url("https://res.cloudinary.com/dbt8odwoc/image/upload/v1755274042/footer_bg_sjwjhc.avif") center/cover;
  padding: 4rem 0 2rem;
}

.footer {
  background: var(--gray-100) url("https://res.cloudinary.com/dbt8odwoc/image/upload/v1755274042/footer_bg_sjwjhc.avif") center/cover;
}

.footer-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(240, 248, 255, 0.85) 100%,
    rgba(182, 237, 255, 0.85) 80%,
    rgba(200, 229, 255, 0.85) 100%
  );
  backdrop-filter: blur(2px);
}

:root[data-theme="dark"] .footer-overlay {
  background: linear-gradient(
    135deg,
    rgba(15, 23, 42, 0.95) 0%,
    rgba(30, 41, 59, 0.9) 50%,
    rgba(15, 23, 42, 0.95) 100%
  );
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  text-decoration: none;
  padding: 0.5rem 0rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

:root[data-theme="dark"] .footer-logo {
  background: transparent;
}

.footer-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand h3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1rem;
}

:root[data-theme="dark"] .footer-brand h3 {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-brand p {
  color: var(--gray-700);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

:root[data-theme="dark"] .footer-brand p {
  color: var(--gray-600);
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(16, 169, 214, 0.1);
  border-radius: 10px;
  color: var(--text);
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid rgba(16, 169, 214, 0.2);
}

:root[data-theme="dark"] .social-link {
  background: var(--gray-100);
  color: var(--gray-600);
  border: 1px solid var(--border);
}

.social-link:hover {
  background: rgba(16, 169, 214, 0.2);
  color: var(--primary);
  transform: translateY(-2px);
  border-color: rgba(16, 169, 214, 0.4);
}

:root[data-theme="dark"] .social-link:hover {
  background: var(--gradient-primary);
  color: white;
  border-color: var(--primary);
}

.footer-section h4 {
  font-weight: 600;
  color: var(--text);
  margin-bottom: 1rem;
}

:root[data-theme="dark"] .footer-section h4 {
  color: var(--text);
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: var(--gray-700);
  text-decoration: none;
  transition: color 0.3s ease;
}

:root[data-theme="dark"] .footer-section ul li a {
  color: var(--gray-600);
}

.footer-section ul li a:hover {
  color: var(--primary);
}

:root[data-theme="dark"] .footer-section ul li a:hover {
  color: var(--primary);
}

.footer-bottom {
  position: relative;
  z-index: 2;
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(16, 169, 214, 0.2);
  color: var(--gray-600);
}

:root[data-theme="dark"] .footer-bottom {
  border-top: 1px solid var(--border);
  color: var(--gray-500);
}

.footer-bottom a {
  color: var(--primary);
  text-decoration: none;
}

:root[data-theme="dark"] .footer-bottom a {
  color: var(--primary);
}

/* Animations */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 480px) {
  .hero-stats {
    gap: 1.5rem;
  }

  .hero-stat {
    padding: 1.25rem;
    min-width: 180px;
  }

  .nav-menu {
    padding: 2rem 1rem;
  }

  .contact-form {
    padding: 1rem;
  }

  .service-card {
    padding: 2rem;
    margin: 0 1rem;
  }

  /* .footer-content {
    gap: 2.5rem;
    text-align: center;
  }

  .footer-social {
    justify-content: center;
  } */
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --border: #000000;
  }

  :root[data-theme="dark"] {
    --border: #ffffff;
    --background: #000000;
    --surface: #1a1a1a;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .hero::before {
    animation: none;
  }
}

.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;
}

/* Focus states for better accessibility */
.nav-link:focus,
.theme-toggle:focus,
.btn:focus,
.form-input:focus,
.form-textarea:focus,
.form-submit:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* Print styles */
@media print {
  .navbar,
  .theme-toggle,
  .hero-video,
  .footer {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 2rem 0;
  }

  .section {
    padding: 2rem 0;
  }
}

:root {
  --white: #ffffff;
  --color1: #096687;
  --color2: #10a9d6;
  --color3: #129fc7;
  --color4: #074154;
  --color5: #0d8fb9;
  --color6: #7f939d;
  --color7: #0f86a8;
  --color8: #064364;
  --color9: #61cde3;
  --color10: #3e7e92;
  --primary: #10a9d6;
  --secondary: #129fc7;
  --accent: #61cde3;
  --background: #ffffff;
  --text: #064364;
  --surface: #ffffff;
  --border: #7f939d;
  --light-blue: #61cde3;
  --medium-blue: #0f86a8;
  --dark-blue: #074154;
  --gray-50: #ffffff;
  --gray-100: #f8fbfc;
  --gray-200: #e9f2f5;
  --gray-300: #d4e5ea;
  --gray-400: #b9d3db;
  --gray-500: #9bbcc6;
  --gray-600: #7f939d;
  --gray-700: #3e7e92;
  --gray-800: #096687;
  --gray-900: #064364;
  --gradient-primary: linear-gradient(135deg, #096687 0%, #10a9d6 100%);
  --gradient-secondary: linear-gradient(135deg, #129fc7 0%, #074154 100%);
  --gradient-accent: linear-gradient(135deg, #0d8fb9 0%, #61cde3 100%);
  --shadow-light: 0 2px 8px rgba(6, 67, 100, 0.08);
  --shadow-medium: 0 4px 16px rgba(6, 67, 100, 0.12);
  --shadow-heavy: 0 8px 32px rgba(6, 67, 100, 0.16);
}

/* Dark Theme (Unchanged) */
:root[data-theme="dark"] {
  --primary: #0ea5e9;
  --secondary: #0284c7;
  --accent: #38bdf8;
  --background: #0a0a0a;
  --text: #f8fafc;
  --surface: #111827;
  --border: #374151;
  --light-blue: #38bdf8;
  --medium-blue: #0ea5e9;
  --dark-blue: #0284c7;
  --gray-50: #1f2937;
  --gray-100: #111827;
  --gray-200: #374151;
  --gray-300: #4b5563;
  --gray-400: #6b7280;
  --gray-500: #9ca3af;
  --gray-600: #d1d5db;
  --gray-700: #e5e7eb;
  --gray-800: #f3f4f6;
  --gray-900: #f9fafb;
  --gradient-primary: linear-gradient(135deg, #0e83ad 0%, #11b7e9 100%);
  --gradient-secondary: linear-gradient(135deg, #18b4df 0%, #0a5169 100%);
  --gradient-accent: linear-gradient(135deg, #14a3d3 0%, #61cde3 100%);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--background);
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
  background-image: repeating-radial-gradient(
    circle at 50% 50%,
    transparent 0,
    rgba(16, 169, 214, 0.01) 2px,
    transparent 4px
  );
}

/* Enhanced Navigation - Light Theme Improvements */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  /* border-bottom: 1px solid var(--border); */
  transition: all 0.3s ease;
  padding: 1rem 0;
  box-shadow: var(--shadow-light);
}

:root[data-theme="dark"] .navbar {
  background: rgba(15, 23, 42, 0.8);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 1);
  box-shadow: var(--shadow-medium);
  padding: 0.75rem 0;
}

:root[data-theme="dark"] .navbar.scrolled {
  background: rgba(15, 23, 42, 0.95);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Light Theme Logo Enhancement */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 1);
  box-shadow: var(--shadow-medium);
  transition: all 0.3s ease;
  border: 1px solid rgba(16, 169, 214, 0.15);
  backdrop-filter: blur(5px);
}

:root[data-theme="dark"] .nav-logo {
  background: transparent;
  box-shadow: 0 4px 20px rgba(14, 165, 233, 0.3);
  border: 1px solid transparent;
}

.nav-logo:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-heavy);
  border-color: rgba(16, 169, 214, 0.25);
}

:root[data-theme="dark"] .nav-logo:hover {
  box-shadow: 0 8px 32px rgba(14, 165, 233, 0.4);
}

.logo {
  height: 40px;
  width: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: var(--primary);
  font-size: 1.5rem;
  filter: drop-shadow(0 2px 4px rgba(16, 169, 214, 0.3));
}

:root[data-theme="dark"] .logo {
  filter: drop-shadow(0 2px 4px rgba(14, 165, 233, 0.3));
}

.title {
  width: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--text);
  font-size: 1.25rem;
  filter: drop-shadow(0 2px 6px rgba(6, 67, 100, 0.15));
}

:root[data-theme="dark"] .title {
  filter: none;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 1rem;
  align-items: center;
}

.nav-link {
  text-decoration: none;
  color: var(--gray-700);
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid rgba(16, 169, 214, 0.1);
  box-shadow: var(--shadow-light);
}

:root[data-theme="dark"] .nav-link {
  color: var(--gray-600);
  background: var(--gray-100);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  box-shadow: none;
}

.nav-link:hover {
  color: var(--primary);
  background: rgba(16, 169, 214, 0.05);
  transform: translateY(-1px);
  border-color: rgba(16, 169, 214, 0.2);
  box-shadow: var(--shadow-medium);
}

:root[data-theme="dark"] .nav-link:hover {
  background: rgba(14, 165, 233, 0.1);
  border-color: var(--primary);
  box-shadow: none;
}

/* Theme Toggle Button - Enhanced for Light Theme */
.theme-toggle {
  background: var(--surface);
  border: 1px solid rgba(16, 169, 214, 0.2);
  border-radius: 10px;
  padding: 0.75rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  box-shadow: var(--shadow-light);
}

:root[data-theme="dark"] .theme-toggle {
  background: var(--gray-100);
  border: 1px solid var(--border);
  box-shadow: none;
}

.theme-toggle:hover {
  background: rgba(16, 169, 214, 0.05);
  border-color: var(--primary);
  transform: translateY(-1px);
  box-shadow: var(--shadow-medium);
}

:root[data-theme="dark"] .theme-toggle:hover {
  background: rgba(14, 165, 233, 0.1);
  box-shadow: none;
}

.theme-toggle-icon {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.theme-toggle:hover .theme-toggle-icon {
  transform: rotate(15deg);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 0.5rem;
  background: var(--surface);
  border-radius: 8px;
  border: 1px solid rgba(16, 169, 214, 0.15);
  box-shadow: var(--shadow-light);
}

:root[data-theme="dark"] .nav-toggle {
  background: var(--gray-100);
  border: 1px solid var(--border);
  box-shadow: none;
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  background: var(--text);
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 2px;
}

/* Hero Section - Light Theme Enhancements */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.9) 0%,
      rgba(248, 251, 252, 0.8) 50%,
      rgba(255, 255, 255, 0.9) 100%
    ),
    url("https://res.cloudinary.com/dbt8odwoc/video/upload/v1755274081/light_bg_video_ajfdw7.mp4") center/cover no-repeat;
  padding: 120px 0 80px;
}

:root[data-theme="dark"] .hero {
  background: var(--background);
}

/* Light Theme Background Pattern */
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(
      circle at 25% 25%,
      rgba(16, 169, 214, 0.05) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 75% 75%,
      rgba(97, 205, 227, 0.05) 0%,
      transparent 50%
    ),
    linear-gradient(
      45deg,
      transparent 49%,
      rgba(16, 169, 214, 0.02) 50%,
      transparent 51%
    ),
    linear-gradient(
      -45deg,
      transparent 49%,
      rgba(97, 205, 227, 0.02) 50%,
      transparent 51%
    ),
    repeating-radial-gradient(
      circle at 50% 50%,
      transparent 0,
      rgba(16, 169, 214, 0.01) 2px,
      transparent 4px
    );
  background-size: 120px 120px, 180px 180px, 60px 60px, 60px 60px, 200px 200px;
  z-index: 1;
}

:root[data-theme="dark"] .hero::before {
  background: conic-gradient(
    from 0deg at 50% 50%,
    transparent 0deg,
    rgba(14, 165, 233, 0.03) 60deg,
    rgba(139, 92, 246, 0.03) 120deg,
    transparent 180deg,
    rgba(6, 182, 212, 0.03) 240deg,
    rgba(14, 165, 233, 0.03) 300deg,
    transparent 360deg
  );
  animation: rotate 60s linear infinite;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0;
  transform: scale(1.1);
}

:root[data-theme="dark"] .hero-video {
  opacity: 0.3;
  transform: scale(1);
}
:root[data-theme="light"] .hero-video {
  opacity: 0.08;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  z-index: 2;
}

:root[data-theme="dark"] .hero-overlay {
  background: radial-gradient(
    ellipse at center,
    rgba(14, 165, 233, 0.1) 0%,
    var(--background) 70%
  );
}

.hero-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
  position: relative;
  z-index: 3;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.5rem;
  background: rgba(16, 169, 214, 0.08);
  border: 1px solid rgba(16, 169, 214, 0.2);
  border-radius: 50px;
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 2rem;
  animation: slideInDown 1s ease-out;
  box-shadow: var(--shadow-light);
}

:root[data-theme="dark"] .hero-badge {
  background: rgba(14, 165, 233, 0.1);
  border: 1px solid rgba(14, 165, 233, 0.3);
  box-shadow: none;
}

.hero-badge::before {
  content: "✨";
  animation: pulse 2s ease-in-out infinite;
}

.hero-title {
  display: block;
  margin: 2rem auto;
  width: 100%;
  max-width: 600px;
  height: auto;
  object-fit: cover;
  animation: slideInUp 1s ease-out 0.2s both;
  filter: drop-shadow(0 4px 20px rgba(16, 169, 214, 0.15));
}

:root[data-theme="dark"] .hero-title {
  filter: brightness(1.2) contrast(1.1);
}

.hero-subtitle {
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  color: var(--gray-700);
  margin-bottom: 3rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  animation: slideInUp 1s ease-out 0.4s both;
  line-height: 1.7;
}

:root[data-theme="dark"] .hero-subtitle {
  color: var(--gray-600);
}

.hero-cta {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 4rem;
  animation: slideInUp 1s ease-out 0.6s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2.5rem;
  font-weight: 600;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: var(--shadow-medium);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-heavy);
}

:root[data-theme="dark"] .btn-primary {
  box-shadow: 0 8px 32px rgba(14, 165, 233, 0.3);
}

:root[data-theme="dark"] .btn-primary:hover {
  box-shadow: 0 16px 48px rgba(14, 165, 233, 0.4);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.8);
  color: var(--primary);
  border: 2px solid rgba(16, 169, 214, 0.3);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-light);
}

:root[data-theme="dark"] .btn-outline {
  background: var(--surface);
  border: 2px solid var(--border);
  box-shadow: none;
}

/* Hero Logo and Icon Styles */
.hero-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1rem;
  animation: slideInUp 1s ease-out 0.2s both;
}

.hero-icon {
  width: 150px;
  height: auto;
  margin-bottom: 1rem;
  /* animation: pulse 2s infinite ease-in-out; */
  filter: drop-shadow(0 4px 12px rgba(16, 169, 214, 0.2));
}

:root[data-theme="dark"] .hero-icon {
  filter: drop-shadow(0 4px 12px rgba(14, 165, 233, 0.3));
}
/* Scroll to Top Button */
.scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--gradient-primary); /* Keep the existing gradient */
  color: white;
  width: 3.5rem; /* Adjust width */
  height: 3.5rem; /* Adjust height */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease-in-out; /* Smooth transition */
  box-shadow: var(--shadow-medium); /* Add shadow to give depth */
  z-index: 50;
  font-size: 1.8rem; /* Increase font size for better visibility */
  border: none; /* Remove border */
  outline: none; /* Remove default outline */
}

.scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.scroll-top i {
  transition: transform 0.3s ease-in-out, opacity 0.2s ease-in-out;
  font-size: 1.4rem; /* Adjust icon size */
}

.scroll-top:hover {
  transform: scale(1.1); /* Slight scaling on hover */
  box-shadow: var(--shadow-heavy); /* Stronger shadow on hover */
}

.scroll-top:hover i {
  transform: translateY(-3px); /* Icon movement on hover */
}

/* Remove focus ring when clicked/focused */
.scroll-top:focus,
.scroll-top:active {
  outline: none; /* Remove outline on focus and active states */
  box-shadow: none; /* Remove focus box-shadow */
}

/* Prevent mobile browsers from showing focus outline */
.scroll-top:focus-visible {
  box-shadow: 0 0 8px var(--highlight-color); /* Custom focus effect */
}

/* Remove blue focus outline on mobile tap */
@media (pointer: coarse) {
  .scroll-top:focus,
  .scroll-top:active {
    outline: none !important; /* Remove outline on mobile devices */
    box-shadow: none !important; /* Remove any shadow on mobile */
  }
  /* Disable mobile focus outline after tap (important for some browsers) */
  .scroll-top:focus-visible {
    outline: none !important;
    box-shadow: none !important;
  }
}

/* Dark theme */
:root[data-theme="dark"] .scroll-top {
  box-shadow: 0 4px 20px rgba(14, 165, 233, 0.3); /* Dark theme shadow */
}

:root[data-theme="dark"] .scroll-top:hover {
  box-shadow: 0 8px 32px rgba(14, 165, 233, 0.4); /* Dark theme hover shadow */
}

:root[data-theme="dark"] .scroll-top i {
  color: #fff; /* Keep icon white in dark mode */
}

/* Additional Subtle Animations */
.section {
  animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.hero-stat:hover,
.service-card:hover,
.about-features li:hover {
  animation: subtleLift 0.3s ease-out forwards;
}

@keyframes subtleLift {
  to {
    transform: translateY(-5px);
  }
}

/* Mobile Padding Adjustments */
@media (max-width: 768px) {
  .service-card {
    padding: 1.5rem;
  }

  .hero-stat {
    padding: 1.5rem;
    min-width: auto;
    width: 100%;
  }

  .container {
    padding: 0 1rem;
  }

  .hero-logo {
    flex-direction: column;
  }

  .hero-icon {
    width: 120px;
  }

  .hero-title {
    max-width: 80%;
  }
}

/* Enhanced Mobile Responsiveness */
@media (max-width: 768px) {
  .nav-container {
    padding: 0 1.5rem;
  }

  .nav-menu {
    position: fixed;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 1);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 2.5rem 1rem;
    gap: 1.5rem;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    border-top: 1px solid var(--gray-300);
    box-shadow: var(--shadow-heavy);
    z-index: 1000;
  }

  :root[data-theme="dark"] .nav-menu {
    background: var(--surface);
    border-top: 1px solid var(--gray-200);
    box-shadow: 0 8px 32px rgba(217, 217, 217, 0.1);
  }

  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-li {
    width: 100%;
    text-align: center;
    border: none;
    box-shadow: none;
    border-bottom: 0.5px solid var(--gray-200); /* You can adjust the color and thickness */

    padding: 0;
  }
  .nav-link {
    width: 100%;
    text-align: center;
    border: none;
    box-shadow: none;
    display: block;
    padding: 0;
    padding-bottom: 1rem;
    padding-top: 0.6rem;
  }

  :root[data-theme="dark"] .nav-link {
    border: none;
    box-shadow: none;
  }
  :root[data-theme="dark"] .nav-li {
    width: 100%;
    text-align: center;
    border: none;
    box-shadow: none;
    border-bottom: 0.5px solid var(--border); /* You can adjust the color and thickness */
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
  }

  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
  }

  .about-grid,
  .footer-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }

  .hero-stats {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }

  .hero-stat {
    min-width: 220px;
    padding: 1.75rem;
  }

  .contact-form {
    padding: 2rem;
  }

  .about-card {
    position: static;
    margin-top: 2.5rem;
    max-width: none;
  }
.about-image {
  
  height: 300px;
}

  .section {
    padding: 100px 0;
  }

  .hero-title {
    max-width: 85%;
  }

  .title {
    width: 140px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .service-card {
    padding: 2rem;
    margin: 0 0.5rem;
  }

  .hero-container {
    padding: 0 1.5rem;
  }

  .container {
    padding: 0 1.5rem;
  }
  .footer-logo {
    padding: 1.5rem 0rem;
  }

}
