/* ===== CSS Variables & Reset ===== */
:root {
  --primary: #4f46e5;
  --primary-light: #818cf8;
  --accent: #0891b2;
  --background: #fafafa;
  --background-dark: #0a0a0a;
  --foreground: #171717;
  --foreground-light: #fafafa;
  --card: #ffffff;
  --card-dark: #1a1a1a;
  --muted: #f5f5f5;
  --muted-dark: #262626;
  --muted-foreground: #737373;
  --border: #e5e5e5;
  --border-dark: #333333;
  --radius: 0.75rem;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Space Grotesk', var(--font-sans);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

.text-balance {
  text-wrap: balance;
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary-light), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== Container ===== */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius);
  transition: all 0.3s ease;
}

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

.btn-primary:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(79, 70, 229, 0.3);
}

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

.btn-white:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-outline-dark {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--foreground);
}

.btn-outline-dark:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: all 0.3s ease;
}

.header.scrolled {
    background: #01010b;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 0.75rem 0;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
  transition: color 0.3s ease;
}

.header.scrolled .logo {
  color: var(--foreground);
}

.logo svg {
  width: 32px;
  height: 32px;
}

.logo svg path {
  fill: white;
  transition: fill 0.3s ease;
}

.header.scrolled .logo svg path {
  fill: var(--primary);
}

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

@media (min-width: 1024px) {
  .nav-links {
    display: flex;
  }
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.3s ease;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: white;
}

.header.scrolled .nav-links a {
  //color: var(--muted-foreground);
  color:#ddd;
}

.header.scrolled .nav-links a:hover,
.header.scrolled .nav-links a.active {
  color: var(--primary);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

.header-cta {
  display: none;
}

@media (min-width: 1024px) {
  .header-cta {
    display: block;
  }
}

.mobile-menu-btn {
  display: flex;
  padding: 0.5rem;
  color: white;
}

.header.scrolled .mobile-menu-btn {
  //color: var(--foreground);
}

@media (min-width: 1024px) {
  .mobile-menu-btn {
    display: none;
  }
}

.mobile-menu {
  display: none;
  background: var(--card);
  border-radius: var(--radius);
  padding: 1rem;
  margin-top: 1rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.mobile-menu.active {
  display: block;
}

@media (min-width: 1024px) {
  .mobile-menu {
    display: none !important;
  }
}

.mobile-menu a {
  display: block;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
  transition: all 0.2s ease;
}

.mobile-menu a:hover,
.mobile-menu a.active {
  background: rgba(79, 70, 229, 0.1);
  color: var(--primary);
}

.mobile-menu .btn {
  width: 100%;
  margin-top: 1rem;
}

/* ===== Hero Section ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a3e 50%, #0f1729 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10, 10, 10, 0.85) 0%, rgba(26, 26, 62, 0.8) 50%, rgba(15, 23, 41, 0.9) 100%);
  z-index: 1;
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.1;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 50px 50px;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
}

.hero-orb-1 {
  width: 400px;
  height: 400px;
  background: var(--primary);
  top: 20%;
  left: 20%;
}

.hero-orb-2 {
  width: 300px;
  height: 300px;
  background: var(--accent);
  bottom: 20%;
  right: 20%;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 900px;
  padding: 6rem 1rem 4rem;
}

.hero-badge {    color: #ddd;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 9999px;
  padding: 0.5rem 1rem;
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeInDown 0.6s ease forwards;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

.hero-badge span {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.875rem;
  font-weight: 500;
}

.hero h1 {
  font-size: 2rem;
  color: white;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
  animation-delay: 0.1s;
}

@media (min-width: 768px) {
  .hero h1 {
    font-size: 3.5rem;
  }
}

@media (min-width: 1024px) {
  .hero h1 {
    font-size: 4rem;
  }
}

.hero p {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 650px;
  margin: 0 auto 2.5rem;
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
  animation-delay: 0.2s;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 4rem;
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
  animation-delay: 0.3s;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  padding-top: 4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
  animation-delay: 0.4s;
}

@media (min-width: 768px) {
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

.hero-stat {
  text-align: center;
}

.hero-stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.25rem;
}

@media (min-width: 768px) {
  .hero-stat-value {
    font-size: 2.5rem;
  }
}

.hero-stat-label {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

.scroll-indicator div {
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 9999px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 8px;
}

.scroll-indicator div span {
  width: 4px;
  height: 8px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 9999px;
}

/* ===== Page Hero (Internal Pages) ===== */
.page-hero {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a3e 50%, #0f1729 100%);
  padding-top: 6rem;
}

.page-hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 800px;
  padding: 4rem 1rem;    margin: auto;
}

.page-hero-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 1rem;
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeInDown 0.6s ease forwards;
}

.page-hero-icon svg {
  width: 32px;
  height: 32px;
  color: white;
}

.page-hero h1 {
  font-size: 2.5rem;
  color: white;
  margin-bottom: 1rem;
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
  animation-delay: 0.1s;
}

@media (min-width: 768px) {
  .page-hero h1 {
    font-size: 3.5rem;
  }
}

.page-hero p {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin: 0 auto;
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
  animation-delay: 0.2s;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
  animation-delay: 0.3s;
}

.breadcrumb span:last-child {
  color: white;
}

/* ===== Sections ===== */
.section {
  padding: 6rem 0;
}

.section-muted {
  background: var(--muted);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-label {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.section-title {
  font-size: 2rem;
  color: var(--foreground);
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .section-title {
    font-size: 3rem;
  }
}

.section-desc {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 650px;
  margin: 0 auto;
}

/* ===== Cards ===== */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) * 1.5);
  padding: 2rem;
  transition: all 0.3s ease;
}

.card:hover {
  border-color: rgba(79, 70, 229, 0.3);
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: rgba(79, 70, 229, 0.1);
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.card:hover .card-icon {
  background: var(--primary);
  transform: scale(1.1);
}

.card-icon svg {
  width: 28px;
  height: 28px;
  color: var(--primary);
  transition: color 0.3s ease;
}

.card:hover .card-icon svg {
  color: white;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.75rem;
  transition: color 0.3s ease;
}

.card:hover .card-title {
  color: var(--primary);
}

.card-desc {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.7;
}

.card-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary);
}

.card-link svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.card:hover .card-link svg {
  transform: translateX(8px);
}

/* ===== Grid Layouts ===== */
.grid-2 {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.grid-3 {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.grid-4 {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.grid-6 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .grid-6 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-6 {
    grid-template-columns: repeat(6, 1fr);
  }
}

/* ===== Why Choose Us Section ===== */
.why-choose-grid {
  display: grid;
  gap: 4rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .why-choose-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.why-choose-visual {
  position: relative;
  aspect-ratio: 1;
  max-width: 450px;
  margin: 0 auto;
}

.visual-ring {
  position: absolute;
  border: 2px dashed rgba(79, 70, 229, 0.2);
  border-radius: 50%;
  animation: spin 30s linear infinite;
}

.visual-ring-1 {
  inset: 0;
}

.visual-ring-2 {
  inset: 2rem;
  border-style: solid;
  border-color: rgba(79, 70, 229, 0.3);
  animation-direction: reverse;
  animation-duration: 20s;
}

.visual-ring-3 {
  inset: 4rem;
  border-color: rgba(79, 70, 229, 0.4);
  animation-duration: 15s;
}

.visual-center {
  position: absolute;
  inset: 6rem;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulseGlow 2s ease-in-out infinite;
}

.visual-center svg {
  width: 64px;
  height: 64px;
  color: white;
}

.visual-float {
  position: absolute;
  width: 48px;
  height: 48px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  animation: float 3s ease-in-out infinite;
}

.visual-float svg {
  width: 24px;
  height: 24px;
  color: var(--primary);
}

.visual-float:nth-child(2) {
  top: 20%;
  left: 5%;
}

.visual-float:nth-child(3) {
  top: 35%;
  right: 5%;
  animation-delay: 0.5s;
}

.visual-float:nth-child(4) {
  top: 55%;
  left: 5%;
  animation-delay: 1s;
}

.visual-float:nth-child(5) {
  top: 70%;
  right: 5%;
  animation-delay: 1.5s;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.3s ease;
}

.feature-item:hover {
  border-color: rgba(79, 70, 229, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.feature-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: rgba(79, 70, 229, 0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
}

.feature-content h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.25rem;
}

.feature-content p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* ===== Industries Grid ===== */
.industry-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) * 1.5);
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
  overflow: hidden;
}

.industry-card:hover {
  border-color: var(--primary);
  transform: translateY(-5px);
}

.industry-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: rgba(79, 70, 229, 0.1);
  border-radius: var(--radius);
  margin: 0 auto 1rem;
  transition: all 0.3s ease;
}

.industry-card:hover .industry-icon {
  background: var(--primary);
  transform: scale(1.1);
}

.industry-icon svg {
  width: 28px;
  height: 28px;
  color: var(--primary);
  transition: color 0.3s ease;
}

.industry-card:hover .industry-icon svg {
  color: white;
}

.industry-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--foreground);
  transition: color 0.3s ease;
}

.industry-card:hover .industry-title {
  color: var(--primary);
}

.industry-hover {
  position: absolute;
  inset: 0;
  background: var(--primary);
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: calc(var(--radius) * 1.5);
}

.industry-card:hover .industry-hover {
  opacity: 1;
}

.industry-hover p {
  font-size: 0.875rem;
  color: white;
  text-align: center;
  line-height: 1.6;
}

/* ===== CTA Section ===== */
.cta-box {
  position: relative;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: calc(var(--radius) * 2);
  padding: 4rem 2rem;
  overflow: hidden;
}

@media (min-width: 768px) {
  .cta-box {
    padding: 6rem 4rem;
  }
}

.cta-bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
  z-index: 0;
}

.cta-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.1;
  background-image: radial-gradient(circle at 2px 2px, white 1px, transparent 0);
  background-size: 32px 32px;
  z-index: 1;
}

.cta-orb {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  filter: blur(40px);
}

.cta-orb-1 {
  width: 200px;
  height: 200px;
  top: -50px;
  right: -50px;
}

.cta-orb-2 {
  width: 300px;
  height: 300px;
  bottom: -100px;
  left: -100px;
}

.cta-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 2rem;
  color: white;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .cta-content h2 {
    font-size: 2.5rem;
  }
}

.cta-content > p {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2.5rem;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 3rem;
}

@media (min-width: 640px) {
  .cta-buttons {
    flex-direction: row;
  }
}

.cta-contact {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  color: rgba(255, 255, 255, 0.9);
}

@media (min-width: 640px) {
  .cta-contact {
    flex-direction: row;
    gap: 2rem;
  }
}

.cta-contact a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: color 0.3s ease;
}

.cta-contact a:hover {
  color: white;
}

.cta-contact svg {
  width: 20px;
  height: 20px;
}

/* ===== Footer ===== */
.footer {
  background: var(--foreground);
  color: var(--background);
}

.footer-main {
  padding: 4rem 0;
}

.footer-grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

.footer-brand p {
  color: rgba(250, 250, 250, 0.7);
  margin: 1.5rem 0;
  max-width: 350px;
  line-height: 1.7;
}

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

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(250, 250, 250, 0.1);
  border-radius: 50%;
  transition: all 0.3s ease;
}

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

.footer-social svg {
  width: 20px;
  height: 20px;
}

.footer-links h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: rgba(250, 250, 250, 0.7);
  font-size: 0.875rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary);
}

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

.footer-contact svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
  margin-top: 2px;
  flex-shrink: 0;
}

.footer-contact a,
.footer-contact span {
  color: rgba(250, 250, 250, 0.7);
  font-size: 0.875rem;
  transition: color 0.3s ease;
}

.footer-contact a:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid rgba(250, 250, 250, 0.1);
  padding: 1.5rem 0;
}

.footer-bottom-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

@media (min-width: 768px) {
  .footer-bottom-content {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-bottom p {
  color: rgba(250, 250, 250, 0.6);
  font-size: 0.875rem;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  color: rgba(250, 250, 250, 0.6);
  font-size: 0.875rem;
  transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
  color: var(--primary);
}

/* ===== About Page Specifics ===== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.stat-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) * 1.5);
  padding: 1rem;
  text-align: center;
  transition: all 0.3s ease;
}

.stat-card:nth-child(even) {
  margin-top: 2rem;
}

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

.stat-value {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.mission-vision-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .mission-vision-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.mission-card,
.vision-card {
  border-radius: calc(var(--radius) * 1.5);
  padding: 2.5rem;
  transition: all 0.3s ease;
}

.mission-card {
  background: var(--card);
  border: 1px solid var(--border);
}

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

.vision-card {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
}

.vision-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(79, 70, 229, 0.3);
}

.card-header-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.mission-card .card-header-icon {
  background: rgba(79, 70, 229, 0.1);
}

.mission-card .card-header-icon svg {
  color: var(--primary);
}

.vision-card .card-header-icon {
  background: rgba(255, 255, 255, 0.2);
}

.vision-card .card-header-icon svg {
  color: white;
}

.card-header-icon svg {
  width: 28px;
  height: 28px;
}

.mission-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.vision-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.mission-card p {
  color: var(--muted-foreground);
  line-height: 1.7;
}

.vision-card p {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
}

/* ===== Team Section ===== */
.team-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) * 1.5);
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
}

.team-card:hover {
  border-color: var(--primary);
  transform: translateY(-5px);
}

.team-avatar {
  width: 96px;
  height: 96px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.2), rgba(8, 145, 178, 0.2));
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.team-card:hover .team-avatar {
  background: linear-gradient(135deg, var(--primary), var(--accent));
}

.team-avatar svg {
  width: 48px;
  height: 48px;
  color: var(--primary);
  transition: color 0.3s ease;
}

.team-card:hover .team-avatar svg {
  color: white;
}

.team-name {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.25rem;
}

.team-role {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.team-desc {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.team-social {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
}

.team-social a {
  width: 32px;
  height: 32px;
  background: var(--muted);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.team-social a:hover {
  background: var(--primary);
  color: white;
}

.team-social svg {
  width: 16px;
  height: 16px;
}

/* ===== Services Page ===== */
.core-service-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) * 1.5);
  padding: 2rem;
  overflow: hidden;
  transition: all 0.3s ease;
}

.core-service-card:hover {
  border-color: rgba(79, 70, 229, 0.3);
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.service-number {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 5rem;
  font-weight: 700;
  color: var(--muted);
  line-height: 1;
  transition: color 0.3s ease;
}

.core-service-card:hover .service-number {
  color: rgba(79, 70, 229, 0.1);
}

/* ===== Service Tabs ===== */
.service-tabs {
  display: grid;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .service-tabs {
    grid-template-columns: 1fr 2fr;
  }
}

.service-tab-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.service-tab {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: left;
  transition: all 0.3s ease;
  width: 100%;
}

.service-tab:hover {
  border-color: rgba(79, 70, 229, 0.3);
}

.service-tab.active {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
  box-shadow: 0 10px 30px rgba(79, 70, 229, 0.3);
}

.service-tab-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.service-tab:not(.active) .service-tab-icon {
  background: rgba(79, 70, 229, 0.1);
}

.service-tab.active .service-tab-icon {
  background: rgba(255, 255, 255, 0.2);
}

.service-tab-icon svg {
  width: 20px;
  height: 20px;
}

.service-tab:not(.active) .service-tab-icon svg {
  color: var(--primary);
}

.service-tab.active .service-tab-icon svg {
  color: white;
}

.service-tab-title {
  font-weight: 500;
  font-size: 0.875rem;
}

.service-content {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) * 1.5);
  padding: 2.5rem;
}

.service-content-header {
  margin-bottom: 2rem;
}

.service-content-icon {
  width: 64px;
  height: 64px;
  background: rgba(79, 70, 229, 0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.service-content-icon svg {
  width: 32px;
  height: 32px;
  color: var(--primary);
}

.service-content h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.service-content > p {
  color: var(--muted-foreground);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.service-features {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .service-features {
    grid-template-columns: repeat(2, 1fr);
  }
}

.service-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  background: var(--muted);
  border-radius: var(--radius);
}

.service-feature-check {
  width: 24px;
  height: 24px;
  background: rgba(79, 70, 229, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.service-feature-check svg {
  width: 14px;
  height: 14px;
  color: var(--primary);
}

.service-feature span {
  font-size: 0.875rem;
  color: var(--foreground);
}

/* ===== Process Section ===== */
.process-grid {
  position: relative;
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .process-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.process-line {
  display: none;
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--border);
  transform: translateY(-50%);
}

@media (min-width: 1024px) {
  .process-line {
    display: block;
  }
}

.process-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) * 1.5);
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
}

.process-card:hover {
  border-color: rgba(79, 70, 229, 0.3);
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.process-icon {
  position: relative;
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
}

.process-icon-bg {
  position: absolute;
  inset: 0;
  background: rgba(79, 70, 229, 0.1);
  border-radius: 50%;
  transition: background 0.3s ease;
}

.process-card:hover .process-icon-bg {
  background: var(--primary);
}

.process-icon svg {
  position: relative;
  width: 28px;
  height: 28px;
  color: var(--primary);
  margin-top: 18px;
  transition: color 0.3s ease;
}

.process-card:hover .process-icon svg {
  color: white;
}

.process-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 32px;
  height: 32px;
  background: var(--primary);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.4);
}

.process-card h3 {
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
}

.process-card p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.6;
}

/* ===== Solutions Page ===== */
.solution-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) * 1.5);
  padding: 2rem;
  overflow: hidden;
  transition: all 0.3s ease;
}

.solution-card:hover {
  border-color: rgba(79, 70, 229, 0.3);
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.solution-card-bg {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.solution-card:hover .solution-card-bg {
  opacity: 1;
}

.solution-features {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.solution-feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.solution-feature svg {
  width: 16px;
  height: 16px;
  color: var(--primary);
  flex-shrink: 0;
}

/* ===== Tech Stack ===== */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .tech-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 768px) {
  .tech-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1024px) {
  .tech-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

.tech-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
}

.tech-item:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.tech-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  background: rgba(79, 70, 229, 0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.tech-item:hover .tech-icon {
  background: var(--primary);
}

.tech-icon svg {
  width: 24px;
  height: 24px;
  color: var(--primary);
  transition: color 0.3s ease;
}

.tech-item:hover .tech-icon svg {
  color: white;
}

.tech-item span {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted-foreground);
}

/* ===== Case Studies ===== */
.case-study-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) * 1.5);
  overflow: hidden;
  transition: all 0.3s ease;
}

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

.case-study-header {
  padding: 2rem;
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.1), rgba(8, 145, 178, 0.1));
}

.case-study-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: var(--primary);
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 9999px;
  margin-bottom: 1rem;
}

.case-study-header h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.case-study-header p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.case-study-content {
  padding: 2rem;
}

.case-study-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.case-study-stat {
  text-align: center;
}

.case-study-stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.case-study-stat-label {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.case-study-quote {
  font-style: italic;
  color: var(--muted-foreground);
  padding-left: 1rem;
  border-left: 3px solid var(--primary);
  font-size: 0.875rem;
  line-height: 1.7;
}

/* ===== Contact Page ===== */
/* ========================================
   Contact Page - Improved Styles
   ======================================== */

.contact-grid {
  display: grid;
    grid-template-columns: 1fr 0.9fr;
    gap: 2rem;
  align-items: start;
}

.contact-form-wrapper {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--gray-200);
}

.contact-form-wrapper h2 {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  color: var(--dark);
}

.contact-form-wrapper > p {
  color: var(--gray-600);
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.form-group {
  margin-bottom: 0;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--gray-700);
  font-size: 0.95rem;
}

.form-group label[for*="*"]::after {
  content: " *";
  color: var(--error);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.875rem 1.25rem;
  border: solid 1px #ddd;
  border-radius: var(--radius-lg);
  font-size: 1rem;
  transition: var(--transition);
  background: var(--white);
}

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

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

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 3rem;
}

.btn-full {
  width: 100%;
  padding: 1rem;
  font-size: 1.1rem;
  margin-top: 0.5rem;
}

/* Contact Info Cards */
.contact-info-wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.contact-info-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.95) 100%);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-xl);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-info-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-light);
}

.contact-info-icon {
  width: 64px;
  height: 64px;
  background: var(--gradient-primary);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.contact-info-icon svg {
  width: 28px;
  height: 28px;
  color: var(--white);
}

.contact-info-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--dark);
}

.contact-info-card p {
  color: var(--gray-600);
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Map Section */
.map-section {
  padding-top: 0;
}

.map-wrapper {
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  position: relative;
  margin-top: -2rem;
}

.map-placeholder {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.map-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 70%, rgba(10, 10, 30, 0.3));
}

.map-pin {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

/* FAQ Section */
.faq-section .section-header {
  margin-bottom: 3rem;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

@media (max-width: 992px) {
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  text-align: left;
  font-weight: 600;
  color: var(--dark);
  font-size: 1.1rem;
  transition: var(--transition);
}

.faq-question:hover {
  background: var(--gray-100);
}

.faq-icon {
  width: 20px;
  height: 20px;
  transition: var(--transition);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 1000px;
}

.faq-answer p {
  padding: 0 1.5rem 1.5rem;
  color: var(--gray-600);
  line-height: 1.7;
}

/* CTA Section - Contact Page */
.cta-section .cta-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.cta-section .cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta-section .cta-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Responsive Design for Contact Page */
@media (max-width: 1200px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .contact-form-wrapper {
    padding: 2rem;
  }
  
  .contact-info-wrapper {
    grid-template-columns: 1fr;
  }
  
  .contact-info-card {
    padding: 1.5rem;
  }
  
  .faq-question {
    padding: 1.25rem;
    font-size: 1rem;
  }
  
  .cta-buttons {
    flex-direction: column;
  }
  
  .cta-buttons .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .contact-form-wrapper {
    padding: 1.5rem;
  }
  
  .contact-form-wrapper h2 {
    font-size: 1.75rem;
  }
  
  .contact-info-card h3 {
    font-size: 1.1rem;
  }
}

/* Print Styles for Contact Page */
@media print {
  .contact-form-wrapper {
    box-shadow: none;
    border: 1px solid #ddd;
    page-break-inside: avoid;
  }
  
  .contact-info-card {
    border: 1px solid #ddd;
    box-shadow: none;
  }
  
  .map-wrapper {
    page-break-before: always;
  }
  
  .btn,
  .faq-question svg,
  .map-pin {
    display: none;
  }
}
/* ===== FAQ Section ===== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.5rem;
  text-align: left;
  font-weight: 600;
  color: var(--foreground);
  transition: background 0.3s ease;
}

.faq-question:hover {
  background: var(--muted);
}

.faq-question svg {
  width: 20px;
  height: 20px;
  color: var(--muted-foreground);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer p {
  padding: 0 1.5rem 1.5rem;
  color: var(--muted-foreground);
  line-height: 1.7;
}

/* ===== Success Message ===== */
.success-message {
  text-align: center;
  padding: 3rem;
}

.success-icon {
  width: 64px;
  height: 64px;
  background: rgba(79, 70, 229, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.success-icon svg {
  width: 32px;
  height: 32px;
  color: var(--primary);
}

.success-message h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.success-message p {
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
}

/* ===== Animations ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

@keyframes bounce {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(-10px);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(79, 70, 229, 0.3);
  }
  50% {
    box-shadow: 0 0 40px rgba(79, 70, 229, 0.6);
  }
}

/* ===== Scroll Reveal ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ===== Utility Classes ===== */
.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;
}

.hidden {
  display: none !important;
}
