/* --- Global Styles --- */
body {
    font-family: 'Libre Baskerville', serif;
    background-color: #ffffff;
    color: #333;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

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

/* --- Header --- */
.header {
    align-items: center;
}

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

a[x-apple-data-detectors] {
    color: inherit !important; /* Inherit the text color from the parent element */
    text-decoration: none !important; /* Remove the underline */
}

.logo-link,
.logo-link:hover {
  text-decoration: none;
}

.logo-text-wrapper {
    display: flex;
    align-items: center;
    gap: 0px;
}

.logo-text-wrapper img {
    height: 50px; /* Adjust the logo size as needed */
}

/* Style for the company name text */
.logo-text-wrapper span {
    font-size: 1.0rem; /* Adjust font size as needed */
    color: #333;
}

/* Hide the phone icon on larger screens */
.phone-number a .fa-solid.fa-phone {
    display: none;
}

/* Style the container for the phone text and link */
.phone-number {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* New CSS for phone number */
.phone-number a {
    color: #376B46;
    text-decoration: none;
    font-size: 1.0rem;
    font-weight: bold; /* Use a bold font to make the number stand out */
    white-space: nowrap; /* Prevent the phone number from wrapping on small screens */
}

/* Style for the "Give us a call:" text */
.phone-number .phone-text {
    color: #333;
    font-size: 1.0rem; /* Slightly smaller font size than the number */
    font-weight: normal; /* Regular weight for a subtle look */
}


/* --- Hero Section --- */
.hero {
    padding: 60px 0;
    text-align: center;
}

.hero .container {
    display: flex;
    flex-wrap: wrap; /* Allows wrapping on smaller screens */
    justify-content: center;
    align-items: center;
    gap: 40px;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-weight: normal; /* Ensures non-bold appearance */
}

.hero .subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 30px;
}

.cta-button {
    display: inline-block;
    padding: 15px 30px;
    background-color: #376B46;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 700;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #244b2f;
}

.hero-image-right {
    flex: 0 0 35%; /* Adjusts the size of the image container */
    text-align: right; /* Aligns the image to the right within its flex item */
}

.hero-image-right img {
    max-width: 100%; /* Ensures the image doesn't exceed its container */
    height: auto;
    width: auto; /* Set a specific width for the small image */
    border-radius: 8px; /* Optional: adds rounded corners */
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.hero-content {
    flex: 1 1 45%;
}

/* --- Value Propositions Section --- */
.value-props {
    /* background-color: #f9f9f9; */
    background-color: #fff;
    border-top: 1px solid #eee;
}
  
.container {
    max-width: 1100px;
    margin: 0 auto;
}
  
/* Grid layout for the items */
.value-props__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

/* Styling for each value proposition item */
.value-prop-item {
    padding: 40px;
    text-align: center;
}
  
/* Icon styling */
.value-prop-item__icon {
    margin-bottom: 20px;
}
  
.value-prop-item__icon i {
    font-size: 48px;
    color: #333;
}
  
/* Text styling */
.value-prop-item__heading {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

sup {
    vertical-align: super;
    font-size: 0.7rem;
    line-height: normal;
}
  
.value-prop-item__description {
    font-size: 16px;
    color: #666;
}

/* --- FAQ Section --- */
.faq-section {
    background-color: #ffffff;
    padding: 60px 0;
    border-top: 1px solid #eee;
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 40px;
    font-weight: normal;
}

.faq-item {
    border-bottom: 1px solid #ddd;
    margin-bottom: 10px;
}

.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 15px;
    font-size: 1.1rem;
    font-family: 'Libre Baskerville', serif;
    cursor: pointer;
    font-weight: normal;
    display: flex;
    justify-content: space-between;
    align-items: center;
    -webkit-tap-highlight-color: transparent;
    /* Remove the browser's default focus outline */
    outline: none;
    /* Reset active state styles that might add a color */
    background-color: transparent;
    box-shadow: none;
    color: inherit; /* Use this to prevent the blue color */
}

.faq-question:active {
    color: #333; /* Use your text color to override the iOS blue */
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
}

.faq-question.active::after {
    content: '-';
}

.faq-answer {
    padding: 0 15px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-answer p {
    padding-bottom: 15px;
}
  


/* --- Mobile Responsiveness --- */
@media (max-width: 768px) {
    /* Hide the "Give us a call:" text on mobile screens */
    .phone-number .phone-text {
        display: none;
    }

    /* Show the phone icon on mobile screens */
    .phone-number a .fa-solid.fa-phone {
        display: inline;
        margin-right: 5px;
        color: #333;
    }

    .hero .container {
        flex-direction: column;
        text-align: center;
    }
}