/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&family=Montserrat:wght@400;600;700&display=swap');

/* --- CSS Variables --- */
:root {
    --primary-color: #0d2c4b; /* Deep Blue */
    --secondary-color: #f8f9fa; /* Off-White */
    --accent-color: #28a745; /* Calming Green */
    --text-color: #333333;
    --light-gray: #e9ecef;
    --heading-font: 'Montserrat', sans-serif;
    --body-font: 'Lato', sans-serif;
}

/* --- General & Reset Styles --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    line-height: 1.7;
    background-color: #ffffff;
    color: var(--text-color);
}

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

h1, h2, h3, h4 {
    font-family: var(--heading-font);
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

h1 { font-size: 2.8rem; }
h2 { font-size: 2.2rem; }
p { margin-bottom: 1rem; }
a { color: var(--accent-color); text-decoration: none; }
img { max-width: 100%; height: auto; }

/* --- Header & Navigation --- */
.header {
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-logo {
    font-family: var(--heading-font);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

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

.nav-item {
    margin-left: 2rem;
}

.nav-link {
    font-family: var(--heading-font);
    color: var(--primary-color);
    font-weight: 600;
    transition: color 0.3s ease;
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
}

.nav-link:hover, .nav-link.active {
    color: var(--accent-color);
    border-bottom: 2px solid var(--accent-color);
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background-color: var(--primary-color);
}

/* --- Hero Section --- */
.hero {
    background: linear-gradient(rgba(13, 44, 75, 0.7), rgba(13, 44, 75, 0.7)), url('https://images.pexels.com/photos/160107/pexels-photo-160107.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1') no-repeat center center/cover;
    height: 60vh;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 1rem;
}

.hero h1 {
    color: white;
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
}

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: var(--accent-color);
    color: white;
    border: none;
    border-radius: 5px;
    font-family: var(--heading-font);
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 1rem;
}

.btn:hover {
    background: #218838;
}

/* --- Content Sections --- */
.section {
    padding: 4rem 0;
}
.section-light {
    background: #fff;
}
.section-dark {
    background: var(--secondary-color);
}
.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    text-align: center;
}
.feature-item {
    padding: 2rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}
.feature-item img {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
}

/* --- How It Works Section --- */
.how-it-works-steps {
    display: flex;
    justify-content: space-around;
    gap: 2rem;
    text-align: center;
}
.step {
    flex: 1;
}
.step .step-number {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

/* --- Generic Page Styles (About, Service, Contact etc.) --- */
.page-header {
    background: var(--primary-color);
    color: white;
    padding: 3rem 0;
    text-align: center;
}
.page-header h1 {
    color: white;
    margin: 0;
}
.page-content {
    padding: 4rem 0;
}
.page-content p, .page-content ul, .page-content ol {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
.page-content ul, .page-content ol {
    padding-left: 20px;
    margin-bottom: 1rem;
}
.page-content ul li {
    list-style-type: disc;
    margin-bottom: 0.5rem;
}

/* --- Contact Page --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}
.contact-details p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}
.contact-details strong {
    color: var(--primary-color);
}
.map-container {
    width: 100%;
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
}
.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* --- FAQ Section on Service Page --- */
.faq-item {
    border-bottom: 1px solid var(--light-gray);
    padding: 1.5rem 0;
}
.faq-item:last-child {
    border-bottom: none;
}
.faq-question {
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}


/* --- Footer --- */
.footer {
    background: var(--primary-color);
    color: #ccc;
    padding: 3rem 1rem;
    text-align: center;
}

.footer-container {
    max-width: 1100px;
    margin: auto;
}
.footer-container p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}
.footer-container a {
    color: #fff;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}
.footer-container a:hover {
    color: var(--accent-color);
}


/* --- Responsive Design --- */
@media (max-width: 992px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 1.8rem; }
    .hero h1 { font-size: 2.8rem; }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 72px; /* Adjust based on header height */
        flex-direction: column;
        background-color: #fff;
        width: 100%;
        height: 100vh;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        margin: 1.5rem 0;
    }

    .hamburger {
        display: block;
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .how-it-works-steps {
        flex-direction: column;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
}