/* Global Font */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Logo Heading and Line */
/* Logo Heading */
.brand-title {
  font-size: 1.5rem;
  color: #003087;
}

/* Horizontal Line Below Title */
.logo-line {
  height: 4px;
  border: none;
  border-top: 4px solid rgb(34, 73, 153);
  margin: 4px 0;
  width: 100%;
  max-width: 350px;
}

/* Subheading */
.brand-location {
  font-size: 1rem;
  color: #003087;
}
.bbb{
  margin-left: ;
}
/* Responsive Adjustments */
@media (max-width: 576px) {
  .navbar-brand {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .brand-title {
    font-size: 1.2rem;
  }

  .brand-location {
    font-size: 0.95rem;
    margin-left: 0;
  }

  .logo-line {
    width: 80%;
  }
}

@media (min-width: 577px) and (max-width: 768px) {
  .brand-title {
    font-size: 1.4rem;
  }

  .brand-location {
    font-size: 1rem;
  }
}


/* Social Icons */
.social-icons a {
  font-size: 1.5rem;
  margin-left: 10px;
  color: white;
}

#facebook { color: #1877F2; }
#instagram { color: #C13584; }
#youtube { color: #FF0000; }

.social-icons a:hover {
  color: #f7c700;
}
/* Responsive adjustments */
@media (max-width: 768px) {
  .social-icons {
    gap: 15px;
  }
  .social-icons a {
    font-size: 2.5rem;
  }
}

@media (max-width: 480px) {
  .social-icons {
    gap: 10px;
  }
  .social-icons a {
    font-size: 2.2rem;
  }
}

.navbar-nav .nav-link {
  color: #2a37a8 !important;
  margin: 0 10px;
  font-weight: 700;
  font-size: 1.1rem;
  position: relative;
  transition: 0.3s;
  font-family: 'Times New Roman', Times, serif;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: #f7c700;
  transition: 0.3s;
}

.navbar-nav .nav-link:hover::after {
  width: 100%;
}
.navbar-nav .nav-link:hover {
  color: #f7c700 !important;
}

/* Responsive */
@media (max-width: 991px) {
  .navbar-collapse {
    padding-top: 1rem;
  }

  .social-icons {
    margin-right: 0;
  }

  .navbar-nav {
    align-items: center;
  }
}

/* Main Navbar Links */
.navbar-nav .nav-link {
  color: #2a37a8 !important;
  font-weight: 700;
  font-size: 1.1rem;
  margin: 0 12px;
  position: relative;
  transition: color 0.3s;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: #f7c700;
  transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
  width: 100%;
}

.navbar-nav .nav-link:hover {
  color: #f7c700 !important;
}

/* Toggler Customization */
.navbar-toggler {
  border: none;
  box-shadow: none !important;
}

.navbar-toggler:focus {
  outline: none;
  box-shadow: none;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
  .navbar-brand {
    flex-direction: column;
    align-items: start;
  }

  .social-icons {
    justify-content: center;
    width: 100%;
    margin-top: 10px;
  }

  .navbar-nav {
    align-items: center;
  }

  .navbar-collapse {
    padding: 1rem 0;
  }
}
/* News Ticker Container */
    .news-ticker {
      width: 100%;
      background: #d7d7d7;
      overflow: hidden;
      position: relative;
      padding: 10px 0;
    }

    /* The scrolling content */
    .news-ticker-content {
      display: inline-block;
      white-space: nowrap;
      animation: scroll-left 20s linear infinite;
      padding-left: 100%;
    }

    /* Individual news item */
    .news-ticker-content span {
      display: inline-block;
      color: #4549af;
      font-size: 1rem;
      font-weight: 900;
      margin-right: 3rem;
    }

    /* Animation for scrolling */
    @keyframes scroll-left {
      0% {
        transform: translateX(0%);
      }
      100% {
        transform: translateX(-100%);
      }
    }

    /* Responsive font size */
    @media (max-width: 768px) {
      .news-ticker-content span {
        font-size: 0.9rem;
        margin-right: 2rem;
      }
    }

    @media (max-width: 480px) {
      .news-ticker-content span {
        font-size: 0.8rem;
        margin-right: 1.5rem;
      }
    }


/*==============================NAVBAR END===================================================================*/





  /* Main Image */

  .main-img {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80vh;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.4);
  }
  
  .main-img h1 {
    position: absolute;
    color: #ffffff;
    font-size: 5vw;
    z-index: 2;
  }
  
  .main-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(50%);
  }
  
    
  /* first Events Section */
  /* Heading Style */
.events-heading {
    font-family: 'Times New Roman', Times, serif;
    text-align: center;
    margin-left: 30px;
    padding: 20px;
    color: #2a5d84;
    font-size: 2.2rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid #2a5d84;
    display: inline-block;
  }


.card-container { 
  background-color: #eff5fd;
  align-items: center;
  width: 100%;
  margin-top: 1%;
  padding: 2%;
  height: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
}

.card img {

  aspect-ratio: 1 / 1;
  width: 100%;
  object-fit: cover;
  display: block;
}
.card h4{
  text-align: center;
}

.card {
  flex: 1 1 calc(25% - 20px); /* 4 per row with gap */
  max-width: calc(25% - 20px);
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
@media (max-width: 992px) {
  .card {
    flex: 1 1 calc(100% - 20px);
    max-width: calc(100% - 20px);
  }
}
@media (max-width: 576px) {
  .card {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

 
  /* Hover Effect */
  .card-container:hover .card image {
    transform: scale(1.08);
    filter: brightness(1.15) contrast(1.05);
  }
  
  /* Fade-In Animation */
  .fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards;
  }
  
  .delay-1 { animation-delay: 0.2s; }
  .delay-2 { animation-delay: 0.4s; }
  .delay-3 { animation-delay: 0.6s; }
  
  @keyframes fadeInUp {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  /* General Content Section Styling -------=========================--------------------------------------*/
.content-section {
  background-color: #fdfdf4;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 10px;
  flex-wrap: wrap;

}

/* Image Wrapper */
.image-wrapper {
  flex: 1 1 100px;
  max-width: 500px;
  height: 500%;
}

.image-wrapper img.image1, img.image2 {
  width:100%;
  height: auto;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  padding: 5%;
  
}


/* Text Content-- -----------------------*/
.text-content {
  background-color: #f1eecd;
  flex: 1 1 300px;
  font-size: 20px;
  line-height: 1.6;
  color: #0056b3;
 
  padding: 15px;
  
 
}

.text-content h2 {
  text-align: center;
  color: #373b80;
  margin-top: 20px;
}

.read-more button {
  margin-top: 10px;
  padding: 8px 16px;
  background-color: #373b80;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.read-more button:hover {
  background-color: #2c2f6d;
}

/* Newsletter Section */
.newsletter-container {
  background: linear-gradient(to bottom, #8686Ac, #000);
  padding: 40px 20px;
  color: white;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 30px;
}

.newsletter-title {
  border-right: 2px solid white;
  padding-right: 20px;
}

.newsletter-title h2 {
  font-size: 28px;
  margin: 0;
}

.newsletter-list {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.newsletter-list ul {
  list-style-type: square;
  font-size: 20px;
  padding: 0;
}

.newsletter-list ul li {
  margin-bottom: 8px;
  margin-left: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .content-section {
    flex-direction: column;
    align-items: center;
  }

  .image-wrapper,
  .text-content {
    width: 100%;
    max-width: 100%;
  }

  .newsletter-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .newsletter-title {
    border-right: none;
    border-bottom: 2px solid white;
    padding-bottom: 15px;
    margin-bottom: 20px;
  }

  .newsletter-list {
    flex-direction: column;
    align-items: center;
  }
}

  .card img {
    object-fit: cover;
    height: 100%;
  }

  /* Optional: On very small phones, reduce padding */
  @media (max-width: 576px) {
    .card .p-3 {
      padding: 1rem !important;
    }
  }



  /* Events */
  .events2-container {
              display: flex;
              flex-wrap: wrap;
              justify-content: center;
              gap: 30px;
              font-family: serif;
              color: #2a5d84;
              background-color: #e0eef5;
              padding: 20px;
              margin-top: 50px;
          }
  
          .event2-card {
              position: relative;
              width: 300px;
              background: white;
              text-align: center;
              padding: 55px 20px 20px;
              box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
              margin:15px;
          }
  
          .event2-image {
              position: absolute;
              top: -40px;
              left: 50%;
              transform: translateX(-50%);
              width: 100px;
              height: 100px;
              border-radius: 50%;
              background: white;
              display: flex;
              align-items: center;
              justify-content: center;
              border: 3px dashed green;
          }
  
          .event2-image img {
              width: 100%;
          }
  
          .event2-date {
              font-size: 18px;
              margin-top: 15px;
          }
  
          .event2-title {
              font-size: 20px;
              font-weight: bold;
              margin-top: 5px;
              color: #2a5d84;
          }
  
          .event2-location {
              display: flex;
              align-items: center;
              justify-content: center;
              margin-top: 10px;
              font-size: 14px;
          }
  
          .event2-location i {
              color: #2a5d84;
              font-size: 18px;
              margin-right: 5px;
          }
          .fade-in {
            opacity: 0;
            animation: fadeInUp 1s ease forwards;
          }
          
          @keyframes fadeInUp {
            from {
              transform: translateY(40px);
              opacity: 0;
            }
            to {
              transform: translateY(0);
              opacity: 1;
            }
          }
          
          /*footer*/
       
        
          .footer {
            background: url('./M-Images/pexels-vraj-shah-115200-633814.jpg') center/cover no-repeat;
            position: relative;
            color: #fff;
            padding: 40px ;
            overflow: hidden;
          }
        
          .footer-content {
            position: relative;
            display: flex;
            /* flex-wrap: wrap; */
            justify-content: space-around;
            z-index: 1;
            animation: fadeIn 1.5s ease-in;
            
          }
          .footer-section {
            /* flex: 1 1 300px; */
            margin: 20px;
            width: 100%;            
          }
          .footer-section h4{
            color: #ffffff;
          }
         
          .footer h1 {
            font-size: 25px;
            margin-bottom: 15px;
            border-bottom: 3px solid rgb(255, 255, 255);
            padding-bottom: 10px;
            font-family: 'Poppins', sans-serif;
          }
        
          .footer p, .footer a {
            font-size: 20px;
            line-height: 1.6;
            color: #fff;
            text-decoration: none;
            transition: color 0.3s ease;
          }
          .footer a:hover {
            color: #ffc107;
          }
        
          .footer hr {
            border: none;
            border-bottom: 2px solid white;
            margin: 15px 0;
          }
          .footer button {
            padding: 10px 20px;
            margin: 10px 5px 0 0;
            font-size: 16px;
            background-color: #007bff;
            color: white;
            border: none;
            cursor: pointer;
            transition: background 0.3s ease;
          }
        
          .footer button:hover {
            background-color: #0056b3;
          }
        
          .footer-bottom {
            text-align: center;
            margin-top: 60px;
            font-size: 15px;
            z-index: 1;
            position: relative;
          }
        
          @keyframes fadeIn {
            from { opacity: 0; transform: translateY(30px); }
            to { opacity: 1; transform: translateY(0); }
          }
        
          @media (max-width: 768px) {
            .footer-content {
              flex-direction: column;
              align-items: center;
            }
          }
          /* Extra small devices (phones, less than 576px) */
@media (max-width: 575.98px) {
  .container {
    
    font-size: 14px;
  }
}

