body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
}/* General Styles */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    margin-top: 77px; 
}

/* Navigation Bar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #800000;
    color: white;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    padding: 0.5rem 1rem;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    height: 100px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.navbar .logo {
    display: flex;
    align-items: center;
}

.navbar .logo img {
    height: 50px;
    margin-right: 10px;
}

.navbar .logo span {
    font-size: 1.5rem;
    font-weight: bold;
}

.navbar .logo .tagline {
    font-size: 0.9rem;
    font-style: italic;
    color: #FFD700;
}

/* Navigation Links */
.nav-links {
    display: flex;
    gap: 1rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links li {
    position: relative;
    margin: 0; /* for removing extra space */
    padding: 0; /* for Removing extra space */
}

.nav-links a {
    color: rgb(240, 230, 230);
    text-decoration: none;
    font-size: 1rem;
    padding: 0.5rem;
    transition: background-color 0.3s;
    background-color: transparent;

}

.nav-links a:hover {
    background-color: rgba(70, 56, 56, 0.6);
    color: white;
    border-radius: 5px;
}

/* Dropdown Menu */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: maroon; /*  maroon background */
    list-style: none;
    padding: 0;
    margin: 0; /* Remove default margin */
    box-shadow: none; 
    z-index: 1000;
}

.dropdown-menu li {
    width: 100%; 
    margin: 0; /* Remove unwanted space */
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 0.5rem 1rem;
    color: white;
    background-color: maroon; /* maroon background */
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
    border: none; /*  no borders */
    outline: none; /* Remove  outline */
    
}

.dropdown-menu a:hover {
    background-color: #800000; /*  maroon for hover */
    color: #FFD700;
}

.nav-links li:hover .dropdown-menu {
    display: block;
}

.nav-links > li > a::after {
    content: '\25BC';
    font-size: 0.7rem;
    margin-left: 5px;
    display: inline-block;
    transform: rotate(0deg);
    transition: transform 0.3s;
}

.nav-links li:hover > a::after {
    transform: rotate(180deg);
}

                                       /* Hamburger Menu for Mobile */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger div {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
}

.nav-links.mobile {
    display: none;
    flex-direction: column;
    background-color: #800000;
    position: absolute;
    top: 100%;
    left: 0; /* Align the menu to the left  */
    width: 100%; 
    padding: 1rem;
    align-items: flex-start; /* Align items to  left */
}

.nav-links.mobile a {
    padding: 1rem;
    text-align: left; /* Align text to  left */
    font-size: 0.9rem;
}

.nav-links.mobile.active {
    display: flex;
}

                                               /* Mobile Dropdown Behavior */
.nav-links.mobile li {
    display: flex;
    flex-direction: column;
    position: relative;
}

.nav-links.mobile li.active > .dropdown-menu {
    position: static;
    width: 100%;
    margin: 0; /* Remove any spacing */
    padding: 0;
}

.nav-links.mobile .dropdown-menu {
    background-color: maroon; 
    width: 100%;
    padding-left: 1rem;
    margin: 0; /* Remove margin to align properly */
}

.tagline {
    color: white;
    font-family: "URW Chancery", cursive;
    font-size: 17px;
    font-weight: bold;
    padding-top: 10px;
}

/* Remove White Outline */
.dropdown-menu a:focus,
.dropdown-menu a:hover {
    outline: none; /* Ensure no outline appears on focus/hover */
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
    }

    .nav-links.mobile {
        width: 100%; /* Full width for visibility */
        align-items: flex-start; /* Align items to the left */
    }
}


                                                         /* Carousel Styling */

/*  styles for the slider */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
}

.slider {
    position: relative;
    max-width: 100%;
    height: 200px; 
    overflow: hidden;
    margin: 20px auto;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Container for all the slides */
.slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 300%; /* Adjust based on the number of slides */
}

/* Individual slide */
.slide {
    min-width: 100%;
    position: relative;
}

/* Images inside slides */
.slide img {
    width: 100%;
    height: 100% 100%;
    object-fit: cover;

}

/* Overlay text */
.overlay-text {
    position: absolute;
    bottom: 20px; /* Position text at the bottom */
    left: 20px;
    background: rgba(0, 0, 0, 0.6); /* Semi-transparent black background */
    color: #fff; /* White text */
    padding: 15px 20px;
    border-radius: 5px;
    max-width: 80%; /* Adjust width as needed */
    font-size: 1.2rem; /* Adjust text size */
}

/* Navigation buttons */
.nav-buttons {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 10px;
}

.nav-buttons .prev,
.nav-buttons .next {
    cursor: pointer;
    background-color: rgba(0,0,0,0.5);
    color: #fff;
    font-size: 2rem;
    padding: 10px;
    border-radius: 50%;
    user-select: none;
}

.nav-buttons .prev:hover,
.nav-buttons .next:hover {
    background-color: rgba(0,0,0,0.8);
}


                                                         /* cards */


/* Main section styles */
.leaders-section {
   /* background-color: #5e0303; 
  /* background-image: url(img/meetings-bg.jpg);*/
    padding:15px 0;
    text-align: center;
}

.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
}

/* Each leader block */
.leader {
   /* background-color:#F2E8C6;*/
  background-image: url(img/service-item-bg.jpg);
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    max-width: 400px;
    text-align: center;
    color: white;
}

.leader h2 {
    font-size: 24px;
    margin: 15px 0;
}

.leader p {
    font-size: 16px;
    line-height: 1.5;
}

.leader-img {
    border-radius: 50%;
    max-width: 100px;
    border: 4px solid white;
}

/* Button styles */
.btn {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background-color: white;
    color: #5e0303;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
}

.btn:hover {
    background-color: #ddd;
    color: #5e0303;
}

/* HR line at top */
.leaders-section::before {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: white;
    margin: 0 auto 30px auto;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
        align-items: center;
    }

    .leader {
        max-width: 90%;
    }
}
.torch-bearers{
    background-image: url(img/meetings-bg.jpg);
}

/*new section */

/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body Styling */
body {
    font-family: Arial, sans-serif;
    background-color: #cab3b7; /* Light cream background */
    color: #5c2a2e; /* Maroon color for text */
}

/* Torch Bearers Section */
.torch-bearers {
    text-align: center;
    padding: 20px;
}

/* Header Container Styling */
.heading-container {
    margin-bottom: 20px;
    position: relative;
}

.heading-container h1 {
    font-size: 2.5rem;
    color: #5c2a2e; /* Maroon color */
    margin-bottom: 10px;
}

.heading-container .logo {
    width: 80px;
    margin-bottom: 5px;
}

.heading-container p {
    font-size: 1rem;
    color: #5c2a2e;
}

/* Leader Section Layout */
.top-leaders, .bottom-leaders {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    justify-items: center;
    padding: 20px;
}

/* Individual Leader Card */
.leader-card {
    background-color: #eca2a2;
    border: 2px solid #5c2a2e; /* Maroon border */
    border-radius: 15px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.15);
    padding: 15px;
    max-width: 200px;
    text-align: center;
    transition: transform 0.3s ease;
}

.leader-card:hover {
    transform: scale(1.05); /* Zoom effect on hover */
}

/* Image Styling */
.leader-card img {
    width: 100%;
    height: auto;
    border-radius: 50%;
    border: 4px solid #3d0f22; /* Cream border around images */
    padding: 5px;
    margin-bottom: 10px;
}

/* Text Styling */
.leader-name {
    font-size: 1.2rem;
    font-weight: bold;
    color: #5c2a2e; /* Maroon color */
    margin-bottom: 5px;
}

.leader-title {
    font-size: 0.9rem;
    color: #5c2a2e;
}

/* Responsive Styling */
@media (max-width: 600px) {
    .heading-container h1 {
        font-size: 1.8rem;
    }

    .leader-card {
        max-width: 160px;
    }

    .top-leaders, .bottom-leaders {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}
                                 /* THIRD SECTION AFTER PRINCIPAL MESSAGE  FACTS OF COLLEGE*/

.container-fact {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    width: 100%;
    padding: 20px;
    justify-content: center;
    align-items: center;
    
}




.text-content {
    flex: 1 1 400px;
    margin: 20px;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: white;
}

.facts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.fact-box {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
}

.fact-box h2 {
    font-size: 2rem;
    color: #FFB500;
}

.fact-box p {
    font-size: 1.2rem;
    color: white;
    margin-top: 10px;
}


/* Responsive Design */

@media (max-width: 768px) {
    .container-fact{
        flex-direction: column;
    }

    .facts-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }

    .fact-box h2 {
        font-size: 1.5rem;
    }

    .fact-box p {
        font-size: 1rem;
    }
}

  /* new overlay style */

  /* Container for the whole section */
.container-fact {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    width: 100%;
    padding: 20px;
    justify-content: center;
    align-items: center;
    margin-bottom: 0;
}

/* Text content section */
.text-content {
    flex: 1 1 400px;
    margin: 20px;
}

h1 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: white;
}

/* Grid for facts */
.facts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

/* Fact box styling */
.fact-box {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
}

.fact-box h2 {
    font-size: 2rem;
    color: #FFB500;
}

.fact-box p {
    font-size: 1.2rem;
    color: white;
    margin-top: 10px;
}

          /* Styling for image content container */
.image-content {
    flex: 1 1 400px;
    margin: 20px;
}

                                           /* Image container styling for overlay */
.image-container {
    position: relative;
    width: 100%;
    max-width: 600px; 
    overflow: hidden;

}

.image-container img {
    width: 100%;
    height: 600px;
    display: block;
}

/* Overlay styling */
.overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.6); /* Dark transparent overlay */
    color: white;
    padding: 20px;
    opacity: 0; 
    transition: opacity 0.5s ease; /* Fade-in effect on hover */
    box-sizing: border-box;
    text-align: center;
}

/* Show the overlay when hovering over the image container */
.image-container:hover .overlay {
    opacity: 1;
}

/* Styling for the overlay text */
.overlay h1 {
    font-size: medium;
    font-weight: normal;
    line-height: 1.5;
}

/* Description text below the image */
.description {
    color: goldenrod;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
    font-size: 2rem;
    text-decoration: dotted;
    text-align: center;
    padding-top: 15px;
}
                                                      /* courses cards css */ 
.courses-section {
    position: relative;
    padding: 50px 20px;
    background-image: url('img/meetings-bg.jpg'); 
    color: #fff;
    text-align: center;
    background-repeat: no-repeat;
    background-size: cover;
    margin-top: 0;
}

.courses-section h2 {
    font-size: 36px;
    color: #fffACD; /* Maroon color */
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.courses-section h2::after {
    content: '';
    display: block;
    width: 60%;
    height: 3px;
 /* Black color */ /*Hr LINE*/
    margin-top: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5); /* Shadow effect */
    margin: 10px auto;


}

.courses-container {
    display: flex;
    overflow: hidden;
    position: relative;
}

.scroll-wrapper {
    display: flex;
    transition: transform 0.3s linear;
}

.course-card {
    min-width: 300px;
    margin: 10px;
    border-radius: 10px;
    overflow: hidden;
    background: linear-gradient(to bottom, #6b6464, #c9a7a7);
    color: #000;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
    height: 320px;
}

.course-card:hover {
    transform: scale(1.05);
}

.course-card img {
    width: calc(100% - 20px); /* Add margin */
    height: 160px; 
    object-fit: cover;
    border-radius: 15px; /* corners rounded */
    margin: 10px auto; 
    display: block;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.course-content {
    padding-bottom: 10px; 
    padding-top: 0;
}

.course-title {
    font-size: 20px;
    margin-bottom: 5px;
    font-family: lora;
    
}

.course-description {
    font-size: 14px;
    margin-bottom: 10px; 
}

.read-more {
    display: inline-block;
    padding: 10px 15px;
    color: #fff;
    background-color: #8d6d64;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.read-more:hover {
    background-color: #7c90aa;
}

.read-more-bottom {
    display: block;
    margin: 30px auto;
    padding: 10px 20px;
    background: #693b3b;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    width: 40%;
}

.read-more-bottom:hover {
    background: #660000;
    text-decoration: none;
    color: #f5e8e8;

}
/*   amenites */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f9fa;
}

/* Section with Reduced Opacity Gradient & Background Image */
.info-section {
    display: flex;
    justify-content: space-around;
    gap: 30px;
    padding: 50px;
    background: linear-gradient(to right, rgba(59, 53, 53, 0.6), rgba(63, 58, 58, 0.6)), 
                url('img/dav1.jpg'); 
    background-size: cover;
    background-position: center;
    box-shadow: 0px -5px 15px rgba(0, 0, 0, 0.3), 
                0px 5px 15px rgba(0, 0, 0, 0.3); /* Shadow at top & bottom */
}

.info-box {
    width: 22%;
    background-color: rgba(245, 222, 179, 0.9); /* Semi-transparent crème */
    padding: 20px;
    text-align: center;
    color: #8d0f0f91; /* Maroon text */
    box-shadow: 4px 4px 15px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.info-box:hover {
    transform: scale(1.05);
    box-shadow: 6px 6px 20px rgba(0, 0, 0, 0.4);
}

.info-box i {
    font-size: 40px;
    margin-bottom: 10px;
    color: #800000;
}

.info-box h3 {
    font-size: 22px;
    font-weight: bold;
}

.info-box p {
    font-size: 16px;
    line-height: 1.5;
    flex-grow: 1;
    color: #5e0303;
    font-family: LORA;
}

/* Read More Button */
.read-more {
    display: inline-block;
    margin-top: auto;
    padding: 8px 15px;
    background-color: #800000;
    color: #f5deb3;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background0.3s ease, transform 0.3s ease;
}

.read-more:hover {
    background-color: #660000;
    transform: scale(1.1);
    text-decoration: none;
    COLOR:WHITE;
}

@media (max-width: 1024px) {
    .info-section {
        flex-direction: column;
        align-items: center;
    }

    .info-box {
        width: 80%;
        margin-bottom: 20px;
    }
}

                                                         /* location css */
.map-section {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 45vh;
   

  }

  .map-container {
    width: 100%;
    max-width: 1400px;
    height: 300px;
    border: 2px solid #ccc;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }

  .map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
  }



                                                          /* footer*/
/* Footer Styles */
.footer {
    background-color: #333; /* Grey background */
    color: white;
    padding: 20px 0;
  }

  .footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
  }

  .footer-left,
  .footer-courses,
  .footer-contact {
    flex: 1;
    padding: 0 20px;
    box-sizing: border-box;
  }

  .footer-left .logo {
    max-width: 150px;
    margin-bottom: 15px;
  }

  .footer-left .address {
    font-size: 16px;
    line-height: 1.5;
  }

  .footer-courses h3,
  .footer-contact h3 {
    font-size: 18px;
    color: #F28D8D; /* Light Red */
    margin-bottom: 10px;
    padding-bottom: 1px;
  }

  .footer-courses ul {
    list-style-type: none;
    padding-left: 0;
  }

  .footer-courses li {
    margin-bottom: 8px;
  }

  .footer-courses a,
  .footer-contact a {
    color: white;
    text-decoration: none;
  }

  .footer-courses a:hover,
  .footer-contact a:hover {
    text-decoration: underline;
  }

  .footer-contact p {
    margin: 10px 0;
    font-size: 16px;
    margin-bottom: 10px;

  }

  /* Icons  Email, WhatsApp, and Enquire Now */
  .footer-contact .icon {
    margin-right: 10px;
  }

  /* Instagram Section */
  .footer-instagram {
    margin-top: 15px;
  }

  .footer-instagram a {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
  }

  .footer-instagram i {
    margin-right: 10px;
    font-size: 20px;
  }

  /* Horizontal Line */
  .light-maroon-line {
    border: 0;
    height: 2px;
    background-color: #F28D8D; ; /* Light maroon color */
    margin: 10px 0; 
    margin-right: 60px;
  }

  /* Footer Bottom */
  .footer-bottom {
    background-color: maroon;
    text-align: center;
    padding: 10px;
  }

  .footer-bottom p {
    margin: 0;
    color: white;
  }



/*                            NCC SECTION                               */

.section {
    position: relative;
    width: 100%;
    min-height: 150vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    color: white;
    padding-top: 80px;
    padding-bottom: 50px;
    overflow: hidden;
}
.section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(102, 124, 87, 0.8), rgba(102, 124, 87, 0.8)), url('C:/Users/Home/Desktop/nav try/logo/download.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
}
.logo-container {
    position: absolute;
    top: 20px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    color: white;
    z-index: 2;
}
.hr-line-container {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: center;
    margin-bottom: 10px;
}
.hr-line {
    width: 30%;
    height: 2px;
    background: rgba(255, 255, 255, 0.7);
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.3);
    margin: 0 15px;
}

.logo {
    /* width: 120px; */
    height: 90px;
    transition: transform 0.3s ease-in-out;
}
.title {
    font-size: 24px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
    margin-bottom: 10px;
}
.hr-line-below {
    width: 40%;
    height: 2px;
    background: rgba(255, 255, 255, 0.7);
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.3);
    margin-top: 10px;
}
.content {
    position: relative;
    max-width: 90%;
    background: rgba(0, 0, 0, 0.6);
    padding: 20px;
    border-radius: 10px;
    text-align: left;
    margin-top: 110px;
}
.content h2 {
    font-size: 22px;
    text-transform: uppercase;
    margin-bottom: 10px;
    color: aqua;
}
.content p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 10px;
    font-family: monolisa;
    font-weight: normal;
}
li{
    margin-left: 8px;
    list-style: none;
}
/* slider */
.krm-section {
    background-color: #4B5320; /* Military Green */
    color: white;
    padding: 50px 0;
}

.krm-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    padding: 0 20px;
}

.krm-left {
    flex: 1;
    min-width: 300px;
}

/* Heading and List Styling */
.krm-heading {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 20px;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.krm-list {
    list-style: none;
    padding: 0;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.krm-list li {
    font-size: 18px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.krm-list i {
    color: #FFD700; /* Gold tick */
    margin-right: 10px;
    font-size: 20px;
}

.krm-right {
    flex: 1;
    min-width: 300px;
}

/* Bootstrap Slider Customization */
.carousel {
    max-width: 500px;
    border-radius: 10px;
    overflow: hidden;
}

.carousel-inner img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
}

/* Animation Effect */
.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .krm-container {
        flex-direction: column;
        text-align: center;
    }

    .krm-left, .krm-right {
        width: 100%;
    }

    .carousel {
        max-width: 100%;
    }
}

                              /*                    PRESIDENT DESK    */


@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background: url('C:/Users/Home/Desktop/nav try/logo/meetings-bg.jpg') no-repeat center center/cover;
}

.president-desk {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(rgba(128,0,0,0.5) 20%, rgba(0,0,0,0) 80%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    background-color:#333;
}

.president-desk img {
    width: 60px;
    height: 60px;
}

.animated-heading {
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: 1px;
    animation: fadeIn 2s ease-in-out;
}

.desk-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    max-width: 1100px;
    margin: 40px auto;
    padding: 30px;
    background: rgba(231, 224, 224, 0.9);
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
}
p{
    font-family: Arial, Helvetica, sans-serif;
    
}
.president-photo {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
    border: 3px solid #800000;
    transition: transform 0.3s ease-in-out;
}

.president-photo:hover {
    transform: scale(1.05);
}

.message-content {
    text-align: left;
    flex: 1;
}

.message-content h2 {
    color: #800000;
    font-size: 2rem;
    margin-bottom: 5px;
}

.message-content h3 {
    color: #a52a2a;
    font-weight: 700;
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.message-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4b2e2e;
    text-align: justify;
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .desk-container {
        flex-direction: column;
        text-align: center;
        padding: 30px;
    }

    .president-photo {
        width: 180px;
        height: 180px;
        margin: 0 auto;
    }

    .message-content {
        text-align: center;
    }
}

              /*                        COURSES PAGE  CSS                         */
.header {
    position: relative;
    width: 100%;
    height: 200px;
    background: url('img/books.jpg') center/cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-transform: uppercase;
    font-size: 2rem;
    font-weight: bold;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.8);
}
.header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(128,0,0,0.5) 20%, rgba(0,0,0,0) 80%);
}
.header h1 {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 0 15px;
}
.diploma h1{
    text-align: center;
    color: maroon;
    font-size: 38px;
}

.diploma h1:hover{ 
    color:black;
 }

 .diploma p{
    text-align: center;
    font-size: 26px;
    color: maroon;
    font-weight: bolder;
    padding-bottom: 0px;
 }

.oneyear{
font-size: 32px;
color: maroon;
font-family: sans-serif;
}
.courses {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 20px; 
}
.card {
    background: white;
    width: 350px;
    margin: 15px;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
}
.card:hover {
    transform: scale(1.05);
}
.card h2 {
    color: maroon;
}
.card p {
    color: #333;
}
@media (max-width: 768px) {
    .header {
        height: 150px;
        font-size: 1.5rem;
    }
    .courses {
        flex-direction: column;
        align-items: center;
    }
}
.justify{
    text-align: justify;

} 
/*                                  DIPLOMA SECTION CSS                  */

.header {
    position: relative;
    width: 100%;
    height: 200px;
    background: url('img/books.jpg') center/cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-transform: uppercase;
    font-size: 2rem;
    font-weight: bold;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.8);
}
.header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(128,0,0,0.5) 20%, rgba(0,0,0,0) 80%);
}
.header h1 {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 0 15px;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9f5ed;
    text-align: center;
}
.diploma-section {
    padding: 50px 20px;
}
.diploma-section h2 {
    color: maroon;
    font-size: 2em;
    margin-bottom: 20px;
}
.diploma-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}
.diploma-card {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
    width: 250px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.diploma-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}
.diploma-card img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
}
.diploma-card h3 {
    color: maroon;
    font-size: 1.2em;
    margin-bottom: 10px;
}
.diploma-card p {
    color: #333;
    font-size: 0.9em;
    margin: 5px 0;
}
@media (max-width: 768px) {
    .diploma-container {
        flex-direction: column;
        align-items: center;
    }
}


/* features css  */
body {
    font-family: Arial, sans-serif;
    background-color: #f5ece1; /* Creme Background */
    margin: 0;
    padding: 0;
}
.features-section {
    background-color: #662525; /* Maroon */
    color: #f5ece1; /* Creme Text */
    padding: 40px;
    text-align: center;
}
.features-container {
    max-width: 800px;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}
.feature-item {
    display: flex;
    align-items: center;
    background-color: #f5ece1; /* Creme */
    color: #800000; /* Maroon Text */
    padding: 10px 15px;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    width: fit-content;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
}
.feature-item::before {
    content: "✔";
    color: #800000; /* Maroon Tick */
    font-weight: bold;
    margin-right: 10px;
}

                         /*       principal desks CSS STYLES  */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f0e6;
}

.principal-section {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f5f0e6;
    padding: 40px;
    gap: 20px;
    flex-wrap: wrap;
    position: relative;
}

.principal-image {
    text-align: center;
    flex: 1;
    min-width: 250px;
}

.principal-image img {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    border: 4px solid #800000;
    object-fit: cover;
}

.principal-image h3 {
    margin: 10px 0 5px;
    color: #800000;
    font-size: 20px;
}

.principal-image p {
    color: #555;
    font-size: 16px;
}

.principal-message {
    flex: 2;
    min-width: 300px;
    padding: 20px;
    background: #fff;
    border-left: 5px solid #800000;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
}

/* Logo above "FROM PRINCIPAL'S DESK" */
.logo-container {
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
 background: #fff;
    padding: 10px;
    height: 10px;
    border-radius: 50%;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
margin-top: 7px;
width: 10px;

}

.logo-container img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.principal-message h2 {
    color: #800000;
    font-size: 26px;
    margin-bottom: 10px;
    position: relative;
    padding-top: 8px;
}

/* Horizontal line under "FROM PRINCIPAL'S DESK" */
.principal-message h2::after {
    content: "";
    display: block;
    width: 80%;
    height: 2px;
    background-color: #800000;
    margin: 8px auto 15px;

}

.principal-message p {
    color: #444;
    font-size: 18px;
    line-height: 1.6;
    text-align: justify;
}

/* Horizontal line under "Dr. Anoop Kumar" */
.principal-image h3::after {
    content: "";
    display: block;
    width: 50%;
    height: 2px;
    background-color: #800000;
    margin: 5px auto;
}

p:hover {
    color: maroon;
}

@media (max-width: 768px) {
    .principal-section {
        flex-direction: column;
        text-align: center;
    }

    .principal-message {
        border-left: none;
        border-top: 5px solid #800000;
        padding: 15px;
    }

    .logo-container {
        top: -40px;
    }

    .logo-container img {
        width: 70px;
        height: 70px;
    }
}

/*                      INFRASTRUCTURE CSS STYLES                */
body {
    font-family: 'Playfair Display', serif;
    margin: 0;
    padding: 0;
    background-color: #c599a2;
}
.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    padding: 50px 0;
}
.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #800000;
    margin-bottom: 40px;
}
.infra-item {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
    background: #fff0f3;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 5px 15px rgba(128, 0, 0, 0.2);
        min-height: 350px; /* Adjust based on content */
    
}
.infra-item:nth-child(even) {
    flex-direction: row-reverse;
}
.infra-item img {
    width: 50%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
    border: 2px solid #800000;
    transition: 0.3s ease-in-out;
}
/* Flash Effect on Image Hover */
.infra-item img:hover {
    animation: flash 0.5s alternate infinite;
}
@keyframes flash {
    0% { opacity: 1; }
    50% { opacity: 0.6; }
    100% { opacity: 1; }
}
.infra-text {
    width: 50%;
    padding: 20px;
}
.infra-text h3 {
    font-size: 1.8rem;
    color: #d63384;
    margin-bottom: 10px;
    font-family: 'Roboto', sans-serif;
    position: relative;
    display: inline-block;
}
.infra-text hr {
    border: none;
    height: 3px;
    background-color: #ff69b4;
    margin: 5px 0 15px;
    width: 100%;
}
.infra-text p {
    font-size: 1.1rem;
    color: #333;
    font-family: 'Arial', sans-serif;
    text-align: justify;
    line-height: 1.6;
}
.infra-text ul {
    list-style: none;
    padding: 0;
    font-family: 'Arial', sans-serif;
}
.infra-text ul li {
    font-size: 1rem;
    color: #4a4a4a;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}
.infra-text ul li i {
    color: #800000;
    margin-right: 8px;
}
@media (max-width: 768px) {
    .infra-item {
        flex-direction: column !important;
        text-align: center;
    }
    .infra-item img, .infra-text {
        width: 100%;
    }
    .infra-text hr {
        width: 100%;
    }
}

                                 /*             DAV COLLEGIATE SECTION  */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
}
.streams-section {
    text-align: center;
    padding: 60px 20px 30px;
    background: linear-gradient(rgba(54, 50, 50, 0.6), rgba(0, 0, 0, 0.5)), url('img/meetings-bg.jpg') no-repeat center center/cover;
    color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 1700px;
     margin:auto; 
    border-radius: 8px;
    overflow: hidden;
    min-height: 300px;
}
.streams-section h2 {
    font-size: 24px;
    color: #fff;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(-20px);
    animation: fadeIn 1s ease-out forwards;
}
.streams-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.stream-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px;
    border: 2px solid #fff;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.2);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 1s ease-out forwards;
}
.stream-box:nth-child(1) { animation-delay: 0.3s; }
.stream-box:nth-child(2) { animation-delay: 0.6s; }
.stream-box:nth-child(3) { animation-delay: 0.9s; }
.stream-box:nth-child(4) { animation-delay: 1.2s; }
.stream-box i {
    font-size: 40px;
    color: #fff;
    margin-bottom: 10px;
}
.stream-box h3 {
    font-size: 20px;
    color: #fff;
    margin: 0;
}
@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@media (max-width: 600px) {
    .streams-container {
        grid-template-columns: 1fr;
    }
}
/* SHINING STARS */

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f8f8;
    text-align: center;
}
p {
    color: #f5f5f5;
}
.stars-section {
    padding: 50px 20px;
    position: relative;
}
.stars-section h2 {
    font-size: 2em;
    color: rgb(247, 243, 243);
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(-50px);
    animation: fadeIn 1s forwards;
}
@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.stars-container {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 10px;
    scrollbar-width: none;
}
.stars-container::-webkit-scrollbar {
    display: none;
}
.star-card {
    flex: 0 0 auto;
    width: 150px;
    text-align: center;
    scroll-snap-align: start;
}
.star-card img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid maroon;
}
.star-card p {
    margin-top: 10px;
    font-size: 1em;
    color: #333;
    font-weight: bold;
}


                                    /*           NSS SECTION CSSS               */

body  {
    font-family: 'Georgia', serif;
    margin: 0;
    padding: 0;
    background: url('') no-repeat center center/cover;
    color: #333;
    text-align: center;
    position: relative;
}
body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(255, 240, 240, 0.8), rgba(255, 240, 240, 0.8));
    z-index: -1;
}
.logo-container {
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.logo-container::before, .logo-container::after {
    content: "";
    flex: 1;
    height: 2px;
    background: maroon;
    margin: 0 0px;
}
/* .logo {
    /* width: 150px;
    height: auto; */
/* } */ */
.title {
    font-size: 36px;
    font-weight: bold;
    color: maroon;
}
.motto {
    font-style: italic;
    color: maroon;
    font-size: 18px;
}
.about-nss, .nss-benefits, .nss-camp, .nss-activities {
    padding: 20px;
    background: white;
    margin: 20px auto;
    width: 80%;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.about-nss p{

    font-size: 25px;
    text-align: justify;
    font-family: 'Lora', serif;
    color: #3d0f22;
}
.section-title {
    font-size: 32px;
    color: #8b0000;
    font-weight: bold;
}
.image-gallery {
    display: flex;
    justify-content: center;
    gap: 15px;
}
.zoom-img {
    width: 220px;
    height: auto;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out;
}
.zoom-img:hover {
    transform: scale(1.2);
}
.video-container {
    margin-top: 20px;
}
.video-container iframe {
    width: 80%;
    height: 400px;
    border-radius: 10px;
}

.nss-activities {
    padding: 50px 20px;
    background: #fff;
}
.section-title {
    font-size: 2.5em;
    color: #500101;
    margin-bottom: 20px;
    font-weight: 700;
    opacity: 0;
    transform: translateY(-50px);
    animation: fadeInDown 1s ease-out forwards;
}
.section-title p{
    color: #5c2a2e;
}
.activities-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1000px;
    margin: auto;
    padding-top: 20px;
    position: relative;
}
.activity {
    font-size: 1.2em;
    color: #333;
    font-weight: 700;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease-out forwards;
    position: relative;
}
.activity i {
    font-size: 3em;
    color: #8b0000;
    display: block;
    margin-bottom: 10px;
}
.activity p {
    font-size: 1.1em;
    color: #555;
    font-weight: 400;
}
.column-divider {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #8b0000;
}
.divider-1 { left: 25%; }
.divider-2 { left: 50%; }
.divider-3 { left: 75%; }

@media (max-width: 768px) {
    .activities-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .column-divider {
        display: none;
    }
    .activity {
        font-size: 1.5em;
    }
    .activity i {
        font-size: 4em;
    }
}
p{
    font-size: 20px;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.nss-gallery {
    max-width: 100%;
    padding: 20px;
}
.nss-gallery h2 {
    font-size: 2.5em;
    color: #800000;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.nss-gallery h2::before {
    content: '\1F396'; 
    font-size: 1.2em;
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 10px;
    padding: 10px;
}
.gallery-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out;
}
.gallery-grid img:hover {
    transform: scale(1.1);
}
@media (max-width: 768px) {
    .nss-gallery h2 {
        font-size: 2em;
    }
}
/*      BENEFITS  */
body {
    font-family: 'Lora', serif;
    background-color: #f8f1e4; 
    margin: 0;
    padding: 0;
    text-align: center;
}


/* Section Styling */
.nss-benefits {
    padding: 50px 20px;
    font-family: 'Lora', serif;
}

/* Section Heading */
.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5em;
    color: maroon;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 10px;
}

.section-title i {
    font-size: 1.5em;
    color: maroon;
}

.section-title-hr {
    width: 250px;
    height: 3px;
    background-color: maroon;
    border: none;
    margin: 5px auto 30px;
}

/* Benefits Grid */
.benefits-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    padding: 20px;
    max-width: 1000px;
    margin: auto;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    font-size: 1.2em;
    font-weight: 600;
    color: #4a1a1a;
    transition: transform 0.3s ease-in-out;
}

.benefit-item:hover {
    transform: translateX(10px);
    color: #991f1f;
}

.benefit-icon {
    font-size: 2em;
    color: maroon;
}

/* Responsive */
@media (max-width: 768px) {
    .benefits-container {
        grid-template-columns: 1fr;
        text-align: left;
    }
}
/* Popup Background Overlay */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Dark Transparent Overlay */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.4s ease-in-out, visibility 0.4s;
}

/* Popup Box */
.popup-box {
    background: whitesmoke;
    width: 90%;
    max-width: 500px;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    position: relative;
    transform: translateY(-30px);
    transition: transform 0.4s ease-in-out;
}

/* Popup Heading */
.popup-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.8em;
    color: maroon;
    font-weight: 700;
    margin-bottom: 10px;
}

/* Popup Text */
.popup-text {
    font-size: 1.1em;
    color: #4a1a1a;
    line-height: 1.6;
}

/* Close Button */
.popup-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 1.5em;
    cursor: pointer;
    color: maroon;
    transition: color 0.3s;
}

.popup-close:hover {
    color: #991f1f;
}

/* Show Popup */
.popup-overlay.active {
    visibility: visible;
    opacity: 1;
}

.popup-box.active {
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 500px) {
    .popup-box {
        width: 70%;
        padding: 20px;
    }
    .popup-title {
        font-size: 1.5em;
    }
    .popup-text {
        font-size: 1em;
    }
}
                                  /*          vission  and   mission       */


@import url('https://fonts.googleapis.com/css2?family=Lora:wght@400;600&display=swap');
        
body {
    font-family: 'Lora', serif;
    margin: 0;
    padding: 0;
    background-image: url('img/meetings-bg.jpg');
}

.banner-container {
    text-align: center;
    background: rgb(114, 107, 107);
    padding: 25px;
    color: white;
    font-size: 32px;
    font-weight: bold;
}

.wrapper-container {
    padding: 50px 25px;
    max-width: 1100px;
    margin: auto;
}

.block-section {
    margin-bottom: 50px;
    padding: 25px;
    background: #f9f9f9;
    border-left: 8px solid maroon;
}

.block-section h3 {
    font-size: 32px;
    color: maroon;
    margin-bottom: 20px;
}

.block-section p, .goal-list li, .aspiration-list li {
    font-size: 20px;
    color: #333;
    text-align: justify;
    line-height: 1.6;
}

.goal-list, .aspiration-list {
    list-style: none;
    padding-left: 0;
}

.goal-list li::before, .aspiration-list li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: maroon;
    margin-right: 10px;
}

@media (max-width: 768px) {
    .wrapper-container {
        padding: 30px 15px;
    }
    .block-section {
        padding: 20px;
    }
    .block-section h3 {
        font-size: 24px;
    }
    .block-section p, .goal-list li, .aspiration-list li {
        font-size: 16px;
    }
}



                                              /* NCC SECTION STYLE  */
.ncc-page {
    margin: 0;
    padding: 0;
    font-family: 'Lora', serif;
    background-color: #f0f9f9;
  }

  .ncc-section {
    background: #8ecae6;
    padding: 12px 10px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 20;
  }

  .ncc-logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 8px;
  }

  .line {
    width: 140px;
    height: 2px;
    background-color: #2e7d32;
  }

  .ncc-logo {
    width: 70px;
    height: auto;
  }

  .ncc-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #1b5e20;
    margin-top: 3px;
  }

  .ncc-motto {
    font-size: 1rem;
    color: #c62828;
    margin-top: 5px;
    font-style: italic;
    font-family: 'Georgia', serif;
    font-weight: 700;
  }

  .carousel {
    margin: 0;
    max-width: 100%;
    position: relative;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  }

  .carousel-inner {
    height: 500px;
  }

  .carousel-item img {
    height: 100%;
    width: 100%;
    object-fit: cover;
  }

  .carousel-overlay-text {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 30%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: left;
    padding: 20px;
    z-index: 10;
    font-family: 'Lora', serif;
  }

  .animated-text {
    animation: slideDown 1.2s ease-out;
  }

  @keyframes slideDown {
    0% {
      opacity: 0;
      transform: translateY(-50px);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes slideInRight {
    0% {
      opacity: 0;
      transform: translateX(100px);
    }
    100% {
      opacity: 1;
      transform: translateX(0);
    }
  }

  .text-title {
    font-size: 1.8rem;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 10px;
  }

  .text-body {
    font-size: 1rem;
    color: #ffffff;
    line-height: 1.5;
    margin-bottom: 15px;
  }

  .learn-btn {
    background-color: #8ecae6;
    border: none;
    color: #fff;
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: bold;
    transition: 0.3s ease;
    font-family: 'Lora', serif;
    text-decoration: none;
  }

  .learn-btn:hover {
    background-color: #ffffff;
    color: #000000;
    text-decoration: none;
  }

  .carousel-indicators [data-bs-target] {
    background-color: #8ecae6;
    width: 10px;
    height: 10px;
    border-radius: 100%;
  }

  .carousel-indicators {
    bottom: 10px;
  }

  @media (max-width: 768px) {
    .carousel-inner {
      height: 300px;
    }

    .carousel-overlay-text {
      width: 100%;
      height: 82%;
      left: 0;
      top: 0;
      padding: 15px 10px 5px;
      text-align: center;
      background-color: rgba(0, 0, 0, 0.6);
    }

    .animated-text {
      animation: slideInRight 1s ease-out;
    }

    .text-title {
      font-size: 1.4rem;
      color: #ffffff;
    }

    .text-body {
      font-size: 0.95rem;
      color: #ffffff;
    }

    .carousel-indicators {
      display: none;
    }
  }

  .ncc-info-section {
    background-color: #e0f7f7;
    color: #000000;
    padding: 35px 20px 30px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2); 
  }

  .ncc-info-section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    font-weight: bold;
    color: #00796b;
    text-align: right;
  }

  .ncc-info-section p {
    font-size: 1rem;
    line-height: 1.7;
  }

  .career-section {
    background-color: #007b7f;
    padding: 50px 20px;
    text-align: center;
  }

  .career-section h2 {
    font-size: 36px;
    color: #ffffff;
    margin-bottom: 40px;
  }

  .card-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    max-width: 1000px;
    margin: 0 auto;
  }

  .career-card {
    background: linear-gradient(135deg, #00b4d8, #48cae4);
    color: white;
    border-radius: 15px;
    padding: 30px 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15); 
  }

  .career-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25); 
  }

  .career-card i {
    font-size: 40px;
    margin-bottom: 15px;
    color: white;
  }

  .career-card h3 {
    font-size: 20px;
    margin-top: 10px;
    font-weight: bold;
  }

  @media (max-width: 600px) {
    .career-section h2 {
      font-size: 28px;
    }
  }



   .ncc-benefits-section {
  padding: 60px 20px;
  background-color: #f9f9ff;
  font-family: 'Merriweather', serif;
}

.ncc-benefits-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.ncc-benefits-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.ncc-benefits-text {
  flex: 1;
  max-width: 600px;
  opacity: 0;
  transform: translateY(-50px);
  transition: opacity 1s ease, transform 1s ease;
}

.ncc-benefits-text.slide-top {
  opacity: 1;
  transform: translateY(0);
}

.ncc-benefits-text h2 {
  font-size: 32px;
  color: #002b5b;
  margin-bottom: 20px;
  font-family: 'Lora', serif;
}

.ncc-benefits-text ul {
  list-style: none;
  padding-left: 0;
  font-size: 18px;
  line-height: 1.8;
  color: #333;
}

.ncc-benefits-text ul li {
  margin-bottom: 12px;
  text-align: justify;
}

@media (max-width: 768px) {
  .ncc-benefits-container {
    flex-direction: column;
    text-align: center;
  }

  .ncc-benefits-text {
    padding-top: 20px;
  }

  .ncc-benefits-text ul {
    font-size: 16px;
  }
  .ncc-info-section h2{
    font-size: 25px;
  }
}


/* battalion section */

body {
    font-family: 'Lora', serif;
  }

  .ncc-battalion-section {
    background: linear-gradient(to bottom right, rgba(0, 128, 128, 0.8), rgba(0, 100, 100, 0.85)),
                url('img/ncc flag.jpeg') no-repeat center center/cover;
    padding: 70px 20px;
    color: #fff;
    text-align: center;
  }

  .ncc-battalion-title {
    font-size: 2.8em;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #fff;
  }

  .ncc-battalion-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
  }

  .ncc-battalion-card {
    background-color: rgba(255, 255, 255, 0.07);
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    padding: 30px 25px;
    border-radius: 18px;
    width: 320px;
    backdrop-filter: blur(6px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, background 0.3s ease;
  }

  .ncc-battalion-card:hover {
    background-color: rgba(255, 255, 255, 0.13);
    transform: scale(1.05);
  }

  .ncc-battalion-card h3 {
    font-size: 1.4em;
    color: #ffffff;
    margin-bottom: 8px;
  }

  .ncc-battalion-card h4 {
    font-size: 1.05em;
    color: #FFD700; 
    margin-bottom: 15px;
    font-weight: 600;
    text-transform: uppercase;
  }

  .ncc-battalion-card p {
    font-size: 1.05em;
    color: #e0e0e0;
    line-height: 1.6;
  }

  .seat-info {
    margin-top: 12px;
    font-weight: bold;
    color: #b0f0e9;
    font-size: 1em;
  }

  @media (max-width: 768px) {
    .ncc-battalion-card {
      width: 100%;
    }

    .ncc-battalion-title {
      font-size: 2.2em;
    }
  }

  @media (min-width: 1024px) {
    .ncc-battalion-card {
      width: 400px;
    }
  }

                                                 /* gallery csss  */

 body {
    scroll-behavior: smooth;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    background: 
      linear-gradient(rgba(253, 247, 240, 0.7), rgba(253, 247, 240, 0.92)), 
      url('img/frontdav.jpg') no-repeat center center / cover;
  }

  .header-section {
    text-align: center;
    padding: 3rem 0.8rem;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(rgba(106, 13, 13, 0.7), rgba(241, 194, 125, 0.7)), 
                url('img/edit2.jpg') center/cover no-repeat;
    background-blend-mode: overlay;
    box-shadow:  0 6px 18px rgba(0, 0, 0, 0.1);
  }

  .header-section h1 {
    font-size: 4rem;
    margin: 0 0 0.5rem 0;
  }

  .header-section p {
    font-size: 1.2rem;
    margin: 0;
  }

  .section-heading {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    color: #6A0D0D;
    margin: 80px 0 30px 40px; /* 👈 margin-left added */
    position: relative;
    display: inline-block;
    padding-bottom: 0px;
    font-family: 'lora';
    font-weight:bolder;
  }

  .section-heading::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 4px;
    background-color: #f1c27d;
    left: 0; 
    bottom: 0;
    border-radius: 10px;
  }

  .gallery-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    padding: 30px 20px;
    background: #d3c0c0;
    max-width: 1400px;
    margin: 0 auto;
  }

  .gallery-card {
    position: relative;
    width: 340px;
    height: 250px;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
    background: #fff;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
  }

  .gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    border-radius: 15px;
  }

  .gallery-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  }

  .gallery-card:hover img {
    transform: scale(1.08);
  }

  .card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 20%;
    width: 100%;
    background: rgba(105, 17, 17, 0.7);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-family: 'Montserrat', sans-serif;
    opacity: 0;
    transition: opacity 0.4s ease;
    font-weight: 700;
    text-align: center;
    padding: 0 10px;
    border-radius:0px;
  }

  .gallery-card:hover .card-overlay {
    opacity: 1;
  }

  .footer-section {
    text-align: center;
    padding: 1.5rem 1rem;
    background: #333;
    color: #bbb;
    font-size: 0.9rem;
    font-family: 'Montserrat', sans-serif;
  }

  @media (max-width: 768px) {
    .gallery-card {
      width: 90%;
      height: 220px;
    }
  }

  @media (max-width: 480px) {
    .header-section h1 {
      font-size: 2rem;
    }

    .gallery-card {
      width: 100%;
      height: 200px;
    }
  }

                          /*          ALUMNI HOME PAGE CSS            */
.alumni-wrapper {
    position: relative;
    padding: 30px 20px 60px 20px; 
    font-family: 'Lora', serif;
    color: #800000; /* maroon */
    background-image: url('img/GARDEN\ .jpg'); 
    background-size: cover;
    background-position: center;
    overflow: hidden;
    z-index: 1;
  }

  .alumni-wrapper::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(231, 216, 199, 0.85); 
    z-index: -1;
  }

  .alumni-wrapper h2 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 30px;
    color: #800000; /* maroon */
  }

  .alumni-slider {
    position: relative;
    overflow: hidden;
    max-width: 1000px;
    margin: 0 auto;
  }

  .alumni-slider-track {
    display: flex;
    animation: scroll 20s linear infinite;
    width: calc(200px * 10);
  }

  .alumni-slide {
    min-width: 180px;
    margin: 0 10px;
    text-align: center;
    border-radius: 10px;
  }

  .alumni-slide img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border: 4px solid #a05252; /* lighter maroon */
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  }

  .alumni-name {
    margin-top: 8px;
    font-size: 1em;
    font-weight: bold;
    color: #800000; /* maroon */
  }

  @keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
  }

  @media (max-width: 600px) {
    .alumni-wrapper h2 {
      font-size: 1.8em;
    }

    .alumni-slide {
      min-width: 140px;
    }

    .alumni-slide img {
      height: 140px;
    }

    .alumni-name {
      font-size: 0.95em;
    }
  }


                                          /* faculty style sheet */

  .faculty-page-wrapper {
    font-family: 'Lora', serif;
    background: 
      linear-gradient(rgba(253, 247, 240, 0.7), rgba(253, 247, 240, 0.92)), 
      url('img/books.jpg') no-repeat center center / cover;
    color: #333;
    background-attachment: fixed;
  }

  .faculty-header-section {
    text-align: center;
    padding: 40px 20px 20px;
    background: linear-gradient(to right, #f8f4ed, #fdf7f0);
    border-bottom: 1px solid #ccc;
  }

  .header-inner-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
  }

  .faculty-header-section img {
    width: 90px;
    height: 90px;
    object-fit: contain;
  }

  .header-text-container h2 {
    font-size: 2.7rem;
    color: #800000;
    margin: 0;
    text-shadow: 1px 1px 0 #eee;
  }

  .header-text-container p {
    font-size: 1.15rem;
    color: #555;
    margin-top: 6px;
    font-style: italic;
  }

  .header-line-divider {
    width: 60%;
    height: 2px;
    background: #800000;
    border: none;
    margin: 20px auto 0;
    border-radius: 2px;
  }

  .faculty-categories-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 8px 20px 60px;
  }

  .faculty-category-block {
    margin-bottom: 60px;
    animation: fadeInEffect 1s ease;
  }

  .category-title-text {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 25px;
    border-left: 6px solid #800000;
    padding-left: 15px;
    font-weight: 600;
    text-align: left;
  }

  .faculty-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
  }

  .individual-faculty-card {
    background-color: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.07);
    padding: 25px 20px 30px;
    text-align: center;
    transition: all 0.3s ease-in-out;
    position: relative;
  }

  .individual-faculty-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(128, 0, 0, 0.25);
  }

  .individual-faculty-card img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 15px;
    border: 3px solid #800000;
  }

  .individual-faculty-card h3 {
    margin: 10px 0 4px;
    font-size: 1.2rem;
    color: #800000;
  }

  .individual-faculty-card p {
    margin: 4px 0;
    color: #555;
    font-size: 0.95rem;
  }

  .faculty-contact-info {
    margin-top: 8px;
    font-size: 0.9rem;
    color: #666;
  }

  .faculty-designation-tag {
    position: absolute;
    top: 0;
    left: 0;
    background: #800000;
    color: #fff;
    padding: 4px 10px;
    font-size: 0.8rem;
    font-weight: bold;
    border-top-left-radius: 16px;
    border-bottom-right-radius: 16px;
  }

  @keyframes fadeInEffect {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
  }

  @media (max-width: 600px) {
    .faculty-header-section h2 {
      font-size: 2rem;
    }

    .category-title-text {
      font-size: 1.5rem;
    }
  }