/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #1a365d;
    --secondary-blue: #2d3748;
    --accent-gold: #d69e2e;
    --accent-olive: #667744;
    --light-bg: #f7fafc;
    --white: #ffffff;
    --gray-light: #e2e8f0;
    --gray: #a0aec0;
    --transition: all 0.3s ease;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.6;
    color: var(--secondary-blue);
    background: var(--white);
    padding-bottom: 80px;
}

/* ===== CONTACT BAR ===== */
.contact-bar {
    background: var(--primary-blue);
    color: var(--white);
    padding: 8px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 14px;
    border-bottom: 2px solid var(--accent-gold);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-icon {
    width: 20px;
    height: 20px;
    fill: var(--white);
}

.security-status {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #48bb78;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* ===== MAIN NAVIGATION ===== */
.main-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 2px solid var(--gray-light);
    display: flex;
    justify-content: space-around;
    padding: 12px 0;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--gray);
    transition: var(--transition);
    flex: 1;
    max-width: 120px;
}

.nav-item.active {
    color: var(--primary-blue);
}

.nav-icon {
    width: 24px;
    height: 24px;
    margin-bottom: 4px;
    fill: currentColor;
}

.nav-text {
    font-size: 12px;
    font-weight: 500;
}

/* ===== HERO SECTION ===== */
.hero {
    background: linear-gradient(rgba(26, 54, 93, 0.85), rgba(26, 54, 93, 0.9)), 
                url('https://images.unsplash.com/photo-1566073771259-6a8506099945?ixlib=rb-1.2.1&auto=format&fit=crop&w=1200&h=400&q=80') center/cover no-repeat;
    color: var(--white);
    padding: 60px 20px;
    text-align: center;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.hero-tagline {
    font-size: 1.2rem;
    margin-bottom: 20px;
    max-width: 600px;
    opacity: 0.9;
}

.address {
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border-radius: 8px;
    margin-top: 15px;
}

/* ===== VIDEO SECTION ===== */
.video-section {
    background: var(--light-bg);
    padding: 60px 20px;
}

.video-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.video-wrapper video,
.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 12px;
}

.video-controls {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
}

.video-btn {
    background: var(--primary-blue);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.video-btn:hover {
    background: var(--secondary-blue);
}

.video-info {
    text-align: center;
    margin-top: 20px;
    color: var(--gray);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-size: 14px;
}

.video-timestamp {
    display: inline-block;
    background: var(--accent-olive);
    color: white;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 12px;
    margin-top: 10px;
}

/* ===== COMMON SECTIONS ===== */
.section {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    color: var(--primary-blue);
    font-size: 1.8rem;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--accent-gold);
}

/* ===== PILLARS GRID ===== */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.pillar-card {
    background: var(--white);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--gray-light);
    transition: var(--transition);
}

.pillar-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.pillar-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 20px;
    padding: 10px;
    background: var(--light-bg);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pillar-icon svg {
    width: 30px;
    height: 30px;
    fill: var(--accent-gold);
}

.pillar-title {
    color: var(--primary-blue);
    font-size: 1.2rem;
    margin-bottom: 15px;
    font-weight: 600;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    background: var(--primary-blue);
    color: var(--white);
    padding: 12px 28px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid var(--primary-blue);
    transition: var(--transition);
    cursor: pointer;
    font-size: 16px;
}

.btn:hover {
    background: var(--white);
    color: var(--primary-blue);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-blue);
    border-color: var(--primary-blue);
}

.btn-secondary:hover {
    background: var(--primary-blue);
    color: var(--white);
}

.btn-accent {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
    color: var(--white);
}

.btn-accent:hover {
    background: var(--white);
    color: var(--accent-gold);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .contact-bar {
        font-size: 12px;
        gap: 10px;
        padding: 8px 10px;
    }
    
    .contact-icon {
        width: 16px;
        height: 16px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-tagline {
        font-size: 1rem;
    }
    
    .nav-text {
        font-size: 10px;
    }
    
    .section {
        padding: 30px 15px;
    }
    
    .video-section {
        padding: 40px 15px;
    }
    
    .video-wrapper {
        padding-bottom: 75%; /* Taller for mobile */
    }
    
    .video-controls {
        flex-direction: column;
        align-items: center;
    }
    
    .video-btn {
        width: 200px;
        justify-content: center;
    }
    
    .pillars-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .contact-bar {
        flex-direction: column;
        gap: 5px;
        padding: 8px;
    }
    
    .pillars-grid {
        grid-template-columns: 1fr;
    }
    
    .hero {
        padding: 40px 15px;
        min-height: 250px;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
}