:root {
    --navy: #0B1E3D;
    --navy-dark: #060f1f;
    --navy-light: #132D52;
    --navy-mid: #0f2547;
    --orange: #E87722;
    --orange-light: #F5933E;
    --orange-dark: #c9651a;
    --orange-pale: #FFF3E8;
    --gray: #6B7280;
    --gray-light: #9CA3AF;
    --gray-lighter: #D1D5DB;
    --gray-pale: #F3F4F6;
    --gray-dark: #4B5563;
    --white: #FFFFFF;
    --off-white: #F9FAFB;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.07), 0 2px 4px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.12), 0 4px 10px rgba(0, 0, 0, 0.08);
    --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.18);
    --radius-sm: 6px;
    --radius: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: 0.18s cubic-bezier(0.4, 0, 0.2, 1);
    --max-width: 1280px;
    --nav-height: 72px;
    --nav-height-scrolled: 58px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
}

body {
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: var(--white);
    color: #1f2937;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* ========== FLOATING NAVIGATION ========== */
.nav-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all var(--transition);
    padding: 0 24px;
    box-shadow: var(--shadow);
}

.nav-container.scrolled {
    background: rgba(11, 30, 61, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.nav-container:not(.scrolled) {
    background: rgba(11, 30, 61, 0.20);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.nav-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--nav-height);
    transition: height var(--transition);
}

.nav-container.scrolled .nav-inner {
    height: var(--nav-height-scrolled);
}

/* Logo */
.logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
    z-index: 1001;
}
.logo-image {
    width: auto;
    height: 60px;
    padding: 4px 0;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.5));
}

/* Nav Links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    height: 100%;
}
.nav-links>li {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}
.nav-links>li>a,
.nav-links>li>.nav-label {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 14px;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    white-space: nowrap;
    letter-spacing: 0.2px;
    height: 100%;
}
.nav-links>li>a:hover,
.nav-links>li>.nav-label:hover,
.nav-links>li>.nav-label.active {
    color: var(--white);
    background: rgba(255, 255, 255, 0.08);
}
.nav-links>li>.nav-label.active {
    color: var(--orange-light);
}
.dropdown-arrow {
    font-size: 0.6rem;
    transition: transform var(--transition-fast);
    opacity: 0.7;
}
.nav-links>li:hover .dropdown-arrow {
    transform: rotate(180deg);
    opacity: 1;
}

/* Dropdown */
.dropdown {
    position: absolute;
    top: 100%;
    left: 0%;
    border-radius: 0 0 var(--radius) var(--radius);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    padding: 8px 0;
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(10px);
    transition: all var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.3); /* Glass highlight border */
    border-top: none;
    z-index: 999;
}
.dropdown::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    z-index: -1;
    border-radius: inherit;
}
.dropdown-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(255, 255, 255, 0.3); /* Soft light overlay */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 998; /* Sits exactly under the dropdown (999) */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all var(--transition);
}
.nav-links>li:hover .dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    transform: translateY(0);
}
.dropdown a {
    display: block;
    padding: 10px 20px;
    text-decoration: none;
    color: #374151;
    font-size: 0.88rem;
    font-weight: 450;
    transition: all var(--transition-fast);
    white-space: nowrap;
}
.dropdown a:hover {
    background: rgba(232, 119, 34, 0.1); /* Subtle brand color hint */
    color: var(--orange-dark);
    padding-left: 26px;
    font-weight: 600;
}
/* .dropdown::backdrop {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.75) 0%, rgba(244, 246, 249, 0.55) 40%, rgba(226, 232, 240, 0.7) 100%);
    backdrop-filter: blur(10px);
} */
/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
    padding: 8px;
    background: none;
    border: none;
}
.hamburger span {
    width: 26px;
    height: 2.5px;
    background: var(--white);
    border-radius: 3px;
    transition: all var(--transition-fast);
}
.hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(11, 30, 61, 0.5);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 999;
    padding: 100px 32px 40px;
    overflow-y: auto;
    flex-direction: column;
    gap: 6px;
}
.mobile-menu.open {
    display: flex;
}
.mobile-menu a,
.mobile-menu .mobile-nav-label {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    display: block;
    cursor: pointer;
}
.mobile-menu a:hover,
.mobile-menu .mobile-nav-label:hover {
    background: rgba(255, 255, 255, 0.06);
    color: var(--white);
}
.mobile-sub {
    padding-left: 24px;
    display: none;
    flex-direction: column;
    gap: 2px;
}
.mobile-sub.open {
    display: flex;
}
.mobile-sub a {
    font-size: 0.95rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    padding: 8px 16px;
}
.mobile-sub a:hover {
    color: var(--orange-light);
    background: rgba(255, 255, 255, 0.04);
}

/* ========== HERO SECTION ========== */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 480px;
    max-height: 1200px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    /* background: linear-gradient(180deg,
            rgba(11, 30, 61, 0.75) 0%,
            rgba(11, 30, 61, 0.55) 40%,
            rgba(11, 30, 61, 0.7) 100%); */
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 0 32px;
}
.hero-badge {
    display: inline-block;
    background: var(--orange);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease-out;
}
.hero h1 {
    font-size: clamp(2.4rem, 5vw, 4rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease-out 0.15s both;
    text-shadow: 0 0 2px rgba(0, 0, 0, 0.7);
}
.hero h1 span {
    color: var(--orange-light);
}
.hero p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 550px;
    margin: 0 auto 36px;
    animation: fadeInUp 0.8s ease-out 0.3s both;
    line-height: 1.7;
}
.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
    animation: fadeInUp 0.8s ease-out 0.45s both;
}
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition);
    border: none;
    letter-spacing: 0.3px;
}
.btn-primary {
    background: var(--orange);
    color: var(--white);
}
.btn-primary:hover {
    background: var(--orange-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(232, 119, 34, 0.4);
}
.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.5);
}
.btn-outline:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}
.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2s infinite;
    cursor: pointer;
}
.scroll-indicator span {
    display: block;
    width: 28px;
    height: 28px;
    border-right: 2px solid rgba(255, 255, 255, 0.7);
    border-bottom: 2px solid rgba(255, 255, 255, 0.7);
    transform: rotate(45deg);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes bounce {
    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(12px);
    }
}

/* ========== SECTION COMMONS ========== */
.section {
    padding: 80px 24px;
}
.section-inner {
    max-width: var(--max-width);
    margin: 0 auto;
}
.section-label {
    display: inline-block;
    color: var(--orange);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 800;
    color: var(--navy);
    letter-spacing: -0.5px;
    margin-bottom: 16px;
    line-height: 1.2;
}
.section-desc {
    color: var(--gray);
    font-size: 1.1rem;
    line-height: 1.7;
}
.bg-gray {
    background: var(--gray-pale);
}
.text-center {
    text-align: center;
}
.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

/* ========== CERTIFICATIONS ========== */
.certs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 20px;
    margin-top: 40px;
}
.cert-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 28px 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all var(--transition);
    border: 1px solid transparent;
}
.cert-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--orange-pale);
}
.cert-icon {
    width: 56px;
    height: 56px;
    margin: 14px auto;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ========== OVERVIEW ========== */
.overview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 40px;
}
.overview-image {
    aspect-ratio: 6/7;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: linear-gradient(135deg, var(--navy-light), var(--navy));
    position: relative;
    box-shadow: var(--shadow-lg);
}
.overview-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.overview-image .overlay-tag {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: var(--orange);
    color: #fff;
    padding: 6px 16px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 1px;
}
.overview-text .highlight-num {
    font-size: 3rem;
    font-weight: 800;
    color: var(--orange);
    line-height: 1;
}
.overview-text .highlight-label {
    font-size: 0.85rem;
    color: var(--gray);
    font-weight: 500;
}
.overview-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 28px;
}
.stat-item {
    background: var(--white);
    padding: 18px 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border-left: 3px solid var(--orange);
}

/* ========== ACHIEVEMENTS ========== */
.achievements-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 40px;
}
.achieve-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}
.achieve-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--orange);
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}
.achieve-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}
.achieve-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--navy);
    letter-spacing: -1px;
    line-height: 1;
}
.achieve-number .plus {
    color: var(--orange);
}
.achieve-label {
    font-weight: 600;
    color: var(--gray-dark);
    margin-top: 8px;
    font-size: 0.95rem;
}

/* ========== PROJECTS SCROLLING ========== */
.projects-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 32px;
}
.projects-scroll {
    overflow: hidden;
    padding-bottom: 16px;
}
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.marquee-track {
    display: flex;
    gap: 20px;
    width: max-content;
    animation: marquee 40s linear infinite;
}
.marquee-track:hover {
    animation-play-state: paused;
}
.project-card {
    flex: 0 0 340px;
    scroll-snap-align: start;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all var(--transition);
    cursor: pointer;
    text-decoration: none;
}
.project-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}
.project-card-img {
    height: 200px;
    background: linear-gradient(135deg, var(--navy-light), var(--navy-mid));
    position: relative;
    overflow: hidden;
}
.project-card-img img {
    height: stretch;
    width: stretch;
    height: -webkit-fill-available;
    width: -webkit-fill-available;
    object-fit: cover;
}
.project-card-body {
    padding: 20px;
}
.project-card-body .tag {
    display: inline-block;
    background: var(--orange-pale);
    color: var(--orange-dark);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 8px;
}
.project-card-body h4 {
    font-weight: 700;
    color: var(--navy);
    font-size: 1.1rem;
    margin-bottom: 4px;
}
.project-card-body p {
    font-size: 0.85rem;
    color: var(--gray);
    line-height: 1.5;
}

/* ========== NEWS SECTION ========== */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 32px;
}
.news-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all var(--transition);
    cursor: pointer;
    text-decoration: none;
}
.news-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}
.news-card-img {
    height: 180px;
    background: linear-gradient(135deg, #1a3555, #0f2547);
    position: relative;
}
.news-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.news-card-img .news-date {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--orange);
    color: #fff;
    padding: 6px 14px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.5px;
}
.news-card-body {
    padding: 20px;
}
.news-card-body h4 {
    font-weight: 700;
    color: var(--navy);
    font-size: 1.05rem;
    margin-bottom: 8px;
    line-height: 1.4;
}
.news-card-body p {
    font-size: 0.88rem;
    color: var(--gray);
    line-height: 1.6;
}
.news-card-body .read-more {
    display: inline-block;
    margin-top: 10px;
    color: var(--orange);
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
}

/* ========== LOCATION ========== */
.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-top: 32px;
}
.map-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 5/3;
    background: var(--gray-pale);
}
.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}
.location-info h4 {
    font-weight: 700;
    color: var(--navy);
    font-size: 1.2rem;
    margin-bottom: 8px;
}
.location-info p {
    color: var(--gray);
    margin-bottom: 16px;
    line-height: 1.7;
}
.location-detail {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 12px;
    color: var(--gray-dark);
}
.location-detail .loc-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--orange-pale);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--orange);
    font-weight: 700;
    font-size: 0.9rem;
}

/* ========== FOOTER ========== */
.footer {
    background: rgba(6, 15, 31, 0.9);
    color: rgba(255, 255, 255, 0.75);
    padding: 60px 24px 30px;
}
.footer-grid {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}
.footer .logo-image {
    filter: brightness(0) invert(1);
}
.footer h5 {
    color: var(--white);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
    text-transform: uppercase;
}
.footer a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    font-size: 0.88rem;
    display: block;
    margin-bottom: 8px;
    transition: color var(--transition-fast);
}
.footer a:hover {
    color: var(--orange-light);
}
.footer-bottom {
    max-width: var(--max-width);
    margin: 40px auto 0;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.45);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .overview-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .overview-image {
        aspect-ratio: 16/9;
    }
    .location-grid {
        grid-template-columns: 1fr;
    }
    .achievements-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .nav-links {
        display: none;
    }
    .hamburger {
        display: flex;
    }
}
@media (max-width: 768px) {
    .section {
        padding: 50px 16px;
    }
    .achievements-grid {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }
    .achieve-number {
        font-size: 2.2rem;
    }
    .certs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .project-card {
        flex: 0 0 280px;
    }
    .hero h1 {
        font-size: 2rem;
    }
    .hero p {
        font-size: 1rem;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .overview-stats {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 480px) {
    .achievements-grid {
        grid-template-columns: 1fr;
    }
    .certs-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
    .cert-card {
        padding: 18px 12px;
    }
    .btn {
        padding: 12px 20px;
        font-size: 0.85rem;
    }
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
}