/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

body {
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    margin-bottom: 20px;
    color: #1a3e5d;
}

h1 {
    font-size: 3.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

h2 {
    font-size: 2.5rem;
    position: relative;
    padding-bottom: 15px;
}

h2:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #4db6e2;
}

p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 100px 0;
    text-align: center;
}

section:nth-child(even) {
    background-color: #fff;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.grid-wrap {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.row-wrap {


    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.row-image {
    height: 100%;
    width: 100%;
}

/* Header & Navigation */
header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: #1a3e5d;
    text-decoration: none;
}

.logo span {
    color: #4db6e2;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin: 0 15px;
}

.nav-links a {
    text-decoration: none;
    color: #1a3e5d;
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #4db6e2;
}

.btn {
    display: inline-block;
    background-color: #4db6e2;
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(77, 182, 226, 0.3);
}

.btn:hover {
    background-color: #3a9bc4;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(77, 182, 226, 0.4);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(rgba(0, 0, 0, 1), rgba(0, 0, 0, 0.1)), url('cover.jpg') center/cover no-repeat;
    /* Alt tag added in img element below */
    color: white;
    text-align: left;
}

.hero-content {
    max-width: 600px;
}

.hero h1 {
    color: white;
    margin-bottom: 30px;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 40px;
}

/* Service Cards */
.service-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.service-img {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.service-content {
    padding: 25px;
}

.service-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #1a3e5d;
}

/* Testimonials */
.testimonial {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.testimonial p {
    font-style: italic;
    position: relative;
    padding: 0 20px;
}

.testimonial p:before, .testimonial p:after {
    content: '"';
    font-size: 2rem;
    color: #4db6e2;
    position: absolute;
}

.testimonial p:before {
    top: -10px;
    left: 0;
}

.testimonial p:after {
    bottom: -20px;
    right: 0;
}

.client {
    margin-top: 20px;
    font-weight: 600;
    color: #1a3e5d;
}

/* Gallery */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 50px;
}

.gallery-item {
    height: 250px;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    position: relative;
}

.gallery-item:hover {
    transform: scale(1.05);
}

/* Contact Section */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

input, textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

textarea {
    min-height: 150px;
    resize: vertical;
}

/* Footer */
footer {
    background-color: #1a3e5d;
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column a {
    color: #bbd4e8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: #4db6e2;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: #4db6e2;
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #bbd4e8;
}

.header-links {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
}

.flex-wrap {
    display: flex;
    flex-wrap: wrap;
}

.logo {
    max-width: 210px;
    display: flex;
    align-items: center;
}

.logo-image {
    width: 100%;
}

.hidden {
    display: none;
}

.faq-accordion {
    margin-top: 40px;
}

.faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    background-color: #fff;
}

.faq-question {
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #f5f9fc;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.2rem;
    color: #1a3e5d;
    font-weight: 600;
}

.faq-icon {
    font-size: 24px;
    color: #4db6e2;
    transition: transform 0.3s ease;
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    text-align: left;
}

.faq-item.active .faq-answer {
    padding: 25px 25px;
    max-height: 1000px; /* Arbitrary large value */
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-item.active .faq-question {
    background-color: #f5f9fc;
}

/* Hero Section with Video */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    color: white;
    text-align: left;
}

.hero-image-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    transition: opacity 1.5s ease;
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    opacity: 0;
    transition: opacity 1.5s ease;
}

/* Dark overlay for better text readability */
.hero-video-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6));
    z-index: 1;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 0; /* Ensure video is behind the overlay */
}

.hero-content {
    max-width: 600px;
    position: relative;
    z-index: 3;
}

.hero h1 {
    color: white;
    margin-bottom: 30px;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 40px;
}

@media (max-width: 890px) and (min-width: 767px) {
    .nav-links li {
        font-size: 0.75rem;
        margin: 0 9px;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    section {
        padding: 70px 0;
    }

    .hero {
        text-align: center;
    }

    .hero-content {
        margin: 0 auto;
    }

    .nav-links {
        display: none; /* Mobile menu would be added via JS */
    }

    .grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }

    .row-wrap {
        display: flex;
        flex-direction: row;
        justify-content: space-around;
        flex-wrap: wrap;
        justify-content: space-around;
        gap: 2rem;
        margin-top: 0px;
    }

    .row-image {
        min-height: 300px;
        height: auto;
    }

    .gallery {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 20px;
        margin-top: 50px;
    }

    .gallery-item {
        width: 320px;
        height: 320px;
    }


}
