@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@200;300;400;600;700&display=swap');

/* styles.css */
/* Reset styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Nunito', sans-serif;
}

/* Header styles */
header {
    background:#f7f7f7;
    /* box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1); */
}

.custom-caption-location {
  font-family: 'Baloo 2', serif; /* Marathi-friendly font */
  font-size: 1.2rem; /* Increase size for readability */
  color: #ffffff;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
  font-weight: 500;
}

.custom-caption-title {
  font-family: 'Baloo 2', serif;
  font-size: 1rem; /* Slightly larger for emphasis */
  color: #ffeb3b;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
  font-weight: 700;
}

.custom-caption-heading {
  font-family: 'Baloo 2', serif;
  font-size: 2.2rem; /* Larger for the main heading */
  color: #ffffff;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.8);
  font-weight: 501;
}
/* popup */
.modal {
  display: block;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.7);
}

.modal-content.small-modal {
  display: block;
  margin: 5% auto;
  max-width: 500px;
  width: 80%;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.close {
  position: absolute;
  top: 10px;
  right: 20px;
  color: white;
  font-size: 32px;
  font-weight: bold;
  cursor: pointer;
}

@media only screen and (max-width: 600px) {
  .modal-content.small-modal {
    width: 90%;
    max-width: 300px;
  }

  .close {
    font-size: 24px;
    right: 15px;
    top: 5px;
  }
}

/* //slideshow */
/* Slideshow container */
.slideshow-container {
    position: relative;
    max-width: 100%;
    margin: auto;
    overflow: hidden;
    border: 2px solid #f7f7f7;
    /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); */
}

.mySlides {
    display: none;
}

.mySlides img {
    width: 100%;
    height: auto;
    display: block;
}


/* Continuous zoom-in effect */
.mySlides {
    overflow: hidden; /* Hide any overflow */
    position: relative;
}

.mySlides img {
    width: 100%; /* Ensure image fills the container */
    height: auto;
    transition: transform 5s ease-in-out; /* Smooth transition */
    animation: zoomInEffect 10s infinite alternate; /* Add animation */
}

@keyframes zoomInEffect {
    0% {
        transform: scale(1); /* Start at normal size */
    }
    100% {
        transform: scale(1.1); /* Zoom in slightly */
    }
}

/* Fading animation */
.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from {opacity: 0.4}
    to {opacity: 1}
}

/* Dot container */
.dot-container {
    text-align: center;
    position: relative;
    top: -40px; /* Adjust as needed */
}

.dot {
    cursor: pointer;
    height: 10px;
    width: 10px;
    margin: 0 3px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.active, .dot:hover {
    background-color:  #f7f7f7;
}

/* Text overlay styling */
/* Add @import to use the Merriweather and Roboto font styles */
@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@300;400;700&family=Roboto:wght@300;400;700&display=swap');

.slideshow-text {
    position: absolute;
    top: 50%;  /* Center vertically */
    left: 50%; /* Center horizontally */
    transform: translate(-50%, -50%); /* Adjust for exact center */
    text-align: center; /* Center the text */
    color: #f7f7f7; /* Light color for better visibility */
    z-index: 10;
    width: 80%; /* Adjust the width if needed */
    padding: 15px;
    font-family: 'Nunito', sans-serif; /* Apply the Google Font */
    font-weight: bolder;
    opacity: 0; /* Start hidden for animation */
    animation: slideIn 1.5s ease-out forwards; /* Apply slide-in animation */
    animation-delay: 0.5s; /* Delay the animation by 0.5s */
}

/* Slide-in animation */
@keyframes slideIn {
    0% {
        opacity: 0;
        transform: translate(-50%, -60%); /* Start slightly above */
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -50%); /* End at centered position */
    }
}

/* Style the heading and paragraph for boldness */
.slideshow-text h2 {
    margin: 0;
    font-size: 28px; /* Adjust font size for emphasis */
    font-weight: 700; /* Make the heading bold */
    letter-spacing: 1px; /* Slight spacing for better readability */
    font-family: 'Nunito', sans-serif;/* Use a clean font */
    animation: fadeIn 2s ease-out forwards; /* Fade-in effect */
    animation-delay: 1s; /* Start animation after 1s */
}

/* Paragraph styling with animation */
.slideshow-text p {
    margin: 10px 0 0 0;
    color: #f7f7f7;
    font-size: 20px; /* Adjust font size as needed */
    font-weight: 300; /* Use lighter weight for the secondary text */
    line-height: 1.4; /* Improve readability with line height */
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.7); /* Optional: adds a subtle shadow for better visibility */
    animation: fadeInUp 1.5s ease-out forwards; /* Add a fade-in and up effect */
    animation-delay: 1.2s; /* Start animation slightly later */
    font-family: 'Nunito', sans-serif; /* Use a serif font for the paragraph */
    font-style: italic;
    font-weight: bolder;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px); /* Start slightly lower */
    }
    100% {
        opacity: 1;
        transform: translateY(0); /* End at normal position */
    }
}

/* Responsiveness for smaller screens */
@media (max-width: 768px) {
    .slideshow-text h2 {
        font-size: 24px; /* Reduce font size */
    }

    .slideshow-text p {
        font-size: 16px; /* Adjust paragraph font size */
        line-height: 1.3; /* Adjust line height */
    }

    .slideshow-text {
        width: 90%; /* Increase width for smaller screens */
        padding: 10px; /* Reduce padding */
    }
}

@media (max-width: 480px) {
    .slideshow-text h2 {
        font-size: 20px; /* Further reduce font size */
    }

    .slideshow-text p {
        font-size: 14px; /* Further adjust paragraph font size */
    }

    .slideshow-text {
        width: 100%; /* Full width on very small devices */
    }
}

/* below slide */
.container1 {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 2px;
    background-color: #fff;
}

.box {
    flex: 1 1 200px;
    margin: 10px;
    padding: 20px;
    text-align: center;
    border-radius: 8px;
    background-color: #f8f9fa;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

h2 {
    /* color: #1b2a4e; */
    margin-bottom: 10px;
}

p {
    /* color: #9e9e9e; */
}
.carousel-item img {
    width: 100%; /* Ensure image fills the container */
    height: 100%;
    object-fit: scale-down;
    transition: transform 5s ease-in-out; /* Smooth transition */
    animation: zoomInEffect 10s infinite alternate; /* Add animation */
}

@keyframes zoomInEffect {
    0% {
        transform: scale(1); /* Start at normal size */
    }
    100% {
        transform: scale(1.1); /* Zoom in slightly */
    }
}

/* Fading animation */
.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from {opacity: 0.4}
    to {opacity: 1}
}

/* Media query for responsiveness */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }
}

@media (max-width: 768px){
  .carousel-caption {
    position: absolute;
    right: 15%;
    bottom: -80px;
    left: 15%;
    z-index: 10;
    padding-top: 20px;
    padding-bottom: 20px;
    color: #fff;
    text-align: center;
}
}


/* img section */
/* styles.css */

.background-section {
    position: relative;
    width: 100%;
    min-height: 100vh; /* Ensure full height of the viewport */
    background-image: url('images/img-1.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Fix the background during scrolling */
    overflow: hidden;
}

.background-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(16, 42, 68, 0.85); /* Slightly lighter overlay for readability */
    z-index: 1;
}

.container {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    margin: 30px auto;
    max-width: 1300px;
    position: relative;
    z-index: 2;
    padding: 20px;
}

.image-section {
    flex: 1;
    padding: 20px;
    text-align: center;
}

.principal-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

h2 {
    margin-top: 10px;
    color: white;
    font-size: 24px; /* Adjust font size */
}

.text-section {
    flex: 2;
    padding: 20px;
}

.text-section p,
.text-section h2 {
    color: white;
    font-size: 16px; /* Adjust font size */
}

p {
    margin-bottom: 15px;
    color: white;
    font-size: 16px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .background-section {
        background-attachment: scroll; /* Disable fixed background for mobile to improve performance */
    }

    .container {
        flex-direction: column; /* Stack image and text vertically on smaller screens */
        padding: 15px; /* Reduce padding on mobile */
    }

    .image-section {
        margin-bottom: 20px;
    }

    h2 {
        font-size: 20px; /* Adjust heading size for mobile */
    }

    p {
        font-size: 14px; /* Smaller font for mobile readability */
    }

    .text-section {
        padding: 10px;
    }
}

@media (max-width: 480px) {
    .background-section {
        background-size: cover; /* Ensure the background image scales well on very small screens */
    }

    h2 {
        font-size: 18px; /* Further reduce heading size */
    }

    p {
        font-size: 13px; /* Further reduce paragraph size */
    }

    .container {
        padding: 10px; /* Less padding for very small screens */
    }
}



/* Section container styling */
/* Original styles */
.motto-vision-mission {
    display: flex;
    justify-content: space-between;
    gap: 20px; /* Space between the boxes */
    padding: 50px; /* Padding for larger screens */
    background-color: #f7f7f7; /* Light background for the section */
    animation: fadeInSection 1.5s ease-in-out forwards;
}


.box {
    flex: 1; /* Equal width for all boxes */
    padding: 30px;
    color: #f7f7f7;
    border-radius: 10px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
    transform: translateY(50px); /* Start with the boxes slightly below */
    opacity: 0; /* Start hidden */
    animation: slideUp 1s ease-out forwards;
    animation-delay: 0.5s; /* Delay animation for smooth entry */
}

.box h3 {
    margin-bottom: 10px;
    font-size: 22px;
    font-weight: 700;
}

.box p {
    font-size: 16px;
    line-height: 1.5;
}

/* Box color styles */
.motto {
    background-color: #3498db; /* Blue */
    animation-delay: 0.3s;
}

.vision {
    background-color: #e74c3c; /* Red */
    animation-delay: 0.6s;
}

.mission {
    background-color: #2ecc71; /* Green */
    animation-delay: 0.9s;
}

/* Animation for sliding up effect */
@keyframes slideUp {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Fade-in effect for section */
@keyframes fadeInSection {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Responsive Styling */
@media (max-width: 768px) {
    .motto-vision-mission {
        flex-direction: column; /* Stack boxes vertically on smaller screens */
        padding: 20px; /* Reduced padding for mobile */
    }

    .box {
        width: 100%; /* Each box takes full width on mobile */
        margin-bottom: 20px; /* Space between stacked boxes */
        padding: 20px; /* Reduce padding to fit smaller screens */
    }

    .box h3 {
        font-size: 18px; /* Reduce heading font size for smaller screens */
    }

    .box p {
        font-size: 14px; /* Reduce paragraph font size for readability */
    }

    .motto-vision-mission {
        gap: 15px; /* Reduce the gap between boxes on mobile */
    }
}

/* Additional Styling for Ethos Container on Mobile */
@media (max-width: 768px) {
    .ethos-container {
        padding: 50px; /* Maintain 50px padding for mobile view */
        flex-direction: column; /* Stack boxes vertically if required */
    }
}

/* about school */

.about-section {
    background-image: url('images/logo.jpg');
    background-size: cover;
    background-position: center;
    padding: 50px 20px;
    position: relative;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: left;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #1b2434; /* Adds the dark overlay */
    z-index: 1;
}

.content-wrapper {
    position: relative;
    z-index: 2; /* To ensure content appears above the overlay */
    max-width: 800px;
}

.school-logo {
    max-width: 100px;
    margin-bottom: 20px;
    position:relative;
}

.about-section h1 {
    font-size: 2em;
    margin-bottom: 10px;
    color: #fff;
}

.about-section p {
    font-size: 1em;
    margin-bottom: 15px;
    line-height: 1.6;
    color: #f0f0f0;
}

.learn-more {
    display: inline-block;
    padding: 10px 20px;
    background-color: #0066cc;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.learn-more:hover {
    background-color: #004a99;
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 1.5em;
    }

    p {
        font-size: 0.9em;
    }

    .school-logo {
        max-width: 80px;
    }
}

/* gallery */
/* footer */
/* General Styles */
/* .footer {
    background-color:   rgba(0, 0, 0, 0.7);
    color: #f7f7f7;
    padding: 20px 0;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.quick-links, .contact-info {
    flex: 1;
    margin: 10px;
    color:#f7f7f7
}

.quick-links h2, .contact-info h2 {
    margin-bottom: 10px;
    color: #f7f7f7;
}

hr {
    border: none;
    height: 1px;
    background-color: #f7f7f7;
    margin: 5px 0;
}

ul {
    list-style: none;
    padding: 0;
    color: #f7f7f7;

}

ul li {
    margin: 8px 0;
    color: #f7f7f7;
}

ul li a {
    color: #f7f7f7;
    text-decoration: none;
}

ul li a:hover {
    text-decoration: underline;
}

.contact-info address p {
    margin: 8px 0;
    color: #f7f7f7;
}

.footer-bottom {
    background-color:  rgba(0, 0, 0, 0.7);
    text-align: center;
    padding: 10px;
    color: #f7f7f7;
    margin: 0;
}

.footer-bottom p {
    margin: 0;
    color: #f7f7f7;
}

.footer-bottom a {
    color: #f7f7f7;
    text-decoration: none;
    margin: 0;
}

.footer-bottom a:hover {
    text-decoration: underline;
} */

/* Responsive Styles */
/* @media screen and (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .quick-links, .contact-info {
        margin: 20px 0;
    }
} */


/* new foooter */

/* .main-footer {
    background-color: #1a1a1a;
    color: white;
    padding: 40px 0;
    text-align: left;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 0 30px;
}

.footer-brand {
    flex: 1;
    max-width: 25%;
}

.footer-brand img {
    height: 60px;
}

.footer-details {
    flex: 2;
    display: flex;
    justify-content: space-between;
    max-width: 50%;
}

.footer-location, .footer-contact-info {
    flex: 1;
}

.footer-location h4, .footer-contact-info h4 {
    font-size: 18px;
    margin-bottom: 15px;
}

.footer-location p, .footer-contact-info p {
    font-size: 14px;
    line-height: 1.6;
}

.footer-contact-info a {
    color: #00bfff;
    text-decoration: none;
}

.footer-social-links {
    flex: 1;
    max-width: 10%;
    display: flex;
    gap: 15px;
    font-size: 24px;
}

.footer-social-links a {
    color: white;
    transition: color 0.3s ease;
}

.footer-social-links a:hover {
    color: #00bfff;
}

.footer-copyright {
    text-align: center;
    margin-top: 40px;
    font-size: 14px;
    border-top: 1px solid #444;
    padding-top: 20px;
}

.footer-copyright p {
    color: #ccc;
} */


/* vison mission section */

.ethos-container {
    display: flex;
    justify-content: space-between;
    gap: 0px;
    padding: 50px;
    color: white;
    margin-bottom: 130px;
  }
  
  .ethos-box {
    flex: 1;
    position: relative;
    padding: 20px;
    border-radius: 0px;
    text-align: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
  }
  
  .ethos-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(16, 42, 68, 0.9); 
    z-index: 1;
    border-radius: 0px;
  }
  
  .ethos-box h2, .ethos-box p {
    position: relative;
    z-index: 2; 
  }
  
  .ethos-box h2 {
    margin-bottom: 15px;
    font-size: 1.8rem;
    padding-top: 40px;
  }
  
  .ethos-box p {
    font-size: 1rem;
    line-height: 1.5;
    padding-top: 0px;
    padding: 0 30px 30px;

  }
  
  .ethos-box2::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 20, 30, 0.85); 
    z-index: 1;
    border-radius: 0px;
}



  .ethos-box1 {
    background-image: url('images/img-1.jpeg');
  }
  
  .ethos-box2 {
    background-image: url('images/img-1.jpeg');
  }
  
  .ethos-box3 {
    background-image: url('images/img-1.jpeg');
  }
  

  @media (max-width: 992px) {
    .ethos-container {
      flex-direction: column;
      gap: 0px;
    }
  
    .ethos-box {
      padding: 15px;
    }
  
    .ethos-box h2 {
      font-size: 1.6rem;
    }
  
    .ethos-box p {
      font-size: 0.9rem;
    }
  }
  
  @media (max-width: 768px) {

    .ethos-box h2 {
      font-size: 1.4rem;
    }
    .ethos-box p {
      font-size: 0.85rem;
    }
  }

  .ethos-container {
    display: flex;
    justify-content: space-between;
    gap: 0px;
    padding: 50px;
    color: white;
    margin-bottom: 120px;
}
  
/* fecatues section */

.features-strip {
    background-color: #0e1f33;
    padding: 50px 0;
}

.features-container {
    display: flex;
    justify-content: space-between;
    padding: 0 150px;
    gap: 40px;
    color: #ffffff;
}

.feature-box {
    text-align: left; /* Align text and icon to the left */
    flex: 1;
    padding: 7px;
    border-radius: 8px;
    transition: transform 0.3s ease-in-out;
}

.feature-box:hover {
    transform: translateY(-10px);
}

.feature-icon {
    font-size: 30px;
    margin-bottom: 20px;
    color: #ffffff; /* Icon color */
}

.feature-box h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.feature-box p {
    font-size:0.8rem;
    line-height: 1.4;
    color: #bbb;
}

/* Responsive Design */
@media (max-width: 992px) {
    .features-container {
        flex-direction: column;
        padding: 20px;
    }

    .feature-box {
        margin-bottom: 20px;
    }
    .features-strip{
        margin-bottom: 200px;
    }
}


.main-container {
    width: 100%; /* Full width */
    height: 550px; /* Fixed height */
    display: flex; /* Optional: Allows for alignment */
    align-items: center; /* Center vertically */
    justify-content: center; /* Center horizontally */
    overflow: hidden; /* Hide overflowing content */
    background-color: #102a44;
    margin-top: 1000px;
    margin-bottom: 50px;

}

.strip-section {
    background-color: #102a44;
    width: calc(100% - 400px); /* 100% width minus 200px on each side */
    max-width: 800px; /* Maximum width of the section */
    margin: 0 auto; /* Center the strip section */
    height: 400px; /* Fixed height for the section */
    position: relative; /* Required for absolute positioning of images */
     /* Background color for the strip */
    border: 2px solid #102a44; /* Border for definition */
    border-radius: 10px; /* Rounded corners */
     /* Subtle shadow for depth */
    padding: 10px; /* Padding inside the section */
    overflow: hidden; /* Hide overflow to keep moving images contained */
    margin-bottom: 30px;
}

.image-container {
    margin-top:55px;
    display: flex; /* Use flexbox to arrange images in a row */
    animation: move-left 15s linear infinite; /* Animation settings */
   
}

.image-wrapper {
    width: 400px; /* Set a fixed width for each image wrapper (adjusted) */
    height: 300px; /* Set a fixed height for each image wrapper (unchanged) */
    display: flex; /* Center image within the wrapper */
    align-items: center; /* Center vertically */
    justify-content: center; /* Center horizontally */
    margin-right: 50px; /* Add right margin for spacing between images */
}

/* Remove margin from the last image to prevent extra space at the end */
.image-wrapper:last-child {
    margin-right: 0; /* No margin on the last image */
}

.moving-image {
    height: 100%; /* Set the height of the images to fill the wrapper height */
    width: 100%; /* Set the width of the images to fill the wrapper width */
    object-fit: cover; /* Ensure images cover the space without distortion */
    border-radius: 5px; /* Rounded corners for images */
}

/* Keyframes for the left movement animation */
@keyframes move-left {
    0% {
        transform: translateX(100%); /* Start from the right (offscreen) */
    }
    100% {
        transform: translateX(-100%); /* Move to the left (offscreen) */
    }
}

/* Responsive styles */
@media (max-width: 1000px) {
    .strip-section {
        width: calc(100% - 100px); /* Reduce width on smaller screens */
        margin: 0 50px; /* Smaller margins */
    }

    .image-wrapper {
        width: 250px; /* Reduce width for smaller screens */
        height: 200px; /* Reduce height for smaller screens */
    }
}

@media (max-width: 600px) {
    .strip-section {
        height: 450px; /* Adjust height for smaller screens */
    }

    .image-wrapper {
        width: 350px; /* Further reduce width for mobile */
        height: 300px; /* Further reduce height for mobile */
    }

    .main-container {
    
        margin-top: 1000px;
        
    }
}



.main-gallery-container {
    width: 100%; /* Full width */
    height: 550px; /* Fixed height */
    display: flex; /* Optional: Allows for alignment */
    align-items: center; /* Center vertically */
    justify-content: center; /* Center horizontally */
    overflow: hidden; /* Hide overflowing content */
    background-color:white;
    margin-top: 100px;
    margin-bottom: 70px;
}

.strip-gallery-section {
    background-color: white;
    width: calc(100% - 400px); /* 100% width minus 200px on each side */
    max-width: 800px; /* Maximum width of the section */
    margin: 0 auto; /* Center the strip section */
    height: 400px; /* Fixed height for the section */
    position: relative; /* Required for absolute positioning of images */
    /* Background color for the strip */
     /* Border for definition */
    border-radius: 10px; /* Rounded corners */
    /* Subtle shadow for depth */
    padding: 10px; /* Padding inside the section */
    overflow: hidden; /* Hide overflow to keep moving images contained */
    margin-bottom: 30px;
}

.image-gallery-container {
    margin-top: 55px;
    display: flex; /* Use flexbox to arrange images in a row */
    animation: move-left-gallery 25s linear infinite; /* Animation settings */
    height: 100%;
    width: calc(400px * 7 + 40px * 6); /* Adjust to total width of all images and margins (5 images + 4 margins) */
}

.image-gallery-wrapper {
    width: 400px; /* Set a fixed width for each image wrapper (adjusted) */
    height: 300px; /* Set a fixed height for each image wrapper (unchanged) */
    display: flex; /* Center image within the wrapper */
    align-items: center; /* Center vertically */
    justify-content: center; /* Center horizontally */
    margin-right: 50px; /* Add right margin for spacing between images */
}

/* Remove margin from the last image to prevent extra space at the end */
.image-gallery-wrapper:last-child {
    margin-right: 0; /* No margin on the last image */
}

.moving-gallery-image {
    height: 100%; /* Set the height of the images to fill the wrapper height */
    width: 100%; /* Set the width of the images to fill the wrapper width */
    object-fit: cover; /* Ensure images cover the space without distortion */
    border-radius: 5px; /* Rounded corners for images */
}

/* Keyframes for the left movement animation */
@keyframes move-left-gallery {
    0% {
        transform: translateX(100%); /* Start from the right (offscreen) */
    }
    100% {
        transform: translateX(-100%); /* Move to the left (offscreen) */
    }
}

/* Responsive styles */
@media (max-width: 1000px) {
    .strip-gallery-section {
        width: calc(100% - 100px); /* Reduce width on smaller screens */
        margin: 0 50px; /* Smaller margins */
    }

    .image-gallery-wrapper {
        width: 250px; /* Reduce width for smaller screens */
        height: 200px; /* Reduce height for smaller screens */
    }
}

@media (max-width: 600px) {
    .strip-gallery-section {
        height: 450px; /* Adjust height for smaller screens */
    }

    

    .image-gallery-wrapper {
        width: 350px; /* Further reduce width for mobile */
        height: 300px; /* Further reduce height for mobile */
    }
}




.info-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 40px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
    max-width: 960px;
    margin: 0 auto;
    margin-top: 50px;
    margin-bottom: 50px;
}

.info-box {
    text-align: center;
    width: 20%;
}

.info-title {
    color: #102A43;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.info-subtitle {
    color: #b0b0b0;
    font-size: 1rem;
    margin: 0;
}

/* Responsive styles */
@media (max-width: 768px) {
    .info-container {
        flex-direction: column;
        padding: 20px;
    }

    .info-box {
        width: 100%;
        margin-bottom: 20px;
    }
}



/* school benifit */


.section-wrapper {
    display: flex;
    flex-direction: row;
    align-items: stretch; /* Make children occupy the same height */
    justify-content: center;
    margin-top: 100px;
    margin-bottom: 20px;
    padding: 70px 200px;
    background-color: white;
    height: 470px;
  }

  .visual-area {
    flex: 1;
    max-width: 50%;
  }

  .visual-area img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Maintain aspect ratio and fill the container */
    border-radius: 5px;
    display: block;
  }

  .text-content {
    flex: 1;
    max-width: 50%;
    padding: 20px;
    overflow: auto; /* Allow scrolling */
    scrollbar-width: none; /* For Firefox */
    -ms-overflow-style: none; /* For Internet Explorer and Edge */
  }

  /* Hide scrollbar for WebKit browsers */
  .text-content::-webkit-scrollbar {
    display: none; /* Hide scrollbar */
  }

  .text-content h2 {
    font-size: 28px;
    color: #2d2d7c;
  }

  .text-content p {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 100px;
    text-align: justify;
}

  .nav-tabs {
    display: flex;
    margin-bottom: 20px;
  }

  .nav-item {
    padding: 10px 20px;
    margin-right: 10px;
    background-color: #f4f4f4;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
  }

  .nav-item.active,
  .nav-item:hover {
    background-color: #e0e0e0;
  }

  /* Responsive Design */
  @media (max-width: 768px) {
    .section-wrapper {
      flex-direction: column;
      padding: 20px;
       margin-bottom: 110px;
    }

    .visual-area,
    .text-content {
      max-width: 100%;
      flex: none;
      margin-bottom: 20px;
    }

    .visual-area img {
        margin-top: 130px;
      height: auto; /* Reset height for smaller screens */
    }

    .text-content h2 {
      font-size: 24px;
    }

    .text-content p {
      font-size: 14px;
    }

    .nav-tabs {
      flex-direction: column;
    }

    .nav-item {
      margin-bottom: 10px;
      width: 100%;
      text-align: center;
    }
  }

  @media (max-width: 480px) {
    .text-content h2 {
      font-size: 20px;
    }

    .text-content p {
      font-size: 13px;
    }

    .nav-item {
      padding: 8px 16px;
    }
  }

  /* copy moving container */


  .container-main {
    width: 100%; /* Full width */
    height: 310px; /* Fixed height */
    display: flex; /* Optional: Allows for alignment */
    align-items: center; /* Center vertically */
    justify-content: center; /* Center horizontally */
    overflow: hidden; /* Hide overflowing content */
    background-color: white;
    margin-bottom: 150px;
    margin-top: 91px;
  }
  
  .section-strip {
    background-color: white;
    width: calc(100% - 400px); /* 100% width minus 200px on each side */
    max-width: 800px; /* Maximum width of the section */
    margin: 0 auto; /* Center the strip section */
    height: 300px; /* Fixed height for the section */
    position: relative; /* Required for absolute positioning of images */
    border: 2px solid white; /* Border for definition */
    border-radius: 10px; /* Rounded corners */
     /* Subtle shadow for depth */
    padding: 10px; /* Padding inside the section */
    overflow: hidden; /* Hide overflow to keep moving images contained */
  }
  
  .container-images {
    display: flex; /* Use flexbox to arrange images in a row */
    animation: move-left 15s linear infinite; /* Animation settings */
    width: calc(400px * 5 + 40px); /* Adjust to total width of all images and margins (5 images + 4 margins) */
  }
  
  .wrapper-image {
    width: 400px; /* Set a fixed width for each image wrapper (adjusted) */
    height: 300px; /* Set a fixed height for each image wrapper (unchanged) */
    display: flex; /* Center image within the wrapper */
    align-items: center; /* Center vertically */
    justify-content: center; /* Center horizontally */
    margin-right: 50px; /* Add right margin for spacing between images */
  }
  
  /* Remove margin from the last image to prevent extra space at the end */
  .wrapper-image:last-child {
    margin-right: 0; /* No margin on the last image */
  }
  
  .image-moving {
    height: 100%; /* Set the height of the images to fill the wrapper height */
    width: 100%; /* Set the width of the images to fill the wrapper width */
    object-fit: cover; /* Ensure images cover the space without distortion */
    border-radius: 5px; /* Rounded corners for images */
  }

  .strip-title {
    text-align: center; /* Center the title */
    color: #ffffff; /* White text */
    font-size: 29px; /* Adjust font size */
    margin-bottom: 20px; /* Space between the title and image strip */
}

  
  /* Keyframes for the left movement animation */
  @keyframes move-left {
    0% {
      transform: translateX(100%); /* Start from the right (offscreen) */
    }
    100% {
      transform: translateX(-100%); /* Move to the left (offscreen) */
    }
  }
  
  /* Responsive styles */
  @media (max-width: 1000px) {
    .section-strip {
      width: calc(100% - 100px); /* Reduce width on smaller screens */
      margin: 0 50px; /* Smaller margins */
    }
  
    .wrapper-image {
      width: 250px; /* Reduce width for smaller screens */
      height: 200px; /* Reduce height for smaller screens */
    }
  }
  
  @media (max-width: 600px) {
    .section-strip {
      height: 200px; /* Adjust height for smaller screens */
    }
  
    .wrapper-image {
      width: 150px; /* Further reduce width for mobile */
      height: 150px; /* Further reduce height for mobile */
    }
  }
  
  .container-info {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 40px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .box-info {
    text-align: center;
    width: 20%;
  }
  
  .title-info {
    color: #102A43;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
  }
  
  .subtitle-info {
    color: #b0b0b0;
    font-size: 1rem;
    margin: 0;
  }
  
  /* Responsive styles */
  @media (max-width: 768px) {
    .container-info {
      flex-direction: column;
      padding: 20px;
    }
  
    .box-info {
      width: 100%;
      margin-bottom: 20px;
    }
  }
  
  /* Styling for title */

  
  .title-toppers {
    font-size: 2rem;  /* Default size for larger screens */
    font-weight: bold;
    color: #102A44;
    margin: 0;
    padding-top: 80px;
  }
  
  /* Responsive styles for the title */
  @media (max-width: 1000px) {
    .title-toppers {
      font-size: 1.8rem; /* Slightly smaller for medium screens */
    }
  }
  
  @media (max-width: 768px) {
    .title-toppers {
      font-size: 1.5rem; /* Smaller font size for tablets */
      margin-bottom: 15px; /* Adjust margin for spacing */
    }
  }
  
  @media (max-width: 480px) {
    .title-toppers {
      font-size: 1.2rem; /* Even smaller for mobile screens */
      margin-bottom: 10px;
    }
  }

  .container-main-title{
    text-align: center; /* Center the title */
    color: #ffffff; /* White text */
    font-size: 24px; /* Adjust font size */
    margin-bottom: 20px;
  }


  .strip-gallery-title{
    
        text-align: center;
        color: black;
        font-size: 29px;
        margin-bottom: 20px;
   
  }


  /* new sildwe */

  .carousel-item {
    position: relative;
    height: 600px;
    background-size: cover;
    background-position: center;
  }
  .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  /* Gradient overlay effect */
  .carousel-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
      to right,
      rgba(16, 42, 68, 0.95),
      rgba(0, 0, 60, 0.3),
      transparent
    );
    z-index: 1;
  }
  .carousel-caption {
    margin-bottom: 196px;
    position: absolute;
    z-index: 2;
    left: 20%;
    right: 10%;
    text-align: left;
    color: white;
  }

  /* Chatbot icon styling */
/* Chatbot icon styling */
.chatbot-icon {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    cursor: pointer;
    z-index: 1000;
    animation: bounce 2s infinite;
  }
  
  /* Image styling */
  .chatbot-icon img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
  }
  
  /* Chatbot window styling */
  .chatbot-window {
    display: none; /* Hidden by default */
    position: fixed;
    bottom: 90px; /* Position above the icon */
    right: 20px;
    width: 300px; /* Width of the chatbot window */
    height: 400px; /* Height of the chatbot window */
    background-color: #fff; /* White background for the window */
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.3);
    border-radius: 10px; /* Rounded corners */
    z-index: 1001; /* Above the icon */
    overflow: hidden; /* Hide overflow */
  }
  
  /* Chatbot header */
  .chatbot-header {
    background-color: #007bff; /* Header background color */
    color: white; /* Text color */
    padding: 10px; /* Padding inside the header */
    font-weight: bold; /* Bold text */
    display: flex; /* Flexbox for alignment */
    justify-content: space-between; /* Space between items */
    align-items: center; /* Center items vertically */
  }
  
  /* Close button */
  .close-btn {
    background: none; /* No background */
    border: none; /* No border */
    color: white; /* Text color */
    font-size: 16px; /* Font size */
    cursor: pointer; /* Pointer cursor */
  }
  
  /* Chatbot content */
  .chatbot-content {
    padding: 20px; /* Padding for the content area */
    height: calc(100% - 100px); /* Adjust height considering header and input */
    overflow-y: auto; /* Scroll if content overflows */
  }
  
  /* Bounce animation */
  @keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
      transform: translateY(0);
    }
    40% {
      transform: translateY(-20px);
    }
    60% {
      transform: translateY(-10px);
    }
  }
  
  /* Hover effect for the icon */
  .chatbot-icon:hover img {
    transform: scale(1.1); /* Scale up on hover */
  }
  
  /* Chatbot input area */
  .chatbot-input {
    display: flex; /* Flexbox layout for input and button */
    padding: 10px; /* Padding around input area */
    background-color: #f1f1f1; /* Light background for the input area */
    border-top: 1px solid #ccc; /* Divider line */
  }
  
  /* Text input styling */
  .chatbot-input input {
    flex: 1; /* Allow the input to take available space */
    padding: 12px 15px; /* Increased padding for a more spacious feel */
    border: none; /* Remove default border */
    border-radius: 25px; /* Rounded corners */
    background-color: #fff; /* White background for input */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    font-size: 14px; /* Font size for readability */
    transition: all 0.3s ease; /* Smooth transition */
  }
  
  /* Input focus effect */
  .chatbot-input input:focus {
    outline: none; /* Remove outline */
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.5); /* Highlight shadow on focus */
  }
  
  /* Send button styling */
  .chatbot-input button {
    padding: 12px 20px; /* Increased padding for button */
    border: none; /* Remove default border */
    background-color: #007bff; /* Primary button color */
    color: white; /* Text color */
    border-radius: 25px; /* Rounded corners */
    cursor: pointer; /* Pointer cursor */
    transition: background-color 0.3s, transform 0.3s; /* Transition for hover effect */
  }
  
  /* Button hover effect */
  .chatbot-input button:hover {
    background-color: #0056b3; /* Darker blue on hover */
    transform: translateY(-2px); /* Lift effect on hover */
  }
  
  /* Button active effect */
  .chatbot-input button:active {
    transform: translateY(0); /* Reset on click */
  }
  



  /* news section */

  .news-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    margin-bottom: 50px;
  }
  
  .news-section h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 30px;
    color: #333;
  }
  
  .news-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  
  .news-item {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
  }
  
  .news-item:hover {
    transform: translateY(-5px);
  }
  
  .news-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
  }
  
  .news-content {
    padding: 20px;
  }
  
  .news-category {
    font-size: 12px;
    font-weight: bold;
    color: #fff;
    background-color: #007bff;
    display: inline-block;
    padding: 5px 10px;
    border-radius: 4px;
    margin-bottom: 10px;
  }
  
  .news-category.academics {
    background-color: #28a745;
  }
  
  .news-category.sports {
    background-color: #dc3545;
  }
  
  .news-category.culture {
    background-color: #ffc107;
  }
  
  .news-title {
    font-size: 18px;
    font-weight: bold;
    margin: 10px 0;
    color: #333;
  }
  
  .news-date {
    font-size: 12px;
    color: #777;
    margin-bottom: 10px;
  }
  
  .news-description {
    font-size: 14px;
    color: #555;
  }
  
  /* Responsive Styles */
  @media (max-width: 768px) {
    .news-grid {
      grid-template-columns: 1fr;
      gap: 15px;
    }
  
    .news-item img {
      height: 120px;
    }
  
    .news-content {
      padding: 15px;
    }
  
    .news-title {
      font-size: 16px;
    }
  
    .news-description {
      font-size: 13px;
    }
  }

  .main-footer {
    background-color: #1a1a1a;
    color: white;
    padding: 40px 0;
    text-align: left;
}

.footer-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 0px 80px;
}

.footer-brand {
    flex: 1;
    max-width: 25%;
}

.footer-brand img {
    height: 60px;
}

.footer-details {
    flex: 2;
    display: flex;
    justify-content: space-between;
    max-width: 50%;
}

.footer-location, .footer-contact-info {
    flex: 1;
}

.footer-location h4, .footer-contact-info h4 {
    font-size: 18px;
    margin-bottom: 15px;
}

.footer-location p, .footer-contact-info p {
    font-size: 14px;
    line-height: 1.6;
    color: white;
}

.footer-contact-info a {
    color: #00bfff;
    text-decoration: none;
}

.footer-social-links {
    flex: 1;
    max-width: 10%;
    display: flex;
    gap: 15px;
    font-size: 24px;
}

.footer-social-links a {
    color: white;
    transition: color 0.3s ease;
}

.footer-social-links a:hover {
    color: #00bfff;
}

.footer-copyright {
    text-align: center;
    margin-top: 40px;
    font-size: 14px;
    border-top: 1px solid #444;
    padding-top: 20px;
}

.footer-copyright p {
    color: #ccc;
}
/* Responsive adjustments */
@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
        align-items: left;
    }

    .contact-item {
        width: 100%;
        margin-bottom: 30px;
    }
}

@media (max-width: 1024px) {
    .footer-container {
        padding: 0px 40px;
        flex-direction: column;
        align-items: left;
    }
    
    .footer-brand, .footer-details {
        max-width: 100%;
        text-align: left;
    }

    .footer-details {
        flex-direction: column;
        align-items: left;
        margin-top: 20px;
    }

    .footer-location, .footer-contact-info {
        max-width: 100%;
    }

    .footer-social-links {
        justify-content: left;
        margin-top: 20px;
    }
}

@media (max-width: 768px) {
    .footer-container {
        padding: 0px 20px;
    }

    .footer-brand img {
        height: 50px;
    }

    .footer-location h4, .footer-contact-info h4 {
        font-size: 16px;
    }

    .footer-location p, .footer-contact-info p {
        font-size: 12px;
    }

    .footer-social-links {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .footer-brand img {
        height: 40px;
    }

    .footer-location h4, .footer-contact-info h4 {
        font-size: 14px;
    }

    .footer-location p, .footer-contact-info p {
        font-size: 12px;
        text-align:left;
    }

    .footer-social-links {
        gap: 10px;
        font-size: 18px;
    }

    .footer-copyright p {
        font-size: 12px;
    }
}