/* --- Global Variables & Colors (Blue, White, Red Accent) --- */
:root {
    --bg-dark-blue: #0A192F;
    --bg-light-blue: #172A45;
    --accent-red: #E03131;
    --accent-red-hover: #C92A2A;
    --text-white: #F8F9FA;
    --text-gray: #A8B2D1;
    --pure-white: #FFFFFF;
    --light-section: #F1F3F5;
    --dark-text: #212529;
}

/* --- Base Reset --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: var(--pure-white);
    color: var(--dark-text);
    line-height: 1.6;
}

/* --- Navigation --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 10%;
    background-color: var(--bg-dark-blue);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.navbar .logo {
    color: var(--text-white);
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 1px;
}

.navbar .logo span {
    color: var(--accent-red);
}

.navbar nav a {
    color: var(--text-gray);
    text-decoration: none;
    margin-left: 30px;
    font-weight: 500;
    transition: color 0.3s;
}

.navbar nav a:hover {
    color: var(--text-white);
}

.navbar nav .btn-nav {
    background-color: transparent;
    border: 2px solid var(--accent-red);
    color: var(--text-white);
    padding: 8px 18px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.navbar nav .btn-nav:hover {
    background-color: var(--accent-red);
    color: var(--text-white);
}

/* --- Hero Section --- */
.hero {
    background: linear-gradient(135deg, var(--bg-dark-blue) 0%, var(--bg-light-blue) 100%);
    min-height: 75vh;
    display: flex;
    align-items: center;
    padding: 0 10%;
    color: var(--text-white);
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 10px;
    letter-spacing: -1px;
}

.hero-content h2 {
    font-size: 24px;
    color: var(--text-gray);
    font-weight: 400;
    margin-bottom: 25px;
}

.hero-content p {
    max-width: 600px;
    color: var(--text-gray);
    font-size: 17px;
    margin-bottom: 35px;
}

.hero-btns a {
    text-decoration: none;
    padding: 12px 28px;
    font-weight: 600;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--accent-red);
    color: var(--text-white);
    margin-right: 15px;
}

.btn-primary:hover {
    background-color: var(--accent-red-hover);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-white);
    border: 2px solid var(--text-white);
}

.btn-secondary:hover {
    background-color: var(--text-white);
    color: var(--bg-dark-blue);
    transform: translateY(-2px);
}

/* --- Section Formatting --- */
.section {
    padding: 80px 10%;
}

.bg-light {
    background-color: var(--light-section);
}

.section-title {
    font-size: 32px;
    margin-bottom: 50px;
    position: relative;
    color: var(--bg-dark-blue);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: var(--accent-red);
}

/* --- Interactive Grid Cards --- */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.card {
    background: var(--pure-white);
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.card-icon {
    font-size: 40px;
    color: var(--bg-dark-blue);
    margin-bottom: 20px;
}

.card h3 {
    margin-bottom: 15px;
    color: var(--bg-dark-blue);
}

.card p {
    color: #666;
    font-size: 15px;
}

/* --- Simple Modern Timeline --- */
.timeline {
    border-left: 3px solid var(--light-section);
    padding-left: 30px;
    margin-left: 10px;
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -38px;
    top: 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--accent-red);
    border: 3px solid var(--pure-white);
    box-shadow: 0 0 0 3px var(--light-section);
}

.timeline-date {
    font-weight: 700;
    color: var(--accent-red);
    margin-bottom: 5px;
}

.timeline-content h3 {
    color: var(--bg-dark-blue);
    font-size: 20px;
}

.timeline-content h4 {
    color: #666;
    font-weight: 500;
    margin-bottom: 10px;
}

/* --- Contact & Email Pulse Animation --- */
.contact-section {
    text-align: center;
    background-color: var(--bg-dark-blue);
    color: var(--text-white);
}

.contact-section .section-title {
    color: var(--text-white);
    display: inline-block;
}

.contact-section .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

.contact-subtitle {
    color: var(--text-gray);
    margin-top: -30px;
    margin-bottom: 50px;
}

.email-box {
    margin-top: 20px;
}

/* Discrete Soft Scaling & Radial Glow Animation requested */
.animated-email {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background-color: var(--bg-light-blue);
    color: var(--text-white);
    text-decoration: none;
    padding: 18px 35px;
    font-size: 20px;
    font-weight: 600;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 0 rgba(224, 49, 49, 0.4);
    animation: discretePulse 2.5s infinite ease-in-out;
    transition: background-color 0.3s ease;
}

.animated-email i {
    font-size: 24px;
    color: var(--accent-red);
}

.animated-email:hover {
    background-color: #1e3656;
}

@keyframes discretePulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(224, 49, 49, 0.4);
    }
    50% {
        transform: scale(1.02); /* Very gentle breath effect */
        box-shadow: 0 0 15px 5px rgba(224, 49, 49, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(224, 49, 49, 0);
    }
}

/* --- Footer --- */
footer {
    background-color: #071120;
    color: var(--text-gray);
    text-align: center;
    padding: 25px;
    font-size: 14px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

/* --- Simple Responsive Tweaks --- */
@media (max-width: 768px) {
    .navbar { padding: 20px 5%; }
    .navbar nav a { margin-left: 15px; font-size: 14px; }
    .hero { padding: 0 5%; }
    .hero-content h1 { font-size: 36px; }
    .section { padding: 60px 5%; }
}