/* General Setup */
body {
    font-family: 'Helvetica', 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    line-height: 1.6;
    background-color: #f4f4f4;
}

.container {
    width: 90%;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

/* Header Styling */
header {
    background-color: #2c3e50;
    /* Dark Blue */
    color: white;
    padding: 60px 0;
}

header h1 {
    margin: 0;
    font-size: 2.5rem;
}

header p {
    font-size: 1.2rem;
    color: #ecf0f1;
}

/* Section Styling */
section {
    padding: 40px 0;
    background-color: white;
    margin: 20px auto;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    max-width: 850px;
}

h2 {
    color: #2c3e50;
}

/* Footer Styling */
footer {
    text-align: center;
    padding: 20px;
    color: #777;
    font-size: 0.9rem;
}

/* --- NEW STYLES --- */

/* Logo Styling */
.logo {
    width: 100px;
    /* Sets the size */
    height: 100px;
    object-fit: contain;
    /* Keeps the logo aspect ratio correct */
    background-color: white;
    /* Adds a white background behind the black logo */
    border-radius: 50%;
    /* Makes the white background a perfect circle */
    padding: 10px;
    /* Adds breathing room around the logo */
    margin-bottom: 20px;
    /* Adds space between logo and text */
}

/* Contact Form Styling */
.contact form {
    text-align: left;
    /* Aligns form text to the left */
    max-width: 500px;
    margin: 0 auto;
    /* Centers the form itself */
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    /* Ensures padding doesn't break the width */
    font-size: 1rem;
}

.btn {
    background-color: #2c3e50;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    width: 100%;
}

.btn:hover {
    background-color: #34495e;
    /* Slightly lighter blue on hover */
}

/* --- NAVIGATION STYLES --- */

.navbar {
    background-color: #1a252f;
    /* A darker shade than the header */
    color: white;
    padding: 15px 0;
    position: sticky;
    /* Sticks the menu to the top when scrolling */
    top: 0;
    z-index: 1000;
    /* Ensures the menu stays on top of other content */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.navbar .container {
    display: flex;
    justify-content: center;
    /* Centers the menu items */
    align-items: center;
}

.nav-links {
    list-style: none;
    /* Removes bullet points */
    margin: 0;
    padding: 0;
    display: flex;
    /* Lines up links horizontally */
    gap: 30px;
    /* Adds space between links */
}

.nav-links li a {
    color: white;
    text-decoration: none;
    /* Removes underlines */
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.nav-links li a:hover {
    color: #3498db;
    /* Changes color to light blue when you mouse over */
}

.nav-links li a.active {
    color: #3498db;
    /* The same light blue we use for hover effects */
    border-bottom: 2px solid #3498db;
    /* Adds a small underline */
}

/* Smooth Scrolling Effect */
html {
    scroll-behavior: smooth;
    /* Makes the jump feel like a gentle slide */
}

/* --- MOBILE RESPONSIVE STYLES --- */

/* This block only runs on screens smaller than 768px (Tablets & Phones) */
@media (max-width: 768px) {

    /* 1. Tweak the Navigation Bar */
    .nav-links {
        gap: 15px;
        /* Reduce space between links so they fit */
        font-size: 0.85rem;
        /* Make the menu text slightly smaller */
    }

    .navbar {
        padding: 10px 0;
        /* Make the bar slightly thinner */
    }

    /* 2. Adjust the Header Text */
    header h1 {
        font-size: 2rem;
        /* Shrink the big title so it doesn't break lines awkwardly */
    }

    header p {
        font-size: 1rem;
        /* Adjust subtitle size */
    }

    /* 3. Adjust Section Spacing */
    section {
        padding: 30px 15px;
        /* Less padding on the sides to give content more room */
    }

    /* 4. Fix the Logo size for mobile */
    .logo {
        width: 80px;
        height: 80px;
        margin-bottom: 15px;
    }

    /* 5. Ensure the Calendly widget fits */
    .calendly-inline-widget {
        min-width: 100% !important;
        /* Forces the calendar to respect the screen width */
    }
}