:root {
  --primary: #4F8EF7;
  --secondary: #34C38F;
  --accent: #EEF6FF;
  --bg-color: #FFFFFF;
  --section-bg: #F8FBFF;
  --text-main: #0F172A;
  --text-p: #64748B;
  --gradient-1: linear-gradient(135deg, #4F8EF7 0%, #00d2ff 100%);
  --gradient-2: linear-gradient(135deg, #34C38F 0%, #4F8EF7 100%);
  --gradient-subtle: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(79,142,247,0.03) 100%);
  
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(255, 255, 255, 0.4);
  
  --shadow-sm: 0 4px 12px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 10px 24px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 24px 48px rgba(79, 142, 247, 0.08);
  --shadow-hover: 0 32px 64px rgba(79, 142, 247, 0.12);
  
  --radius-sm: 16px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-xl: 40px;
  
  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
  font-family: 'Manrope', sans-serif;
  color: var(--text-p);
  background-color: var(--bg-color);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(3rem, 5vw, 4.5rem); font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }

a {
  text-decoration: none;
  color: var(--primary);
  transition: var(--transition);
}

a:hover {
  color: var(--text-main);
}

/* Utilities */
.text-gradient {
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.bg-section { background-color: var(--section-bg); }
.bg-accent { background-color: var(--accent); }

.section-padding {
  padding: 120px 0;
}

@media (max-width: 768px) {
  .section-padding { padding: 80px 0; }
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  background: var(--accent);
  color: var(--primary);
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

/* Buttons */
.btn-premium {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  border-radius: 100px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 1.125rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
  border: none;
  gap: 8px;
}

.btn-primary-premium {
    background: var(--primary);
    color: white;
    box-shadow: 0 10px 24px rgba(79, 142, 247, 0.3);
    position: relative;
    padding: 12px 19px;
    border-radius: 50px;
}

.btn-primary-premium:hover {
  color: #000;
  background-color: #fff;
  box-shadow: 0 15px 32px rgba(79, 142, 247, 0.4);
}


.btn-outline-premium {
    background: transparent;
    color: var(--text-main);
    border: 2px solid rgba(15, 23, 42, 0.1);
    backdrop-filter: blur(10px);
    padding: 10px 28px;
    border-radius: 50px;
}

.btn-outline-premium:hover {
  border-color: var(--primary);
  color: white;
  background: var(--primary);
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(79, 142, 247, 0.3);
}

/* Glassmorphism */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.glass-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(79, 142, 247, 0.2);
}

/* Header */
.navbar {
  padding: 20px 0;
  transition: var(--transition);
  background: transparent;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-sm);
  padding: 15px 0;
}

.navbar-brand {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--text-main) !important;
}

.navbar-brand span {
  color: var(--primary);
}

.nav-link {
  font-weight: 500;
  color: var(--text-main) !important;
  margin: 0 12px;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
  transform: translateX(-50%);
}

.nav-link.active {
  color: var(--primary) !important;
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    background: white;
    padding: 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    margin-top: 15px;
    border: 1px solid rgba(0,0,0,0.05);
  }
  .navbar.scrolled .navbar-collapse {
    box-shadow: none;
    background: transparent;
    border: none;
    padding-top: 10px;
  }
}

/* Hero Section */
.hero-section {
  padding: 200px 0 120px;
  position: relative;
  overflow: hidden;
  background: var(--gradient-subtle);
}

.hero-blob {
  position: absolute;
  filter: blur(80px);
  z-index: -1;
  opacity: 0.6;
  animation: float 10s infinite ease-in-out alternate;
}

.hero-blob-1 {
  top: -10%; left: -5%; width: 500px; height: 500px;
  background: rgba(79, 142, 247, 0.2);
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
}

.hero-blob-2 {
  bottom: 10%; right: -5%; width: 600px; height: 600px;
  background: rgba(52, 195, 143, 0.15);
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  animation-delay: 2s;
}

.hero-image-wrapper {
  position: relative;
  z-index: 1;
}

.hero-image {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 2;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.floating-card {
  position: absolute;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.8);
  padding: 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 16px;
  animation: float 6s infinite ease-in-out;
}

.floating-card-1 {
  top: 10%;
  left: -10%;
}

.floating-card-2 {
  bottom: 15%;
  right: -10%;
  animation-delay: 1.5s;
}

.floating-icon {
  width: 48px;
  height: 48px;
  background: var(--accent);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

/* Animations */
@keyframes float {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(2deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes pulse-soft {
  0% { box-shadow: 0 0 0 0 rgba(79, 142, 247, 0.4); }
  70% { box-shadow: 0 0 0 20px rgba(79, 142, 247, 0); }
  100% { box-shadow: 0 0 0 0 rgba(79, 142, 247, 0); }
}

/* Trusted Logos */
.trusted-logos img {
  height: 32px;
  opacity: 0.5;
  filter: grayscale(100%);
  transition: var(--transition);
  margin: 0 24px;
}

.trusted-logos img:hover {
  opacity: 1;
  filter: grayscale(0%);
}

/* Services Grid */
.service-card {
  padding: 40px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-icon-wrapper {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 28px;
  transition: var(--transition);
}

.bg-primary-soft { background: rgba(79, 142, 247, 0.1); color: var(--primary); }
.bg-secondary-soft { background: rgba(52, 195, 143, 0.1); color: var(--secondary); }
.bg-warning-soft { background: rgba(245, 158, 11, 0.1); color: #F59E0B; }

.service-card:hover .service-icon-wrapper {
  transform: scale(1.1) rotate(5deg);
}

/* Timeline */
.timeline-item {
  position: relative;
  padding-left: 40px;
  margin-bottom: 40px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: -40px;
  width: 2px;
  background: var(--accent);
}

.timeline-item:last-child::before {
  display: none;
}

.timeline-dot {
  position: absolute;
  left: -7px;
  top: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 4px var(--accent);
}

/* Success Stories / Testimonials */
.testimonial-card {
  padding: 40px;
  border-radius: var(--radius-lg);
  background: white;
  box-shadow: var(--shadow-md);
  margin: 10px;
  position: relative;
  display: flex;
  flex-direction: column;
}

.quote-icon {
  position: absolute;
  top: -20px;
  right: 40px;
  font-size: 60px;
  color: var(--accent);
  opacity: 0.5;
}

.user-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid white;
  box-shadow: var(--shadow-sm);
}

/* Footer */
.footer {
  background-color: var(--text-main);
  color: white;
  padding: 100px 0 40px;
  border-top-left-radius: var(--radius-xl);
  border-top-right-radius: var(--radius-xl);
}

.footer-logo {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: white;
  text-decoration: none;
}

.footer-link {
  color: #94A3B8;
  text-decoration: none;
  transition: var(--transition);
  display: block;
  margin-bottom: 12px;
}

.footer-link:hover {
  color: white;
  transform: translateX(4px);
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  margin-right: 12px;
  transition: var(--transition);
}

.social-icon:hover {
  background: var(--primary);
  transform: translateY(-4px);
}

/* Forms */
.form-control, .form-select {
  padding: 16px 24px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: var(--bg-color);
  font-size: 1rem;
  color: var(--text-main);
  transition: var(--transition);
}

.form-control:focus, .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(79, 142, 247, 0.1);
  outline: none;
}

/* Misc Utilities */
.img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.radius-lg { border-radius: var(--radius-lg); }
.radius-md { border-radius: var(--radius-md); }
.radius-xl { border-radius: var(--radius-xl); }

.z-1 { z-index: 1; }
.z-2 { z-index: 2; }
.z-3 { z-index: 3; }

.overflow-hidden { overflow: hidden; }
.position-relative { position: relative; }

/* Swiper Modifications */
.swiper-pagination-bullet-active {
  background: var(--primary) !important;
}
.swiper-btn-prev, .swiper-btn-next {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}
.swiper-btn-prev:hover, .swiper-btn-next:hover {
  background: var(--primary) !important;
  color: white !important;
}

/* Accordion Premium */
.accordion-item {
    border: 1px solid rgba(15,23,42,0.05);
    border-radius: var(--radius-md) !important;
    margin-bottom: 16px;
    overflow: hidden;
    background: white;
    box-shadow: var(--shadow-sm);
}
.accordion-button {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-main);
    padding: 20px 24px;
    background: white;
    box-shadow: none !important;
}
.accordion-button:not(.collapsed) {
    color: var(--primary);
    background: var(--section-bg);
}
.accordion-body {
    padding: 0 24px 24px;
    color: var(--text-p);
    background: var(--section-bg);
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: var(--shadow-md);
    border: none;
}
.back-to-top.active {
    opacity: 1;
    visibility: visible;
}
.back-to-top:hover {
    background: var(--text-main);
    color: white;
    transform: translateY(-5px);
}

/* Responsive Overrides */
@media (max-width: 767.98px) {
  .footer { text-align: center; }
  .footer .d-flex { justify-content: center; margin-bottom: 24px; }
  .footer .row.pt-4.border-top { flex-direction: column; }
  .footer .text-md-end { text-align: center !important; }
  .footer-link { display: inline-block; margin: 0 8px 12px; }
  .hero-section { padding-top: 140px; text-align: center; }
  .hero-image-wrapper { margin-top: 40px; }
  .floating-card-1 { top: 0; left: 0; }
  .floating-card-2 { bottom: -20px; right: 0; }
}




@media (max-width: 767px) {
  [data-aos] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }

  [data-aos].aos-animate {
    opacity: 1 !important;
    transform: none !important;
  }
}