:root {
    --dark-green: #0a2e1a;
    --medium-green: #1e5631;
    --light-green: #4c9c70;
    --accent-gold: #d4af37;
    --white: #ffffff;
    --light-beige: #f5f5f0;
}

body {
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    background-color: var(--light-beige);
}

.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    background: linear-gradient(135deg, var(--dark-green) 0%, var(--medium-green) 50%, var(--light-green) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
    overflow: hidden;
}

.bubble-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.bubble {
    position: absolute;
    bottom: -100px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    animation: rise 10s infinite ease-in;
    opacity: 0.6;
}

/* Randomize position and delay */
.bubble:nth-child(1) { left: 10%; animation-delay: 0s; animation-duration: 12s; }
.bubble:nth-child(2) { left: 20%; animation-delay: 2s; animation-duration: 10s; }
.bubble:nth-child(3) { left: 30%; animation-delay: 4s; animation-duration: 14s; }
.bubble:nth-child(4) { left: 40%; animation-delay: 1s; animation-duration: 11s; }
.bubble:nth-child(5) { left: 50%; animation-delay: 3s; animation-duration: 13s; }
.bubble:nth-child(6) { left: 60%; animation-delay: 0.5s; animation-duration: 9s; }
.bubble:nth-child(7) { left: 70%; animation-delay: 6s; animation-duration: 12s; }
.bubble:nth-child(8) { left: 80%; animation-delay: 5s; animation-duration: 15s; }
.bubble:nth-child(9) { left: 90%; animation-delay: 3.5s; animation-duration: 10s; }
.bubble:nth-child(10) { left: 25%; animation-delay: 7s; animation-duration: 12s; }

@keyframes rise {
    0% {
        transform: translateY(0) scale(1);
        opacity: 0.6;
    }
    50% {
        opacity: 0.4;
    }
    100% {
        transform: translateY(-120vh) scale(0.8);
        opacity: 0;
    }
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
    animation: fadeInUp 1s ease-out;
    z-index: 2;
}

.school-name {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.school-tagline {
    font-size: 1.8rem;
    font-weight: 300;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.btn-custom {
    padding: 12px 30px;
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0 10px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    min-width: 180px;
}

.btn-primary {
    background-color: var(--accent-gold);
    color: var(--dark-green);
}

.btn-primary:hover {
    background-color: #e6c260;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-outline-light {
    border: 2px solid var(--white);
    color: var(--white);
    background: transparent;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
}

.offline-notification {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #ff6b6b;
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    display: none;
    z-index: 1000;
    animation: fadeIn 0.5s;
}

.offline-notification i {
    margin-right: 8px;
}

#installBtn {
    display: none;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Responsive adjustments */
@media (max-width: 768px) {
    .school-name {
        font-size: 2.5rem;
    }
    
    .school-tagline {
        font-size: 1.3rem;
    }
    
    .btn-custom {
        padding: 10px 20px;
        font-size: 1rem;
        display: block;
        margin: 10px auto;
        max-width: 200px;
    }
}