/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

body {
    font-family: 'Poppins', sans-serif;
}

/* Top Bar Styling */
.top-bar {
    border-bottom: 1px solid #e0e0e0;
    font-size: 0.9rem;
}

.top-bar .contact-info a,
.top-bar .social-media a {
    color: #555;
    transition: color 0.3s;
}

.top-bar .contact-info a:hover,
.top-bar .social-media a:hover {
    color: #0d6efd; /* Bootstrap primary color */
}

/* Header and Logo Styling */
.embryonest-logo {
    font-weight: 700;
    font-size: 2rem;
    text-decoration: none;
}

.embryonest-logo span:nth-child(1) { color: #4285F4; } /* Google Blue */
.embryonest-logo span:nth-child(2) { color: #DB4437; } /* Google Red */
.embryonest-logo span:nth-child(3) { color: #F4B400; } /* Google Yellow */
.embryonest-logo span:nth-child(4) { color: #0F9D58; } /* Google Green */
.embryonest-logo span:nth-child(5) { color: #5c3f9e; } /* Purple */
.embryonest-logo span:nth-child(6) { color: #ff6d00; } /* Orange */
.embryonest-logo span:nth-child(7) { color: #4285F4; }
.embryonest-logo span:nth-child(8) { color: #DB4437; }
.embryonest-logo span:nth-child(9) { color: #F4B400; }
.embryonest-logo span:nth-child(10) { color: #0F9D58; }

/* Navigation Styling */
.navbar-nav .nav-link {
    font-weight: 500;
    color: #333;
    margin-right: 15px;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #0d6efd;
}

.dropdown-menu {
    border: none;
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,.15);
}

.dropdown-item:hover {
    background-color: #f8f9fa;
    color: #0d6efd;
}

.btn-primary {
    background-color: #5c3f9e; /* Custom button color */
    border-color: #5c3f9e;
    padding: 10px 25px;
    font-weight: 500;
    transition: background-color 0.3s, border-color 0.3s;
}

.btn-primary:hover {
    background-color: #4a3282;
    border-color: #4a3282;
}


/* Slider Styling */
.carousel-item {
    height: 600px; /* Adjust height as needed */
}

.carousel-item img {
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6); /* Darken image for better text readability */
}

.carousel-caption {
    bottom: 40%;
}

.carousel-caption h5 {
    font-size: 3rem;
    font-weight: 700;
}

.carousel-caption p {
    font-size: 1.2rem;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .top-bar .social-media {
        display: none; /* Hide social media on smaller screens */
    }
    .navbar-nav {
        margin-top: 15px;
    }
    .btn-primary {
        width: 100%;
        margin-top: 10px;
    }
    .carousel-item {
        height: 400px;
    }
    .carousel-caption h5 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .top-bar .contact-info {
        text-align: center;
        width: 100%;
    }
    .top-bar .contact-info a {
        display: block;
        margin-bottom: 5px;
    }
}

/* About Us Section Styling */
#about {
    background-color: #fff;
    overflow: hidden; /* Prevents decorative elements from breaking layout */
}

.about-image-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 450px; /* Control max size */
    margin: 0 auto;
}

/* Decorative circle behind the image */
.about-image-container::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px dashed #e10074; /* Dashed pink border */
    border-radius: 50%;
    transform: scale(1.15); /* Make it slightly larger than the image */
    z-index: 0;
}



.about-image-container img {
    position: relative;
    z-index: 1; /* Bring image to the front */
    width: 100%;
    height: auto;
}

.about-content h6 {
    font-weight: 600;
}

.text-secondary-pink {
    color: #e10074; /* The vibrant pink from the image */
}

.about-content h2 {
    color: #2c3e50; /* Dark blue/grey color for text */
    line-height: 1.2;
}

.btn-read-more {
    background-color: #e10074;
    color: white;
    border-radius: 50px;
    padding: 12px 25px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    border: none;
}

.btn-read-more:hover {
    background-color: #c70065;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(225, 0, 116, 0.3);
}

.btn-read-more .arrow-icon {
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin-left: 15px;
    font-size: 0.8rem;
}

/* Responsive adjustments for the About section */
@media (max-width: 991px) {
    .about-image-container {
        margin-bottom: 30px;
    }
    .about-content {
        text-align: center;
    }
}

@media (max-width: 576px) {
    .about-image-container::after {
        width: 120px;
        height: 120px;
        left: -40px;
    }

    .about-content h2 {
        font-size: 2.5rem; /* Adjust heading size for mobile */
    }
}

/* Our Treatments Section Styling */
.treatment-subtitle {
    color: #007bff;
    font-weight: 500;
}

.treatment-title {
    color: #343a40;
    font-weight: 700;
}

.title-divider {
    width: 50px;
    height: 3px;
    background-color: #007bff;
    margin-top: 1rem;
}

.treatment-card {
    display: flex;
    background-color: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.treatment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.treatment-card-image {
    flex: 0 0 45%;
}

.treatment-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.treatment-card-content {
    flex: 1;
    padding: 30px;
    background-color: #1c4b82; /* Adjusted blue to better match the reference */
    color: #fff;
    display: flex;
    flex-direction: column;
}

.treatment-card-content h4 {
    font-weight: 600;
    margin-bottom: 15px;
}

.treatment-card-content p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
}

.btn-know-more {
    background-color: #fff;
    color: #1c4b82;
    border-radius: 50px;
    padding: 10px 20px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
    align-self: flex-start;
}

.btn-know-more:hover {
    background-color: #f0f0f0;
    color: #1c4b82;
}

.btn-know-more i {
    transition: transform 0.3s ease;
}

.btn-know-more:hover i {
    transform: translateX(5px);
}

/* Responsive adjustments for the Treatments section */
@media (max-width: 991px) {
    .treatment-card {
        /* On medium screens, image can be smaller */
        flex-direction: column;
    }
}

@media (max-width: 767px) {
    .treatment-card {
        flex-direction: column; /* Stack image and content vertically on mobile */
    }

    .treatment-card-image {
        min-height: 200px;
    }
}

/* Why Choose Us Section Styling */
#why-choose-us {
    background-color: #f7f9f9;
    position: relative;
    overflow: hidden;
}

.why-choose-us-heading h1 {
    font-family: 'Georgia', 'Times New Roman', serif;
    color: #004651;
    font-size: 3.5rem;
    font-weight: 600;
}

.pregnancy-test-image {
    margin-top: 2rem;
}

.pregnancy-test-image img {
    max-width: 100%;
    height: auto;
}

/* Features List */
.features-list {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.feature-item {
    display: flex;
    align-items: flex-start; /* Align to the top */
    gap: 20px;
}

.feature-icon {
    flex-shrink: 0;
    width: 80px;
    height: 92px; /* Adjusted for hexagon aspect ratio */
    display: flex;
    justify-content: center;
    align-items: center;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.feature-icon svg {
    stroke: white;
    stroke-width: 1.5px;
}

/* Icon specific colors */
.icon-proven-results { background-color: #009ba9; }
.icon-affordable-care { background-color: #f9c445; }
.icon-personalized-approach { background-color: #f06a59; }

.feature-content h5 {
    color: #004651;
    font-weight: 600;
    font-size: 1.25rem;
}

.feature-content p {
    color: #555;
    margin: 0.5rem 0 1rem;
}

.feature-content a {
    color: #004651;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.feature-content a:hover {
    color: #009ba9;
}

.feature-content a i {
    font-size: 0.8em;
    margin-left: 5px;
    transition: transform 0.3s;
}

.feature-content a:hover i {
    transform: translateX(4px);
}

/* Responsive adjustments */
@media (max-width: 991px) {
    #why-choose-us {
        text-align: center;
    }
    .why-choose-us-heading h1 {
        font-size: 2.8rem;
    }
    .pregnancy-test-image {
        display: none; /* Hide image on tablet and mobile to save space */
    }
    .feature-item {
        flex-direction: column;
        align-items: center;
    }
    .feature-content {
        max-width: 400px;
    }
}

@media (min-width: 992px) {
    .pregnancy-test-image {
        position: absolute;
        bottom: -80px; /* Adjust to position the image correctly */
        left: 0;
        max-width: 300px; /* Control image size */
    }
}

/* Footer Section Styling */
.site-footer {
    background-color: #eaf6f9; /* Light blue background */
    color: #555;
    font-size: 0.95rem;
}

.footer-widget .widget-title {
    color: #333;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-logo {
    font-size: 1.8rem; /* Slightly smaller logo for footer */
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    text-decoration: none;
    color: #555;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #007bff; /* Primary blue on hover */
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.contact-info i {
    font-size: 1rem;
    color: #007bff;
    margin-right: 15px;
    margin-top: 4px;
    width: 20px;
    text-align: center;
}

.contact-info a {
    text-decoration: none;
    color: #555;
}

.contact-info a:hover {
    color: #007bff;
}

.footer-social-media a {
    color: #555;
    font-size: 1.2rem;
    transition: color 0.3s;
}

.footer-social-media a:hover {
    color: #007bff;
}

/* Sub Footer */
.sub-footer {
    background-color: #6dcff6; /* Brighter blue for the bottom bar */
    color: white;
    padding: 1rem 0;
}

/* Back to Top Button */
.back-to-top-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    display: none; /* Hidden by default */
    width: 40px;
    height: 40px;
    border-radius: 5px;
    background-color: #eaf6f9;
    color: #333;
    text-align: center;
    line-height: 40px;
    font-size: 1rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top-btn:hover {
    background-color: #6dcff6;
    color: #fff;
}

/* Services Showcase Section Styling */
#services-showcase .container {
    max-width: 1400px;
}

.service-card {
    position: relative;
    overflow: hidden;
    height: 450px; /* Define a fixed height */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.service-card:hover {
    transform: scale(1.03); /* Slight zoom on hover */
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.service-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.service-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(248, 249, 250, 0.9); /* Semi-transparent light background */
    backdrop-filter: blur(5px);
    padding: 20px;
    color: #333;
    transition: background-color 0.4s ease;
}

.service-card-content h6 {
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
}

.read-more-link {
    text-decoration: none;
    color: #555;
    font-weight: 500;
    font-size: 0.9rem;
    opacity: 0; /* Hidden by default */
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.service-card:hover .read-more-link {
    opacity: 1; /* Show on hover */
    transform: translateY(0);
}

.read-more-link span {
    display: inline-block;
    transition: transform 0.3s ease;
}

.service-card:hover .read-more-link span {
    transform: translateX(5px); /* Arrow animation */
}

/* Responsive adjustments for 5 columns */
/* On large screens (lg), we let Bootstrap's flexible .col-lg handle the 5-column layout */
@media (min-width: 992px) {
    .col-lg {
        flex-basis: 0;
        flex-grow: 1;
        max-width: 100%;
    }
}

/* On medium screens, stack to 2 columns */
@media (max-width: 991.98px) and (min-width: 768px) {
    .service-card {
        height: 350px;
    }
}

/* On small screens, stack to 1 column */
@media (max-width: 767.98px) {
    .service-card {
        height: 400px;
    }
}
/* CTA Section Styling */
#cta-section {
    position: relative;
    padding: 50px 0;
    background-image: url('./images/cat.jpg'); /* High-quality placeholder image */
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Creates a nice parallax effect */
    z-index: 1;
}

/* Dark Overlay */
.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Darkens the image */
    z-index: -1;
}

.cta-title {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 3.5rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 1rem;
}

.cta-text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    max-width: 650px; /* Constrains line length for readability */
    margin-left: auto;
    margin-right: auto;
}

.btn-cta {
    background-color: #beb8a8; /* Muted beige/taupe color */
    color: #333;
    padding: 15px 40px;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    border: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-cta:hover {
    background-color: #d1cbbd;
    color: #333;
    transform: translateY(-3px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .cta-title {
        font-size: 2.5rem;
    }
    .cta-text {
        font-size: 1rem;
    }
    #cta-section {
        padding: 80px 0;
        background-attachment: scroll; /* Parallax can be jittery on mobile */
    }
}




/* Main Contact Section Styling */
.contact-form-section {
    font-family: 'Poppins', sans-serif;
}

.contact-left-panel {
    background-color: #e4f3f8; /* Light blue background */
    padding: 6rem 4rem;
    position: relative;
    overflow: hidden;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-left-content {
    position: relative;
    z-index: 2;
}

.contact-subtitle {
    font-weight: 600;
    color: #555;
    letter-spacing: 1px;
}

.contact-title {
    font-family: 'Georgia', serif;
    font-size: 3.5rem;
    color: #333;
    font-weight: 500;
}

/* Circle Graphic Styling */
.circle-graphic {
    position: absolute;
    bottom: 20px;
    left: 40px;
    right: 40px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    z-index: 1;
}

.circle {
    width: 100%;
    padding-bottom: 100%; /* Creates a perfect circle aspect ratio */
    background-color: #89cdee;
    border-radius: 50%;
    opacity: 0.5;
}
.circle.bottom {
    background-color: #aedff4;
    opacity: 0.8;
}

/* Right Panel (Form) Styling */
.contact-right-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem;
}

.form-container {
    max-width: 600px;
    width: 100%;
}

.form-title {
    font-weight: 600;
    color: #333;
}

.form-intro {
    color: #666;
    margin-bottom: 2rem;
}

.form-label {
    font-weight: 500;
    color: #555;
    margin-bottom: 0.5rem;
}

.form-control, .form-select {
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 12px 15px;
}

.form-control:focus, .form-select:focus {
    border-color: #f59a65;
    box-shadow: 0 0 0 0.25rem rgba(245, 154, 101, 0.25);
}

.btn-submit {
    background-color: #f59a65; /* Orange/peach color */
    color: white;
    padding: 12px 35px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.btn-submit:hover {
    background-color: #e08953;
    color: white;
}


/* Information Bar Section */
.info-bar-section {
    background-color: #2d2d2d;
    color: #fff;
    padding: 4rem 0;
    background-image: url('https://www.transparenttextures.com/patterns/subtle-waves.png'); /* Subtle background pattern */
}

.info-label {
    color: #aaa;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.info-data {
    font-size: 1.25rem;
    font-weight: 500;
}

.info-data a {
    color: #fff;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
    transition: color 0.3s;
}

.info-data a:hover {
    color: #f59a65; /* Match button color */
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .contact-left-panel {
        min-height: auto;
        padding: 4rem 2rem;
        text-align: center;
    }
    .circle-graphic {
        position: relative;
        margin-top: 2rem;
        bottom: auto;
        left: auto;
        right: auto;
    }
    .contact-right-panel {
        padding: 4rem 2rem;
    }
    .contact-title {
        font-size: 2.5rem;
    }
}