html{ 
        background-color: #f3fffe
}

.body {
    background-color: #f3fffe; /* Light background for contrast */
}

@keyframes flipInWord {
    0% {
        opacity: 0;
        transform: translateY(50px) rotateX(90deg);
    }
    50% {
        opacity: 0.5;
        transform: translateY(0) rotateX(45deg);
    }
    100% {
        opacity: 1;
        transform: translateY(0) rotateX(0deg);
    }
}

/* Remove search-related styles */

/* Hero Section */
        .hero {
            background: 
                linear-gradient(135deg, rgba(66, 133, 244, 0.3) 0%, rgba(52, 168, 83, 0.3) 100%),
                url("../imgs/students.jpg");
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            min-height: 80vh;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            color: #f3fffe;
            position: relative;
            overflow: hidden;
        }

        .hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="rgba(255,255,255,0.1)" points="0,1000 1000,800 1000,1000"/></svg>');
            background-size: cover;
            animation: float 6s ease-in-out infinite;
        }

                
        .hero-slideshow {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 1;
        }

        .hero-slide {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            opacity: 0;
            transition: opacity 1s ease-in-out;
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
        }


        .hero-slide.active {
        opacity: 1;
        }


        @keyframes float {
            0%, 100% { transform: translateY(0px) rotate(0deg); }
            50% { transform: translateY(-20px) rotate(1deg); }
        }

        .hero-content {
            max-width: 800px;
            padding: 2rem;
            z-index: 2;
        }

        .hero-subtitle {
            font-size: clamp(0.85rem, 2vw, 1rem);
            animation: slideInUp 1s ease 0.3s forwards;
            padding-top: 2rem;
            margin-bottom: clamp(3rem, 8vw, 6rem);
            text-shadow: 2px 4px 10px rgb(0, 27, 33);
        }

        .hero-subtitle img {
            width: clamp(25px, 5vw, 30px);
            height: auto;
            vertical-align: middle;
            margin-right: 10px;
            text-shadow: 2px 4px 10px rgb(0, 1, 1);
        }


        .hero-title {
            font-size: clamp(2rem, 6vw, 3.5rem);
            font-weight: 700;
            margin-bottom: 2rem;
            line-height: 1.2;
            opacity: 0;
            color: white;
            animation: slideInUp 1s ease 0.6s forwards;
        }

        .hero-title .word { 
        display: inline-block;
        animation: flipInWord 0.8s ease forwards;
        font-family: "PT Serif", serif;
        font-weight: 900;
        text-shadow: 2px 4px 10px rgb(10 131 156);
        }

        .hero-title .word:nth-child(1) {
            animation-delay: 0.8s;
        }

        .hero-title .word:nth-child(2) {
            animation-delay: 1.2s;
        }


        @keyframes flipInWord {
            0% {
                opacity: 0;
                transform: translateY(50px) rotateX(90deg);
            }
            50% {
                opacity: 0.5;
                transform: translateY(0) rotateX(45deg);
            }
            100% {
                opacity: 1;
                transform: translateY(0) rotateX(0deg);
            }
        }

        /* Remove search-related styles */

        /* Wave Effect */
        .wave {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            overflow: hidden;
            line-height: 0;
            transform: rotate(180deg);
            z-index: 100;
            color: #f3fffe;
        }

        .wave svg {
            position: relative;
            display: block;
            width: calc(100% + 1.3px);
            height: clamp(30px, 6vw, 50px);
        }

        .wave .shape-fill {
            fill: #f3fffe;
        }

        /* Animations */
        @keyframes slideInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Mobile Menu */
        .mobile-menu-btn {
            display: none;
            background: none;
            border: none;
            font-size: 1.5rem;
            cursor: pointer;
            color: #333;
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .nav-container {
                padding: 1rem;
            }

            .nav-menu {
                display: none;
                position: absolute;
                top: 100%;
                left: 0;
                width: 100%;
                background: white;
                flex-direction: column;
                padding: 1rem;
                box-shadow: 0 5px 15px rgba(0,0,0,0.1);
                gap: 1rem;
                transform: none;
            }

            .nav-menu .nav-links {
                flex-direction: column;
                gap: 1rem;
            }

            .nav-menu.active {
                display: flex;
                animation: slideDown 0.3s ease;
            }

            .mobile-menu-btn {
                display: block;
            }

            .hero-title {
                font-size: 2.5rem;
            }

            .hero-subtitle {
                font-size: 1rem;
            }

            .search-container {
                border-radius: 15px;
                max-width: 90%;
            }

            .hero-content {
                padding: 1rem;
            }
        }

        @media (max-width: 480px) {
            .hero-title {
                font-size: 2rem;
            }
        }

        @keyframes slideDown {
            from {
                opacity: 0;
                transform: translateY(-10px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Remove search-related hover effects */

        /* Additional smooth transitions */
        * {
            transition: color 0.3s ease, background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
        }



/*All of the text in the bottom is temporary*/
.main-content {
    margin-top: clamp(20px, 4vw, 40px);
    background-image: url("../../imgs/paper.jpg");
}

h5 {
    font-size: clamp(1.3rem, 4vw, 2rem);
    margin-top: clamp(20px, 4vw, 40px);
    text-align: center;
    width: 100%;
    color: #0093ff;
    margin: clamp(20px, 3vw, 30px) 0;
    font-family: "PT Serif", light;
    font-weight: 800;
}

.learn-more-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: clamp(20px, 4vw, 40px);
    max-width: 1400px;
    margin: 0 auto;
    padding: clamp(15px, 3vw, 40px);
}

.learn-more-container > .learn-more-content {
    border-radius: clamp(30px, 10vw, 142px);
    background-image: url("../imgs/bluecard-bg2.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: 1px solid rgb(107 255 192 / 26%);
    padding: clamp(1.5rem, 4vw, 3rem);
    text-align: center;
    height: 100%;
    min-height: clamp(18em, 30vw, 23em);
    width: 100%;
    max-width: 100%;
}

.learn-more-text {
    font-size: clamp(1.3rem, 4vw, 2rem);
    margin-top: clamp(20px, 4vw, 40px);
    text-align: center;
    width: 100%;
    color: #0093ff;
    margin: clamp(20px, 3vw, 30px) 0;
    font-family: "PT Serif", light;
    font-weight: 800;
}

.container {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 equal-width columns */
    gap: 20px; /* Space between items */
    align-items: stretch; /* Make all items equal in height */
    padding: 20px; /* Padding around the grid */
    
}

/* Section styles */
.about-section, .mission-section, .vision-section {
    background-color: #f4f4f4;
    padding: 35px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.25);
}

.about-section h2, .mission-section h2, .vision-section h2 {
    color: #000000;
    margin-bottom: 10px;
    font-size: 1.5em;
    font-weight: bold;
}

.about-section p, .mission-section p, .vision-section p {
    color: #000000;
    line-height: 1.6;
    text-align: justify;
}

.learn-more-container p {
    line-height: 1.6;
    color: #0f2e3e;
    margin-bottom: 1.5rem;
    font-family: "PT Serif";
    text-shadow: 1px 1px 12px rgb(207 209 210);
    font-size: clamp(0.95rem, 2vw, 1.1rem);
}

.learn-more-container h3 {
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    margin: 0 0 1rem;
    color: #224890;
    line-height: 1.3;
    font-family: "PT Serif", light;
    text-shadow: 1px 1px 12px rgb(153 231 255);
    font-weight: 600;
}

/* Mission, Vision, Values Container */
.mv-container {
  display: flex;
  justify-content: center;
  gap: clamp(15px, 2vw, 25px);
  flex-wrap: wrap;
  margin: clamp(30px, 6vw, 44px) auto clamp(50px, 8vw, 84px);
  padding: clamp(10px, 2vw, 20px);
  max-width: 1600px;
}

.card {
  background: #fff;
  background-image: url("../imgs/bluecard-bg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 16px;
  padding: clamp(1.5rem, 3vw, 2rem);
  width: 100%;
  max-width: 457px;
  min-width: 280px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #5cb5ff;
}

.card h3 {
  margin: 0 0 1rem;
  color: #1f3c5b;
  font-size: clamp(1.3em, 3vw, 1.9em);
  font-weight: bold;
  margin-top: 8px;
  text-align: center;   
}

.card p {
  color: #555;
  font-size: clamp(0.95em, 2vw, 1.1em);
  line-height: 1.6;
  text-align: center;
}

.card ul {
  font-size: clamp(0.95em, 2vw, 1.1em);
  color: #555;
  text-align: center;
  list-style: none;
  padding: 0;
  margin: 0;
}

.card ul li {
  margin: 0.5rem 0;
}

/* ====================================
   RESPONSIVE DESIGN - ALL DEVICE SIZES
   ==================================== */

/* Ultra Large Screens (2560px+) */
@media screen and (min-width: 2560px) {
    .hero-content {
        max-width: 1200px;
    }
    
    .learn-more-container {
        max-width: 2000px;
        padding: 60px;
    }
    
    .mv-container {
        max-width: 2000px;
    }
}

/* Extra Extra Large Screens (1920px - 2559px) */
@media screen and (min-width: 1920px) and (max-width: 2559px) {
    .hero-content {
        max-width: 1000px;
    }
    
    .learn-more-container {
        max-width: 1800px;
        padding: 50px;
    }
    
    .mv-container {
        max-width: 1800px;
    }
}

/* Extra Large Screens (1440px - 1919px) */
@media screen and (min-width: 1440px) and (max-width: 1919px) {
    .learn-more-container {
        max-width: 1600px;
        padding: 45px;
    }
    
    .mv-container {
        max-width: 1600px;
    }
}

/* Large Screens (1200px - 1439px) */
@media screen and (min-width: 1200px) and (max-width: 1439px) {
    .learn-more-container {
        max-width: 1400px;
        padding: 40px;
    }
    
    .mv-container {
        max-width: 1400px;
    }
}

/* Desktop (1024px - 1199px) */
@media screen and (max-width: 1199px) {
    .learn-more-container {
        padding: 30px;
        gap: 30px;
    }
    
    .learn-more-container > .learn-more-content {
        padding: 2rem;
    }
    
    .card {
        max-width: 420px;
    }
}

/* Tablet Landscape (992px - 1023px) */
@media screen and (max-width: 1023px) {
    .learn-more-container {
        grid-template-columns: 1fr;
        padding: 25px;
        gap: 25px;
    }
    
    .learn-more-container > .learn-more-content {
        max-width: 700px;
        margin: 0 auto;
    }
}

/* Tablet Portrait (768px - 991px) */
@media screen and (max-width: 991px) {
    .hero {
        min-height: 70vh;
    }
    
    .hero-content {
        padding: 1.5rem;
    }
    
    .learn-more-container {
        padding: 20px;
    }
    
    .learn-more-container > .learn-more-content {
        height: auto;
        min-height: 22em;
        padding: 3.8rem;
    }
    
    .image-text-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15px;
        margin: 0 auto;
    }
        
    .image {
        width: 100%;
        max-width: 400px;
        height: auto;
        border-radius: 12px;
        object-fit: cover;
        display: block;
    }
        
    .text-container {
        text-align: center;
    }
    
    .card {
        width: 100%;
        max-width: 550px;
        margin: 0 auto;
    }
}

/* Mobile Landscape & Small Tablet (640px - 767px) */
@media screen and (max-width: 767px) {
    .hero {
        min-height: 60vh;
    }
    
    .hero-content {
        padding: 1.2rem;
    }
    
    .hero-subtitle {
        padding-top: 1.5rem;
        margin-bottom: 2.5rem;
    }
    
    h5 {
        padding: 0 15px;
    }
    
    .main-content {
        margin-top: 20px;
    }
    
    .learn-more-container {
        padding: 15px;
        gap: 20px;
    }
    
    .learn-more-container > .learn-more-content {
        padding: 1.5rem;
        min-height: 18em;
        border-radius: 30px;
    }
    
    .learn-more-container h3 {
        margin-top: 15px;
    }
    
    .learn-more-container p {
        margin-top: 10px;
        text-align: justify;
        line-height: 1.5;
    }
    
    .image {
        max-width: 350px;
    }
    
    .card {
        padding: 1.5rem;
        border-radius: 12px;
        max-width: 100%;
    }
    
    .mv-container {
        gap: 20px;
        margin: 25px auto 50px;
    }
}

/* Mobile Portrait Large (480px - 639px) */
@media screen and (max-width: 639px) {
    .hero {
        min-height: 55vh;
    }
    
    .hero-subtitle {
        padding-top: 1rem;
        margin-bottom: 2rem;
    }
    
    .learn-more-container {
        padding: 12px;
        gap: 18px;
    }
    
    .learn-more-container > .learn-more-content {
        padding: 1.3rem;
        min-height: 16em;
        border-radius: 25px;
    }
    
    .image {
        max-width: 300px;
    }
    
    .card {
        padding: 1.3rem;
    }
}

/* Mobile Portrait Medium (375px - 479px) */
@media screen and (max-width: 479px) {
    .hero {
        min-height: 50vh;
    }
    
    .hero-content {
        padding: 1rem;
    }
    
    .hero-subtitle {
        padding-top: 0.8rem;
        margin-bottom: 1.5rem;
    }
    
    h5 {
        padding: 0 10px;
    }
    
    .main-content {
        margin-top: 15px;
        padding: 0 8px;
    }
    
    .learn-more-container {
        padding: 10px;
        gap: 15px;
    }
    
    .learn-more-container > .learn-more-content {
        padding: 1.2rem;
        min-height: 15em;
        border-radius: 20px;
    }
    
    .learn-more-container h3 {
        margin-top: 10px;
    }
    
    .learn-more-container p {
        line-height: 1.4;
    }
    
    .image {
        max-width: 280px;
    }
    
    .card {
        padding: 1.2rem;
        border-radius: 10px;
    }
    
    .mv-container {
        gap: 15px;
        margin: 20px auto 40px;
        padding: 8px;
    }
}

/* Mobile Portrait Small (320px - 374px) */
@media screen and (max-width: 374px) {
    .hero {
        min-height: 32vh;
    }
    
    .hero-content {
        padding: 0.8rem;
    }
    
    .hero-subtitle {
        padding-top: 0.5rem;
        margin-bottom: 1rem;
    }
    
    h5 {
        padding: 0 8px;
    }
    
    .main-content {
        margin-top: 12px;
        padding: 0 5px;
    }
    
    .learn-more-container {
        padding: 8px;
        gap: 12px;
    }
    
    .learn-more-container > .learn-more-content {
        padding: 1rem;
        min-height: 14em;
        border-radius: 18px;
    }
    
    .learn-more-container h3 {
        margin-top: 8px;
    }
    
    .image {
        max-width: 260px;
    }
    
    .card {
        padding: 1rem;
        border-radius: 8px;
        min-width: 240px;
    }
    
    .mv-container {
        gap: 12px;
        margin: 15px auto 30px;
        padding: 5px;
    }
}

/* Landscape orientation for mobile devices */
@media screen and (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
    }
    
    .hero-subtitle {
        padding-top: 0.5rem;
        margin-bottom: 1rem;
    }
    
    .main-content {
        margin-top: 15px;
    }
    
    .learn-more-container > .learn-more-content {
        min-height: auto;
        height: auto;
    }
}

/* Contact Section Responsive Styles */
.section-header {
    text-align: center;
    margin-bottom: clamp(30px, 5vw, 50px);
}

.section-title {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #2c3e50;
    position: relative;
    display: inline-block;
    animation: fadeInDown 0.8s ease-out 0.2s both;
    margin: clamp(15px, 3vw, 22px) 0 -10px 0;
}

.contact-form {
    display: grid;
    gap: clamp(15px, 3vw, 25px);
    margin: clamp(8px, 2vw, 10px);
    padding: 0 clamp(5px, 2vw, 15px);
}

.form-input,
.form-textarea {
    width: 100%;
    padding: clamp(8px, 2vw, 10px) clamp(8px, 2vw, 10px) clamp(7px, 2vw, 9px) clamp(35px, 5vw, 49px);
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: clamp(14px, 2vw, 16px);
    color: #2c3e50;
    background: #fff;
    transition: all 0.3s ease;
    outline: none;
}

.submit-btn {
    background: #003366;
    color: white;
    border: none;
    padding: clamp(12px, 2vw, 13px) clamp(25px, 4vw, 33px);
    border-radius: 12px;
    font-size: clamp(14px, 2vw, 16px);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    margin: 20px auto 0;
    display: block;
    min-width: clamp(160px, 30vw, 200px);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background-color: #003366;
    border-radius: 2px;
    animation: underlineExpand 1s ease-out 0.8s both;
}

.contact-form {
    display: grid;
    gap: clamp(15px, 3vw, 25px);
    margin: clamp(8px, 2vw, 10px);
    padding: 0 clamp(5px, 2vw, 15px);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(15px, 2vw, 20px);
    animation: fadeInUp 0.6s ease-out both;
}

.form-row:nth-child(1) { animation-delay: 0.3s; }
.form-row:nth-child(2) { animation-delay: 0.4s; }
.form-row:nth-child(3) { animation-delay: 0.5s; }
.form-row:nth-child(4) { animation-delay: 0.6s; }

.form-group {
    position: relative;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: clamp(8px, 2vw, 10px) clamp(8px, 2vw, 10px) clamp(7px, 2vw, 9px) clamp(35px, 5vw, 49px);
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: clamp(14px, 2vw, 16px);
    color: #2c3e50;
    background: #fff;
    transition: all 0.3s ease;
    outline: none;
}

.form-textarea {
    min-height: clamp(100px, 15vw, 120px);
    resize: vertical;
    font-family: inherit;
}

.form-input:focus,
.form-textarea:focus {
    border-color: #dfce8d;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
    transform: translateY(-2px);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: #999;
    transition: color 0.3s ease;
}

.form-input:focus::placeholder,
.form-textarea:focus::placeholder {
    color: #ccc;
}

.form-input:focus,
.form-textarea:focus {
    color: #fee068;
}

.submit-btn {
    background: #003366;
    color: white;
    border: none;
    padding: clamp(12px, 2vw, 13px) clamp(25px, 4vw, 33px);
    border-radius: 12px;
    font-size: clamp(14px, 2vw, 16px);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    margin: 20px auto 0;
    display: block;
    min-width: clamp(160px, 30vw, 200px);
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(76, 175, 80, 0.3);
}

.submit-btn:hover::before {
    left: 100%;
}

.submit-btn:active {
    transform: translateY(-1px);
}

/* Animations */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes underlineExpand {
    from {
        width: 0;
    }
    to {
        width: 100px;
    }
}

@keyframes colorShift {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Responsive Design - Contact Form */
@media (max-width: 768px) {
    .contact-section {
        padding: clamp(30px, 5vw, 40px) clamp(20px, 4vw, 30px);
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .form-input,
    .form-textarea {
        padding: 15px 18px 15px clamp(35px, 5vw, 45px);
        font-size: 15px;
    }

    .submit-btn {
        padding: 15px 30px;
        font-size: 16px;
        min-width: 180px;
    }
}

@media (max-width: 480px) {
    .contact-section {
        padding: 30px 15px;
    }

    .form-input,
    .form-textarea {
        padding: 12px 15px 12px 35px;
        font-size: 14px;
    }

    .submit-btn {
        padding: 12px 25px;
        font-size: 14px;
        min-width: 160px;
    }
}

/* Contact form iframe responsiveness */
@media screen and (max-width: 767px) {
    iframe[src*="contact-form"] {
        height: 600px;
    }
}

@media screen and (max-width: 479px) {
    iframe[src*="contact-form"] {
        height: 550px;
    }
}

/* Flexbox fallback for older browsers */
@supports not (display: grid) {
    .learn-more-container {
        display: flex;
        flex-direction: column;
    }
    
    .container {
        display: flex;
        flex-direction: column;
    }
    
    .card {
        width: 100%;
        max-width: none;
    }
}