/* Custom styles for the header */
.top-bar {
    font-size: 14px;
}

.top-bar i {
    margin-right: 5px;
}

.school-name {
    font-size: 2rem;
    font-weight: bold;
    color: aliceblue;
}

.school-name .text-muted {
    font-size: 1.5rem;
    color: antiquewhite;
    
}

.tagline {
    font-size: 1rem;
    font-style: italic;
    color: antiquewhite;
}

.navbar {
    background-color: #030e30e8;
    color: rgb(255, 255, 255);
    
}

.navbar-nav .nav-link {
    font-size: 1.1rem;
    padding: 10px 20px;
}

.header{
    background-color: #1f346df1;
    padding: 1%;
    
}
.nepali{
    
    font-family: "Khand", sans-serif;
    font-style: normal;
    font-size: xx-large;
    font-weight: 500;

}

.dropdown-menu {
    background-color: #030e30e8; /* Matches navbar bg-primary */
    color: white;
}

.dropdown-menu .dropdown-item {
    color: white;
}

.dropdown-menu .dropdown-item:hover {
    background-color: #3f91e9; /* Darker shade on hover */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .school-name {
        font-size: 1.5rem;
        text-align: center;
    }
    .school-name .text-muted {
        font-size: 1.2rem;
        text-align: center;
    }
    .tagline {
        font-size: 0.9rem;
        display: none;
    }
    .navbar-nav .nav-link {
        padding: 10px;
    }
    .logo img{
        height: 1% ;
    }
}




/* Footer Styling */
.footer-column {
    position: relative;
    padding: 0 15px;
}

/* Thin vertical line between columns */
.footer-column:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 1px;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.2);
}

/* Remove line on small screens where columns stack */
@media (max-width: 767px) {
    .footer-column:not(:last-child)::after {
        display: none;
    }
}

/* Links and text styling */
footer h5 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

footer a {
    text-decoration: none; /* Remove underlines from all links */
    color: #fff;
}

footer a:hover {
    color: #ddd;
}

/* Minimize line spacing for contact info */
.contact-info p {
    line-height: 1.2; /* Reduced line spacing */
}

/* Ordered list styling */
.list-styled {
    padding-left: 20px;
}

.list-styled li {
    margin-bottom: 0.5rem;
}

/* Social links */
.social-links i {
    font-size: 1.5rem;
}

/* Copyright section */
.border-top {
    border-color: rgba(255, 255, 255, 0.2) !important;
}



/* Welcome Section Styling */
.welcome-section {
    background-color: #f8f9fa; /* Light gray background */
    padding: 60px 0; /* Vertical padding */
}

/* Image Styling */
.welcome-section img {
    max-width: 100%;
    height: auto;
}

/* Heading Animation */
.welcome-heading {
    color: #021a35; /* Matches your navigation color */
    animation: fadeIn 2s ease-in-out;
}

/* Fade-in Animation */
@keyframes fadeIn {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Responsive Adjustments */
@media (max-width: 767px) {
    .welcome-heading {
        font-size: 2.5rem; /* Smaller heading on mobile */
    }
    .lead {
        font-size: 1rem; /* Smaller text on mobile */
    }
}

/* Button Styling */
.btn-primary {
    background-color: #021a35; /* Matches navigation color */
    border-color: #021a35;
}

.btn-primary:hover {
    background-color: #01366b; /* Darker shade on hover */
    border-color: #01366b;
}




/* Why Shamipur Section Styling */
.why-shamipur-section {
    background-color: #cacfd6; /* Light gray background */
    padding: 20px 0; /* Vertical padding */
}

.why-shamipur-section h2 {
    color: #021a35; /* Matches navigation color */
}

.why-shamipur-section .lead {
    color: #000000; /* Slightly muted text */
    font-size: 1.25rem;
}

/* Icon and Feature Styling */
.why-shamipur-section .fa-3x {
    color: #021a35; /* Matches navigation color */
}

.why-shamipur-section h5 {
    font-size: 1.25rem;
    color: #021a35;
}

.why-shamipur-section p {
    font-size: 1rem;
    color: #666;
}

/* Responsive Adjustments */
@media (max-width: 767px) {
    .why-shamipur-section h2 {
        font-size: 2.5rem; /* Smaller heading on mobile */
    }
    .why-shamipur-section .lead {
        font-size: 1rem; /* Smaller intro text on mobile */
    }
    .why-shamipur-section .col {
        margin-bottom: 2rem; /* Extra spacing on mobile */
    }
}




/* Staff Section Styling */
.staff-section {
    background-color: #fff; /* White background */
    padding: 60px 0; /* Vertical padding */
}

.staff-section h2 {
    color: #021a35; /* Matches navigation color */
}

/* Card Styling */
.card {
    border: none; /* Remove default border */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Enhanced shadow */
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px); /* Slight lift on hover */
}

.card-img-top {
    height: 300px; /* Fixed height for uniformity */
    object-fit: cover; /* Ensures image fits nicely */
    cursor: pointer; /* Indicates clickable */
}

.card-title {
    color: #021a35; /* Matches navigation color */
    font-size: 1.5rem;
}

.card-text {
    font-size: 1rem;
    color: #555;
    line-height: 1.4; /* Adjusted line spacing */
}

/* Divider Styling */
hr {
    border-top: 2px solid #021a35; /* Matches navigation color */
    opacity: 0.5;
}

/* Modal Styling */
.modal-content {
    border-radius: 10px;
}

.modal-title {
    color: #021a35;
}

.modal-body p {
    font-size: 1.1rem;
    color: #555;
}

/* Responsive Adjustments */
@media (max-width: 767px) {
    .staff-section h2 {
        font-size: 2.5rem; /* Smaller heading on mobile */
    }
    .card-img-top {
        height: 250px; /* Slightly smaller image on mobile */
    }
}


/* Contact Us Section Styling */
.contact-us-section {
    background-color: #f8f9fa; /* Light gray background */
    padding: 60px 0; /* Vertical padding */
}

.contact-us-section h2 {
    color: #021a35; /* Matches navigation color */
}

.contact-us-section .card {
    border: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Shadow for separation */
}

/* Ensure equal height */
.contact-us-section .row {
    display: flex;
    flex-wrap: wrap; /* Ensures responsiveness */
}

.contact-us-section .col-md-6 {
    display: flex; /* Makes the column flex to stretch its child */
}

.contact-us-section .card {
    width: 100%; /* Ensures card takes full column width */
}

/* Form Styling */
.form-label {
    color: #021a35;
    font-weight: 500;
}

.form-control {
    border-radius: 5px;
}

.btn-primary {
    background-color: #021a35; /* Matches navigation color */
    border-color: #021a35;
}

.btn-primary:hover {
    background-color: #01366b; /* Darker shade on hover */
    border-color: #01366b;
}

/* Address and Map Styling */
.contact-us-section p {
    color: #555;
    line-height: 1.5;
}

.map-container {
    overflow: hidden;
    border-radius: 5px;
    flex-grow: 1; /* Allows map to stretch if needed */
}

/* Responsive Adjustments */
@media (max-width: 767px) {
    .contact-us-section h2 {
        font-size: 2.5rem; /* Smaller heading on mobile */
    }
    .contact-us-section h4 {
        font-size: 1.5rem; /* Smaller subheading on mobile */
    }
    .map-container iframe {
        height: 250px; /* Smaller map on mobile */
    }
    .contact-us-section .row {
        display: block; /* Stacks columns on mobile */
    }
}


/* History Section Styling */
.history-section {
    background-color: #f8f9fa; /* Light gray background for contrast */
    padding: 60px 0; /* Vertical padding */
}

.history-section h2 {
    color: #021a35; /* Matches navigation color */
}

/* Equal Height Rows */
.history-content .row {
    display: flex;
    flex-wrap: wrap; /* Ensures responsiveness */
}

.history-content .col-md-6 {
    display: flex;
    flex-direction: column; /* Stacks image and caption vertically */
}

/* Image Styling */
.history-img {
    max-width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover; /* Ensures image fills space without distortion */
    transition: transform 0.3s ease;
}

.history-img:hover {
    transform: scale(1.05); /* Slight zoom on hover */
}

/* Photo Caption Styling */
.photo-caption {
    color: #666;
    font-size: 0.9rem;
    font-style: italic;
    margin-bottom: 0; /* Remove extra bottom margin */
}

/* Text Styling */
.history-content .lead {
    color: #555;
    font-size: 1rem;
    line-height: 1.6;
    text-align: justify;
}

/* Responsive Adjustments */
@media (max-width: 767px) {
    .history-section h2 {
        font-size: 2.5rem; /* Smaller heading on mobile */
    }
    .history-content .lead {
        font-size: 1rem; /* Smaller text on mobile */
    }
    .photo-caption {
        font-size: 0.85rem; /* Slightly smaller caption on mobile */
    }
    .history-img {
        height: 250px; /* Smaller height on mobile */
    }
    .history-content .row {
        display: block; /* Stacks columns on mobile */
    }
    .order-md-1, .order-md-2 {
        order: 0; /* Reset order on mobile for consistent stacking */
    }
    .history-content img {
        margin-bottom: 10px; /* Space before caption on mobile */
    }
}



/* Testimonials Section Styling */
.testimonials-section {
    background-image: url('/image/testi.jpg'); /* Replace with your background image */
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 50px 0; /* Vertical padding */
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(59, 8, 201, 0.5); /* Semi-transparent gray overlay */
    z-index: 1;
}

.testimonials-section .container {
    position: relative;
    z-index: 2; /* Ensures content is above overlay */
}

/* Carousel Styling */
.carousel-inner {
    max-width: 1000px; /* Slightly wider for two-column layout */
    margin: 0 auto;
}

/* Photo Styling */
.testimonial-photo {
    width: 150px; /* Fixed size for circular photo */
    height: 150px;
    object-fit: cover; /* Ensures photo fits circle */
}

/* Text and Red Line Styling */
.testimonial-text {
    position: relative;
    padding-left: 30px; /* Space for the line */
}

.testimonial-text::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10%;
    height: 80%; /* Covers most of the text height */
    width: 2px; /* Thin red line */
    background-color: #ff0000; /* Red color */
}

/* Quote Styling */
.blockquote {
    color: #f007bd; /* White text for contrast with background */
}

.blockquote .lead {
    font-size: 1.25rem;
    line-height: 1.6;
}

.fa-quote-left, .fa-quote-right {
    color: #f007bd; /* Matches navigation color */
}

.blockquote-footer {
    color: #fff; /* White text for contrast */
    font-size: 1.1rem;
    font-weight: 500;
}

/* Carousel Controls - Hidden by Default, Visible on Hover */
.carousel-control-prev, .carousel-control-next {
    width: 15%; /* Wider clickable area */
    opacity: 0; /* Hidden by default */
    transition: opacity 0.3s ease; /* Smooth fade-in */
}

#testimonialsCarousel:hover .carousel-control-prev,
#testimonialsCarousel:hover .carousel-control-next {
    opacity: 1; /* Visible on hover */
}

.carousel-control-prev-icon, .carousel-control-next-icon {
    background-color: #021a35; /* Matches navigation color */
    width: 60px; /* Larger arrow size */
    height: 60px;
    border-radius: 50%; /* Circular arrows */
    background-size: 50%; /* Adjusts arrow size within the circle */
}

.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
    background-color: #01366b; /* Darker shade on hover */
}

/* Responsive Adjustments */
@media (max-width: 767px) {
    .testimonials-section h2 {
        font-size: 2.5rem; /* Smaller heading on mobile */
    }
    .testimonial-photo {
        width: 120px; /* Smaller photo on mobile */
        height: 120px;
        margin-bottom: 20px; /* Space below photo when stacked */
    }
    .testimonial-text {
        padding-left: 0; /* Remove padding on mobile */
    }
    .testimonial-text::before {
        display: none; /* Hide red line on mobile */
    }
    .blockquote .lead {
        font-size: 1rem; /* Smaller text on mobile */
    }
    .blockquote-footer {
        font-size: 1rem;
    }
    .carousel-control-prev, .carousel-control-next {
        width: 10%; /* Slightly smaller on mobile */
    }
    .carousel-control-prev-icon, .carousel-control-next-icon {
        width: 25px; /* Slightly smaller arrows on mobile */
        height: 25px;
    }
}

/* FOR ABOUT US Adjustments */
.about-section {
    padding: 50px 0;
    background-color: #f8f9fa;
}
.banner-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
}
.section-title {
    font-size: 20rem;
    font-weight: bold;
    color: #343a40;
    margin-bottom: 15px;
    text-align: center;
}
.content-box {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}
.list-group-item {
    border: none;
    padding-left: 0;
}


/* FOR scm Adjustments */

.smc-section {
    padding: 50px 0;
    background-color: #f8f9fa;
}

.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #343a40;
    margin-bottom: 30px;
    text-align: center;
}

.card {
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.chairman-box {
    display: flex;
    align-items: center;
}

.chairman-img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 20px;
    border: 3px solid #007bff;
}

.chairman-desc {
    font-size: 1.1rem;
    color: #555;
    text-align: justify;
    flex: 1;
}

.table-container {
    overflow-x: auto; /* Ensures table is scrollable on small screens */
}

.table thead {
    background-color: #007bff;
    color: #fff;
}

.table th, .table td {
    text-align: center;
    vertical-align: middle;
}

.former-chairman-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #007bff;
}

/* FOR message Adjustments */

.principal-message-section {
    padding: 50px 0;
    background-color: #f8f9fa;
}

.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #343a40;
    margin-bottom: 30px;
    text-align: center;
}

.card {
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.principal-header {
    padding: 20px;
    border-bottom: 1px solid #e0e0e0; /* Separator between rows */
}

.principal-img {
    width: 200px;
       
    object-fit: cover;
    border: 2px solid #3c45be;
}

.principal-info {
    padding-left: 15px;
}

.principal-name {
    font-size: 1.8rem;
    color: #343a40;
    margin-bottom: 5px;
}

.greeting-line {
    font-size: 1.2rem;
    color: #007bff;
    font-style: italic;
    margin: 0;
}

.principal-message-row {
    padding: 20px;
}

.principal-message {
    font-size: 1.1rem;
    color: #555;
    text-align: justify;
    margin-bottom: 15px;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .principal-header {
        padding: 15px;
        text-align: center;
    }

    .principal-img {
        width: 150px;
        height: 150px;
        margin-bottom: 15px;
    }

    .principal-info {
        padding-left: 0;
    }

    .principal-name {
        font-size: 1.5rem;
    }

    .greeting-line {
        font-size: 1rem;
    }

    .principal-message-row {
        padding: 15px;
    }

    .principal-message {
        font-size: 1rem;
        text-align: left; /* Better readability on mobile */
    }
}

/* ECD Adjustment */

.ecd-section {
    background-color: #e9e9e9;
}

/* Banner */
.ecd-banner {
    position: relative;
    width: 100%;
    height: 300px;
}

.banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.banner-text h1 {
    font-size: 3rem;
    font-weight: bold;
}

.banner-text p {
    font-size: 1.5rem;
}

/* Coordinator */
.coordinator-box {
    display: flex;
    align-items: center;
}

.coordinator-img {
    width: 200px;
      
    object-fit: cover;
    border: 2px solid #007bff;
    margin-right: 20px;
}

.coordinator-message {
    flex: 1;
}

.message-text {
    font-size: 1.1rem;
    color: #555;
    text-align: justify;
}

/* ECD Intro */
.ecd-intro {
    font-size: 1.1rem;
    color: #555;
    text-align: justify;
}

.stat {
    font-size: 2rem;
    font-weight: bold;
    color: #007bff;
    margin: 0;
}

/* Gallery */
.gallery-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .ecd-banner {
        height: 400px;
    }

    .banner-text h1 {
        font-size: 2rem;
    }

    .banner-text p {
        font-size: 1rem;
    }

    .coordinator-box {
        flex-direction: column;
        text-align: center;
    }

    .coordinator-img {
        width: 150px;
        height: 150px;
        margin: 0 auto 15px;
    }

    .message-text {
        font-size: 1rem;
        text-align: left;
    }

    .ecd-intro {
        font-size: 1rem;
    }

    .stat {
        font-size: 1.5rem;
    }

    .gallery-img {
        height: 200px;
    }
}


/* Clibsss */

.scouts-section {
    background-color: #f8f9fa;
    padding-bottom: 50px;
}

/* Banner */
.scouts-banner {
    position: relative;
    width: 100%;
    height: 300px;
}

.banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.banner-text h1 {
    font-size: 3rem;
    font-weight: bold;
}

.banner-text p {
    font-size: 1.5rem;
}

/* Logo and Intro */
.scouts-logo {
    width: 300px;
    height: 300px;
    object-fit: contain;
}
.scouts-activities h3 {
    font-size: 1.8rem;
    color: #343a40;
    margin-top: 20px;
   
}

.scouts-activities ul {
    list-style-type: disc;
    
}

.scouts-activities li {
    font-size: 1.1rem;
    color: #555;
 
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .scouts-activities h3 {
        font-size: 1.5rem;
    }

    .scouts-activities li {
        font-size: 1rem;
    }
}
.scouts-intro h2 {
    font-size: 2rem;
    color: #343a40;
    margin-bottom: 15px;
}

.scouts-intro p {
    font-size: 1.1rem;
    color: #555;
    text-align: justify;
}

/* Focal Teachers */
.card {
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.focal-teachers li {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 10px;
}

/* Committee Table */
.table-responsive {
    overflow-x: auto;
}

.table th, .table td {
    text-align: left;
    vertical-align: middle;
}

/* Gallery */

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .scouts-banner {
        height: 300px;
    }

    .banner-text h1 {
        font-size: 2rem;
    }

    .banner-text p {
        font-size: 1rem;
    }

    .scouts-logo {
        width: 150px;
        height: 150px;
        margin-bottom: 15px;
    }

    .scouts-intro h2 {
        font-size: 1.5rem;
    }

    .scouts-intro p {
        font-size: 1rem;
    }

    .focal-teachers li {
        font-size: 1rem;
    }

   }
   .gallery-section {
    padding: 20px 0;
}

.carousel {
    max-width: 1000px; /* Adjust to fit 5 thumbnails */
    margin: 0 auto;
}

.carousel-inner .row {
    display: flex;
    justify-content: center;
}

.carousel-item .col {
    flex: 0 0 20%; /* 100% / 5 = 20% width per thumbnail */
    max-width: 20%;
    padding: 5px;
}

.thumbnail {
    width: 100%;
    height: 120px; /* Fixed height for consistency */
    object-fit: cover;
    cursor: pointer;
    border-radius: 5px;
    transition: transform 0.3s;
}

.thumbnail:hover {
    transform: scale(1.05);
}

.fullscreen-gallery {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.fullscreen-img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .carousel {
        max-width: 100%;
    }

    .carousel-item .col {
        flex: 0 0 33.33%; /* Show 3 thumbnails on mobile */
        max-width: 33.33%;
    }

    .thumbnail {
        height: 100px;
    }
}

@media (max-width: 576px) {
    .carousel-item .col {
        flex: 0 0 50%; /* Show 2 thumbnails on smaller screens */
        max-width: 50%;
    }
}



/*Homepaage */
