/* Custom styles to complement Bootstrap */

:root {
  --bs-primary: #4f46e5;  /* Match the indigo-600 from Tailwind */
  --bs-primary-rgb: 79, 70, 229;
  --bs-primary-hover: #4338ca;  /* Match indigo-700 for hover states */
}

/* General styles */
body {
    font-family: 'Inter';
   
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  color: #111827;  /* text-gray-900 */
}

/* Override Bootstrap primary */
.btn-primary {
  background-color: var(--bs-primary);
  border-color: var(--bs-primary);
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--bs-primary-hover);
  border-color: var(--bs-primary-hover);
}

.btn-outline-primary {
  color: var(--bs-primary);
  border-color: var(--bs-primary);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
  background-color: var(--bs-primary);
  border-color: var(--bs-primary);
}

.text-primary {
  color: var(--bs-primary) !important;
}

.bg-primary {
  background-color: var(--bs-primary) !important;
}
.fw-bold{
    font-weight: 900 !important;;
}

.border-primary {
  border-color: var(--bs-primary) !important;
}

/* Add smooth scrolling for anchor links */
html {
  scroll-behavior: smooth;
}

/* Text colors to match Tailwind */
.text-secondary {
  color: #6b7280 !important;  /* text-gray-500 */
}

.text-white-50 {
  opacity: 0.7;
  transition: opacity 0.2s;
}

.hover-white:hover {
  opacity: 1;
}

/* Hero section styles */
#hero {
  padding: 80px 0;
  overflow: hidden;
  position: relative;
}

.hero-image-container {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  overflow: hidden;
  display: none;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 992px) {
  .hero-image-container {
    display: block;
  }
  
  #hero .container {
    position: relative;
    z-index: 1;
  }
  
  #hero::after {
    content: '';
    position: absolute;
    top: 0;
    right: 48%;
    height: 100%;
    width: 100px;
    background-color: white;
    transform: skewX(-12deg);
    transform-origin: top right;
  }
}

/* Feature icon styling */
.feature-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-icon i {
  font-size: 1.25rem;
}

/* Custom styling for cards */
.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 8px;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Pricing card styles */
.pricing-value {
  margin-bottom: 1rem;
}

.card.border-primary {
  box-shadow: 0 5px 15px rgba(var(--bs-primary-rgb), 0.2);
}

/* Custom buttons */
.btn {
  border-radius: 6px;
  padding: 0.5rem 1.25rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.btn-lg {
  padding: 0.75rem 1.5rem;
}

/* Navbar styles */
.navbar {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.navbar-nav .nav-link {
  position: relative;
  padding-bottom: 0.5rem;
  margin-right: 1rem;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background-color: var(--bs-primary);
  transition: width 0.3s;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  width: 80%;
}

/* Testimonial styles */
.rounded-circle {
  object-fit: cover;
}

/* Footer styles */
footer a {
  text-decoration: none;
  transition: color 0.3s ease;
}

footer a:hover {
  color: #fff !important;
}

/* Animation classes */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animate {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered animations */
.animate-on-scroll:nth-child(1) { transition-delay: 0.1s; }
.animate-on-scroll:nth-child(2) { transition-delay: 0.2s; }
.animate-on-scroll:nth-child(3) { transition-delay: 0.3s; }
.animate-on-scroll:nth-child(4) { transition-delay: 0.4s; }
.animate-on-scroll:nth-child(5) { transition-delay: 0.5s; }
.animate-on-scroll:nth-child(6) { transition-delay: 0.6s; }

/* Responsive adjustments */
@media (max-width: 991.98px) {
  #hero {
    text-align: center;
    padding: 40px 0;
  }
  
  .navbar-toggler {
    border: none;
    padding: 0.5rem;
  }
  
  .navbar-toggler:focus {
    box-shadow: none;
  }
}

@media (max-width: 767.98px) {
  .display-4 {
    font-size: 2.5rem;
  }
  
  .display-5 {
    font-size: 2rem;
  }
  
  .display-6 {
    font-size: 1.75rem;
  }
}