/* Header Styles */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 1) !important;
  
}

.navbar.scrolled {
  padding: var(--space-sm) 0;
}

.navbar-brand img {
  height: 40px;
  transition: var(--transition);
}



.nav-link {
  font-weight: 500;
  color: var(--dark);
  padding: var(--space-sm) 0;
  position: relative;
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--primary);
}


.footer {
  background-color: var(--light-white); /* #0f172a */
 
}

/* Base button */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  padding: 0.625rem 1.5rem;
  border-radius: var(--radius);
  transition: var(--transition);
  border: 2px solid var(--primary); /* <-- changed from transparent */
  cursor: pointer;
}

/* Primary button */
.btn-primary {
  background: var(--primary);
  color: white;
  border-color: var(--primary);  /* ensure border matches background */
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: var(--primary-dark); /* optionally darken border on hover */
}

/* Outline button */
.btn-outline {
  background: transparent;
  border-color: var(--primary);
  color: var(--primary);
}

.btn-outline-light {
  background: transparent;
  border: 2px solid white;  /* white border */
  color: white;             /* white text */
}

.btn-outline-light:hover {
  background: white;        /* white background on hover */
  color: var(--primary-dark); /* dark text on hover for contrast */
}


.btn-outline:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary-dark); /* optionally darken border on hover */
}

/* Cards */
.card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid var(--light-gray);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-body {
  padding: var(--space-md);
}

.card-title {
  font-size: 1.25rem;
  margin-bottom: var(--space-xs);
}

/* Forms */
.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

/* Testimonials */
.testimonial-icon {
  width: 50px;
  height: 50px;
  background-color: var(--primary-light);
  color: var(--primary-dark);
  font-size: 1.5rem; /* adjust as needed */
}


.testimonial-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow);
}

.testimonial-text {
  font-style: italic;
  margin-bottom: var(--space-md);
  position: relative;
}

.testimonial-text::before {
  content: '"';
  font-size: 3rem;
  color: var(--primary-light);
  opacity: 0.3;
  position: absolute;
  left: -10px;
  top: -20px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate {
  animation: fadeIn 0.6s ease forwards;
}
