:root {
    --primary: #000080; /* Deep Navy */
    --primary-dark: #000040;
    --accent: #0052D4;
    --text: #2C3E50;
    --text-light: #6c757d;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.8);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    color: var(--text);
    line-height: 1.7;
    background-color: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navigation */
#main-nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition);
    background: transparent;
}

#main-nav.scrolled {
    background: var(--glass);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: var(--primary);
    border-radius: 3px;
    transition: var(--transition);
}

/* Open state for hamburger */
.menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}
.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.btn-contact {
    background-color: var(--primary);
    color: var(--white) !important;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    transition: var(--transition);
}

.btn-contact:hover {
    background-color: var(--accent) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 128, 0.2);
}

/* Hero Section */
.hero {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--bg-light);
    position: relative;
    padding-top: 100px; /* Space for the navbar */
    padding-bottom: 0;
}

.hero-image-container {
    width: 100%;
    max-width: 1200px; /* Adjust if the original image is wider */
    margin: 0 auto;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards;
}

#hero-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0; /* Removing border radius for a full-width look if requested */
    box-shadow: none;
}

.hero-content h1 {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
    letter-spacing: -1px;
}

.hero-content .subtitle {
    font-size: 1.5rem;
    color: var(--text-light);
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Sections */
.section {
    padding: 8rem 0;
}

#over-ons.section {
    padding-top: 2rem;
}

.section h2 {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 2rem;
    position: relative;
}

.section h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary);
    margin-top: 1rem;
}

/* Background Image Overlay (30% visibility) */
.bg-image-overlay {
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-image: var(--bg-image);
    color: var(--white);
}

.bg-image-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary);
    opacity: 0.7; /* This makes the background image roughly 30% visible */
    z-index: 1;
}

.bg-image-overlay .container {
    position: relative;
    z-index: 2;
}

.bg-image-overlay h2 {
    color: var(--white);
}

.bg-image-overlay h2::after {
    background: var(--white);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: var(--bg-light);
    padding: 3rem 2rem;
    border-radius: 8px;
    transition: var(--transition);
    border-bottom: 4px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-bottom: 4px solid var(--primary);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
}

.feature-card .icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.feature-card .icon img {
    width: 64px;
    height: auto;
    mix-blend-mode: multiply;
    display: block;
}

.feature-card h3 {
    font-size: 1.2rem;
    color: var(--primary);
}

/* Contact Page Styles */
.subpage #main-nav {
    background: var(--glass);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.contact-main {
    padding-top: 120px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 5rem;
}

.info-item {
    margin-bottom: 2rem;
}

.info-item strong {
    display: block;
    color: var(--primary);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.info-item p, .info-item a {
    font-size: 1.1rem;
    text-decoration: none;
    color: var(--text);
}

/* Contact Form */
.contact-form-container {
    background: var(--white);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05);
}

.form-note {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.website-field {
    display: none;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--primary);
}

.form-group label::after {
    color: #e74c3c; /* Red for required */
    margin-left: 2px;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #e1e1e1;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(0, 0, 128, 0.05);
}

.char-limit {
    display: block;
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 0.3rem;
}

.btn-submit {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
}

.btn-submit:hover {
    background: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 128, 0.15);
}

/* Footer */
footer {
    background: var(--primary);
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
}

.footer-content p {
    margin-bottom: 1rem;
    opacity: 0.8;
}

/* Animations */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: var(--transition);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        display: flex; /* Override display: none from earlier if any */
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        margin: 1.5rem 0;
    }

    .nav-links a {
        font-size: 1.5rem;
    }
    
    .section {
        padding: 5rem 0;
    }
}
