/* Import Google Fonts with Bold and Extra Bold Raleway */
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@700;800&display=swap');

/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body Styling */
body {
    font-family: 'Arial', sans-serif;
    background-color: #fafafa; /* Light background outside the container */
    color: #333;
    display: flex;
    justify-content: center;
    padding: 20px;
}

/* Main Container with Dark Blue Background */
.container {
    max-width: 800px;
    width: 100%;
    padding: 20px;
    background-color: #142F52; /* Dark blue background inside the container */
    border-radius: 12px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
    color: #ffffff; /* White text for readability */
}

/* Header with White Text and Larger h1 for "Jaime's Accounting" */
.header {
    text-align: center;
    margin-bottom: 20px;
}

.header h1 {
    font-size: 2.5em; /* Larger font size for main business name */
    color: #ffffff;
    font-weight: bold;
    margin-bottom: 10px;
    font-family: 'Raleway', sans-serif;
}

/* Hero Section with Centered Text */
#hero {
    text-align: center; /* Ensure all text is centered */
    margin-bottom: 20px;
}

#hero h1 {
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 1.4em; /* Slightly smaller font size for subtitle */
    color: #ffffff;
    margin-bottom: 15px;
}

#hero p {
    font-size: 1.1em;
    color: #e8e8e8; /* Light gray for readability */
    margin-bottom: 15px;
}

/* Button Styles with Icon */
.cta-button {
    display: inline-flex; /* Ensure button contents are centered */
    justify-content: center; /* Center the icon and text within the button */
    padding: 12px 24px;
    background-color: #e81d2d;
    color: #ffffff;
    font-family: 'Raleway', sans-serif;
    font-weight: 800;
    font-size: 25px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 10px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    align-items: center;
    gap: 8px; /* Space between icon and text */
}

.cta-button:hover {
    background-color: #c71a27;
    transform: scale(1.05);
}

/* Section Styling */
#about, #services, #testimonials, #contact {
    text-align: center;
    margin-bottom: 20px;
}

/* Subtitle Headings */
#about h2, #services h2, #testimonials h2, #contact h2 {
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 1.6em;
    color: #ffffff;
    margin-bottom: 15px;
}

#contact p {
    font-size: 1.1em;
    color: #e8e8e8;
    margin-bottom: 15px;
}

/* Benefit Section with 2-Column Layout */
.benefit {
    display: grid;
    grid-template-columns: 40px 1fr; /* Icon column and content column */
    gap: 10px; /* Space between icon and content */
    margin-bottom: 15px;
    align-items: start;
}

/* Icon Styling */
.icon {
    color: #FFD700; /* Gold color for icons */
    font-size: 1.4em;
    text-align: left;
}

/* Content Styling for Benefit Title and Description */
.benefit-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Ensure content is left-aligned */
}

.benefit-title {
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 5px; /* Space between title and description */
    text-align: left; /* Ensure title is left-aligned */
}

.benefit-description {
    color: #e8e8e8; /* Light gray for readability */
    line-height: 1.4;
    text-align: left; /* Ensure description is left-aligned */
}

/* Consistent Alignment and Bold Styling */
.text-content {
    display: inline-block;
    font-weight: bold; /* Apply bold styling */
}

/* Services List with Left Justified Green Checkmarks */
#services ul {
    list-style: none;
    padding: 0;
}

#services li {
    display: flex;
    align-items: center;
    font-size: 1.1em;
    padding: 5px 0;
    text-align: left;
    color: #e8e8e8; /* Light gray text */
}

#services li i {
    font-size: 1.3em;
    color: #28a745; /* Green color for checkmarks */
    margin-right: 8px;
}

/* Testimonials Section */
.stars i {
    color: #FFD700;
    font-size: 1.2em;
    margin-right: 3px;
}

blockquote {
    font-size: 1.1em;
    color: #e8e8e8;
    font-style: italic;
    padding: 10px;
    text-align: center;
}

/* Contact Section Form */
/* Contact Section Form */
#contact form {
    display: flex;
    flex-direction: column; /* Stack fields vertically */
    align-items: center; /* Center form elements within the container */
    margin-top: 10px;
    width: 100%; /* Ensure full width within the container */
}

#contact label {
    width: 80%; /* Match label width to input field width */
    max-width: 400px; /* Ensure labels don’t get too wide */
    text-align: left; /* Align text within the label to the left */
    margin-bottom: 5px;
    font-weight: bold;
    color: #ffffff;
}

#contact input[type="text"],
#contact input[type="tel"],
#contact input[type="email"] {
    padding: 12px;
    width: 80%; /* Control width of input fields */
    max-width: 400px; /* Ensure input fields don’t get too wide */
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1em;
    margin-bottom: 15px; /* Space between input fields */
    background-color: #ffffff;
    color: #333;
}

/* Adjust button to match centered form alignment */
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    background-color: #e81d2d;
    color: #ffffff;
    font-family: 'Raleway', sans-serif;
    font-weight: 800;
    font-size: 1.2em;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 15px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    gap: 8px;
    max-width: 400px; /* Keeps button width consistent with input fields */
    width: 80%; /* Align button width with input fields */
}

.cta-button:hover {
    background-color: #c71a27;
    transform: scale(1.05);
}


.square {
    flex: 1; /* Each square takes up half the container width on larger screens */
    height: 300px; /* Set height for larger screens */
    overflow: hidden;
    min-width: 200px; /* Ensures minimum width for each square */
}

/* Bullet List Styling */
.bullet-list {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background-color: #142F52;
    color: #ffffff;
    padding: 20px;
}

.bullet-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
    font-weight: bold;
    font-style: italic;
    font-size: 1.8em;
    text-align: left;
    line-height: 1.4;
}

.bullet-list li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.bullet-list i {
    color: #28a745;
    margin-right: 10px;
}

/* Map Styling */
.map {
    background-color: #e8e8e8;
}

.map iframe,
.map img {
    width: 100%;
    height: 100%;
    border: none;
    object-fit: cover;
}

/* Responsive Adjustments for Mobile */
@media (max-width: 768px) {
    .two-square-section {
        flex-direction: column; /* Stack squares vertically on small screens */
    }

    .square {
        height: 200px; /* Adjust height for mobile screens */
    }

    .bullet-list ul {
        font-size: 1.5em; /* Slightly smaller font for readability on mobile */
    }
}
/* Styling for the general quote text */
.general-quote-text {
    margin-top: 25px;
    color: #ffffff;
    text-align: center;
}
/* Styling for Centered List in Hero Section */
.hero-list {
    text-align: center; /* Center the list within the container */
    margin-top: 20px;
}

.hero-list ul {
    list-style: none; /* Remove default bullets */
    padding: 0;
    margin: 0;
    display: inline-block; /* Make the list itself an inline-block element to center it */
    text-align: left; /* Align list items to the left within the centered list */
}

.hero-list li {
    font-weight: bold;
    font-style: italic;
    font-size: 1.2em;
    color: #ffffff;
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.hero-list i {
    color: #28a745; /* Green color for checkmarks */
    margin-right: 10px; /* Space between icon and text */
    font-size: 1.2em;
}

/* Unsubscribe Container Styling */
.unsubscribe-container {
    max-width: 600px; /* Slightly narrower width for unsubscribe content */
    padding: 20px;
    background-color: #142F52; /* Match the container background color */
    border-radius: 12px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
    color: #ffffff; /* White text for readability */
    text-align: center;
}

/* Unsubscribe Heading */
.unsubscribe-container h1 {
    font-size: 1.8em;
    margin-bottom: 10px;
    color: #ffffff;
    font-family: 'Raleway', sans-serif;
    font-weight: bold;
}

/* Unsubscribe Paragraph */
.unsubscribe-container p {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #e8e8e8; /* Light gray for readability */
}

/* Form Elements for Unsubscribe */
.unsubscribe-container form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.unsubscribe-container input[type="email"] {
    padding: 12px;
    width: 80%;
    max-width: 400px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1em;
    margin-bottom: 15px;
    background-color: #ffffff;
    color: #333;
}

/* Unsubscribe Button Styling */
.unsubscribe-container .cta-button {
    display: inline-block;
    padding: 12px 24px;
    background-color: #e81d2d;
    color: #ffffff;
    font-family: 'Raleway', sans-serif;
    font-weight: 800;
    font-size: 1.2em;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.unsubscribe-container .cta-button:hover {
    background-color: #c71a27;
    transform: scale(1.05);
}
/* Style for the email input box in unsubscribe page */
.unsubscribe-container input[type="email"] {
    width: 80%; /* Control width of input field */
    max-width: 400px;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1em;
    margin-bottom: 15px; /* Space between input fields */
    background-color: #ffffff;
    color: #333;
}

/* General Fieldset Styling */
fieldset {
    text-align: left;
    margin-bottom: 20px;
    padding: 0; /* Remove extra padding inside fieldsets */
    border: none; /* Remove the border */
    width: 80%; /* Match the input field and button width */
    max-width: 400px; /* Same as input fields and button */
    margin-left: auto; /* Center align fieldsets */
    margin-right: auto;
}

/* Additional Details Fieldset Styling */
.additional-details {
    text-align: left;
    margin-bottom: 20px;
    padding: 0; /* Remove extra padding inside fieldsets */
    border: none; /* Remove the border */
    width: 80%; /* Match the input field and button width */
    max-width: 400px; /* Same as input fields and button */
    margin-left: auto; /* Center align fieldset */
    margin-right: auto;
}

/* Align radio buttons and labels */
.additional-details label {
    font-size: 1em;
    color: #e8e8e8;
    display: block; /* Stack labels vertically */
    margin-bottom: 5px; /* Space between items */
}

.additional-details input[type="radio"] {
    margin-right: 10px; /* Space between radio button and text */
}



/* Styling for legend */
legend {
    font-size: 1.2em;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 10px;
    text-align: left; /* Align legend text to the left */
    padding: 0; /* Remove padding around the legend */
}


/* Sub-services Styling */
.sub-services {
    margin-left: 40px;
    display: none; /* Start hidden */
}

.sub-services label {
    display: block; /* Ensure each sub-service appears on a new line */
    margin-bottom: 5px; /* Add spacing between sub-services */
}

/* Main Checkbox Styling */
input[type="checkbox"] {
    margin-right: 10px; /* Add spacing between checkbox and label */
}

/* Main Checkbox with Toggle */
label {
    display: flex;
    align-items: center;
}

label + .toggle-btn {
    margin-left: auto;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1.2em;
    cursor: pointer;
}


/* Radio button styling */
input[type="radio"] {
    margin-right: 10px;
}

/* Additional spacing for radio options */
fieldset.radio-options {
    padding-left: 10px;
}
/* Toggle Button Styling */
.toggle-btn {
    background: none;
    border: none;
    color: #ffffff;
    cursor: pointer;
    font-size: 1.2em;
    margin-left: 10px;
    transition: color 0.3s ease;
}

.toggle-btn:hover {
    color: #e81d2d; /* Highlight color for better feedback */
}

/* Align toggle button to the right of the label */
.service-category {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}