/* ===== DENTAL CLINIC HOMEPAGE - EXACT DESIGN MATCH ===== */

:root {
    --primary-color: #00BCD4;
    --primary-dark: #0097A7;
    --secondary-color: #00838F;
    --text-dark: #333333;
    --text-light: #666666;
    --bg-light: #F5F5F5;
    --white: #FFFFFF;
    --border-color: #E0E0E0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
}

/* ===== COMMON STYLES ===== */
.section-title {
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
    text-transform: uppercase;
}

.title-divider {
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    margin: 0 auto 15px;
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-light);
}

section {
    padding: 60px 0;
}

.bg-light {
    background: var(--bg-light);
}

/* ===== HERO BANNER ===== */
.hero-banner {
    padding: 80px 0;
    background: linear-gradient(135deg, #E0F7FA 0%, #FFFFFF 100%);
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.2;
    margin-bottom: 15px;
}

.hero-title .highlight {
    color: var(--primary-color);
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-light);
    margin-bottom: 30px;
}

.hero-features {
    margin-bottom: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 16px;
}

.feature-item i {
    color: var(--primary-color);
    margin-right: 10px;
    font-size: 20px;
}

.hero-image img {
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* ===== ABOUT SECTION ===== */
.about-section {
    padding: 60px 0;
}

.about-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    height: 100%;
}

.about-card:hover {
    transform: translateY(-10px);
}

.about-image {
    overflow: hidden;
    height: 200px;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.about-card:hover .about-image img {
    transform: scale(1.1);
}

.about-content {
    padding: 25px;
}

.about-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.about-content p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 15px;
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: var(--primary-dark);
}

.read-more i {
    margin-left: 5px;
}

/* ===== TEAM SECTION ===== */
.team-section {
    padding: 60px 0;
}

.team-image-large img {
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.team-info h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.team-position {
    font-size: 16px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.team-description p {
    font-size: 15px;
    color: var(--text-light);
    margin-bottom: 20px;
}

.team-achievements {
    list-style: none;
    padding: 0;
}

.team-achievements li {
    padding: 10px 0;
    font-size: 15px;
    color: var(--text-dark);
}

.team-achievements li i {
    color: var(--primary-color);
    margin-right: 10px;
}

/* ===== SERVICES SECTION ===== */
.services-section {
    padding: 60px 0;
}

.service-card-horizontal {
    display: flex;
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    height: 100%;
}

.service-card-horizontal:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.service-card-horizontal .service-image {
    flex: 0 0 40%;
    overflow: hidden;
}

.service-card-horizontal .service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card-horizontal:hover .service-image img {
    transform: scale(1.1);
}

.service-card-horizontal .service-content {
    flex: 1;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-card-horizontal .service-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.service-card-horizontal .service-content p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 20px;
}

/* ===== PROCESS SECTION ===== */
.process-section {
    padding: 60px 0;
}

.process-step {
    text-align: center;
    padding: 30px 20px;
    position: relative;
}

.step-number {
    position: absolute;
    top: 0;
    right: 20px;
    font-size: 48px;
    font-weight: 700;
    color: rgba(0, 188, 212, 0.1);
}

.step-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.step-icon i {
    font-size: 32px;
    color: var(--white);
}

.process-step h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.process-step p {
    font-size: 14px;
    color: var(--text-light);
}

/* ===== GALLERY SECTION ===== */
.gallery-section {
    padding: 60px 0;
}

.gallery-item {
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials-section {
    padding: 60px 0;
}

.testimonial-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    height: 100%;
}

.testimonial-avatar img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    margin-bottom: 20px;
}

.rating {
    margin-bottom: 15px;
}

.rating i {
    color: #FFC107;
    font-size: 16px;
}

.testimonial-text {
    font-size: 14px;
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 20px;
}

.customer-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.customer-position {
    font-size: 14px;
    color: var(--text-light);
}

/* ===== DOCTOR PROFILE SECTION ===== */
.doctor-profile-section {
    padding: 60px 0;
}

.doctor-image img {
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.doctor-info h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.doctor-title {
    font-size: 16px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.doctor-bio p {
    font-size: 15px;
    color: var(--text-light);
    margin-bottom: 20px;
}

.doctor-qualifications {
    list-style: none;
    padding: 0;
}

.doctor-qualifications li {
    padding: 10px 0;
    font-size: 15px;
    color: var(--text-dark);
}

.doctor-qualifications li i {
    color: var(--primary-color);
    margin-right: 10px;
}

.doctor-team h4 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.team-members {
    display: flex;
    gap: 15px;
}

.team-member img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border: 3px solid var(--primary-color);
}

/* ===== CERTIFICATES SECTION ===== */
.certificates-section {
    padding: 60px 0;
}

.certificate-card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.certificate-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.certificate-card:hover img {
    transform: scale(1.1);
}

.certificate-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 188, 212, 0.9);
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.certificate-card:hover .certificate-overlay {
    transform: translateY(0);
}

.certificate-overlay h5 {
    color: var(--white);
    font-size: 16px;
    font-weight: 700;
    margin: 0;
}

/* ===== FAQ SECTION ===== */
.faq-section {
    padding: 60px 0;
}

.faq-image img {
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.faq-list {
    margin-top: 30px;
}

.faq-item {
    /* background: var(--white); */
    /* border: 1px solid var(--border-color); */
    /* border-radius: 10px; */
    /* margin-bottom: 15px; */
    /* overflow: hidden; */
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: var(--bg-light);
}

.faq-question h5 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

.faq-question i {
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 20px 20px;
    font-size: 14px;
    color: var(--text-light);
    margin: 0;
}

/* ===== NEWS SECTION ===== */
.news-section {
    padding: 60px 0;
}

.news-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    height: 100%;
}

.news-card:hover {
    transform: translateY(-10px);
}

.news-image {
    position: relative;
    overflow: hidden;
    /* height: 200px; */
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.1);
}

.news-date {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-color);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.news-content {
    padding: 25px;
}

.news-content h4 a {
    color: var(--primary);
}

.news-content h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
    line-height: 1.4;
}

.news-content p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 15px;
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 60px 0;
}

.cta-content h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
}

.cta-buttons .btn {
    padding: 15px 35px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-weight: 600;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 188, 212, 0.3);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: var(--white);
}

.btn-light {
    background: var(--white);
    color: var(--primary-color);
}

.btn-light:hover {
    background: var(--bg-light);
}

.btn-outline-light {
    border: 2px solid var(--white);
    color: var(--white);
    background: transparent;
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--primary-color);
}

.btn-lg {
    padding: 15px 40px;
    font-size: 16px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
    .hero-title {
        font-size: 36px;
    }

    .section-title h2 {
        font-size: 28px;
    }

    .service-card-horizontal {
        flex-direction: column;
    }

    .service-card-horizontal .service-image {
        flex: 0 0 200px;
    }

    .team-image-large {
        margin-bottom: 30px;
    }

    .faq-image {
        margin-bottom: 30px;
    }
}

@media (max-width: 767px) {

    .thumbnail-column {
        flex-direction: row;
        gap: 10px;
        /* margin: 15px 0; */
    }

    .left-thumbnails,
    .right-thumbnails {
        padding: 0;
        align-items: center;
    }

    .thumbnail-item {
        /* max-width: 120px; */
    }

    .thumbnail-item img {
        height: 80px;
    }


    .thumbnail-column {
        flex-direction: row !important;
        gap: 10px;
        /* margin: 15px 0; */
    }

    .hero-banner {
        padding: 60px 0;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .section-title h2 {
        font-size: 24px;
    }

    .cta-content h2 {
        font-size: 28px;
    }

    .cta-buttons .btn {
        display: block;
        margin: 10px 0;
    }

    .team-members {
        flex-wrap: wrap;
    }
}


#block-about {
    background: #ffffff;
}

/* About Section Styles */
#block-about .about-image-wrapper {
    position: relative;
}

#block-about .about-image-wrapper img {
    border: 5px solid #fff;
    border-radius: 40px;
    border-top-left-radius: 0;
    border-bottom-right-radius: 0;
}

#block-about .about-subtitle {
    font-size: 1.2rem;
    font-weight: 500;
    color: #333;
    margin-bottom: 10px;
}

#block-about .about-title {
    font-size: 27px;
    font-weight: 700;
    line-height: 1.3;
    color: #00bcd4;
    margin-bottom: 20px;
}

#block-about .about-description {
    font-size: 15px;
    line-height: 1.7;
    color: #666;
    margin-bottom: 25px;
}

#block-about .about-features {
    margin-bottom: 30px;
}

#block-about .feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
}

#block-about .feature-item i {
    color: #00bcd4;
    font-size: 18px;
    flex-shrink: 0;
}

#block-about .feature-item span {
    font-size: 15px;
    color: #333;
    line-height: 1.5;
}

#block-about .about-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-primary-custom {
    background: #00bcd4;
    color: #fff;
    padding: 10px 30px 13px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    display: inline-block;
    transition: all 0.3s ease;
    border: 2px solid #00bcd4;
    height: auto;
    line-height: 1;
}

.btn-primary-custom:hover {
    background: #00a5bb;
    border-color: #00a5bb;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 188, 212, 0.3);
}

#block-about .btn-outline-custom {
    background: transparent;
    color: #00bcd4;
    padding: 10px 30px 13px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    display: inline-block;
    transition: all 0.3s ease;
    border: 2px solid #00bcd4;
    line-height: 1;
}

#block-about .btn-outline-custom:hover {
    background: #00bcd4;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 188, 212, 0.3);
}

@media (max-width: 768px) {
    #block-about .about-title {
        font-size: 22px;
    }

    #block-about .about-subtitle {
        font-size: 14px;
    }

    #block-about .about-description {
        font-size: 14px;
    }

    #block-about .about-buttons {
        flex-direction: column;
    }

    #block-about .btn-primary-custom,
    #block-about .btn-outline-custom {
        text-align: center;
        width: 100%;
    }
}

.xtitle {
    font-size: 19px;
    font-weight: 500;
}

.ytitle {
    font-size: 1.8rem;
    line-height: 1.2;
    margin-top: 5px;
    color: var(--primary);
    text-transform: uppercase;
    font-weight: 700;
}

.img-type-1 {
    position: relative;
}

.img-type-1:after {
    content: "";
    position: absolute;
    width: 80%;
    height: calc(100% + 5px);
    left: -5px;
    background: var(--primary);
    z-index: 1;
    top: -5px;
    border-top-right-radius: 50px;
}

.img-type-1 img {
    position: relative;
    z-index: 2;
}

#block-feedback {
    background: #f9fbff;
}

#block-feedback .item-feedback .ratio {
    border-radius: 10px;
    overflow: hidden;
}

#block-feedback .item-feedback {
    background: url(../images/bg-feedback.jpg) no-repeat center;
    background-size: cover;
    padding: 50px 35px;
    border-radius: 10px;
}

#block-feedback .item-feedback .info {}

#block-feedback .item-feedback .info .work {
    font-weight: 500;
    margin: 0;
}

#block-feedback .item-feedback .info .name {
    margin: 0;
    color: var(--primary);
    font-weight: 500;
}

#block-feedback .item-feedback .desc {
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
    margin: 10px 0;
    font-size: 14px;
}

#block-feedback .item-feedback .star {}

#block-feedback .item-feedback .star i.active {
    color: var(--primary);
}

#block-feedback .item-feedback .star i {
    color: #ccc;
}



#block-difficult {}

#block-difficult .list-diff {}

#block-difficult .list-diff .item {
    background: url(../images/icon-diff.png) no-repeat;
    padding-left: 31px;
    margin-bottom: 20px;
}

#block-difficult .list-diff .item p {
    font-weight: 500;
    margin-bottom: 0px;
}

#block-about .about-year {}

#block-about .about-year .big {}

#block-about .about-year .big p {
    font-weight: bold;
    font-size: 3.2em;
    color: var(--primary);
    padding-right: 15px;
}

#block-about .about-year .big p.text {
    font-size: 1.2em;
    line-height: 1.2;
}

#block-about .about-year .big p.text span {
    color: #333;
}

#block-about .about-year .block {
    text-align: center;
    background: #fff;
    /* border: 1px solid #ccc; */
    padding: 45px 0;
    font-weight: 500;
    font-size: 18px;
    box-shadow: var(--bs-box-shadow) !important;
}

#block-about .about-year .block img {
    display: block;
    margin: auto;
    margin-bottom: 7px;
}

#block-about .about-year {
    margin-top: -30px;
}

#block-about .desc~div {}

#block-about .desc~div a {
    text-decoration: none;
    background: #f7623a;
    color: #fff;
    display: inline-block;
    padding: 8px 25px 10px 25px;
    width: 200px;
    text-align: center;
}

#block-about .desc {}

#block-about .link {}

#block-about .link a {
    font-weight: 500;
    font-size: 0.9em;
    color: #333;
    text-transform: uppercase;
    border: 1px solid #ccc;
    padding: 5px 13px;
    border-radius: 30px;
}

#block-about .link a:hover {
    color: var(--primary);
    text-decoration: none;
    border-color: var(--primary);
}

#block-about .line-1 {
    font-size: 21px;
    /* color: #00253a !important; */
    font-family: 'DVN-Poppins';
}

#block-about .about-block-2 .line-1 {}

#block-about .about-block-2 .line-2 {
    color: #333;
    font-weight: 500;
    font-size: 1.2rem;
}

#block-about .about-block-2 .line-4 {
    color: #888;
    margin-bottom: 10px;
}

#block-about .about-block-2 .list-attr {
    margin: 20px 0;
}

#block-about .about-block-2 .list-attr p {
    background: url(../images/arrow.png) no-repeat 5px 3px;
    text-indent: 30px;
    margin: 6px 0;
    font-size: 14px;
}

#block-about .about-block-2 .line-3 {
    font-size: 1.4rem;
    line-height: 1.2;
    font-weight: bold;
    color: var(--primary);
    margin: 5px 0;
}

#block-about .about-block-2 .line-1 {
    font-weight: bold;
    color: #fff;
    background: var(--primary);
    display: inline-block;
    padding: 3px 8px;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

#block-about .line-3 {
    color: #888;
    margin-bottom: 10px;
}

#block-about .list-icon {
    text-align: center;
}

#block-about .list-icon .icon {}

#block-about .list-icon .desc {}

#block-about .list-icon .desc strong {
    display: block;
    margin: 10px 0;
    color: var(--primary);
    font-size: 20px;
    font-size: 1.5rem;
}

#block-about .list-icon .desc p {}

#block-about .line-2 {
    font-size: 21px;
    line-height: 1.2;
    color: var(--primary);
    margin: 5px 0;
    font-family: 'DVN-Poppins ExtBd';
}

#block-about .img {}




#block-human {
    background: #ebf7fa;
}

#block-human .line-1 {
    font-size: 1.2rem;
    font-weight: 500;
}

#block-human .line-2 {
    font-weight: bold;
    font-size: 2rem;
    color: var(--primary);
}

#block-human .line-3 {
    margin-bottom: 10px;
    font-weight: 500;
}

#block-human .desc {}

.img-type-2 {
    position: relative;
    box-shadow: var(--bs-box-shadow) !important;
    border: 5px solid #fff;
    border-top-left-radius: 50px;
    background: #fff;
    overflow: hidden;
    border-bottom-right-radius: 50px;
}





#block-faq {
    background: #EEFDFF;
}































.head-index {
    /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#f4f4f4+0,f4f4f4+100 */
    background: #f4f4f4;
    /* Old browsers */
    background: -moz-linear-gradient(top, #f4f4f4 0%, #f4f4f4 100%);
    /* FF3.6-15 */
    background: -webkit-linear-gradient(top, #f4f4f4 0%, #f4f4f4 100%);
    /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, #f4f4f4 0%, #f4f4f4 100%);
    /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f4f4f4', endColorstr='#f4f4f4', GradientType=0);
    /* IE6-9 */
}

.product-list-vcd {}

.product-list-vcd .list {
    /* background: url(../images/index.png) no-repeat bottom center; */
    position: relative;
    padding-top: 150px;
}

.product-list-vcd .item a:hover {
    text-decoration: none;
    color: #818181;
}

.product-list-vcd .item a {
    text-align: center;
    display: block;
    color: #333;
    transition: 0.4s ease;
}

.product-list-vcd .item .number {
    background: url(../images/icon-category.png) no-repeat;
    width: 60px;
    height: 60px;
    display: inline-block;
    font-size: 18px;
    color: red;
    text-align: center;
    line-height: 60px;
    font-weight: bold;
}

.product-list-vcd .item h2 {
    font-size: 20px;
    font-weight: 700;
    margin: 5px 0;
}

.product-list-vcd .item p {
    font-size: 13px;
}

.product-list-vcd .item {
    position: absolute;
    width: 300px;
}

.product-list-vcd .item.item-1 {
    bottom: 0;
    left: 0;
}

.product-list-vcd .item.item-2 {
    left: 50px;
    bottom: 160px;
}

.product-list-vcd .item.item-3 {
    left: 220px;
    bottom: 370px;
}

.product-list-vcd .item.item-4 {
    right: 220px;
    bottom: 370px;
}

.product-list-vcd .item.item-5 {
    right: 50px;
    bottom: 160px;
}

.product-list-vcd .item.item-6 {
    bottom: 0;
    right: 0;
}

.block-about {}

.block-about .title {}

.block-about .title h1 {
    font-size: 17px;
    text-transform: uppercase;
}

.block-about .link a {
    display: inline-block;
    font-size: 12px;
    background: #da0000;
    color: #fff;
    padding: 10px 17px 10px 17px;
    transition: 0.4s ease;
}

.block-about .link a:hover {
    text-decoration: none;
    background: #0052bb;
}

.block-about .title h1 span {
    display: block;
    color: #0052bb;
    font-weight: 700;
    font-size: 36px;
    margin: 5px 0 10px 0;
}

.owl-product .owl-nav button {
    position: absolute;
    top: calc(50% - 27px);
    position: absolute;
    left: 15px;
}

.owl-product .owl-nav .owl-prev {}

.owl-product .owl-nav .owl-next {
    left: auto;
    right: 15px;
}

#block-service {
    position: relative;
}

/* Swiper Service Slider */
.wrap-swiper-service {
    position: relative;
    overflow: visible;
}

.wrap-swiper-service .swiper-slide {
    height: auto;
}

.wrap-swiper-service .service-item {
    background: #fff;
    border-radius: 20px;
    /* overflow: hidden; */
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 2px solid transparent;
}

.wrap-swiper-service .service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 188, 212, 0.15);
    border-color: #00bcd4;
}

.wrap-swiper-service .service-image {
    position: relative;
    padding: 5px;
}

.wrap-swiper-service .service-image img {
    transition: transform 0.4s ease;
    /* aspect-ratio: 4/3; */
    object-fit: cover;
}

.wrap-swiper-service .service-item:hover .service-image img {
    /* transform: scale(1.1); */
}

.wrap-swiper-service .service-content {
    padding: 20px;
    text-align: center;
    padding-bottom: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.wrap-swiper-service .wrap-icon {
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    z-index: 123;
}

.wrap-swiper-service .service-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto;
    background: #00bcd4;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    bottom: 0;
    border: 5px solid #fff;
}

.wrap-swiper-service .service-icon i {
    font-size: 24px;
    color: #fff;
}

.wrap-swiper-service .service-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.wrap-swiper-service .service-title a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.wrap-swiper-service .service-item:hover .service-title a {
    color: #00bcd4;
}

.wrap-swiper-service .desc {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    flex: 1;
}

.wrap-swiper-service .service-link {
    color: #00bcd4;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    margin-top: auto;
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--primary);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    text-align: center;
    display: block;
    line-height: 50px;
    color: #fff;
    font-size: 22px;
}

.wrap-swiper-service .service-link:hover {
    gap: 12px;
}

.wrap-swiper-service .service-link i {
    transition: transform 0.3s ease;
}

.wrap-swiper-service .service-item:hover .service-link i {
    transform: translateX(5px);
}

/* Swiper Navigation */
.wrap-swiper-service .swiper-button-prev {
    right: auto;
    left: -60px;
}

.wrap-swiper-service .swiper-button-next,
.wrap-swiper-service .swiper-button-prev {
    width: 45px;
    height: 45px;
    border-radius: 5px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    right: -60px;
    border: 1px solid var(--primary);
}

.wrap-swiper-service .swiper-button-next:after,
.wrap-swiper-service .swiper-button-prev:after {
    font-size: 18px;
    color: #00bcd4;
    font-weight: bold;
}

.wrap-swiper-service .swiper-button-next:hover,
.wrap-swiper-service .swiper-button-prev:hover {
    background: #00bcd4;
    box-shadow: 0 5px 15px rgba(0, 188, 212, 0.3);
}

.wrap-swiper-service .swiper-button-next:hover:after,
.wrap-swiper-service .swiper-button-prev:hover:after {
    color: #fff;
}

/* Swiper Pagination */
.wrap-swiper-service .swiper-pagination {
    bottom: 20px;
}

.wrap-swiper-service .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #ccc;
    opacity: 1;
    transition: all 0.3s ease;
}

.wrap-swiper-service .swiper-pagination-bullet-active {
    background: #00bcd4;
    width: 30px;
    border-radius: 5px;
}

/* Responsive */
@media (max-width: 768px) {
    .wrap-swiper-service .swiper-button-prev {
        left: 0
    }

    .wrap-swiper-service .swiper-button-next,
    .wrap-swiper-service .swiper-button-prev {
        width: 35px;
        height: 35px;
        right: 0;
    }

    .wrap-swiper-service .swiper-button-next:after,
    .wrap-swiper-service .swiper-button-prev:after {
        font-size: 14px;
    }

    .wrap-swiper-service .service-content {
        padding: 15px;
        padding-top: 5px;
    }

    .wrap-swiper-service .service-title {
        font-size: 1rem;
    }
}

/* Old service item styles for compatibility */
.service-item h4 {
    font-size: 1.2rem;
}

.service-item h4 a {
    color: #333;
    text-decoration: none;
}

.project-item {
    position: relative;
}

.project-item .info {
    background: #fff;
    position: relative;
    margin-top: -30px;
    width: calc(100% - 40px);
    margin-left: 20px;
    box-shadow: var(--bs-box-shadow) !important;
    padding: 20px 20px;
}

.project-item .info h4 {}

.project-item .info h4 a {
    text-decoration: none;
    color: #333;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    height: 57px;
}

.project-item .info h4 a:hover {
    color: var(--primary);
}

.project-item .info p {
    color: #f7623a;
}

.project-item .info p a {
    color: #f7623a;
    text-decoration: none;
}

.project-item .info p a:hover {}

.service-item h4 a:hover {
    color: var(--primary);
}

.service-item .desc {
    font-size: 14px;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    margin: 0 !important;
}

.service-item .view {
    margin-top: 5px;
}

.service-item .view a {
    background: #f7623a;
    color: #fff;
    text-decoration: none;
    padding: 4px 15px 6px 15px;
    border-radius: 30px;
    font-size: 13px;
}

.service-item .view:hover a {}

.service-item {
    background: #fff;
}


.view-more-index {}

.view-more-index a {
    background: #f7623a;
    display: inline-block;
    padding: 10px 30px 10px 30px;
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
}

#block-product .block {
    background: #edeef2 url(../images/gb-product.jpg) no-repeat bottom center;
}

.big-title span.link.active {
    color: #c32510;
    border-color: #c32510;
}

.block-product .desc-title {
    text-align: center;
    font-size: 14px;
    color: #9d9d9d;
}

.group-product {}

.group-product .group-product-child {}

.group-product .group-product-child .head-child {
    border-bottom: 3px solid #0052bb;
    margin-bottom: 30px;
}

.group-product .group-product-child .head-child h2 {
    text-transform: uppercase;
    font-size: 22px;
    color: #fff;
    background: #0052bb;
    margin: 0;
    padding: 14px 70px 13px 30px;
    position: relative;
}

.group-product .group-product-child .head-child h2:after {
    content: "";
    position: absolute;
    background: url(../images/btnx.png) no-repeat top left;
    width: 38px;
    height: 100%;
    right: -37px;
    bottom: 0;
    background-size: 100%;
}

.group-product .group-product-child .head-child a {
    display: inline-block;
    border-radius: 30px;
    border: 1px solid #f92424;
    color: #333;
    font-size: 14px;
    padding: 4px 10px 4px 15px;
    text-decoration: none;
    transition: 0.4s ease;
}

.group-product .group-product-child .head-child a:hover {
    border-color: #0056b3;
}

.group-product .group-product-child .body-child {}


.block-gallery {}

.block-gallery .title {
    text-align: center;
    background: url(../images/bgt.jpg) repeat-x center;
}

.block-gallery .title span {
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1.2px;
    background: #fff;
    display: inline-block;
    padding: 0 10px;
    font-size: 23px;
}

.block-newsletter {
    background: url(../images/newsletter.jpg) no-repeat;
    background-size: cover;
    color: #fff;
    padding: 40px 0;
}

.block-newsletter *::placeholder {
    /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: #fff;
    opacity: 1;
    /* Firefox */
}

.block-newsletter *:-ms-input-placeholder {
    /* Internet Explorer 10-11 */
    color: #fff;
}

.block-newsletter *::-ms-input-placeholder {
    /* Microsoft Edge */
    color: #fff;
}

.block-newsletter .title {
    text-align: center;
    font-size: 25px;
    font-weight: 700;
}

.block-newsletter .desc {
    text-align: center;
    margin-bottom: 30px;
}

.block-newsletter form {}

.block-newsletter form input {
    width: 100%;
    font-size: 13px;
    padding: 8px 10px;
    border: 0;
    background: #ffffff54;
    color: #fff;
}

.block-newsletter form textarea {
    width: calc(100% - 100px);
    padding: 5px 10px;
    font-size: 13px;
    height: 79px;
    border: 0;
    margin: 0;
    resize: none;
    background: #ffffff54;
    color: #fff;
}

.block-newsletter form button {
    position: absolute;
    right: 0;
    top: 0;
    background: #d61414;
    height: 79.3px;
    border: 0;
    color: #fff;
    font-size: 14px;
    width: 100px;
}

.block-newsletter .w-content {
    position: relative;
}

.block-news {
    background: #fff;
    padding: 20px 0;
}

.block-news .block-title {
    font-weight: 500;
    letter-spacing: 1.5px;
    padding-bottom: 8px;
    position: relative;
    text-align: left;
    font-size: 31px;
    margin-bottom: 10px;
    color: #c32510;
    font-family: 'UTM HelvetIns';
    text-transform: uppercase;
}

.news-item-index {}

.news-item-index img {}

.news-item-index h4 {
    font-weight: 500;
    font-size: 18px;
    margin: 12px 0 15px 0;
}

.news-item-index h4 a {
    color: #606060;
}

.news-item-index h4:hover a {
    text-decoration: none;
}

.news-item-index .desc {
    font-size: 14px;
}

.news-item-index .text-right a {
    background: #da0000;
    display: inline-block;
    font-size: 14px;
    padding: 5px 10px 4px 10px;
    border-radius: 4px;
    color: #fff;
}

.news-item-index .text-right a:hover {
    text-decoration: none;
    background: #0052BB;
}


.news-item-index-small {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.news-item-index-small h4 {}

.news-item-index-small h3 a {
    color: var(--second);
    font-weight: 500;
    font-size: 18px;
    text-decoration: none;
}

.news-item-index-small h3 a:hover {
    text-decoration: none;
    color: var(--primary);
}

/* Date Badge - Top Right Corner */
.news-item-index-small .date-badge {
    position: absolute;
    top: 0;
    right: 10%;
    background: #fff;
    color: var(--primary);
    border: 1px solid var(--primary);
    border-radius: 5px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;

    padding: 8px 12px;
    text-align: center;
    font-weight: 700;
    font-size: 20px;
    line-height: 1.2;
    z-index: 2;
}

.news-item-index-small .date-badge span {
    display: block;
    font-size: 12px;
    font-weight: 400;
    text-transform: uppercase;
}

.news-item-index-small a.link {
    display: block;
    margin-bottom: 10px;
    position: relative;
    overflow: hidden;
}

/* Gradient Overlay on Image */
.news-item-index-small .info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 15px;
    background: linear-gradient(0deg, rgba(0, 161, 186, 0.81) 32.21%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

.news-item-index-small h3 {
    font-weight: 500;
    font-size: 17px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    margin-bottom: 8px;
}

.news-item-index-small h3 a {
    color: #fff;
}

.news-item-index-small .desc {
    font-size: 13px;
    color: #fff;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-height: 18px;
    margin-bottom: 8px;
}


#block-icon {}

#block-icon .item {
    width: 100%;
}

#block-icon .block-item {
    background: #f9f7f5;
    padding: 20px;
    text-align: center;
}

#block-icon .block-item a {
    text-decoration: none !important;
}

#block-icon .block-item a img {
    transition: 0.4s ease all;
}

#block-icon .block-item a p {
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-height: 20px;
    text-transform: uppercase;
    color: #333;
    font-weight: 500;
    font-size: 14px;
    height: 40px;
    margin: 0;
}

#block-icon .block-item a:hover img {}

#block-icon .block-itema:hover p {
    color: #c32510;
}

.news-item-index-small .view {
    margin: 0;
}

.news-item-index-small .view a {
    color: #fff;
    font-weight: 500;
    font-size: 13px;
    position: relative;
    text-decoration: none;
    text-transform: uppercase;
    display: inline-block;
}

.news-item-index-small .view a:before {
    content: "";
    position: absolute;
    width: 0;
    height: 1px;
    background: #fff;
    bottom: 0;
    left: 0;
    transition: width 0.3s ease;
}

.news-item-index-small .view a:hover:before {
    width: 100%;
}

/* Swiper News Navigation */
.swiper-news {
    /* padding: 0 50px; */
}

.swiper-news .swiper-button-next,
.swiper-news .swiper-button-prev {
    color: var(--primary);
    background: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.swiper-news .swiper-button-next:after,
.swiper-news .swiper-button-prev:after {
    font-size: 18px;
    font-weight: bold;
}


@media(max-width:768px) {
    #block-about .about-year {
        margin-top: 20px;
    }

    #gallery-section .item .info {
        margin: 10px 0
    }

    #gallery-section .item .info a h3 {
        font-size: 1.2em
    }

    .ytitle,
    #block-about .line-2 {
        font-size: 1.4rem !important;
    }

    #category-icon-block-section .list .item .detail h3 {
        white-space: nowrap;
        font-size: 1.1rem;
    }

    #category-icon-block-section .list .item .detail h3 a {}

    .big-title span.link {
        font-size: 13px;
    }

    .news-item-index h4 {
        font-size: 15px;
    }

    .news-item-index-small h4 {
        font-size: 14px;
    }

    .block-news .block-title {
        font-size: 22px;
    }

    .project-item-index h4 {
        font-size: 15px
    }

    .project-item-index .desc {
        display: none
    }

    .block-product .big-title {
        font-size: 15px;
        margin-bottom: 10px;
    }

    .big-title {
        font-size: 20px;
        margin-bottom: 15px;
    }

    .big-title .spe img {
        height: 25px !important;
    }

    .product-list-vcd .list {
        padding: 0;
    }

    .item-project .position-relative .info div {
        display: none;
    }

    .item-project .position-relative .info h4 {
        margin: 0;
        padding: 5px 10px;
        font-size: 11px;
        border: 0;
    }

    .item-project .position-relative .info {
        opacity: 1;
        width: 100%;
        left: 0;
        width: 100%;
        transform: none;
        padding: 0;
        height: auto !important;
        top: auto;
        bottom: 0;
        background: rgb(244 103 34 / 76%);
        padding: 4px 5px;
    }

    .product-list-vcd .item {
        position: static;
        width: 100%;
    }
}

.view-all-service {
    background: var(--primary);
    color: #fff;
    text-decoration: none;
    padding: 7px 25px 9px 25px;
    font-size: 13px;
    font-weight: bold;
    display: inline-block;
}

@media(max-width:768px) {
    .service-item h4 {
        font-size: 15px
    }

    .service-item .desc {
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
        overflow: hidden;
    }

    .project-item .info {
        width: 100%;
        left: 0;
        margin-left: 0;
        padding: 10px;
    }

    .project-item .info h4 a {
        font-size: 15px;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
    }


}


#block-banner-registration .bg-form {
    border: 11px solid #EEFDFF;
}

#block-banner-registration:after {
    content: "";
    background: url(../images/bg-form.png) no-repeat bottom;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    /* z-index: -1; */
    pointer-events: none;
}

#block-banner-registration {
    background: linear-gradient(360deg, rgba(238, 253, 255, 0.8) -2.41%, rgba(255, 255, 255, 0.8) 100%);
    background-size: cover;
    position: relative;
}

#block-banner-registration .btn-registration {
    background: var(--primary);
}

#block-banner-registration .head-form {
    background: var(--primary);
    color: #fff;
}

#block-banner-registration .banner-image {
    width: 100%;
    height: auto;
}

#block-banner-registration .banner-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0));
}

#block-banner-registration .registration-title {
    font-size: 1.2rem;
    letter-spacing: 0.5px;
}

#block-banner-registration .registration-subtitle {
    font-size: 1.2rem;
    letter-spacing: 0.5px;
}

#block-banner-registration .form-control {
    background: #f1f5f9;
    font-size: 1rem;
    color: #64748b;
}

/* Block Services - Grid Layout */
#block-services {
    background: #fff;
}

#block-services .service-card {
    position: relative;
    z-index: 1;
}

#block-services .service-card-inner {
    background: #fff;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

#block-services .service-card:hover .service-card-inner {
    transform: translateY(-5px);
}

#block-services .service-card-image {
    position: relative;
    overflow: hidden;
}

#block-services .service-card-image a {
    display: block;
    position: relative;
    overflow: hidden;
}

#block-services .service-card-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

#block-services .service-card:hover .service-card-image img {
    transform: scale(1.05);
}

#block-services .service-card-icon {
    position: absolute;
    bottom: -30px;
    left: 20px;
    width: 60px;
    height: 60px;
    background: #00bcd4;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 188, 212, 0.3);
    z-index: 10;
    transition: all 0.3s ease;
    display: none;
}

#block-services .service-card:hover .service-card-icon {
    transform: scale(1.1) rotate(5deg);
}

#block-services .service-card-icon img {
    width: 35px;
    height: 35px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

#block-services .service-card-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #fff;
    box-shadow: var(--bs-box-shadow) !important;
    margin-top: -40px;
    z-index: 123;
    width: calc(100% - 70px);
    margin: auto;
    margin-top: -60px;
}

#block-services .service-card-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.3;
}

#block-services .service-card-title a {
    color: #00bcd4;
    text-decoration: none;
    transition: color 0.3s ease;
}

#block-services .service-card:hover .service-card-title a {
    color: #00a5bb;
}

#block-services .service-card-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
    margin: 0;
}




/* Success Stories Section Styles */
#block-success-stories h2 {
    font-size: 2.2rem;
    color: var(--primary);
    letter-spacing: 1px;
}

#block-success-stories h3 {
    font-size: 1.8rem;
    color: var(--primary);
    letter-spacing: 1px;
}

#block-success-stories .highlight-text {
    color: #e91e63;
}

/* Success Stories Gallery */
.success-stories-gallery .loader:after {
    content: "";
    background: url(../images/loading.gif) no-repeat center;
    background-size: contain;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.success-stories-gallery .loader img {
    opacity: 0;
}

.success-stories-gallery {
    position: relative;
    margin: 3rem 0;
}

.success-stories-gallery .row {
    align-items: center;
}

/* Main Image */
.main-image-container {
    text-align: center;
    /* padding: 0 20px; */
    background: #FFFFFF;
    border-radius: 10px;
    overflow: hidden;
}

.main-image {
    /* border-radius: 15px; */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.main-image:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* Thumbnail Columns */
.thumbnail-column {
    display: flex;
    flex-direction: column;
    /* gap: 15px; */
    height: 100%;
    justify-content: center;
}

.left-thumbnails {
    align-items: flex-end;
}

.right-thumbnails {
    align-items: flex-start;
}

/* Thumbnail Items */
.thumbnail-item {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    background: #FFFFFF;
}

.thumbnail-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.thumbnail-item img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    transition: all 0.3s ease;
    height: 100% !important;
}

.thumbnail-item:hover img {
    transform: scale(1.05);
}

.thumbnail-item.active {
    border: 3px solid #e91e63;
    transform: translateY(-5px);
}

.thumbnail-item.active img {
    transform: scale(1.05);
}

#block-success-stories .ratio.ratio-gallery {
    aspect-ratio: 388 / 298;
}

#block-success-stories .thumbnail-item {
    position: relative;
    overflow: hidden;
    transform: translateZ(0);
}

#block-success-stories .thumbnail-item,
#block-success-stories .main-image-container {
    position: relative;
}

/* Title styling and animation */
.thumbnail-item .title,
.main-image-container .title {
    position: absolute;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.4));
    color: #fff;
    padding: 10px 15px;
    font-size: 1.2rem;
    font-weight: 500;
    text-align: center;
    opacity: 1;
    transition: opacity 0.6s ease, transform 0.6s ease;
    transform: translateY(0);
    z-index: 10;
    background: linear-gradient(0, #00A1BA 0%, rgba(255, 255, 255, 0) 100%);
    height: auto !important;
    bottom: 0;
    top: auto;
    min-height: 100px;
    display: flex;
    justify-content: center;
    align-items: end;
}

.main-image-container .title {}

/* Fade animation classes */
.thumbnail-item img.hidden,
.main-image.hidden {
    opacity: 0 !important;
    transition: opacity 0.6s ease;
}

.thumbnail-item img,
.main-image {
    transition: all 0.6s ease !important;
}

.thumbnail-item .title.fade-out,
.main-image-container .title.fade-out {
    opacity: 0 !important;
    transform: translateY(10px);
}

.news-card.list-item {
    display: flex;
    gap: 1rem;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* Responsive */
@media (max-width: 768px) {
    .news-list-scroll .news-card>a {
        width: 80px;
        flex-grow: 1;
        flex-shrink: 0;
    }
}

.news-card.list-item .news-content h5 a {
    color: #333;
    font-size: 14.2px;
}

.news-card.list-item .news-content {
    padding: 0;
}

.news-list-scroll .news-card {
    flex-direction: row;
    padding: 0;
    margin-bottom: 10px;
    box-shadow: none;
}


.success-stories-gallery {
    margin: 1rem 0;
}

#block-services .service-card-image img {
    height: 200px;
}

#block-services .service-card-icon {
    width: 50px;
    height: 50px;
    left: 15px;
}

#block-services .service-card-icon img {
    width: 28px;
    height: 28px;
}

#block-services .service-card-content {
    padding: 15px 15px 20px 15px;
    width: calc(100% - 40px);
}

#block-services .service-card-title {
    font-size: 1.1rem;
}

#block-services .service-card-desc {
    font-size: 13px;
}
}

/* Doctor Showcase Section */
#block-doi-ngu {
    background: #fff;
}

.doctor-showcase {
    position: relative;
}

/* Main Image Wrapper */
.doctor-main-image-wrapper {
    position: relative;
}

.doctor-main-image-wrapper .doctor-main-image:after {
    content: "";
    width: calc(100% + 30px);
    height: 70%;
    top: 15%;
    background: var(--primary);
    position: absolute;
    z-index: 1;
    border-radius: 20px;
}

.doctor-main-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 90%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease, visibility 0.6s ease;
    z-index: 2;
}

.doctor-main-image.active {
    opacity: 1;
    visibility: visible;
    position: relative;
}

.doctor-main-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    z-index: 2;
}

/* Info Wrapper */
.doctor-info-wrapper {
    position: relative;
    min-height: 400px;
}

.doctor-info-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.doctor-info-content.active {
    opacity: 1;
    visibility: visible;
    position: relative;
}

.doctor-subtitle {
    color: #2d2d2d;
    font-size: 1.15rem;
    letter-spacing: 1px;
    font-weight: 700;
    font-style: italic;
}

.doctor-name {
    color: var(--primary);
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
}

.badge-position {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    padding: 4px 20px;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 500;
    font-style: italic;
}

.doctor-description {
    color: #555;
    font-size: 1rem;
    line-height: 1.8;
}

.doctor-description p {
    margin-bottom: 1rem;
}

.doctor-description strong,
.doctor-description b {
    color: var(--primary);
    font-weight: 600;
}

/* Thumbnails */
.doctor-thumbnails {
    margin-top: 3rem;
}

.swiper-doctors {}

/* Swiper Doctors Navigation */
.swiper-doctors .swiper-button-next,
.swiper-doctors .swiper-button-prev {
    color: var(--primary);
    background: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.swiper-doctors .swiper-button-next:after,
.swiper-doctors .swiper-button-prev:after {
    font-size: 18px;
    font-weight: bold;
}

.swiper-doctors .swiper-button-next:hover,
.swiper-doctors .swiper-button-prev:hover {
    background: var(--primary);
    color: #fff;
    transform: scale(1.1);
}


.doctor-thumb-item {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    padding: 7px;
}

.doctor-thumb-item img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.doctor-thumb-item:hover img {
    transform: scale(1.05);
}

.doctor-thumb-item.active {
    border-color: var(--primary);
    box-shadow: 0 5px 20px rgba(0, 161, 186, 0.3);
}

/* Responsive */
@media (max-width: 991px) {
    .doctor-main-image-wrapper {
        min-height: 400px;
    }

    .doctor-info-wrapper {
        min-height: 300px;
        margin-top: 2rem;
    }

    .doctor-name {
        font-size: 1.5rem;
    }
}

@media (max-width: 767px) {
    .wrap-swiper-service .service-icon img {
        max-width: 33px;
    }

    .wrap-swiper-service .service-icon {
        width: 60px;
        height: 60px;
    }

    .wrap-swiper-service .wrap-icon {
        bottom: -30px
    }

    .doctor-main-image-wrapper {
        min-height: 350px;
    }

    .doctor-info-wrapper {
        min-height: auto;
    }

    .doctor-name {
        font-size: 1.3rem;
    }

    .doctor-thumbnails {
        margin-top: 2rem;
    }
}