/* GENERAL STYLES */
:root {
    --primary-color: #b08b46; /* A strong blue for trust/security */
    --secondary-color: #b08b46;
    --background-light: #ffffff;
    --background-dark: #050505;
    --text-dark: #050505;
    --text-light: #ffffff;
    --font-heading: 'monofonto';
    --font-body: 'monofonto';
}

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

body {
    font-family: 'monofonto';
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background-light);
}

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

section {
    padding: 60px 0;
    text-align: center;
}

h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    margin-bottom: 20px;
}

h2 {
    font-size: 2.5em;
    font-weight: 700;
}

h3 {
    font-size: 2em;
    font-weight: 700;
}

p {
    margin-bottom: 15px;
}

/* BUTTONS */
.btn {
    display: inline-block;
    padding: 10px 25px;
    margin-top: 20px;
    border-radius: 5px;
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 700;
    transition: background-color 0.3s ease;
}

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

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

.cta-btn, .final-cta {
    background-color: var(--primary-color);
    color: var(--text-light);
    border: none;
    font-size: 1.1em;
    padding: 15px 35px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.cta-btn:hover, .final-cta:hover {
    background-color: var(--secondary-color);
}

/* HEADER/NAV */
header {
    background: var(--background-dark);
    color: var(--text-light);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo-container {
    height: 100px; /* Define a fixed height for the container */
}

.header-logo {
    height: 100%; /* Make the image fill the container height */
    width: auto;
}

/* Update original logo style */
.logo {
    /* Removed the original H1 style */
    display: none;
}

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

header nav ul li {
    margin-left: 20px;
}

header nav ul li a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 400;
    padding: 5px 10px;
    transition: color 0.3s ease;
}

header nav ul li a:hover {
    color: var(--primary-color);
}


/* HERO SECTION */
.hero {
    background: var(--background-dark);
    color: var(--text-light);
    text-align: left;
    padding: 80px 0;
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.hero-content {
    flex: 1;
    max-width: 30%;
}

.hero-content .tagline {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.1em;
    margin-bottom: 10px;
}

.hero-content h2 {
    color: var(--text-light);
    font-size: 3em;
    line-height: 1.1;
    margin-top: 0;
    margin-bottom: 20px;
}

.hero-image {
    flex: 1;
    max-width: 100%;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}


/* FEATURES SECTION */
.features {
    background-color: var(--background-light);
    padding: 80px 0;
}

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

.feature-item {
    padding: 30px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-item img {
    width: 100px;
    height: 100px;
    margin-bottom: 15px;
}

.feature-item h4 {
    color: var(--primary-color);
}


/* HOW IT WORKS SECTION */
.how-it-works {
    background-color: #e9ecef;
    padding: 80px 0;
}

.how-it-works .step {
    max-width: 800px;
    margin: 30px auto;
    padding: 20px;
    border-left: 5px solid var(--primary-color);
    text-align: left;
    background: #ffffff;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.how-it-works .step h4 {
    margin-top: 0;
}


/* CONTACT CTA SECTION */
:root {
    /* Define a color palette for easy adjustments */
    --sentri-blue: #b08b46; /* Primary Brand Color */
    --sentri-dark: #333; /* Dark text/background */
    --sentri-light: #f8f9fa; /* Light background */
    --sentri-accent: #b08b46; /* Secondary/Success/CTA color */
    --form-bg: #ffffff;
    --border-color: #ced4da;
    --focus-shadow: rgba(0, 123, 255, 0.25);
}

body {
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--sentri-dark);
    background-color: var(--sentri-light);
}

.container {
    /* Standard container for centering and max width */
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* --- Section and Heading Styles --- */
#lead-form {
    padding: 60px 0;
    background-color: var(--sentri-light); /* Light background for the form area */
}

#lead-form h2 {
    text-align: center;
    color: var(--sentri-blue);
    margin-bottom: 10px;
    font-size: 2em;
    font-weight: 600;
}

#lead-form p {
    text-align: center;
    margin: 0 auto 30px;
    color: #6c757d;
    font-size: 1.1em;
}

/* --- Form Container Styles --- */
.contact-form {
    background-color: var(--form-bg);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-top: 5px solid var(--sentri-blue); /* A nice accent border */
}

/* --- Form Group and Input Styles --- */
.form-group {
    margin-bottom: 20px;
}

/* Visually hide the labels but keep them for accessibility (sr-only class) */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    box-sizing: border-box; /* Important for padding/border not adding to width */
    font-size: 1em;
    color: var(--sentri-dark);
    transition: border-color 0.3s, box-shadow 0.3s;
}

textarea {
    resize: vertical; /* Allow vertical resizing, but not horizontal */
    min-height: 100px;
}

input::placeholder,
textarea::placeholder {
    color: #adb5bd;
    opacity: 1; /* For Firefox compatibility */
}

input:focus,
textarea:focus {
    border-color: var(--sentri-blue);
    outline: none;
    box-shadow: 0 0 0 0.25rem var(--focus-shadow);
}

/* --- Button Styles (CTA) --- */
.submit-btn {
    display: block; /* Make the button take full width */
    width: 100%;
    padding: 15px 20px;
    border: none;
    border-radius: 6px;
    background-color: var(--sentri-accent); /* Use the accent color for the main CTA */
    color: #ffffff;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.1s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.submit-btn:hover {
    background-color: #b08b46; /* Slightly darker shade on hover */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.submit-btn:active {
    transform: translateY(1px);
}

/* --- Privacy Note --- */
.privacy-note {
    text-align: center;
    font-size: 0.9em;
    color: #6c757d;
    margin-top: 20px;
    font-style: italic;
}

/* --- Contact Info CTA Section (The bottom part) --- */
#contact-info {
    background-color: var(--sentri-blue);
    color: #ffffff;
    padding: 40px 0;
    text-align: center;
}

#contact-info h2 {
    font-size: 1.8em;
    font-weight: 500;
    margin: 0;
}

/* --- Responsive Adjustments within the CTA/Form section --- */
/* The block below was syntactically incorrect/incomplete, so I've fixed it */
@media (max-width: 576px) {
    .contact-form {
        padding: 25px;
    }
    
    #lead-form h2 {
        font-size: 1.6em;
    }
    
    .submit-btn {
        font-size: 1.1em;
        padding: 12px 15px;
    }
}

footer p {
    margin: 5px 0;
}

/* MEDIA QUERIES FOR RESPONSIVENESS */
/* Corrected the missing @media rule and added max-width */
@media (max-width: 768px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content, .hero-image {
        max-width: 100%;
        margin-bottom: 30px;
    }

    .hero-content h2 {
        font-size: 2em;
    }
    
    .hero-image img {
        /* Ensure the image doesn't look too wide on small screens */
        max-width: 90%; 
    }

    header .container {
        /* Allow the header container to be taller and wrap content */
        height: auto;
        flex-direction: column;
        gap: 10px;
    }

    header nav ul {
        justify-content: center;
        padding-bottom: 10px; /* Add space below the nav links */
        /* Reduce spacing between links */
        flex-wrap: wrap; 
    }

    header nav ul li {
        margin: 5px 10px;
    }

    .logo-container {
        /* Allow the logo container to scale slightly smaller on mobile */
        height: 70px; 
        margin-bottom: 5px;
    }
    
    section {
        /* Reduce section padding on mobile for less scrolling */
        padding: 40px 0; 
    }

    h2 {
        font-size: 2em;
    }

    h3 {
        font-size: 1.5em;
    }

    /* Adjust feature grid for smaller screens */
    .feature-grid {
        grid-template-columns: 1fr; /* Stack features vertically on mobile */
    }
}