/* --- 0. Global Reset and Variables --- */
:root {
    --primary-color: #0077c9; /* Professional Blue */
    --secondary-color: #00b8e6; /* Lighter Accent Blue */
    --text-color: #333;
    --light-bg: #f7f9fc; /* Light Gray for sections */
    --white: #ffffff;
    --font-family: 'Poppins', sans-serif;
}

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

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

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-padding {
    padding: 60px 0;
}

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

h1, h2, h3 {
    margin-bottom: 20px;
    font-weight: 700;
    color: var(--primary-color);
}

h2 {
    font-size: 2.2rem;
    text-align: center;
}

.section-subtitle {
    text-align: center;
    margin-bottom: 40px;
    color: #666;
}

/* --- 1. Header & Navigation --- */
header {
    background-color: var(--white);
    padding: 15px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.main-nav ul {
    list-style: none;
    display: flex;
    align-items: center;
}

.main-nav li a {
    text-decoration: none;
    color: var(--text-color);
    margin-right: 25px;
    font-weight: 600;
    transition: color 0.3s;
}

.main-nav li a:hover {
    color: var(--secondary-color);
}

.menu-toggle {
    display: none; /* Hide on desktop */
    font-size: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--primary-color);
}

/* --- CTA Button Styling --- */
.cta-button {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

.primary-cta {
    background-color: var(--primary-color);
    color: var(--white);
}

.primary-cta:hover {
    background-color: #005a9c; /* Darker blue */
    transform: translateY(-2px);
}

.secondary-cta {
    background-color: var(--secondary-color);
    color: var(--white);
}

.secondary-cta:hover {
    background-color: #0093b5;
    transform: translateY(-2px);
}

/* --- 2. Hero Section --- */
#hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('placeholder-hero.jpg') no-repeat center center/cover;
    height: 60vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--white);
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

#hero h1 {
    font-size: 3rem;
    color: var(--white);
}

#hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* --- 3. Services Section --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.service-card h3 {
    color: var(--secondary-color);
}

/* --- 4. Team Section --- */
.team-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.team-member {
    text-align: center;
    max-width: 250px;
}

.team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 4px solid var(--primary-color);
}

.callout-text {
    text-align: center;
    margin-top: 30px;
    padding: 15px;
    background-color: #fff3cd;
    border: 1px solid #ffeeba;
    color: #856404;
    border-radius: 5px;
}

/* --- 5. Contact Section --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.contact-info p {
    margin-bottom: 10px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

#map-placeholder {
    width: 100%;
    height: 300px;
    background-color: #ddd;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    border-radius: 8px;
    text-align: center;
}

/* --- 6. Footer --- */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 20px 0;
    text-align: center;
    font-size: 0.9rem;
}

footer a {
    color: var(--white);
    text-decoration: none;
    margin: 0 5px;
}

/* --- 7. AI Chatbot Button --- */
#ai-chatbot-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #ff9900; /* Distinct color for Chatbot */
    color: var(--white);
    padding: 15px 20px;
    border-radius: 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 10px;
}

#ai-chatbot-button:hover {
    background-color: #cc7a00;
}

/* --- Media Queries for Responsiveness (Mobile Adjustments) --- */
@media (max-width: 768px) {
    /* Adjustments for smaller screens (tablets and phones) */
    .main-nav {
        display: none; /* Hide main nav on mobile */
        width: 100%;
        order: 3; /* Push below logo */
    }

    .main-nav.active {
        display: block;
        text-align: center;
    }

    .main-nav ul {
        flex-direction: column;
        margin-top: 15px;
    }

    .main-nav li {
        margin: 10px 0;
    }

    .main-nav li a {
        margin-right: 0;
    }

    .cta-button {
        margin-top: 10px;
    }

    .menu-toggle {
        display: block; /* Show menu toggle button */
    }

    header .container {
        flex-wrap: wrap;
    }

    /* Hero */
    #hero h1 {
        font-size: 2.2rem;
    }

    /* Contact */
    .contact-grid {
        grid-template-columns: 1fr; /* Stack on mobile */
    }
}
