
        body {
            margin: 0;
            font-family: 'Poppins', sans-serif;
        }
        /* Styles for the Marquee Navbar */
        .marquee-navbar {
            background-color: #0061ad;
            padding: 10px;
            color: white;
            width: 100%;
            z-index: 1000;
        }
        .marquee-container {
            overflow: hidden;
            white-space: nowrap;
        }
        .marquee {
            display: inline-block;
            animation: marquee 15s linear infinite;
        }
        .marquee a {
            color: white;
            text-decoration: none;
            margin-right: 20px;
            font-size: 16px;
        }
        .marquee a:hover, .marquee a:active {
            text-decoration: none;
        }
        .badge-icon {
            width: 20px;
            height: 20px;
            vertical-align: middle;
            margin-left: 5px;
        }
        @keyframes marquee {
            0% { transform: translateX(100%); }
            100% { transform: translateX(-100%); }
        }
        /* Styles for the ST. FRANCIS DE SALES' SCHOOL Navbar */
        .header {
            position: relative;
            width: 100%;
        }
        .top-bar {
            padding: 10px 20px;
            /* Make the top-bar transparent to show the carousel images underneath */
            background: linear-gradient(180deg, #0061ad 0%, #ffffff00 100%);
            min-height: 112px;
            position: sticky;
            top: 0;
            width: 100%;
            z-index: 999;
            /* Add a slight blur for better contrast */
            -webkit-backdrop-filter: blur(5px);
            backdrop-filter: drop-shadow(2px 4px 6px black);
        }
        /* Overlay the semi-transparent gradient on top of the transparent background */
        .top-bar::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(180deg, rgba(0, 97, 173, 0.8), rgba(255, 255, 255, 0) 100%);
            z-index: -1; /* Place the gradient behind the content */
        }
        .top-bar.scrolled::before {
            background: linear-gradient(180deg, rgba(0, 97, 173, 0.8), rgba(255, 255, 255, 0) 100%); /* Keep the same gradient after scrolling */
        }
        .logo {
            width: 80px;
            height: 80px;
            margin-right: 15px;
            filter: brightness(10.8);
        }
        .school-info {
            color: white;
        }
        .school-name {
    font-size: 27px;
    font-weight: bold;
    margin-bottom: 5px;
}

.school-location {
    font-size: 18px;
}
.nav-item{
    font-weight: 600;
}
        /* Adjust dropdown for Bootstrap */
        .dropdown-menu {
            background-color: rgba(0, 85, 164, 0.9);
            min-width: 150px;
        }
        .dropdown-menu a {
            color: white;
            padding: 10px;
                font-weight: bold;
    font-size: 16px;
        }
        .dropdown-menu a:hover {
            background-color: rgba(255, 255, 255, 0.2);
        }
        .nav-link {
            color: white !important;
            font-size: 16px;
            text-decoration: none !important;
        }
        .nav-link:hover, .nav-link:active {
            text-decoration: none !important;
        }
        .nav-link.active {
            color: orange !important;
        }
        /* Carousel Styles */
        .carousel {
            margin-top: -151px;
        }
        .carousel img {
            object-fit: cover;
        }
.navbar-toggler {
    background-color: white;
    border: var(--bs-border-width) solid var(--bs-navbar-toggler-border-color);
    border-radius: var(--bs-navbar-toggler-border-radius);
    transition: var(--bs-navbar-toggler-transition);
    /* REMOVE float: right */
}
/* Principal's Message Section */
        .principal-section {
            padding: 40px 20px;
            background-color: #f8f9fa;
        }
        .principal-section h2 {
            font-size: 35px;
    font-weight: 700;
    padding-bottom: 25px;
        }
        .principal-image {
            width: 100%;
            height: auto;
            border-radius: 10px;
        }
        .principal-name {
            font-size: 1.2rem;
            font-weight: 600;
            color: #fff;
            background-color: #0061ad;
            padding: 10px;
            text-align: center;
            border-radius: 5px;
            margin-bottom: 10px;
        }
        .principal-title {
            font-size: 1rem;
            color: #666;
            text-align: center;
            margin-bottom: 20px;
        }
        .principal-message {
            font-size: 1rem;
            color: black;
            line-height: 1.6;
            text-align: justify;
        }
        .principal-message p {
            text-align: justify;
    font-size: 16px;
    line-height: 36px;
        }
        .read-more-btn {
            display: inline-block;
            padding: 10px 20px;
            background-color: #0061ad;
            color: white;
            text-decoration: none;
            border-radius: 26px;
            font-weight: 500;
            transition: background-color 0.3s;  
            float: right !important;
        }
        .read-more-btn:hover {
            background-color: #004d8a;
        }
        .info-section {
      background: linear-gradient(rgb(227 239 255 / 0%), rgb(255 255 255 / 89%)) 0% 0% / cover no-repeat, url(https://sfscbsesecbad.com/assets/img/bg.png) center center; /* update path if needed */
      background-size: cover;
      background-repeat: no-repeat;
      background-position: center;
      padding: 60px 20px;
      text-align: center;
    }



    .card-box {
      display: flex;
      justify-content: center;
      flex-wrap: wrap;
      gap: 30px;
    }
    .card p{
        text-align: center;
    
    font-family: "Poppins", Sans-serif;
    transition: all .4s ease;
        font-size: 17px;
    line-height: 2.3rem;
}
    .card h3{
            font-size: 23px;
    font-weight: 600;
    line-height: 1.3em;
    -webkit-transition: all .4s ease;
    transition: all .4s ease;
    margin-top: 0;
    text-align: center;
    padding-bottom: 20px;
    padding-top: 30px;
    color:black;
    }

    .card {
          background: transparent;
      border-radius: 20px;
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
      padding: 30px;
      width: 300px;
      transition: all 0.3s ease;
      color: #656565;
    }

    .card:hover {
      background-color: #0056b3;
      color: white;
    }

    .card:hover .icon {
      filter: brightness(0) invert(1);
    }

    .icon {
      font-size: 40px;
      margin-bottom: 15px;
    }
 .swiper {
      padding-top: 30px;
    }

    .swiper-slide {
      background: #fff;
      border-radius: 16px;
      overflow: hidden;
      color: #000;
      width: 320px;
      box-shadow: 0 6px 15px rgba(0,0,0,0.1);
    }

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

    .event-content {
      padding: 15px;
      display: flex;
      align-items: flex-start;
      gap: 10px;
    }

    .date {
      font-size: 14px;
      color: #ff7a00;
      font-weight: bold;
      text-align: center;
    }

    .date span {
      display: block;
      color: #000;
      font-size: 20px;
    }

    .event-title {
      font-weight: 600;
      font-size: 16px;
    }
    .news{
        padding-top: 50px;
    padding-bottom: 50px;
    background: linear-gradient(rgb(0 98 173 / 78%), rgb(0 61 215 / 35%)) 0% 0% / cover no-repeat, url(https://sfscbsesecbad.com/assets/img/bg%20news.jpg) center center;
    background-size: cover;
    }
    .news h2 {
            line-height: 40px;
    margin-top: 0px;
    margin-bottom: 36px;
    padding-bottom: 13px;
    border-bottom: 1px solid rgba(250, 250, 250, 0.15);
    font-size: 35px;
    font-weight: 700;
    color: rgb(255, 255, 255);
    }
 .gallery-section {
  padding: 50px 20px;
  max-width: 1200px;
  margin: auto;
  text-align: center;
}

.gallery-section h2 {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 30px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 6px;
  justify-items: center;
}

.gallery-item {
  background: #fff;
  border: 2px solid #eee;
  border-radius: 8px;
  overflow: hidden;
  width: 100%;
  max-width: 300px;
  padding: .25rem;
}

.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  cursor: pointer;
  display: block;
}
.news-swiper {
    padding-top: 30px;
    padding-bottom: 50px; /* Add padding for pagination */
}

.swiper-slide {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    color: #000;
    width: 320px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

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

.event-content {
    padding: 15px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.date {
    font-size: 14px;
    color: #ff7a00;
    font-weight: bold;
    text-align: center;
}

.date span {
    display: block;
    color: #000;
    font-size: 20px;
}

.event-title {
    font-weight: 600;
    font-size: 16px;
}

/* Navigation Buttons */
.swiper-button-prev,
.swiper-button-next {
    color: #ffffff;
    background: rgba(0, 97, 173, 0.8);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
    background: rgba(0, 77, 138, 0.9);
}

.swiper-button-prev:after,
.swiper-button-next:after {
    font-size: 18px;
}

/* Pagination */
.swiper-pagination-bullet {
    background: #ffffff;
    opacity: 0.7;
}

.swiper-pagination-bullet-active {
    background: #ff7a00;
    opacity: 1;
}
@media (max-width: 768px) {
    .school-name {
        font-size: 18px;
    }

    .school-location {
        font-size: 14px;
    }

    .logo {
        width: 60px;
        height: 60px;
    }
       .carousel {
        margin-top: 0 !important; /* Reset negative margin on small screens */
    }
    
    .top-bar {
        position: static; /* Prevent sticky issues on small devices */
    }
    /* Principal Section Mobile Adjustments */
            .principal-section {
                padding: 20px 15px;
            }
            .principal-section h2 {
                font-size: 1.5rem;
            }
            .principal-image {
                max-width: 200px;
                margin: 0 auto 15px;
                display: block;
            }
            .principal-name {
                font-size: 1rem;
            }
            .principal-title {
                font-size: 0.9rem;
            }
            .principal-message {
                font-size: 0.9rem;
            }
            .read-more-btn {
                font-size: 0.9rem;
                padding: 8px 16px;
            }
             .card {
        width: 100%;
      }
        .swiper-slide {
        width: 90%;
      }
      
}

 .row{
	display: flex;
	flex-wrap: wrap;
}
ul{
	list-style: none;
}
.footer{
    background-color: #0062ad;    padding: 70px 0 0 0;
}
.footer-col{
   width: 25%;
   padding: 0 15px;
}
.footer-col p{
  color: #ffffff;
  font-weight: bold;
}
.footer-col h3{
	font-size: 18px;
	color: #ffffff;
	text-transform: capitalize;
	margin-bottom: 35px;
	font-weight: 500;
	position: relative;
}
.footer-col h3::before{
	content: '';
	position: absolute;
	left:0;
	bottom: -10px;
	background-color: #e91e63;
	height: 2px;
	box-sizing: border-box;
	width: 50px;
}
.footer-col ul li:not(:last-child){
	margin-bottom: 10px;
}
.footer-col ul li a{
    font-size: 19px;
    text-transform: capitalize;
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    color: white;
    display: block;
    transition: all 0.3s ease;
}
.footer-col ul li a:hover{
	color: #ffffff;
	padding-left: 8px;
}
.footer-col .social-links .contact-item {
       display: flex
;
    align-items: center;
    color: #ffffff;
    font-size: 17px;
    margin-bottom: 10px;
    font-weight: bold;/* Space between contact items */
}

.footer-col .social-links .contact-item i {
    margin-right: 10px; /* Space between icon and text */
    font-size: 18px; /* Adjust icon size */
    width: 20px; /* Ensure consistent icon width for alignment */
    text-align: center;
}

.footer-col .social-links .contact-item span {
    flex: 1; /* Allow text to take remaining space */
}

/* Ensure social media icons remain as before */
.footer-col .social-links a {
    display: inline-block;
    height: 40px;
    width: 40px;
    background-color: rgba(255, 255, 255, 0.2);
    margin: 0 10px 10px 0;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    color: #ffffff;
    transition: all 0.5s ease;
}

.footer-col .social-links a:hover {
    color: #24262b;
    background-color: #ffffff;
}

/*responsive*/
@media(max-width: 767px){
  .footer-col{
    width: 50%;
    margin-bottom: 30px;
}
}
@media(max-width: 574px){
  .footer-col{
    width: 100%;
}
}





