
body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    /*color: #333;*/
}
header {
    background: linear-gradient(to right, #4caf50, #2e7d32);
    color: white;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    /*box-shadow: ;*/
}
header .logo {
    font-size: 1.5rem;
    font-weight: bold;
}
header nav {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
}
header nav a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: color 0.3s;
}
header nav a:hover {
    color: #c8e6c9;
}
.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}
@media (max-width: 768px) {
    header nav {
        display: none;
        flex-direction: column;
        background: #2e7d32;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        padding: 1rem 0;
    }
    header nav.active {
        display: flex;
        padding-left: 20px;
    }

    .menu-toggle {
        display: block;
    }
}
.hero {
    text-align: center;
    background: url('https://d1csarkz8obe9u.cloudfront.net/posterpreviews/school-admission-banner-design-template-2befdb1937573a10ae2bc39b7919db81_screen.jpg?ts=1640953805') no-repeat center center/cover;
    /*height: 100vh;*/
    height: 300px;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}
.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}
.hero a {
    text-decoration: none;
    color: white;
    background: #4caf50;
    padding: 0.75rem 2rem;
    border-radius: 5px;
    font-size: 1rem;
    transition: background 0.3s;
}
.hero a:hover {
    background: #388e3c;
}
.features {
    padding: 2rem;
    background: #f5f5f5;
    text-align: center;
}
.features h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}
.features .feature-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}
.features .feature {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 300px;
}
.features .feature img {
    width: 100px;
    height: 100px;
    margin-bottom: 1rem;
}
.features .feature h3 {
    margin-bottom: 0.5rem;
}
.latest-news, .gallery {
    padding: 2rem;
    text-align: center;
}
.latest-news h2, .gallery h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}
.latest-news .news-grid, .gallery .gallery-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}
.latest-news {
    background: white;
}

.gallery {
    background: #f5f5f5;
}
.latest-news .news-item, .gallery .gallery-item {
    /*background: white;*/
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-width: 300px;
    text-align: left;
    overflow: hidden;
}
.latest-news .news-item img, .gallery .gallery-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.latest-news .news-item img:hover, .gallery .gallery-item img:hover {
    transform: scale(1.1);
}

.news-item .readMore a {
    color: #3b923f;
    text-decoration: none;
    font-weight: bold;
}

.latest-news .news-item .content, .gallery .gallery-item .content {
    padding: 1rem;
}
.latest-news .news-item h3, .gallery .gallery-item h3 {
    margin-bottom: 0.5rem;
}
.cta {
    background: linear-gradient(to right, #2e7d32, #4caf50);
    color: white;
    padding: 2rem;
    text-align: center;
}
.cta h2 {
    margin-bottom: 1rem;
}
.cta a {
    text-decoration: none;
    color: white;
    background: #1b5e20;
    padding: 0.75rem 2rem;
    border-radius: 5px;
    transition: background 0.3s;
}
.cta a:hover {
    background: #388e3c;
}
footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 2rem 1rem;
    font-size: 0.9rem;
}

footer h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.quick-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.quick-links p {
    margin: 0;
}

footer a {
    color: #f8b400;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

footer a:hover {
    color: #ffdd57;
}


body {
    font-family: 'Arial', sans-serif;
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
}

.table, .formDiv, .contentDiv {
    background: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.table th {
    background: #343a40;
    color: #fff;
}
.formDiv, .contentDiv {
    padding: 20px;
}

.formDiv {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

h4 {
    color: #0056b3;
    margin-bottom: 20px;
}

/* Passport Photo Section */
.passportDiv {
    text-align: center;
    margin-bottom: 20px;
}

.passport {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 3px solid #ddd;
    cursor: pointer;
}

/* Form Inputs */
.form-control, .form-select {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}

.form-control:focus, .form-select:focus {
    border-color: #0056b3;
    outline: none;
}

/* Buttons */
.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

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

.btnDanger {
    background-color: #dc3545;
    color: white;
    margin-left: 10px;
}

.btnPrimary:hover, .btnDanger:hover {
    opacity: 0.9;
}

.btnExtra {
    background: linear-gradient(to right, #28a745, #1e7e34);
    border: none;
}

/*contact us styles. might conficlt*/
.contact-section {
    padding: 50px 0;
    background: #f9f9f9;
    margin: 0 50px;
}

.contact-info h4 {
    font-size: 18px;
    color: #333;
    margin-bottom: 5px;
}

.contact-info p {
    font-size: 16px;
    color: #555;
    margin-bottom: 15px;
}

.contact-info a {
    color: #007bff;
    text-decoration: none;
}

.map-container iframe {
    width: 100%;
    border-radius: 10px;
}

form .form-control {
    border-radius: 5px;
}

form button {
    border-radius: 5px;
    background: #007bff;
    color: #fff;
}


.about-section {
    padding: 50px 20px;
    background: #fff;
    text-align: center;
    margin-top: 20px;
}

.about-section img {
    max-width: 100%;
    border-radius: 10px;
}

.school-logo {
    max-width: 120px;
    margin-bottom: 15px;
}

.about-text {
    font-size: 18px;
    color: #333;
}

@media (min-width: 768px) {
    .about-container {
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: left;
    }

    .about-content {
        max-width: 600px;
        margin-left: 20px;
    }
}


