/* ===========================
   CSS Reset & Base Styles
   =========================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #0066ff;
  --primary-dark: #0052cc;
  --primary-light: #3385ff;
  --secondary-color: #00d4aa;
  --dark-bg: #0a0e27;
  --light-bg: #f8fafc;
  --text-dark: #1a202c;
  --text-light: #64748b;
  --text-white: #ffffff;
  --border-color: #e2e8f0;
  --success-color: #10b981;
  --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);

  /* Light mode colors */
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-tertiary: #f1f5f9;
  --text-primary: #1a202c;
  --text-secondary: #64748b;
  --card-bg: #ffffff;
  --nav-bg: rgba(255, 255, 255, 0.95);
  --border-color: #e2e8f0;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Dark mode colors */
body.dark-mode {
  --bg-primary: #0f172a;
  --bg-secondary: #1e293b;
  --bg-tertiary: #334155;
  --text-primary: #f1f5f9;
  --text-secondary: #cbd5e1;
  --card-bg: #1e293b;
  --nav-bg: rgba(15, 23, 42, 0.95);
  --border-color: #475569;
  --light-bg: #1e293b;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.6);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.7);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  line-height: 1.2;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===========================
   Navigation
   =========================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--nav-bg);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
}

.logo svg {
  transition: transform 0.3s ease;
}

.logo:hover svg {
  transform: rotate(90deg);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}

.nav-link {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  padding: 0.5rem 0;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-color);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--text-primary);
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* Dark Mode Toggle */
.theme-toggle {
  background: none;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.theme-toggle:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
}

.theme-toggle svg {
  width: 20px;
  height: 20px;
}

/* ===========================
   Hero Section
   =========================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(
    135deg,
    rgba(102, 126, 234, 0.15) 0%,
    rgba(118, 75, 162, 0.15) 100%
  );
}

body.dark-mode .hero {
  background: linear-gradient(
    135deg,
    rgba(102, 126, 234, 0.1) 0%,
    rgba(118, 75, 162, 0.1) 100%
  );
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("https://images.unsplash.com/photo-1576091160399-112ba8d25d1d?q=80&w=2070");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.6;
  z-index: 0;
}

body.dark-mode .hero::before {
  opacity: 0.4;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  z-index: 1;
}

.gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.6;
  animation: float 20s ease-in-out infinite;
}

.orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(102, 126, 234, 0.8) 0%,
    transparent 70%
  );
  top: -10%;
  left: -10%;
  animation-delay: 0s;
}

.orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(247, 147, 251, 0.6) 0%,
    transparent 70%
  );
  bottom: -10%;
  right: -10%;
  animation-delay: 5s;
}

.orb-3 {
  width: 350px;
  height: 350px;
  background: radial-gradient(
    circle,
    rgba(79, 172, 254, 0.7) 0%,
    transparent 70%
  );
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: 10s;
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(50px, -50px) scale(1.1);
  }
  66% {
    transform: translate(-30px, 30px) scale(0.9);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 2rem;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  margin-bottom: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

body.dark-mode .hero-title {
  color: var(--text-white);
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}

.gradient-text {
  background: linear-gradient(135deg, #ffd700 0%, #ffa500 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  margin-bottom: 2.5rem;
  line-height: 1.8;
  color: var(--text-primary);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

body.dark-mode .hero-subtitle {
  color: var(--text-white);
  text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.8);
}

.hero-cta {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===========================
   Buttons
   =========================== */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background: var(--text-white);
  color: var(--primary-color);
  box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

.btn-secondary {
  background: transparent;
  color: var(--text-white);
  border: 2px solid var(--text-white);
}

.btn-secondary:hover {
  background: var(--text-white);
  color: var(--primary-color);
}

.btn-full {
  width: 100%;
}

/* ===========================
   Scroll Indicator
   =========================== */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}

.mouse {
  width: 30px;
  height: 50px;
  border: 2px solid var(--text-primary);
  border-radius: 20px;
  position: relative;
  opacity: 0.7;
}

body.dark-mode .mouse {
  border-color: var(--text-white);
}

.wheel {
  width: 4px;
  height: 10px;
  background: var(--text-primary);
  border-radius: 2px;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  animation: scroll 2s infinite;
}

body.dark-mode .wheel {
  background: var(--text-white);
}

@keyframes scroll {
  0% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(15px);
  }
}

/* ===========================
   Stats Section
   =========================== */
.stats-section {
  padding: 5rem 0;
  background: var(--bg-tertiary);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
}

.stat-item {
  text-align: center;
  padding: 2rem;
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  font-family: "Poppins", sans-serif;
}

.stat-label {
  font-size: 1.1rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* ===========================
   Section Common Styles
   =========================== */
section {
  padding: 6rem 0;
  border-bottom: 1px solid var(--border-color);
}

section:last-of-type {
  border-bottom: none;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-tag {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background: rgba(0, 102, 255, 0.1);
  color: var(--primary-color);
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.section-description {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ===========================
   About Section
   =========================== */
.about-section {
  background: var(--bg-secondary);
  position: relative;
}

body.dark-mode .about-section {
  background: var(--bg-secondary);
  box-shadow: inset 0 1px 0 var(--border-color);
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  margin-bottom: 5rem;
}

.about-card {
  padding: 2.5rem;
  background: var(--card-bg);
  border-radius: 20px;
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
}

.about-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-color);
}

.about-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--primary-light)
  );
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--text-white);
}

.about-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.about-card p {
  color: var(--text-secondary);
  line-height: 1.8;
}

/* Team Section */
.team-section {
  margin-top: 5rem;
}

.advisory-section {
  margin-top: 5rem;
  padding-top: 4rem;
  border-top: 2px solid var(--border-color);
}

.subsection-title {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--text-primary);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  max-width: 1000px;
  margin: 0 auto;
}

.team-member {
  text-align: center;
  padding: 2rem;
  background: var(--card-bg);
  border-radius: 15px;
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
}

.team-member:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.team-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  margin: 0 auto 1.5rem;
  overflow: hidden;
  position: relative;
  border: 4px solid var(--border-color);
  box-shadow: var(--shadow-md);
}

.team-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.team-member h4 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.team-role {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 1rem;
}

.bio-toggle {
  background: transparent;
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin: 0.5rem 0;
  display: inline-block;
}

.bio-toggle:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
}

.bio-toggle.active {
  background: var(--primary-color);
  color: white;
}

.team-bio-container {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, opacity 0.4s ease, margin-top 0.3s ease;
  opacity: 0;
  margin-top: 0;
}

.team-bio-container.expanded {
  max-height: 1000px;
  opacity: 1;
  margin-top: 1rem;
}

.team-bio {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  padding: 0.75rem 0;
}

/* ===========================
   Technology Section
   =========================== */
.technology-section {
  background: var(--bg-secondary);
  position: relative;
}

body.dark-mode .technology-section {
  background: var(--bg-secondary);
  box-shadow: inset 0 1px 0 var(--border-color);
}

.tech-features {
  display: flex;
  flex-direction: column;
  gap: 5rem;
}

.tech-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.tech-feature.reverse {
  direction: rtl;
}

.tech-feature.reverse > * {
  direction: ltr;
}

.tech-feature-content {
  padding: 2rem;
}

.tech-number {
  font-size: 4rem;
  font-weight: 700;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  opacity: 0.3;
}

.tech-feature-content h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.tech-feature-content p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.tech-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.tech-list li {
  display: flex;
  align-items: center;
  color: var(--text-secondary);
  font-size: 1rem;
}

.tech-list li::before {
  content: "✓";
  display: inline-block;
  width: 24px;
  height: 24px;
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  text-align: center;
  line-height: 24px;
  margin-right: 1rem;
  font-weight: 700;
  flex-shrink: 0;
}

.tech-feature-visual {
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: var(--card-bg);
  border-radius: 20px;
  border: 1px solid var(--border-color);
}

.tech-animation-box {
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(102, 126, 234, 0.1) 0%,
    rgba(118, 75, 162, 0.1) 100%
  );
  border-radius: 20px;
  border: 2px solid var(--primary-color);
  position: relative;
  overflow: hidden;
}

.tech-animation-box::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(0, 102, 255, 0.1),
    transparent
  );
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
  }
  100% {
    transform: translateX(100%) translateY(100%) rotate(45deg);
  }
}

/* SVG Animations for Technology Section */
.tech-svg {
  width: 100%;
  height: 100%;
}

/* AI Brain Network Animations */
.node {
  animation: nodePulse 2s ease-in-out infinite;
}

.node:nth-child(2) {
  animation-delay: 0.2s;
}
.node:nth-child(3) {
  animation-delay: 0.4s;
}
.node:nth-child(4) {
  animation-delay: 0.6s;
}
.node:nth-child(5) {
  animation-delay: 0.8s;
}

@keyframes nodePulse {
  0%,
  100% {
    opacity: 1;
    r: 15;
  }
  50% {
    opacity: 0.6;
    r: 18;
  }
}

.pulse-ring {
  animation: pulseExpand 2s ease-out infinite;
}

.pulse-ring.delay-1 {
  animation-delay: 1s;
}

@keyframes pulseExpand {
  0% {
    r: 30;
    opacity: 1;
  }
  100% {
    r: 80;
    opacity: 0;
  }
}

.connection {
  animation: connectionFlow 3s ease-in-out infinite;
}

@keyframes connectionFlow {
  0%,
  100% {
    opacity: 0.3;
  }
  50% {
    opacity: 0.8;
  }
}

/* DNA Helix Animations */
.helix-strand {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: drawStrand 3s ease-in-out forwards,
    rotateHelix 4s linear infinite 3s;
}

@keyframes drawStrand {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes rotateHelix {
  0% {
    transform: rotateY(0deg);
  }
  100% {
    transform: rotateY(360deg);
  }
}

.base-pair {
  opacity: 0;
  animation: fadeInPair 0.5s ease-in forwards;
}

.base-pair:nth-child(3) {
  animation-delay: 0.5s;
}
.base-pair:nth-child(4) {
  animation-delay: 0.7s;
}
.base-pair:nth-child(5) {
  animation-delay: 0.9s;
}
.base-pair:nth-child(6) {
  animation-delay: 1.1s;
}
.base-pair:nth-child(7) {
  animation-delay: 1.3s;
}

@keyframes fadeInPair {
  to {
    opacity: 1;
  }
}

.dna-dot {
  animation: glowDot 2s ease-in-out infinite;
}

@keyframes glowDot {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}

/* Security Shield Animations */
.shield {
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
  animation: drawShield 2s ease-in-out forwards;
}

@keyframes drawShield {
  to {
    stroke-dashoffset: 0;
  }
}

.shield-inner {
  animation: shieldPulse 3s ease-in-out infinite 2s;
}

@keyframes shieldPulse {
  0%,
  100% {
    opacity: 0.3;
  }
  50% {
    opacity: 0.7;
  }
}

.lock-body,
.lock-shackle {
  animation: lockShake 0.5s ease-in-out 2.5s;
}

@keyframes lockShake {
  0%,
  100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-3px);
  }
  75% {
    transform: translateX(3px);
  }
}

.data-particle {
  animation: particleFloat 4s ease-in-out infinite;
}

.data-particle:nth-child(1) {
  animation-delay: 0s;
}
.data-particle:nth-child(2) {
  animation-delay: 1s;
}
.data-particle:nth-child(3) {
  animation-delay: 2s;
}
.data-particle:nth-child(4) {
  animation-delay: 3s;
}

@keyframes particleFloat {
  0%,
  100% {
    opacity: 0.3;
    cy: attr(cy);
  }
  50% {
    opacity: 1;
    transform: translateY(-10px);
  }
}

.encrypt-line {
  stroke-dasharray: 5, 5;
  animation: encryptFlow 2s linear infinite;
}

@keyframes encryptFlow {
  to {
    stroke-dashoffset: -20;
  }
}

/* Heart Monitor Animations */
.heartbeat-line {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: drawHeartbeat 2s ease-in-out forwards,
    heartbeatPulse 1.5s ease-in-out infinite 2s;
}

@keyframes drawHeartbeat {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes heartbeatPulse {
  0%,
  100% {
    stroke-width: 3;
    opacity: 1;
  }
  50% {
    stroke-width: 4;
    opacity: 0.7;
  }
}

.vital-circle {
  animation: vitalGlow 2s ease-in-out infinite;
}

.vital-circle:nth-child(1) {
  animation-delay: 0s;
}
.vital-circle:nth-child(3) {
  animation-delay: 0.5s;
}
.vital-circle:nth-child(5) {
  animation-delay: 1s;
}

@keyframes vitalGlow {
  0%,
  100% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
    stroke-width: 3;
  }
}

.pulse-dot {
  animation: pulseBeat 1.5s ease-in-out infinite;
}

@keyframes pulseBeat {
  0%,
  100% {
    r: 6;
    opacity: 1;
  }
  50% {
    r: 10;
    opacity: 0.5;
  }
}

/* ===========================
   Contact Section
   =========================== */
.contact-section {
  background: var(--bg-primary);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  margin-top: 3rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-card {
  padding: 2rem;
  background: var(--card-bg);
  border-radius: 15px;
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.contact-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--primary-light)
  );
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--text-white);
}

.contact-card h4 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.contact-card p {
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

/* Contact Form */
.contact-form-wrapper {
  background: var(--card-bg);
  padding: 3rem;
  border-radius: 20px;
  border: 1px solid var(--border-color);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-weight: 600;
  color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 1rem;
  border: 2px solid var(--border-color);
  border-radius: 10px;
  font-size: 1rem;
  font-family: "Inter", sans-serif;
  transition: all 0.3s ease;
  background: var(--bg-primary);
  color: var(--text-primary);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* ===========================
   Footer
   =========================== */
.footer {
  background: var(--dark-bg);
  color: var(--text-white);
  padding: 4rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-section h4 {
  margin-bottom: 1.5rem;
  color: var(--text-white);
}

.footer-description {
  color: rgba(255, 255, 255, 0.7);
  margin: 1.5rem 0;
  line-height: 1.8;
}

.social-links {
  display: flex;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.social-link {
  color: var(--text-white);
  text-decoration: none;
  transition: color 0.3s ease;
}

.social-link:hover {
  color: var(--primary-light);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--text-white);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
}

/* ===========================
   Animations
   =========================== */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards;
}

.delay-1 {
  animation-delay: 0.2s;
}

.delay-2 {
  animation-delay: 0.4s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease;
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ===========================
   Responsive Design
   =========================== */
@media (max-width: 968px) {
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background: var(--nav-bg);
    width: 100%;
    text-align: center;
    transition: left 0.3s ease;
    box-shadow: var(--shadow-lg);
    padding: 2rem 0;
    gap: 1.5rem;
  }

  .nav-menu.active {
    left: 0;
  }

  .hamburger {
    display: flex;
  }

  .theme-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
    box-shadow: var(--shadow-lg);
  }

  .tech-feature,
  .tech-feature.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .contact-content {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .hero-cta {
    flex-direction: column;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .contact-form-wrapper {
    padding: 2rem 1.5rem;
  }
}
