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

:root {
    --primary-color: #0c4a6e;
    --secondary-color: #075985;
    --accent-color: #0ea5e9;
    --text-color: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f0f9ff;
    --bg-white: #ffffff;
    --border-color: #e0f2fe;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Aircraft Animation - Realistic Flight Path */
.aircraft-animation {
    position: fixed;
    top: 70%;
    right: -100px;
    width: 60px;
    height: 60px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%230ea5e9"><path d="M21 16v-2l-8-5V3.5c0-.83-.67-1.5-1.5-1.5S10 2.67 10 3.5V9l-8 5v2l8-2.5V19l-2 1.5V22l3.5-1 3.5 1v-1.5L13 19v-5.5l8 2.5z"/></svg>') no-repeat center center;
    background-size: contain;
    opacity: 0.5;
    animation: realisticFlight 35s ease-in-out infinite;
    z-index: 1;
    pointer-events: none;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.3));
}

@keyframes realisticFlight {
    0% {
        right: -100px;
        top: 70%;
        transform: rotate(0deg) scale(0.8);
        opacity: 0.3;
    }
    15% {
        right: 15%;
        top: 50%;
        transform: rotate(-10deg) scale(1);
        opacity: 0.6;
    }
    35% {
        right: 40%;
        top: 15%;
        transform: rotate(-5deg) scale(1.1);
        opacity: 0.7;
    }
    50% {
        right: 55%;
        top: 10%;
        transform: rotate(0deg) scale(1.1);
        opacity: 0.7;
    }
    70% {
        right: 75%;
        top: 12%;
        transform: rotate(2deg) scale(1);
        opacity: 0.6;
    }
    90% {
        right: 95%;
        top: 25%;
        transform: rotate(5deg) scale(0.9);
        opacity: 0.4;
    }
    100% {
        right: 110%;
        top: 35%;
        transform: rotate(8deg) scale(0.8);
        opacity: 0.2;
    }
}

/* Navigation */
header {
    background: var(--bg-white);
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.logo-subtitle {
    font-size: 0.75rem;
    color: var(--accent-color);
    font-weight: normal;
    margin-left: 0.5rem;
    padding: 0.25rem 0.5rem;
    background: var(--bg-light);
    border-radius: 4px;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent-color);
}

.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 5px;
    transition: all 0.3s ease;
}

/* Hero Section with Runway */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0c4a6e 0%, #075985 50%, #0369a1 100%);
    color: white;
    text-align: center;
    padding: 2rem;
    margin-top: 70px;
    position: relative;
    overflow: hidden;
}

/* Runway Lines */
.runway-line {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: repeating-linear-gradient(
        90deg,
        white 0px,
        white 50px,
        transparent 50px,
        transparent 100px
    );
    opacity: 0.4;
    animation: runwayMove 3s linear infinite;
}

@keyframes runwayMove {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100px);
    }
}

/* Clouds */
.cloud {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    animation: cloudFloat 30s ease-in-out infinite;
}

.cloud::before,
.cloud::after {
    content: '';
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 100px;
}

.cloud1 {
    width: 100px;
    height: 40px;
    top: 20%;
    left: -100px;
    animation-duration: 35s;
}

.cloud2 {
    width: 150px;
    height: 50px;
    top: 40%;
    left: -150px;
    animation-duration: 40s;
}

.cloud3 {
    width: 120px;
    height: 45px;
    top: 60%;
    left: -120px;
    animation-duration: 45s;
}

@keyframes cloudFloat {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(100vw + 200px));
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.highlight {
    color: #7dd3fc;
}

.tagline {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    opacity: 0.95;
    animation: fadeInUp 1s ease 0.2s backwards;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    opacity: 0.85;
    animation: fadeInUp 1s ease 0.3s backwards;
    color: #bae6fd;
}

.hero-description {
    font-size: 1rem;
    margin-bottom: 2rem;
    opacity: 0.8;
    animation: fadeInUp 1s ease 0.4s backwards;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    animation: fadeInUp 1s ease 0.5s backwards;
}

.btn {
    padding: 0.875rem 2rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

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

/* Sections */
section {
    padding: 5rem 0;
    position: relative;
}

/* Aviation Transition Effect Between Sections */
section:not(.hero):not(:last-of-type)::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 4px;
    background: repeating-linear-gradient(
        90deg,
        var(--accent-color) 0px,
        var(--accent-color) 20px,
        transparent 20px,
        transparent 30px
    );
    opacity: 0.3;
}

/* Flight Path Divider */
section:not(.hero)::before {
    content: '✈';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    color: var(--accent-color);
    opacity: 0.6;
    animation: planePulse 3s ease-in-out infinite;
}

@keyframes planePulse {
    0%, 100% {
        transform: translateX(-50%) scale(1);
        opacity: 0.6;
    }
    50% {
        transform: translateX(-50%) scale(1.1);
        opacity: 0.8;
    }
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-color);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--accent-color);
    margin: 1rem auto 0;
    border-radius: 2px;
}

/* About Section */
.about {
    background: var(--bg-white);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-info {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.info-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--bg-light);
    border-radius: 50px;
    box-shadow: var(--shadow);
}

.badge-icon {
    font-size: 1.25rem;
}

.info-badge a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-badge a:hover {
    color: var(--accent-color);
}

.about-text {
    text-align: center;
}

.about-text p {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

/* Experience Section - Timeline */
.experience {
    background: var(--bg-light);
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--accent-color);
}

.timeline-item {
    position: relative;
    padding-left: 60px;
    margin-bottom: 3rem;
}

.timeline-marker {
    position: absolute;
    left: 10px;
    top: 0;
    width: 24px;
    height: 24px;
    background: var(--accent-color);
    border-radius: 50%;
    border: 4px solid var(--bg-light);
    box-shadow: var(--shadow);
}

.timeline-content {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-content:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-lg);
}

.timeline-content h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.timeline-content h4 {
    color: var(--text-color);
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.timeline-date {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.timeline-aircraft {
    color: var(--accent-color);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.timeline-content ul {
    list-style-position: inside;
    color: var(--text-light);
}

.timeline-content li {
    margin-bottom: 0.5rem;
}

/* Skills Section */
.skills {
    background: var(--bg-white);
}

.skills-category {
    margin-bottom: 3rem;
}

.category-title {
    font-size: 1.75rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.skill-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    border: 2px solid transparent;
}

.skill-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-color);
}

.skill-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.skill-card h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.skill-card p {
    color: var(--text-light);
}

/* Soft Skills */
.soft-skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    max-width: 900px;
    margin: 0 auto;
}

.soft-skill {
    background: var(--bg-light);
    padding: 1rem 1.5rem;
    border-radius: 50px;
    text-align: center;
    color: var(--text-color);
    font-weight: 500;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.soft-skill:hover {
    background: var(--accent-color);
    color: white;
    transform: scale(1.05);
}

/* Education Section */
.education {
    background: var(--bg-light);
}

.education-grid {
    max-width: 1000px;
    margin: 0 auto;
}

.primary-education {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow);
    text-align: center;
    margin-bottom: 3rem;
    border: 2px solid var(--accent-color);
}

.education-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.primary-education h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.institution {
    color: var(--text-light);
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.year {
    color: var(--accent-color);
    font-weight: 600;
}

/* Certifications */
.certifications {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow);
}

.cert-title {
    color: var(--primary-color);
    font-size: 1.75rem;
    margin-bottom: 2rem;
    text-align: center;
}

.cert-list {
    display: grid;
    gap: 1.5rem;
}

.cert-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.cert-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow);
}

.cert-icon {
    color: var(--accent-color);
    font-size: 1.5rem;
    font-weight: bold;
    flex-shrink: 0;
}

.cert-item strong {
    color: var(--primary-color);
    display: block;
    margin-bottom: 0.25rem;
}

.cert-item p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Contact Section */
.contact {
    background: var(--bg-white);
}

.contact-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.contact-content p {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.contact-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--bg-light);
    border-radius: 0.5rem;
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.contact-link:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-color);
    color: var(--primary-color);
}

/* Footer */
footer {
    background: var(--text-color);
    color: white;
    text-align: center;
    padding: 2rem;
}

footer p {
    opacity: 0.8;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .nav-links {
        position: fixed;
        right: 0;
        height: 100vh;
        top: 70px;
        background: var(--bg-white);
        flex-direction: column;
        align-items: center;
        width: 50%;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
        box-shadow: var(--shadow);
        padding-top: 2rem;
    }

    .nav-links.nav-active {
        transform: translateX(0%);
    }

    .burger {
        display: block;
    }

    .burger.toggle .line1 {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .burger.toggle .line2 {
        opacity: 0;
    }

    .burger.toggle .line3 {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .tagline {
        font-size: 1.125rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .about-info {
        flex-direction: column;
        align-items: stretch;
    }

    .timeline::before {
        left: 10px;
    }

    .timeline-item {
        padding-left: 50px;
    }

    .timeline-marker {
        left: 2px;
    }

    .soft-skills-grid {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    nav {
        padding: 1rem;
    }

    section {
        padding: 3rem 0;
    }

    .logo {
        font-size: 1.25rem;
    }

    .hero-content h1 {
        font-size: 1.5rem;
    }
}
