/* --- Global Styles & Variables --- */
:root {
    /* EDIT THIS: Change your site's main colors */
    --primary-color: #0A2540; /* A professional dark blue */
    --accent-color: #007BFF;  /* A bright, clickable blue */
    --light-bg-color: #F8F9FA; /* A very light gray for sections */
    --text-color: #333333;      /* Dark gray for text (not pure black) */
    --light-text-color: #FFFFFF; /* White text for dark backgrounds */
    
    /* Fonts (imported in HTML) */
    --heading-font: 'Montserrat', sans-serif;
    --body-font: 'Open Sans', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* Offset for fixed navbar */
}

body {
    font-family: var(--body-font);
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

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

p {
    margin-bottom: 1rem;
}

a {
    color: var(--accent-color);
    text-decoration: none;
}

/* --- Navigation Bar --- */
.navbar {
    background: var(--light-text-color);
    color: var(--primary-color);
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
    position: fixed; /* Sticks to the top */
    width: 100%;
    top: 0;
    z-index: 1000;
}

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

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

.nav-logo img {
    height: 40px; /* Adjust if you use a logo image */
}

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

.nav-link {
    color: var(--primary-color);
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--accent-color);
}

.cta-button-nav {
    background: var(--accent-color);
    color: var(--light-text-color);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.cta-button-nav:hover {
    background: var(--primary-color);
    color: var(--light-text-color);
}

/* --- Mobile Nav Toggle (Hamburger) --- */
.nav-toggle {
    display: none; /* Hidden on desktop */
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.hamburger {
    display: block;
    position: relative;
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
    left: 0;
}

.hamburger::before { top: -8px; }
.hamburger::after { top: 8px; }

/* Hamburger 'X' animation */
.nav-toggle.is-active .hamburger {
    background: transparent;
}
.nav-toggle.is-active .hamburger::before {
    transform: rotate(45deg) translate(5px, 6px);
}
.nav-toggle.is-active .hamburger::after {
    transform: rotate(-45deg) translate(5px, -6px);
}


/* --- Hero Section --- */
.hero {
    background: var(--primary-color);
    color: var(--light-text-color);
    height: 60vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
    margin-top: 70px; /* Push below fixed nav */
}

.hero-title {
    font-size: 3rem;
    color: var(--light-text-color);
    margin-bottom: 0.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    font-weight: 400;
}

.cta-button {
    background: var(--accent-color);
    color: var(--light-text-color);
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    font-family: var(--heading-font);
    font-size: 1rem;
    font-weight: 700;
    transition: background 0.3s ease, transform 0.3s ease;
}

.cta-button:hover {
    background: #0069d9; /* Slightly darker accent */
    transform: translateY(-2px);
}

/* --- Content Sections --- */
.content-section {
    padding: 4rem 0;
}

.content-section.bg-light {
    background: var(--light-bg-color);
}

.content-section h2 {
    text-align: center;
    font-size: 2.25rem;
    margin-bottom: 3rem;
}

/* --- Services Grid --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--light-text-color);
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}

.service-card h3 {
    font-size: 1.5rem;
    color: var(--accent-color);
}

/* --- Contact Info --- */
.contact-info {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.1rem;
}
.contact-info p {
    margin-bottom: 0.5rem;
}

/* --- Footer --- */
.footer {
    background: var(--primary-color);
    color: var(--light-text-color);
    text-align: center;
    padding: 2rem 0;
    margin-top: 2rem;
}
.footer p {
    margin: 0;
}

/* --- Responsive Design (Mobile-First) --- */
@media (max-width: 768px) {
    .nav-toggle {
        display: block; /* Show hamburger */
    }

    .nav-menu {
        display: none; /* Hide menu by default */
        flex-direction: column;
        position: absolute;
        top: 70px; /* Below navbar */
        left: 0;
        width: 100%;
        background: var(--light-text-color);
        text-align: center;
        border-bottom: 1px solid #eee;
    }
    
    .nav-menu.is-active {
        display: flex; /* Show menu when active */
    }

    .nav-item {
        padding: 1rem 0;
        border-bottom: 1px solid #f4f4f4;
    }
    .nav-item:last-child {
        border-bottom: none;
    }
    
    .cta-button-nav {
        display: block;
        width: 90%;
        margin: 1rem auto;
    }
    
    .hero-title {
        font-size: 2.25rem;
    }
    .hero-subtitle {
        font-size: 1.1rem;
    }
}