/* --- RESET & BASICS --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

/* --- THEME VARIABLES --- */
:root {
    --primary: #00ffff;      /* Cyan */
    --secondary: #ff66ff;    /* Magenta */
    --bg-dark: #0a0a2a;      /* Deep Space Blue */
    --bg-card: #141440;      /* Lighter Blue for backgrounds/containers */
    --text: #ffffff;
    --text-muted: #cccccc;
    --input-bg: #050515;     /* Even darker background for inputs */
}

body {
    background-color: var(--bg-dark);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh; /* Ensures footer stays low if content is short */
    display: flex;
    flex-direction: column;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* --- NAVIGATION (Shared Across All Pages) --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: rgba(10, 10, 42, 0.95);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(0, 255, 255, 0.2);
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 2px;
}

.nav-menu {
    display: flex; /* Default (desktop) state */
    gap: 20px;
}

.nav-link {
    font-size: 0.9rem;
    color: var(--text);
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--primary);
}

/* MOBILE MENU TOGGLE (Default: Hidden) */
.menu-toggle {
    display: none; 
    flex-direction: column;
    cursor: pointer;
}
.bar {
    width: 25px;
    height: 3px;
    background-color: var(--text);
    margin: 4px 0;
    transition: 0.4s;
}

/* --- HERO SECTION (index.html) --- */
.hero {
    flex-grow: 1; /* Allows content area to fill vertical space */
    display: flex;
    flex-direction: column; 
    align-items: center;
    text-align: center;
    padding: 60px 20px;
    background: radial-gradient(circle at center, #1a1a50 0%, var(--bg-dark) 70%);
}

.title {
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 20px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    color: transparent;
}

.cta-button {
    display: inline-block;
    padding: 15px 30px;
    background-color: var(--primary);
    color: var(--bg-dark);
    font-weight: 700;
    border-radius: 50px;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.4);
    transition: transform 0.2s;
}

.hero-image img {
    width: 100%;
    max-width: 350px; 
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    border: 2px solid var(--secondary);
}

/* --- GENERAL SECTIONS (index.html) --- */
.section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    color: var(--text);
    border-bottom: 2px solid var(--primary);
    display: inline-block;
    padding-bottom: 10px;
    position: relative; 
    left: 50%;
    transform: translateX(-50%);
}

/* GRID CARDS (index.html) */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background-color: var(--bg-card);
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s;
}

.card h3 {
    color: var(--primary);
    margin-bottom: 10px;
}

.manifesto-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.2rem;
    padding: 40px;
    border: 1px dashed var(--secondary);
    border-radius: 10px;
    background-color: rgba(255, 102, 255, 0.05);
}

/* --- POLICY PAGE STYLES (policy.html) --- */
.policy-container {
    flex-grow: 1; /* Allows content area to fill vertical space */
    max-width: 900px;
    margin: 60px auto;
    padding: 20px;
}
.policy-container h1 { color: var(--primary); margin-bottom: 10px; }
.policy-container h2 { color: var(--secondary); margin-top: 30px; margin-bottom: 10px;}
.policy-container h3 { color: var(--primary); margin-top: 15px; margin-bottom: 5px;}
.policy-container ul { list-style: disc; margin-left: 40px; margin-bottom: 20px; }


/* --- CONTACT PAGE STYLES (contact.html) --- */
.contact-section {
    flex-grow: 1; /* Allows content area to fill vertical space */
    padding: 60px 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr; /* Default: Stack vertically */
    gap: 40px;
    background-color: var(--bg-card);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(0, 255, 255, 0.2);
}

.contact-form-container h3 {
    color: var(--primary);
    margin-bottom: 25px;
    border-bottom: 1px dashed var(--primary);
    padding-bottom: 10px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--secondary);
    background-color: var(--input-bg); 
    color: var(--text);
    border-radius: 5px;
    font-size: 1rem;
}

.form-group small {
    display: block;
    color: var(--secondary);
    font-size: 0.8em;
    margin-top: 5px;
}

.contact-details h3 {
    color: var(--secondary);
    margin-bottom: 25px;
    border-bottom: 1px dashed var(--secondary);
    padding-bottom: 10px;
}

.detail-item h4 {
    color: var(--text-muted);
    font-size: 0.9em;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.neon-link {
    color: var(--primary);
}

/* --- FOOTER (Shared Across All Pages) --- */
footer {
    margin-top: auto; /* Pushes footer to the bottom */
    background-color: #050515;
    text-align: center;
    padding: 40px 20px;
    border-top: 1px solid var(--text-muted);
    width: 100%;
}


/* --- MOBILE RESPONSIVENESS (Media Queries) --- */

@media screen and (max-width: 768px) {
    /* NAVIGATION */
    .menu-toggle { display: flex; }
    
    .nav-menu {
        display: none; /* Hidden by default on mobile */
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 70px; 
        left: 0;
        background-color: var(--bg-dark);
        text-align: center;
        padding: 20px 0;
        border-bottom: 1px solid var(--primary);
    }
    .nav-menu.active { 
        display: flex; /* Shown by JS when 'active' class is added */
    }

    /* HERO */
    .title { font-size: 2.2rem; }
    .hero { padding-top: 40px; }
    
    /* CONTACT LAYOUT */
    .contact-layout {
        grid-template-columns: 1fr; 
        padding: 20px;
    }
}

/* TABLET/DESKTOP STYLES (Min-width overrides max-width for specific elements) */
@media screen and (min-width: 769px) {
    .title {
        font-size: 3.5rem; /* Larger font for desktop */
    }

    .contact-layout {
        grid-template-columns: 2fr 1fr; /* Side-by-side layout */
        padding: 50px;
    }
}