/* Custom CSS for Manil Pathways Website */

/* Font Family */
* {
  font-family: "Roboto", sans-serif;
  transition: all 0.3s ease;
}

/* Custom Colors - Light Blue Theme */
:root {
  --primary-color: #077dc1;
  --secondary-color: #077dc1;
  --accent-color: #077dc1;
  --success-color: #10b981;
  --dark-color: #1f2937;
  --light-color: #f8fafc;
  --light-blue: #dbeafe;
  --very-light-blue: #eff6ff;
}

/* Override Bootstrap Primary Color */
.bg-primary {
  background-color: #077dc1 !important;
}

.btn-primary {
  background-color: #077dc1;
  border-color: #077dc1;
}

.btn-primary:hover {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
}

.text-primary {
  color: var(--primary-color) !important;
}

/* ...existing code... */

.btn-primary,
.btn-outline-primary {
  background-color: #077dc1;
  border-color: #077dc1;
  color: #fff;
}

.btn-primary:hover,
.btn-outline-primary:hover,
.btn-outline-primary:focus {
  background-color: #055a8c;
  border-color: #055a8c;
  color: #fff;
}

.btn-outline-primary {
  background-color: transparent;
  color: #077dc1;
  border-color: #077dc1;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
  background-color: #077dc1;
  color: #fff;
  border-color: #077dc1;
}
/* Hero Section with gradient animation */
.hero-section {
  background-image:  url('../assets/bus3.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #f8fafc;
  position: relative;
  min-height: 100vh; /* Ensure full viewport height */
  padding-top: 0;    /* Remove extra padding */
  overflow: hidden;
}

.hero-overlay {
  background: rgba(20, 30, 48, 0.7); /* dark overlay */
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.hero-section > .hero-overlay > .container {
  position: relative;
  z-index: 2;
  padding-top: 0;
  padding-bottom: 0;
}

/* Feature icon animations */
.feature-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

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

/* Service Cards */
.service-card,
.card {
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.service-card:hover,
.card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 40px rgba(59, 130, 246, 0.15) !important;
}

.service-card img {
  height: 250px;
  object-fit: cover;
}

/* Navigation */
/* Navigation */
.navbar {
  backdrop-filter: blur(10px);
  background: rgba(239, 245, 255, 0.95) !important;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: #077dc1 !important;
  box-shadow: 0 2px 20px rgba(59, 130, 246, 0.3);
}

.navbar-brand {
  font-size: 1.5rem;
}

/* Navbar link colors and states */
.navbar-nav .nav-link {
  color: #077dc1 !important;          
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  border-radius: 6px;
  transition: color 0.3s, background 0.3s;
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link:focus,
.navbar-nav .nav-link.show {
  color: #077dc1 !important;          
       
}


/* Cards */

/* Buttons */
.btn {
  font-weight: 500;
  border-radius: 8px;
  padding: 0.75rem 1.5rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.btn:hover::before {
  left: 100%;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

.btn-warning {
  background-color: #077dc1;
  border-color: #077dc1;
  color: #ffffff;
}

.btn-warning:hover {
  background-color: #077dc1;
  border-color: #077dc1;
  color: #ffffff;
}

/* Pulse animation for CTA buttons */
.btn-pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(59, 130, 246, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(59, 130, 246, 0);
  }
}

/* Social Links */
.social-links a {
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: var(--accent-color) !important;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-section {
    padding-top: 60px;
  }

  .display-4 {
    font-size: 2.5rem;
  }

  .display-5 {
    font-size: 2rem;
  }

  .hero-section .row {
    text-align: center;
  }

  .hero-section .col-lg-6:first-child {
    margin-bottom: 2rem;
  }
}

/* Form Styles */
.form-control {
  border-radius: 8px;
  border: 2px solid #e5e7eb;
  padding: 0.75rem 1rem;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.25);
}

/* Testimonial Stars */
.text-warning {
  color: var(--accent-color) !important;
}

/* Page Sections */
section {
  scroll-margin-top: 80px;
}

/* Loading Animation */
.fade-in {
  animation: fadeIn 0.6s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Custom Spacing */
.py-6 {
  padding-top: 4rem !important;
  padding-bottom: 4rem !important;
}

/* Footer */
footer {
  background-color: var(--dark-color) !important;
}

footer a:hover {
  color: var(--accent-color) !important;
}

/* Dropdown Menu */
.dropdown-menu {
  border: none;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  border-radius: 8px;
}

.dropdown-item:hover {
  background-color: var(--light-color);
  color: var(--primary-color);
}

/* Scroll animations */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

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

.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0.6s ease;
}

.fade-in-left.animate {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: all 0.6s ease;
}

.fade-in-right.animate {
  opacity: 1;
  transform: translateX(0);
}

/* Light background sections */
.bg-light {
  background-color: var(--very-light-blue) !important;
}

/* Modern card styling */
.modern-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(59, 130, 246, 0.1);
  border-radius: 15px;
}

/* Loading spinner */
.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid var(--light-blue);
  border-top: 4px solid var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

/* Floating elements */
.float {
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
  100% {
    transform: translateY(0px);
  }
}

/* Stagger animation for lists */
.stagger-item {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
}

.stagger-item.animate {
  opacity: 1;
  transform: translateY(0);
}

.stagger-item:nth-child(1) {
  transition-delay: 0.1s;
}
.stagger-item:nth-child(2) {
  transition-delay: 0.2s;
}
.stagger-item:nth-child(3) {
  transition-delay: 0.3s;
}
.stagger-item:nth-child(4) {
  transition-delay: 0.4s;
}
.stagger-item:nth-child(5) {
  transition-delay: 0.5s;
}
.stagger-item:nth-child(6) {
  transition-delay: 0.6s;
}

/* get in touch */
.custom-btn {
  border: 1px solid var(--btn-color);
  color: var(--btn-color);
  transition: all 0.3s ease;
  background-color: transparent;
}

.custom-btn:hover {
  background-color: var(--btn-color);
  color: #fff;
}

.hover-shadow:hover {
  transform: translateY(-5px);
  box-shadow: 0 1rem 1.5rem rgba(0, 0, 0, 0.08);
}

.transition {
  transition: all 0.3s ease-in-out;
}
