
/* General Styles */
body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f7f7f7;
    color: #333;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: 10px;
    color: #222;
}


/* Header */
header {
    background: linear-gradient(45deg, #ff5722, #ff9800);
    color: #fff;
    padding: 1rem 0;
    position: relative;
   /* text-align: center;*/
}

header h1 {
    font-size: 2.5rem;
    margin: 0;
    text-align: center;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    margin-bottom: 10px; /* Spacing below the text */
}

header p {
    font-size: 1.2rem;
    margin-bottom: 20px; 
}

.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    position: relative;
    
}
.logo {
    height: 90px; /* Adjust the height as needed */
    width: 90px; /* Make the width equal to the height for a perfect circle */
    border-radius: 50%; /* Makes the logo circular */
    object-fit: cover; /* Ensures the logo fits within the circle */
    border: 2px solid white; /* Optional: Adds a border around the logo */
    margin: 0 auto; /* Center the logo horizontally */
}
/* Welcome Text Styling */
header .welcome-text h1 {
    font-size: 2.5rem; /* Large font for desktops */
    white-space: nowrap; /* Prevent wrapping */
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5); /* Add shadow for visibility */
}
/* Social Media Icons */
header .social-media-links {
    margin-top: 1rem;
}
header .social-media-links .social-icon {
    width: 32px; /* Uniform icon size */
    height: 32px;
    transition: transform 0.3s ease;
}

header .social-media-links .social-icon:hover {
    transform: scale(1.2); /* Zoom effect on hover */
}

/* Responsive Design */
@media (max-width: 768px) {
    header .welcome-text h1 {
        font-size: 1.8rem; /* Adjust font size for smaller screens */
        white-space: normal; /* Allow wrapping if necessary */
    }

    header .welcome-text p {
        font-size: 1rem; /* Smaller tagline font */
    }

    header .social-media-links .social-icon {
        width: 24px; /* Smaller icons for mobile */
        height: 24px;
    }
    .logo-container {
        justify-content: center; /* Ensure the logo remains centered on mobile */
    }
}

@media (max-width: 480px) {
    header .logo {
        height: 70px; /* Smaller logo */
        width: 70px;
    }
    .logo-container {
        top: 5px; /* Adjust spacing for smaller screens */
        left: 10px;
    }

    header .welcome-text h1 {
        font-size: 1.5rem; /* Smaller welcome text */
    }

    header .social-media-links .social-icon {
        width: 20px; /* Even smaller icons for very small screens */
        height: 20px;
    }
}
    @media (max-width: 480px) {
    header h1 {
        font-size: 1.5rem; /* Further reduce font size for very small screens */
    }

    header p {
        font-size: 0.9rem;
    }

    .social-media-links .social-icon {
        width: 20px; /* Further adjust icon size */
        height: 20px;
    }
}
/* Navigation */
.navbar {
    background: linear-gradient(45deg, #ff9800, #ffc107);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.navbar-brand {
    font-weight: bold;
    color: #fff !important;
}

.nav-link {
    color: #fff !important;
    font-weight: 500;
}

.nav-link:hover, .nav-item.active .nav-link {
    color: #fdd835 !important;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    padding: 5px 10px;
}


/* Hero Section */

.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    overflow: hidden; /* Prevent overflow when images resize */
}

/* Desktop layout: 20% - 40% - 20% */
.hero-left, .hero-right {
    width: 20%;
    border-radius: 15px;  /* Apply rounded corners */
    overflow: hidden; /* Ensure the image stays inside the rounded corners */
}

.hero-carousel {
    width: 40%;
}

/* Ensuring images fit properly */
.hero img, .carousel-image {
    width: 100%;
    height: auto;
    display: block;
}

/* Carousel adjustments */
.carousel-inner {
    width: 100%;
    overflow: hidden;
}

.carousel-item {
    display: flex;
    justify-content: flex-start; /* Ensures the images are aligned to the left */
}

.carousel-item img {
    width: 100%;  /* Ensure carousel images take up the full width of their container */
    height: auto;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .hero {
        flex-direction: column; /* Stack elements vertically */
        text-align: center;
    }

    .hero-left, .hero-right, .hero-carousel {
        width: 100%; /* Each section takes full width */
    }

    .hero-left img, .hero-right img, .carousel-image {
        max-width: 80%; /* Slight padding for better visibility */
        margin: 0 auto;
    }

    /* Adjust carousel items on mobile */
    .carousel-inner {
        width: 100%;
    }

    .carousel-item {
        justify-content: flex-start; /* Align carousel items to the left */
    }

    .carousel-item img {
        width: 100%;
        height: auto;
    }
}

/* Sections */
section {
    padding: 2.5rem 0;
}

.bg-light {
    background: #fff;
}

.bg-light p {
    color: #555;
}

/* Footer */
footer {
    background: linear-gradient(45deg, #4caf50, #388e3c);
    color: #fff;
    padding: 1rem 0;
}

footer p {
    margin: 0;
    font-size: 0.9rem;
    color: #c8e6c9;
}
/* Gallery Images */
.gallery-image {
    width: 100%; /* Ensures the image fills the container's width */
    height: 200px; /* Uniform height for all images */
    object-fit: cover; /* Ensures the image is cropped proportionally */
    border-radius: 8px; /* Adds smooth rounded corners */
    display: block; /* Ensures no inline gaps between images */
    margin: 0 auto; /* Centers the image horizontally */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Adds a subtle shadow effect */
    transition: transform 0.2s ease-in-out; /* Smooth zoom on hover */
}

.gallery-image:hover {
    transform: scale(1.05); /* Slight zoom effect */
}

/* Masonry Gallery */
.gallery {
    display: flex;
    margin-left: -15px; /* Aligns items with the Bootstrap grid */
    margin-right: -15px;
}

.gallery-item {
   /* Full width of the column */
    margin-bottom: 15px; /* Spacing between items */
}

.gallery-item img {
    display: block;
    width: 100%; /* Responsive width */
    height: auto; /* Maintain aspect ratio */
    border-radius: 8px; /* Smooth rounded corners */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item img:hover {
    transform: scale(1.05); /* Slight zoom effect */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Admissions Page */
#admissions {
    background-color: #ffffff;
    padding: 50px 0;
}

#admissions h2 {
    font-size: 2.5rem;
    color: #4caf50;
    text-align: center;
    margin-bottom: 20px;
}

#admissions p {
    font-size: 1.1rem;
    color: #666;
    text-align: center;
    margin-bottom: 30px;
    line-height: 1.8;
}

#admissions ul {
    font-size: 1.1rem;
    color: #555;
    margin-left: 20px;
}

#admissions ul li {
    margin-bottom: 10px;
}

#admissions form {
    margin-top: 20px;
}

#admissions form .form-label {
    font-weight: bold;
    color: #4caf50;
}

#admissions form .form-control {
    border: 2px solid #4caf50;
    border-radius: 5px;
}

#admissions form .btn-success {
    background-color: #4caf50;
    border: none;
    padding: 10px 20px;
    font-size: 1.1rem;
    transition: background-color 0.3s ease;
}

#admissions form .btn-success:hover {
    background-color: #388e3c;
    transform: scale(1.05);
}
#admissions img {
    max-width: 100%; /* Ensures the image is responsive */
    height: auto; /* Maintains the aspect ratio */
    margin: 20px 0; /* Adds spacing around the image */
    border-radius: 10px; /* Smooth corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}


/* About Us Page */
#about {
    background-color: #f7f7f7;
    padding: 50px 0;
}

#about h2 {
    font-size: 2.5rem;
    color: #4caf50;
    text-align: center;
    margin-bottom: 30px;
}

#about p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
}

#about .row {
    margin-top: 20px;
}

#about img {
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#about .text-center img {
    max-width: 80%; /* Scales image nicely */
    margin-top: 20px;
}

/* Back to Top Arrow */
#backToTop {
    position: fixed;
    bottom: 20px; /* Distance from bottom */
    right: 20px; /* Distance from right */
    display: none; /* Hidden by default */
    z-index: 1000; /* Ensure it appears above other elements */
    cursor: pointer;
}

#backToTop i {
    font-size: 50px; /* Size of the arrow icon */
    color: #4caf50; /* Green color */
    transition: transform 0.3s ease, color 0.3s ease; /* Smooth animation */
}

#backToTop i:hover {
    color: #388e3c; /* Darker green on hover */
    transform: scale(1.1); /* Slight zoom effect */
}
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.card-title {
    font-size: 1.1rem;
    font-weight: bold;
}

/* Login Page */
.card img {
    max-height: 150px; /* Limit image height for uniformity */
    object-fit: cover; /* Maintain aspect ratio */
    border-radius: 8px; /* Rounded corners */
}

.card-title {
    font-size: 1.2rem;
    font-weight: bold;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

/* Login Form Card */
.card {
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.card-body {
    padding: 2rem;
}

.card h4 {
    margin-bottom: 1.5rem;
}

.form-control {
    border-radius: 6px;
    border: 2px solid #4caf50;
}

.form-control:focus {
    box-shadow: none;
    border-color: #388e3c;
}

.btn-success {
    background-color: #4caf50;
    border: none;
    padding: 0.75rem;
    font-size: 1rem;
}

.btn-success:hover {
    background-color: #388e3c;
}

a.text-success {
    color: #4caf50;
    text-decoration: none;
}

a.text-success:hover {
    text-decoration: underline;
}

/* Activities Section */
#activities h2 {
    font-size: 2rem;
    font-weight: normal;
}

#activities p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 1rem;
}

#activities ul {
    font-size: 1rem;
    color: #666;
    list-style: disc;
    padding-left: 20px;
}

#activities img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Activity Cards */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 8px;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.card-img-top {
    border-radius: 8px 8px 0 0; /* Rounded top corners */
    object-fit: cover;
    height: 200px; /* Uniform image height */
}


/* Popup Container */
.popup-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Semi-transparent background */
    display: none; /* Hidden by default */
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

/* Popup Content */
.popup-content {
    background: white;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Close Button */
.btn-close-popup {
    background-color: #ff5722; /* Red background */
    color: white; /* White text */
    border: none;
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    margin-bottom: 15px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-close-popup:hover {
    background-color: #e64a19; /* Darker red on hover */
    transform: scale(1.05); /* Slight zoom effect on hover */
}

.popup-container {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.popup-content {
    background: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}


/* Modal Buttons */
.modal-card-btn {
    display: inline-block;
    padding: 10px 20px;
    margin: 5px;
    font-size: 1rem;
    font-weight: bold;
    text-decoration: none;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.modal-card-btn-primary {
    background-color: #007bff;
}

.modal-card-btn-secondary {
    background-color: #6c757d;
}

.modal-card-btn-primary:hover {
    background-color: #0056b3;
}

.modal-card-btn-secondary:hover {
    background-color: #5a6268;
}


/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 20px;
    margin: 5px;
    font-size: 1rem;
    font-weight: bold;
    text-decoration: none;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.btn-primary {
    background-color: #007bff;
}

.btn-secondary {
    background-color: #6c757d;
}

.btn-primary:hover {
    background-color: #0056b3;
}

.btn-secondary:hover {
    background-color: #5a6268;
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}




/* Social Media Links */
.social-media-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.social-media-links .social-link {
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.social-media-links .social-link:hover {
    transform: scale(1.2); /* Zoom effect on hover */
}

.social-media-links .social-icon {
    width: 24px;
    height: 24px;
}

/* Responsive Design */
@media (max-width: 768px) {
    header .text-center h1 {
        font-size: 1.5rem;
    }

    header .text-center p {
        font-size: 0.9rem;
    }

    .social-media-links .social-icon {
        width: 20px;
        height: 20px;
    }
}

/* Modal Container */
#login-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Dim background */
    display: none; /* Hidden by default */
    justify-content: center;
    align-items: center;
    z-index: 9999; /* Ensure it appears above all other elements */
}

/* Modal Content */
#login-modal .modal-card {
    background: #fff; /* White background for the modal */
    border-radius: 8px; /* Rounded corners */
    padding: 20px;
    text-align: center; /* Center text inside the modal */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Slight shadow for depth */
    max-width: 400px; /* Maximum width of the modal */
    width: 90%; /* Responsive width */
}

/* Modal Image */
#login-modal .modal-image {
    max-width: 100%; /* Ensure it fits inside the modal */
    height: auto;
    margin-bottom: 20px; /* Add spacing below the image */
    border-radius: 5px; /* Slight rounding for the image */
}

/* Modal Title */
#login-modal .modal-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333; /* Darker text color */
    margin-bottom: 10px; /* Add spacing below the title */
}

/* Modal Message */
#login-modal .modal-message {
    font-size: 1rem;
    color: #666; /* Light gray text */
    margin-bottom: 20px; /* Add spacing below the message */
}

/* Buttons */
#login-modal .btn {
    font-size: 1rem;
    padding: 10px 20px;
    border-radius: 5px;
    margin: 5px; /* Space between buttons */
}

#login-modal .btn-primary {
    background-color: #007bff; /* Bootstrap primary blue */
    color: #fff;
    border: none;
}

#login-modal .btn-primary:hover {
    background-color: #0056b3; /* Darker blue on hover */
}

#login-modal .btn-secondary {
    background-color: #6c757d; /* Bootstrap secondary gray */
    color: #fff;
    border: none;
}

#login-modal .btn-secondary:hover {
    background-color: #565e64; /* Darker gray on hover */
}

/* Responsive Design */
@media (max-width: 768px) {
    #login-modal .modal-card {
        padding: 15px;
    }

    #login-modal .modal-title {
        font-size: 1.25rem;
    }

    #login-modal .modal-message {
        font-size: 0.9rem;
    }

    #login-modal .btn {
        font-size: 0.9rem;
        padding: 8px 15px;
    }
}

/* Notification - Popup Modal Styling */

#popup-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Dim background */
    display: none; /* Hidden by default */
    justify-content: center;
    align-items: center;
    z-index: 9999; /* Ensure it's on top */
}

#popup-modal .modal-card {
    background: #fff; /* White background */
    border-radius: 8px; /* Rounded corners */
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Shadow for depth */
    max-width: 400px;
    width: 90%; /* Responsive width */
}

#popup-modal .modal-image {
    max-width: 100%; /* Ensure it fits the modal */
    height: auto;
    margin-bottom: 20px; /* Spacing below the image */
    border-radius: 5px; /* Rounded image corners */
}

#popup-modal .modal-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333; /* Darker title text */
    margin-bottom: 10px;
}

#popup-modal .modal-message {
    font-size: 1rem;
    color: #666; /* Light gray message text */
    margin-bottom: 20px;
}

#popup-modal .modal-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
}

#popup-modal .btn {
    font-size: 1rem;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    margin-top: 10px;
}

#popup-modal .btn-primary {
    background-color: #007bff; /* Bootstrap primary blue */
    color: white;
    border: none;
    transition: background-color 0.3s ease;
}

#popup-modal .btn-primary:hover {
    background-color: #0056b3; /* Darker blue */
}

#popup-modal .btn-secondary {
    background-color: #6c757d; /* Bootstrap secondary gray */
    color: white;
    border: none;
    transition: background-color 0.3s ease;
}

#popup-modal .btn-secondary:hover {
    background-color: #565e64; /* Darker gray */
}

/* Responsive Design */
@media (max-width: 768px) {
    #popup-modal .modal-card {
        padding: 15px;
    }

    #popup-modal .modal-title {
        font-size: 1.25rem;
    }

    #popup-modal .modal-message {
        font-size: 0.9rem;
    }

    #popup-modal .btn {
        font-size: 0.9rem;
        padding: 8px 15px;
    }
}

/* Adjust contact info layout on smaller screens */

@media (max-width: 768px) {
    .contact-info {
        display: flex; /* Ensure items are displayed in a flex container */
        flex-direction: column; /* Stack items vertically */
        align-items: flex-start; /* Align all items to the left */
        margin-bottom: 10px; /* Add spacing below the contact info */
    }

    .contact-item {
        display: flex; /* Ensure icon and text align horizontally */
        align-items: center; /* Vertically align icon and text */
        margin-bottom: 8px; /* Space between phone and email */
        font-size: 1rem; /* Adjust font size for better readability */
        padding-left: 10px; /* Optional: Consistent left padding */
    }

    .contact-item i {
        margin-right: 10px; /* Add spacing between icon and text */
        min-width: 20px; /* Ensure consistent icon alignment */
        text-align: left; /* Align icon to the left */
    }

    .contact-item span {
        flex: 1; /* Ensure text aligns consistently */
    }
}


/* General Notice Styling */
#notices .card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#notices .card:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* Background Colors for Different Types */
.notice-holiday .card {
    background-color: #ffe6e6; /* Light red for holidays */
}

.notice-circular .card {
    background-color: #e6f7ff; /* Light blue for circulars */
}

.notice-tips .card {
    background-color: #e6ffe6; /* Light green for tips */
}

.notice-greetings .card {
    background-color: #fff5e6; /* Light orange for greetings */
}

/* Modal Styling */
#notice-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Semi-transparent background */
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

#notice-modal .modal-card {
    background: linear-gradient(to right, #ffecd2, #fcb69f); /* Gradient background */
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    max-width: 600px;
    width: 90%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    animation: fadeIn 0.3s ease-in-out;
}

/* Image Styling */
.modal-full-image {
    width: 100%; /* Full width for the actual image */
    height: auto;
    margin-bottom: 15px;
    border-radius: 5px; /* Slight rounding for the image */
}

/* Buttons */
.modal-buttons .btn {
    margin-top: 10px;
    padding: 10px 20px;
}

/* Fade-in Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Noticeboard Section Background */
.bg-noticeboard {
    background-color: #f7f9fc; /* Light blue-gray background */
    padding: 50px 0; /* Adjust spacing */
    border-top: 5px solid #4caf50; /* Optional: Add a top border */
}

/* Optional: Adjust the container within the Noticeboard */
#notices .container {
    padding: 20px;
    background-color: white; /* White container inside the noticeboard */
    border-radius: 10px; /* Rounded corners for container */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

/* Card Adjustments to Match the Background */
#notices .card {
    border: none; /* Remove default card borders */
}

/* Gradient Background for Noticeboard */
.bg-noticeboard {
    background: linear-gradient(to right, #e6f7ff, #fff5e6); /* Gradient colors */
    padding: 50px 0;
    border-top: 5px solid #4caf50;
}

/* Navigation Menu for Medium and Large Screens (Up to 1200px) */
@media (max-width: 1200px) {
    .navbar-nav {
        text-align: center; /* Center-align menu items */
        flex-wrap: wrap; /* Allow wrapping to prevent overflow */
    }

    .nav-link {
        font-size: 0.9rem; /* Slightly smaller font for medium screens */
        padding: 5px 10px; /* Reduce padding for better fit */
        white-space: nowrap; /* Prevent wrapping of individual links */
    }

    .noticeboard-icon {
        font-size: 1.5rem; /* Adjust icon size */
        color: red; /* Ensure the icon is visible */
        display: inline-block; /* Ensure the icon is displayed */
    }
}

/* Navigation Menu for Smaller Screens (Up to 768px) */
@media (max-width: 768px) {
    .navbar-nav {
        text-align: center;
        flex-wrap: wrap;
    }
    
    .nav-link {
        font-size: 0.8rem; /* Further reduce font size for smaller screens */
        white-space: nowrap;
        padding: 5px; /* Adjust padding for compact spacing */
    }

    .noticeboard-icon {
        font-size: 1.2rem; /* Adjust icon size for smaller screens */
        color: red; /* Ensure the icon is visible */
        display: inline-block; /* Ensure the icon is displayed */
    }
}

/* Ensure Proper Spacing for All Screen Sizes */
.navbar-nav {
    gap: 10px; /* Add spacing between menu items */
}

.nav-link {
    text-align: center;
    white-space: nowrap;
}

/* Extra Small Screens (Up to 480px) */
@media (max-width: 480px) {
    .navbar-nav {
        flex-direction: column; /* Stack menu items vertically */
        gap: 5px; /* Reduce gap */
    }

    .nav-link {
        font-size: 0.75rem; /* Smaller font size */
        padding: 4px 8px; /* Compact padding */
    }
}

/* Extra Large Screens (Above 1440px) */
@media (min-width: 1440px) {
    .navbar-nav {
        justify-content: center; /* Center menu for wide screens */
    }

    .nav-link {
        font-size: 1rem; /* Slightly larger font size for readability */
        padding: 8px 12px; /* Increase padding */
    }
}

/* Align the menu items to the left in mobile view */
@media (max-width: 768px) {
    #navbarNav {
        text-align: left; /* Align text to the left */
    }

    .navbar-nav {
        flex-direction: column; /* Stack items vertically */
        align-items: flex-start; /* Align items to the left */
    }

    .nav-item {
        width: 100%; /* Make items take full width */
    }

    .nav-link {
        padding: 10px 15px; /* Add padding for better appearance */
        text-align: left; /* Align the text to the left */
    }
}


/* General Section Watermark Styling */


section::before {
    content: ''; /* Pseudo-element for the watermark */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain; /* Adjust based on your design */
    opacity: 0.1; /* Set transparency for the watermark */
    z-index: 1; /* Place below content */
    pointer-events: none; /* Prevent interaction with the watermark */
}

/* Hero Section Watermark */
.hero {
    position: relative; /* Ensure proper stacking with ::before */
    overflow: hidden; /* Prevent watermark from overflowing */
}
.hero::before {
    background-image: url('images/heroimage.png'); /* Watermark image for Hero section */
}

/* About Section Watermark */
#about {
    position: relative; /* Ensure proper stacking with ::before */
    overflow: hidden; /* Prevent watermark from overflowing */
}
#about::before {
    background-image: url('images/heroimage.png'); /* Watermark image for About Us */
}

/* Admissions Section Watermark */
#admissions::before {
    background-image: url('images/heroimage.png'); /* Watermark image for Admissions */
}

/* Activities Section Watermark */
#activities::before {
    background-image: url('images/heroimage.png'); /* Watermark image for Activities */
}

/* Facilities Section Watermark */
#facilities::before {
    background-image: url('images/heroimage.png'); /* Watermark image for Facilities */
}

/* Ensure Content is Above the Watermark */
section > * {
    position: relative;
    z-index: 2; /* Bring content above the watermark */
}
/* Large Screens (Default) */
section::before {
    background-size: contain;
}

/* Tablets */
@media (max-width: 1024px) {
    section::before {
        background-size: 80%; /* Scale down watermark */
    }
}

/* Mobile Screens */
@media (max-width: 768px) {
    section::before {
        background-size: 60%; /* Smaller watermark for compact sections */
    }
}

/* ====== Career Page Styles ====== */
.career-header {
    background: url('images/career-bg.png') no-repeat center center/cover;
    color: white;
    text-align: center;
    padding: 20px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 180px;
    max-height: 250px;
    position: relative;
    overflow: hidden;
}

.career-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    text-align: center;
    font-weight: bold;
    width: 100%;
}

.career-overlay h1 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.career-overlay p {
    font-size: 1.2rem;
}

.career-section {
    padding: 40px 20px;
}

.job-card {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    border-radius: 10px;
    padding: 20px;
}

.job-card:hover {
    transform: translateY(-5px);
}

.apply-btn {
    background-color: #4caf50 !important;
    color: white !important;
    transition: background 0.3s, transform 0.3s;
    border-radius: 50px;
    padding: 10px 15px;
    font-weight: bold;
    display: inline-block;
    text-align: center;
    width: 100%;
    border: none;
}

.apply-btn:hover {
    background-color: #388e3c !important;
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .career-header {
        padding: 10px 5px;
        min-height: 120px;
        max-height: 160px;
    }
    .career-overlay {
        padding: 10px;
        width: 90%;
        
    }
    .career-overlay h1 {
        font-size: 1.4rem;
        text-align: center;
    }
    .career-overlay p {
        font-size: 1rem;
        text-align: center;
    }
    .career-section {
        padding: 20px 10px;
    }
    .job-card {
        padding: 15px;
    }
    .apply-btn {
        font-size: 1rem;
        padding: 10px;
    }
}



