/* --- Global Styles & Variables --- */
:root {
    --color-primary: #1e3a8a; /* Deep Navy/Indigo */
    --color-accent: #3b82f6;  /* Electric Blue for CTAs */
    --color-text: #333;
    --color-light: #f3f4f6;
    --color-white: #fff;
    --font-family-sans: 'Inter', sans-serif;
}

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

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

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

h1, h2, h3 {
    line-height: 1.2;
    margin-bottom: 0.5em;
    color: var(--color-primary);
}

/* --- Header & Navigation --- */
.main-header {
    background-color: var(--color-primary);
    padding: 15px 0;
    border-bottom: 1px solid var(--color-light);
}

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

.logo {
    font-size: 1.5em;
    font-weight: 700;
    color: var(--color-white);
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li a {
    text-decoration: none;
    color: var(--color-white);
    padding: 10px 15px;
    transition: color 0.3s;
}

nav ul li a:hover, nav ul li a.active {
    color: var(--color-accent);
}

.header-phone {
    color: var(--color-white);
    text-decoration: none;
    font-weight: 700;
    padding: 8px 15px;
    border: 2px solid var(--color-white);
    border-radius: 5px;
    transition: all 0.3s;
}

.header-phone:hover {
    background-color: var(--color-white);
    color: var(--color-primary);
}

/* --- Buttons & CTAs --- */
.cta-button {
    display: inline-block;
    padding: 15px 30px;
    text-decoration: none;
    font-weight: 700;
    border-radius: 8px;
    transition: background-color 0.3s, transform 0.1s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.primary {
    background-color: var(--color-accent);
    color: var(--color-white);
    border: 2px solid var(--color-accent);
}

.primary:hover {
    background-color: #2563eb; /* Slightly darker accent */
    transform: translateY(-2px);
}

/* --- Hero Section --- */
.hero-section {
    background-color: var(--color-primary); /* Fallback color */
    background-image: url('hero-background.png'); /* Your generated image */
    background-size: cover;
    background-position: center center;
    color: var(--color-white); /* Change text color for better contrast */
    padding: 100px 0;
    text-align: center;
    position: relative; /* Needed for overlay */
    overflow: hidden; /* Ensures no overflow from overlay */
}

/* Optional: Add an overlay for better text readability on the background image */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Dark overlay, adjust transparency as needed */
    z-index: 1;
}

.hero-section .container {
    position: relative; /* Bring container content above the overlay */
    z-index: 2;
}

.hero-section h2 {
    font-size: 3em;
    font-weight: 900;
    max-width: 800px;
    margin: 0 auto 20px;
    color: var(--color-white); /* Ensure headline is white */
}

.hero-section .subhead {
    font-size: 1.25em;
    margin-bottom: 40px;
    color: #e0e7ff; /* Lighter white for subhead */
}

/* Update hero-section button colors for contrast if needed */
.hero-section .cta-button.primary {
    background-color: var(--color-accent);
    color: var(--color-white);
    border: 2px solid var(--color-accent);
}

.hero-section .cta-button.primary:hover {
    background-color: #2563eb; /* Slightly darker accent */
    transform: translateY(-2px);
}

/* --- Value Proposition Section --- */
.value-proposition, .how-it-works {
    padding: 80px 0;
    text-align: center;
}

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

.feature-card, .step-card {
    padding: 30px;
    border: 1px solid #ddd;
    border-radius: 8px;
    text-align: center;
    transition: box-shadow 0.3s;
}

.feature-card:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.icon {
    font-size: 2em;
    display: block;
    margin-bottom: 10px;
}

/* How It Works Specifics */
.how-it-works {
    background-color: var(--color-light);
}

.step-number {
    display: block;
    font-size: 2.5em;
    font-weight: 900;
    color: var(--color-accent);
    line-height: 1;
    margin-bottom: 10px;
}

/* --- Footer --- */
.main-footer {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 20px 0;
    font-size: 0.9em;
}

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

.main-footer a {
    color: var(--color-white);
    text-decoration: none;
    margin-left: 15px;
    opacity: 0.8;
}

.main-footer a:hover {
    opacity: 1;
}

/* --- Basic Responsiveness --- */
@media (max-width: 768px) {
    .main-header .container {
        flex-direction: column;
        text-align: center;
    }
    nav ul {
        margin-top: 10px;
    }
    .hero-section h2 {
        font-size: 2.5em;
    }
    .main-footer .container {
        flex-direction: column;
    }
    .footer-links {
        margin-top: 10px;
    }
}

/* --- New Styles for about.html --- */

.page-header {
    background-color: var(--color-primary); /* Fallback color */
    background-image: url('about-header-bg.png'); /* Your new generated image */
    background-size: cover;
    background-position: center center;
    color: var(--color-white); /* Ensure text is white for contrast */
    padding: 60px 0;
    text-align: center;
    position: relative; /* Needed for overlay */
    overflow: hidden; /* Ensures no overflow from overlay */
    border-bottom: 5px solid var(--color-accent); /* Keep the accent border */
}

/* Optional: Add an overlay for better text readability on the background image */
.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45); /* Darker overlay than hero for more focus on text */
    z-index: 1;
}

.page-header .container {
    position: relative; /* Bring container content above the overlay */
    z-index: 2;
}

.page-header h2 {
    font-size: 2.5em;
    font-weight: 800;
    color: var(--color-white); /* Ensure headline is white */
}

.page-header p {
    color: #e0e7ff; /* Lighter white for subtext */
    max-width: 700px;
    margin: 0 auto;
}

.page-header h2 {
    font-size: 2.5em;
    font-weight: 800;
}

.mission-philosophy {
    padding: 80px 0;
}

.content-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    text-align: left;
}

@media (max-width: 900px) {
    .content-two-col {
        grid-template-columns: 1fr;
    }
}

.mission-text p, .hands-off-promise ul {
    margin-bottom: 1.5em;
    font-size: 1.1em;
}

.hands-off-promise ul {
    list-style: none;
    padding-left: 0;
}

.hands-off-promise ul li {
    padding-left: 25px;
    position: relative;
    margin-bottom: 15px;
}

.hands-off-promise ul li::before {
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-size: 1.2em;
}


.skills-tech {
    background-color: var(--color-light);
    padding: 60px 0;
    text-align: center;
}

.skill-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.skill-card {
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: var(--color-white);
}

.skill-card h4 {
    color: var(--color-accent);
}

.final-cta {
    padding: 80px 0;
    text-align: center;
    background-color: var(--color-primary);
    color: var(--color-white);
}

.final-cta h2 {
    color: var(--color-white);
    margin-bottom: 30px;
}

/* --- New Styles for contact.html --- */

.contact-header {
    background-color: var(--color-accent); /* Use accent color to emphasize the call to action */
    color: var(--color-white);
    padding: 60px 0;
}

.contact-header h2 {
    color: var(--color-white);
    font-weight: 800;
}

.contact-form-section {
    padding: 80px 0;
}

.contact-form-section .container {
    display: grid;
    grid-template-columns: 2fr 1fr; /* Form takes 2/3, info takes 1/3 */
    gap: 50px;
    align-items: flex-start;
}

@media (max-width: 900px) {
    .contact-form-section .container {
        grid-template-columns: 1fr; /* Stack columns on smaller screens */
    }
}

.contact-form {
    background-color: var(--color-white);
    padding: 30px;
    border: 1px solid var(--color-light);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.form-group {
    flex: 1 1 calc(50% - 10px); /* Two columns layout for input fields */
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    flex: 1 1 100%; /* Full width for textarea and submit button */
}

.contact-form label {
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--color-text);
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form select,
.contact-form textarea {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1em;
    width: 100%;
    transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--color-accent);
    outline: none;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

.alt-contact-info {
    padding: 30px;
    background-color: var(--color-light);
    border-radius: 8px;
}

.alt-contact-info h3 {
    margin-bottom: 20px;
    color: var(--color-primary);
}

.alt-contact-info ul {
    list-style: none;
    padding: 0;
    margin-top: 15px;
}

.alt-contact-info ul li {
    margin-bottom: 10px;
    font-size: 1.05em;
}

.alt-contact-info a {
    color: var(--color-accent);
    text-decoration: none;
}

.scheduling-note {
    margin-top: 20px;
    font-style: italic;
    font-size: 0.9em;
}

/* --- New Pricing Section Styling --- */
.pricing-section {
    padding: 80px 0;
    background-color: var(--color-light); /* Use light background for contrast */
    text-align: center;
}

.pricing-subhead {
    max-width: 700px;
    margin: 0.5em auto 40px auto;
    font-size: 1.15em;
    color: #4b5563; /* Slightly lighter text */
}

.pricing-section h2 {
    font-size: 2.5em;
}

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

/* Two-column layout on desktop */
@media (min-width: 768px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.package-card {
    background: var(--color-white);
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
    text-align: left;
    display: flex;
    flex-direction: column;
}

.package-card.featured {
    border-top: 5px solid var(--color-accent);
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.2); /* Stronger shadow for featured */
}

.package-card h4 {
    color: var(--color-primary);
    font-size: 1.8em;
    margin-bottom: 5px;
}

.package-card .price-type {
    color: #6b7280;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.9em;
    margin-bottom: 20px;
}

.package-card .price-main {
    font-size: 3em;
    font-weight: 900;
    color: var(--color-accent);
    margin-bottom: 30px;
}

.package-card .price-main span {
    font-size: 0.4em;
    font-weight: 700;
    color: var(--color-text);
}

.package-card ul {
    list-style: none;
    margin-bottom: 30px;
    flex-grow: 1; /* Pushes button to bottom */
}

.package-card ul li {
    padding: 10px 0;
    border-bottom: 1px dashed #f3f4f6;
    display: flex;
    align-items: center;
    font-size: 1em;
}

.package-card ul li:last-child {
    border-bottom: none;
}

.package-card ul li .icon {
    margin-right: 10px;
    font-weight: 700;
    color: var(--color-accent);
    width: 20px;
}

.package-card .cta-button {
    margin-top: auto; /* Aligns button to the bottom */
    width: 100%;
}

.pricing-section .note {
    margin-top: 30px;
    font-size: 0.9em;
    color: #6b7280;
}