* {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
      font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        scroll-behavior: smooth;
        transition: all 0.3s ease;
    }
body {
      font-family: 'Inter', sans-serif;
      background: #f7f7f7;
      color: #111;
    }

    .hero-section {
      padding: 60px 0;
      background: linear-gradient(135deg, #e0ded2 0%, #ffe6e6 100%);
    }

    .hero-img {
      max-width: 100%;
      border-radius: 10px;
    }

    header {
      position: sticky;
      top: 0;
      z-index: 1000;
      background: rgba(255, 255, 255, 0.6); /* more transparent */
      box-shadow: 0 1px 6px rgba(0, 0, 0, 0.08);
      backdrop-filter: blur(8px); /* stronger blur for glass effect */
      transition: background 0.3s;
    }
   
    .post-card {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  cursor: pointer;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 420px; /* taller card */
}

.post-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  background-color: #f8f9fa;
}

.post-card img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 15px;
  height: 180px;
  object-fit: cover;
}

.post-card h5 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.post-card p {
  font-size: 0.95rem;
  color: #555;
}


/* Navbar Hover Effect */
.nav-link {
  transition: color 0.3s ease;
}
.nav-link:hover {
  color: #762dab !important; /* Bootstrap primary blue */
}
  .navbar-toggler {
    border-color: #222 !important;
  }
  .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(34,34,34,1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
  }
/* Scroll Animation */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}



header .nav .nav-link:hover {
      color: #e81616;
      
    }
    .post-card {
      background: #fff;
      padding: 15px;
      border-radius: 10px;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    }

    .fade-in {
      opacity: 0;
      transform: translateY(30px);
      transition: opacity 0.7s ease, transform 0.7s ease;
    }

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

    #backToTop {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  background: rgba(13, 110, 253, 0.85);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 2rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1200;
  transition: background 0.3s, transform 0.2s;
}
#backToTop:hover {
  background: #0d6efd;
  transform: translateY(-4px) scale(1.08);
}


#Contact .card {
  background-color: #fff;
  transition: 0.3s ease-in-out;
}

#Contact .card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.bg-light-yellow {
  background-color: #fffbe6 !important;
  transition: box-shadow 0.2s;
}
.bg-light-yellow:focus {
  box-shadow: 0 0 0 0.2rem #ffe066;
}

/* 1st and 3rd page background */
.bg-page2 {
  background: linear-gradient(135deg, #dfd7d7 0%, #e3e9ff 100%);
  animation: gradientFadeIn 1.2s ease;
}

/* Add this to your style.css file */
.loader-spinner {
  width: 48px;
  height: 48px;
  border: 5px solid #e3e9ff;
  border-top: 5px solid #2563eb;
  border-radius: 50%;
  animation: loaderSpin 1s linear infinite;
}


/* Custom scrollbar styles */
  ::-webkit-scrollbar {
    width: 10px;
    background: #f3f6fd;
  }
  ::-webkit-scrollbar-thumb {
    background: #c7d2fe;
    border-radius: 8px;
    transition: background 0.3s;
  }
  ::-webkit-scrollbar-thumb:hover {
    background: #2563eb;
  }
  /* Breadcrumb styles */
  .custom-breadcrumb {
    background: transparent;
    padding: 1rem 0 0.5rem 0;
    font-size: 1.05rem;
  }
  .custom-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    content: ">";
    color: #2563eb;
    font-weight: bold;
    padding: 0 6px;
  }
  .custom-breadcrumb .breadcrumb-item a {
    color: #2563eb;
    text-decoration: none;
    transition: color 0.2s;
  }
  .custom-breadcrumb .breadcrumb-item a:hover {
    text-decoration: underline;
    color: #1741a6;
  }
  .custom-breadcrumb .breadcrumb-item.active {
    color: #6c757d;
    font-weight: 600;
  }
@keyframes loaderSpin {
  0% { transform: rotate(0deg);}
  100% { transform: rotate(360deg);}
}
/* 2nd and 4th page background */
.bg-page1 {
  background: linear-gradient(135deg, #e0ded2 0%, #ffe6e6 100%);
  animation: gradientFadeIn 1.2s ease;
}

/* Smooth gradient fade-in animation */
@keyframes gradientFadeIn {
  0% {
    opacity: 0;
    filter: blur(12px);
    transform: scale(1.03);
  }
  80% {
    opacity: 1;
    filter: blur(0.5px);
    transform: scale(1);
  }
  100% {
    opacity: 1;
    filter: blur(0);
    transform: scale(1);
  }
}

/* Section fade-in on scroll */
.section-fade {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(.4,0,.2,1), transform 0.8s cubic-bezier(.4,0,.2,1);
}
.section-fade.visible {
  opacity: 1;
  transform: translateY(0);
}

#contact .form-control {
  border-radius: 0.5rem;
  box-shadow: none;
  transition: 0.3s ease;
}
#contact .form-control:focus {
  border-color: #0d6efd;
  box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}
#contact button {
  border-radius: 0.5rem;
}
#contact i {
  min-width: 30px;
}
#contact .form-control::placeholder {
  color: #6c757d;
  opacity: 1; /* Ensure full opacity for placeholder */
}
.social-link:hover {
    color: #0d6efd !important; /* Bootstrap primary blue */
    transition: color 0.3s;
  }

.hover-black:hover {
    background-color: #000 !important;
    color: #fff !important;
    transition: background-color 0.3s, color 0.3s;
}

html {
  scroll-padding-top: 80px; /* Adjust to your header height */
}

section {
  padding-top: 60px;
  padding-bottom: 60px;
}

.navbar.bg-transparent {
  background: transparent !important;
  box-shadow: none !important;
}
