/* --- Google Fonts & Basic Setup --- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

:root {
    --primary-color: #0e1a80; /* A professional and calming blue */
    --secondary-color: #b70e8d; /* A healthy green */
    --dark-color: #343a40;
    --background-color: #f8f9fa;
    --text-color: #555;
    --light-gray: #eee;
    --white: #ffffff;
    --box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
}

body {
    background: var(--white);
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: auto;
    padding: 0 2rem;
}

section {
    padding: 6rem 0;
}

h1, h2, h3, h4 {
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
}

.btn {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: #0e1a80;
    transform: translateY(-2px);
}

/* --- Header & Navigation --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--white);
    box-shadow: var(--box-shadow);
    z-index: 1000;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark-color);
    text-decoration: none;
}

.logo span {
    color: var(--primary-color);
}

.navbar a {
    margin-left: 2rem;
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar a:hover {
    color: var(--primary-color);
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark-color);
}

/* --- Hero Section --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('../img/hero.jpg') no-repeat center center/cover;
    color: var(--white);
}

.hero-content h1 {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2rem;
}

/* --- About Us Section --- */
.about {
    background: var(--background-color);
}
.about-content {
    display: flex;
    align-items: center;
    gap: 3rem;
}
.about-image {
    flex: 1;
}
.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}
.about-text {
    flex: 1;
}

/* --- Services Section --- */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
}

.service-item {
    background: var(--white);
    padding: 2rem;
    text-align: center;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.service-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* --- Why Choose Us Section --- */
.why-choose-us {
     background: var(--background-color);
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.feature-card {
    text-align: center;
    padding: 2rem;
}
.feature-card i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

/* --- Health Care Plan Section --- */
.health-plan {
    background: var(--dark-color);
    color: var(--white);
    text-align: center;
}
.health-plan h2 {
    color: var(--white);
}
.health-plan p {
    max-width: 800px;
    margin: 0 auto 2rem;
}
.health-plan .btn {
    background: var(--secondary-color);
}
.health-plan .btn:hover {
    background: #218838;
}

/* --- Contact & Quote Form --- */
.contact-section {
    background: var(--background-color);
}
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    background: var(--white);
    padding: 3rem;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}
.contact-info p {
    margin-bottom: 1rem;
}
.contact-info i {
    color: var(--primary-color);
    margin-right: 10px;
}
.quote-form form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.quote-form input, .quote-form select, .quote-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}
.confirmation-message {
    display: none;
    margin-top: 1rem;
    padding: 1rem;
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    border-radius: 5px;
}

/* --- Testimonials --- */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.testimonial-card {
    background: var(--background-color);
    padding: 2rem;
    border-radius: 10px;
    border-left: 5px solid var(--primary-color);
}
.testimonial-card h4 {
    margin-top: 1rem;
    color: var(--dark-color);
}

/* --- Footer --- */
.footer {
    background: var(--dark-color);
    color: #aab2b8;
    padding-top: 4rem;
}
.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    padding-bottom: 2rem;
}
.footer-about h3 {
    color: var(--white);
    font-size: 1.8rem;
}
.footer-about span {
    color: var(--primary-color);
}
.footer-links h3 {
    color: var(--white);
}
.footer-links ul {
    list-style: none;
}
.footer-links a {
    color: #aab2b8;
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-block;
    margin-bottom: 0.5rem;
}
.footer-links a:hover {
    color: var(--primary-color);
}
.social-links a {
    color: var(--white);
    margin-right: 1rem;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}
.social-links a:hover {
    color: var(--primary-color);
}
.footer-bottom {
    text-align: center;
    padding: 1.5rem 0;
    border-top: 1px solid #444;
}
.btn-newsletter {
    background: var(--primary-color);
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: 5px;
}
.btn-newsletter:hover {
    background: #0e1a80;
}

/* --- Modals --- */
.modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.6);
}
.modal-content {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 2rem;
    border: 1px solid #888;
    width: 80%;
    max-width: 700px;
    border-radius: 10px;
    position: relative;
    animation: fadeIn 0.5s;
}
@keyframes fadeIn {
    from {opacity: 0; transform: translateY(-20px);}
    to {opacity: 1; transform: translateY(0);}
}
.close-btn {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}
.close-btn:hover, .close-btn:focus {
    color: black;
}
.modal-content form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.modal-content input, .modal-content button {
    padding: 12px;
    border-radius: 5px;
    border: 1px solid #ccc;
}
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
}

/* --- Responsive Design --- */
@media (max-width: 992px) {
    .about-content, .contact-container {
        flex-direction: column;
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    h1, .hero-content h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    
    .hamburger {
        display: block;
    }
    .navbar {
        position: absolute;
        top: 100%;
        left: -100%;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem 5%;
        transition: left 0.3s ease;
        box-shadow: var(--box-shadow);
    }
    .navbar.active {
        left: 0;
    }
    .navbar a {
        margin: 1rem 0;
        display: block;
    }
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    .social-links {
        margin-top: 1rem;
    }
}