@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&family=Outfit:wght@500;700&display=swap');

:root {
  /* Dynamic Modern Palette */
  --primary: #6B46C1; /* Deep Purple */
  --primary-hover: #553C9A;
  --secondary: #EC4899; /* Bright Pink */
  
  --bg-color: #ffffff;
  --text-color: #1f2937;
  --card-bg: rgba(255, 255, 255, 0.85);
  --border-color: rgba(0, 0, 0, 0.1);
  --heading-color: #111827;
  --glass-bg: rgba(255, 255, 255, 0.6);
  --glass-border: rgba(255, 255, 255, 0.3);
  
  --transition-smooth: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  --shadow-soft: 0 10px 40px -10px rgba(0,0,0,0.08);
  --shadow-hover: 0 20px 50px -10px rgba(107, 70, 193, 0.2);
}

/* Global Setup */
body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  transition: background-color 0.4s ease, color 0.4s ease;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6,
.brand-logo {
  font-family: 'Outfit', sans-serif;
  color: var(--heading-color);
  font-weight: 700;
  margin-bottom: 1rem;
}

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

a:hover {
  color: var(--secondary);
}

/* Button & UI Utilities */
.btn-gradient {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
  border: none;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(107, 70, 193, 0.3);
  transition: var(--transition-smooth);
  display: inline-block;
}

.btn-gradient:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(236, 72, 153, 0.4);
  color: white;
}

/* Navbar / Sticky Glassmorphism */
header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  transition: var(--transition-smooth);
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.5rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-link {
  color: #4b5563 !important; /* Gray-600 */
  font-weight: 500;
  margin: 0 10px;
  transition: var(--transition-smooth);
}

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

/* Theme Toggle Button */
#theme-toggle {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-color);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

#theme-toggle:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  transform: rotate(15deg);
}

/* Hero Section */
.hero {
  padding: 180px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -10%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(107, 70, 193, 0.3) 0%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
  z-index: -1;
  filter: blur(60px);
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -10%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.2) 0%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
  z-index: -1;
  filter: blur(60px);
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.2;
}

/* Cards & Services */
.service-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 40px;
  text-align: center;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-soft);
  height: 100%;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary);
}

.service-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, rgba(107, 70, 193, 0.1), rgba(236, 72, 153, 0.1));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 2rem;
  color: var(--primary);
  transition: var(--transition-smooth);
}

.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
}

/* Stats Counter */
.stats-section {
  background: #f8f9fa;
  padding: 80px 0;
  color: #111827;
  position: relative;
  z-index: 1;
}

.counter-box h3 {
  font-size: 3rem;
  color: #111827;
  margin-bottom: 5px;
}

.counter-box p {
  opacity: 0.9;
  font-size: 1.1rem;
}

/* Vibrant Services Section Styling (Monochrome) */
.services-banner {
  min-height: 500px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.glow-shape {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}

.glow-tr {
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.08);
  filter: blur(120px);
}

.glow-bl {
  bottom: -50px;
  left: -50px;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.04);
  filter: blur(100px);
}

.btn-white-pill {
  background-color: white;
  color: #000000;
  font-weight: 700;
  padding: 0.6rem 1.8rem;
  border-radius: 50rem;
  text-decoration: none;
  width: fit-content;
  transition: all 0.3s ease;
  border: none;
  display: inline-block;
}

.btn-white-pill:hover {
  background-color: #f8f9fa;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  color: #000000;
}

/* Pricing Card Styling (Monochrome) */
.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06) !important;
  border-color: rgba(0, 0, 0, 0.15) !important;
}

.btn-black-pill {
  background-color: #000000;
  color: #ffffff !important;
  font-weight: 600;
  padding: 0.7rem 1.8rem;
  border-radius: 50rem;
  text-decoration: none;
  width: fit-content;
  transition: all 0.3s ease;
  border: none;
  display: inline-block;
}

.btn-black-pill:hover {
  background-color: #27272a;
  color: #ffffff !important;
}

/* Advantage Card (About Page) */
.advantage-card:hover {
  background-color: #f8f9fa !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* Meet the Team Styling (Monochrome) */
.team-card {
  transition: transform 0.3s ease;
}

.team-card:hover {
  transform: translateY(-5px);
}

.team-card img {
  transition: filter 0.5s ease;
}

.team-card:hover img {
  filter: grayscale(0%);
}

.hover-opacity-100:hover {
  opacity: 1 !important;
}

.transition-opacity {
  transition: opacity 0.3s ease;
}

/* AI-Enhanced SEO Styling (Monochrome) */
.ai-read-more {
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
}

.ai-read-more:hover {
  opacity: 0.7;
  transform: translateX(5px);
}

@media (min-width: 992px) {
  .border-start-lg {
    border-left: 1px solid #333333;
  }
}

.ai-seo-card {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* News / Blog Preview */
.news-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 15px;
  overflow: hidden;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-soft);
  margin-bottom: 30px;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.news-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.news-content {
  padding: 25px;
}

.news-date {
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 10px;
  display: inline-block;
}

/* Blog Cards (New Feature) */
.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12) !important;
  border-color: rgba(0, 0, 0, 0.1) !important;
}

.blog-card img {
  transform: scale(1);
  transition: transform 0.5s ease;
}

.blog-card:hover img {
  transform: scale(1.05);
}

/* Why Choose Us Hover */
.transition-transform {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.transition-transform:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
}

/* FAQ Accordion Styling */
.faq-icon-wrapper {
  width: 20px;
  height: 20px;
  position: relative;
  flex-shrink: 0;
}

.faq-icon-wrapper .h-line,
.faq-icon-wrapper .v-line {
  position: absolute;
  background-color: var(--primary);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.faq-icon-wrapper .h-line {
  top: 9px;
  left: 0;
  width: 20px;
  height: 2px;
}

.faq-icon-wrapper .v-line {
  top: 0;
  left: 9px;
  width: 2px;
  height: 20px;
}

/* When opened (Bootstrap removes the .collapsed class) */
.faq-toggle:not(.collapsed) .faq-icon-wrapper .v-line {
  transform: rotate(90deg);
  opacity: 0;
}

.faq-toggle:not(.collapsed) .faq-icon-wrapper .h-line {
  transform: rotate(180deg);
}

/* Modern CTA Banner Styling */
.cta-banner {
  background-color: #09090b !important;
  min-height: 450px;
}

.cta-glow {
  position: absolute;
  top: 0;
  right: 0;
  width: 400px;
  height: 400px;
  background: rgba(161, 161, 170, 0.15);
  filter: blur(100px);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}

.cta-text-column {
  position: relative;
  z-index: 2;
}

.cta-mockup-tilt {
  transform: translate(50px, 60px) rotate(-12deg) scale(1.1);
  transform-origin: center;
  transition: transform 0.5s ease;
  z-index: 2;
  position: relative;
}

.mockup-window {
  width: 500px;
  border-color: rgba(0, 0, 0, 0.08) !important;
}

.hover-lift {
  transition: all 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-2px);
}

/* Footer Element */
.site-footer {
  background: #0B0F19;
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.site-footer h5 {
  color: white;
  margin-bottom: 20px;
  font-weight: 600;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.7);
}

.site-footer a:hover {
  color: var(--secondary);
}

/* Utility Animations */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Loading overlay for AJAX */
.loader-overlay {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 50px 0;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 4px solid var(--border-color);
  border-left-color: var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}

/* Forms */
.form-control {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  color: var(--text-color);
  padding: 15px;
  border-radius: 10px;
}

.form-control:focus {
  background: var(--card-bg);
  color: var(--text-color);
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(107, 70, 193, 0.2);
}

/* Marquee Testimonials */
.marquee-wrapper {
  position: relative;
  overflow: hidden;
  padding: 2rem 0;
}

.marquee-edge {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 15%;
  z-index: 10;
  pointer-events: none;
}

.marquee-edge-left {
  left: 0;
  background: linear-gradient(to right, var(--bg-color), transparent);
}

.marquee-edge-right {
  right: 0;
  background: linear-gradient(to left, var(--bg-color), transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.marquee-track:last-child {
  margin-bottom: 0;
}

.marquee-left {
  animation: marquee-left-anim 40s linear infinite;
}

.marquee-right {
  animation: marquee-right-anim 40s linear infinite;
}

@keyframes marquee-left-anim {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-50% - 0.75rem));
  }
}

@keyframes marquee-right-anim {
  0% {
    transform: translateX(calc(-50% - 0.75rem));
  }

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

.testimonial-card-v2 {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 0.75rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  width: 320px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
}

.testimonial-card-v2 .card-header-v2 {
  padding: 1.2rem 1.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-card-v2 .card-header-v2 img {
  width: 44px;
  height: 44px;
  border-radius: 0.5rem;
  object-fit: cover;
  background: #f3f4f6;
}

.testimonial-card-v2 .card-header-v2 h6 {
  color: #111827 !important;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  margin-bottom: 2px !important;
}

.testimonial-card-v2 .card-header-v2 small {
  color: #6b7280;
  font-size: 0.8rem;
}

.testimonial-card-v2 .t-body {
  padding: 1.5rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #4b5563;
  font-weight: 400;
}