/* Family Health Center Styles */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Nunito', sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    overflow-x: hidden;
    background: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 75px;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.6rem;
    font-weight: 700;
    color: #e105a5;
}

.logo i {
    font-size: 2rem;
    margin-right: 12px;
    color: #ff008a;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 0;
}

.nav-link:hover {
    color: #e105a5;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #e105a5;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.emergency {
    background: linear-gradient(135deg, #ff008a, #f400af);
    color: white !important;
    padding: 10px 16px;
    border-radius: 25px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link.emergency::after {
    display: none;
}

.nav-link.emergency:hover {
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.3);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 28px;
    height: 3px;
    background: #2c3e50;
    margin: 4px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    margin-top: 75px;
    padding: 100px 0;
    background: linear-gradient(135deg, #ff008a 0%, #ff008a 50%, #e105a5 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="gradient"><stop offset="0%" stop-color="%23ffffff" stop-opacity="0.1"/><stop offset="100%" stop-color="%23ffffff" stop-opacity="0"/></radialGradient></defs><circle cx="150" cy="150" r="250" fill="url(%23gradient)"/><circle cx="850" cy="300" r="180" fill="url(%23gradient)"/><circle cx="400" cy="800" r="320" fill="url(%23gradient)"/></svg>') no-repeat;
    background-size: cover;
    opacity: 0.3;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.hero-badge i {
    color: #fd79a8;
    font-size: 1.1rem;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    line-height: 1.7;
}

.hero-features {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.feature-highlight {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 12px 16px;
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.95rem;
    font-weight: 600;
}

.feature-highlight i {
    color: #feb0da;
    font-size: 1.2rem;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.btn {
    padding: 16px 32px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: inherit;
}

.btn-primary {
    background: #e105a5;
    color: white;
    box-shadow: 0 8px 25px rgba(255, 0, 140, 0.3);
}

.btn-primary:hover {
    background: #ec0fb0;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 0, 140, 0.4);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    transform: translateY(-3px);
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.2rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    justify-content: center;
}

.stat-item {
    text-align: center;
}

.stat-item h3 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: #feb0da;
}

.stat-item p {
    font-size: 1rem;
    opacity: 0.9;
    font-weight: 500;
}

/* Family Illustration */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.family-illustration {
    position: relative;
    width: 300px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.family-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: 600;
    font-size: 0.85rem;
}

.family-center i {
    font-size: 2rem;
    margin-bottom: 5px;
    color: #fd79a8;
}

.family-member {
    position: absolute;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: 600;
    font-size: 0.8rem;
    animation: float 3s ease-in-out infinite;
}

.family-member i {
    font-size: 1.5rem;
    margin-bottom: 3px;
    color: #feb0da;
}

.family-member.child {
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 0s;
}

.family-member.adult {
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    animation-delay: 1s;
}

.family-member.senior {
    bottom: 20px;
    left: 20px;
    animation-delay: 2s;
}

.floating-badges {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.badge {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    color: #2c3e50;
    padding: 8px 12px;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    animation: floatSlow 4s ease-in-out infinite;
}

.badge i {
    color: #e105a5;
    font-size: 1rem;
}

.badge-1 {
    top: 10%;
    right: -10px;
    animation-delay: 0s;
}

.badge-2 {
    top: 60%;
    left: -20px;
    animation-delay: 2s;
}

.badge-3 {
    bottom: 15%;
    right: 10px;
    animation-delay: 1s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) translateX(-50%); }
    50% { transform: translateY(-10px) translateX(-50%); }
}

@keyframes floatSlow {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.8rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #e105a5, #ff008a);
    border-radius: 2px;
}

.section-header p {
    font-size: 1.2rem;
    color: #7f8c8d;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* About Section */
.about {
    padding: 100px 0;
    background: #f8f9fa;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
}

.about-story h3 {
    font-size: 2.2rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.about-story > p {
    font-size: 1.1rem;
    color: #7f8c8d;
    line-height: 1.7;
    margin-bottom: 3rem;
}

.values-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.value-item {
    background: white;
    padding: 2rem 1.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-align: center;
}

.value-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.value-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #e105a5, #ff008a);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.value-icon i {
    font-size: 1.8rem;
    color: white;
}

.value-item h4 {
    font-size: 1.2rem;
    color: #2c3e50;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.value-item p {
    color: #7f8c8d;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 400px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 30px;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, #ff008a, #e105a5);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.timeline-year {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ff008a, #ff008a);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
    flex-shrink: 0;
    z-index: 1;
}

.timeline-content {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    flex: 1;
}

.timeline-content h4 {
    color: #2c3e50;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.timeline-content p {
    color: #7f8c8d;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Services Section */
.services {
    padding: 100px 0;
    background: white;
}

.services-tabs {
    max-width: 1000px;
    margin: 0 auto;
}

.tab-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 12px 24px;
    border: 2px solid #e0e6ed;
    background: white;
    color: #7f8c8d;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.tab-btn.active,
.tab-btn:hover {
    border-color: #e105a5;
    background: #e105a5;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 0, 140, 0.2);
}

.tab-content {
    position: relative;
}

.tab-panel {
    display: none;
    animation: fadeInUp 0.5s ease;
}

.tab-panel.active {
    display: block;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-item {
    background: white;
    padding: 2rem 1.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
    border-top: 4px solid #e105a5;
}

.service-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.service-item i {
    font-size: 2.5rem;
    color: #ff008a;
    margin-bottom: 1.5rem;
}

.service-item h3 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-item p {
    color: #7f8c8d;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Doctors Section */
.doctors {
    padding: 100px 0;
    background: #f8f9fa;
}

.doctors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.doctor-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.doctor-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.doctor-image {
    height: 200px;
    background: linear-gradient(135deg, #ff008a, #ff008a);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.doctor-image i {
    font-size: 4rem;
    color: white;
}

.doctor-info {
    padding: 2rem;
}

.doctor-info h3 {
    font-size: 1.4rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.specialty {
    color: #ff008a;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.credentials {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.credential {
    background: #ecf0f1;
    color: #2c3e50;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
}

.bio {
    color: #7f8c8d;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.doctor-specialties {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag {
    background: linear-gradient(135deg, #e105a5, #ff008a);
    color: white;
    padding: 5px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Family Plans Section */
.family-plans {
    padding: 100px 0;
    background: white;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.plan-card {
    background: white;
    border-radius: 25px;
    padding: 2.5rem 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid transparent;
}

.plan-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.plan-card.featured {
    border-color: #e105a5;
    transform: scale(1.05);
    box-shadow: 0 20px 60px rgba(255, 0, 140, 0.2);
}

.plan-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.plan-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #e105a5, #ff008a);
    color: white;
    padding: 8px 24px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(255, 0, 140, 0.3);
}

.plan-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #ecf0f1;
}

.plan-header h3 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 700;
}

.plan-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.3rem;
    margin-bottom: 1rem;
}

.currency {
    font-size: 1.5rem;
    color: #7f8c8d;
    font-weight: 600;
}

.amount {
    font-size: 3.5rem;
    font-weight: 800;
    color: #e105a5;
}

.period {
    font-size: 1.2rem;
    color: #7f8c8d;
    font-weight: 500;
}

.plan-subtitle {
    color: #7f8c8d;
    font-size: 1rem;
    line-height: 1.6;
}

.plan-coverage {
    margin-bottom: 2rem;
}

.plan-coverage h4 {
    color: #ff008a;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    text-align: center;
}

.plan-features {
    list-style: none;
    margin: 0;
    padding: 0;
}

.plan-features li {
    padding: 0.8rem 0;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid #ecf0f1;
    color: #2c3e50;
    font-weight: 500;
}

.plan-features li:last-child {
    border-bottom: none;
}

.plan-features i {
    color: #e105a5;
    font-size: 1.1rem;
}

.plan-btn {
    width: 100%;
    padding: 16px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 15px;
}

.insurance-note {
    background: #fad7ea;
    border: 2px solid #e105a5;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
}

.insurance-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

.insurance-info i {
    font-size: 2.5rem;
    color: #e105a5;
}

.insurance-info h4 {
    color: #2c3e50;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.insurance-info p {
    color: #7f8c8d;
    line-height: 1.6;
    max-width: 600px;
}

/* Appointment Section */
.appointment {
    padding: 100px 0;
    background: #f8f9fa;
}

.appointment-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.appointment-form-wrapper {
    background: white;
    border-radius: 25px;
    padding: 3rem;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
}

.form-section {
    margin-bottom: 2.5rem;
}

.form-section h3 {
    font-size: 1.4rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-weight: 600;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #ecf0f1;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.form-group {
    position: relative;
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 600;
    color: #2c3e50;
    font-size: 1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 18px;
    border: 2px solid #e8f0ff;
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #e105a5;
    box-shadow: 0 0 0 4px rgba(255, 0, 140, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 0.2rem;
    flex-shrink: 0;
    accent-color: #e105a5;
    transform: scale(1.2);
}

.checkbox-group label {
    color: #2c3e50;
    font-weight: 400;
    line-height: 1.6;
    cursor: pointer;
    margin-bottom: 0;
}

.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.checkbox-grid .checkbox-group {
    margin-bottom: 0.5rem;
}

/* Appointment Info Cards */
.appointment-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.info-card h3 {
    color: #2c3e50;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.hours-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hour-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 0;
    border-bottom: 1px solid #ecf0f1;
}

.hour-item:last-child {
    border-bottom: none;
}

.day {
    font-weight: 600;
    color: #2c3e50;
}

.time {
    color: #ff008a;
    font-weight: 500;
}

.bring-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.bring-list li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 0;
    color: #2c3e50;
    font-weight: 500;
}

.bring-list i {
    color: #e105a5;
    font-size: 1rem;
}

.info-card.emergency {
    background: linear-gradient(135deg, #ff008a, #f400af);
    color: white;
}

.info-card.emergency h3 {
    color: white;
}

.info-card.emergency p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.emergency-number {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 15px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.emergency-number:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.testimonial-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border-left: 5px solid #e105a5;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.testimonial-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.family-info h4 {
    color: #2c3e50;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.family-info p {
    color: #7f8c8d;
    font-size: 0.9rem;
}

.rating {
    display: flex;
    gap: 0.3rem;
}

.rating i {
    color: #f39c12;
    font-size: 1.1rem;
}

.testimonial-content p {
    color: #2c3e50;
    line-height: 1.7;
    font-size: 1rem;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.family-members {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid #ecf0f1;
}

.member {
    background: #fad7ea;
    color: #e105a5;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: #f8f9fa;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.location-card,
.hours-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
}

.location-card h3,
.hours-card h3 {
    color: #2c3e50;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 600;
}

.address {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}

.address i {
    color: #e105a5;
    font-size: 1.5rem;
    margin-top: 0.2rem;
}

.address p {
    color: #7f8c8d;
    line-height: 1.6;
    font-size: 1rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-item i {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #ff008a, #ff008a);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    flex-shrink: 0;
}

.contact-item h4 {
    color: #2c3e50;
    font-size: 1rem;
    margin-bottom: 0.3rem;
    font-weight: 600;
}

.contact-item p {
    color: #7f8c8d;
    font-size: 0.95rem;
}

.hours-grid {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.hour-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 0;
    border-bottom: 1px solid #ecf0f1;
}

.hour-row:last-child {
    border-bottom: none;
}

.hour-row.weekend {
    background: #f8f9fa;
    padding: 0.8rem 1rem;
    border-radius: 10px;
    margin: 0.2rem 0;
}

.hour-row .day {
    font-weight: 600;
    color: #2c3e50;
}

.hour-row .hours {
    color: #ff008a;
    font-weight: 500;
}

.map-container {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.map-placeholder {
    padding: 4rem 2rem;
    text-align: center;
    background: linear-gradient(135deg, #ecf0f1, #d5dbdb);
    color: #7f8c8d;
}

.map-placeholder i {
    font-size: 3rem;
    color: #ff008a;
    margin-bottom: 1rem;
}

.map-placeholder h3 {
    color: #2c3e50;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.map-placeholder p {
    line-height: 1.6;
    margin-bottom: 2rem;
}

.map-features {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    align-items: center;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.feature i {
    color: #e105a5;
    font-size: 1rem;
}

.feature span {
    color: #2c3e50;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 80px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    margin-bottom: 2rem;
    color: #ff008a;
    font-size: 1.2rem;
    font-weight: 600;
}

.footer-logo {
    display: flex;
    align-items: center;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.footer-logo i {
    font-size: 2.2rem;
    margin-right: 15px;
    color: #ff008a;
}

.footer-section p {
    line-height: 1.7;
    margin-bottom: 2rem;
    opacity: 0.9;
    color: #bdc3c7;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.social-links a:hover {
    background: #ff008a;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 400;
    display: block;
    padding: 5px 0;
}

.footer-section ul li a:hover {
    color: #ff008a;
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #95a5a6;
    font-size: 0.95rem;
}

/* 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);
    backdrop-filter: blur(8px);
}

.modal-content {
    position: relative;
    background-color: white;
    margin: 3% auto;
    padding: 0;
    border-radius: 25px;
    width: 90%;
    max-width: 800px;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.4s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-80px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    padding: 2.5rem 2.5rem 1.5rem;
    border-bottom: 2px solid #ecf0f1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #ff008a, #ff008a);
    color: white;
    border-radius: 25px 25px 0 0;
}

.modal-header.emergency-header {
    background: linear-gradient(135deg, #ff008a, #f400af);
}

.modal-header h2 {
    color: white;
    margin: 0;
    font-size: 1.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.close {
    color: white;
    font-size: 2.5rem;
    font-weight: 300;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.modal-body {
    padding: 2.5rem;
}

/* Emergency Modal Styles */
.emergency-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.emergency-section h3 {
    color: #ff008a;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.emergency-section p {
    color: #7f8c8d;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.emergency-contact {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 15px;
    border-left: 4px solid #ff008a;
}

.emergency-contact i {
    font-size: 1.5rem;
    color: #ff008a;
}

.emergency-contact h4 {
    color: #2c3e50;
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    font-weight: 600;
}

.emergency-contact p {
    margin: 0;
    font-weight: 700;
    color: #ff008a;
    font-size: 1.1rem;
}

.emergency-contact small {
    color: #7f8c8d;
    font-size: 0.85rem;
}

.emergency-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 0.5rem;
}

.emergency-list li {
    padding: 0.5rem 0;
    color: #2c3e50;
    font-weight: 500;
    position: relative;
    padding-left: 1.5rem;
}

.emergency-list li::before {
    content: '•';
    color: #ff008a;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Insurance Modal Styles */
.insurance-content {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.insurance-section h3 {
    color: #2c3e50;
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.insurance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.insurance-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #e105a5;
}

.insurance-item i {
    color: #e105a5;
    font-size: 1.1rem;
}

.insurance-item span {
    color: #2c3e50;
    font-weight: 500;
}

.payment-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.payment-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #ecf0f1;
    color: #2c3e50;
    font-weight: 500;
}

.payment-list li:last-child {
    border-bottom: none;
}

.payment-list i {
    color: #ff008a;
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}

.verification-list {
    list-style: none;
    margin: 1rem 0 0;
    padding: 0;
}

.verification-list li {
    padding: 0.5rem 0;
    color: #2c3e50;
    font-weight: 500;
    position: relative;
    padding-left: 1.5rem;
}

.verification-list li::before {
    content: '✓';
    color: #e105a5;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.contact-billing {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 15px;
    margin-top: 1rem;
}

.contact-billing i {
    font-size: 1.5rem;
    color: #ff008a;
}

.contact-billing p {
    margin: 0;
    line-height: 1.4;
}

.contact-billing small {
    color: #7f8c8d;
    font-size: 0.85rem;
}

/* Policy Content */
.policy-content h3,
.terms-content h3 {
    color: #2c3e50;
    margin-bottom: 1.2rem;
    margin-top: 2rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.policy-content h3:first-child,
.terms-content h3:first-child {
    margin-top: 0;
}

.policy-content p,
.terms-content p {
    color: #7f8c8d;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* Newsletter Form */
.newsletter-form {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 20px;
    margin-top: 1rem;
}

.consent-section {
    margin: 2rem 0;
    padding: 1.5rem;
    background: white;
    border-radius: 15px;
    border: 2px solid #ecf0f1;
}

/* Success Message */
.success-message {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 3000;
    backdrop-filter: blur(8px);
}

.success-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 4rem 3rem;
    border-radius: 25px;
    text-align: center;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 90%;
    animation: successScale 0.6s ease;
}

@keyframes successScale {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.05);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

.success-content i {
    font-size: 5rem;
    color: #e105a5;
    margin-bottom: 1.5rem;
}

.success-content h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    font-weight: 600;
}

.success-content p {
    color: #7f8c8d;
    margin-bottom: 2.5rem;
    line-height: 1.7;
    font-size: 1.1rem;
}

/* Loading Animation */
.btn.loading {
    position: relative;
    color: transparent;
    pointer-events: none;
}

.btn.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
    border-radius: 50%;
    border: 2px solid transparent;
    border-top-color: #fff;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 75px;
        flex-direction: column;
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
        padding: 3rem 0;
        gap: 2rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-content h1 {
        font-size: 2.8rem;
    }

    .hero-features,
    .hero-stats {
        justify-content: center;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .tab-buttons {
        flex-direction: column;
        align-items: center;
    }

    .doctors-grid {
        grid-template-columns: 1fr;
    }

    .plans-grid {
        grid-template-columns: 1fr;
    }

    .plan-card.featured {
        transform: none;
    }

    .appointment-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .insurance-info {
        flex-direction: column;
        text-align: center;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }

    .section-header h2 {
        font-size: 2.2rem;
    }

    .hero {
        padding: 80px 0 60px;
    }

    .about, .services, .doctors, .family-plans, .appointment, .testimonials, .contact {
        padding: 80px 0;
    }

    .modal-content {
        width: 95%;
        margin: 5% auto;
    }

    .checkbox-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .btn {
        padding: 14px 28px;
        font-size: 1rem;
    }

    .btn-large {
        padding: 16px 32px;
        font-size: 1.1rem;
    }

    .hero-stats {
        gap: 2rem;
    }

    .hero-stats .stat-item h3 {
        font-size: 1.8rem;
    }

    .family-illustration {
        width: 250px;
        height: 250px;
    }

    .family-center {
        width: 80px;
        height: 80px;
        font-size: 0.75rem;
    }

    .family-member {
        width: 60px;
        height: 60px;
        font-size: 0.7rem;
    }

    .modal-body {
        padding: 2rem 1.5rem;
    }

    .success-content {
        padding: 3rem 2rem;
    }

    .appointment-form-wrapper {
        padding: 2rem 1.5rem;
    }

    .insurance-grid {
        grid-template-columns: 1fr;
    }

    .emergency-list {
        grid-template-columns: 1fr;
    }
}

/* Print styles */
@media print {
    .header,
    .footer,
    .btn,
    .modal,
    .floating-badges {
        display: none;
    }

    .hero {
        margin-top: 0;
        background: white;
        color: #000;
    }

    body {
        font-size: 12pt;
        line-height: 1.4;
        color: #000;
    }

    .section-header h2 {
        font-size: 20pt;
        color: #000;
    }
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #e105a5, #ff008a);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #ec0fb0, #ff008a);
}

/* Focus styles for accessibility */
.btn:focus,
input:focus,
select:focus,
textarea:focus,
.nav-link:focus,
.tab-btn:focus {
    outline: 3px solid rgba(255, 0, 140, 0.5);
    outline-offset: 2px;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .btn-outline {
        border-width: 3px;
    }
    
    .service-item,
    .plan-card,
    .testimonial-card,
    .doctor-card {
        border-width: 2px;
        border-color: #000;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .hero::before,
    .floating-badges .badge,
    .family-member {
        animation: none;
    }
}