:root {
    --primary-color: #003366;
    /* Deep Blue */
    --secondary-color: #00a8e8;
    /* Cyan/Light Blue */
    --accent-color: #ffffff;
    --text-color: #333333;
    --light-bg: #f4f7f6;
    --dark-bg: #1a1a1a;
    --font-main: 'Inter', sans-serif;
    --transition-speed: 0.3s;
}

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

html,
body {
    width: 100%;
    min-height: 100%;
    overflow-x: hidden;
    /* Prevent horizontal scroll */
}

body {
    font-family: var(--font-main);
    line-height: 1.6;
    color: var(--text-color);
    background-color: transparent;
    /* Transparent to show eye background */
    /* animation: fadeIn 5s ease-out forwards; Removed simple body fade-in */
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-speed);
}

ul {
    list-style: none;
}

/* Header & Navigation */
header {
    background-color: transparent;
    /* Transparent background */
    /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); Removed shadow */
    position: absolute;
    /* Overlay on hero */
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 2rem 5%;
    /* Standard padding */
    width: 100%;
    max-width: 1200px;
    /* Align with content */
    margin: 0 auto;
    /* Center the navbar container */
}

.logo {
    /* Logo styles kept for future use, updated units */
    margin-top: 0;
    margin-left: 0;
}

.logo-container {
    display: inline-block;
}

.logo img {
    height: 80px;
    /* Adjusted size */
    width: auto;
    transition: transform var(--transition-speed);
    border-radius: 10px;
}

/* Apply subtle movement to other images if they exist */
img:not(.logo img) {
    animation: subtle-zoom 8s ease-in-out infinite;
}

/* Animations */


@keyframes subtle-zoom {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}



.nav-links {
    display: flex;
    gap: 2rem;
    margin: 0;
    /* Removed weird margins */
}

.nav-links li a {
    font-weight: 700;
    color: #ffffff;
    /* White text for dark background */
    pointer-events: auto;
    /* Ensure clickable */
    text-transform: uppercase;
    font-size: 1.1rem;
    /* Adjusted for better scale */
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
    /* 3D Effect - Dark Shadow for White Text */
    text-shadow:
        1px 1px 0 #333,
        2px 2px 0 #222,
        3px 3px 0 #111,
        4px 4px 0 #000,
        5px 5px 0 #000,
        6px 6px 1px rgba(0, 0, 0, 0.5),
        0 0 5px rgba(0, 0, 0, 0.3),
        0 1px 3px rgba(0, 0, 0, 0.5),
        0 3px 5px rgba(0, 0, 0, 0.4),
        0 5px 10px rgba(0, 0, 0, 0.4);
    transition: all 0.2s ease;
}

.nav-links li a:hover,
.nav-links li a.active {
    color: var(--secondary-color);
    border-bottom: 2px solid var(--secondary-color);
    transform: translateY(-2px);
    text-shadow:
        1px 1px 0 #333,
        2px 2px 0 #222,
        3px 3px 0 #111,
        4px 4px 0 #000,
        5px 5px 2px rgba(0, 0, 0, 0.5),
        0 0 5px rgba(0, 0, 0, 0.3),
        0 1px 3px rgba(0, 0, 0, 0.5),
        0 3px 5px rgba(0, 0, 0, 0.4),
        0 5px 10px rgba(0, 0, 0, 0.4);
}

/* Hero Section */
.hero {
    height: 80vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    position: relative;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 51, 102, 0.5);
    /* Increased opacity for readability */
    /* Overlay */
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 2rem;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* Sections */
.section {
    padding: 4rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--secondary-color);
    margin: 10px auto 0;
}

/* Cards / Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform var(--transition-speed);
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: #fff;
    padding: 3rem 5%;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-item a {
    color: #fff;
    font-weight: 500;
}

.copyright {
    margin-top: 2rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Responsive */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem 0;
        /* Add some vertical padding */
    }

    .nav-links {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
        margin-right: 0;
        /* Remove right margin on mobile */
        width: 100%;
        /* Ensure full width */
    }

    .nav-links li a {
        font-size: 1.2rem;
        /* Slightly smaller font size for tablet/mobile */
    }

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

    .logo {
        margin-top: 0;
        /* Reset margin */
        margin-left: 0;
        text-align: center;
        margin-bottom: 1rem;
        /* Add space below logo */
    }

    .logo img {
        height: 150px;
        /* Smaller logo on mobile */
    }

    .section {
        padding: 3rem 5%;
        /* Reduce padding */
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
        /* Even smaller for phones */
    }

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

    .nav-links li a {
        font-size: 1rem;
        padding: 0.5rem;
    }

    .logo img {
        height: 120px;
        /* Even smaller logo */
    }

    .features-grid {
        grid-template-columns: 1fr;
        /* Stack cards on very small screens */
    }

    .contact-info {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
}

/* Intro Overlay */
#intro-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    animation: fadeOutOverlay 1s ease-in-out 1.5s forwards;
    pointer-events: none;
}

#intro-overlay img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: pulseEye 2.5s ease-in-out forwards;
}

/* Main Content Animation */
.navbar,
.hero,
.section,
footer {
    opacity: 0;
    animation: contentFadeIn 1s ease-out 1.5s forwards;
}

@keyframes fadeOutOverlay {
    to {
        opacity: 0;
        visibility: hidden;
        z-index: -1;
    }
}

@keyframes pulseEye {
    0% {
        transform: scale(1);
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1.1);
        opacity: 1;
    }
}

@keyframes contentFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Fast Intro for Subpages (No Animation) */
body.fast-intro #intro-overlay {
    display: none;
}

body.fast-intro .navbar,
body.fast-intro .hero,
body.fast-intro .section,
body.fast-intro footer {
    opacity: 1;
    animation: none;
}