/* Fertility Treatment Page Styles - Modern Design */

/* Hero Section */
.hero-section {
    position: relative;
    height: 80vh;
    background: linear-gradient(135deg, #EC4899 0%, #DB2777 50%, #BE185D 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.unsplash.com/photo-1576091160550-2173dba999ef?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1200&q=80') center/cover no-repeat;
    opacity: 0.12;
    z-index: 1;
    animation: hero-bg-move 20s ease-in-out infinite;
}

@keyframes hero-bg-move {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.75), rgba(190, 24, 93, 0.75));
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    padding: 0 20px;
    animation: fadeInDown 1s ease-out;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content > p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    font-weight: 300;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 25px;
    margin-top: 50px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
}

.stat-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(236, 72, 153, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #EC4899;
    transition: all 0.3s ease;
    border: 2px solid #EC4899;
}

.stat-item:hover .stat-icon-wrapper {
    background: rgba(236, 72, 153, 0.4);
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(236, 72, 153, 0.5);
}

.stat-number {
    font-size: 1.8rem !important;
    font-weight: 700 !important;
    color: #EC4899 !important;
    display: block !important;
    line-height: 1.2 !important;
}

.stat-label {
    font-size: 0.9rem !important;
    color: #EC4899 !important;
    text-align: center !important;
    display: block !important;
    font-weight: 500 !important;
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.floating-egg,
.floating-plus,
.floating-star {
    position: absolute;
    font-size: 2rem;
    opacity: 0.3;
    animation: float 6s ease-in-out infinite;
}

.floating-egg {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-plus {
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.floating-star {
    bottom: 20%;
    left: 25%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(30px); }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Services Section */
.services-section {
    padding: 80px 20px;
    background: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.8rem;
    color: #1f2937;
    margin-bottom: 15px;
    font-weight: 800;
}

.section-header p {
    font-size: 1.1rem;
    color: #6b7280;
    font-weight: 300;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.service-card {
    background: white;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-top: 4px solid #EC4899;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(236, 72, 153, 0.15);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #EC4899, #DB2777);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: white;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.4rem;
    color: #1f2937;
    margin-bottom: 15px;
    font-weight: 700;
}

.service-card p {
    color: #6b7280;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.service-list {
    list-style: none;
    padding: 0;
}

.service-list li {
    padding: 8px 0;
    color: #6b7280;
    font-size: 0.9rem;
    padding-left: 20px;
    position: relative;
}

.service-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #EC4899;
    font-weight: bold;
}

/* Treatment Programs Section */
.treatment-programs {
    padding: 80px 20px;
    background: white;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 35px;
}

.program-card {
    border-radius: 12px;
    overflow: hidden;
    background: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.program-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(236, 72, 153, 0.15);
}

.program-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.program-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.program-card:hover .program-image img {
    transform: scale(1.1);
}

.program-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.8), rgba(190, 24, 93, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.program-card:hover .program-overlay {
    opacity: 1;
}

.program-overlay h4 {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
}

.program-content {
    padding: 30px;
}

.program-content p {
    color: #6b7280;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.program-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.program-features span {
    background: #FDF2F8;
    color: #EC4899;
    padding: 8px 15px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Why Choose Section */
.why-choose-section {
    padding: 80px 20px;
    background: #f8f9fa;
}

.why-choose-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.feature-item {
    display: flex;
    gap: 20px;
}

.feature-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #EC4899, #DB2777);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    flex-shrink: 0;
}

.feature-text h4 {
    color: #1f2937;
    font-size: 1.15rem;
    margin-bottom: 8px;
    font-weight: 700;
}

.feature-text p {
    color: #6b7280;
    font-size: 0.9rem;
    line-height: 1.6;
}

.why-choose-image {
    border-radius: 12px;
    overflow: hidden;
    height: 400px;
}

.why-choose-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Success Stories Section */
.success-stories-section {
    padding: 80px 20px;
    background: white;
}

.stories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.story-card {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
    border-left: 4px solid #EC4899;
    transition: all 0.3s ease;
}

.story-card:hover {
    background: white;
    box-shadow: 0 4px 15px rgba(236, 72, 153, 0.15);
    transform: translateY(-5px);
}

.story-rating {
    display: flex;
    gap: 5px;
    margin-bottom: 20px;
}

.story-rating i {
    color: #FCD34D;
    font-size: 1rem;
}

.story-text {
    color: #4b5563;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}

.story-author h4 {
    color: #1f2937;
    font-size: 1rem;
    margin-bottom: 5px;
    font-weight: 700;
}

.story-author span {
    color: #EC4899;
    font-size: 0.85rem;
    font-weight: 600;
}

/* FAQ Section */
.faq-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

/* FAQ Tabs */
.faq-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.faq-tab-btn {
    padding: 12px 25px;
    border: 2px solid #e5e7eb;
    background: white;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.faq-tab-btn:hover {
    border-color: #EC4899;
    color: #EC4899;
}

.faq-tab-btn.active {
    background: linear-gradient(135deg, #EC4899, #DB2777);
    color: white;
    border-color: #EC4899;
    box-shadow: 0 4px 15px rgba(236, 72, 153, 0.2);
}

.faq-tab-btn i {
    font-size: 1.1rem;
}

.faq-content {
    max-width: 900px;
    margin: 0 auto;
}

.faq-category {
    transition: all 0.3s ease;
}

.faq-item {
    margin-bottom: 20px;
    background: white;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    transition: all 0.3s ease;
    animation: slideIn 0.4s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.faq-item:hover {
    border-color: #EC4899;
    box-shadow: 0 6px 20px rgba(236, 72, 153, 0.12);
}

.faq-question {
    display: flex;
    align-items: center;
    padding: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    gap: 15px;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FDF2F8, #FCE7F3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #EC4899;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.faq-text {
    flex: 1;
    text-align: left;
}

.faq-question h4 {
    color: #1f2937;
    font-size: 1.05rem;
    font-weight: 600;
    margin: 0 0 5px 0;
    line-height: 1.4;
}

.faq-category-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: #EC4899;
    background: #FDF2F8;
    padding: 4px 10px;
    border-radius: 12px;
}

.faq-question > i {
    color: #EC4899;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-question > i {
    transform: rotate(45deg);
    color: #DB2777;
}

.faq-answer {
    display: none;
    padding: 0 25px 25px 25px;
    border-top: 1px solid #f0f0f0;
    color: #4b5563;
    font-size: 0.95rem;
    line-height: 1.8;
    background: #fafbfc;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-answer p {
    margin: 0;
}

/* CTA Section */
.cta-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, #EC4899 0%, #DB2777 50%, #BE185D 100%);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-weight: 800;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 40px;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 40px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-block;
}

.btn-primary {
    background: white;
    color: #EC4899;
}

.btn-primary:hover {
    background: #f8f9fa;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #EC4899;
    transform: translateY(-3px);
}

/* Footer */
footer {
    background: #1f2937;
    color: white;
    padding: 60px 20px 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content > p {
        font-size: 1rem;
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        padding: 20px;
        gap: 15px;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .services-grid,
    .programs-grid {
        grid-template-columns: 1fr;
    }

    .why-choose-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .why-choose-image {
        height: 300px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    /* FAQ responsive */
    .faq-tabs {
        gap: 10px;
    }

    .faq-tab-btn {
        padding: 10px 18px;
        font-size: 0.85rem;
    }

    .faq-tab-btn i {
        display: none;
    }

    .faq-question {
        padding: 18px;
        gap: 12px;
    }

    .faq-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    .faq-question h4 {
        font-size: 0.95rem;
    }

    .faq-answer {
        padding: 0 18px 18px 18px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        height: 60vh;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .section-header p {
        font-size: 0.95rem;
    }

    .service-card,
    .program-card {
        padding: 25px;
    }

    .cta-content h2 {
        font-size: 1.8rem;
    }

    .cta-content p {
        font-size: 0.95rem;
    }

    /* FAQ mobile */
    .faq-tabs {
        flex-direction: column;
    }

    .faq-tab-btn {
        width: 100%;
        justify-content: center;
    }

    .faq-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .faq-question {
        padding: 15px;
    }

    .faq-question h4 {
        font-size: 0.9rem;
    }

    .faq-category-label {
        font-size: 0.7rem;
        padding: 3px 8px;
    }

    .faq-answer {
        padding: 0 15px 15px 15px;
        font-size: 0.9rem;
    }
}
