/* ===================================
   CSS VARIABLES & RESET
   =================================== */

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

:root {
  /* Dark Mode Colors */
  --color-bg-primary: #0a0e27;
  --color-bg-secondary: #131829;
  --color-bg-card: rgba(19, 24, 41, 0.6);

  /* Gradient Colors */
  --gradient-gold: linear-gradient(135deg, #d4af37 0%, #f8e16c 100%);
  --gradient-emerald: linear-gradient(135deg, #10b981 0%, #34d399 100%);
  --gradient-cyan: linear-gradient(135deg, #06b6d4 0%, #22d3ee 100%);
  --gradient-purple: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%);

  /* Accent Colors */
  --color-gold: #d4af37;
  --color-emerald: #10b981;
  --color-cyan: #06b6d4;
  --color-white: #ffffff;
  --color-text-primary: #e5e7eb;
  --color-text-secondary: #9ca3af;

  /* Typography */
  --font-primary: "Inter", sans-serif;
  --font-heading: "Poppins", sans-serif;

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 6rem;

  /* Effects */
  --blur-sm: 10px;
  --blur-md: 20px;
  --blur-lg: 40px;
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  background: var(--color-bg-primary);
  color: var(--color-text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

/* ===================================
   ANIMATED BACKGROUND SHAPES
   =================================== */

.background-shapes {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
  animation: float 20s infinite ease-in-out;
}

.shape-1 {
  width: 600px;
  height: 600px;
  background: var(--gradient-gold);
  top: -300px;
  left: -300px;
  animation-delay: 0s;
}

.shape-2 {
  width: 500px;
  height: 500px;
  background: var(--gradient-emerald);
  bottom: -250px;
  right: -250px;
  animation-delay: 7s;
}

.shape-3 {
  width: 700px;
  height: 700px;
  background: var(--gradient-cyan);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: 14s;
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  25% {
    transform: translate(50px, 100px) scale(1.1);
  }
  50% {
    transform: translate(100px, 50px) scale(0.9);
  }
  75% {
    transform: translate(-50px, -100px) scale(1.05);
  }
}

/* ===================================
   GLASSMORPHISM EFFECTS
   =================================== */

.glass-card {
  background: var(--color-bg-card);
  backdrop-filter: blur(var(--blur-md));
  -webkit-backdrop-filter: blur(var(--blur-md));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  transition: var(--transition);
}

.glass-card:hover {
  border-color: rgba(212, 175, 55, 0.3);
  box-shadow: 0 12px 48px rgba(212, 175, 55, 0.2);
  transform: translateY(-5px);
}

/* ===================================
   GRADIENT TEXT
   =================================== */

.gradient-text {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===================================
   NAVBAR
   =================================== */

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(10, 14, 39, 0.85);
  backdrop-filter: blur(var(--blur-sm));
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--color-white);
}

.logo-img {
  width: 280px;
  height: 280px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.4));
}

/* Nav Links */
.nav-links {
  display: flex;
  list-style: none;
  gap: var(--spacing-md);
}

.nav-links a {
  text-decoration: none;
  color: var(--color-text-primary);
  font-weight: 500;
  transition: var(--transition);
  position: relative;
  padding: 0.5rem 0;
}

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

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

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

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--color-white);
  cursor: pointer;
  z-index: 1;
}

/* ===================================
   HERO SECTION
   =================================== */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: var(--spacing-xl) 0;
  margin-top: 80px;
  overflow: hidden;
}

.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 50%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(16, 185, 129, 0.1) 0%, transparent 50%);
  animation: particles 15s infinite ease-in-out;
}

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

.hero-content {
  text-align: center;
  max-width: 900px;
  position: relative;
  z-index: 2;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: var(--spacing-md);
  animation: fadeInUp 1s ease both;
}

.hero-description {
  font-size: 1.3rem;
  color: var(--color-text-secondary);
  margin-bottom: var(--spacing-lg);
  line-height: 1.8;
  animation: fadeInUp 1s ease 0.2s both;
}

.hero-buttons {
  display: flex;
  gap: var(--spacing-sm);
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease 0.4s both;
}

/* ===================================
   BUTTONS
   =================================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1.1rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
  border: 2px solid transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn span,
.btn i {
  position: relative;
  z-index: 1;
}

.btn-primary {
  background: var(--gradient-gold);
  color: var(--color-bg-primary);
  border-color: var(--color-gold);
}

.btn-primary:hover {
  box-shadow: 0 10px 40px rgba(212, 175, 55, 0.4);
  transform: translateY(-3px);
}

.btn-secondary {
  background: transparent;
  color: var(--color-white);
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(var(--blur-sm));
}

.btn-secondary:hover {
  border-color: var(--color-gold);
  background: rgba(212, 175, 55, 0.1);
  transform: translateY(-3px);
}

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

/* ===================================
   TRUSTED BY SECTION
   =================================== */

.trusted-by {
  padding: var(--spacing-lg) 0;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.trusted-text {
  text-align: center;
  color: var(--color-text-secondary);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: var(--spacing-md);
}

.trusted-badges {
  display: flex;
  gap: var(--spacing-md);
  justify-content: center;
  flex-wrap: wrap;
  animation: slideScroll 20s linear infinite;
}

.badge {
  padding: 0.8rem 2rem;
  background: var(--color-bg-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  color: var(--color-text-primary);
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
  backdrop-filter: blur(var(--blur-sm));
}

/* ===================================
   SECTION HEADERS
   =================================== */

.section-header {
  text-align: center;
  margin-bottom: var(--spacing-lg);
}

.section-title {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--color-text-secondary);
}

/* ===================================
   ABOUT / VISION SECTION
   =================================== */

.about {
  padding: var(--spacing-xl) 0;
  position: relative;
  z-index: 1;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-lg);
  align-items: start;
}

.about-text {
  animation: slideInLeft 1s ease both;
}

.about-text h2 {
  font-size: 2.5rem;
  margin-bottom: var(--spacing-md);
}

.about-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--color-text-secondary);
  margin-bottom: var(--spacing-sm);
}

.signature {
  margin-top: var(--spacing-md);
}

.signature img {
  max-width: 250px;
  margin-bottom: var(--spacing-xs);
}

.signature-name {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  font-style: italic;
}

.about-cards {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
  animation: slideInRight 1s ease both;
}

.about-cards .glass-card {
  padding: var(--spacing-md);
}

.card-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-gold);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--spacing-sm);
}

.card-icon i {
  font-size: 1.8rem;
  color: var(--color-bg-primary);
}

.about-cards h3 {
  font-size: 1.5rem;
  color: var(--color-white);
  margin-bottom: var(--spacing-xs);
  font-family: var(--font-heading);
}

.about-cards p {
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* ===================================
   SERVICES SECTION
   =================================== */

.services {
  padding: var(--spacing-xl) 0;
  position: relative;
  z-index: 1;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-md);
}

.service-card {
  padding: var(--spacing-md);
  text-align: center;
  cursor: pointer;
}

.service-card[data-tilt] {
  transition: transform 0.3s ease;
}

.service-card[data-tilt]:hover {
  transform: perspective(1000px) rotateX(5deg) rotateY(5deg);
}

.service-icon {
  width: 90px;
  height: 90px;
  background: var(--gradient-gold);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--spacing-sm);
  transition: var(--transition);
}

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

.service-icon i {
  font-size: 2.5rem;
  color: var(--color-bg-primary);
}

.service-card h3 {
  font-size: 1.5rem;
  color: var(--color-white);
  margin-bottom: var(--spacing-sm);
  font-family: var(--font-heading);
}

.service-card p {
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: var(--spacing-sm);
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-gold);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}

.service-link:hover {
  gap: 1rem;
}

/* ===================================
   SIP CALCULATOR SECTION
   =================================== */

.calculator-section {
  padding: var(--spacing-xl) 0;
  position: relative;
  z-index: 1;
}

.calculator-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-md);
}

.calculator-inputs,
.calculator-results {
  padding: var(--spacing-md);
}

.calculator-inputs h3,
.calculator-results h3 {
  font-size: 1.8rem;
  color: var(--color-white);
  margin-bottom: var(--spacing-md);
  font-family: var(--font-heading);
}

.input-group {
  margin-bottom: var(--spacing-md);
}

.input-group label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-text-primary);
  font-weight: 600;
  margin-bottom: var(--spacing-xs);
}

.input-group label i {
  color: var(--color-gold);
}

.input-group input[type="number"],
.input-group input[type="range"] {
  width: 100%;
  padding: 0.9rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: var(--color-white);
  font-family: var(--font-primary);
  font-size: 1rem;
  transition: var(--transition);
}

.input-group input[type="number"]:focus {
  outline: none;
  border-color: var(--color-gold);
  background: rgba(255, 255, 255, 0.08);
}

.input-group input[type="range"] {
  padding: 0;
  height: 8px;
  appearance: none;
  background: rgba(255, 255, 255, 0.1);
  cursor: pointer;
}

.input-group input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 20px;
  height: 20px;
  background: var(--gradient-gold);
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
}

.input-group input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.input-value {
  display: block;
  text-align: right;
  color: var(--color-gold);
  font-weight: 600;
  margin-top: 0.5rem;
  font-size: 1.1rem;
}

.result-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-sm) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.result-item.highlight {
  background: rgba(212, 175, 55, 0.1);
  padding: var(--spacing-sm);
  border-radius: 10px;
  margin-top: var(--spacing-sm);
  border: none;
}

.result-label {
  color: var(--color-text-secondary);
  font-weight: 500;
}

.result-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-white);
  font-family: var(--font-heading);
}

.result-value.green {
  color: var(--color-emerald);
}

.result-value.gold {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 2rem;
}

.progress-bar {
  width: 100%;
  height: 10px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  margin-top: var(--spacing-md);
}

.progress-fill {
  height: 100%;
  background: var(--gradient-gold);
  border-radius: 10px;
  transition: width 1s ease;
}

.result-note {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  margin-top: var(--spacing-sm);
  font-style: italic;
}

/* ===================================
   WHY CHOOSE US TIMELINE
   =================================== */

.why-choose {
  padding: var(--spacing-xl) 0;
  position: relative;
  z-index: 1;
}

.timeline {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--color-gold) 0%, var(--color-emerald) 50%, var(--color-cyan) 100%);
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  align-items: center;
  margin-bottom: var(--spacing-lg);
  position: relative;
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
}

.timeline-item:nth-child(1) {
  animation-delay: 0.2s;
}
.timeline-item:nth-child(2) {
  animation-delay: 0.4s;
}
.timeline-item:nth-child(3) {
  animation-delay: 0.6s;
}
.timeline-item:nth-child(4) {
  animation-delay: 0.8s;
}

.timeline-item:nth-child(odd) {
  flex-direction: row-reverse;
}

.timeline-item:nth-child(odd) .timeline-content {
  margin-left: 0;
  margin-right: calc(50% + 50px);
}

.timeline-item:nth-child(even) .timeline-content {
  margin-left: calc(50% + 50px);
}

.timeline-item::before {
  content: attr(data-step);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 50px;
  background: var(--color-bg-secondary);
  border: 3px solid var(--color-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold);
  font-weight: 700;
  font-size: 1.2rem;
  z-index: 2;
  font-family: var(--font-heading);
}

.timeline-icon {
  display: none;
}

.timeline-content {
  flex: 1;
  padding: var(--spacing-md);
  max-width: 450px;
}

.timeline-content h3 {
  font-size: 1.6rem;
  color: var(--color-white);
  margin-bottom: var(--spacing-xs);
  font-family: var(--font-heading);
}

.timeline-content p {
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* ===================================
   STATISTICS SECTION
   =================================== */

.statistics {
  padding: var(--spacing-xl) 0;
  position: relative;
  z-index: 1;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-md);
}

.stat-card {
  padding: var(--spacing-md);
  text-align: center;
}

.stat-icon {
  font-size: 3rem;
  margin-bottom: var(--spacing-sm);
}

.stat-icon i {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: var(--spacing-xs);
  font-family: var(--font-heading);
}

.stat-label {
  font-size: 1rem;
  color: var(--color-text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--spacing-sm);
}

.progress-bar-stat {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  margin-top: var(--spacing-sm);
}

.progress-fill-stat {
  height: 100%;
  background: var(--gradient-emerald);
  border-radius: 10px;
  width: 0;
  transition: width 2s ease;
}

/* ===================================
   TESTIMONIALS CAROUSEL
   =================================== */

.testimonials {
  padding: var(--spacing-xl) 0;
  position: relative;
  z-index: 1;
}

.testimonials-slider {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.testimonials-track {
  display: flex;
  transition: transform 0.5s ease;
}

.testimonial-card {
  min-width: 100%;
  padding: var(--spacing-lg);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.testimonial-card.active {
  opacity: 1;
}

.stars {
  display: flex;
  gap: 0.3rem;
  justify-content: center;
  margin-bottom: var(--spacing-sm);
}

.stars i {
  color: var(--color-gold);
  font-size: 1.2rem;
}

.testimonial-text {
  font-size: 1.2rem;
  line-height: 1.9;
  color: var(--color-text-primary);
  text-align: center;
  font-style: italic;
  margin-bottom: var(--spacing-md);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  justify-content: center;
  padding-top: var(--spacing-sm);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.author-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--color-gold);
}

.author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-info h4 {
  font-size: 1.1rem;
  color: var(--color-white);
  margin-bottom: 0.2rem;
}

.author-info p {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: var(--color-bg-card);
  backdrop-filter: blur(var(--blur-sm));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--color-white);
  font-size: 1.2rem;
  cursor: pointer;
  transition: var(--transition);
  z-index: 2;
}

.slider-btn:hover {
  background: var(--gradient-gold);
  color: var(--color-bg-primary);
  transform: translateY(-50%) scale(1.1);
}

.prev-btn {
  left: -70px;
}

.next-btn {
  right: -70px;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: var(--spacing-xs);
  margin-top: var(--spacing-md);
}

.slider-dot {
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
}

.slider-dot.active {
  background: var(--gradient-gold);
  width: 30px;
  border-radius: 10px;
}

/* ===================================
   CONTACT SECTION
   =================================== */

.contact {
  padding: var(--spacing-xl) 0;
  position: relative;
  z-index: 1;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: var(--spacing-md);
}

.contact-form-wrapper,
.contact-info-card {
  padding: var(--spacing-md);
}

.contact-form-wrapper h3 {
  font-size: 1.8rem;
  color: var(--color-white);
  margin-bottom: var(--spacing-md);
  font-family: var(--font-heading);
}

/* Floating Label Form */
.floating-label {
  position: relative;
  margin-bottom: var(--spacing-md);
}

.floating-label input,
.floating-label textarea {
  width: 100%;
  padding: 1.2rem 1rem 0.8rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: var(--color-white);
  font-family: var(--font-primary);
  font-size: 1rem;
  transition: var(--transition);
}

.floating-label input:focus,
.floating-label textarea:focus {
  outline: none;
  border-color: var(--color-gold);
  background: rgba(255, 255, 255, 0.08);
}

.floating-label label {
  position: absolute;
  top: 1.2rem;
  left: 1rem;
  color: var(--color-text-secondary);
  font-size: 1rem;
  transition: var(--transition);
  pointer-events: none;
}

.floating-label input:focus + label,
.floating-label input:valid + label,
.floating-label textarea:focus + label,
.floating-label textarea:valid + label {
  top: 0.5rem;
  font-size: 0.75rem;
  color: var(--color-gold);
}

.floating-label textarea {
  resize: vertical;
  min-height: 120px;
}

.error-message {
  display: block;
  color: #ef4444;
  font-size: 0.85rem;
  margin-top: 0.3rem;
}

.success-message {
  display: none;
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid var(--color-emerald);
  color: var(--color-emerald);
  padding: var(--spacing-sm);
  border-radius: 10px;
  margin-top: var(--spacing-sm);
  text-align: center;
  animation: fadeInUp 0.5s ease;
}

.success-message.show {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.success-message i {
  font-size: 1.5rem;
}

.contact-info-wrapper {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.contact-info-card {
  text-align: center;
}

.info-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-gold);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--spacing-sm);
}

.info-icon i {
  font-size: 1.5rem;
  color: var(--color-bg-primary);
}

.contact-info-card h4 {
  font-size: 1.2rem;
  color: var(--color-white);
  margin-bottom: var(--spacing-xs);
  font-family: var(--font-heading);
}

.contact-info-card p {
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* ===================================
   FOOTER
   =================================== */

.footer {
  background: var(--color-bg-secondary);
  padding: var(--spacing-lg) 0 var(--spacing-md);
  position: relative;
  z-index: 1;
}

.footer-gradient {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--color-gold),
    var(--color-emerald),
    var(--color-cyan),
    transparent
  );
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-md);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 1.6rem;
  font-weight: 700;
  font-family: var(--font-heading);
  margin-bottom: var(--spacing-sm);
  color: var(--color-white);
}

.footer-logo i {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-section p {
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: var(--spacing-sm);
}

.social-links {
  display: flex;
  gap: var(--spacing-xs);
}

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

.social-link:hover {
  background: var(--gradient-gold);
  color: var(--color-bg-primary);
  transform: translateY(-5px) rotate(5deg);
}

.footer-section h4 {
  font-size: 1.2rem;
  color: var(--color-white);
  margin-bottom: var(--spacing-sm);
  font-family: var(--font-heading);
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.7rem;
}

.footer-section ul li a {
  color: var(--color-text-secondary);
  text-decoration: none;
  transition: var(--transition);
}

.footer-section ul li a:hover {
  color: var(--color-gold);
  padding-left: 5px;
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  padding: 0.3rem;
}

.newsletter-form input {
  flex: 1;
  padding: 0.7rem 1rem;
  background: transparent;
  border: none;
  color: var(--color-white);
  font-family: var(--font-primary);
}

.newsletter-form input::placeholder {
  color: var(--color-text-secondary);
}

.newsletter-form input:focus {
  outline: none;
}

.newsletter-form button {
  width: 45px;
  height: 45px;
  background: var(--gradient-gold);
  color: var(--color-bg-primary);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.newsletter-form button:hover {
  transform: scale(1.1) rotate(15deg);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--spacing-md);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--color-text-secondary);
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.footer-links {
  display: flex;
  gap: var(--spacing-sm);
  align-items: center;
}

.footer-links a {
  color: var(--color-text-secondary);
  text-decoration: none;
  transition: var(--transition);
}

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

/* ===================================
   ANIMATIONS
   =================================== */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

/* ===================================
   SCROLL ANIMATIONS
   =================================== */

[data-animate] {
  opacity: 0;
  transition: all 0.8s ease;
}

[data-animate].animated {
  opacity: 1;
}

[data-animate="left"].animated {
  animation: slideInLeft 0.8s ease forwards;
}

[data-animate="right"].animated {
  animation: slideInRight 0.8s ease forwards;
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

@media (max-width: 1200px) {
  .prev-btn {
    left: -20px;
  }

  .next-btn {
    right: -20px;
  }
}

@media (max-width: 968px) {
  :root {
    --spacing-xl: 4rem;
    --spacing-lg: 3rem;
  }

  .hero-title {
    font-size: 3rem;
  }

  .section-title {
    font-size: 2.5rem;
  }

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

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

  .timeline::before {
    left: 20px;
  }

  .timeline-item {
    flex-direction: row !important;
  }

  .timeline-item::before {
    left: 20px;
    transform: none;
  }

  .timeline-item .timeline-content {
    margin-left: 60px !important;
    margin-right: 0 !important;
  }

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

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

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: rgba(10, 14, 39, 0.98);
    backdrop-filter: blur(var(--blur-lg));
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: var(--spacing-lg);
    transition: var(--transition);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
  }

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

  .mobile-toggle {
    display: block;
  }

  .hero {
    padding: var(--spacing-lg) 0;
  }

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

  .hero-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .trusted-badges {
    flex-direction: column;
    align-items: center;
  }

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

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

  .slider-btn {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .prev-btn {
    left: 10px;
  }

  .next-btn {
    right: 10px;
  }
}

@media (max-width: 480px) {
  :root {
    --spacing-xl: 3rem;
    --spacing-lg: 2rem;
    --spacing-md: 1.5rem;
  }

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

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

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

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

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
