﻿/* General Flexbox Styling */


#membership-count {
    padding: 50px 20px;
    background: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    text-align: center;
}

.titles {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 40px;
    color: #333;
}

.plans-wrapper {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.plan-card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    flex: 1;
    min-width: 300px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

    .plan-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    }

.lifetime-plan {
    background-color: #620601;
    color: #fff;
}

.plan-card-title {
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: bold;
}

.plan-price {
    font-size: 32px;
    color: #28a745;
    font-weight: bold;
    margin: 20px 0;
}

.plan-description {
    font-size: 16px;
    color: white;
    margin-bottom: 20px;
}

    .plan-description span {
        font-weight: bold;
        color: #e74c3c;
    }

.subscribe-btn {
    background-color: #28a745;
    color: #fff;
    padding: 12px 25px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

    .subscribe-btn:hover {
        background-color: #218838;
    }

.rows {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.membership-card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    flex: 1;
    min-width: 250px;
}

    .membership-card h3 {
        font-size: 20px;
        font-weight: bold;
        color: #333;
    }

.membership-count {
    font-size: 36px;
    color: #007bff;
    font-weight: bold;
}

/* Responsive Design */
@media (max-width: 768px) {
    .plans-wrapper {
        flex-direction: column;
        gap: 20px;
    }

    .plan-card {
        min-width: 100%;
    }

    .titles {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .titles {
        font-size: 1.75rem;
    }

    .plan-card-title {
        font-size: 20px;
    }

    .plan-price {
        font-size: 28px;
    }

    .subscribe-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}

.about-flex {
    display: flex;
    align-items: center; /* Center items vertically */
    justify-content: space-between; /* Space between text and image */
    margin-bottom: 2rem; /* Add space between sections */
}

.vision-flex, .mission-flex {
    display: flex;
    align-items: center; /* Center items vertically */
    justify-content: space-between; /* Space between text and image */
    margin-bottom: 0rem; /*Add space between sections */
}

.about-text, .vision-text, .mission-text {
    flex: 1; /* Allow text to take available space */
    padding: 1rem; /* Add padding for better spacing */
}

.about-image {
    flex: 1; /* Allow images to take available space */
    object-fit: cover; /* Ensure the image covers the container without distortion */
    width: 100%; /* Make images take full width of their flex container */
    height: auto; /* Maintain aspect ratio */
    max-height: 450px; /* Limit height to ensure images are not excessively tall */
}

.vision-image, .mission-image {
    flex: 1; /* Allow images to take available space */
    object-fit: cover; /* Ensure the image covers the container without distortion */
    width: 100%; /* Make images take full width of their flex container */
    height: auto; /* Maintain aspect ratio */
    max-height: 400px; /* Limit height to ensure images are not excessively tall */
}

/* Media Queries for Responsive Design */
@media (max-width: 768px) {
    .about-flex, .vision-flex, .mission-flex {
        flex-direction: column; /* Stack items vertically on small screens */
        text-align: center; /* Center text for mobile */
    }

    .about-text, .vision-text, .mission-text {
        padding: 0; /* Remove padding for mobile */
    }

    .about-image, .vision-image, .mission-image {
        margin: 1rem 0; /* Add margin between image and text */
        max-height: 300px; /* Adjust max height for smaller screens */
    }
}


/* Optional: Adjust map height for smaller screens */
@media (max-width: 768px) {
    #map-form-container {
        height: 300px; /* Smaller height for mobile devices */
    }
}


.contact-form {
    position: absolute; /* Allows the form to overlay on the map */
    top: 20px; /* Adjust vertical position */
    right: 80px; /* Adjust horizontal position */
    background: rgba(255, 255, 255, 0.9); /* White background with slight transparency */
    padding: 20px; /* Space around form elements */
    border-radius: 8px; /* Rounded corners */
    width: calc(100% - 40px); /* Full width minus padding */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2); /* Optional shadow for depth */
    z-index: 10; /* Ensure form appears above the map */
}

    .contact-form label {
        display: block; /* Ensures labels are on separate lines */
        margin-top: 10px; /* Spacing above labels */
    }

    .contact-form input,
    .contact-form textarea {
        width: 100%; /* Full width inputs */
        padding: 10px; /* Padding inside inputs */
        margin-top: 5px; /* Spacing above inputs */
        border: 1px solid #ccc; /* Border style */
        border-radius: 4px; /* Rounded corners */
    }

    .contact-form button {
        background-color: #002a5b; /* Button color */
        color: white; /* Text color */
        border: none; /* No border */
        padding: 10px 15px; /* Button padding */
        cursor: pointer; /* Pointer on hover */
        margin-top: 10px; /* Space above button */
        border-radius: 4px; /* Rounded corners */
    }


/* Main Styling */
.map-form-container {
    position: relative;
}

.responsive-map iframe {
    width: 100%;
    height: 400px;
}

.contact-form {
    position: absolute;
    top: 50px;
    right: 90px;
    background: white;
    padding: 30px;
    border-radius: 12px;
    width: calc(35% - 40px);
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

    .contact-form h3 {
        color: #0B0B45;
        font-weight: 600;
        margin-bottom: 20px;
    }

    .contact-form label {
        display: block;
        color: #444;
        font-size: 14px;
        margin-bottom: 5px;
    }

    .contact-form input,
    .contact-form textarea {
        width: 100%;
        padding: 10px;
        margin-bottom: 15px;
        border: 1px solid #ccc;
        border-radius: 4px;
    }

    .contact-form button {
        width: 100%;
        padding: 12px;
        background-color: #0B0B45;
        color: white;
        border: none;
        border-radius: 20px;
        font-size: 16px;
        cursor: pointer;
    }

/* Responsive Adjustments */
@media (max-width: 768px) {
    .contact-form {
        position: relative;
        width: 100%;
        max-width: 90%;
        margin: 20px auto;
        top: auto;
        right: auto;
    }

    .responsive-map iframe {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .contact-form {
        padding: 20px;
    }

    .responsive-map iframe {
        height: 250px;
    }

    .contact-form h3 {
        font-size: 18px;
    }

    .contact-form input,
    .contact-form textarea {
        padding: 8px;
    }

    .contact-form button {
        padding: 10px;
        font-size: 14px;
    }
}
