/* Reset default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: url("img/bg.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding-top: 115px; /* Make space for navbar (75px) + banner (~40px) */
}

/* Fade-in animation */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Navbar */
.navbar {
    width: 100%;
    background-color: #2F4156; /* Navy */
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1001;
    display: flex;
    align-items: center;
    padding: 0 20px;
    height: 75px;
}

.logo {
    color: #FFFFFF; /* White */
    font-size: 24px;
    font-weight: bold;
    flex: 1;
}

.menu-icon {
    display: none;
    font-size: 28px;
    color: #FFFFFF;
    cursor: pointer;
}

#menu-toggle {
    display: none;
}

.menu {
    list-style: none;
    display: flex;
    flex: 2;
    justify-content: flex-end;
}

.menu li {
    position: relative;
}

.menu li a {
    display: block;
    padding: 15px 20px;
    color: #FFFFFF; /* White */
    text-decoration: none;
    font-weight: bold;
}

.menu li a:hover {
    background-color: #576C8D; /* Teal */
}

/* Dropdown */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #2F4156; /* Navy */
    min-width: 200px;
    top: 100%;
    left: 0;
    z-index: 2001;
}

/* Optional: background for dropdown items on hover */
.dropdown-content a:hover {
    background-color: #C8D9E6; /* Sky Blue */
    color: #2F4156; /* Navy */
}

/* Optional: general background color for non-image sections */
.section {
    background-color: #F5F5EB; /* Beige */
    color: #2F4156; /* Navy */
    padding: 40px;
}


.dropdown-content li a {
    padding: 10px 15px;
    color: #FFFFFF;
    text-decoration: none;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .menu-icon {
        display: block;
    }

    .menu {
        flex-direction: column;
        position: absolute;
        top: 75px;
        left: 0;
        width: 100%;
        background-color: #2F4156; /* Navy */
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-in-out;
    }

    #menu-toggle:checked + .menu-icon + .menu {
        max-height: 1000px;
    }

    .menu li {
        width: 100%;
    }

    .dropdown-content {
        position: static;
        background-color: #2F4156; /* Navy */
    }

    .dropdown:hover .dropdown-content {
        display: none;
    }

    .dropdown > a::after {
        content: ' ▼';
        float: right;
    }

    .dropdown > input {
        display: none;
    }

    .dropdown > input:checked + .dropdown-content {
        display: block;
    }
}

@media (max-width: 768px) {
    .dropdown.active .dropdown-content {
        display: block;
    }
}

/*** Admissions Banner ***/
.admissions-banner {
    background-color: #F5F5EB; /* Beige */
    color: #2F4156; /* Navy */
    font-weight: bold;
    padding: 10px 40px 10px 10px;
    overflow: hidden;
    position: fixed;
    top: 75px;
    left: 0;
    width: 100%;
    z-index: 1000;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.admissions-banner p {
    white-space: nowrap;
    display: inline-block;
    animation: scroll-left 15s linear infinite;
    font-size: 1rem;
    margin: 0;
    padding-left: 100%;
}

.banner-link {
    text-decoration: none;
    color: inherit;
    display: block;
    width: 100%;
    height: 100%;
}

.close-banner {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    cursor: pointer;
    color: #2F4156; /* Navy */
}

@keyframes scroll-left {
    0% { transform: translateX(0%); }
    100% { transform: translateX(-100%); }
}

@media (max-width: 768px) {
    body {
        padding-top: 120px;
    }

    .admissions-banner {
        font-size: 0.9rem;
        padding: 8px 0;
    }

    .admissions-banner p {
        font-size: 0.9rem;
        animation-duration: 12s;
    }
}
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  cursor: pointer;
  transition: transform 0.3s;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

.whatsapp-float img {
  width: 60px;
  height: 60px;
}
/* Content */
.content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 75px auto 0 auto;
    padding: 50px 20px;
}

.content h1 {
    font-size: 48px;
    font-weight: bold;
    color: #2F4156; /* Navy */
    margin-bottom: 15px;
}

.content p {
    font-size: 20px;
    color: #576C8D; /* Teal */
    max-width: 600px;
    line-height: 1.5;
}

/* Button */
.cn {
    display: inline-block;
    background: #a4cbf8; /* Navy */
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background 0.3s;
    font-size: 18px;
}

.cn:hover {
    background: #576C8D; /* Teal */
}

.image-gallery {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    max-width: 600px;
    margin-left: 50px;
}

.image-gallery img {
    width: 190px;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.image-gallery img:hover {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .content {
        flex-direction: column;
        align-items: center;
    }

    .image-gallery {
        margin-left: 0;
        margin-top: 20px;
    }
}
/* Parent Reviews Section */
/* Parent Reviews Section - Reduced Size */
.parent-reviews {
    padding: 40px 15px;
    background: #f3f9ff;
    text-align: center;
}

.parent-reviews h2 {
    font-size: 28px;
    color: #182635;
    margin-bottom: 25px;
    font-family: 'Segoe UI', sans-serif;
    font-weight: bold;
}

/* Shrink Elfsight widget */
.elfsight-app {
    max-width: 500px;
    margin: 0 auto;
    transform: scale(0.85); /* Shrinks the widget */
    transform-origin: top center;
}



/*** FOOTER ***/
.new-footer {
    background-color: #2F4156; /* Navy */
    color: #FFFFFF;
    font-family: 'Poppins', sans-serif;
    padding: 40px 20px 10px;
    width: 100%;
}

.footer-main {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: auto;
    padding-bottom: 30px;
}

.footer-logo h2 {
    color: #C8D9E6; /* Sky Blue */
    font-size: 24px;
    margin-bottom: 10px;
}

.footer-logo p {
    font-size: 14px;
    line-height: 1.6;
    max-width: 300px;
}

.footer-links h4,
.footer-contact h4 {
    color: #F5F5EB; /* Beige */
    font-size: 16px;
    margin-bottom: 10px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links ul li {
    margin: 8px 0;
}

.footer-links ul li a {
    color: #ffffffcc;
    text-decoration: none;
    transition: 0.3s;
}

.footer-links ul li a:hover {
    color: #FFFFFF;
}

.footer-contact p {
    font-size: 14px;
    line-height: 1.6;
}

.footer-contact i {
    margin-right: 8px;
    color: #C8D9E6; /* Sky Blue */
}

.footer-bottom {
    text-align: center;
    font-size: 13px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 15px;
    color: #ffffff99;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .footer-main {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-logo p,
    .footer-contact p,
    .footer-links ul li {
        margin: 0 auto;
    }

    .footer-links ul {
        padding-left: 0;
    }
}

.small-map {
    width: 100%;
    max-width: 300px;
    height: 200px;
    display: block;
    margin-top: 10px;
}

  


/* FOR CONTACT PAGE ::::: */
*{
    margin:0;
    padding:0;
    box-sizing: border-box;
    font-family: 'Poppins',sans-serif;
}

.contact{
    position: relative;
    min-height: 100vh;
    padding: 50px 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-color: var(--sky-blue); /* Sky Blue */
}
.contact .matter{
    max-width:800px;
    text-align: center;
}

.contact .matter h2 {
    font-size: 36px;
    font-weight: 500;
    color: var(--white); /* White */
}
.contact .matter p {
    font-weight: 300;
    color: var(--white); /* White */
}
.container{
    width:100%;
    display:flex;
    justify-content:center;
    align-items: center;
    margin-top: 30px;
}
.container .contactInfo{
    width:50%;
    display: flex;
    flex-direction: column;
}

.container .contactInfo .box {
    position: relative;
    padding: 20px 0;
    display: flex;
}

.container .contactInfo .box .icon{
    min-width: 60px;
    height: 60px;
    background: var(--white); /* White */
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-size: 22px;
}

.container .contactInfo .box .text {
    display: flex;
    margin-left: 20px;
    font-size: 16px;
    color: var(--white); /* White */
    flex-direction: column;
    font-weight: 300;
}

.container .contactInfo .box .text .h3{
    font-weight: 500;
    color: var(--teal); /* Teal */
}

.contactForm{
    width:40%;
    padding: 40px;
    background: var(--white); /* White */
}

.contactForm h2{
    font-size: 30px;
    color: var(--navy); /* Navy */
    font-weight: 500;
}

.contactForm .inputBox{
    position: relative;
    width:100%;
    margin-top: 10px;
}

.contactForm .inputBox input,
.contactForm .inputBox textarea{
    width:100%;
    padding: 5px 0;
    font-size: 16px;
    margin: 10px 0;
    border: none;
    border-bottom:2px solid var(--navy); /* Navy */
    outline:none;
    resize: none;
}

.contactForm .inputBox span {
    position:absolute;
    left:0;
    padding: 5px 0;
    font-size: 16px;
    margin: 10px 0;
    pointer-events: none;
    transition: 0.5s;
    color: var(--teal); /* Teal */
}

.contactForm .inputBox input:focus ~span,
.contactForm .inputBox input:valid ~span,
.contactForm .inputBox textarea:focus ~span,
.contactForm .inputBox textarea:valid ~span
{
    color: var(--sky-blue); /* Sky Blue */
    font-size: 12px;
    transform: translateY(-20px);
}
.contactForm .inputBox input[type="submit"]{
    width:100px;
    background: var(--teal); /* Teal */
    color: var(--white); /* White */
    border:none;
    cursor: pointer;
    padding: 10px;
    font-size: 18px;
}

@media (max-width: 991px){
    .contact{
        padding:50px;
    }
    .container{
        flex-direction: column;
    }
    .container .contactInfo {
        margin-bottom : 40px;
    }
    .container .contactInfo,
    .contactForm{
        width : 100%;
    }
}


/* FOR CURRICULUM ::::::::::: */

.programs {
    position: relative; /* Needed for ::before layering */
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: 50px;
    z-index: 0; /* Keep content above the background */
}

/* Transparent background image layer */
.programs::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("C:/Users/admin/Desktop/school/bg.jpg") no-repeat center center/cover;
    opacity: 0.15; /* Adjust this between 0.1 (very faint) and 0.3 (slightly visible) */
    z-index: -1; /* Puts background behind the content */
}


.programs .consists {
    text-align: center;
    max-width: 800px;
    background-color: var(--white); /* White */
    padding: 20px; /* Adds space inside the box */
    border-radius: 15px; /* Rounded corners */
    border: 3px solid var(--navy); /* Navy */
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.3); /* Adds a shadow effect */
}

.programs .consists h1 {
    font-size: 50px;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    color: var(--navy); /* Navy */
    animation-name: move;
    animation-duration: 2s;
    animation-delay: 1s;
}
.program-image {
    width: 100%; /* Makes it responsive */
    max-width: 500px; /* Limits the max size */
    height: auto; /* Keeps aspect ratio */
    display: block; /* Removes extra space below image */
    margin: 20px auto 0; /* Adds spacing and centers the image */
    border-radius: 10px; /* Makes corners slightly rounded */
}

@keyframes move {
    from{
        left:0;
        color: var(--navy); /* Navy */
    }
    to{
        left:70%;
        color: var(--teal); /* Teal */
    }
}




/* ABOUT US Styling */
.hi {
    padding: 40px;
    margin: 50px auto;
    text-align: center;
    font-family: "Poppins", Arial, sans-serif;
    max-width: 900px;
    background: #F5F5EB; /* Beige */
    border-radius: 15px;
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hi:hover {
    transform: translateY(-5px);
    box-shadow: 0px 15px 35px rgba(0, 0, 0, 0.2);
}

.hi h1 {
    font-size: 3rem;
    font-weight: bold;
    color: #2F4156; /* Navy */
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
}

.hi p {
    color: #576C8D; /* Teal */
    font-size: 1.2rem;
    line-height: 1.8;
    letter-spacing: 0.5px;
    max-width: 800px;
    margin: 0 auto;
}

/* FOR ONLINE REGISTERATION FORM::::::::::::*/
body {
    background-color: #C8D9E6; /* Sky Blue */
    font-family: Arial, sans-serif;
}

.form-container {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 900px;
    margin: 40px auto;
}

h1, h2 {
    text-align: center;
    color: #2F4156; /* Navy */
}

label {
    font-weight: bold;
    margin-top: 10px;
}

.form-control {
    border-radius: 5px;
    border: 1px solid #ccc;
    padding: 10px;
}

textarea {
    resize: none;
}

button {
    padding: 12px 20px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    background-color: #00BCD4; /* Teal */
    color: white;
    transition: 0.3s;
}

button:hover {
    background-color: #2980b9;
}

@media (max-width: 768px) {
    .form-container {
        width: 95%;
    }
}

/* FOR TEACHING CAREER ::::*/
body {
    background-color: #2B374A; /* Navy */
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    min-height: 100vh;
}

h2 {
    font-size: 28px;
    font-weight: bold;
    color: #FFFFFF; /* White */
    text-align: center;
    margin-top: 20px;
    width: 100%;
}

.form-contain {
    max-width: 600px;
    background: #FFFFFF; /* White */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 30px auto;
    text-align: left;
}


label {
    font-weight: bold;
    display: block;
    margin-top: 10px;
    color: #F5F5EB; /* Beige */
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="file"] {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 16px;
    margin-top: 5px;
    box-sizing: border-box;
}

button[type="submit"] {
    background-color: #00BCD4; /* Teal */
    border: none;
    padding: 12px 20px;
    font-size: 18px;
    border-radius: 5px;
    color: white;
    cursor: pointer;
    width: 100%;
    margin-top: 15px;
    transition: 0.3s;
}

button[type="submit"]:hover {
    background-color: #0056b3;
}

/* Responsive Design */
@media (max-width: 768px) {
    .form-contain {
        padding: 20px;
    }
}

/* FOR ANNUAL DAY ::::*/
.annual h1 {
    font-size: 28px;
    text-align: center;
    margin-left: 50px;
}

.annual img {
    size: 10dvb;
}

/** FOR MOBILE STYLING **/
/* Responsive Design */
@media (max-width: 1024px) {
    .content {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
    }

    .slider-container {
        margin-top: 20px;
    }

    .content .text {
        max-width: 90%;
    }

    .content h1 {
        font-size: 36px;
    }

    .content p {
        font-size: 18px;
    }

    .cn {
        padding: 10px 20px;
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        height: auto;
        padding: 15px 20px;
    }

    .menu ul {
        flex-direction: column;
        gap: 10px;
        margin-top: 10px;
    }

    .menu ul li {
        text-align: center;
    }

    .dropdown {
        position: static;
        width: 100%;
        box-shadow: none;
    }

    .slider-container img {
        max-width: 90%;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 20px;
    }

    .content h1 {
        font-size: 28px;
    }

    .content p {
        font-size: 16px;
    }

    .cn {
        padding: 8px 16px;
        font-size: 14px;
    }

    .navbar {
        padding: 10px;
    }
}

/***** FOR ANNUAL DAY FOTOS *******/
/* Full-screen background image */
body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', sans-serif;
    background: url("C:/Users/admin/Desktop/school/bg.jpg")
}

/* Container with transparent white overlay */
.annual {
    max-width: 1000px;
    margin: 100px auto 40px;
    background-color: #b4d9e1; /* Light Teal */
    padding: 40px 20px;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    text-align: center;
}

/* Heading style */
.annual h1 {
    font-size: 3rem;
    color: #0c3342; /* Navy */
    margin-bottom: 30px;
    letter-spacing: 1px;
}

/* Image style */
.annual img {
    width: 300px;
    height: auto;
    margin: 15px;
    border-radius: 15px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* Hover effect */
.annual img:hover {
    transform: scale(1.08);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
    cursor: pointer;
}

/**** FOR SPORTS DAY ***/
body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', sans-serif;
    background: url('images/sportsbg.jpg') no-repeat center center fixed;
    background-size: cover;
}

.sports {
    background-color: #b4d9e1; /* Light Teal */
    margin: 40px auto;
    max-width: 1200px;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    text-align: center;
}

.sports h1 {
    font-size: 3rem;
    color: #0c3342; /* Navy */
    margin-bottom: 25px;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.sports img {
    width: 100%;
    max-width: 320px;
    height: auto;
    object-fit: cover;
    margin: 10px;
    border-radius: 15px;
    transition: all 0.4s ease-in-out;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 4px solid #fff;
}

.sports img:hover {
    transform: scale(1.08);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}

/* Responsive styles */
@media (max-width: 768px) {
    .sports {
        padding: 20px;
    }

    .sports img {
        max-width: 90%;
    }

    .sports h1 {
        font-size: 2.5rem;
    }
}



    .sports img {
        max-width: 100%;
        height: auto;
        margin: 8px auto;
    }


@media (max-width: 480px) {
    .sports {
        padding: 15px;
    }

    .sports h1 {
        font-size: 1.5rem;
    }
}

/**FOR CARETAKER JOB***/
/*Reset + Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: linear-gradient(to right, #add9f8, #f3f9ff);
    font-family: 'Segoe UI', sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Page Heading */
h2 {
    font-size: 32px;
    font-weight: bold;
    color: #2F4156; /* Navy */
    text-align: center;
    margin: 40px 0 20px;
}

/* Form Container */
.form-containn {
    max-width: 600px;
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    margin: 0 auto 60px;
}

/* Labels */
label {
    font-weight: bold;
    display: block;
    margin-top: 15px;
    color: #576C8D; /* Teal */
    font-size: 15px;
}

/* Input Fields */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="file"] {
    width: 100%;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 16px;
    margin-top: 6px;
}

/* Submit Button */
button[type="submit"] {
    background-color: #00BCD4; /* Teal */
    color: white;
    border: none;
    padding: 12px 20px;
    font-size: 18px;
    border-radius: 6px;
    cursor: pointer;
    width: 100%;
    margin-top: 20px;
    transition: background-color 0.3s ease;
}

button[type="submit"]:hover {
    background-color: #2980b9;
}
