/* ===== Reset & Base ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #4F46E5;
  --secondary: #7C3AED;
  --gradient: linear-gradient(135deg, #4F46E5, #7C3AED);
  --gradient-reverse: linear-gradient(135deg, #7C3AED, #4F46E5);
  --hero-gradient: linear-gradient(135deg, #0f0c29 0%, #1a1245 40%, #24243e 100%);
  --dark: #1E1B4B;
  --text: #374151;
  --text-light: #6B7280;
  --light: #F5F3FF;
  --white: #FFFFFF;
  --border: #E5E7EB;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --radius: 12px;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100vw;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: var(--white);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== Scroll-Triggered Animations ===== */
.animate-on-scroll {
  opacity: 0;
}

.animate-on-scroll.fade-up {
  transform: translateY(40px);
}

.animate-on-scroll.zoom-in {
  transform: scale(0.85);
}

.animate-on-scroll.slide-left {
  transform: translateX(-50px);
}

.animate-on-scroll.slide-right {
  transform: translateX(50px);
}

.animate-on-scroll.animated {
  animation: revealUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.animate-on-scroll.fade-up.animated {
  animation-name: revealUp;
}

.animate-on-scroll.zoom-in.animated {
  animation-name: revealZoom;
}

.animate-on-scroll.slide-left.animated {
  animation-name: revealSlideLeft;
}

.animate-on-scroll.slide-right.animated {
  animation-name: revealSlideRight;
}

@keyframes revealUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes revealZoom {
  from {
    opacity: 0;
    transform: scale(0.85);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes revealSlideLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes revealSlideRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ===== Header / Navbar ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  z-index: 1000;
  /* background: rgba(0, 0, 0, .15); */
  background: var(--hero-gradient);
  backdrop-filter: blur(1000px);
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  transition: all 0.4s ease;
}

.header-scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 800;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--gradient);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  transition: transform 0.3s;
}

.logo:hover .logo-icon {
  transform: rotate(15deg) scale(1.1);
}

.logo span:first-of-type {
  color: var(--primary);
}

.logo span:last-of-type {
  color: var(--white);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  width: 100%;
  text-align: center;
  font-weight: 500;
  color: var(--white);
  transition: color 0.3s;
  font-size: 0.95rem;
  position: relative;
}

.nav-links a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  /* background: var(--gradient); */
  background: var(--white);
  transition: width 0.3s ease;
}

.nav-links a:not(.nav-cta):hover::after {
  width: 100%;
}

.nav-cta {
  background: var(--gradient);
  color: white !important;
  padding: 10px 24px;
  border-radius: 8px;
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.4);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text);
  cursor: pointer;
}

/* ===== Hero ===== */
.hero {
  padding: 150px 0 100px;
  background: var(--hero-gradient);
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

#heroCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

@keyframes floatShape1 {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-25px) rotate(180deg);
  }
}

@keyframes floatShape2 {

  0%,
  100% {
    transform: translateY(0) translateX(0);
  }

  33% {
    transform: translateY(-15px) translateX(10px);
  }

  66% {
    transform: translateY(10px) translateX(-10px);
  }
}

.hero .container {
  display: flex;
  align-items: center;
  gap: 60px;
  position: relative;
  z-index: 2;
}

.hero-content {
  flex: 1;
}

.hero-badge {
  display: inline-block;
  background: rgba(79, 70, 229, 0.3);
  border: 1px solid rgba(79, 70, 229, 0.5);
  color: #c4b5fd;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.pulse-badge {
  animation: badgePulse 2.5s ease-in-out infinite;
}

@keyframes badgePulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(129, 140, 248, 0.4);
  }

  50% {
    box-shadow: 0 0 0 12px rgba(129, 140, 248, 0);
  }
}

.hero h1 {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 20px;
}

.hero h1 .highlight {
  background: linear-gradient(135deg, #818cf8, #c084fc, #818cf8);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  animation: shimmerText 3s ease-in-out infinite;
}

@keyframes shimmerText {
  0% {
    background-position: 0% center;
  }

  50% {
    background-position: 100% center;
  }

  100% {
    background-position: 0% center;
  }
}

.hero p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 32px;
  max-width: 500px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
  border: none;
  font-family: inherit;
}

.btn-primary {
  background: var(--gradient);
  color: white;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(79, 70, 229, 0.35);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

/* Glow button effect */
.btn-glow {
  position: relative;
  overflow: hidden;
}

.btn-glow::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  animation: btnGlow 3s ease-in-out infinite;
}

@keyframes btnGlow {
  0% {
    transform: translateX(-100%) rotate(45deg);
  }

  50%,
  100% {
    transform: translateX(100%) rotate(45deg);
  }
}

.hero-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  position: relative;
}

.hero-card {
  width: 340px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 24px;
  padding: 36px 28px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3), inset 0 0 30px rgba(79, 70, 229, 0.05);
  text-align: center;
  animation: float 6s ease-in-out infinite;
  transition: transform 0.2s ease-out, box-shadow 0.3s;
  will-change: transform;
  position: relative;
}

.hero-card:hover {
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.4), inset 0 0 40px rgba(79, 70, 229, 0.1);
}

.hero-card::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 26px;
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.4), rgba(124, 58, 237, 0.1), rgba(79, 70, 229, 0.4));
  z-index: -1;
  animation: cardGlow 4s ease-in-out infinite;
}

@keyframes cardGlow {

  0%,
  100% {
    opacity: 0.3;
  }

  50% {
    opacity: 0.6;
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-15px);
  }
}

.hero-card-icon {
  width: 72px;
  height: 72px;
  background: var(--gradient);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 2rem;
  color: white;
}

.icon-spin-hover {
  transition: transform 0.5s ease;
}

.icon-spin-hover:hover {
  transform: rotateY(180deg);
}

.hero-card h3 {
  font-size: 1.25rem;
  color: var(--white);
  margin-bottom: 8px;
}

.hero-card p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 20px;
}

.hero-card-services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.hero-card-services span {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 12px;
  border-radius: 12px;
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.8);
  transition: transform 0.3s, background 0.3s, color 0.3s, box-shadow 0.3s, border-color 0.3s;
  cursor: pointer;
}

.service-pop {
  animation: popIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  animation-delay: var(--pop-delay);
  opacity: 0;
  transform: scale(0);
}

@keyframes popIn {
  from {
    opacity: 0;
    transform: scale(0);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.hero-card-services span:hover {
  transform: scale(1.15) translateY(-2px);
  background: var(--gradient);
  color: white;
  border-color: transparent;
  box-shadow: 0 6px 20px rgba(79, 70, 229, 0.4);
}

/* ===== Services ===== */
.services {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-badge {
  display: inline-block;
  background: var(--light);
  color: var(--primary);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.section-header h2 {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 16px;
}

.section-header p {
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.05rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.service-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient);
  opacity: 0;
  transition: opacity 0.4s;
  z-index: 0;
}

.service-card:hover::before {
  opacity: 0.04;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(79, 70, 229, 0.15);
  border-color: var(--primary);
}

.service-icon {
  width: 60px;
  height: 60px;
  background: var(--light);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.5rem;
  color: var(--primary);
  transition: background 0.3s, color 0.3s, transform 0.3s;
  position: relative;
  z-index: 1;
}

.service-card:hover .service-icon {
  background: var(--gradient);
  color: white;
  transform: scale(1.1) rotate(-5deg);
}

.service-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 6px;
  position: relative;
  z-index: 1;
}

.service-card p {
  font-size: 0.85rem;
  color: var(--text-light);
  position: relative;
  z-index: 1;
}

/* ===== How It Works ===== */
.how-it-works {
  padding: 100px 0;
  background: var(--light);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 15%;
  right: 15%;
  height: 2px;
  background: var(--gradient);
  opacity: 0.3;
}

.step {
  text-align: center;
  position: relative;
}

.step-number {
  width: 56px;
  height: 56px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
  position: relative;
  z-index: 1;
}

.step-pulse {
  animation: stepPulseRing 3s ease-in-out infinite;
}

@keyframes stepPulseRing {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(79, 70, 229, 0.3);
  }

  50% {
    box-shadow: 0 0 0 14px rgba(79, 70, 229, 0);
  }
}

.step h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.step p {
  font-size: 0.95rem;
  color: var(--text-light);
  max-width: 280px;
  margin: 0 auto;
}

/* ===== Features / Why Choose Us ===== */
.features {
  padding: 100px 0;
}

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

.feature-card {
  padding: 32px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  position: relative;
  overflow: hidden;
}

.feature-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--gradient);
  transition: width 0.4s ease;
}

.feature-card:hover::after {
  width: 100%;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(79, 70, 229, 0.12);
  border-color: rgba(79, 70, 229, 0.2);
}

.feature-icon {
  width: 52px;
  height: 52px;
  background: var(--light);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 18px;
  transition: transform 0.3s;
}

.icon-bounce-hover:hover {
  animation: iconBounce 0.5s ease;
}

@keyframes iconBounce {

  0%,
  100% {
    transform: translateY(0);
  }

  25% {
    transform: translateY(-8px);
  }

  50% {
    transform: translateY(0);
  }

  75% {
    transform: translateY(-4px);
  }
}

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.feature-card p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* ===== Stats Counter ===== */
.stats-counter {
  width: 100%;
  max-width: 100%;
  padding: 80px 0;
  background: var(--gradient);
  position: relative;
  overflow: hidden;
}

.stats-counter::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-item {
  color: white;
}

.stat-item .stat-number {
  font-size: 2.5rem;
  font-weight: 800;
}

.stat-item p {
  font-size: 1rem;
  opacity: 0.85;
  margin-top: 4px;
}

/* ===== CTA Section ===== */
.cta-section {
  padding: 100px 0;
  background: var(--dark);
  position: relative;
  overflow: hidden;
}

.cta-section::before,
.cta-section::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: rgba(79, 70, 229, 0.15);
}

.cta-section::before {
  width: 400px;
  height: 400px;
  top: -200px;
  right: -100px;
  animation: floatShape1 10s ease-in-out infinite;
}

.cta-section::after {
  width: 300px;
  height: 300px;
  bottom: -150px;
  left: -100px;
  animation: floatShape2 8s ease-in-out infinite;
}

.cta-content {
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: white;
  margin-bottom: 16px;
}

.cta-content p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 36px;
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
}

.btn-white-cta {
  background: white;
  color: var(--primary);
  padding: 16px 36px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1.05rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
}

.btn-white-cta:hover {
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

/* ===== Testimonials ===== */
.testimonials {
  padding: 100px 0;
  background: var(--light);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.testimonial-card {
  background: white;
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.testimonial-stars {
  color: #F59E0B;
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.testimonial-stars i {
  transition: transform 0.2s;
}

.testimonial-card:hover .testimonial-stars i {
  animation: starWiggle 0.5s ease forwards;
}

.testimonial-card:hover .testimonial-stars i:nth-child(1) {
  animation-delay: 0s;
}

.testimonial-card:hover .testimonial-stars i:nth-child(2) {
  animation-delay: 0.05s;
}

.testimonial-card:hover .testimonial-stars i:nth-child(3) {
  animation-delay: 0.1s;
}

.testimonial-card:hover .testimonial-stars i:nth-child(4) {
  animation-delay: 0.15s;
}

.testimonial-card:hover .testimonial-stars i:nth-child(5) {
  animation-delay: 0.2s;
}

@keyframes starWiggle {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.3) rotate(15deg);
  }

  100% {
    transform: scale(1);
  }
}

.testimonial-card blockquote {
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 20px;
  line-height: 1.7;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1rem;
  transition: transform 0.3s;
}

.testimonial-card:hover .testimonial-avatar {
  transform: scale(1.1);
}

.testimonial-author h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--dark);
}

.testimonial-author p {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* ===== Footer ===== */
.footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo {
  margin-bottom: 16px;
}

.footer-brand .logo span:first-of-type,
.footer-brand .logo span:last-of-type {
  color: white;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, transform 0.3s;
  color: white;
}

.footer-social a:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

.footer h4 {
  color: white;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  font-size: 0.9rem;
  transition: color 0.3s, padding-left 0.3s;
}

.footer-links a:hover {
  color: white;
  padding-left: 6px;
}

.footer-bottom {
  padding: 24px 0;
  text-align: center;
  font-size: 0.85rem;
}

/* ===== Page Header (for inner pages) ===== */
.page-header {
  padding: 120px 0 60px;
  background: var(--hero-gradient);
  color: white;
  text-align: center;
}

.page-header h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.page-header p {
  font-size: 1.1rem;
  opacity: 0.9;
}

/* ===== Page Content (for inner pages) ===== */
.page-content {
  padding: 80px 0;
}

.page-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
  margin: 32px 0 12px;
}

.page-content h2:first-child {
  margin-top: 0;
}

.page-content p,
.page-content li {
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 12px;
}

.page-content ul,
.page-content ol {
  padding-left: 24px;
  margin-bottom: 16px;
}

.page-content ul {
  list-style: disc;
}

.page-content ol {
  list-style: decimal;
}

.content-card {
  background: white;
  border-radius: var(--radius);
  padding: 48px;
  box-shadow: var(--shadow);
  max-width: 860px;
  margin: 0 auto;
}

/* ===== Contact Form ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  max-width: 960px;
  margin: 0 auto;
}

.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  background: var(--light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-info-card h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 4px;
}

.contact-info-card p {
  font-size: 0.9rem;
  color: var(--text-light);
}

.contact-form {
  background: white;
  padding: 36px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.3s;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.btn-submit {
  width: 100%;
  background: var(--gradient);
  color: white;
  padding: 14px;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(79, 70, 229, 0.35);
}

/* ===== About Page ===== */
.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin: 48px 0;
}

.stat-card {
  text-align: center;
  padding: 28px 16px;
  background: var(--light);
  border-radius: var(--radius);
}

.stat-card .stat-number {
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-card p {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-top: 4px;
}

.about-values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.value-card {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
}

.value-card i {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 12px;
}

.value-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 8px;
}

.value-card p {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .hero h1 {
    font-size: 2.5rem;
  }

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

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

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    /* background: white; */
    background: var(--hero-gradient);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    box-shadow: var(--shadow-lg);
  }

  .nav-links.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .hero {
    min-height: 75vh;
    padding: 110px 0 60px;
  }

  .hero .container {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }

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

  .hero p {
    margin: 0 auto 24px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
  }

  .hero-buttons {
    justify-content: center;
    gap: 12px;
  }

  .hero-buttons .btn {
    padding: 12px 22px;
    font-size: 0.9rem;
  }

  .hero-visual {
    display: none;
    width: 100%;
  }

  .hero-card {
    width: 280px;
    padding: 28px 22px;
    margin: 0 auto;
  }

  .hero-card h3 {
    font-size: 1.1rem;
  }

  .hero-card-services {
    gap: 10px;
  }

  .hero-card-services span {
    padding: 10px;
    font-size: 1.1rem;
  }

  .hero-card-icon {
    width: 60px;
    height: 60px;
    font-size: 1.6rem;
    border-radius: 16px;
  }

  .hero-badge {
    font-size: 0.78rem;
    padding: 5px 14px;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .steps::before {
    display: none;
  }

  .cta-content h2 {
    font-size: 1.6rem;
  }

  .cta-content p {
    font-size: 1rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

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

  .content-card {
    padding: 16px;
  }

  .page-header h1 {
    font-size: 2rem;
  }

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

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

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

  .feature-card {
    padding: 24px;
  }

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

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

@media (max-width: 480px) {
  .hero {
    padding: 100px 0 50px;
  }

  .hero .container {
    gap: 32px;
  }

  .hero h1 {
    font-size: 1.65rem;
    line-height: 1.2;
  }

  .hero p {
    font-size: 0.92rem;
    margin-bottom: 20px;
  }

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

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

  .hero-card {
    width: 260px;
    padding: 24px 18px;
  }

  .hero-card h3 {
    font-size: 1rem;
  }

  .hero-card p {
    font-size: 0.82rem;
  }

  .hero-card-services {
    gap: 8px;
  }

  .hero-card-services span {
    padding: 8px;
    font-size: 1rem;
    border-radius: 10px;
  }

  .hero-card-icon {
    width: 52px;
    height: 52px;
    font-size: 1.4rem;
    margin-bottom: 14px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .service-card {
    padding: 20px 14px;
  }

  .service-icon {
    width: 48px;
    height: 48px;
    font-size: 1.2rem;
  }

  .section-header h2 {
    font-size: 1.5rem;
  }

  .btn {
    padding: 12px 22px;
    font-size: 0.9rem;
  }

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

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

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

  .cta-content h2 {
    font-size: 1.4rem;
  }

  .btn-white-cta {
    padding: 14px 28px;
    font-size: 0.95rem;
  }

  .footer-grid {
    gap: 28px;
  }
}