/* ===================================
    Web Dynamic CSS
====================================== */
/* font */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200;300;400;500;600;700;800&display=swap');

/* variable */
:root {     
    --base-color: #18bcc7;  
    --alt-font: 'Manrope', sans-serif; 
    --primary-font: 'Manrope', sans-serif;
    --dark-gray: #303334;
    --red: #f45959;
    --medium-light-gray:#b4b4b4;
    --medium-gray:#848587;
    --white: #fff;
}

/* font */
.list-style-03 li:before {
    color: #fff !important;
}

/* box layout */
.box-layout {
    padding: 0 100px;
}
body{
    font-size: 17px;
    line-height: 30px;
    color: #010101;
}
/* header */
.navbar .navbar-nav .nav-link {
    font-weight: 700;
    font-size: calc(13px + (4 * (100vw / 1920)));
    padding-left: calc(8px + (6 * (100vw / 1920)));
    padding-right: calc(8px + (6 * (100vw / 1920)));
    padding-top: 10px;
    padding-bottom: 10px;
}
header .container-fluid {
    padding-left: 85px;
    padding-right: 85px;
}
.sticky-wrap.shadow-in {
    left: 31px;
}
header .navbar-brand img {
    /*max-height:40px;*/
    max-height:65px;
}

header .disable-fixed {
    /*position: absolute;*/
    position: fixed;
    background-color: #4eacab !important;
}


.header-light .navbar-nav .nav-link {
    color: #fff;
}

@media (max-width: 991px) {
    .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #4eacab;
    }
    /* Fix for hamburger icon positioning */
    .navbar .container-fluid {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
    }
    
    .navbar .col-auto.col-lg-3 {
        flex: 0 0 auto;
        width: auto;
        max-width: 70%; /* Allow logo to be smaller if needed */
    }
    
    .navbar .col-auto.col-lg-7.menu-order {
        flex: 0 0 auto;
        width: auto;
        position: relative;
        order: 2;
        margin-left: auto;
    }
    
    /* Override float-start for navbar-toggler only in mobile view */
    .navbar .navbar-toggler.float-start {
        float: none !important;
        margin-left: auto;
        background-color: rgba(255, 255, 255, 0.9);
        border-radius: 50%;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
        transition: all 0.3s ease;
        border: none;
        width: 48px;
        height: 48px;
        position: relative;
        padding: 0;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    /* Create a container for the hamburger lines to ensure perfect centering */
    .navbar .navbar-toggler::after {
        content: "";
        display: block;
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        border-radius: 50%;
    }
    
    /* Hamburger icon styling for better visibility and modern look */
    .navbar .navbar-toggler .navbar-toggler-line {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        display: block;
        width: 22px;
        height: 2px;
        background-color: #00838f;
        border-radius: 2px;
        transition: all 0.3s ease;
    }
    
    /* Position each line individually for perfect spacing */
    .navbar .navbar-toggler .navbar-toggler-line:nth-child(1) {
        top: calc(50% - 8px);
        transition: transform 0.3s ease, top 0.3s ease;
    }
    
    .navbar .navbar-toggler .navbar-toggler-line:nth-child(2) {
        top: calc(50% - 1px);
        transition: opacity 0.3s ease;
    }
    
    .navbar .navbar-toggler .navbar-toggler-line:nth-child(3) {
        top: calc(50% + 6px);
        transition: transform 0.3s ease, top 0.3s ease;
    }
    
    .navbar .navbar-toggler .navbar-toggler-line:nth-child(4) {
        display: none; /* Hide the fourth line as it's not needed */
    }
    
    /* X animation when menu is expanded */
    .navbar .navbar-toggler[aria-expanded="true"] .navbar-toggler-line:nth-child(1) {
        top: calc(50% - 1px);
        transform: translateX(-50%) rotate(45deg);
    }
    
    .navbar .navbar-toggler[aria-expanded="true"] .navbar-toggler-line:nth-child(2) {
        opacity: 0;
    }
    
    .navbar .navbar-toggler[aria-expanded="true"] .navbar-toggler-line:nth-child(3) {
        top: calc(50% - 1px);
        transform: translateX(-50%) rotate(-45deg);
    }
    
    /* Hover effect for the hamburger button */
    .navbar .navbar-toggler:hover {
        background-color: #fff;
        transform: scale(1.05);
    }
    
    /* Active state for the hamburger button */
    .navbar .navbar-toggler:active {
        transform: scale(0.95);
    }
}
/* bg color */
.bg-light-turquoise-blue {
    background-color: #edf9fa;
}
.bg-light-sea-green-transparent {
    background-color: rgba(22, 193, 204,0.8);
}
.bg-light-sea-green-transparent-light {
    background-color: rgba(22, 193, 204,0.15);
}
/* border color */
.border-color-transparent-dark-gray {
    border-color: rgba(39, 47, 48, 0.1) !important;
}
.border-color-red {
    border-color: var(--red) !important;
}
.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    margin-bottom: 25px;
}
/* btn */
.btn {
    text-transform: inherit;
    font-weight: 600;
    letter-spacing: 0px;
}
.btn.btn-extra-large {
    font-size: 18px;
}
.btn.btn-large {
    font-size:17px;
}
.btn.btn-medium {
    font-size: 16px;
}
.btn.btn-small {
    font-size: 15px;
}
.btn.btn-very-small {
    font-size: 14px;
}
.btn.btn-dark-gray:hover,
.btn.btn-dark-gray:active,
.btn.btn-transparent-light-gray:hover,
.btn.btn-transparent-light-gray:active,
.btn.btn-box-shadow.btn-base-color:hover,
.btn.btn-box-shadow.btn-base-color:active{
    background-color: var(--base-color);
    border-color: var(--base-color);
    color: var(--white);
}
.btn.btn-base-color:hover {
    background-color: var(--dark-gray);
    border-color: var(--dark-gray);
    color: var(--white);
}
/* page title */
.page-title-extra-large h2 {
    font-size: 17px;
    line-height: 20px;
    letter-spacing: 0px;
}
/* social media icon */
.social-icon-style-02 .small-icon li {
    margin: 0;
}
/* outside box right */ 
.outside-box-right-2 {
    margin-right: -2vw;
}
/* tab style 01 */
.tab-style-01 .nav-tabs .nav-link.show,
.tab-style-01 .nav-tabs .nav-link.active,
.tab-style-01 .nav-tabs .nav-link:hover {
    background-color: var(--base-color);
    color: var(--white);
}
.tab-style-01 .nav-tabs .nav-link {
    padding: 7px 29px;
    color: var(--dark-gray);
}
.tab-style-01 .nav-tabs > li.nav-item {
    padding: 0 13px;
}
/* time table */ 
.time-table-box .hover-detail {
    padding: 25px 30px;
}
/* accordion style 05 */
.accordion-style-05 .accordion-item {
    padding: 25px 35px 27px 75px;
}
/* footer */
footer .nav-link {
    color: var(--white);
}
.elements-social .light li a:hover {
    color: var(--base-color) !important;
}
footer .footer-logo img {
    max-height: 40px;
}
footer .elements-social ul li:last-child {
    margin-right: 0;
}
/* Doctor Biography Title Styling */
.p-avatar h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
    text-align: center;
}

.p-avatar h1:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--base-color);
    border-radius: 2px;
}

/* Doctor Profile Styling */
.doctor-profile-header {
    background: linear-gradient(145deg, #00838f, #006064);
    padding: 4.5rem 0;
    color: #ffffff;
    margin-top: 90px;
}

.doctor-info {
    padding-right: 2rem;
}

.badge-doctor {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.doctor-title {
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.2;
    color: #ffffff;
}

.doctor-specialty {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.doctor-position {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 12px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.doctor-position span {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
}

.doctor-position span:last-child {
    margin-bottom: 0;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

.doctor-feature-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.doctor-avatar-image {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: block;
}

.doctor-avatar-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

.doctor-feature-image-mobile {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
    width: 100%;
}

@media (max-width: 991px) {
    .doctor-profile-header {
        padding: 3.5rem 0;
    }

    .doctor-info {
        padding-right: 0;
        text-align: center;
        margin-bottom: 0;
        order: 2;
    }

    .doctor-feature-image {
        margin-bottom: 2rem;
        justify-content: center;
        order: 1;
        width: 100%;
    }

    .row.align-items-center {
        display: flex;
        flex-direction: column;
    }

    .doctor-avatar-image {
        width: 180px;
        height: 180px;
    }
}

@media (max-width: 768px) {
    .doctor-profile-header {
        padding: 3rem 0;
    }

    .doctor-feature-image {
        margin-bottom: 1.5rem;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .doctor-avatar-image {
        width: 100px;
        height: 100px;
        display: block;
    }

    .doctor-info {
        display: flex;
        flex-direction: column;
        text-align: center;
    }

    .badge-doctor {
        margin: 0 auto 2rem;
        font-size: 1rem;
        padding: 0.4rem 1.2rem;
    }
    
    .doctor-title {
        font-size: 2rem;
        margin-bottom: 0.8rem;
    }

    .doctor-specialty {
        font-size: 1.2rem;
        margin-bottom: 1.2rem;
    }

    .doctor-position {
        padding: 1.2rem;
        margin: 0 auto;
    }
}

.doctor-biography {
    background-color: #f8f9fa;
    padding: 4rem 0;
}

.bio-section-content {
    margin-bottom: 3rem;
    padding: 2.5rem 2.5rem 3.5rem;
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: box-shadow 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.bio-section-content:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

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

.bio-section-title {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(0,131,143,0.1);
    position: relative;
    text-align: center;
}

.bio-section-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 2px;
    background-color: #00838f;
}

.title-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.title-icon {
    font-size: 1.75rem;
    color: #00838f;
    opacity: 0.9;
}

.bio-section-title h4 {
    margin: 0;
    color: #2c3e50;
}

.bio-section-text {
    color: #2d3436;
    padding: 1rem 2rem;
}

.bio-section-text p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 1.05rem;
}

.bio-section-text p:last-child {
    margin-bottom: 0;
    padding-bottom: 1rem;
}

/* Unique background tints for each section */
.bio-section-content:nth-child(1) {
    background: linear-gradient(145deg, #ffffff, #f0f7fa);
}

.bio-section-content:nth-child(2) {
    background: linear-gradient(145deg, #ffffff, #f0faf5);
}

.bio-section-content:nth-child(3) {
    background: linear-gradient(145deg, #ffffff, #fff7f0);
}

.bio-section-content:nth-child(4) {
    background: linear-gradient(145deg, #ffffff, #f7f0fa);
}

.bio-section-content:nth-child(5) {
    background: linear-gradient(145deg, #ffffff, #f0f2fa);
}

.bio-section-content:nth-child(6) {
    background: linear-gradient(145deg, #ffffff, #faf0f4);
}

@media (max-width: 768px) {
    .bio-section-content {
        padding: 1.5rem 1.5rem 2.5rem;
        margin-bottom: 2rem;
    }
    
    .bio-section-text {
        padding: 0.75rem 1rem;
    }
    
    .bio-section-text p {
        font-size: 17px;
        line-height: 1.6;
        margin-bottom: 1.25rem;
    }
    
    .bio-section-text p:last-child {
        padding-bottom: 0.75rem;
    }
}

/* Biography Section Title Styles */
.bio-section-content {
    margin-bottom: 4rem;
    text-align: center;
    padding: 0 1rem;
}

.bio-section-title {
    text-align: center;
    margin-bottom: 2.5rem;
    padding: 1rem 0;
}

.bio-section-title .title-wrapper {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.bio-section-title .title-icon {
    font-size: 2rem;
    color: var(--base-color);
    background: rgba(24, 188, 199, 0.1);
    padding: 15px;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    margin-bottom: 0.5rem;
    box-shadow: 0 4px 15px rgba(24, 188, 199, 0.1);
}

.bio-section-title h4 {
    margin: 0;
    color: var(--dark-gray);
    font-size: 1.8rem;
    line-height: 1.4;
    font-weight: 600;
    padding: 0 1rem;
}

.bio-section-text {
    text-align: left;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1rem;
}

.bio-section-title:hover .title-icon {
    background: var(--base-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(24, 188, 199, 0.2);
}

@media (max-width: 768px) {
    .bio-section-content {
        margin-bottom: 3rem;
    }
    
    .bio-section-title {
        margin-bottom: 2rem;
    }
    
    .bio-section-title .title-icon {
        font-size: 1.5rem;
        width: 50px;
        height: 50px;
        padding: 12px;
    }
    
    .bio-section-title h4 {
        font-size: 21px;
    }
}

@media (max-width: 480px) {
    .bio-section-content {
        margin-bottom: 2.5rem;
    }
    
    .bio-section-title .title-icon {
        font-size: 1.3rem;
        width: 45px;
        height: 45px;
        padding: 10px;
    }
    
    .bio-section-title h4 {
        
    }
}

/* Biography Navigation */
.bio-nav-container {
    background-color: rgba(0, 131, 143, 0.06);
    padding: 1rem 0;
    position: sticky;
    top: 125px;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

@media (max-width: 767px){
    .bio-nav-container {
    top: 95px;
}


.bio-section-nav {
    margin: 0 auto;
}

.bio-section-select {
    border: 1px solid rgba(0, 131, 143, 0.3);
    background-color: white;
    color: #2d3436;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 1.05rem;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
    transition: all 0.2s ease;
    width: 100%;
}

.bio-section-select:focus {
    border-color: #00838f;
    box-shadow: 0 0 0 0.25rem rgba(0, 131, 143, 0.25);
}

@media (max-width: 768px) {
    .bio-section-select {
        font-size: 0.95rem;
        padding: 0.6rem 0.8rem;
    }
}

/* media query responsive */
@media (min-width: 768px){
    .page-title-extra-large h1 {
        font-size: 3.8rem;
        line-height: 3.8rem;
    }
}
@media (max-width: 1600px){
    .box-layout {
        padding: 0 60px;
    }
    .sticky-wrap.shadow-in {
        left: 10px;
    }
    header .container-fluid {
        padding-left: 45px;
        padding-right: 45px;
    }
}
@media (max-width: 1400px){
    footer .nav-link {
        padding-left: .75rem;
        padding-right: .75rem;
    }
}
@media (max-width: 1199px){
    .box-layout {
        padding: 0 0;
    }
    .navbar .navbar-nav .nav-link {
        padding-left: 18px;
        padding-right: 18px;
    }
    header .btn.btn-switch-text.btn-small > span {
        padding: 8px 10px;
    }

    .tab-style-01 .nav-tabs > li.nav-item {
        padding: 0 8px;
    }
    header .navbar [class*=col-] {
        padding: 0px;
    }
    .time-table-box {
        padding-left: 5px;
        padding-right: 5px;
    }
}
@media (max-width: 991px){
    .tab-style-01 .nav-tabs .nav-link {
        padding: 5px 25px;
    }

    .time-schedule-scroll {
        overflow-x: auto;
        overflow-y: hidden;
    }

    .time-schedule-scroll .time-schedule-min-width {
        min-width: 1050px;
    }
    .tab-style-01 .nav-tabs > li.nav-item {
        padding: 0 4px;
    }
    header .navbar [class*=col-] {
        padding: 0 15px;
    }
}
@media (max-width: 767px){
    .accordion-style-05 .accordion-item .number {
        top: 13px;
    }
}

.bg-nikolaou {
    background-color: #4eacab;
}


.contact-header-nikolaou {
    background-color: #fff;
    padding: 10px;
    text-align: center;
    margin: 0 40px;
}

/* Text shadow for better contrast on images */
.text-shadow {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Specific styles for aisthitiki.html checklist */
.aisthitiki-checklist {
    text-align: left;
    padding-left: 0;
}

.no-underline {
    border-bottom: none !important;
    text-decoration: none !important;
}

.aisthitiki-checklist li.no-underline {
    padding-bottom: 0;
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
}

.aisthitiki-checklist li.no-underline i {
    margin-right: 10px;
    margin-top: 5px;
}

/* Specific styles for treatment boxes in aisthitiki.html */
.aisthitiki-treatments .feature-box {
    height: 280px;
    display: flex;
    flex-direction: column;
    padding: 35px !important;
    text-align: center;
}

.aisthitiki-treatments .feature-box .feature-box-icon {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.aisthitiki-treatments .feature-box .feature-box-content {
    flex-grow: 1;
    text-align: center;
}

/* Specific styles for therapies section in aisthitiki.html */
.aisthitiki-therapies .d-flex {
    padding: 30px !important;
    height: 100%;
    text-align: center;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
}

.aisthitiki-therapies .col {
    margin-bottom: 25px;
    display: flex;
}

.aisthitiki-therapies .col > div {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.aisthitiki-therapies .therapy-photo-container {
    width: 100%;
    text-align: center;
    overflow: hidden;
    border-radius: 8px;
    margin-top: 15px;
}

.aisthitiki-therapies .therapy-photo {
    height: 240px;
    width: 100%;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

.aisthitiki-therapies .flex-shrink-0 {
    margin-right: 0 !important;
    margin-bottom: 0 !important;
}

.aisthitiki-therapies h5 {
    text-align: center;
    margin-bottom: 15px;
}

.aisthitiki-therapies p {
    text-align: center;
    flex-grow: 1;
}

/* Custom background for aisthitiki therapies section */
.aisthitiki-therapies-section {
    background: linear-gradient(135deg, rgba(238, 248, 248, 1) 0%, rgba(226, 245, 246, 1) 100%) !important;
    position: relative;
    overflow: hidden;
}

.aisthitiki-therapies-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../../images/demo-medical-pattern.svg');
    background-size: 350px;
    opacity: 0.03;
    pointer-events: none;
}

/* Custom class for sticky navigation */
.nav-sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

/* Prenatal Examination Cards Styling - Completely revised */
.prenatal-exams-grid .col-md-6 {
    padding-left: 20px;
    padding-right: 20px;
}

.prenatal-exam-card {
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    padding: 30px;
}

.prenatal-exam-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* New icon wrapper styles */
.exam-icon-wrapper {
    width: 80px;
    height: 80px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    margin: 0 auto 20px;
}

.exam-icon-wrapper i {
    font-size: 32px;
    color: #00838f;
}

/* Clear all previous styles that might be conflicting */
.prenatal-exams-grid .prenatal-exam-icon-container,
.prenatal-exams-grid .feature-box-icon,
.prenatal-exams-grid .feature-box-icon-container,
.prenatal-exams-grid .prenatal-exam-icon {
    display: none;
}

/* Override any remaining conflicting position styles */
.prenatal-exam-card .exam-icon-wrapper {
    position: static;
    top: auto;
    left: auto;
    transform: none;
}

/* Custom section spacing control */
.section-overlap-top {
    /*margin-top: -160px; /* Increased negative margin for more overlap */
    padding-top: 50px; /* Add some padding at the top to prevent content overlap */
    position: relative;
    z-index: 1;
}

/* Ensure content in overlap sections stays visible */
.section-overlap-top .container {
    position: relative;
    z-index: 2;
}


@media (max-width: 991px) {
  header.sticky .navbar-nav .nav-link {
    color: #fff;
  }
}