:root {
  --primary: #14123a;
  --primary-2: #0a2d73;
  --accent: #d5233a;
  --blue: #0d5fab;
  --bg: #f3f5fb;
  --text: #0f172a;
  --muted: #64748b;
  --card: #ffffff;
  --border: #e2e8f0;
  --shadow: 0 18px 60px rgba(10, 45, 115, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Poppins', system-ui, -apple-system, sans-serif;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 25%, #f093fb 50%, #4facfe 75%, #00f2fe 100%);
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
  color: var(--text);
  line-height: 1.7;
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 40% 20%, rgba(255, 255, 255, 0.06) 0%, transparent 50%);
  animation: floatBackground 20s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg);
  opacity: 0.85;
  z-index: 0;
  pointer-events: none;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes floatBackground {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(30px, -30px) scale(1.1);
  }
  66% {
    transform: translate(-20px, 20px) scale(0.9);
  }
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: min(1200px, 90vw);
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 5vw;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(13, 95, 171, 0.12);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.topbar:hover {
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.08);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo {
  width: 200px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-name {
  font-weight: 700;
  font-size: 18px;
  color: var(--primary);
}

.brand-name span {
  color: var(--accent);
}

.brand-text small {
  color: var(--blue);
  font-weight: 600;
  font-size: 12px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav a {
  font-weight: 600;
  color: var(--text);
  padding: 10px 12px;
  border-radius: 10px;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav a:hover,
.nav a.active {
  color: var(--accent);
  background: rgba(213, 35, 58, 0.08);
}

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  font-size: 22px;
  padding: 8px 10px;
  border-radius: 10px;
  color: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 700;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn.small {
  padding: 9px 14px;
  font-size: 14px;
}

.btn.primary {
  background: linear-gradient(135deg, var(--primary), var(--blue));
  color: #fff;
  box-shadow: 0 10px 28px rgba(13, 95, 171, 0.35);
  position: relative;
  overflow: hidden;
}

.btn.primary::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.btn.primary:hover::before {
  width: 300px;
  height: 300px;
}

.btn.primary:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 15px 40px rgba(13, 95, 171, 0.5);
}

.btn.ghost {
  border: 2px solid var(--primary-2);
  color: var(--primary-2);
  background: transparent;
}

.btn.ghost:hover {
  background: rgba(10, 45, 115, 0.08);
}

.btn.text {
  padding: 0;
  border: none;
  color: var(--primary-2);
  background: transparent;
  font-weight: 700;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--blue);
  font-weight: 800;
  font-size: 12px;
  margin: 0 0 8px;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 12px;
  color: var(--text);
}

.lead {
  color: var(--muted);
  max-width: 900px;
  margin: 0 auto;
}

/* Hero Carousel Section */
.hero-carousel {
  position: relative;
  width: 100%;
  margin-top: 0;
  overflow: hidden;
  z-index: 1;
}

.carousel-container {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  max-height: 800px;
  overflow: hidden;
}

.carousel-slides {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide {
  position: relative;
  min-width: 100%;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.carousel-slide.active {
  opacity: 1;
}

.carousel-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.carousel-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(26, 31, 74, 0.75) 0%, rgba(45, 53, 97, 0.65) 50%, rgba(102, 126, 234, 0.5) 100%);
  z-index: 1;
}

.carousel-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  z-index: 2;
  max-width: 800px;
  padding: 0 20px;
  animation: fadeInUp 1s ease;
}

.carousel-eyebrow {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 12px;
}

.carousel-content h1 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 20px;
  color: #fff;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.carousel-content p {
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 30px;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.2);
}

.carousel-actions {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.carousel-controls {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 20px;
  z-index: 3;
}

.carousel-btn {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 28px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.carousel-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
  transform: scale(1.1);
}

.carousel-dots {
  display: flex;
  gap: 10px;
  align-items: center;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-dot.active {
  width: 30px;
  border-radius: 6px;
  background: #fff;
  border-color: #fff;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate(-50%, -40%);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

/* Feature Cards */
.feature-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  padding: 40px 20px;
  position: relative;
  z-index: 2;
  margin-top: -80px;
}

.feature-card {
  background: #fff;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(102, 126, 234, 0.2);
}

.feature-icon {
  font-size: 48px;
  margin-bottom: 15px;
}

.feature-eyebrow {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #667eea;
  margin-bottom: 8px;
}

.feature-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: #1a1f4a;
  margin: 0 0 10px;
}

.feature-card p {
  font-size: 14px;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
}

/* Updated Hero Stats */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  padding: 30px 20px;
  background: linear-gradient(135deg, #1a1f4a 0%, #2d3561 100%);
  margin-top: 0;
}

.stat-item {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 25px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.stat-item:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-5px);
}

.stat-item strong {
  display: block;
  font-size: 36px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}

.stat-item span {
  display: block;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

/* Responsive Carousel Styles */
@media (max-width: 768px) {
  .carousel-container {
    height: 70vh;
    min-height: 500px;
    max-height: 600px;
  }
  
  .carousel-content {
    padding: 0 15px;
  }
  
  .carousel-content h1 {
    font-size: clamp(24px, 6vw, 36px);
    margin-bottom: 15px;
  }
  
  .carousel-content p {
    font-size: 14px;
    margin-bottom: 20px;
  }
  
  .carousel-actions {
    flex-direction: column;
    gap: 10px;
  }
  
  .carousel-actions .btn {
    width: 100%;
    max-width: 280px;
  }
  
  .carousel-controls {
    bottom: 20px;
  }
  
  .carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 24px;
  }
  
  .feature-cards {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 30px 15px;
    margin-top: -60px;
  }
  
  .feature-card {
    padding: 25px;
  }
  
  .hero-stats {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 25px 15px;
  }
}

@media (max-width: 480px) {
  .carousel-container {
    height: 60vh;
    min-height: 400px;
    max-height: 500px;
  }
  
  .carousel-content h1 {
    font-size: 22px;
  }
  
  .carousel-content p {
    font-size: 13px;
  }
  
  .carousel-eyebrow {
    font-size: 11px;
  }
  
  .feature-cards {
    margin-top: -40px;
  }
}

.hero {
  padding: 40px 0 30px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(80px);
  opacity: 0.6;
  animation: float 12s ease-in-out infinite alternate;
  z-index: 0;
}

.hero::before {
  width: 500px;
  height: 500px;
  background: linear-gradient(135deg, rgba(13, 95, 171, 0.4), rgba(102, 126, 234, 0.3));
  top: -200px;
  left: -100px;
  animation: float 15s ease-in-out infinite alternate;
}

.hero::after {
  width: 450px;
  height: 450px;
  background: linear-gradient(135deg, rgba(213, 35, 58, 0.3), rgba(240, 147, 251, 0.25));
  bottom: -180px;
  right: -90px;
  animation-duration: 18s;
}

.hero-inner {
  position: relative;
  z-index: 2;
}

@keyframes float {
  0% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(50px, -50px) scale(1.1);
  }
  100% {
    transform: translate(-30px, 30px) scale(0.9);
  }
}

.hero-inner {
  display: grid;
  gap: 24px;
  grid-template-columns: 1.2fr 0.9fr;
  align-items: stretch;
  position: relative;
  z-index: 1;
  width: min(1200px, 90vw);
  margin: 0 auto;
}

.slider {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  min-height: 430px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  background: #0d1f3b;
  isolation: isolate;
  animation: slideGlow 3s ease-in-out infinite;
}

@keyframes slideGlow {
  0%, 100% {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  }
  50% {
    box-shadow: 0 20px 60px rgba(13, 95, 171, 0.5);
  }
}

.slides {
  display: grid;
}

.slide {
  display: none;
  min-height: 430px;
  padding: 70px 60px;
  color: #fff;
  position: relative;
}

.slide.active {
  display: block;
}

.slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 140% at 70% 10%, rgba(255, 255, 255, 0.15), transparent);
  mix-blend-mode: screen;
}

.slide-content {
  max-width: 620px;
  position: relative;
  z-index: 1;
}

.slide h1 {
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.1;
}

.slide p {
  color: #e8ecf8;
  margin-bottom: 18px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.slider-controls {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 20px;
  pointer-events: none;
}

.control {
  pointer-events: auto;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  width: 46px;
  height: 46px;
  border-radius: 12px;
  font-size: 22px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.control:hover {
  background: rgba(255, 255, 255, 0.3);
}

.dots {
  display: flex;
  gap: 8px;
  align-items: center;
  pointer-events: auto;
}

.dots button {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  border: none;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease;
}

.dots button.active {
  width: 26px;
  background: #fff;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.hero-stats div {
  background: #fff;
  border-radius: 14px;
  padding: 14px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}

.hero-stats strong {
  display: block;
  font-size: 24px;
  color: var(--primary-2);
}

.card-stack {
  display: grid;
  gap: 14px;
}

.mini-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.06);
}

.mini-card h3 {
  margin: 0 0 6px;
}

.mini-card p {
  color: var(--muted);
  margin: 0;
}

.section {
  padding: 70px 5vw;
  position: relative;
  z-index: 1;
}

.section.alt {
  background: #fff;
}

.section-head {
  text-align: center;
  margin-bottom: 34px;
}

.grid {
  display: grid;
  gap: 18px;
}

.service-grid {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px 20px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.5s ease;
}

.card:hover::before {
  left: 100%;
}

.card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 60px rgba(13, 95, 171, 0.2);
  border-color: rgba(13, 95, 171, 0.3);
}

.icon {
  font-size: 28px;
}

.feature-row {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.pill-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(13, 95, 171, 0.12);
  color: var(--primary-2);
  font-weight: 700;
  font-size: 13px;
}

.cta {
  margin: 60px 5vw;
  border-radius: 20px;
  padding: 28px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: linear-gradient(135deg, var(--primary), var(--blue));
  color: #fff;
  box-shadow: 0 20px 60px rgba(13, 95, 171, 0.4);
  position: relative;
  overflow: hidden;
  z-index: 1;
  animation: ctaPulse 3s ease-in-out infinite;
}

.cta::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  animation: ctaRotate 8s linear infinite;
}

@keyframes ctaPulse {
  0%, 100% {
    box-shadow: 0 20px 60px rgba(13, 95, 171, 0.4);
  }
  50% {
    box-shadow: 0 25px 80px rgba(13, 95, 171, 0.6);
  }
}

@keyframes ctaRotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.cta .btn.ghost {
  border-color: #fff;
  color: #fff;
}

.form {
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  gap: 6px;
  font-weight: 700;
  color: var(--text);
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
  color: var(--text);
  background: #fff;
}

textarea {
  resize: vertical;
}

.password-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
}

.password-wrapper input {
  flex: 1;
}

.text-btn {
  background: none;
  border: none;
  color: var(--primary-2);
  font-weight: 700;
  cursor: pointer;
}

.muted {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}

.contact-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.footer {
  background: linear-gradient(135deg, var(--primary), #1a1f4a);
  color: #dbe2ff;
  padding: 30px 5vw 15px;
  margin-top: 40px;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 10% 20%, rgba(13, 95, 171, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 90% 80%, rgba(213, 35, 58, 0.2) 0%, transparent 50%);
  animation: footerFloat 15s ease-in-out infinite;
  pointer-events: none;
}

@keyframes footerFloat {
  0%, 100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(20px, -20px);
  }
}

.footer-top {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  margin-bottom: 20px;
}

.footer-top > div {
  position: relative;
  z-index: 2;
}

.footer-logo {
  width: 200px;
}

.footer h4 {
  color: #fff;
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.5px;
  position: relative;
  padding-bottom: 8px;
}

.footer h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  border-radius: 2px;
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 6px;
}

.footer ul li {
  position: relative;
  padding-left: 0;
  transition: transform 0.3s ease;
}

.footer ul li:hover {
  transform: translateX(5px);
}

.footer a {
  color: #dbe2ff;
  text-decoration: none;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  position: relative;
  padding: 4px 0;
}

/* Exclude contact links from arrow animation */
.footer a:not(.contact-link):not(.social-icon)::before {
  content: '»';
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
  color: #667eea;
  font-weight: bold;
  margin-right: 0;
}

.footer a:not(.contact-link):not(.social-icon):hover {
  color: #fff;
  transform: translateX(5px);
}

.footer a:not(.contact-link):not(.social-icon):hover::before {
  opacity: 1;
  transform: translateX(0);
}

.footer-top > div:first-child p {
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  margin-top: 10px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
}

.social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-weight: 700;
  margin-left: 8px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social a:hover {
  background: linear-gradient(135deg, #667eea, #764ba2);
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

/* Contact Items Styling */
.footer .contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
}

.footer .contact-icon {
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}

.footer .contact-content {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
}

.footer .contact-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer .contact-value {
  color: #dbe2ff;
  font-size: 14px;
  line-height: 1.6;
  text-decoration: none;
}

.footer .contact-link {
  color: #dbe2ff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer .contact-link:hover {
  color: #fff;
}

/* Social Icons in Footer */
.footer .social-icons {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.footer .social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  font-size: 16px;
  transition: all 0.3s ease;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.footer .social-icon.google {
  background: linear-gradient(135deg, #4285F4, #34A853);
}

.footer .social-icon.facebook {
  background: linear-gradient(135deg, #1877F2, #42A5F5);
}

.footer .social-icon.youtube {
  background: linear-gradient(135deg, #FF0000, #FF6B6B);
}

.footer .social-icon.linkedin {
  background: linear-gradient(135deg, #0077B5, #00A0DC);
}

.footer .social-icon.twitter {
  background: linear-gradient(135deg, #1DA1F2, #0D8BD9);
}

.footer .social-icon:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  filter: brightness(1.1);
}

.page-hero {
  padding: 120px 0 60px;
  background: linear-gradient(135deg, rgba(10, 45, 115, 0.15), rgba(213, 35, 58, 0.1));
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 20% 30%, rgba(102, 126, 234, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(240, 147, 251, 0.15) 0%, transparent 50%);
  animation: pageHeroFloat 20s ease-in-out infinite;
  z-index: 0;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 120% at 80% 20%, rgba(13, 95, 171, 0.2), transparent);
  z-index: 0;
}

@keyframes pageHeroFloat {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(30px, -30px) scale(1.1);
  }
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  font-size: clamp(32px, 5vw, 44px);
}

.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-2);
  font-weight: 700;
}

.banner-large {
  width: min(1200px, 90vw);
  margin: 24px auto 0;
  background: #fff;
  border-radius: 24px;
  padding: 20px;
  box-shadow: var(--shadow);
}

.steps {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.steps .card {
  position: relative;
}

.steps .card::after {
  content: attr(data-step);
  position: absolute;
  top: 14px;
  right: 14px;
  font-weight: 800;
  color: rgba(13, 95, 171, 0.2);
  font-size: 22px;
}

/* Additional animated background elements and enhancements */
main {
  position: relative;
  z-index: 1;
}

/* Enhanced input focus effects */
input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(13, 95, 171, 0.1);
  transition: all 0.3s ease;
}

/* Smooth scroll behavior */
html {
  scroll-behavior: smooth;
}

/* Enhanced mini-card animations */
.mini-card {
  transition: all 0.3s ease;
}

.mini-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Animated stats */
.hero-stats div {
  transition: all 0.3s ease;
}

.hero-stats div:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/* Enhanced pill animations */
.pill {
  transition: all 0.3s ease;
}

.pill:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(13, 95, 171, 0.2);
}

/* Service card specific styles */
.service-card {
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(13, 95, 171, 0.1), transparent);
  transition: left 0.5s ease;
}

.service-card:hover::before {
  left: 100%;
}

.service-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 60px rgba(13, 95, 171, 0.25);
  border-color: rgba(13, 95, 171, 0.4);
}

.service-card .icon {
  transition: transform 0.4s ease;
}

.service-card:hover .icon {
  transform: scale(1.2) rotate(5deg);
}

/* Enhanced social links */
.social a {
  transition: all 0.3s ease;
}

.social a:hover {
  transform: translateY(-3px) scale(1.1);
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

/* Enhanced control buttons */
.control {
  transition: all 0.3s ease;
}

.control:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

/* Enhanced navigation links */
.nav a {
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav a:hover::after,
.nav a.active::after {
  width: 80%;
}

@media (max-width: 960px) {
  .nav {
    position: fixed;
    inset: 70px 16px auto 16px;
    flex-direction: column;
    background: #fff;
    padding: 14px;
    border-radius: 14px;
    box-shadow: var(--shadow);
    transform: translateY(-130%);
    transition: transform 0.25s ease;
  }

  .nav.open {
    transform: translateY(0);
  }

  .menu-toggle {
    display: inline-flex;
  }

  .topbar {
    padding: 12px 16px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
  }

  .slide {
    min-height: 420px;
    padding: 50px 30px;
  }

  .cta {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 600px) {
  .brand-name {
    font-size: 16px;
  }

  .hero {
    padding-top: 80px;
  }

  .slide h1 {
    font-size: 30px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Professional Login & Signup Pages */
.login-main {
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  position: relative;
  z-index: 1;
}

.login-container {
  width: 100%;
  max-width: 450px;
  margin: 0 auto;
}

.login-card {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(255, 255, 255, 0.5);
  animation: slideUp 0.5s ease-out;
  position: relative;
  overflow: hidden;
}

.login-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #667eea, #764ba2, #f093fb, #4facfe);
  background-size: 200% 100%;
  animation: gradientShift 3s ease infinite;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.login-header {
  text-align: center;
  margin-bottom: 32px;
}

.login-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.logo-m-small {
  font-size: 48px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #667eea, #764ba2);
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(102, 126, 234, 0.4);
  animation: logoFloat 3s ease-in-out infinite;
}

@keyframes logoFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.login-header h1 {
  font-size: 28px;
  font-weight: 700;
  color: var(--text);
  margin: 0;
}

.login-subtitle {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
  margin: 0;
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 16px;
  font-size: 18px;
  z-index: 1;
  pointer-events: none;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="password"] {
  width: 100%;
  padding: 14px 16px 14px 48px;
  border: 2px solid var(--border);
  border-radius: 12px;
  font-size: 15px;
  font-family: inherit;
  background: #fff;
  color: var(--text);
  transition: all 0.3s ease;
}

.form-group input:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
  transform: translateY(-1px);
}

.toggle-pass-btn {
  position: absolute;
  right: 16px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  z-index: 1;
  transition: transform 0.2s ease;
}

.toggle-pass-btn:hover {
  transform: scale(1.1);
}

.eye-icon {
  font-size: 18px;
  opacity: 0.6;
}

.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
}

.remember-me {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-weight: 500;
  color: var(--text);
}

.remember-me input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: #667eea;
}

.forgot-password {
  color: #667eea;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.forgot-password:hover {
  color: #764ba2;
}

.login-btn {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
  position: relative;
  overflow: hidden;
}

.login-btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.login-btn:hover::before {
  width: 300px;
  height: 300px;
}

.login-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.5);
}

.login-btn:active {
  transform: translateY(0);
}

.btn-arrow {
  font-size: 20px;
  transition: transform 0.3s ease;
}

.login-btn:hover .btn-arrow {
  transform: translateX(4px);
}

.divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 8px 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.divider::before,
.divider::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid var(--border);
}

.divider span {
  padding: 0 16px;
}

.otp-btn {
  width: 100%;
  padding: 14px;
  background: #fff;
  color: #667eea;
  border: 2px solid #667eea;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.otp-btn:hover {
  background: #667eea;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.signup-link {
  text-align: center;
  margin-top: 8px;
  font-size: 14px;
  color: var(--muted);
}

.signup-link a {
  color: #667eea;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s ease;
}

.signup-link a:hover {
  color: #764ba2;
  text-decoration: underline;
}

.password-match {
  font-size: 12px;
  margin-top: 4px;
  font-weight: 500;
}

.password-match.match {
  color: #22c55e;
}

.password-match.no-match {
  color: #ef4444;
}

.remember-me a {
  color: #667eea;
  text-decoration: none;
  font-weight: 600;
}

.remember-me a:hover {
  text-decoration: underline;
}

@media (max-width: 600px) {
  .login-card {
    padding: 30px 20px;
    border-radius: 20px;
  }

  .login-header h1 {
    font-size: 24px;
  }

  .logo-m-small {
    width: 60px;
    height: 60px;
    font-size: 40px;
  }

  .form-options {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

