/********** Template CSS **********/
:root {
    /* Cores personalizadas */
    --primary: #E39587;
    --light: #F5E2D3;    /* Cor de fundo do site */
    --dark: #103741;
    
    /* Sobrescrever variáveis do Bootstrap 5 */
    --bs-primary: #E39587;
    --bs-primary-rgb: 227, 149, 135;
    --bs-btn-bg: #E39587;
    --bs-btn-border: #E39587;
    --bs-btn-hover-bg: #BA7A57;
    --bs-btn-hover-border: #BA7A57;
    --bs-btn-active-bg: #BA7A57;
    --bs-btn-active-border: #BA7A57;
    --bs-btn-disabled-bg: #E39587;
    --bs-btn-disabled-border: #E39587;
    --bs-link-color: #E39587;
    --bs-link-hover-color: #BA7A57;
}

html, body {
    overflow-x: hidden !important;
}

body {
    background-color: var(--light);
    position: relative;
}

/*** Navbar Brand ***/
.navbar-brand h1 {
    color: var(--primary) !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 50px;
}


/*** Heading ***/
h1,
h2,
h3,
h4,
.h1,
.h2,
.h3,
.h4,
.display-1,
.display-2,
.display-3,
.display-4,
.display-5,
.display-6 {
    font-family: 'Lobster Two', cursive;
    font-weight: 700;
}

h5,
h6,
.h5,
.h6 {
    font-weight: 600;
}

.font-secondary {
    font-family: 'Lobster Two', cursive;
}


/*** Navbar ***/
.navbar .navbar-nav .nav-link {
    padding: 30px 15px;
    color: var(--dark);
    font-weight: 500;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 5px;
    transition: .5s;
}

.navbar .dropdown-toggle[aria-expanded=true]::after {
    transform: rotate(-180deg);
}

@media (max-width: 991.98px) {
    .navbar {
        padding: 10px 15px !important;
    }
    
    .navbar-brand {
        flex: 0 0 auto !important;
        max-width: 70% !important;
        margin: 0 !important;
    }
    
    .navbar-brand h1 {
        font-size: 1.7rem !important;
        white-space: nowrap !important;
        margin: 0 !important;
    }
    
    .navbar-brand img {
        height: 48px !important;
        margin-right: 10px !important;
    }
    
    .navbar-toggler {
        flex: 0 0 auto !important;
        margin-left: auto !important;
    }
    
    .navbar-toggler {
        flex: 0 0 32px !important;
        max-width: 32px !important;
        margin: 0 !important;
        padding: 5px 6px !important;
        background-color: var(--primary) !important;
        border: none !important;
        border-radius: 5px !important;
    }
    
    .navbar-toggler-icon {
        width: 18px !important;
        height: 18px !important;
        background-size: contain !important;
    }
    
    .navbar-collapse {
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        right: 0 !important;
        background: white !important;
        z-index: 1000;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1) !important;
        margin-top: 5px !important;
        border-radius: 0 0 8px 8px !important;
        text-align: center !important;
    }
    
    .navbar-collapse .navbar-nav {
        margin-top: 15px !important;
        border-top: 1px solid #EEEEEE !important;
        text-align: center !important;
    }
    
    .navbar-collapse .nav-item {
        margin-right: 0 !important;
        padding: 10px 0 !important;
        text-align: center !important;
    }
    
    .navbar-collapse .nav-link {
        padding: 10px 0 !important;
        color: var(--dark) !important;
        display: inline-block !important;
        text-align: center !important;
    }
    
    .navbar-collapse .nav-link:hover,
    .navbar-collapse .nav-link:focus {
        color: var(--primary) !important;
    }
    
    .navbar-collapse .lang-toggle-btn {
        display: inline-block !important;
        margin: 10px auto 15px auto !important;
        padding: 8px 20px !important;
        color: white !important;
        background: var(--primary) !important;
        border-radius: 25px !important;
        font-weight: 600 !important;
    }
    
    .navbar-collapse .lang-toggle-btn:hover {
        background: #BA7A57 !important;
        color: white !important;
    }
    
    .d-none.d-lg-block.lang-toggle-btn {
        display: none !important;
    }
}

@media (max-width: 576px) {
    .navbar-brand h1 {
        font-size: 1.5rem !important;
    }
    
    .navbar-brand img {
        height: 42px !important;
        margin-right: 8px !important;
    }
}

/*** Header ***/
.header-carousel::before,
.page-header::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 10px;
    top: 0;
    left: 0;
    background: url(../img/bg-header-top.png) center center repeat-x;
    z-index: 1;
}

@media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        position: relative;
        min-height: 500px;
    }
    
    .header-carousel .owl-carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .header-carousel .owl-carousel-item p {
        font-size: 16px !important;
        font-weight: 400 !important;
    }

    .header-carousel .owl-carousel-item h1 {
        font-size: 30px;
        font-weight: 600;
    }
}

.header-carousel .owl-nav {
    position: absolute;
    top: 50%;
    right: 8%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    margin: 7px 0;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: transparent;
    border: 1px solid #FFFFFF;
    border-radius: 45px;
    font-size: 22px;
    transition: .5s;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.page-header {
    background: linear-gradient(rgba(0, 0, 0, .2), rgba(0, 0, 0, .2)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, .5);
}

/* Page Header Breadcrumb Alignment */
.page-header .breadcrumb {
    justify-content: flex-start !important;
}


/*** Facility ***/
.facility-item .facility-icon {
    position: relative;
    margin: 0 auto;
    width: 100px;
    height: 100px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.facility-item .facility-icon::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, .9);
    transition: .5s;
    z-index: 1;
}

.facility-item .facility-icon span {
    position: absolute;
    content: "";
    width: 15px;
    height: 30px;
    top: 0;
    left: 0;
    border-radius: 50%;
}

.facility-item .facility-icon span:last-child {
    left: auto;
    right: 0;
}

.facility-item .facility-icon i {
    position: relative;
    z-index: 2;
}

.facility-item .facility-text {
    position: relative;
    min-height: 250px;
    padding: 30px;
    border-radius: 100%;
    display: flex;
    text-align: center;
    justify-content: center;
    flex-direction: column;
}

.facility-item .facility-text::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, .9);
    transition: .5s;
    z-index: 1;
}

.facility-item .facility-text * {
    position: relative;
    z-index: 2;
}

.facility-item:hover .facility-icon::before,
.facility-item:hover .facility-text::before {
    background: transparent;
}

.facility-item * {
    transition: .5s;
}

.facility-item:hover * {
    color: #FFFFFF !important;
}


/*** About ***/
.about-img img {
    transition: .5s;
}

.about-img img:hover {
    background: var(--primary) !important;
}

.founder-info {
    text-align: left;
    padding-left: 0;
}

.founder-name {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary);
    font-family: 'Lobster Two', cursive;
    margin-bottom: 5px;
}

.founder-role {
    font-size: 1rem;
    color: var(--dark);
    font-weight: 500;
    margin-bottom: 0;
}

/*** About Section - Responsive Images ***/
/* Tablet and Mobile: Fix overlapping images issue */
@media (max-width: 991.98px) {
    .about-img .row {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15px;
        margin-top: 20px;
    }
    
    .about-img .col-12,
    .about-img .col-6 {
        width: 100%;
        max-width: 400px;
        margin: 0 !important;
        padding: 0 15px;
    }
    
    .about-img img {
        width: 100% !important;
        max-width: 300px;
        height: auto;
        border-radius: 50% !important;
    }
}

@media (max-width: 576px) {
    .about-img {
        margin-top: 30px;
    }
    
    .about-img .row {
        gap: 12px;
    }
    
    .about-img img {
        max-width: 250px;
    }
    
    .founder-info {
        text-align: center;
        padding-left: 0;
    }
    
    .founder-name {
        font-size: 1.4rem;
    }
    
    .founder-role {
        font-size: 0.95rem;
    }
}


/*** Classes ***/
.classes-item {
    transition: .5s;
}

.classes-item:hover {
    margin-top: -10px;
}





/*** Testimonial ***/
.testimonial-carousel {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

@media (min-width: 576px) {
    .testimonial-carousel {
        padding-left: 4rem;
        padding-right: 4rem;
    }
}

.testimonial-carousel .testimonial-item .border {
    border: 1px dashed rgba(0, 185, 142, .3) !important;
}

.testimonial-carousel .owl-nav {
    position: absolute;
    width: 100%;
    height: 45px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    z-index: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    position: relative;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 45px;
    font-size: 20px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: #BA7A57;
}

/*** Testimonial Author Card - Responsive ***/
.testimonial-carousel .testimonial-author {
    flex-wrap: wrap;
    padding: 15px;
    position: relative;
}

/* Testimonial Image - Force Circular */
.owl-carousel.testimonial-carousel .testimonial-item .testimonial-author img.testimonial-img {
    width: 90px !important;
    height: 90px !important;
    min-width: 90px !important;
    min-height: 90px !important;
    max-width: 90px !important;
    max-height: 90px !important;
    flex-shrink: 0 !important;
    flex-grow: 0 !important;
    object-fit: cover !important;
    object-position: center !important;
    border-radius: 50% !important;
    clip-path: circle(50% at 50% 50%) !important;
    overflow: hidden !important;
    display: block !important;
    shape-outside: circle(50% at 50% 50%) !important;
}

.testimonial-carousel .testimonial-author > div {
    flex: 1;
    min-width: 150px;
}

.testimonial-carousel .testimonial-quote {
    position: absolute;
    right: 15px;
    bottom: 15px;
}

/* Mobile adjustments for testimonials */
@media (max-width: 575.98px) {
    .owl-carousel.testimonial-carousel .testimonial-item .testimonial-author img.testimonial-img {
        width: 60px !important;
        height: 60px !important;
        min-width: 60px !important;
        min-height: 60px !important;
        max-width: 60px !important;
        max-height: 60px !important;
        object-fit: cover !important;
        object-position: center !important;
        border-radius: 50% !important;
        clip-path: circle(50% at 50% 50%) !important;
    }
    
    .testimonial-carousel .testimonial-author {
        padding: 10px;
        border-radius: 25px 0 0 25px !important;
    }
    
    .testimonial-carousel .testimonial-author h3 {
        font-size: 1rem !important;
    }
    
    .testimonial-carousel .testimonial-author span {
        font-size: 0.85rem !important;
    }
    
    .testimonial-carousel .testimonial-quote {
        font-size: 1.5rem !important;
        position: relative;
        right: auto;
        bottom: auto;
        margin-left: auto;
        margin-top: 10px;
    }
    
    .testimonial-carousel .testimonial-item {
        padding: 1.5rem !important;
    }
    
    .testimonial-carousel .testimonial-item p {
        font-size: 0.95rem !important;
    }
}

.gallery-carousel .owl-nav {
    position: absolute;
    width: 100%;
    height: 45px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    z-index: 1;
    pointer-events: none; /* Allow clicks to pass through container */
}

.gallery-carousel .owl-nav .owl-prev,
.gallery-carousel .owl-nav .owl-next {
    position: relative;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 45px;
    font-size: 20px;
    transition: .5s;
    pointer-events: auto; /* Re-enable clicks on buttons */
}

.gallery-carousel .owl-nav .owl-prev:hover,
.gallery-carousel .owl-nav .owl-next:hover {
    background: #BA7A57;
}


/*** Values ***/
.value-item {
    transition: .5s;
    border-radius: 10px;
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
}

.value-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 45px rgba(0, 0, 0, .15);
}

.value-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80px;
    width: 80px;
    margin: 0 auto;
    background: rgba(227, 149, 135, 0.1);
    border-radius: 50%;
}

.value-item h3 {
    color: var(--dark);
    font-weight: 600;
}

.value-item p {
    color: #666;
    line-height: 1.6;
}


/*** Team ***/
/*** Team ***/
.team-item {
    background: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    transition: .5s;
    text-align: center;
    overflow: hidden; /* Ensure image respects border radius and text overlay stays inside */
    position: relative; /* Ensure text can be absolute positioned relative to this */
    padding: 0; /* Remove padding so image fills the card */
}

.team-item:hover {
    background: var(--primary);
}

.team-item img {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 0; /* Remove bottom margin */
    transition: .5s;
}

.team-item:hover img {
    opacity: 0.8; /* Slight fade on hover */
}

.team-item .team-text {
    position: absolute;
    width: 100%;
    bottom: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.9); /* White background with slight transparency */
    padding: 20px;
    transition: .5s;
    border-top: 1px solid rgba(0,0,0,0.05); /* Subtle separator */
}

.team-item:hover .team-text {
    background: var(--primary);
    border-color: var(--primary);
}

.team-item h3 {
    margin-bottom: 5px;
    transition: .5s;
    color: var(--dark);
}

.team-item p {
     margin-bottom: 10px;
     color: #555;
     transition: .5s;
}

.team-item:hover h3,
.team-item:hover p {
    color: #FFFFFF !important;
}

.team-item .btn {
    color: var(--primary);
    background: #FFFFFF;
    margin-top: 5px;
}


/*** Footer ***/
.footer .btn.btn-social {
    margin-right: 5px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 45px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    border-color: var(--primary);
    background: var(--primary);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    font-size: 16px;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--primary) !important;
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .form-control {
    border-color: rgba(255,255,255,0.5);
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: #FFFFFF;
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, .1);
}

.footer .copyright a:hover,
.footer .footer-menu a:hover {
    color: var(--primary) !important;
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}


/*** Hero Section - Botão Escuro ***/
/* Altera apenas o botão btn-dark no carousel para a cor do footer */
.header-carousel .btn-dark {
    background-color: #BA7A57 !important;
    border-color: #BA7A57 !important;
}

.header-carousel .btn-dark:hover,
.header-carousel .btn-dark:focus,
.header-carousel .btn-dark:active {
    background-color: #A06A4C !important;
    border-color: #A06A4C !important;
}

/*** FAQ Accordion Styles ***/
/* Substituir cores do accordion do Bootstrap para usar tons de coral */
.accordion-button:not(.collapsed) {
    background-color: #E39587 !important;
    color: #FFFFFF !important;
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.125);
}

.accordion-button:focus {
    border-color: #ffae9b !important;
    box-shadow: 0 0 0 0.25rem rgba(227, 149, 135, 0.25) !important;
}

.accordion-item {
    border: 1px solid rgba(0, 0, 0, 0.125) !important;
    border-radius: 10px !important;
    margin-bottom: 10px !important;
    overflow: hidden !important;
}

.accordion-button {
    border-radius: 10px 10px 0 0 !important;
    font-weight: 500 !important;
    color: #103741 !important;
}

.accordion-collapse {
    border-top: 1px solid rgba(0, 0, 0, 0.125) !important;
}

.accordion-body {
    background-color: #FFFFFF !important;
    color: #74787C !important;
    padding: 1rem 1.25rem !important;
}

/* Estilo para o ícone do accordion */
.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23103741'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e") !important;
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23FFFFFF'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e") !important;
}

/*** Team Carousel Navigation ***/
/* Keep carousel contained but add padding for arrows - same as gallery */
.team-carousel.owl-carousel {
    padding: 0 60px !important;
}

/* Navigation arrows positioned at edges of carousel - same as gallery */
.team-carousel .owl-nav {
    position: absolute;
    width: 100%;
    height: 45px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    display: flex !important;
    justify-content: space-between;
    z-index: 1000;
    pointer-events: none;
}

.team-carousel .owl-nav .owl-prev,
.team-carousel .owl-nav .owl-next {
    position: relative;
    width: 45px;
    height: 45px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    color: #FFFFFF !important;
    background: var(--primary) !important;
    border-radius: 45px;
    font-size: 20px;
    transition: .5s;
    pointer-events: auto;
    cursor: pointer;
}

.team-carousel .owl-nav .owl-prev:hover,
.team-carousel .owl-nav .owl-next:hover {
    background: #BA7A57 !important;
}

/* Dots navigation */
.team-carousel .owl-dots {
    display: flex !important;
    justify-content: center;
    margin-top: 20px;
    gap: 8px;
}

.team-carousel .owl-dots .owl-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(227, 149, 135, 0.3) !important;
    transition: .3s;
}

.team-carousel .owl-dots .owl-dot.active {
    background: var(--primary) !important;
    width: 30px;
    border-radius: 5px;
}

/* Hide arrows on very small screens */
@media (max-width: 576px) {
    .team-carousel .owl-nav {
        display: none !important;
    }
    
    .team-carousel.owl-carousel {
        padding: 0 10px !important;
    }
}

/*** Babysitters Page - Horizontal Cards (Stacked) ***/
.babysitter-card {
    background: #FFFFFF;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.babysitter-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.babysitter-photo-wrapper {
    position: relative;
    flex-shrink: 0;
}

.babysitter-photo {
    width: 220px;
    height: 220px;
    object-fit: cover;
    object-position: top center;
    border-radius: 12px;
    border: 4px solid var(--primary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.founder-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #fff;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.5);
    border: 3px solid #fff;
    z-index: 2;
}

.babysitter-content {
    flex: 1;
    padding: 10px 0;
}

.babysitter-name {
    color: var(--dark);
    font-family: 'Lobster Two', cursive;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.role-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), #BA7A57);
    color: #fff;
    padding: 6px 18px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.babysitter-bio {
    color: #666;
    line-height: 1.7;
    font-size: 0.95rem;
    text-align: left;
    margin-bottom: 12px;
}

.babysitter-bio:last-child {
    margin-bottom: 0;
}

/* Desktop: Horizontal layout with flex */
@media (min-width: 991.98px) {
    .babysitter-card .d-flex {
        flex-direction: row !important;
        align-items: flex-start !important;
        gap: 30px !important;
        padding: 25px;
    }
    
    .babysitter-photo-wrapper {
        flex-shrink: 0;
    }
    
    .babysitter-photo {
        width: 200px;
        height: 200px;
    }
    
    .babysitter-content {
        padding: 5px 0;
    }
}

/* Tablet and Mobile: Vertical layout */
@media (max-width: 991.98px) {
    .babysitter-card .d-flex {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        padding: 25px 20px !important;
        gap: 20px !important;
    }
    
    .babysitter-photo {
        width: 180px;
        height: 180px;
    }
    
    .founder-badge {
        width: 40px;
        height: 40px;
        font-size: 18px;
        top: 5px;
        right: 5px;
    }
    
    .babysitter-content {
        padding: 10px 0 5px 0;
    }
    
    .babysitter-bio {
        text-align: center !important;
    }
    
    .babysitter-name {
        font-size: 1.4rem;
    }
}

@media (max-width: 576px) {
    .babysitter-card .d-flex {
        padding: 20px 15px !important;
        gap: 15px !important;
    }
    
    .babysitter-photo {
        width: 150px;
        height: 150px;
    }
    
    .babysitter-name {
        font-size: 1.25rem;
    }
    
    .role-badge {
        font-size: 0.8rem;
        padding: 5px 14px;
    }
    
    .babysitter-bio {
        font-size: 0.9rem;
    }
}

