/* Pregnancy Theme Styles */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), 
                url('../images/ivf-hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(142, 68, 173, 0.3) 0%, rgba(52, 152, 219, 0.3) 100%);
}

.section-title {
    font-size: 2.5rem;
    color: var(--ivf-primary);
    position: relative;
    display: inline-block;
    margin-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--ivf-primary) 0%, var(--ivf-accent) 100%);
    border-radius: 2px;
}

.section-subtitle {
    color: #666;
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

.pregnancy-icon {
    font-size: 2rem;
    color: var(--ivf-accent);
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.tool-card:hover .pregnancy-icon {
    transform: scale(1.2);
    color: var(--ivf-primary);
}

/* Testimonial Section */
.testimonial-section {
    background: linear-gradient(135deg, var(--ivf-primary) 0%, var(--ivf-secondary) 100%);
}

.testimonial-card {
    background-color: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
}

.testimonial-card::before {
    content: '\201C';
    font-family: Georgia, serif;
    font-size: 4rem;
    color: var(--ivf-primary);
    position: absolute;
    top: 10px;
    left: 20px;
    opacity: 0.2;
}

.testimonial-text {
    font-size: 1.2rem;
    font-style: italic;
    color: #555;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
    border: 3px solid var(--ivf-primary);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-section {
        height: 60vh;
        background-attachment: scroll;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

/* Due Date Calculator Styles */
.health-tip-card {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 1.25rem;
    height: 100%;
    border-left: 3px solid var(--ivf-primary);
}

.result-row {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px dashed #eee;
}

.result-row:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.result-box {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 1rem 1.5rem;
    margin-top: 0.5rem;
}

.result-value {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.timeline-list {
    list-style-type: none;
    padding-left: 0;
}

.timeline-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.timeline-list li:last-child {
    border-bottom: none;
}

/* Print Styles */
@media print {
    .navbar, .hero-section, .btn {
        display: none !important;
    }
    
    .card {
        border: none;
        box-shadow: none;
    }
    
    .result-box {
        background-color: transparent !important;
        border: 1px solid #ddd;
    }
}

/* Color Palette */
:root {
    --pink: #f8bbd0;
    --pink-dark: #f48fb1;
    --purple: #ce93d8;
    --purple-dark: #ba68c8;
    --teal: #80deea;
    --teal-dark: #4dd0e1;
    --coral: #ffab91;
    --coral-dark: #ff8a65;
    --lavender: #b39ddb;
    --lavender-dark: #9575cd;
    --peach: #ffcc80;
    --peach-dark: #ffb74d;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--pink) 0%, var(--purple) 100%);
    height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
    animation: fadeInDown 1s ease;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
    animation: fadeIn 1.5s ease;
}

.btn-hero {
    background-color: white;
    color: var(--purple-dark);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    color: var(--purple-dark);
}

.hero-waves {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    overflow: hidden;
}

/* Tool Cards */
.tool-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.4s ease;
    position: relative;
    margin-bottom: 30px;
}

.tool-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

/* Colorful Card Variants */
.pink-card {
    background: linear-gradient(135deg, var(--pink) 0%, #fce4ec 100%);
}
.purple-card {
    background: linear-gradient(135deg, var(--purple) 0%, #f3e5f5 100%);
}
.teal-card {
    background: linear-gradient(135deg, var(--teal) 0%, #e0f7fa 100%);
}
.coral-card {
    background: linear-gradient(135deg, var(--coral) 0%, #fbe9e7 100%);
}
.lavender-card {
    background: linear-gradient(135deg, var(--lavender) 0%, #ede7f6 100%);
}
.peach-card {
    background: linear-gradient(135deg, var(--peach) 0%, #fff3e0 100%);
}

/* Ribbon Effect */
.pink-ribbon, .purple-ribbon, .teal-ribbon, 
.coral-ribbon, .lavender-ribbon, .peach-ribbon {
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 20px;
    clip-path: polygon(0 0, 100% 0, 95% 100%, 5% 100%);
}
.pink-ribbon { background-color: var(--pink-dark); }
.purple-ribbon { background-color: var(--purple-dark); }
.teal-ribbon { background-color: var(--teal-dark); }
.coral-ribbon { background-color: var(--coral-dark); }
.lavender-ribbon { background-color: var(--lavender-dark); }
.peach-ribbon { background-color: var(--peach-dark); }

/* Section Styling */
.section-title {
    font-size: 2.5rem;
    color: var(--purple-dark);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.flower-divider {
    margin: 1rem 0;
    color: var(--pink-dark);
}

.flower-divider i {
    margin: 0 10px;
    font-size: 1.5rem;
}

.section-subtitle {
    color: #666;
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Testimonial Section */
.testimonial-section {
    background: linear-gradient(135deg, var(--lavender) 0%, var(--purple) 100%);
    color: white;
}

.testimonial-carousel {
    position: relative;
    min-height: 200px;
}

.testimonial-card {
    background-color: white;
    border-radius: 15px;
    padding: 2rem;
    color: #555;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: absolute;
    width: 100%;
    opacity: 0;
    transition: all 0.5s ease;
}

.testimonial-card.active {
    opacity: 1;
}

.testimonial-text {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
    border: 3px solid var(--purple);
}

.testimonial-dots {
    margin-top: 2rem;
}

.dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.5);
    margin: 0 5px;
    cursor: pointer;
}

.dot.active {
    background-color: white;
}

/* Newsletter Section */
.newsletter-section {
    background-color: #f8f9fa;
}

.newsletter-form .form-control {
    border-radius: 50px 0 0 50px;
    border: 2px solid var(--pink);
    height: 50px;
}

.btn-newsletter {
    background: linear-gradient(135deg, var(--pink) 0%, var(--purple) 100%);
    color: white;
    border-radius: 0 50px 50px 0;
    border: none;
    padding: 0 25px;
    font-weight: 600;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    .hero-subtitle {
        font-size: 1.2rem;
    }
    .section-title {
        font-size: 2rem;
    }
}

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&family=Montserrat:wght@300;400;600&family=Nunito+Sans:wght@400;600&display=swap');

/* Typography */
:root {
    --heading-font: 'Playfair Display', serif;
    --subheading-font: 'Montserrat', sans-serif;
    --body-font: 'Nunito Sans', sans-serif;
}

body {
    font-family: var(--body-font);
    font-weight: 400;
    line-height: 1.6;
    color: #333;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 700;
    color: #2c3e50;
}

.subheading {
    font-family: var(--subheading-font);
    font-weight: 300;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(255,255,255,0.9), rgba(255,255,255,0.9)), 
                url('../images/ivf-hero-bg.jpg');
    background-size: cover;
    background-position: center;
    padding: 120px 0;
    text-align: center;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
    line-height: 1.2;
}

.hero-subtitle {
    font-family: var(--subheading-font);
    font-weight: 300;
    font-size: 1.5rem;
    color: #6c757d;
    margin-bottom: 2rem;
}

.btn-hero {
    background-color: #8e44ad;
    color: white;
    padding: 12px 30px;
    border-radius: 4px;
    font-family: var(--subheading-font);
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn-hero:hover {
    background-color: #7d3c98;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    color: white;
}

/* Tool Cards */
.tool-card {
    border: none;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-top: 4px solid #8e44ad;
    position: relative;
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.card-icon {
    font-size: 2.5rem;
    color: #8e44ad;
    margin: 1.5rem 0;
}

.card-body {
    padding: 1.5rem;
}

.card-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.card-text {
    color: #6c757d;
    margin-bottom: 2rem;
    font-size: 1rem;
}

.card-arrow {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 40px;
    height: 40px;
    background-color: #f3e5f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8e44ad;
    transition: all 0.3s ease;
}

.tool-card:hover .card-arrow {
    background-color: #8e44ad;
    color: white;
}

/* Features Section */
.features-section {
    background-color: #f8f9fa;
}

.features-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.features-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background-color: #8e44ad;
}

.feature-item {
    display: flex;
    margin-bottom: 2rem;
}

.feature-icon {
    font-size: 1.8rem;
    color: #8e44ad;
    margin-right: 1.5rem;
    min-width: 50px;
}

.feature-text h3 {
    font-family: var(--subheading-font);
    font-weight: 600;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.feature-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-family: var(--subheading-font);
    font-weight: 300;
    font-size: 1.2rem;
    color: #6c757d;
    margin-bottom: 2rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .features-title {
        font-size: 2rem;
        text-align: center;
    }
    
    .features-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .feature-item {
        flex-direction: column;
        text-align: center;
        margin-bottom: 1.5rem;
    }
    
    .feature-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
}

/* 1. BANNER CONTAINER - NO OVERLAY */
.hero-banner {
    width: 100%;
    height: 70vh;
    min-height: 500px;
    background: 
        /* NO WHITE OVERLAY - JUST IMAGE */
        url('assets/images/ivf-hero-bg.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* 2. TEXT CONTENT BOX */
.banner-content {
    background-color: rgba(255, 255, 255, 0.85); /* White box behind text only */
    padding: 40px;
    border-radius: 8px;
    max-width: 800px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* 3. TYPOGRAPHY */
.banner-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: #2c3e50;
    margin-bottom: 15px;
}

.tagline {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    color: #6a3093;
    margin-bottom: 30px;
}

.cta-btn {
    display: inline-block;
    background-color: #6a3093;
    color: white;
    padding: 15px 35px;
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-btn:hover {
    background-color: #5a2a7b;
    transform: translateY(-3px);
}

/* 4. MOBILE RESPONSIVENESS */
@media (max-width: 768px) {
    .hero-banner {
        height: 50vh;
        min-height: 400px;
    }
    
    .banner-content {
        padding: 25px;
        margin: 0 20px;
    }
    
    .banner-content h1 {
        font-size: 2rem;
    }
    
    .tagline {
        font-size: 1.2rem;
    }
}

/* Before (with white overlay) */
.hero-section {
    background: linear-gradient(rgba(255,255,255,0.9), rgba(255,255,255,0.9)), 
                url('assets/images/ivf-hero-bg.jpg') center/cover;
}

/* After (no overlay) */
.hero-section {
    background: url('https://ivfpregnancycalculator.com/ivf-calculator33/assets/images/ivf-hero-bg.jpg') no-repeat center center/cover;
    position: relative;
}

.hero-section {
    width: 100%;
    height: 70vh;
    min-height: 900px;
    background: url('https://ivfpregnancycalculator.com/ivf-calculator33/assets/images/ivf-hero-bg.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
}

.container {
    position: relative;
    z-index: 2;
}

.hero-content {
    background-color: rgba(255, 255, 255, 0.85); /* Only behind text */
    padding: 40px;
    border-radius: 8px;
    max-width: 600px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* For dark images - alternative styling */
.hero-content.dark {
    background-color: rgba(106, 48, 147, 0.8); /* Purple overlay */
    color: white;
}

/* Font Awesome Icons */
.fas, .far, .fab, .fa {
    font-size: 1.5em !important; /* Increases all icons by 50% */
}

/* Specific Icon Adjustments */
.navbar-brand i, /* Header icon */
.btn i, /* Button icons */
.card-icon i, /* Tool card icons */
.social-icons i /* Footer icons */ {
    font-size: 1.8em !important; /* Even larger for key icons */
}

/* Calculator Tool Icons */
.tool-card .fa {
    font-size: 2.5rem !important; /* 40px size */
}

/* Icon Size Overrides */
i[class^="fa-"] {
    font-size: 1.5em;
    vertical-align: middle;
}

/* Navigation Icons */
.navbar-nav .fa {
    font-size: 1.3em;
    margin-right: 8px;
}

/* Card Icons */
.card-icon .fa {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

/* Social Media Icons */
.footer .social-icons .fab {
    font-size: 1.8rem;
    margin: 0 10px;
}

@media (max-width: 768px) {
    /* Slightly reduce icon sizes on mobile */
    .card-icon .fa {
        font-size: 1.8rem;
    }
    
    .footer .social-icons .fab {
        font-size: 1.5rem;
    }
    
    .btn .fas {
        font-size: 1em;
    }
}

/* Button Icons */
.btn .fas {
    font-size: 1.2em;
}

/* Tool Cards Container */
.tool-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px 20px;
    border: none;
    border-radius: 12px;
    transition: all 0.3s ease;
}

/* Hover Effects */
.tool-card:hover .card-icon {
    transform: scale(1.1);
    background-color: rgba(106, 48, 147, 0.2);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .card-icon {
        width: 70px;
        height: 70px;
    }
    .card-icon i {
        font-size: 2rem;
    }
}

/* Navigation */
.navbar-dark.bg-purple {
    background-color: #6a3093 !important;
}

.nav-link {
    padding: 0.5rem 1rem;
    font-family: 'Montserrat', sans-serif;
}

/* Page Specific */
.tool-list .card, .blog-posts .card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.tool-list .card:hover, .blog-posts .card:hover {
    transform: translateY(-5px);
}

.btn-purple {
    background-color: #6a3093;
    color: white;
}

.btn-outline-purple {
    border-color: #6a3093;
    color: #6a3093;
}