:root {
  --primary: #0a66c2;
  --primary-dark: #0855a2;
  --primary-light: #e6f0fa;
  --secondary: #00a0e9;
  --accent: #10b981;
  --accent-dark: #0d9488;
  --dark: #0f172a;
  --dark-light: #1e293b;
  --light: #f8fafc;
  --gray: #94a3b8;
  --gray-light: #e2e8f0;
  --tech-gradient: linear-gradient(135deg, var(--primary), var(--secondary));
  --tech-gradient-reverse: linear-gradient(
    135deg,
    var(--secondary),
    var(--primary)
  );
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.15);
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --border-radius: 8px;
  --border-radius-lg: 12px;
  --border-radius-xl: 16px;
  --tech-gradient: linear-gradient(135deg, var(--primary), #1a237e);
  --primary-light: rgba(0, 243, 255, 0.1);
  --primary-dark: #006064;
  --gradient-x: 50%;
  --gradient-y: 50%;
}

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

body {
  font-family: "Poppins", sans-serif;
  color: var(--dark);
  background-color: var(--light);
  overflow-x: hidden;
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Orbitron", sans-serif;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1.5rem;
  color: var(--gray);
}

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

img {
  max-width: 100%;
  height: auto;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.section-title {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-title h6 {
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: inline-block;
  position: relative;
}

.section-title h6::after {
  content: "";
  position: absolute;
  width: 40px;
  height: 2px;
  background: var(--tech-gradient);
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
}

.section-title h2 {
  font-size: 2.5rem;
  color: var(--dark);
  margin-bottom: 1.5rem;
}

.section-title p {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  outline: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary {
  background: var(--tech-gradient);
  color: white;
  box-shadow: 0 4px 15px rgba(10, 102, 194, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(10, 102, 194, 0.4);
}

.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--tech-gradient-reverse);
  opacity: 0;
  transition: var(--transition);
  z-index: -1;
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: white;
  box-shadow: 0 4px 15px rgba(10, 102, 194, 0.3);
}

.btn-white {
  background: white;
  color: var(--primary);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.btn-white:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4);
}

.btn-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Header Styles */
header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  transition: var(--transition);
  padding: 1rem 0;
  background: rgba(10, 102, 194, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

header.scrolled {
  padding: 0.75rem 0;
  box-shadow: var(--shadow-lg);
  background: rgba(10, 102, 194, 0.98);
}

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

.logo {
  font-size: 1.75rem;
  font-weight: 700;
  color: white;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo i {
  color: var(--accent);
  font-size: 1.5rem;
}

.logo span {
  font-family: "Orbitron", sans-serif;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: white;
  font-weight: 500;
  position: relative;
  padding: 0.5rem 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  background: var(--accent);
  bottom: 0;
  left: 0;
  transition: var(--transition);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a:hover {
  color: var(--accent);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

.profile-download {
  display: inline-block;
  padding: 8px 14px;
  background-color: #007bff; /* Bootstrap blue */
  color: white;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.3s, transform 0.2s;
}

.profile-download:hover {
  background-color: #0056b3;
  transform: scale(1.05);
}

.profile-download i {
  margin-right: 6px;
}

/* Dropdown styles */
.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 200px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  border-top: 2px solid #3498db; /* Line CSS for dropdown */
}

.dropdown-menu li {
  padding: 0;
}

.dropdown-menu a {
  display: block;
  padding: 10px 15px;
  color: #333;
  text-decoration: none;
  transition: background 0.3s;
}

.dropdown-menu a:hover {
  background: #f5f5f5;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

/* --------------------------------------------
   1) Organic Background Blobs
---------------------------------------------*/
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: crosshair;
}

/* Two giant morphing blobs */
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  width: 180%;
  height: 180%;
  top: -40%;
  left: -40%;
  background: radial-gradient(
    circle at center,
    var(--secondary),
    var(--primary)
  );
  mix-blend-mode: screen;
  opacity: 0.4;
  animation: blobAnim 12s infinite alternate ease-in-out;
}
.hero::after {
  background: radial-gradient(
    circle at center,
    var(--accent),
    var(--accent-dark)
  );
  animation-delay: 6s;
}

@keyframes blobAnim {
  0% {
    clip-path: circle(30% at 25% 30%);
  }
  50% {
    clip-path: circle(38% at 60% 40%);
  }
  100% {
    clip-path: circle(30% at 35% 65%);
  }
}

/* --------------------------------------------
   2) Spotlight Backdrop-Filter on Hover
---------------------------------------------*/
.hero:hover::before,
.hero:hover::after {
  mix-blend-mode: overlay;
}

/* A spotlight that follows the cursor */
.hero .spotlight {
  pointer-events: none;
  position: absolute;
  width: 40vmax;
  height: 40vmax;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.15) 0%,
    transparent 60%
  );
  mix-blend-mode: lighten;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
  opacity: 0;
}
.hero:hover .spotlight {
  opacity: 1;
}

/* Hook cursor position to spotlight via JS (tiny snippet below) */

/* --------------------------------------------
   3) Animated Gradient-Text Headline
---------------------------------------------*/
.hero h1 {
  position: relative;
  font-size: clamp(2rem, 8vw, 4rem);
  font-weight: 900;
  text-transform: uppercase;
  background: linear-gradient(
    90deg,
    var(--primary),
    var(--secondary),
    var(--accent)
  );
  background-size: 300% 300%;
  -webkit-background-clip: text;
  color: transparent;
  animation: textGradient 5s ease infinite;
  mix-blend-mode: difference;
}

@keyframes textGradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* --------------------------------------------
   4) Shimmer Buttons with Clip-Path Mask
---------------------------------------------*/
.btn {
  position: relative;
  padding: 0.75rem 2rem;
  font-weight: 600;
  color: var(--light);
  background: var(--primary-dark);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  transition: var(--transition);
}
.btn::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(
    from 90deg,
    var(--accent),
    var(--secondary),
    var(--accent-dark),
    var(--accent)
  );
  clip-path: circle(0% at 50% 50%);
  transition: clip-path 0.6s ease;
}
.btn:hover::before {
  clip-path: circle(150% at 50% 50%);
}
.btn span {
  position: relative;
  z-index: 1;
}

/* --------------------------------------------
   5) Layout & Content Styling
---------------------------------------------*/
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 1rem 2rem;
}
.hero p {
  color: var(--light);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  line-height: 1.5;
}

/* --------------------------------------------
   6) Responsive
---------------------------------------------*/
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }
  .btn {
    padding: 0.65rem 1.5rem;
  }
}

/* About Section - Tech Enhanced */
.about {
  position: relative;
  background: linear-gradient(45deg, #0a0e17, #0d1117);
  overflow: hidden;
  isolation: isolate;
}

.about::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
      circle at 80% 20%,
      rgba(0, 243, 255, 0.05) 0%,
      transparent 50%
    ),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 2px,
      rgba(0, 243, 255, 0.02) 3px,
      rgba(0, 243, 255, 0.02) 4px
    );
  z-index: -1;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  position: relative;
}

.about-text h3 {
  font-family: "Orbitron", sans-serif;
  font-size: 2.5rem;
  background: linear-gradient(45deg, var(--primary), #00bcd4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 20px rgba(0, 243, 255, 0.3);
  margin-bottom: 2rem;
}

.about-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  position: relative;
}

.feature-item {
  background: rgba(16, 22, 37, 0.8);
  border: 1px solid rgba(0, 243, 255, 0.1);
  border-radius: 12px;
  padding: 1.5rem;
  backdrop-filter: blur(8px);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  overflow: hidden;
}

.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 30px rgba(0, 243, 255, 0.2);
}

.feature-item::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, var(--primary), #1a237e, var(--primary));
  z-index: -1;
  animation: border-flow 4s linear infinite;
  background-size: 400% 400%;
}

@keyframes border-flow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #0a0e17, #1a237e);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.5rem;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.feature-icon::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(0, 243, 255, 0.1),
    transparent
  );
  opacity: 0;
  transition: opacity 0.4s ease;
}

.feature-item:hover .feature-icon {
  transform: rotate(45deg);
  background: linear-gradient(135deg, var(--primary), #1a237e);
  color: white;
}

.feature-item:hover .feature-icon::before {
  opacity: 1;
}

.feature-content h4 {
  font-family: "Orbitron", sans-serif;
  color: var(--primary);
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.feature-content p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.about-image {
  position: relative;
  border-radius: 16px;
  transform-style: preserve-3d;
  perspective: 1000px;
}

.about-image::before {
  content: "";
  position: absolute;
  inset: -15px;
  background: linear-gradient(45deg, var(--primary), #1a237e, var(--primary));
  border-radius: 24px;
  z-index: -1;
  animation: border-flow 6s linear infinite;
  filter: blur(20px);
  opacity: 0.4;
}

.about-image img {
  border-radius: 16px;
  transform: translateZ(20px);
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.about-image:hover img {
  transform: translateZ(30px) scale(1.05);
}

/* Stats Section - Tech Enhanced */
.stats {
  position: relative;
  background: linear-gradient(45deg, #0a0e17, #0d1117);
  overflow: hidden;
}

.stats::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
      circle at 50% 50%,
      rgba(0, 243, 255, 0.05) 0%,
      transparent 60%
    ),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 1px,
      rgba(0, 243, 255, 0.02) 2px,
      rgba(0, 243, 255, 0.02) 3px
    );
  animation: grid-pulse 20s infinite linear;
}

.stats-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4rem;
  position: relative;
}

.stat-item {
  padding: 2rem;
  background: rgba(16, 22, 37, 0.8);
  border-radius: 16px;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 243, 255, 0.1);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.stat-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 40px rgba(0, 243, 255, 0.2);
}

.stat-item::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  height: 60%;
  width: 2px;
  background: linear-gradient(
    to bottom,
    transparent,
    var(--primary),
    transparent
  );
  opacity: 0.3;
}

.stat-item:last-child::after {
  display: none;
}

.stat-number {
  font-size: 3.5rem;
  background: linear-gradient(45deg, var(--primary), #00bcd4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 10px rgba(0, 243, 255, 0.3));
  position: relative;
  margin-bottom: 1rem;
}

.stat-number::after {
  content: "+";
  position: absolute;
  right: -1.5rem;
  color: var(--primary);
  filter: drop-shadow(0 0 8px rgba(0, 243, 255, 0.3));
}

.stat-label {
  font-family: "Orbitron", sans-serif;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.9rem;
}

.stat-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--primary);
  border-radius: 50%;
  pointer-events: none;
  filter: drop-shadow(0 0 3px var(--primary));
}

@keyframes grid-pulse {
  0% {
    background-size: 100% 100%, auto;
  }
  50% {
    background-size: 150% 150%, auto;
  }
  100% {
    background-size: 100% 100%, auto;
  }
}

/* Back To Top  */

.back-to-top {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  width: 3.5rem;
  height: 3.5rem;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--transition), visibility 0.4s var(--transition);
  z-index: 999;
}
.back-to-top.show {
  opacity: 1;
  visibility: visible;
}
.back-to-top:hover {
  background: var(--secondary);
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}
.back-to-top i {
  font-size: 1.25rem;
}

/* Services Section - Tech Enhanced */
.services {
  position: relative;
  background: linear-gradient(45deg, #0a0e17, #0d1117);
  overflow: hidden;
  isolation: isolate;
}

.service-particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--primary);
  border-radius: 50%;
  pointer-events: none;
  filter: drop-shadow(0 0 2px var(--primary));
}

.services::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
      circle at 50% 50%,
      rgba(0, 243, 255, 0.1) 0%,
      rgba(10, 16, 33, 0) 70%
    ),
    linear-gradient(215deg, rgba(26, 35, 126, 0.2) 0%, rgba(10, 16, 33, 0) 50%);
  animation: grid-pulse 15s infinite linear;
  z-index: -1;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2.5rem;
  perspective: 1000px;
}

.service-card {
  background: rgba(16, 22, 37, 0.8);
  border-radius: 16px;
  border: 1px solid rgba(0, 243, 255, 0.1);
  backdrop-filter: blur(12px);
  transform-style: preserve-3d;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  overflow: visible;
  box-shadow: 0 0 20px rgba(0, 243, 255, 0.1), 0 8px 40px rgba(16, 22, 37, 0.4);
}

.service-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(
    45deg,
    rgba(0, 243, 255, 0.4),
    rgba(26, 35, 126, 0.2),
    rgba(0, 243, 255, 0.4)
  );
  border-radius: inherit;
  z-index: -1;
  animation: hologram 6s linear infinite;
}

.service-card::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(0, 243, 255, 0.15) 0%,
    transparent 70%
  );
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none; /* ✨ This allows clicks to pass through */
}

.service-card:hover {
  transform: translateY(-10px) rotateX(5deg) rotateY(-2deg) scale(1.02);
  box-shadow: 0 0 40px rgba(0, 243, 255, 0.3), 0 12px 60px rgba(16, 22, 37, 0.6);
}

.service-card:hover::after {
  opacity: 1;
}

.service-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #0a0e17, #1a237e);
  border-radius: 16px;
  margin: 2rem auto;
  transform: rotate(45deg);
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  box-shadow: 0 4px 20px rgba(0, 243, 255, 0.2),
    inset 0 0 12px rgba(0, 243, 255, 0.1);
  position: relative;
}

.service-icon i {
  transform: rotate(-45deg);
  color: var(--primary);
  font-size: 2rem;
  filter: drop-shadow(0 0 8px rgba(0, 243, 255, 0.4));
}

.service-card:hover .service-icon {
  transform: rotate(0deg) scale(1.1);
  background: linear-gradient(135deg, var(--primary), #1a237e);
  box-shadow: 0 0 30px rgba(0, 243, 255, 0.4),
    inset 0 0 20px rgba(0, 243, 255, 0.2);
}

.service-card:hover .service-icon i {
  color: white;
  filter: drop-shadow(0 0 12px rgba(0, 243, 255, 0.6));
}

.service-content {
  padding: 2rem;
  position: relative;
}

.service-content h3 {
  font-family: "Orbitron", sans-serif;
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
  text-shadow: 0 0 10px rgba(0, 243, 255, 0.3);
}

.service-content p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.service-link {
  display: inline-flex;
  align-items: center;
  color: var(--primary);
  font-weight: 600;
  position: relative;
  overflow: hidden;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: all 0.4s ease;
}

.service-link::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 243, 255, 0.2),
    transparent
  );
  transition: left 0.6s ease;
}

.service-link:hover::before {
  left: 100%;
}

.service-link:hover {
  background: rgba(0, 243, 255, 0.1);
  box-shadow: 0 0 15px rgba(0, 243, 255, 0.2);
}

.service-link i {
  margin-left: 0.75rem;
  transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.service-link:hover i {
  transform: translateX(5px) rotate(90deg);
}

@keyframes hologram {
  0% {
    opacity: 0.6;
  }
  50% {
    opacity: 0.3;
  }
  100% {
    opacity: 0.6;
  }
}

@keyframes grid-pulse {
  0% {
    background-size: 100% 100%, auto;
  }
  50% {
    background-size: 150% 150%, auto;
  }
  100% {
    background-size: 100% 100%, auto;
  }
}

/* Enhanced About Section with Tech Sophistication */
.about {
  background-color: white;
  position: relative;
  overflow: hidden;
  padding: 5rem 0;
}

.about::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background: var(--primary-light);
  clip-path: polygon(25% 0%, 100% 0%, 100% 100%, 0% 100%);
  z-index: 0;
}

.about-container {
  position: relative;
  z-index: 1;
}

.about-content {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.about-text {
  flex: 1;
  position: relative;
}

.about-text h3 {
  font-size: 2.25rem;
  color: var(--dark);
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
  font-weight: 700;
}

.about-text h3::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 4px;
  background: var(--tech-gradient);
  border-radius: 2px;
}

.about-text p {
  color: var(--dark-light);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.about-features {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.feature-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.5rem;
  border-radius: var(--border-radius);
  transition: var(--transition);
  background: white;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-light);
}

.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: var(--tech-gradient);
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  flex-shrink: 0;
  box-shadow: var(--shadow-md);
}

.feature-content h4 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--dark);
  font-weight: 600;
}

.feature-content p {
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

.about-image {
  flex: 1;
  position: relative;
  border-radius: var(--border-radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  transform-style: preserve-3d;
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: var(--transition);
}

.about-image:hover img {
  transform: scale(1.05);
}

.about-image::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border: 5px solid var(--primary);
  border-radius: var(--border-radius-xl);
  top: 20px;
  left: 20px;
  z-index: -1;
  transition: var(--transition);
  transform: translateZ(-1px);
}

.about-image::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(10, 102, 194, 0.1) 0%,
    rgba(0, 160, 233, 0.1) 100%
  );
  z-index: 1;
  opacity: 0;
  transition: var(--transition);
}

.about-image:hover::before {
  top: 15px;
  left: 15px;
}

.about-image:hover::after {
  opacity: 1;
}

/* Enhanced Stats Section with Tech Flair */
.stats {
  background: var(--dark);
  color: white;
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.stats::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPjxkZWZzPjxwYXR0ZXJuIGlkPSJwYXR0ZXJuIiB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHBhdHRlcm5Vbml0cz0idXNlclNwYWNlT25Vc2UiIHBhdHRlcm5UcmFuc2Zvcm09InJvdGF0ZSg0NSkiPjxyZWN0IHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgZmlsbD0icmdiYSgyNTUsMjU1LDI1NSwwLjAzKSIvPjwvcGF0dGVybj48L2RlZnM+PHJlY3Qgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgZmlsbD0idXJsKCNwYXR0ZXJuKSIvPjwvc3ZnPg==");
  opacity: 0.5;
}

.stats-container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.stat-item {
  text-align: center;
  padding: 2rem;
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(5px);
  border-radius: var(--border-radius);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition);
}

.stat-item:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.stat-item::after {
  content: "";
  position: absolute;
  width: 1px;
  height: 60px;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  top: 50%;
  right: 0;
  transform: translateY(-50%);
}

.stat-item:last-child::after {
  display: none;
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.5rem;
  font-family: "Orbitron", sans-serif;
  background: var(--tech-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  display: inline-block;
}

.stat-number::after {
  content: "+";
  position: absolute;
  right: -20px;
  top: 10px;
  font-size: 1.5rem;
  color: var(--accent);
}

.stat-label {
  font-size: 1rem;
  color: var(--gray-light);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 500;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
  .about-content {
    flex-direction: column;
  }

  .about-text,
  .about-image {
    width: 100%;
  }

  .stats-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-item:nth-child(2)::after {
    display: none;
  }
}

@media (max-width: 768px) {
  .about-features {
    grid-template-columns: 1fr;
  }

  .stats-container {
    grid-template-columns: 1fr;
  }

  .stat-item::after {
    display: none;
  }
}
/* Contact Section */
.contact {
  background: var(--dark);
  color: white;
  position: relative;
}

.contact::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("https://images.unsplash.com/photo-1516321318423-f06f85e504b3?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80")
    no-repeat center center/cover;
  opacity: 0.1;
}

.contact-content {
  display: flex;
  gap: 3rem;
}

.contact-info {
  flex: 1;
}

.contact-info h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: white;
}

.contact-info p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
}

.contact-details {
  margin-top: 2rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: rgba(16, 185, 129, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.25rem;
  margin-right: 1rem;
  flex-shrink: 0;
}

.contact-text h4 {
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
  color: white;
}

.contact-text p,
.contact-text a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

.contact-text a:hover {
  color: var(--accent);
}

.contact-form {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  padding: 2.5rem;
  border-radius: var(--border-radius-lg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: white;
}

.form-control {
  width: 100%;
  padding: 0.875rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--border-radius);
  color: white;
  font-family: "Poppins", sans-serif;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

/* Map Section */
.map {
  height: 400px;
  position: relative;
}

.map iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(20%) contrast(110%) brightness(90%);
}

/* Footer */
footer {
  background: var(--dark-light);
  color: white;
  padding: 3rem 0 1.5rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer-col h4::after {
  content: "";
  position: absolute;
  width: 40px;
  height: 2px;
  background: var(--tech-gradient);
  bottom: 0;
  left: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--gray-light);
  transition: var(--transition);
  display: inline-block;
}

.footer-links a:hover {
  color: var(--accent);
  transform: translateX(5px);
}

.footer-contact li {
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.footer-contact i {
  color: var(--accent);
  margin-top: 0.25rem;
}

.footer-about p {
  color: var(--gray-light);
  margin-bottom: 1.5rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--tech-gradient);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  text-align: center;
}

.copyright {
  color: var(--gray-light);
  font-size: 0.875rem;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: var(--tech-gradient);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: var(--shadow-lg);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.back-to-top.active {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

/* Responsive Styles */
@media (max-width: 1200px) {
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  .about-content,
  .contact-content {
    flex-direction: column;
  }

  .about-image {
    margin-top: 3rem;
  }

  .stats-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-item:nth-child(2)::after {
    display: none;
  }
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: var(--dark);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    transition: var(--transition);
  }

  .nav-links.active {
    left: 0;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

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

  .services-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .hero h1 {
    font-size: 2rem;
  }

  .section-title h2 {
    font-size: 2rem;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .stats-container {
    grid-template-columns: 1fr;
  }

  .stat-item::after {
    display: none;
  }

  .btn-group {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
    text-align: center;
  }
}
