* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --nav-height: 80px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
}

img,
svg {
    max-width: 100%;
    height: auto;
}


/* Navbar Styling */

.navbar {
    background: linear-gradient(135deg, #004E89 0%, #1A659E 100%);
    padding: 1.2rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0, 78, 137, 0.2);
    position: sticky;
    top: 0;
    z-index: 100;
}


/* Logo Container - Logo + Text Side by Side */

.logo-container {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.logo-container:hover {
    transform: scale(1.05);
}

.logo-svg {
    width: 60px;
    height: 60px;
    filter: drop-shadow(0 2px 8px rgba(255, 107, 53, 0.3));
    transition: filter 0.3s ease;
}

.logo-container:hover .logo-svg {
    filter: drop-shadow(0 4px 12px rgba(255, 107, 53, 0.6));
}

.logo-text {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.logo-text h2 {
    color: #FF6B35;
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.logo-text p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.75rem;
    font-weight: 300;
    letter-spacing: 0.5px;
}


/* Navigation Links */

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease, background-color 0.2s ease, transform 0.2s ease;
    padding: 0.6rem 0.95rem;
    position: relative;
    border-radius: 999px;
}

.nav-links a:hover {
    color: #FF6B35;
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-1px);
}

.nav-links a:active {
    transform: scale(0.97);
}


/* Underline animation on hover */

.nav-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #FF6B35, #FFA500);
    transition: width 0.3s ease;
}

.nav-links a:hover::before {
    width: 70%;
}


/* Responsive Design */

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        padding: 1rem 2rem;
        gap: 1.5rem;
    }
    .logo-container {
        gap: 1rem;
    }
    .logo-svg {
        width: 50px;
        height: 50px;
    }
    .logo-text h2 {
        font-size: 1.3rem;
    }
    .nav-links {
        gap: 1.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    .nav-links a {
        font-size: 0.9rem;
    }
}

section.beginning {
    background: linear-gradient(135deg, #1A659E 100%, #004E89 0%);
    color: white;
    padding: 4rem 2rem;
    text-align: center;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    scroll-margin-top: 80px;
    position: relative;
    overflow: hidden;
}


/* Ensure all anchored sections scroll into view below the sticky navbar */

section {
    scroll-margin-top: var(--nav-height);
}

@media (max-width: 768px) {
     :root {
        --nav-height: 64px;
    }
    section {
        scroll-margin-top: calc(var(--nav-height));
    }
}

section.beginning .content {
    width: min(100%, 800px);
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}


/* Background video and overlay for hero */

.bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
    pointer-events: none;
    display: block;
    filter: saturate(0.95) contrast(0.95);
}


/* Layered video adjustments */

.bg-video--base {
    opacity: 1;
}

.bg-video--layer {
    opacity: 0.6;
    mix-blend-mode: screen;
    transform: scale(1.02);
    filter: blur(0.2px) saturate(1.05) contrast(0.95);
}

.bg-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(0, 78, 137, 0.35) 0%, rgba(0, 0, 0, 0.25) 100%);
    mix-blend-mode: multiply;
}


@media (max-width: 680px) {
    .bg-video {
        min-width: 100%;
        min-height: 100%;
    }

    .bg-overlay {
        background: linear-gradient(180deg, rgba(0, 78, 137, 0.42) 0%, rgba(0, 0, 0, 0.28) 100%);
    }
}

section.beginning h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

section.beginning:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

section.beginning p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    font-weight: 300;
}

.btn {
    background: #FF6B35;
    color: white;
    padding: 0.75rem 2rem;
    text-decoration: none;
    font-weight: 500;
    border-radius: 4px;
    transition: background 0.3s ease, transform 0.3s ease;
}

.btn:hover {
    background: #FFA500;
    transform: translateY(-2px);
}


/* List Section Styling */

section.list {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8f0f7 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

section.list h2 {
    font-size: 2.8rem;
    margin-bottom: 3rem;
    text-align: center;
    color: #004E89;
    font-weight: 700;
    position: relative;
    padding-bottom: 1.5rem;
}

section.list h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #FF6B35, #FFA500);
    border-radius: 2px;
}

section.list ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

section.list dl {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    color: #333;
}

section.list li {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 78, 137, 0.08);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border-left: 5px solid #FF6B35;
}

section.list li:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 78, 137, 0.15);
    border-left-color: #1A659E;
}

@media (max-width: 680px) {
    section.list {
        padding: 3rem 1rem;
    }

    section.list h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    section.list ul {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0;
        max-width: 100%;
    }

    section.list li {
        padding: 1.25rem;
        border-radius: 10px;
    }
}


/* Definition list (dl) — polished, responsive styling */

section.contact {
    padding: 4rem 2rem;
    background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
    color: #003a63;
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

section.contact .content {
    max-width: 1100px;
    margin: 0 auto;
}

section.contact h2 {
    font-size: 2rem;
    color: #004E89;
    margin-bottom: 1.25rem;
}

section.contact p {
    color: #345;
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.contact-grid {
    display: grid;
    gap: 2rem;
    align-items: start;
    align-items: center;
    width: 100%;
}

.contact-info {
    background: white;
    padding: 1.25rem;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 78, 137, 0.05);
    border-left: 6px solid #FF6B35;
}

.contact-info address {
    font-style: normal;
    color: #233;
    line-height: 1.6;
}

.contact-info p {
    margin: 0.5rem 0;
}

footer {
    background: linear-gradient(135deg, #1A659E 100%, #004E89 0%);
    color: white;
    text-align: center;
    padding: 1.5rem 2rem;
    font-size: 0.9rem;
    font-weight: 300;
}

@media (max-width: 1024px) {
    section.beginning {
        padding: 3.5rem 1.5rem;
        min-height: 85vh;
    }

    section.beginning h1 {
        font-size: 2.2rem;
    }

    section.list,
    section.operations,
    section.contact {
        padding: 3.5rem 1.5rem;
    }

    .operations-grid {
        padding: 0 1rem;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 15px;
    }

    .navbar {
        padding: 1rem 1.25rem;
        flex-wrap: wrap;
    }

    .logo-container {
        gap: 0.75rem;
    }

    .logo-text h2 {
        font-size: 1.2rem;
    }

    .logo-text p {
        font-size: 0.7rem;
    }

    section.beginning .content {
        max-width: 100%;
    }

    section.beginning h1 {
        font-size: 1.8rem;
        line-height: 1.25;
    }

    section.beginning p {
        font-size: 1rem;
    }

    section.list h2,
    section.operations h2,
    section.contact h2 {
        font-size: 1.9rem;
    }

    .operations-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .contact-info {
        padding: 1rem;
    }

    footer {
        padding: 1.25rem 1rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 0.9rem 1rem;
    }

    .logo-svg {
        width: 44px;
        height: 44px;
    }

    .logo-text h2 {
        font-size: 1.05rem;
    }

    .logo-text p {
        display: block;
        font-size: 0.68rem;
        line-height: 1.2;
    }

    section.beginning {
        padding: 3rem 1rem;
        min-height: 80vh;
    }

    section.beginning h1 {
        font-size: 1.5rem;
    }

    section.beginning p {
        font-size: 0.95rem;
    }

    .btn {
        width: 100%;
        text-align: center;
        display: inline-block;
    }

    section.list,
    section.operations,
    section.contact {
        padding: 3rem 1rem;
    }

    .operations-grid {
        grid-template-columns: 1fr;
        padding: 0;
    }

    .operation-card img {
        height: 140px;
    }

    .contact-info {
        border-left-width: 4px;
    }
}

/* Mobile nav toggle styles */

.nav-toggle {
    display: none;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: white;
    cursor: pointer;
    padding: 0.6rem;
    border-radius: 10px;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.nav-toggle:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
}

.nav-toggle:active {
    transform: scale(0.97);
}

.nav-toggle svg {
    display: block;
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }
    .nav-links {
        display: none;
        position: absolute;
        top: calc(100% + 0.5rem);
        left: 1rem;
        right: 1rem;
        background: white;
        padding: 0.75rem;
        flex-direction: column;
        gap: 0.5rem;
        box-shadow: 0 14px 40px rgba(0, 0, 0, 0.12);
        border: 1px solid rgba(0, 78, 137, 0.12);
        border-radius: 12px;
        overflow: hidden;
    }
    nav.open .nav-links {
        display: flex;
    }
    nav.open .nav-links a {
        color: #004E89;
        padding: 0.7rem 0.85rem;
        border-radius: 8px;
        background: linear-gradient(90deg, rgba(26, 101, 158, 0.05), rgba(255, 107, 53, 0.05));
        border: 1px solid transparent;
        transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
    }
    nav.open .nav-links a:hover {
        background: rgba(26, 101, 158, 0.08);
        border-color: rgba(26, 101, 158, 0.15);
        transform: translateX(2px);
    }
    .nav-links a::after {
        display: none;
    }
}


/* Operations gallery */

section.operations {
    padding: 4rem 2rem;
    background: linear-gradient(180deg, #f8fbff 0%, #eef6fb 100%);
    color: #003a63;
}

section.operations h2 {
    font-size: 2.4rem;
    margin-bottom: 0.5rem;
    text-align: center;
    color: #004E89;
    font-weight: 700;
}

.operations-intro {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 2rem;
    color: #234;
    font-weight: 300;
}

.operations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.operation-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 78, 137, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    text-align: center;
}

.operation-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0, 78, 137, 0.12);
}

.operation-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.operation-card figcaption {
    padding: 0.75rem 1rem 1.25rem;
    font-weight: 600;
    color: #004E89;
}

@media (max-width: 480px) {
    .operation-card img {
        height: 140px;
    }
}