body, html {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    height: 100%;
    overflow-x: hidden;
}

nav {
    position: fixed;
    top: 0;
    width: 98%;
    background: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 1000;
}

.logo img {
    max-width: 150px;
    height: auto;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin: 0;
}

.nav-links a {
    text-decoration: none;
    color: #1e3a8a;
    font-weight: bold;
    white-space: nowrap;
}

/* Hamburger Menu for Mobile */
.menu-toggle {
    display: none;
    font-size: 1.5rem;
    background: none;
    border: none;
    color: #1e3a8a;
    cursor: pointer;
}

.parallax {
    min-height: 100vh;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 4rem 0;
    overflow: hidden;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.parallax-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

#home .parallax-video { /* Specific to home section */ }
#services { background-image: url('services-bg.jpg'); }
#about { background-image: url('about-bg.jpg'); }
#contact { background-image: url('contact-bg.jpg'); }

.content {
    background: rgba(255, 255, 255, 0.7);
    padding: 2rem;
    border-radius: 10px;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.bold-subtext {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 1rem;
}

.content h2, .content h3 {
    color: #1e3a8a;
}

.content p {
    color: #000000;
    line-height: 1.6;
}

.service-subsection {
    margin: 2rem 0;
    text-align: left;
}

.service-image, .about-image {
    max-width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: #1e3a8a;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 1rem;
    min-height: 48px;
    line-height: 1;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 100%;
    margin: 2rem auto 0;
}

.contact-form input, .contact-form textarea {
    padding: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    min-height: 48px;
}

.contact-form button {
    padding: 1rem;
    background: #1e3a8a;
    color: #fff;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    min-height: 48px;
}

/* Enhanced About Us Styling */
.about-content {
    text-align: left;
    padding: 1.5rem;
}

.intro-text {
    font-size: 1.1rem;
    color: #2d5b9d;
    margin-bottom: 1.5rem;
}

.timeline {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.timeline-item {
    background: rgba(255, 255, 255, 0.7);
    padding: 1rem;
    border-left: 4px solid #1e3a8a;
    border-radius: 5px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-item:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 15px rgba(30, 58, 138, 0.2);
}

.timeline-item h3 {
    color: #d32f2f;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.vision-text {
    font-size: 1rem;
    color: #2d5b9d;
    margin-top: 1.5rem;
    font-style: italic;
}

.about-image {
    margin-top: 1.5rem;
    border: 2px solid #1e3a8a;
    max-width: 100%;
    height: auto;
}

/* Mobile-First Responsive Design */
@media (max-width: 768px) {
    .parallax {
        background-attachment: scroll; /* Disable parallax on mobile */
        min-height: 70vh;
        padding: 2rem 0;
    }
    .parallax-video {
        height: 70vh;
    }
    .menu-toggle {
        display: block;
    }
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background: #fff;
        padding: 1rem;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }
    .nav-links.active {
        display: flex;
    }
    .nav-links a {
        padding: 0.5rem 0;
        font-size: 1.1rem;
    }
    .content {
        padding: 1rem;
    }
    .bold-subtext {
        font-size: 1.2rem;
    }
    .service-image, .about-image {
        max-height: 150px;
    }
    .cta-button {
        padding: 0.75rem 1.5rem;
    }
    .contact-form input, .contact-form textarea, .contact-form button {
        min-height: 40px;
        padding: 0.75rem;
    }
    .timeline-item {
        padding: 0.75rem;
    }
    .timeline-item h3 {
        font-size: 1rem;
    }
}

@media (min-width: 769px) {
    .menu-toggle {
        display: none;
    }
    .nav-links {
        display: flex;
    }
    .parallax {
        padding: 4rem 0;
    }
    .content {
        padding: 2rem;
    }
    .service-image, .about-image {
        max-height: 250px;
    }
}