
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    background: #f3fffe;
}



/* Header Styles */
.header {
    background: #f3fffe;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: relative;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.ls2-school-name {
    margin-bottom: 0rem;
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: clamp(0.5rem, 2vw, 1rem) clamp(1rem, 4vw, 2rem);
    background-color:#f3fffe;
    position: sticky;
    top: 0;
    z-index: 999;
}

.logo {
    display: flex;
    align-items: center;
    font-size: clamp(0.9rem, 2.5vw, 1.4rem);
    font-weight: bold;
    color: #4285f4;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    max-width: calc(100% - 120px);
}

.logo img {
    width: clamp(35px, 8vw, 50px);
    height: auto;
    padding-right: clamp(5px, 1.5vw, 10px);
    flex-shrink: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 0;
    padding:0;
}

.nav-menu .nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
    padding-top: 12px;
    font-family: Arial, sans-serif;
    font-size: 16px;
    color: #4cb4fa;
}

.nav-menu a {
    text-decoration: none;
    color:  #4cb4fa;
    font-weight: 500;
    transition: color 0.3s ease, transform 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: #4285f4;
    transform: translateY(-2px);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background-color: #4285f4;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-menu a:hover::after {
    width: 100%;
}

.join-btn {
    background: #4285f4;
    color: white !important;
    padding: clamp(0.5rem, 1.5vw, 0.75rem) clamp(0rem, 2.5vw, 1.5rem);
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: clamp(0.6rem, 1.8vw, 1rem);
    line-height: normal;
    text-decoration: none;
    white-space: nowrap;
}

.join-btn:hover {
    background: #3367d6;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(66, 133, 244, 0.4);
}

/* 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;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(1deg); }
}

.hero-content {
    max-width: min(800px, 90%);
    padding: clamp(1rem, 3vw, 2rem);
    z-index: 2;
    text-align: center;
}

.hero-subtitle {
    font-size: clamp(0.75rem, 1.8vw, 1rem);
    animation: slideInUp 1s ease 0.3s forwards;
    margin: 0 auto clamp(2rem, 8vw, 6rem);
    text-shadow: 2px 4px 10px rgb(0, 27, 33);
    padding-top: clamp(1rem, 5vw, 3rem);
}

.hero-subtitle img {
    width: clamp(20px, 4vw, 30px);
    height: auto;
    vertical-align: middle;
    margin-right: clamp(5px, 1vw, 10px);
    text-shadow: 2px 4px 10px rgb(0, 1, 1);
}

.hero-title {
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 700;
    margin-bottom: clamp(1rem, 3vw, 2rem);
    line-height: 1.2;
    opacity: 0;
    color: white;
    animation: slideInUp 1s ease 0.6s forwards;
}

.hero-title .word {
    display: inline-block;
    opacity: 0;
    transform: translateY(50px) rotateX(90deg);
    animation: flipInWord 0.8s ease forwards;
    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);
}

.wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 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: 1024px) {
    .nav-menu {
        position: absolute;
        left: auto;
        right: 60px;
        transform: none;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: auto;
        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;
        padding-top: 0;
    }

    .nav-menu.active {
        display: flex;
        animation: slideDown 0.3s ease;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero {
        min-height: 70vh;
    }
    .join-btn {
        margin-left: clamp(0rem, 10vw, 10rem);
    }
}

@media (min-width: 480px) and (max-width: 760px) {
    .logo {
        font-size: 0.85rem;
        max-width: calc(100% - 100px);
    }

    .join-btn {
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
    }

    .hero {
        min-height: 60vh;
    }

    .hero-subtitle {
        margin-bottom: 1rem;
    }
}

@media (min-width: 390px) and (max-width: 470px) {
    .logo {
        font-size: 0.75rem;
    }

    .logo img {
        visibility: hidden;
        margin-left: -2rem;
    }

    .join-btn {
        padding: 0.4rem 0.7rem;
        font-size: 0.75rem;
    }
    .ls2-school-name {
        margin-bottom: 0rem;
    }
}

@media (min-width: 320px) and (max-width: 378px) {
    .nav-container {
        padding: 0.5rem 0.75rem;
        margin-top: 1.5rem;
    }

    .logo img {
        visibility: hidden;
        margin-left: -2rem;
    }
    
    .logo {
        font-size: 0.7rem;
        max-width: calc(100% - 90px);
    }

    .mobile-menu-btn {
        font-size: 1.3rem;
        padding: 0.3rem;
    }

    .wave {
        content-visibility: hidden;
    }

    .hero-title .word {
        font-size: 26px;
    }

    p.hero-subtitle {
        font-size: 0.6rem;
        padding-top: clamp(0rem, 0vw, 3rem);
    }

    .hero-slide {
        height: 16rem;
    }

    .hero {
        min-height: 32vh;
    }

    img {
    max-width: 104%;
    }

}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Remove search-related hover effects */

/* * {
    transition: color 0.3s ease, background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
} */