/* =========================================
   GLOBAL THEME & VARIABLES
   ========================================= */
:root {
    --navy: #003366;
    --red: #C41E3A;
    --gold: #FFD700;
    --white: #ffffff;
    --light-bg: #f8f9fa;
    --text-dark: #333333;
    --transition: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body { 
    font-family: 'Montserrat', 'Segoe UI', sans-serif; 
    background-color: var(--white); 
    color: var(--text-dark);
    line-height: 1.6;
}

/* =========================================
   NEW: NO-SCROLL LAYOUT (For App-like feel)
   ========================================= */
.no-scroll-page {
    height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.no-scroll-page main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* =========================================
   NAVIGATION BAR (Professional White)
   ========================================= */
.announcement-bar {
    background: var(--red);
    color: white;
    text-align: center;
    padding: 8px;
    font-weight: bold;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

nav {
    background: var(--white);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 8%;
    min-height: 80px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    color: var(--navy);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--red);
}

/* Red Login/Action Button in Nav */
.nav-login-btn {
    border: 2px solid var(--red);
    color: var(--red) !important;
    padding: 8px 22px;
    border-radius: 25px;
    transition: var(--transition);
}

.nav-login-btn:hover {
    background: var(--red);
    color: white !important;
}

/* =========================================
   HERO SECTION (Full Screen)
   ========================================= */
.hero {
    background: linear-gradient(rgba(0, 51, 102, 0.6), rgba(0, 51, 102, 0.6)), 
                url('../assets/hero.png');
    background-size: cover;
    background-position: center;
    height: calc(100vh - 120px); /* Perfect fit without scroll */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 0 20px;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 4rem); /* Responsive text size */
    font-weight: 900;
    margin-bottom: 10px;
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 800px;
    color: #f0f0f0;
}

/* =========================================
   CONTACT & LOGIN CARDS
   ========================================= */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 30px;
    width: 100%;
    max-width: 1100px;
}

.contact-info-card, .form-card {
    background: white;
    padding: 35px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.card-header h2 { 
    color: var(--navy); 
    font-size: 1.8rem;
    margin-bottom: 5px; 
}

/* =========================================
   FORM STYLING
   ========================================= */
.styled-form .input-group { margin-bottom: 15px; }

.styled-form label { 
    display: block; 
    font-weight: 700; 
    color: var(--navy); 
    margin-bottom: 5px; 
    font-size: 0.85rem; 
}

.styled-form input, .styled-form textarea {
    width: 100%;
    padding: 12px;
    border: 1.5px solid #eee;
    border-radius: 8px;
    background: #fdfdfd;
    transition: var(--transition);
}

.styled-form input:focus { 
    border-color: var(--navy); 
    outline: none; 
    background: white;
}

.submit-btn {
    width: 100%;
    background: var(--red);
    color: white;
    padding: 14px;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
    letter-spacing: 1px;
}

.submit-btn:hover { 
    background: var(--navy); 
    transform: translateY(-2px);
}

/* =========================================
   ADMIN & PORTAL TABLES
   ========================================= */
.admin-table { 
    width: 100%; 
    border-collapse: separate; 
    border-spacing: 0 10px; /* Space between rows */
}

.admin-table th { 
    background: transparent; 
    color: var(--navy); 
    padding: 15px; 
    text-align: left; 
    text-transform: uppercase;
    font-size: 0.8rem;
}

.admin-table td { 
    background: white;
    padding: 15px; 
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.admin-table td:first-child { border-left: 1px solid #eee; border-radius: 10px 0 0 10px; }
.admin-table td:last-child { border-right: 1px solid #eee; border-radius: 0 10px 10px 0; }

.status-badge { 
    padding: 5px 12px; 
    border-radius: 6px; 
    font-weight: bold; 
    font-size: 0.7rem; 
    text-transform: uppercase;
}
.status-badge.pending { background: #fff3cd; color: #856404; }
.status-badge.approved { background: #d4edda; color: #155724; }
.status-badge.rejected { background: #f8d7da; color: #721c24; }

/* Responsive adjustments */
@media (max-width: 900px) {
    body { overflow-y: auto; }
    .no-scroll-page { height: auto; overflow: visible; }
    .contact-layout { grid-template-columns: 1fr; }
    nav { padding: 10px 5%; }
}