/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}

body {
    font-family: 'Courier New', monospace;
    background-color: #2c3e50;
    color: #ffc600;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.nav-logo img {
    height: 40px; /* Or any other size you prefer */
    width: auto;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(44, 62, 80, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    -moz-backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid #34495e;
}

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

.nav-logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ffc600;
    text-shadow: 0 0 10px rgba(255, 198, 0, 0.5);
}

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

.nav-link {
    color: #ffc600;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border: 1px solid transparent;
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.nav-link:hover,
.nav-link.active {
    border-color: #ffc600;
    background: rgba(255, 198, 0, 0.1);
    box-shadow: 0 0 10px rgba(255, 198, 0, 0.3);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #ffc600;
    margin: 3px 0;
    transition: 0.3s;
    -webkit-transition: 0.3s;
    -moz-transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero-background-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    z-index: 0;
    object-fit: cover;
    -o-object-fit: cover;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
    pointer-events: none;
}
.hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
    padding: 3rem 2rem;
    max-width: 800px;
    margin: 0 auto;
    
    /* Adjusted for more transparency */
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.7), rgba(44, 62, 80, 0.8));
    
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
    border-radius: 16px;
    border: 1px solid rgba(255, 198, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(255, 198, 0, 0.5);
    letter-spacing: 2px;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-badges {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.badge {
    background: rgba(255, 198, 0, 0.1);
    border: 1px solid #ffc600;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Flip Board Styles */
.flip-board {
    background-color: #1a252f;
    border: 5px solid #34495e;
    border-radius: 10px;
    padding: 25px;
    display: inline-block;
    width: 100%;
    max-width: 1000px;
    font-family: 'Courier New', monospace;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 2;
}

.board-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10px 20px 10px;
    border-bottom: 2px solid #34495e;
    margin-bottom: 10px;
}

.header-title {
    font-size: 1.5em;
    color: #fff;
    letter-spacing: 4px;
    text-align: center;
    line-height: 1.2;
}

.header-title div {
    margin: 2px 0;
}

.header-clock {
    display: flex;
    align-items: center;
}

.clock-title {
    font-size: 1.2em;
    color: #ffc600;
    margin-right: 15px;
}

.utc-clock {
    display: flex;
}

.column-titles {
    color: #ffc600;
    font-size: 1em;
    padding: 0 10px 10px 10px;
    border-bottom: 2px dashed #34495e;
    display: flex;
    justify-content: space-between;
}

.row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 2px dashed #34495e;
    min-height: 60px;
}

.row:last-child {
    border-bottom: none;
}

.column-titles > div, .row > div {
    text-align: left;
}

.row .flight, .column-titles .flight { width: 12%; }
.row .time, .column-titles .time { width: 12%; }
.row .destination, .column-titles .destination { width: 35%; }
.row .gate, .column-titles .gate { width: 15%; }
.row .status, .column-titles .status { width: 26%; }

.destination > span {
    font-size: 1.2em;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Split Flap Animation Styles */
.letter {
    position: relative;
    display: inline-block;
    width: 0.9em;
    height: 1.5em;
    line-height: 1.5em;
    text-align: center;
    perspective: 300px;
    margin: 0 0.5px;
    font-size: 1.2em;
    vertical-align: top;
}

.letter.space {
    width: 0.4em;
}

.top, .bottom, .flip-top, .flip-bottom {
    position: absolute;
    left: 0;
    width: 100%;
    height: 50%;
    overflow: hidden;
    backface-visibility: hidden;
    background: #2c3e50;
    color: #ffc600;
    border-radius: 3px;
    text-align: center;
    font-weight: bold;
    line-height: 1.5em;
}

.top, .flip-top {
    top: 0;
    border-bottom: 1px solid #000;
    line-height: 1.5em;
}

.bottom, .flip-bottom {
    top: 50%;
    border-top: 1px solid #000;
    line-height: 0;
}

.flipping .flip-top {
    animation: flip-top 0.3s ease-in-out forwards;
    -webkit-animation: flip-top 0.3s ease-in-out forwards;
    -moz-animation: flip-top 0.3s ease-in-out forwards;
    transform-origin: bottom;
    -webkit-transform-origin: bottom;
    -moz-transform-origin: bottom;
}

.flipping .flip-bottom {
    animation: flip-bottom 0.3s ease-in-out forwards;
    -webkit-animation: flip-bottom 0.3s ease-in-out forwards;
    -moz-animation: flip-bottom 0.3s ease-in-out forwards;
    transform-origin: top;
    -webkit-transform-origin: top;
    -moz-transform-origin: top;
    transform: rotateX(90deg);
    -webkit-transform: rotateX(90deg);
    -moz-transform: rotateX(90deg);
}

@keyframes flip-top {
    100% { 
        transform: rotateX(-90deg);
        -webkit-transform: rotateX(-90deg);
        -moz-transform: rotateX(-90deg);
    }
}

@keyframes flip-bottom {
    100% { 
        transform: rotateX(0deg);
        -webkit-transform: rotateX(0deg);
        -moz-transform: rotateX(0deg);
    }
}

@-webkit-keyframes flip-top {
    100% { -webkit-transform: rotateX(-90deg); }
}

@-webkit-keyframes flip-bottom {
    100% { -webkit-transform: rotateX(0deg); }
}

@-moz-keyframes flip-top {
    100% { -moz-transform: rotateX(-90deg); }
}

@-moz-keyframes flip-bottom {
    100% { -moz-transform: rotateX(0deg); }
}

/* Responsive flip board */
@media (max-width: 768px) {
    .flip-board {
        padding: 15px;
    }
    
    .header-title {
        font-size: 1.2em;
    }
    
    .letter {
        font-size: 1.0em;
        width: 0.8em;
        height: 1.3em;
        margin: 0 0.5px;
    }
    
    .destination > span {
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .flip-board {
        border-width: 3px;
        padding: 10px;
    }
    
    .header-title {
        display: none;
    }
    
    .column-titles {
        font-size: 0.8em;
    }
    
    .row .flight, .column-titles .flight { width: 15%; }
    .row .time, .column-titles .time { display: none; }
    .row .destination, .column-titles .destination { width: 40%; }
    .row .gate, .column-titles .gate { width: 15%; }
    .row .status, .column-titles .status { width: 30%; }
    
    .destination > span {
        font-size: 0.7em;
    }
}

/* Flip Board Section */
.flip-board-section {
    padding: 3rem 0;
    background: #2c3e50;
}

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

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(255, 198, 0, 0.3);
}

/* About Section */
.about {
    background: #34495e;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.status-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.status-item {
    background: rgba(26, 37, 47, 0.8);
    border: 1px solid #34495e;
    padding: 1rem;
    border-radius: 4px;
    position: relative;
}

.status-label {
    font-size: 0.8rem;
    opacity: 0.7;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.status-value {
    font-size: 0.9rem;
    font-weight: bold;
}

.status-indicator {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #00ff00;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
}

/* Experience Section */
.experience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
}

.experience-card {
    background: rgba(26, 37, 47, 0.8);
    border: 1px solid #34495e;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    -webkit-transition: transform 0.3s ease, box-shadow 0.3s ease;
    -moz-transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.experience-card:hover {
    transform: translateY(-5px);
    -webkit-transform: translateY(-5px);
    -moz-transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 198, 0, 0.2);
}

.experience-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #ffc600;
}

.hours {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.category {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Certifications Section */
.certifications {
    background: #34495e;
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
}

.cert-card {
    background: rgba(26, 37, 47, 0.8);
    border: 1px solid #34495e;
    padding: 2rem;
    border-radius: 8px;
}

.cert-card h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #ffc600;
}

.cert-details div {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.cert-status {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: bold;
    margin-top: 0.5rem;
}

.cert-status.current {
    background: rgba(0, 255, 0, 0.2);
    color: #00ff00;
    border: 1px solid #00ff00;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 2rem;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-item {
    background: rgba(26, 37, 47, 0.8);
    border: 1px solid #34495e;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
}

.contact-type {
    font-size: 0.8rem;
    opacity: 0.7;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.contact-value {
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 1rem;
    word-break: break-all;
}

.contact-status {
    font-size: 0.8rem;
    padding: 0.25rem 0.5rem;
    background: rgba(255, 198, 0, 0.2);
    border: 1px solid #ffc600;
    border-radius: 4px;
    text-transform: uppercase;
}

/* Footer */
.footer {
    background: #1a252f;
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid #34495e;
}

.footer p {
    opacity: 0.7;
    font-size: 0.9rem;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(44, 62, 80, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        gap: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 1rem 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-content {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
        max-width: calc(100% - 2rem);
    }

    .hero-title {
        font-size: 2.5rem;
    }

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

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

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

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-content {
        padding: 1.5rem 1rem;
        margin: 0 0.5rem;
        max-width: calc(100% - 1rem);
    }

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

    .hero-badges {
        flex-direction: column;
        align-items: center;
    }

    .board-header {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
}