/* Basic CSS for a modern look (all your main page styles) */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    line-height: 1.6;
}
.header1 {
    background-color: #218838; /* Green, professional */
    color: white;
    padding: 20px 0;
    text-align: center;
    width: 100%;
}
.header1 h1 {
    margin: 0;
    font-size: 2.5em;
}
.header1 p {
    font-size: 1.2em;
    margin-top: 10px;
}
.header1 container {
        max-width: 100%;
    margin: 20px auto;
    padding: 0 20px;
}
.container {
        max-width: 100%;
    margin: 20px auto;
    padding: 0 20px;
}
.hero-section {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    padding: 40px 0;
    background-color: #f8f9fa; /* Light grey background */
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    text-align: center;
}
.hero-text {
    flex: 1;
    min-width: 300px;
    padding: 0 20px;
}
.hero-text h2 {
    font-size: 2.2em;
    color: #218838; /* Changed to green for consistency */
    margin-bottom: 15px;
}
.hero-text p {
    font-size: 1.1em;
    margin-bottom: 20px;
}
.hero-image {
    flex: 1;
    min-width: 300px;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}
.btn {
    display: inline-block;
    background-color: #000; /* Black for call to action */
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.1em;
    transition: background-color 0.3s ease;
}
.btn:hover {
    background-color: #007bff; /* Blue on hover */
}
.section {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    margin-bottom: 30px;
}
.section h2 {
    color: #218838; /* Green */
    margin-bottom: 20px;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}
ul {
    list-style: disc;
    margin-left: 20px;
    padding: 0;
}
ul li {
    margin-bottom: 10px;
}
.key-points {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-around;
}
.point-card {
    flex: 1;
    min-width: 280px;
    background-color: #e9ecef; /* Light grey */
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.point-card h3 {
    color: #218838; /* Changed to green for consistency */
    margin-bottom: 10px;
}
.cta-section {
    text-align: center;
    background-color: #218838; /* Green, prominent */
    color: white;
    padding: 40px;
    border-radius: 8px;
    margin-top: 30px;
}
.cta-section h2 {
    color: white;
    font-size: 2em;
    margin-bottom: 20px;
}
.footer-info {
    text-align: center;
    padding: 20px 0;
    font-size: 0.9em;
}
.footer-info a {
    color: #218838; /* Green link */
    text-decoration: none;
}
.footer-info a:hover {
    text-decoration: underline;
}
.footer {
    text-align: center;
    padding: 20px;
    margin-top: 30px;
    background-color: #333;
    color: white;
    font-size: 0.9em;
}
/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section {
        flex-direction: column;
        text-align: center;
    }
    .hero-image, .hero-text {
        padding: 0 15px;
    }
    .header1 h1 {
        font-size: 2em;
    }
    .header1 p {
        font-size: 1em;
    }
    .section h2 {
        font-size: 1.8em;
    }
}

/* Popup Styles - MUST be included in style.css */
.popup-overlay {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1000; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0,0,0,0.7); /* Black w/ opacity for overlay */
    justify-content: center; /* Center content horizontally */
    align-items: center; /* Center content vertically */
    padding: 20px; /* Padding for small screens */
    box-sizing: border-box; /* Include padding in element's total width and height */
}

.popup-content {
    background-color: #fefefe;
    margin: auto; /* Centered */
    padding: 30px;
    border-radius: 8px;
    width: 90%; /* Adjust width for responsiveness */
    max-width: 600px; /* Maximum width for larger screens */
    position: relative; /* Needed for close button positioning */
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    animation: fadeIn 0.3s ease-out; /* Simple fade-in animation */
}

.popup-content h3 {
    color: #218838; /* Match your brand green */
    margin-top: 0;
    margin-bottom: 20px;
    text-align: center;
}

.close-button {
    color: #aaa;
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-button:hover,
.close-button:focus {
    color: #333;
    text-decoration: none;
    cursor: pointer;
}

/* Animation for popup */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Ensure Contact Form 7 elements are styled well within the popup */
.wpcf7 {
    /* Add any specific styles for your CF7 form if needed */
    /* Example: max-width: 100%; to ensure it fits the popup width */
}

/* Media query for smaller screens */
@media (max-width: 768px) {
    .popup-content {
        padding: 20px;
        width: 95%; /* Adjust width for very small screens */
    }
    .close-button {
        top: 5px;
        right: 15px;
        font-size: 24px;
    }
}