/* styles.css */
/* styles.css */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&family=Open+Sans:wght@400;700&display=swap');

/* General styles */
body, html {
    margin: 0;
    padding: 0;
    font-family: 'Open Sans', sans-serif;
    line-height: 1.8;
    color: #333;
    max-width: 100%;
    overflow-x: hidden;
    font-size: 18px; /* Increased base font size */
}

/* Container for content */
.container {
    max-width: 1200px; /* Increased from 1200px */
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

/* Header styles */
header {
    background-color: rgba(255, 255, 255, 0.8); /* Glass effect */
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

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

.logo {
    max-width: 200px;
    transition: all 0.3s ease;
}

/* Navigation styles */
nav ul {
    list-style-type: none;
    padding: 0;
    display: flex;
}

nav ul li {
    margin-right: 30px; /* Increased spacing between menu items */
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    font-size: 1.2em; /* Increased menu text size */
    transition: all 0.3s ease;
}

nav ul li a:hover {
    color: #4a66c9;
    transform: scale(1.05);
}

/* Call button styles */
.call-button {
    background-color: #b02f28; /* Changed to red */
    color: white;
    padding: 12px 24px; /* Increased padding */
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    white-space: nowrap;
    font-size: 1.1em; /* Increased font size */
    transition: all 0.3s ease;
}

.call-button:hover {
    background-color: #ff725c;
    transform: scale(1.05);
}

/* Hero section styles */
.hero {
    background-image: linear-gradient(rgba(255, 84, 51, 0.8), rgba(86, 137, 255, 0.8)),
        url('../images/banner2.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: left;
    padding: 150px 0;
    margin-top: 80px;
}


.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding-left: 20px; /* Add left padding to move content to the left */
}

@media (min-width: 768px) {
    .hero-content {
        margin-left: 0; /* Align to the left on larger screens */
        padding-left: 50px; /* Increase left padding on larger screens */
    }
}

.hero h1 {
    font-size: 3em;
    margin-bottom: 20px;
    font-family: 'Roboto', sans-serif;
    color: #fff;
}

.hero p {
    font-size: 1.3em;
    margin-bottom: 15px;
    color: #fff;
    max-width: 700px; /* Limit the width of paragraphs for better readability */
}

/* CTA button styles */
.cta-button {
    display: inline-block;
    background-color: #ffffff; /* Changed to blue */
    color: #4a66c9;
    padding: 12px 24px; /* Increased padding */
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    margin-top: 20px;
    font-size: 1.1em; /* Increased font size */
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: #ffffff;
    transform: scale(1.05);
}

/* Section styles */
section {
    padding: 80px 0; /* Increased padding */
    margin: 60px 0; /* Increased margin */
}

h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.5em; /* Increased heading size */
    font-family: 'Roboto', sans-serif;
}

/* Services section styles */
.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Increased minimum width */
    gap: 30px; /* Increased gap */
    margin-bottom: 40px; /* Increased margin */
}

.service-item {
    background-color: #f1f1f1;
    border-radius: 10px;
    padding: 30px; /* Increased padding */
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.service-item:hover,
.service-item.active {
    background-color: #a62f29;
    color: white;
    transform: translateY(-5px);

}

.service-icon {
    font-size: 48px; /* Adjust size as needed */
    color: #000; /* Black color for the icon */
    transition: all 0.3s ease;
}

.service-item:hover .service-icon,
.service-item.active .service-icon {
    color: #fff; /* White color when hovered or active */
}

/* New styles to ensure all text in active tab is white */
.service-item:hover h3,
.service-item.active h3,
.service-item.active p {
    color: white;
}

.tab-content {
    background-color: #e6e9f2;
    border-radius: 10px;
    padding: 40px; /* Increased padding */
    margin-top: 40px; /* Increased margin */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Ohio bonus section styles */
#ohio-bonus {
    background-color: #fff0ed;
    width: 100%;
    position: relative;
    background-attachment: fixed;
    background-size: cover;
}

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

.bonus-text {
    flex: 1;
    padding-right: 40px; /* Increased padding */
}

.bonus-image {
    flex: 1;
    text-align: right;
}

.bonus-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Team section styles */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px; /* Further reduced gap */
}

.team-member {
    background-color: #f1f1f1;
    border-radius: 10px;
    padding: 20px; /* Reduced padding */
    text-align: center;
    transition: all 0.3s ease;
}

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

.team-member img {
    width: 150px; /* Slightly reduced image size */
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px; /* Reduced margin */
}

.team-member h3 {
    font-size: 1.2em; /* Reduced font size */
    margin: 0 0 5px 0; /* Reduced margin */
}

.team-member p {
    font-size: 0.9em; /* Reduced font size */
    margin: 0 0 5px 0; /* Reduced margin */
    line-height: 1.4; /* Reduced line height */
}

/* Add this to create separation between name, branch, and position */
.team-member p:nth-of-type(1) {
    margin-bottom: 10px;
}

@media (min-width: 1400px) {
    .team-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

/* Location section styles */
.location-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px; /* Increased gap */
}

.location-info,
#map {
    flex: 1;
    min-width: 300px;
}

#map {
    height: 450px; /* Increased map height */
}

/* Footer styles */
footer {
    background-color: #f1f1f1; /* Light gray background to match service items */
    color: #333; /* Dark text color for better readability */
    padding: 60px 0; /* Keep the increased padding */
    border-top: 2px solid #4a66c9; /* Add a border top to separate from content */
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.footer-content > div {
    flex: 1;
    margin: 20px; /* Keep the increased margin */
    min-width: 250px; /* Keep the increased minimum width */
}

.footer-content h3 {
    color: #4a66c9; /* Match the color scheme of the site */
    font-size: 1.4em;
    margin-bottom: 15px;
}

.quick-links ul {
    list-style-type: none;
    padding: 0;
}

.quick-links ul li {
    margin-bottom: 10px;
}

.quick-links ul li a {
    color: #333; /* Dark text color for better readability */
    text-decoration: none;
    font-size: 1.1em; /* Keep the increased font size */
    transition: color 0.3s ease;
}

.quick-links ul li a:hover {
    color: #4a66c9; /* Match the hover color of the main navigation */
}

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

.copyright {
    text-align: center;
    margin-top: 30px; /* Keep the increased margin */
    padding-top: 30px; /* Keep the increased padding */
    border-top: 1px solid #ddd; /* Lighter border color */
    color: #666; /* Slightly lighter text for the copyright */
}
/* Responsive styles */
@media (max-width: 768px) {
    body, html {
        font-size: 16px; /* Slightly reduced font size for mobile */
    }

    .services-container {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .team-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }

    .bonus-content {
        flex-direction: column;
    }

    .bonus-text,
    .bonus-image {
        width: 100%;
        padding-right: 0;
        text-align: center;
    }

    .call-button .call-text {
        display: none;
    }
}

@media (max-width: 480px) {
    .services-container {
        grid-template-columns: 1fr;
    }

    .call-button {
        padding: 10px 15px; /* Reduced padding for mobile */
        font-size: 1em; /* Reduced font size for mobile */
    }
}

/* Animation styles */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes slideIn {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.slide-in {
    animation: slideIn 0.5s ease-in-out;
}

/* Mission statement section styles */
#mission-statement {
    background-color: #edf0ff;
    color: #333;
    padding: 80px 0; /* Increased padding */
}

.mission-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px; /* Increased padding */
}

.mission-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.mission-text {
    flex: 1;
    padding-left: 40px; /* Increased padding */
    font-family: 'Open Sans', sans-serif;
    line-height: 1.8;
}

.mission-text h2 {
    font-size: 2.5em; /* Increased mission statement heading size */
    color: #4a66c9;
    font-family: 'Roboto', sans-serif;
}

.mission-text p {
    font-size: 1.2em; /* Increased mission statement text size */
    margin-bottom: 20px; /* Increased margin */
}

.mission-text a.cta-button {
    display: inline-block;
    background-color: white;
    color: 4a66c9;
    padding: 12px 24px; /* Increased padding */
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    margin-top: 30px; /* Increased margin */
    font-size: 1.1em; /* Increased font size */
    transition: all 0.3s ease;
}

.mission-text a.cta-button:hover {
    background-color: white;
    transform: scale(1.05);
}

/* Parallax effect styles */
#ohio-bonus, #mission-statement {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.bonus-content, .mission-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.bonus-text, .mission-text {
    flex: 1;
    z-index: 2;
    padding-right: 40px; /* Increased padding */
}

.bonus-image, .mission-image {
    position: relative;
    width: 40%;
    display: flex;
    justify-content: flex-end;
}

.back-image {
    width: 100%;
    position: relative;
    z-index: 1;
    border-radius: 10px; /* Increased border radius */
}

.front-image {
    width: 60%;
    position: absolute;
    top: -50px; /* Adjusted position */
    right: -40px; /* Adjusted position */
    z-index: 0;
    border-radius: 10px; /* Increased border radius */
}

/* Mirroring effect for mission statement section */
.mission-image {
    display: flex;
    justify-content: flex-start;
}

.mission-image .back-image {
    order: 2;
}

.mission-image .front-image {
    order: 1;
    right: auto;
    left: -40px; /* Adjusted position */
    top: -50px; /* Adjusted position */
}

/* Responsive adjustments for parallax sections */
@media (max-width: 768px) {
    .bonus-content, .mission-content {
        flex-direction: column-reverse;
        align-items: center;
    }

    .bonus-image, .mission-image {
        width: 100%;
    }

    .front-image {
        top: 20px; /* Adjusted position for mobile */
        right: 20px; /* Adjusted position for mobile */
    }
}

/* Improved Map Section Styles */
.location-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px; /* Increased gap */
    margin-bottom: 60px; /* Increased margin */
}

.location-info {
    flex: 1;
    min-width: 300px;
    background-color: #f8f8f8;
    padding: 30px; /* Increased padding */
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.location-info h3 {
    color: #4a66c9;
    margin-bottom: 20px; /* Increased margin */
    font-size: 1.8em; /* Increased font size */
}

.location-info p, .location-info li {
    margin-bottom: 15px; /* Increased margin */
}

#map {
    flex: 1;
    min-width: 300px;
    height: 450px; /* Increased height */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* New Meeting Information Section Styles */
#meetings {
    background-color: #edf0ff;
    padding: 80px 0; /* Increased padding */
    margin-top: 60px; /* Increased margin */
}

.meetings-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px; /* Increased gap */
}

.meetings-info {
    flex: 1;
}

.meetings-info h2 {
    color: #4a66c9;
    margin-bottom: 30px; /* Increased margin */
    font-size: 2.2em; /* Increased font size */
}

.meetings-info p {
    margin-bottom: 20px; /* Increased margin */
    font-size: 1.1em; /* Increased font size */
}

.meetings-image {
    flex: 1;
    text-align: center;
}

.meetings-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.meetings-image img:hover {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .meetings-content {
        flex-direction: column-reverse;
    }

    .meetings-image {
        margin-bottom: 30px; /* Increased margin */
    }
}

/* Accessibility styles */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #000;
    color: white;
    padding: 10px; /* Increased padding */
    z-index: 100;
    font-size: 1.1em; /* Increased font size */
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 0;
}

/* Micro-animations */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.cta-button:hover, .call-button:hover {
    animation: pulse 1s infinite;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-item, .team-member {
    animation: fadeInUp 0.5s ease-out;
}

/* Improved typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto', sans-serif;
    line-height: 1.2;
    color: #333;
}

p, li {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.8;
    color: #444;
}

/* Additional improvements */
.service-item h3, .team-member h3 {
    font-size: 1.4em; /* Increased font size */
    margin-top: 15px; /* Added margin */
}

.team-member p {
    font-size: 1.1em; /* Increased font size */
}

/* Focus styles for accessibility */
a:focus, button:focus {
    outline: 3px solid #4a66c9;
    outline-offset: 3px;
}

/* High contrast mode */
@media (prefers-contrast: high) {
    body {
        background-color: #fff;
        color: #000;
    }

    a, button {
        color: #00f;
    }

    .cta-button, .call-button {
        background-color: #00f;
        color: #fff;
    }
}

/* Dark mode */
@media (prefers-color-scheme: dark) {
    body {
        background-color: #121212;
        color: #fff;
    }

    header {
        background-color: rgba(18, 18, 18, 0.8);
    }

    .service-item, .team-member, .location-info {
        background-color: #1e1e1e;
    }

    .cta-button, .call-button {
        background-color: #4a66c9;
    }
}

/* Print styles */
@media print {
    header, nav, footer, .cta-button {
        display: none;
    }

    body {
        font-size: 12pt;
        line-height: 1.5;
        color: #000;
        background: #fff;
    }

    h1, h2, h3 {
        page-break-after: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 2cm;
    }
}

/* New Free Services Section */
#free-services {
    background-image: linear-gradient(rgba(255, 84, 51, 0.8), rgba(86, 137, 255, 0.8)),
        url('../images/3d274816-8328-43ea-af68-aec34a972e37.webp'); /* Replace with your actual image path */
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 100px 0;
    margin-top: 60px;
}

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

#free-services h2 {
    font-size: 2.5em;
    margin-bottom: 30px;
    color: #fff;
}

#free-services .cta-button {
    background-color: #ffffff;
    color: #4a66c9;
    font-size: 1.2em;
    padding: 15px 30px;
}

#free-services .cta-button:hover {
    background-color: #f0f0f0;
    transform: scale(1.05);
}