:root {
    --tni-blue: #003366;
    --tni-sky: #007cc2;
    --tni-gold: #ffcc00;
    --dark-grey: #333333;
    --light-grey: #f4f4f4;
    --white: #ffffff;
    --font-primary: 'Roboto', sans-serif;
    --font-heading: 'Oswald', sans-serif;
}

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

html, body {
    padding-top: 0 !important;
    font-family: var(--font-primary);
    background-color: var(--light-grey);
    color: var(--dark-grey);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.main-header {
    background-color: var(--tni-blue);
    color: var(--white);
    padding: 1rem 0;
    position: fixed;
    transition: all 0.4s ease-in-out;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.main-header.scrolled {
    padding: 1rem 0;
    background-color: var(--tni-blue);    
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-placeholder {
    width: 50px;
    height: 50px;
    background-color: var(--tni-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--tni-blue);
    font-size: 0.8rem;
}

.site-identity h1 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    line-height: 1;
    letter-spacing: 1px;
}

.site-identity p {
    font-size: 0.8rem;
    opacity: 0.8;
    letter-spacing: 2px;
}

.main-nav ul {
    display: flex;
    gap: 20px;
}

.main-nav a {
    color: var(--white);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.9rem;
    padding: 5px 10px;
    transition: color 0.3s;
}

.main-nav a:hover{
    color: var(--tni-gold);
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-links > li {
    position: relative;
}

.nav-links > li > a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: color 0.3s;
    padding: 15px 0;
    display: block;
}

.nav-links > li > a:hover,
.dropdown:hover > a {
    color: var(--tni-gold);
}

.nav-links > li:last-child .dropdown-menu {
    left: auto;
    right: 0;
    border-radius: 8px 0 8px 8px;
    transform-origin: top right;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: -20px;
    background: rgba(0, 51, 102, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    min-width: 220px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 3px solid var(--tni-gold);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
    padding: 10px 0;
    border-radius: 0 0 8px 8px;
    display: flex;
    flex-direction: column;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    width: 100%;
    display: block;
    margin: 0;
}

.dropdown-menu a {
    display: block;
    padding: 12px 25px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: capitalize;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.2s;
    white-space: nowrap;
}

.dropdown-menu li:last-child a {
    border-bottom: none;
}

.dropdown-menu a:hover {
    background: rgba(255, 215, 0, 0.15);
    color: var(--tni-gold);
    padding-left: 30px;
    border-left: 3px solid var(--tni-gold);
}

.page-banner {
    padding-top: 130px; 
    padding-bottom: 60px;
    background-color: var(--tni-blue);
    color: white;
    text-align: center;
}

.page-banner h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    text-transform: uppercase;
    margin-bottom: 10px;
    color: var(--tni-gold);
}

.about-top-split {
    display: block;
    max-width: 1100px;
    margin: 0 auto 60px auto;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    align-items: start;
}

.section-padding {
    padding: 5rem 0;
}

.main-footer {
    background: #2b2b2b;
    color: #e0e0e0;
    padding-top: 70px;
    padding-bottom: 20px;
    position: relative;
    z-index: 50; 
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: var(--tni-gold);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #e0e0e0;
    text-decoration: none;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-links a i {
    font-size: 0.8rem;
    color: var(--tni-gold);
}

.footer-links a:hover {
    color: var(--tni-gold);
    padding-left: 5px;
}

.footer-contact .fc-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
    color: #e0e0e0;
}

.footer-contact i {
    color: var(--tni-gold);
    margin-top: 5px;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    background: var(--white);
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.info-item {
    margin-bottom: 25px;
}

.info-item h4 {
    font-family: var(--font-heading);
    color: var(--tni-blue);
    margin-bottom: 5px;
    text-transform: uppercase;
}

.map-wrapper {
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    border: 2px solid rgba(255,255,255,0.1);
}

.social-links {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
}

.soc-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2); 
    background: rgba(255, 255, 255, 0.05);
}

.soc-icon:hover {
    transform: translateY(-5px);
    background: var(--tni-gold);
    border-color: var(--tni-gold);
    color: var(--tni-blue);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

.copyright {
    background: rgba(0,0,0,0.2);
    text-align: center;
    padding: 20px 0;
    font-size: 0.9rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.btn-primary {
    background-color: var(--tni-blue);
    color: white;
    padding: 12px 25px;
    border-radius: 4px;
    font-weight: bold;
    text-transform: uppercase;
}

.btn-outline {
    border: 2px solid var(--tni-blue);
    padding: 10px 30px;
    color: var(--tni-blue);
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 50px;
    transition: all 0.3s;
}

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

.btn-outline-dark {
    border: 2px solid var(--tni-blue);
    color: var(--tni-blue);
    padding: 12px 25px;
    border-radius: 4px;
    font-weight: bold;
    text-transform: uppercase;
}

.btn-link {
    padding: 12px 25px;
    background: rgba(0, 51, 102, 0.06);
    border-radius: 50px;
    text-decoration: none;
    color: var(--tni-blue);
    font-weight: 700;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-link i {
    transition: transform 0.3s;
}

.btn-link:hover {
    background: var(--tni-blue);
    color: var(--tni-gold);
    box-shadow: 0 5px 15px rgba(0, 51, 102, 0.3);
}

.btn-link:hover i {
    transform: translateX(5px);
}

.btn-link-tk {
    padding: 12px 25px;
    background: rgba(0, 51, 102, 0.06);
    border-radius: 50px;
    text-decoration: none;
    color: white;
    font-weight: 700;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-link-tk i {
    transition: transform 0.3s;
}

.btn-link-tk:hover {
    background: var(--tni-blue);
    color: var(--tni-gold);
    box-shadow: 0 5px 15px rgba(0, 51, 102, 0.3);
}

.btn-link-tk:hover i {
    transform: translateX(5px);
}

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

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--tni-blue);
    text-transform: uppercase;
    margin-bottom: 1rem;
}

img[src=""], img:not([src]) {
    opacity: 0;
    visibility: hidden;
}

.split-section {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border-top: 4px solid var(--tni-blue);
    transition: transform 0.3s;
}

.split-section:hover {
    transform: translateY(-5px);
}

.split-section h3 {
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 15px;
    margin-bottom: 20px;
    font-size: 1.3rem;
    color: #333;
}

.section-title {
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    color: var(--tni-blue);
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 1px;
    margin-bottom: 20px;
    line-height: 1.2;
    border-left: none; 
    padding-left: 0;
}

.danlanud-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.danlanud-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    text-align: center;
    border: 1px solid #eee;
    transition: transform 0.3s;
}

.danlanud-card:hover {
    transform: translateY(-5px);
}

.danlanud-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    object-position: top;
}

.danlanud-info {
    padding: 15px;
}

.danlanud-info h4 {
    font-size: 0.95rem;
    margin-bottom: 5px;
    color: #333;
    font-weight: bold;
}

.danlanud-info span {
    font-size: 0.8rem;
    color: #777;
    display: block;
}

.tab-content {
    display: none;
    animation: fadeInTab 0.5s ease;
}

.tab-content h3 {
    color: var(--tni-blue);
    margin-bottom: 10px;
}

.tab-content.active-content {
    display: block;
}

.split-layout.single {
    grid-template-columns: 1fr;
}

a[class*="btn"] i,
button i {
    margin-right: 8px;
}

.video-highlight {
    width: 100%;
    max-width: 850px;
    margin: 0 auto 50px;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 51, 102, 0.15);
    background-color: #000;
}

.video-highlight iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.history-timeline {
    position: relative;
    max-width: 800px;
    margin: 30px auto 0;
    padding-left: 30px;
    border-left: 3px solid #e0e0e0;
}

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

.timeline-item::before {
    content: '';
    position: absolute;
    left: -39px;
    top: 5px;
    width: 16px;
    height: 16px;
    background: var(--tni-gold);
    border: 3px solid #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 2px #e0e0e0;
}

.timeline-year {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: bold;
    color: #fff;
    margin-bottom: 10px;
}

.timeline-content{
    text-align: justify;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    height: 4px;
    background: #ffffff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.header-logo {
    height: 50px;
    width: auto;
}

.nav-chevron {
    font-size: 0.7em;
    margin-left: 5px;
}

.nav-external-icon {
    font-size: 1em;
    margin-left: 5px;
}

.footer-social-title {
    margin-top: 20px;
    color: #fff;
    font-size: 1rem;
}

.map-iframe {
    border: 0;
}

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

@media (max-width: 768px) {
    body {
        padding-top: 90px;
    }

    body.nav-open {
        overflow: hidden;
    }

    .container {
        width: 92%;
    }

    .main-header .container {
        flex-wrap: wrap;
        gap: 10px;
    }

    .logo-area {
        gap: 10px;
    }

    .site-identity h1 {
        font-size: 1.1rem;
    }

    .site-identity p {
        font-size: 0.7rem;
        letter-spacing: 1px;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6.5px);
    }

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

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6.5px);
    }

    .main-nav {
        width: 100%;
        display: none;
        max-height: calc(100vh - 90px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .main-nav.active {
        display: block;
    }

    .nav-links {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: var(--tni-blue);
        border-radius: 8px;
        overflow: hidden;
    }

    .nav-links > li > a {
        padding: 14px 20px;
        font-size: 0.95rem;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: rgba(0,0,0,0.15);
        box-shadow: none;
        border: none;
        border-radius: 0;
        padding: 0;
    }

    .dropdown-menu a {
        padding: 12px 35px;
        font-size: 0.9rem;
    }

    #danlanud .split-section > div {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .footer-col h3 {
        font-size: 1.1rem;
    }
}