﻿body{
/* font-family:'Open-sans',sans-serif;
font-size: 16px; */
font: 400 16px Lato,sans-serif;
line-height: 30px !important;
}
.logo {
    width: 120px;
    object-fit: cover;
    display: flex;
}
.bg-white h2{
    color:#9d174d;
}

html {
  scroll-behavior: smooth;
}
.custom-position {
    position: absolute;
    right: -11px;
    bottom: -16px;
    color: #fff;
    border-radius: 45px;
    height: 70px;
    width: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
}
.sub-meu {
    border-bottom: 1px solid #ccc;
}

.custom-menu a{
    background-color: #be185d;
    border-radius: 26px;
    padding: 8px;
        min-width: fit-content;
}
.list-disc a{
    color: #4f46e5;
}
.navigation-bg{
    background: linear-gradient(to bottom, #0418ab 0%, #3d0b54 95%, #000422 100%)
}
.custom-bg-hero {
    background: linear-gradient(280deg, #be185d 0%, #f472b6 100%);
}

.embryo-title{
    margin-bottom:6px;
}

.embryo-grid{
    grid-template-columns:1fr 1fr;
    grid-template-rows:auto auto;
    grid-template-areas:
        "image title"
        "image content";
    align-items:start;
}

.embryo-grid{
    display:grid;
    grid-template-columns:1fr;
    grid-template-areas:
        "title"
        "image"
        "content";
    row-gap:6px;
}
/* .embryo-title{ grid-area:title; } */
.embryo-image{ grid-area:image; margin-right: 0px;}
/* .embryo-content{ grid-area:content; } */
.embryo-title{
    align-self:end;
}

.embryo-content{
    align-self:start;
}





.implantation-grid{
     grid-template-columns:1fr 1fr;
    grid-template-rows:auto auto;
    grid-template-areas:
        "image title"
        "image content";
    align-items:start;
}

/* Mobile */
.implantation-grid{
    display:grid;
    grid-template-columns:1fr;
    grid-template-areas:
        "title"
        "image"
        "content";
    row-gap:6px;
}

.implantation-title{align-self:end;}
.implantation-image{grid-area:image; margin-left: 0px;}
.implantation-content{align-self:start;}


/* DEFAULT DESKTOP */
/* Layout */
.tabs-layout{
    display:grid;
    grid-template-columns:285px 1fr;
    gap:2rem;
}

/* Sticky sidebar */
.tabs-sidebar{
    position:sticky;
    top:120px; 
    height:max-content;   
    background: #fce7f3;
    padding: 10px;
    font-size: 14px;
    border: 1px solid #e5c9d9;
    border-radius: 10px;
}

.tabs-sidebar ul li {
    line-height: 30px;
    margin-bottom: 10px;
    padding: 5px;
    background-color: #e5c9d9;
    border-radius: 5px;
}
.tabs-sidebar ul li:hover{
    background-color: #db2777;
    color: #fff;
}
/* Content */
.tabs-content{
    width:100%;
}


.feature-card {
    display: block;
    border-radius: 16px;
    text-decoration: none;
    text-align: center;

    
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
    will-change: transform, opacity;
}


.feature-card.show {
    opacity: 1;
    transform: translateY(0);
}


.feature-card > div {
    transition: all 0.3s ease;
    border-bottom: 4px solid transparent;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
}


.feature-card:hover > div {
    transform: translateY(-6px);
    box-shadow:
        0 15px 30px rgba(0,0,0,0.12),
        0 0 20px rgba(236,72,153,0.15);
    filter: brightness(1.03);
}


.feature-card:active > div {
    transform: scale(0.97);
}

.feature-card.active > div {
    transform: translateY(-4px);
    box-shadow:
        0 10px 25px rgba(0,0,0,0.15),
        0 0 25px rgba(236,72,153,0.25);
}



.feature-card > div::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 2px;

    background: linear-gradient(120deg, transparent, transparent, transparent);

    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;

    opacity: 0;
    transition: all 0.4s ease;
}

.feature-card:hover > div::before {
    opacity: 1;
    background: linear-gradient(120deg, #ec4899, #f472b6, #ec4899);
}



.icon-circle {
    width: 60px;
    height: 60px;
    margin: 0 auto 16px;

    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 22px;
}



.feature-card:nth-child(1) > div {
    background: #fdf2f8;
    border-bottom: 4px solid #ec4899;
}
.feature-card:nth-child(1) .icon-circle {
    background: rgba(236,72,153,0.15);
    color: #ec4899;
}


.feature-card:nth-child(2) > div {
    background: #f0fdf4;
    border-bottom: 4px solid #22c55e;
}
.feature-card:nth-child(2) .icon-circle {
    background: rgba(34,197,94,0.15);
    color: #22c55e;
}


.feature-card:nth-child(3) > div {
    background: #eff6ff;
    border-bottom: 4px solid #3b82f6;
}
.feature-card:nth-child(3) .icon-circle {
    background: rgba(59,130,246,0.15);
    color: #3b82f6;
}


.feature-card:nth-child(4) > div {
    background: #fff7ed;
    border-bottom: 4px solid #f97316;
}
.feature-card:nth-child(4) .icon-circle {
    background: rgba(249,115,22,0.15);
    color: #f97316;
}


.feature-card:nth-child(5) > div {
    background: #faf5ff;
    border-bottom: 4px solid #a855f7;
}
.feature-card:nth-child(5) .icon-circle {
    background: rgba(168,85,247,0.15);
    color: #a855f7;
}


.feature-card:nth-child(6) > div {
    background: #f0fdfa;
    border-bottom: 4px solid #14b8a6;
}
.feature-card:nth-child(6) .icon-circle {
    background: rgba(20,184,166,0.15);
    color: #14b8a6;
}



.feature-card:nth-child(1) { transition-delay: 0.05s; }
.feature-card:nth-child(2) { transition-delay: 0.1s; }
.feature-card:nth-child(3) { transition-delay: 0.15s; }
.feature-card:nth-child(4) { transition-delay: 0.2s; }
.feature-card:nth-child(5) { transition-delay: 0.25s; }
.feature-card:nth-child(6) { transition-delay: 0.3s; }

/* ============================= */
/* PROCESS CARDS */
/* ============================= */

.process-card {
    border-radius: 16px;
    padding: 24px;
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(30px);

    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}


.process-card.show {
    opacity: 1;
    transform: translateY(0);
}


.process-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.08);
}



.process-card {
    border: 1px solid rgba(0,0,0,0.05);
}



.process-card:nth-child(1) {
    background: linear-gradient(135deg, #fdf2f8, #fff);
}

.process-card:nth-child(2) {
    background: linear-gradient(135deg, #f0fdf4, #fff);
}

.process-card:nth-child(3) {
    background: linear-gradient(135deg, #eff6ff, #fff);
}



.process-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 14px;

    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(236,72,153,0.1);
    color: #ec4899;
}


.process-icon svg {
    width: 22px;
    height: 22px;
}



.process-card:nth-child(1) { transition-delay: 0.05s; }
.process-card:nth-child(2) { transition-delay: 0.1s; }
.process-card:nth-child(3) { transition-delay: 0.15s; }


/* ============================= */
/* INFO CARDS */
/* ============================= */

.info-card {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    z-index:1;
}
.info-card a {
    position: relative;
    z-index: 2;
}
.info-card::before,
.info-card::after {
    pointer-events: none;
}
/* top gradient accent */
.info-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;


    background: linear-gradient(90deg, #ec4899, #f472b6);
}


.info-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(236,72,153,0.08), transparent 40%);
    opacity: 0;
    transition: 0.3s;
}


.info-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.info-card:hover::after {
    opacity: 1;
}

/* remove default bullets */
.info-card ul {
    list-style: none;
    padding-left: 0;
}

/* each item */
.info-card ul li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
}

/* custom icon bullet */
.info-card ul li::before {
    content: "✔";
    position: absolute;
    left: 0;
    top: 2px;

    font-size: 14px;
    font-weight: bold;

    color: #ec4899;
}

/* hover effect */
.info-card ul li:hover {
    transform: translateX(4px);
    transition: 0.2s;
}
.info-card a {
    text-decoration: none;
    color: #4f46e5;
}

.info-card a:hover {
    text-decoration: underline;
}


.image-badge {
    position: absolute;
    top: 8px;
    left: 10px;
    background: #c00f8a;
    color: #fff;
    border: 1px solid #e04899;
    padding: 6px;
    border-radius: 30px;
    height: 40px;
    width: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.icon-list li{
    display: flex;
    gap:10px;
    justify-content:flex-start;
    align-items:center;
    
}
.icon-list li svg{
    width:20px;
    height:20px;
    background:#ccc;
    border-radius:30px;
    padding:3px;
}
.ivf-icon {
    width: 42px;
    height: 42px;
    background: #e0f2fe;
    color: #0284c7;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(2, 132, 199, 0.15);
}

.ivf-icon svg {
    width: 20px;
    height: 20px;
}


.chat-container {
    max-width: 420px;
    margin: auto;
    height: 90vh;
    display: flex;
    flex-direction: column;
    background: #efeae2;
    overflow-y: auto;
    border-radius:15px;
    width:350px;
     background-image: url('/images/chat-bg.jpg');
    background-repeat: no-repeat;
    background-size: cover;

}
#assessmentModal{
    max-width:400px;
    width:100%;
}
.chat-header {
    background: #db2777;
    color: white;
    padding: 12px;
    font-weight: bold;
}

.chat-withus {
    width: fit-content;
    background: #254141;
    border-radius: 8px;
    padding: 5px;
    color: #fff;
    font-size: 12px;
    line-height: normal;
    margin-bottom: 15px;
}

.icon-btn {
    width: 150px;
    animation: floatUpDown 2s ease-in-out infinite;
}

.chat-icons {
    width: 100px;
    animation: floatUpDown 2s ease-in-out infinite;
       filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.5));
}

.chat-icons:hover {
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.5))
            drop-shadow(0 0 8px rgba(0, 150, 255, 0.6));
}

@keyframes floatUpDown {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px); /* move up */
    }
    100% {
        transform: translateY(0); /* back down */
    }
}
.chat-boat {
    position: fixed;
    right: 0;
    bottom: -25px;
    z-index:4;
}

.chat {
    flex: 1;
    overflow-y: auto;
    padding: 10px;
    scroll-behavior: smooth;
}

.bubble {
    max-width: 75%;
    padding: 10px 12px;
    margin: 6px;
    border-radius: 10px;
    position: relative;
    white-space: pre-wrap;
    animation: fadeIn 0.2s ease-in;
}

.user {
    background: #dcf8c6;
    margin-left: auto;
}

.bot {
    background: white;
    margin-right: auto;
}

.chat-input-area {
    display: flex;
    padding: 8px;
    background: #f0f0f0;
}

.chat-input {
    flex: 1;
    padding: 5px 15px;
    border-radius: 20px;
    border: 1px solid #075e54;
    outline: none;
}

.send-btn {
    background: #db2777;
    color: white;
    border: none;
    height:40px;
    width:40px;
    padding: 5px 5px;
    border-radius: 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left:10px;
}

.send-btn:hover {
    background: #db2777;
}

button {
    margin-left: 8px;
    padding: 10px 15px;
    border: none;
    background: #075e54;
    color: white;
    border-radius: 20px;
    cursor: pointer;
}

.section-title {
    font-weight: bold;
    margin-top: 8px;
}

.confidence {
    margin-top: 8px;
    padding: 6px;
    border-radius: 6px;
    font-size: 12px;
}

.high { background: #d4edda; }
.medium { background: #fff3cd; }
.low { background: #f8d7da; }

.cursor {
    display: inline-block;
    width: 8px;
    animation: blink 1s infinite;
}

@keyframes blink {
    0% { opacity: 0; }
    50% { opacity: 1; }
    100% { opacity: 0; }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}
@media (max-width:768px){
.chat-container {
    width:100%;
    height:99dvh;
}

    /* .tabs-layout{
        grid-template-columns:1fr;
    } */
    .tabs-layout{
        display:block; /* 🔥 THIS IS THE MAIN FIX */
    }

    .bg-white.border.border-pink-100.rounded-2xl.shadow-md{
        margin-top:20px;

    }

    .tabs-sidebar{
        position:fixed;
        top:0;
        left:0;
        width:100%;
        height:100vh;
        background:#fff;
        transform:translateX(-100%);
        transition:0.3s;
        z-index:999;
    }

    .tabs-sidebar.active{
        transform:translateX(0);
    }
    .tabs-content{
    margin-left: 0px;
}
}

/* DESKTOP */
@media (min-width:768px){


    /* .embryo-grid{
        grid-template-columns:1fr 1fr;
        grid-template-areas:
            "image title"
            "image content";

    }

    .implantation-grid{
        grid-template-columns:1fr 1fr;
        grid-template-areas:
            "title image"
            "content image";
    } */

     .embryo-grid{
        grid-template-columns:1fr 1fr;
        grid-template-areas:
            "image title"
            "image content";
        align-items:start;
    }
.embryo-image{ grid-area:image; margin-right: 20px;}
    .implantation-grid{
        grid-template-columns:1fr 1fr;
        grid-template-areas:
            "title image"
            "content image";
        align-items:start;
    }
.implantation-image{grid-area:image; margin-left: 20px;}
}

@layer base {

    a {
        @apply text-blue-600 underline;
    }

        a:hover {
            @apply text-blue-800;
        }
}


html {
    scroll-behavior: smooth;
}