/* Color Palette & Variables */
:root {
    --primary-navy: #002147;
    --bg-white: #ffffff;
    --bg-light-grey: #f4f6f8;
    --text-dark: #2c3e50;
    --text-muted: #596a7a;
    --accent: #004080;
    --transition-speed: 0.4s;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-light-grey);
    color: var(--text-dark);
    line-height: 1.6;
}

/* Navigation */
.navbar {
    background-color: var(--bg-white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-navy);
    letter-spacing: 1px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-navy);
    transition: width 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-navy);
}

.nav-link.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-navy);
    transition: 0.3s;
}

/* Layout & Sections */
.content-container {
    max-width: 1100px;
    margin: 100px auto 40px;
    padding: 0 2rem;
    min-height: calc(100vh - 140px);
}

.section {
    display: none; /* Hide all by default */
    opacity: 0;
    animation: fadeIn var(--transition-speed) ease forwards;
}

.section.active {
    display: block; /* Show active tab */
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    color: var(--primary-navy);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.divider {
    height: 3px;
    width: 60px;
    background-color: var(--accent);
    margin: 0 auto;
}

/* Placeholders */
.image-placeholder {
    background-color: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
}

.profile-placeholder { width: 300px; height: 300px; border-radius: 50%; }
.small-placeholder { width: 100%; height: 150px; margin-top: 1rem; }
.rect-placeholder { width: 100%; height: 200px; margin-top: 1.5rem; }
.large-placeholder { width: 100%; height: 400px; }

/* Home Hero */
.hero-layout {
    display: flex;
    align-items: center;
    gap: 4rem;
    padding-top: 3rem;
}

.hero-text h1 {
    font-size: 2.8rem;
    color: var(--primary-navy);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero-text h2 {
    font-size: 1.2rem;
    color: var(--text-muted);
    font-weight: 400;
    margin-bottom: 1.5rem;
}

.hero-text p {
    font-size: 1.05rem;
}

/* Cards Grid (Education, Leadership) */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.03);
    border-top: 4px solid var(--primary-navy);
}

.card h3 { color: var(--primary-navy); margin-bottom: 0.5rem; }
.card h4 { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 1rem; font-weight: 600;}
.card ul { padding-left: 1.2rem; margin-top: 0.5rem; }
.card li { margin-bottom: 0.3rem; }

/* Experience Specific */
.large-cards {
    grid-template-columns: 1fr;
}

.experience-card .card-content {
    margin-top: 1.5rem;
}

/* Sports Layout */
.sports-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    background: var(--bg-white);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.03);
}

.sports-list h3 {
    color: var(--primary-navy);
    margin-bottom: 1rem;
    margin-top: 1.5rem;
}
.sports-list h3:first-child { margin-top: 0; }
.sports-list ul { padding-left: 1.5rem; }
.benefits-list li {
    font-weight: 600;
    color: var(--accent);
}

/* Career Goals */
.career-card {
    background: var(--primary-navy);
    color: var(--bg-white);
    padding: 4rem;
    border-radius: 12px;
    text-align: center;
    position: relative;
    box-shadow: 0 10px 20px rgba(0,33,71,0.1);
}

.quote-mark {
    font-size: 6rem;
    font-family: serif;
    position: absolute;
    top: -10px;
    left: 20px;
    color: rgba(255,255,255,0.1);
    line-height: 1;
}

.career-card p {
    font-size: 1.3rem;
    font-weight: 300;
    line-height: 1.8;
    position: relative;
    z-index: 2;
}

/* Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.contact-card {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    text-decoration: none;
    color: var(--text-dark);
    box-shadow: 0 4px 6px rgba(0,0,0,0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e2e8f0;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.05);
    border-color: var(--primary-navy);
}

.contact-card h3 {
    color: var(--primary-navy);
    margin-bottom: 0.5rem;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .hamburger { display: flex; }
    
    .nav-links {
        position: fixed;
        right: -100%;
        top: 60px;
        flex-direction: column;
        background-color: var(--bg-white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 10px rgba(0,0,0,0.05);
        padding: 2rem 0;
        gap: 1.5rem;
    }

    .nav-links.active { right: 0; }
    
    .hero-layout, .sports-layout {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-text h1 { font-size: 2rem; }
    .profile-placeholder { margin: 0 auto; width: 250px; height: 250px; }
    .career-card { padding: 2rem; }
}
