/* Navbar Styling */
.navbar {
  background-color: #1e3c72 !important; /* Dark blue */
  padding: 15px 0;
}

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

.nav-link {
  position: relative;
  color: #fff !important;
  margin: 0 10px;
  transition: color 0.3s ease-in-out;
}

.nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  background: #fff;
  bottom: 0;
  left: 0;
  transition: width 0.3s ease-in-out;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link.active::after {
  width: 100%;
}

.nav-link:hover,
.nav-link.active {
  color: #4fc3f7 !important; /* Light blue for hover/active */
}

/* Hero Section Styling */
.hero-section {
  background: linear-gradient(135deg, #1e3c72, #2a5298);
  color: #fff;
  padding: 150px 0 100px; /* Adjusted padding for fixed navbar */
}

.hero-heading {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 20px;
}

.hero-description {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: #f0f0f0; /* Light gray */
}

.hero-cta .btn-primary {
  background-color: #00bcd4; /* Cyan */
  border: 2px solid #00bcd4;
  padding: 10px 20px;
  font-size: 1rem;
  transition: .4s;
}
.hero-cta .btn-primary:hover{
  background: none;
}

.hero-cta .btn-outline-light {
  border: 2px solid #fff;
  color: #fff;
  padding: 10px 20px;
  font-size: 1rem;
  transition: .4s;
}
.hero-cta .btn-outline-light:hover{
  background: #fff;
  color: #1e3c72;
}

.hero-search .form-control {
  padding: 10px;
  border-radius: 5px;
  border: none;
}

.hero-social a {
  font-size: 1.5rem;
  text-decoration: none;
  color: #fff;
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-image img {
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Featured Blog Posts Section */
.featured-posts {
  padding: 80px 0;
  background-color: #f8f9fa; /* Light gray background */
}

.section-heading {
  font-size: 2.5rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: #1e3c72; /* Dark blue to match hero section */
}

.section-description {
  font-size: 1.1rem;
  text-align: center;
  margin-bottom: 50px;
  color: #666; /* Gray for subtlety */
}

.post-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.post-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.post-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.post-content {
  padding: 20px;
}

.post-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 10px;
  color: #1e3c72; /* Dark blue */
}

.post-excerpt {
  font-size: 1rem;
  color: #666; /* Gray */
  margin-bottom: 20px;
}

.btn-primary {
  background-color: #00bcd4; /* Cyan to match hero section */
  border: none;
  padding: 10px 20px;
  font-size: 1rem;
  transition: background-color 0.3s ease;
}

.btn-primary:hover {
  background-color: #4fc3f7; /* Light blue on hover */
}

/* Categories Section Styling */
.categories-section {
  background-color: #eeeeee; /* Light gray background */
  padding: 80px 0;
}

.categories-section h2 {
  font-size: 2.5rem;
  font-weight: bold;
  color: #1e3c72; /* Dark blue */
  margin-bottom: 40px;
}

.category-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition:
    transform 0.3s ease-in-out,
    box-shadow 0.3s ease-in-out;
}

.category-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.category-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.category-content {
  padding: 20px;
  text-align: center;
}

.category-content h3 {
  font-size: 1.5rem;
  font-weight: bold;
  color: #2a5298; /* Lighter blue */
  margin-bottom: 10px;
}

.category-content p {
  font-size: 1rem;
  color: #666;
  margin-bottom: 20px;
}

.category-content .btn {
  background-color: #00bcd4; /* Cyan */
  border: none;
  padding: 10px 20px;
  font-size: 1rem;
  transition: background-color 0.3s ease-in-out;
}

.category-content .btn:hover {
  background-color: #4fc3f7; /* Light blue */
}

/* Fade-in Animation */
.category-card {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.6s ease-out,
    transform 0.6s ease-out;
}

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

/* Newsletter Section Styling */
.newsletter-section {
  background: linear-gradient(135deg, #2a5298, #1e3c72);
  color: #fff;
  padding: 100px 0;
}

.newsletter-heading {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 20px;
  animation: fadeInUp 1s ease-in-out;
}

.newsletter-description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #f0f0f0;
  animation: fadeInUp 1.5s ease-in-out;
}

.newsletter-form .input-group {
  max-width: 500px;
  margin: 0 auto;
  animation: fadeInUp 2s ease-in-out;
}

.newsletter-form .form-control {
  padding: 15px;
  border: none;
  border-radius: 5px 0 0 5px;
}

.newsletter-form .btn {
  padding: 15px 30px;
  border: none;
  border-radius: 0 5px 5px 0;
  background-color: #00bcd4;
  color: #fff;
  transition: background-color 0.3s ease-in-out;
}

.newsletter-form .btn:hover {
  background-color: #4fc3f7;
}

.newsletter-image img {
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  animation: fadeInLeft 1.5s ease-in-out;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Team Section Styling */
.team-section {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: #fff;
    padding: 80px 0;
}

.team-heading {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 50px;
    animation: fadeInDown 1s ease-in-out;
}

.team-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeInUp 1s ease-in-out;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.team-img {
    width: 100%;
    height: 200px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.team-card:hover .team-img {
    transform: scale(1.1);
}

.team-info {
    padding: 20px;
    text-align: center;
}

.team-name {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.team-role {
    font-size: 1rem;
    color: #f0f0f0;
    margin-bottom: 15px;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-link {
    color: #fff;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: #00bcd4; /* Cyan color */
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Footer Section Styling */
.footer-section {
    background-color: #1e3c72; /* Dark blue to match hero section */
    color: #fff;
    padding: 60px 0 20px;
    position: relative;
    overflow: hidden;
}

.footer-heading {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: #4fc3f7; /* Light blue for headings */
}

.footer-text {
    font-size: 0.9rem;
    color: #f0f0f0; /* Light gray for text */
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #f0f0f0; /* Light gray for links */
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

.footer-links a:hover {
    color: #4fc3f7; /* Light blue on hover */
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    color: #fff;
    font-size: 1.2rem;
    transition: color 0.3s ease-in-out;
}

.social-icon:hover {
    color: #4fc3f7; /* Light blue on hover */
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form .form-control {
    flex: 1;
    padding: 10px;
    border-radius: 5px;
    border: none;
}

.newsletter-form .btn {
    background-color: #00bcd4; /* Cyan for button */
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background-color 0.3s ease-in-out;
}

.newsletter-form .btn:hover {
    background-color: #4fc3f7; /* Light blue on hover */
}

.copyright-text {
    font-size: 0.8rem;
    color: #f0f0f0; /* Light gray for copyright text */
    margin-top: 40px;
}

/* Animation for Footer */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer-section .row {
    animation: fadeInUp 1s ease-in-out;
}