/* =========================================
           VARIABLES & THEME SETUP
           ========================================= */



:root {

    --primary: #008080;      
    --primary-dark: #005f5f;
    --secondary: #20c997;    
    --accent: #ffe6e1;      
    --bg-light: #f0fdfa;     
    --white: #ffffff;
    --text-dark: #1b263b;
    --text-light: #4a5568;
    --border-radius: 12px;
    --shadow-soft: 0 10px 25px rgba(0, 128, 128, 0.15);
    --shadow-card: 0 5px 15px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    color: var(--text-dark);
    font-weight: 600;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* =========================================
           UTILITY CLASSES (ANIMATION)
           ========================================= */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 90px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: var(--primary-dark);
}

.section-header p {
    font-size: 1.05rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.heart-divider {
    color: var(--primary);
    font-size: 1.5rem;
    margin: 10px 0;
    animation: heartbeat 1.5s infinite;
}

@keyframes heartbeat {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

/* Scroll Animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 32px;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 30px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 10px rgba(224, 108, 136, 0.3);
}

.btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(224, 108, 136, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    box-shadow: none;
    margin-left: 10px;
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

/* =========================================
           HEADER
           ========================================= */
header {
    background: var(--white);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links {
    display: flex;
    gap: 25px;
}

.nav-links a {
    font-size: 15px;
    font-weight: 500;
    position: relative;
}

.nav-links a:hover {
    color: var(--primary);
}

/* =========================================
           HERO SECTION
           ========================================= */
.hero {
    background-color: var(--bg-light);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 80px 0;
}

/* Organic Blob Background */
.blob {
    position: absolute;
    right: -100px;
    top: -100px;
    width: 600px;
    height: 600px;
    background: var(--accent);
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    z-index: 0;
    opacity: 0.6;
    animation: morph 8s ease-in-out infinite;
}

@keyframes morph {

    0%,
    100% {
        border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    }

    34% {
        border-radius: 70% 30% 50% 50% / 30% 30% 70% 70%;
    }

    67% {
        border-radius: 100% 60% 60% 100% / 100% 100% 60% 60%;
    }
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.hero-text {
    flex: 1;
    padding-right: 40px;
}

.hero h1 {
    font-size: 3.2rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero h1 span {
    color: var(--primary);
}

.hero p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 30px;
}

.hero-img {
    flex: 1;
    position: relative;
}

.hero-img img {
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    z-index: 2;
    position: relative;
}

/* =========================================
           ABOUT US
           ========================================= */
.about {
    background: var(--white);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text ul {
    margin-top: 20px;
}

.about-text li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.about-text li i {
    color: var(--primary);
}

/* =========================================
           SERVICES
           ========================================= */
.services {
    background: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 35px 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-card);
    text-align: center;
    transition: var(--transition);
    border-bottom: 3px solid transparent;
}

.service-card:hover {
    transform: translateY(-8px);
    border-bottom: 3px solid var(--primary);
}

.service-icon {
    font-size: 36px;
    color: var(--secondary);
    margin-bottom: 20px;
    background: var(--accent);
    width: 70px;
    height: 70px;
    line-height: 70px;
    border-radius: 50%;
    margin-left: auto;
    margin-right: auto;
}

/* =========================================
           WHY CHOOSE US
           ========================================= */
.why-us {
    background: var(--secondary);
    color: var(--white);
}

.why-us .section-header h2 {
    color: var(--white);
}

.why-us .section-header p {
    color: rgba(255, 255, 255, 0.8);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-box {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: var(--border-radius);
    backdrop-filter: blur(5px);
}

.feature-box i {
    font-size: 32px;
    color: var(--primary);
    /* Rose looks good on slate blue */
    background: var(--white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

/* =========================================
           HEALTHCARE PLANS
           ========================================= */
.plans {
    background: var(--white);
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.plan-card {
    border: 1px solid #eee;
    border-radius: 15px;
    padding: 40px;
    text-align: center;
    position: relative;
    transition: var(--transition);
}

.plan-card:hover {
    box-shadow: var(--shadow-soft);
}

.plan-card.featured {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.05);
    border: none;
    box-shadow: 0 15px 30px rgba(224, 108, 136, 0.3);
}

.plan-card.featured h3,
.plan-card.featured .price,
.plan-card.featured li,
.plan-card.featured i {
    color: var(--white);
}

.plan-card.featured .btn {
    background: var(--white);
    color: var(--primary);
}

.plan-card.featured .btn:hover {
    background: var(--bg-light);
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 20px 0;
    color: var(--primary);
}

.plan-list li {
    margin: 12px 0;
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.plan-list i {
    color: var(--secondary);
}

/* =========================================
           TESTIMONIALS
           ========================================= */
.testimonials {
    background: var(--bg-light);
}

.testimonial-slider {
    display: flex;
    gap: 25px;
    overflow-x: auto;
    padding-bottom: 20px;
    scrollbar-width: none;
}

.testimonial-slider::-webkit-scrollbar {
    display: none;
}

.testimonial-card {
    background: var(--white);
    min-width: 320px;
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-card);
    border-left: 4px solid var(--primary);
}

/* =========================================
           CONTACT & BOOKING
           ========================================= */
.contact-section {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.booking-wrapper {
    flex: 1.5;
    min-width: 300px;
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow-soft);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 10px;
}

.c-icon {
    width: 45px;
    height: 45px;
    background: var(--accent);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-control {
    width: 100%;
    padding: 14px 20px;
    margin-bottom: 20px;
    border: 1px solid #eee;
    border-radius: 10px;
    font-family: inherit;
    transition: 0.3s;
}

.form-control:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 4px rgba(224, 108, 136, 0.1);
}

/* =========================================
           FOOTER & MODULES
           ========================================= */
footer {
    background: #333;
    color: #ddd;
    padding: 70px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 25px;
    font-size: 1.2rem;
}

/* Newsletter */
.newsletter-form input[type="date"] {
    color-scheme: light;
}

.newsletter-check {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 0.85rem;
    margin-bottom: 15px;
}

.copyright {
    border-top: 1px solid #444;
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
}

.legal-links a {
    color: #888;
    margin: 0 10px;
    cursor: pointer;
    font-size: 0.85rem;
}

.legal-links a:hover {
    color: var(--primary);
}

/* =========================================
           MODALS
           ========================================= */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.modal.show {
    display: flex;
    opacity: 1;
}

.modal-content {
    background-color: #fff;
    padding: 40px;
    width: 90%;
    max-width: 600px;
    border-radius: 15px;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s;
    max-height: 80vh;
    overflow-y: auto;
}

.modal.show .modal-content {
    transform: translateY(0);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    cursor: pointer;
    color: #aaa;
}

.close-modal:hover {
    color: var(--primary);
}

/* =========================================
           TOAST
           ========================================= */
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--primary);
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 12px;
    transform: translateY(150%);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 3000;
}

.toast.active {
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content {
        flex-direction: column-reverse;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .contact-section {
        flex-direction: column;
    }

    .nav-links {
        display: none;
    }
}