/* =========================
   NAVIGATION TEXT BRANDING
========================= */

.logo-section {
    display: flex;
    align-items: center;
}

.brand-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a2530; /* 🎨 Dark navy/charcoal for crisp visibility on light headers */
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-family: 'Poppins', 'Segoe UI', sans-serif;
}

.brand-sub {
    display: inline-block;
    font-size: 1.1rem;
    font-weight: 500;
    color: #4a5568; /* ✍️ Slate grey contrast for "Community School" text */
    text-transform: capitalize;
    margin-left: 5px;
}


/* =========================
   HOME PAGE BODY LAYOUT
========================= */

.home-body {
    position: relative;
    min-height: 100vh;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    padding: 60px;
    overflow: hidden;
}

/* VIDEO BACKGROUND */

.bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* DARK OVERLAY */

.home-body::before {
    display: none;
}

/* CONTENT CONTAINER */

.home-content {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
}

/* GLASS CARD */

.glass-container {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    border-radius: 15px;
    padding: 30px;
    max-width: 420px;
    color: white;

    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* HERO BADGE */

.badge-placeholder {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);

    display: flex;
    justify-content: center;
    align-items: center;

    margin-bottom: 15px;
    overflow: hidden; 
}

.badge-img {
    width: 100%;
    height: 100%;
    object-fit: contain; 
}

/* TEXT ELEMENTS */

.glass-container h1 {
    color: white;
    margin-bottom: 10px;
    font-size: 2rem;
}

.motto {
    color: #f5f5f5;
    font-style: italic;
}

/* MOBILE RESPONSIVENESS */

@media (max-width: 768px) {

    .home-body {
        justify-content: center;
        align-items: center;
        padding: 20px;
    }

    .home-content {
        justify-content: center;
    }

    .glass-container {
        max-width: 100%;
        text-align: center;
    }

    .badge-placeholder {
        margin-left: auto;
        margin-right: auto;
    }
    
    .brand-name {
        font-size: 1.1rem; /* Scales down the brand text on phones to fit beautifully */
    }
    .brand-sub {
        font-size: 0.95rem;
    }
}