body {
    font-family: 'Segoe UI', 'Roboto', Arial, sans-serif;
    background: #062E3E;
    color: #222;
    margin: 0;
    padding: 0;
}

/* --- Header --- */
.header {
    background: #062E3E;
    color: #fff;
    box-shadow: 0 4px 24px rgba(0,0,0,0.10);
}

/* --- Header Content --- */
.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 8px 20px; /* Even more compact */
    position: relative;
}
.nav-wrapper{
    padding: 10px 100px 10px 10px;
}

.logo {
    display: flex;
    align-items: center;
    height: auto;
    flex: 0 0 auto;
    margin-bottom: 10px;
    scale: 130%;
    filter: brightness(0) saturate(100%) invert(21%) sepia(81%) saturate(1322%) hue-rotate(153deg) brightness(97%) contrast(101%);
    /* This filter tints black logos to match #00b4d8 theme color */
}

.logo img {
    height: 60px; /* Slightly smaller logo */
    width: auto;
    margin-right: 0;
    cursor: pointer;
    display: block;
}

.nav-links {
    display: flex;
    gap: 24px;
}

.nav-links a, .dropbtn {
    color: #fff;
    background: transparent;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    padding: 8px 12px;
    border-radius: 4px;
    transition: background 0.2s;
}

.dropbtn {
    display: inline-block;
    vertical-align: middle;
    padding: 8px 12px; /* Match nav-links a */
    font-weight: 500;
    font-size: 1rem;
    border-radius: 4px;
    background: transparent;
    color: #fff;
    cursor: pointer;
    transition: background 0.2s;
}
.page-fade-in {
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(.77,0,.18,1);
}

.page-fade-in.visible {
    opacity: 1;
}
.nav-links a:hover, .dropbtn:hover {
    background: #00b4d8;
    color: #062E3E;
}

.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 36px;
    left: 0;
    background: #fff;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    border-radius: 8px;
    min-width: 180px;
    z-index: 10;
    flex-direction: column;
}

.dropdown-content a {
    color: #062E3E;
    padding: 12px 18px;
    text-decoration: none;
    display: block;
    font-size: 1rem;
    border-radius: 4px;
}

.dropdown-content a:hover {
    background: #e0f7fa;
    color: #00b4d8;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* --- Hero Section --- */
.hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    padding: 110px 0 90px 0; /* Increased vertical space */
    text-align: center;
    border-radius: 0 0 48px 48px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.10);
    background: #062E3E; /* fallback */
}

.hero-video {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.45;
}

.hero h1 {
    font-size: 3.2rem;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
    
}
.box iframe {
    display: flex;
    width: 100%;
    /* aspect-ratio: 1 / 1; Makes it a square */
    height: auto;
    border-radius: 8px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    aspect-ratio: 4 / 3;
}

.hero p {
    font-size: 1.35rem;
    margin-bottom: 40px;
    color: #e0f7fa;
    position: relative;
    z-index: 1;
}

.cta-btn {
    background: linear-gradient(90deg, #00b4d8 60%, #008081 100%);
    color: #fff;
    font-size: 1.3rem;
    font-weight: 700;
    padding: 22px 60px;
    border: none;
    border-radius: 32px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
    position: relative;
    z-index: 1;
}

.cta-btn:hover {
    background: linear-gradient(90deg, #008081 60%, #00b4d8 100%);
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    transform: translateY(-2px) scale(1.04);
}

/* --- Content Boxes --- */
.main-container {
    background: #f7f9fb;
    max-width: 100%;
    margin: 48px auto 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    padding: 0 24px;
    border-radius: 24px;
    box-shadow: 0 4px 32px rgba(0,0,0,0.06);
}

.main-container .expandable-img:hover {
    cursor: pointer;
}

.box {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.10);
    padding: 40px 32px;
    margin-bottom: 24px;
    transition: box-shadow 0.2s, transform 0.2s;
    /* border: 10px solid #0d2b49; */
}

.box:hover {
    box-shadow: 0 8px 32px rgba(0,0,0,0.16);
    transform: translateY(-2px) scale(1.01);
}

.box h2 {
    color: #008081;
    font-size: 1.4rem;
    margin-top: 0;
    margin-bottom: 18px;
    letter-spacing: 1px;
}

.box p {
    color: #333;
    font-size: 1.08rem;
    line-height: 1.7;
}

.box img, .box iframe {
    max-width: 100%;
    border-radius: 8px;
    margin: 18px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

/* --- Responsive --- */
@media (max-width: 900px) {
    .main-container {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 0 8px;
    }
    .header-content {
        flex-direction: column;
        gap: 16px;
        padding: 18px 8px;
    }
    .hero {
        min-height: 100vh;
        height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 0;
        border-radius: 0 0 24px 24px;
    }
    .hero h1, .hero p, .cta-btn {
        margin: 0 0 18px 0;
        padding: 1rem;
    }


    .header-content {
        flex-direction: row;
        gap: 0;
        padding: 8px 8px; /* Reduced from 18px to 8px for compact mobile header */
        position: relative;
    }
    .logo {
        margin-left: 8px;
    }
    .logo img {
        height: 50px; /* Slightly smaller logo on mobile */
    }
    nav {
        flex: 1;
        position: relative;
    }
    .nav-links {
        position: fixed;
        top: 0; right: 0;
        height: 100vh;
        width: 220px;
        background: #062E3E;
        flex-direction: column;
        gap: 0;
        padding-top: 80px;
        transform: translateX(100%);
        transition: transform 0.3s;
        box-shadow: -2px 0 16px rgba(0,0,0,0.12);
        z-index: 1001;
    }
    .nav-links.open {
        transform: translateX(0);
    }
    .hamburger {
        display: flex;
        position: absolute;
        padding-right: 15px;
        right: 8px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1100;
    }
}

/* Expandable image modal styles */
.img-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0; top: 0;
    width: 100vw; height: 100vh;
    background: rgba(20, 24, 30, 0.85);
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.2s;
}

.img-modal .modal-content {
    justify-content: center;
    position: center;
    max-width: 90vw;
    max-height: 90vh;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.25);
    transform: scale(0.8);
    opacity: 0;
    transition: transform 0.2s, opacity 0.2s;
    display: block;
    margin: auto;
}

.img-modal .modal-content.show {
    transform: scale(1);
    opacity: 1;
}

.close-modal {
    position: absolute;
    top: 32px;
    right: 48px;
    color: #fff;
    font-size: 2.5rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
    transition: color 0.2s;
}

.close-modal:hover {
    color: #00b4d8;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Fade-in animation for boxes */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s cubic-bezier(.77,0,.18,1), transform 0.7s cubic-bezier(.77,0,.18,1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Hamburger styles --- */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1100; /* Increase z-index so it's above nav */
    position: absolute; /* Position absolutely */
    right: 24px; /* Push to the right edge */
    top: 50%; /* Vertically center */
    transform: translateY(-50%);
}
.hamburger span {
    display: block;
    width: 28px;
    height: 4px;
    margin: 4px 0;
    background: #fff;
    border-radius: 2px;
    transition: 0.3s;
}

/* Mobile nav */
@media (max-width: 900px) {
    .header-content {
        flex-direction: row;
        gap: 0;
        padding: 8px 8px; /* Reduced from 18px to 8px for compact mobile header */
        position: relative;
    }
    .logo {
        margin-left: 8px;
    }
    .logo img {
        height: 50px; /* Slightly smaller logo on mobile */
    }
    nav {
        flex: 1;
        position: relative;
    }
    .nav-links {
        position: fixed;
        top: 0; right: 0;
        height: 100vh;
        width: 220px;
        background: #062E3E;
        flex-direction: column;
        gap: 0;
        padding-top: 80px;
        transform: translateX(100%);
        transition: transform 0.3s;
        box-shadow: -2px 0 16px rgba(0,0,0,0.12);
        z-index: 1001;
    }
    .nav-links.open {
        transform: translateX(0);
    }
    .hamburger {
        display: flex;
        position: absolute;
        right: 8px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1100;
    }
}