/* --- CSS VARIABLES --- */
:root {
    --primary-red: #D3403C;
    --bg-yellow: #FEEC95;
    --card-bg: #FFF5E8;
    --text-dark: #1a1a1a;
    --shadow-color: rgba(0,0,0,0.3);
    --border-thick: 2px solid #000;
}

/* --- RESET & BASICS --- */
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Poppins', sans-serif; background-color: #fff; overflow-x: hidden; }

/* --- HEADER --- */
header {
    background-color: var(--primary-red);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 100;
}

.logo-text { width: 100%; }
.logo-container { text-align: center; flex-grow: 1; }
.logo-text { font-family: 'Kaushan Script', cursive; color: #FDD835; font-size: 2rem; line-height: 1; }
.logo-img span { display: block; width: 100%; height: auto; margin: 0 auto; }

.hamburger {
    background: none; border: none; cursor: pointer; display: flex; flex-direction: column; gap: 5px;
}
.hamburger span { display: block; width: 30px; height: 3px; background-color: #fff; border-radius: 3px; }

/* --- SIDE MENU --- */
.side-menu {
    position: fixed; top: 0; right: 0; width: 280px; height: 100%;
    background-color: var(--card-bg); border-left: var(--border-thick);
    transform: translateX(100%); transition: transform 0.3s ease;
    z-index: 1000; 
    box-shadow: -5px 0 15px rgba(0,0,0,0.2);
    display: flex; flex-direction: column; justify-content: flex-end; 
    padding: 20px; padding-bottom: 50px; 
}

.side-menu.active { transform: translateX(0); }

.menu-link { 
    display: block; font-size: 1.6rem; margin-bottom: 25px; 
    text-decoration: none; color: var(--text-dark); 
    font-weight: 900; text-align: right; 
}

.close-menu { 
    background: none; border: none; font-size: 3rem; 
    cursor: pointer; color: var(--primary-red); 
    align-self: flex-end; margin-top: 10px; line-height: 1;
}
.close-menu:hover { opacity: 0.7; }

/* --- MAIN SECTIONS (Used for Request, About, Services) --- */
.page-section { padding: 30px 2px; text-align: center; min-height: 60vh; }
.bg-yellow { background-color: var(--bg-yellow); }

h1, h2 { 
    text-transform: uppercase; font-weight: 900; 
    margin-bottom: 20px; font-size: 2.2rem; 
}

/* --- CARD STYLES --- */
.content-card, .form-card {
    background-color: var(--card-bg);
    border: var(--border-thick);
    border-radius: 15px;
    width: 100%; 
    padding: 40px 25px; 
    box-shadow: 5px 5px 10px var(--shadow-color);
    text-align: left;
    max-width: 800px;
    margin: 0 auto 30px auto;
}

/* --- FORM SPECIFICS --- */
.form-group { margin-bottom: 40px; }
label { display: block; font-weight: 800; margin-bottom: 12px; font-size: 1.3rem; color: #333; }
input, select, textarea {
    width: 100%; padding: 18px; border: 2px solid #ccc; 
    border-radius: 10px; font-family: inherit; font-size: 1.2rem; 
    background-color: #fff;
}
input:focus, textarea:focus, select:focus { border-color: var(--primary-red); outline: none; }
textarea { resize: vertical; min-height: 120px; }

.payment-options { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-top: 10px; }
.payment-btn {
    padding: 18px; border: 2px solid #ccc; border-radius: 10px; 
    background: #fff; cursor: pointer; text-align: center; 
    font-size: 1.1rem; font-weight: 800;
}
.payment-btn.selected { background-color: var(--bg-yellow); border-color: var(--primary-red); }
#paymentInput { display: none; }

.submit-btn {
    width: 100%; padding: 25px; border: none; border-radius: 15px;
    background: linear-gradient(90deg, #D3403C, #E68A5C);
    color: white; font-weight: 900; font-size: 1.8rem;
    margin-top: 15px; cursor: pointer;
    box-shadow: 0 5px 8px rgba(0,0,0,0.3);
    text-transform: uppercase; letter-spacing: 2px;
}

/* --- WHY CHOOSE US / SERVICES --- */
.why-us-section {
    background-color: var(--bg-yellow);
    padding: 50px 10px 120px 10px; /* Large bottom padding for FAB */
    text-align: center;
}

.info-card {
    background-color: var(--card-bg);
    border: var(--border-thick);
    border-radius: 15px;
    padding: 30px 20px;
    margin-bottom: 30px;
    box-shadow: 6px 6px 0px rgba(0,0,0,0.2);
    width: 100%; max-width: 600px;
    margin-left: auto; margin-right: auto;
}

.emoji-icon { font-size: 4rem; display: block; margin-bottom: 15px; }
.card-title { font-size: 1.8rem; color: var(--primary-red); font-weight: 900; text-transform: uppercase; margin-bottom: 10px; }
.card-desc { font-size: 1.1rem; font-weight: 700; color: #555; text-transform: uppercase; line-height: 1.4; }

@keyframes jiggle {
    0% { transform: rotate(0deg); }
    25% { transform: rotate(2deg); }
    50% { transform: rotate(-2deg); }
    75% { transform: rotate(1deg); }
    100% { transform: rotate(0deg); }
}
.info-card:active { animation: jiggle 0.3s ease-in-out; }

/* --- SPONSORS CAROUSEL --- */
.sponsors-section { padding: 50px 0; background-color: white; text-align: center; overflow: hidden; }
.carousel-container { width: 100%; overflow: hidden; position: relative; padding: 20px 0; }
.carousel-track { display: flex; transition: transform 0.5s ease-in-out; width: 400%; }
.slide { width: 25%; display: flex; justify-content: center; align-items: center; }
.slide img { max-width: 180px; height: auto; } 

.dots-container { display: flex; justify-content: center; gap: 12px; margin-top: 20px; }
.dot { width: 12px; height: 12px; background-color: #ccc; border-radius: 50%; transition: background 0.3s; }
.dot.active { background-color: var(--primary-red); }

/* --- FLOATING HAMBURGER (FAB) --- */
.fab-menu {
    position: fixed; bottom: 30px; right: 20px;
    width: 70px; height: 70px;
    background-color: var(--primary-red);
    border: 2px solid #000;
    border-radius: 50%;
    display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
    box-shadow: 4px 4px 12px rgba(0,0,0,0.4);
    cursor: pointer; z-index: 900;
    opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.fab-menu.visible { opacity: 1; pointer-events: all; }
.fab-menu span { width: 35px; height: 4px; background-color: white; border-radius: 2px; }

/* --- FOOTER --- */
footer {
    background-color: var(--primary-red); color: white;
    padding: 40px 20px; display: flex; flex-direction: column; gap: 20px;
}
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; }
.footer-email { text-align: right; }
.footer-email a { color: #FDD835; text-decoration: none; font-weight: bold; font-size: 1.1rem;}
.footer-msg { font-size: 0.9rem; margin-top: 15px; line-height: 1.5; border-top: 1px solid rgba(255,255,255,0.3); padding-top: 15px;}
.copyright { font-size: 0.8rem; text-align: center; margin-top: 25px; opacity: 0.8; }

/* --- MOBILE RESPONSIVE FIXES --- */
@media (max-width: 768px) {

    /* 1. Fix Form Width on Mobile */
    .content-card, .form-card {
        width: 94%; /* Prevents it from touching the absolute edges */
        padding: 30px 15px; /* Reduces internal padding so content has more room */
        margin-left: auto;
        margin-right: auto;
    }

    /* 2. Fix Footer Email Hanging Off */
    .footer-top {
        flex-direction: column; /* Stacks Logo on top of Email */
        align-items: center;    /* Centers everything */
        text-align: center;
    }

    .logo-container {
        /* Overrides inline styles to center the logo on mobile */
        text-align: center !important; 
        width: 100%;
        margin-bottom: 10px;
    }

    .footer-email {
        text-align: center;
        width: 100%;
    }

    .footer-email a {
        /* Ensures the email breaks to a new line if it's still too massive */
        word-wrap: break-word; 
        font-size: 1rem; /* Slightly smaller text for better fit */
    }

    /* 3. Ensure Inputs don't push width out */
    input, select, textarea {
        max-width: 100%;
        font-size: 16px; /* 16px is the magic number to prevent iOS zoom */
    }
}