﻿ul.category-list .subcategory-list {
    margin-top: 10px;
    padding-left: 10px;
}

    ul.category-list .subcategory-list li {
        margin-bottom: 8px;
    }

.subcategory-list li {
    list-style: none;
}

.pagination {
    clear: both;
    width: 100%;
}

.subcategory-list {
    display: none;
}
/* Smaller Card Layout */
#tabTitle {
    font-size: 1.5rem; /* Even smaller */
    font-weight: 600;
    margin-bottom: 1rem;
    color: #2c3e50;
}

/* Smaller Cards */
.documents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); 
    gap: 1rem; 
    margin-top: 0.5rem;
}

.document-card {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px; 
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06); 
    height: 100%;
    display: flex;
    flex-direction: column;
}

    .document-card:hover {
        transform: translateY(-3px); 
        box-shadow: 0 4px 12px rgba(0,0,0,0.08); 
        border-color: #3498db;
    }

.document-icon {
    background: linear-gradient(135deg, #3498db, #2c3e50);
    color: white;
    padding: 1rem; 
    text-align: center;
    font-size: 1.8rem; 
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.document-content {
    padding: 1rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.document-title {
    font-size: 1rem; 
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem; 
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2; 
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 2.6em; 
}

.document-description {
    color: #666;
    font-size: 0.85rem; 
    margin-bottom: 0.75rem;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3; 
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 3.9em;
}

/* Smaller Meta Info */
.document-meta {
    font-size: 0.75rem; 
    color: #7f8c8d;
    margin-top: auto;
    padding-top: 0.75rem; 
    border-top: 1px solid #eee;
}

.document-meta-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.25rem; 
}

    .document-meta-item i {
        width: 16px; 
        color: #3498db;
        margin-right: 0.4rem; 
        font-size: 0.8rem;
    }

/* Smaller Buttons Section */
.document-actions {
    padding: 0.75rem 1rem; 
    background: #f8f9fa;
    border-top: 1px solid #eee;
    display: flex;
    gap: 0.5rem;
}

.btn-download {
    background: #3498db;
    color: white;
    border: none;
    padding: 0.4rem 0.75rem; 
    border-radius: 4px; 
    font-size: 0.85rem; 
    transition: background 0.3s ease;
    flex: 1;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

    .btn-download:hover {
        background: #2980b9;
        color: white;
        text-decoration: none;
    }

    .btn-download i {
        margin-right: 0.3rem; 
        font-size: 0.8rem;
    }

/* Smaller Year Filter */
.year-filter {
    margin-left: auto;
}

    .year-filter select {
        background: #f8f9fa;
        border: 1px solid #ddd;
        border-radius: 4px;
        padding: 0.25rem 1rem 0.25rem 0.5rem; 
        font-size: 0.85rem;
    }

    .year-filter label {
        font-size: 0.85rem;
    }

/* Smaller Alerts */
.alert-info,
.alert-warning {
    padding: 0.5rem 1rem; 
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
}

/* Smaller Document Count */
.document-count {
    font-size: 0.8rem;
    margin-top: 1rem;
}

/* Compact Cards Option */
.document-card.compact {
    max-height: 350px; 
}

    .document-card.compact .document-icon {
        padding: 0.75rem;
        font-size: 1.5rem;
        min-height: 50px;
    }

    .document-card.compact .document-content {
        padding: 0.75rem;
    }

    .document-card.compact .document-title {
        font-size: 0.95rem;
        -webkit-line-clamp: 2;
    }

    .document-card.compact .document-description {
        font-size: 0.8rem;
        -webkit-line-clamp: 2;
    }

    .document-card.compact .document-meta {
        font-size: 0.7rem;
        padding-top: 0.5rem;
    }

    .document-card.compact .document-actions {
        padding: 0.5rem;
    }

    .document-card.compact .btn-download {
        padding: 0.3rem 0.5rem;
        font-size: 0.8rem;
    }

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .documents-grid {
        grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    }
}

@media (max-width: 992px) {
    .documents-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }

    #tabTitle {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .documents-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 0.75rem;
    }

    #tabTitle {
        font-size: 1.2rem;
        margin-bottom: 0.75rem;
    }

    .document-card {
        border-radius: 6px;
    }
}

@media (max-width: 576px) {
    .documents-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on mobile */
        gap: 0.5rem;
    }

    #tabTitle {
        font-size: 1.1rem;
    }

    .document-icon {
        padding: 0.75rem;
        font-size: 1.5rem;
        min-height: 50px;
    }

    .document-content {
        padding: 0.75rem;
    }

    .document-title {
        font-size: 0.9rem;
        -webkit-line-clamp: 2;
    }

    .document-description {
        font-size: 0.8rem;
        -webkit-line-clamp: 2;
    }

    .document-actions {
        padding: 0.5rem;
        flex-direction: column;
        gap: 0.3rem;
    }

    .btn-download {
        padding: 0.35rem;
        font-size: 0.8rem;
        width: 100%;
    }
}

/* Extra Small Devices */
@media (max-width: 400px) {
    .documents-grid {
        grid-template-columns: 1fr; 
    }

    .document-card {
        max-width: 280px;
        margin: 0 auto;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .document-card {
        background: #2c3e50;
        border-color: #34495e;
        color: #ecf0f1;
    }

    .document-title {
        color: #ecf0f1;
    }

    .document-description {
        color: #bdc3c7;
    }

    .document-meta {
        color: #95a5a6;
    }

    .document-actions {
        background: #34495e;
        border-color: #2c3e50;
    }

    .btn-download {
        background: #3498db;
        color: white;
    }

        .btn-download:hover {
            background: #2980b9;
        }
}

/* Print Styles */
@media print {
    .document-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ccc;
    }

    .document-actions {
        display: none; 
    }

    .documents-grid {
        display: block;
    }
}
/* Fix slider height - SINGLE VERSION */
#mainSliderWrapper,
.main-slider,
.slide {
    height: 500px !important; 
    max-height: 600px;
    min-height: 400px;
    width: 100% !important;
}
/* Video holder */
.video--holder {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: auto;
}

/* Video styling - FIX FOR CUTTING */
.slide-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover; 
}

/* Overlay */
.video--holder::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 5;
    pointer-events: none;
}

/* Slide content */
.slide-content {
    z-index: 10;
    position: relative;
    height: 100%;
    pointer-events: none;
}

/* Button - SINGLE VERSION */
.slider-video-control {
    position: absolute;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 9999;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    color: #333;
    pointer-events: auto;
    border: 2px solid rgba(255,255,255,0.3);
}

    .slider-video-control i {
        font-size: 28px;
    }

    .slider-video-control:hover {
        background: #ffffff;
        transform: scale(1.15);
        box-shadow: 0 8px 25px rgba(0,0,0,0.4);
        border-color: rgba(255,255,255,0.8);
    }

    /* Button visibility */
    .slider-video-control.playing {
        opacity: 0.7;
    }

        .slider-video-control.playing:hover {
            opacity: 1;
        }

    .slider-video-control.idle {
        opacity: 0.3;
        transition: opacity 0.5s ease;
    }

        .slider-video-control.idle:hover {
            opacity: 1;
        }

/* Slide buttons */
.slide-btn a,
.slide-btn {
    pointer-events: auto !important;
}

/* ============== MOBILE/TAB FIX ============== */
@media (max-width: 991px) {
    #mainSliderWrapper,
    .main-slider,
    .slide {
        height: 400px !important;
        max-height: 500px;
        min-height: 350px;
    }

    .slider-video-control {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }

        .slider-video-control i {
            font-size: 22px;
        }
}

@media (max-width: 576px) { 
    #mainSliderWrapper,
    .main-slider,
    .slide {
        height: 400px !important; 
        max-height: 450px;
        min-height: 350px;
    }

    .slider-video-control {
        bottom: 15px;
        right: 15px;
        width: 45px;
        height: 45px;
    }

        .slider-video-control i {
            font-size: 20px;
        }
}


.section.mt-0 {
    margin-bottom: 60px !important;
}

    .section.mt-0 + .section,
    .section.mt-0 + div,
    .section.mt-0 + * {
        margin-top: 30px !important;
        clear: both;
        position: relative;
    }
/* ============== FIX END ============== */




@media (max-width: 991px) {
    .custom-video-wrapper {
        height: 300px;
    }
}

@media (max-width: 767px) {
    .custom-video-wrapper {
        height: 250px;
    }

    .video-control-btn {
        width: 40px;
        height: 40px;
        bottom: 15px;
        right: 15px;
    }

        .video-control-btn i {
            font-size: 18px;
        }
}

.services-nav .nav-link.active,
.services-nav .nav-item .nav-link.active,
.services-nav li .nav-link.active {
    color: #ffffff !important;
    background-color: #338FBE !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* For submenu items */
.services-nav .nav .nav-link.active {
    color: #007bff !important;
    background-color: #f0f7ff !important;
    font-weight: 600 !important;
    border-left: 3px solid #338FBE !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* Hover effect */
.services-nav .nav-link:hover {
    background-color: #e9ecef !important;
    color: #0056b3 !important;
}


.certification-item {
    transition: all 0.3s ease;
    background: white;
}

    .certification-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 5px 15px rgba(51, 143, 190, 0.2);
        border-color: #338FBE !important;
    }

.cert-badge {
    transition: all 0.3s ease;
}

    .cert-badge:hover {
        transform: scale(1.05);
    }

.cert-card {
    transition: all 0.3s ease;
    height: 100%;
}

    .cert-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        border-color: #338FBE !important;
    }
/* ===== LEADERS SECTION ONLY - NO SLICK OVERRIDE ===== */

/* Leader Card - Theme Style */
.leader-card {
    background: #fff;
    border-radius: 5px;
    padding: 30px;
    box-shadow: none;
    border: 1px solid #eef2f6;
}

    .leader-card:hover {
        transform: translateY(-6px);
        box-shadow: none;
    }
/* Row Alignment - Only for leaders section */
.leaders-section .leader-card .row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.leaders-section .leader-card .align-items-center {
    align-items: center !important;
}

/* Column Styling - Only for leaders section */
.leaders-section .leader-card .col-md-5,
.leaders-section .leader-card .col-md-7 {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

/* Desktop Columns */
@media (min-width: 768px) {
    .leaders-section .leader-card .col-md-5 {
        flex: 0 0 41.66666667%;
        max-width: 41.66666667%;
    }

    .leaders-section .leader-card .col-md-7 {
        flex: 0 0 58.33333333%;
        max-width: 58.33333333%;
    }
}

/* Tablet and Mobile Columns */
@media (max-width: 767px) {
    .leaders-section .leader-card .col-md-5,
    .leaders-section .leader-card .col-md-7 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .leaders-section .leader-card .col-md-7 {
        margin-top: 25px;
    }
}

/* Image Wrapper */
.leaders-section .leader-image-wrapper {
    text-align: center;
    padding: 15px;
    background: linear-gradient(135deg, #f8f9fa 0%, #f0f2f5 100%);
    border-radius: 16px;
    box-shadow: none;
}

/* Leader Image */
.leaders-section .leader-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
}

    .leaders-section .leader-img:hover {
        transform: scale(1.02);
        box-shadow: none;
    }

/* Badge Styling - Only for leaders section */
.leaders-section .badge-primary {
    background: #338FBE;
    font-size: 12px;
    padding: 5px 14px;
}
.icn-carousel .slick-slide {
    padding: 10px;
}
.leaders-section .badge-light {
    background-color: #f0f4f8;
    color: #338FBE;
    padding: 5px 14px;
    font-weight: 500;
    border-radius: 30px;
    font-size: 0.75rem;
    display: inline-block;
    border: 1px solid rgba(51, 143, 190, 0.2);
}

/* Quote Styling */
.leaders-section .leader-quote {
    border-left: 3px solid #338FBE;
    background: #f7f9fb;
    padding: 14px 18px;
    border-radius: 6px;
}

/* Headings */
.leaders-section .leader-card h3 {
    font-size: 1.6rem;
    font-weight: 600;
    color: #1e2a3e;
    margin-bottom: 8px;
}

.leaders-section .leader-card .text-muted {
    color: #6c757d !important;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.leaders-section .leader-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #5a6874;
}

/* ===== CAROUSEL STYLING - ONLY FOR LEADERS SECTION ===== */
/* Using specific class to avoid overriding theme's slick */

/* Only apply to leaders section carousel */
.leaders-section .icn-carousel .slick-dots {
    bottom: -40px;
    text-align: center;
}

    .leaders-section .icn-carousel .slick-dots li {
        margin: 0 4px;
    }

        .leaders-section .icn-carousel .slick-dots li button:before {
            font-size: 10px;
            color: #cbd5e1;
            opacity: 1;
        }

        .leaders-section .icn-carousel .slick-dots li.slick-active button:before {
            color: #338FBE;
        }





/* ===== RESPONSIVE - ONLY FOR LEADERS SECTION ===== */

/* Tablet */
@media (max-width: 1023px) {
    .leaders-section {
        padding: 50px 0;
    }

        .leaders-section .leader-card {
            padding: 25px;
        }

        .leaders-section .leader-img {
            height: 380px;
        }

        .leaders-section .leader-card h3 {
            font-size: 1.4rem;
        }

        .leaders-section .icn-carousel .slick-prev {
            left: -15px;
        }

        .leaders-section .icn-carousel .slick-next {
            right: -15px;
        }

        .leaders-section .icn-carousel .slick-prev,
        .leaders-section .icn-carousel .slick-next {
            width: 38px;
            height: 38px;
        }
}

/* Mobile */
@media (max-width: 767px) {
    .leaders-section {
        padding: 40px 0;
    }

        .leaders-section .leader-card {
            padding: 20px;
            text-align: center;
        }

        .leaders-section .leader-img {
            height: 320px;
        }

        .leaders-section .leader-card h3 {
            font-size: 1.3rem;
        }

        .leaders-section .leader-card p {
            font-size: 0.9rem;
        }

        .leaders-section .leader-quote {
            font-size: 0.85rem;
            text-align: left;
            padding: 12px 16px;
        }

        .leaders-section .badge-primary,
        .leaders-section .badge-light {
            font-size: 0.7rem;
            padding: 4px 12px;
        }

        .leaders-section .icn-carousel .slick-prev {
            left: -10px;
        }

        .leaders-section .icn-carousel .slick-next {
            right: -10px;
        }

        .leaders-section .icn-carousel .slick-prev,
        .leaders-section .icn-carousel .slick-next {
            width: 32px;
            height: 32px;
        }

            .leaders-section .icn-carousel .slick-prev:before,
            .leaders-section .icn-carousel .slick-next:before {
                font-size: 14px;
            }

        .leaders-section .icn-carousel .slick-dots {
            bottom: -30px;
        }
}

/* Small Mobile */
@media (max-width: 575px) {
    .leaders-section .leader-img {
        height: 280px;
    }

    .leaders-section .leader-card h3 {
        font-size: 1.2rem;
    }

    .leaders-section .leader-card .text-muted {
        font-size: 0.85rem;
    }

    .leaders-section .leader-card p {
        font-size: 0.85rem;
    }
}

/* Extra Small Mobile */
@media (max-width: 480px) {
    .leaders-section .leader-img {
        height: 240px;
    }

    .leaders-section .leader-card {
        padding: 15px;
    }

        .leaders-section .leader-card h3 {
            font-size: 1.1rem;
        }

    .leaders-section .leader-quote {
        font-size: 0.8rem;
        padding: 10px 12px;
    }
}


.product-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .product-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 5px 20px rgba(0,0,0,0.15) !important;
    }

.product-image {
    overflow: hidden;
}

    .product-image img {
        transition: transform 0.5s ease;
    }

.product-card:hover .product-image img {
    transform: scale(1.05);
}


.whatsapp-toggle {
    margin: 15px 0 5px;
    padding: 5px 0;
}

.switch-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    color: #333;
    user-select: none;
}

    .switch-label input {
        position: relative;
        width: 40px;
        height: 20px;
        appearance: none;
        background: #ddd;
        border-radius: 20px;
        margin-right: 10px;
        cursor: pointer;
        transition: all 0.3s ease;
    }

        .switch-label input:checked {
            background: #25D366;
        }

        .switch-label input:before {
            content: '';
            position: absolute;
            width: 18px;
            height: 18px;
            border-radius: 50%;
            background: white;
            top: 1px;
            left: 1px;
            transition: all 0.3s ease;
        }

        .switch-label input:checked:before {
            left: 21px;
        }

.toggle-text {
    font-weight: 500;
}


#differentWhatsAppField {
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.icon-service:before {
    content: "⚙️";
    font-style: normal;
}


.fab.fa-whatsapp {
    color: #25D366;
    font-size: 18px;
}

.form-group {
    margin-bottom: 15px;
    position: relative;
}

.error-text {
    color: #dc3545;
    font-size: 12px;
    margin-top: 5px;
    padding-left: 40px;
    display: none;
}

.form-group.has-error .input-group {
    border-color: #dc3545;
}

    .form-group.has-error .input-group span {
        color: #dc3545;
    }

.form-group.has-error .error-text {
    display: block;
}

/* Alert Styling */
.alert {
    padding: 12px 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-danger {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.alert-success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.alert .close {
    margin-left: auto;
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: inherit;
    opacity: 0.7;
}

    .alert .close:hover {
        opacity: 1;
    }

/* Success/Error Icons */
.icon-warning:before {
    content: "⚠️";
    font-style: normal;
}

.icon-check:before {
    content: "✓";
    font-style: normal;
    font-weight: bold;
}
/* Additional Styles */
.product-previews {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.product-previews-item {
    width: 80px;
    height: 80px;
    border: 2px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.3s;
}

    .product-previews-item.active {
        border-color: #007bff;
    }

    .product-previews-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        background-color: #fff;
    }

.product-block-mainimage {
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    padding: 10px;
    background: #fff;
}

    .product-block-mainimage img {
        width: 100%;
        height: auto;
        max-height: 500px;
        object-fit: contain;
        background-color: #fff;
    }

.product-block-price {
    font-size: 2rem;
    font-weight: bold;
    color: #28a745;
    margin: 10px 0;
}

.product-block-price-comment {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.features-list {
    list-style: none;
    padding-left: 0;
}

    .features-list li {
        padding: 5px 0;
        border-bottom: 1px dashed #eee;
    }

.qty-count {
    display: inline-flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
}

.count-reduce, .count-add {
    background: #f8f9fa;
    border: none;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
}

.count-input {
    width: 50px;
    height: 40px;
    border: none;
    text-align: center;
    font-size: 1rem;
    background: #fff;
}





.csr-content {
    padding-right: 30px;
}

.csr-intro {
    font-size: 18px;
    line-height: 1.8;
    color: #555;
    font-weight: 400;
    margin-bottom: 30px;
    border-left: 4px solid #338FBE;
    padding-left: 20px;
}

.csr-item {
    margin-bottom: 30px;
}

.csr-title {
    font-size: 22px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
    position: relative;
    padding-bottom: 10px;
}

    .csr-title:after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 60px;
        height: 3px;
        background: #338FBE;
    }

.csr-description {
    font-size: 15px;
    line-height: 1.7;
    color: #666;
    margin-bottom: 10px;
}

.csr-link {
    color: #338FBE;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

    .csr-link:hover {
        color: #1a5f7a;
        transform: translateX(5px);
    }

    .csr-link i {
        font-size: 12px;
        transition: transform 0.3s ease;
    }

    .csr-link:hover i {
        transform: translateX(3px);
    }

/* Right Side Cards */
.csr-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

    .csr-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 30px rgba(51, 143, 190, 0.15);
    }

.csr-card-img {
    height: 200px;
    overflow: hidden;
}

    .csr-card-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

.csr-card:hover .csr-card-img img {
    transform: scale(1.05);
}

.csr-card-content {
    padding: 20px;
}

.csr-card-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.csr-card-text {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.csr-card-link {
    color: #338FBE;
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

    .csr-card-link:hover {
        color: #1a5f7a;
        gap: 8px;
    }

    .csr-card-link i {
        font-size: 11px;
    }

@media (max-width: 991px) {
    .csr-content {
        padding-right: 0;
        margin-bottom: 40px;
    }

    .csr-title {
        font-size: 20px;
    }
}

@media (max-width: 767px) {
    #csrSection {
      
    }

    .csr-intro {
        font-size: 16px;
    }

    .csr-card-img {
        height: 180px;
    }
}

@media (max-width: 575px) {
    .csr-card {
        margin-bottom: 20px;
    }

    .csr-card-img {
        height: 160px;
    }
}



.col-md-8.col-lg-9 {
    overflow-x: visible;
}

#productContainer {
    overflow-x: visible;
}

    #productContainer .pagination {
        overflow-x: visible;
        flex-wrap: wrap;
        margin: 0;
        padding: 0;
    }

.clearfix {
    clear: both;
}

.mt-5 {
    margin-top: 2rem !important;
}

/* ============================= */
/* MOBILE BACK TO TOP BUTTON */
/* ============================= */

@media (max-width: 768px) {
    .backToTop {
        bottom: 20px;
    }
}
/* AJAX Loader */
.ajax-loader {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

/* Active category styles */
.active-category {
    color: #007bff !important;
    font-weight: bold !important;
}

.active-category-parent {
    color: #0056b3 !important;
}


/* Product search for the search box End */

/* Error handling styles */
.error-message {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
    padding: 15px;
    border-radius: 4px;
    margin: 20px 0;
}

.loading-spinner {
    animation: spin 1s linear infinite;
    display: inline-block;
}

@@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Pagination - Match theme exactly */
.pagination {
    margin-top: 20px;
}

    .pagination .page-link {
        color: #0096d6;
        border: none;
        margin: 0 3px;
        border-radius: 4px;
    }

    .pagination .page-item.active .page-link {
        background: #0096d6;
        color: #fff;
    }

    .pagination .page-link:hover {
        background: #e9ecef;
    }

/* ================ BLOG SEARCH BOX ================ */

/* Video Wrapper */
.custom-video-wrapper {
    position: relative;
    width: 100%;
    height: 450px; 
    overflow: hidden;
    border-radius: 10px;
    background: #000;
}

/* Video */
.custom-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Play/Pause Button */
.video-control-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: rgba(0,0,0,0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
}

    .video-control-btn:hover {
        background: rgba(0,0,0,0.8);
        transform: scale(1.1);
    }

    .video-control-btn i {
        color: white;
        font-size: 20px;
    }

/* Responsive */
@media (max-width: 768px) {
    .custom-video-wrapper {
        height: 250px;
    }

    .video-control-btn {
        width: 40px;
        height: 40px;
    }

        .video-control-btn i {
            font-size: 16px;
        }
}

@media (max-width: 480px) {
    .custom-video-wrapper {
        height: 200px;
    }
}
.video-control-btn i {
    font-size: 24px;
}

.video-control-btn:hover {
    background: #ffffff;
    opacity: 1;
    transform: scale(1.1);
}
/* ========== PRODUCT SECTION - THEME MATCH ========== */
.products-section {
    padding: 40px 0 0px 0 !important;
    background: #fff;
}

    .products-section .products-category-tabs {
        border-bottom: none;
        gap: 0px;
        flex-wrap: wrap;
        margin-bottom: -10px !important;
        justify-content: center;
    }

        .products-section .products-category-tabs .nav-link {
            font-weight: 500;
            font-size: 16px;
            color: #6c757d;
            border: none;
            padding: 10px 20px;
            border-radius: 0;
            transition: all 0.3s ease;
            background: transparent;
            cursor: pointer;
            text-transform: none;
            letter-spacing: 0.3px;
            position: relative;
        }

            .products-section .products-category-tabs .nav-link:hover {
                color: #DE2741;
                background: transparent;
            }

            .products-section .products-category-tabs .nav-link.active {
                font-weight: 600;
                color: #DE2741;
            }

                .products-section .products-category-tabs .nav-link.active::after {
                    content: '';
                    position: absolute;
                    bottom: -1px;
                    left: 0;
                    right: 0;
                    height: 2px;
                    background: #DE2741;
                }

    .products-section .title-wrap {
        margin-bottom: 0;
    }

        .products-section .title-wrap + * {
            margin-top: 10px;
        }

    .products-section .products-category-tabs + * {
        margin-top: 0 !important;
    }

    /* Tab Panes */
    .products-section .tab-pane {
        display: none;
        margin-top: 0 !important;
        padding-top: 0 !important;
    }

        .products-section .tab-pane.active {
            display: block;
        }

    .products-section .products-carousel {
        visibility: hidden;
    }

    .products-section .tab-pane.active .products-carousel {
        visibility: visible;
    }

    .products-section .products-carousel {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }

    .products-section .special-card {
        position: relative;
        margin-top: 10px;
        margin-bottom: 15px;
        box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
        background: #fff;
        overflow: hidden;
    }

    .products-section .special-card-photo {
        position: relative;
        overflow: hidden;
        transition: 0.3s;
        background: #fff;
        height: 220px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

        .products-section .special-card-photo img {
            max-width: 100%;
            max-height: 100%;
            width: auto !important;
            height: auto !important;
            object-fit: contain;
            transition: 0.75s;
        }

    .products-section .special-card:hover .special-card-photo img {
        transform: scale(1.05) rotate(0.01deg);
    }

    .products-section .special-card-caption {
        position: static;
        height: auto;
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 20px;
        background: #fbfbfb;
        overflow-wrap: break-word;
        word-wrap: break-word;
        word-break: break-word;
    }

    .products-section .special-card-txt1 {
        font-family: "Poppins", sans-serif;
        font-size: 18px;
        font-weight: 500;
        line-height: 1.35;
        color: #2c2c2c;
        margin-bottom: 6px;
        overflow-wrap: break-word;
        word-break: break-word;
    }

    .products-section .special-card-txt3 {
        font-family: "Poppins", sans-serif;
        font-size: 14px;
        line-height: 1.6;
        color: #6f7a83;
        margin-bottom: 12px;
        overflow-wrap: break-word;
        word-break: break-word;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .products-section .special-card .btn-wrap {
        margin-top: 0;
    }

    .products-section .special-card .btn {
        display: inline-flex;
        align-items: center;
        gap: 5px;
        padding: 8px 20px;
        font-size: 13px;
        font-weight: 600;
        border-radius: 26px;
        background: transparent;
        color: #338FBE;
        border: 2px solid #338FBE;
        transition: all 0.3s ease;
    }

        .products-section .special-card .btn:hover {
            background: #338FBE;
            color: #fff;
            transform: translateX(3px);
            text-decoration: none;
        }

        .products-section .special-card .btn i {
            font-size: 11px;
            transition: transform 0.3s ease;
        }

        .products-section .special-card .btn:hover i {
            transform: translateX(3px);
        }

    
    .products-section .slick-dots {
        margin-top: 20px !important;
        margin-bottom: 40px !important;
        position: relative;
        bottom: 0;
    }

        .products-section .slick-dots li button:before {
            font-size: 10px;
            color: #e1e5e9;
        }

        .products-section .slick-dots li.slick-active button:before {
            color: #338FBE;
        }

    .products-section .service-box-title {
        transition: 0.7s;
        font-size: 22px;
        font-weight: 600;
        color: #333;
        margin-bottom: 10px;
    }

    .products-section p {
        font-size: 14px; 
        color: #787878;
        line-height: 1.6875; 
        margin-bottom:10px;
    }

/* ===== RESPONSIVE ===== */

/* Tablet */
@media (max-width: 1023px) {
    .products-section {
        padding: 30px 0 0px 0 !important;
    }

        .products-section .special-card-photo {
            height: 180px;
        }

        .products-section .special-card-txt1 {
            font-size: 16px;
            margin-bottom: 4px;
        }

        .products-section .special-card-txt3 {
            font-size: 12px;
            margin-bottom: 8px;
            -webkit-line-clamp: 2;
        }

        .products-section .products-category-tabs .nav-link {
            font-size: 16px;
        }

        .products-section .special-card .btn {
            padding: 6px 16px;
            font-size: 12px;
        }

        .products-section .slick-dots {
            margin-top: 15px !important;
            margin-bottom: 35px !important;
        }
}


@media (min-width: 768px) {
    .products-section .product-slide .col-md-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}


@media (max-width: 767px) {
    .products-section {
        padding: 20px 0 0px 0 !important;
    }

        .products-section .product-slide .row {
            display: flex;
            flex-wrap: wrap;
            margin: 0 -10px;
        }

        .products-section .product-slide .col-12 {
            flex: 0 0 100%;
            max-width: 100%;
        }

        .products-section .product-slide .col-md-6 {
            flex: 0 0 100% !important;
            max-width: 100% !important;
        }
        .products-section .slick-slide .col-md-6 {
            width: 100% !important;
            flex: 0 0 100% !important;
            max-width: 100% !important;
        }
        
            .products-section .product-slide .col-md-6:nth-child(2) {
                display: none;
            }

        .products-section .special-card {
            margin: 8px 0;
            margin-left:0px;
            margin-right:0px;
        }

        .products-section .special-card-photo {
            height: 180px;
        }

        .products-section .special-card-txt1 {
            font-size: 15px;
            margin-bottom: 4px;
        }

        .products-section .special-card-txt3 {
            font-size: 12px;
            margin-bottom: 8px;
            -webkit-line-clamp: 2;
        }

        .products-section .products-category-tabs {
            margin-bottom: 0px;
        }

            .products-section .products-category-tabs .nav-link {
                font-size: 14px;
                padding: 6px 12px;
            }

        .products-section .title-wrap + * {
            margin-top: 8px;
        }

        .products-section .special-card .btn {
            padding: 5px 12px;
            font-size: 11px;
        }

        .products-section .slick-dots {
            margin-top: 15px !important;
            margin-bottom: 30px !important;
        }
}

/* Small Mobile */
@media (max-width: 480px) {
    .products-section {
        padding: 15px 0 0px 0 !important;
    }

        .products-section .special-card-photo {
            height: 140px;
        }

        .products-section .special-card-txt1 {
            font-size: 14px;
        }

        .products-section .special-card-txt3 {
            font-size: 11px;
            -webkit-line-clamp: 2;
        }

        .products-section .slick-dots {
            margin-top: 10px !important;
            margin-bottom: 25px !important;
        }
}


/* Hide the quote symbol that is covering text */
.bg-grey-dark .reviews-carousel:before {
    display: none !important;
}

/* Ensure text is visible */
.testimonial-text {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 20px; /* 20px margin */
    position: relative;
    padding-left: 25px;
    flex-grow: 1;
}

    /* Ensure last-child also has margin */
    .testimonial-text:last-child {
        margin-bottom: 20px;
    }
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

/* Author image styling */
.author-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid #338FBE;
    flex-shrink: 0;
}


.author-info {
    flex: 1;
}


.author-name {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
    display: block;
}


.author-designation {
    font-size: 13px;
    color: #777;
    line-height: 1.4;
    display: block;
}


.bg-grey-dark .slick-dots {
    bottom: -30px;
}

    .bg-grey-dark .slick-dots li button:before {
        font-size: 10px;
        color: #cbd5e1;
    }

    .bg-grey-dark .slick-dots li.slick-active button:before {
        color: #338FBE;
    }

.bg-grey-dark {
    padding: 50px 0 40px 0 !important;
}

.testimonials-wrapper {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.reviews-carousel {
    margin-bottom: 0 !important;
}

    .reviews-carousel .slick-dots {
        margin-bottom: 0 !important;
        bottom: -20px !important;
    }


.testimonial-item {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}
@media (min-width: 992px) {
    .bg-grey-dark .row.align-items-center {
        position: relative;
    }

    
    .bg-grey-dark .col-lg-7 {
        position: relative;
    }

        .bg-grey-dark .col-lg-7::after {
            content: '';
            position: absolute;
            right: 0;
            top: 15%;
            bottom: 15%;
            width: 1px;
            background: #e0e0e0;
        }

    
    .bg-grey-dark .col-lg-5 {
        padding-left: 40px;
    }
}

.partners-card {
    padding: 20px 25px !important;
}

    
    .partners-card .mb-5 {
        margin-bottom: 1.25rem !important;
    }

    .partners-card .mb-4 {
        margin-bottom: 1rem !important;
    }

    .partners-card .mb-3 {
        margin-bottom: 0.5rem !important;
    }


.partners-title {
    margin-bottom: 15px !important;
}


.partners-card .gap-3 {
    gap: 0.5rem !important;
}

.partners-card .gap-md-4 {
    gap: 0.75rem !important;
}


.partner-item {
    padding: 0.25rem !important;
}

.partners-card .mb-5:last-child {
    margin-bottom: 0 !important;
}

/* ===== RESPONSIVE ===== */

/* Tablet */
@media (max-width: 1023px) {
    .testimonial-text {
        font-size: 16px;
        line-height: 1.5;
    }

    .testimonial-author {
        gap: 12px;
    }

    .author-img {
        width: 55px;
        height: 55px;
    }

    .author-name {
        font-size: 15px;
        margin-bottom: 4px;
    }

    .author-designation {
        font-size: 12px;
    }

    .bg-grey-dark .col-lg-7::after {
        display: none;
    }

    .bg-grey-dark {
        padding: 40px 0 30px 0 !important;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .testimonial-text {
        font-size: 15px;
        line-height: 1.5;
        margin-bottom: 15px;
    }

    .testimonial-author {
        gap: 12px;
        margin-top: 15px;
        padding-top: 12px;
    }

    .author-img {
        width: 50px;
        height: 50px;
    }

    .author-name {
        font-size: 14px;
        margin-bottom: 3px;
    }

    .author-designation {
        font-size: 12px;
    }

    /* Mobile pe vertical line remove */
    .bg-grey-dark .col-lg-7::after {
        display: none;
    }

    .bg-grey-dark {
        padding: 30px 0 25px 0 !important;
    }

    .partners-card {
        padding: 15px 20px !important;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .testimonial-text {
        font-size: 14px;
    }

    .testimonial-author {
        gap: 10px;
        padding-bottom: 10px;
    }

    .author-img {
        width: 45px;
        height: 45px;
    }

    .author-name {
        font-size: 13px;
    }

    .author-designation {
        font-size: 11px;
    }

    .bg-grey-dark {
        padding: 25px 0 20px 0 !important;
    }

    .partners-card {
        padding: 12px 15px !important;
    }
}

.timeline-wrapper {
    position: relative;
    padding: 20px 0;
    margin: 0 0 20px 0;
}

    .timeline-wrapper::after {
        content: "";
        display: block;
        clear: both;
    }

    .timeline-wrapper::before {
        content: '';
        position: absolute;
        left: 50%;
        top: 0;
        bottom: 0;
        width: 2px;
        background: #338FBE;
        transform: translateX(-50%);
    }
/* Timeline Card */
.timeline-card {
    position: relative;
    width: 50%;
    margin-bottom: 0;
    clear: both;
}

    .timeline-card:not(.right) {
        float: left;
        padding-right: 40px;
    }

  
    .timeline-card.right {
        float: right;
        padding-left: 40px;
    }

/* Center Dot */
.timeline-dot {
    position: absolute;
    top: 25px;
    width: 12px;
    height: 12px;
    background: #338FBE;
    border-radius: 50%;
    z-index: 2;
}

.timeline-card:not(.right) .timeline-dot {
    right: -6px;
}

.timeline-card.right .timeline-dot {
    left: -6px;
}

/* Card Content */
.timeline-card-content {
    background: #fff;
    border-radius: 12px;
    padding: 18px 24px;
    position: relative;
    transition: all 0.3s ease;
    border: 1px solid #eef2f6;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.timeline-card:hover .timeline-card-content {
    transform: translateY(-3px);
    border-color: #338FBE;
    box-shadow: 0 8px 20px rgba(51, 143, 190, 0.1);
}

/* Year Badge */
.timeline-year {
    display: inline-block;
    background: #338FBE;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 3px 12px;
    border-radius: 20px;
    margin-bottom: 10px;
}

/* Title */
.timeline-card-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1e2a3e;
    margin-bottom: 8px;
    line-height: 1.4;
}

/* Description */
.timeline-card-content p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #5a6874;
    margin-bottom: 0;
}

/* Icon */
.timeline-icon {
    position: absolute;
    bottom: 15px;
    right: 20px;
    width: 32px;
    height: 32px;
    background: rgba(51, 143, 190, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #338FBE;
    font-size: 14px;
    transition: all 0.3s ease;
}

.timeline-card.right .timeline-icon {
    right: auto;
    left: 20px;
}

.timeline-card:hover .timeline-icon {
    background: #338FBE;
    color: #fff;
}

/* Small Badge on Card */
.timeline-badge {
    position: absolute;
    top: 20px;
    width: 40px;
    height: 40px;
    background: #fff;
    border: 2px solid #338FBE;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 12px;
    color: #338FBE;
    transition: all 0.3s ease;
    z-index: 3;
}

.timeline-card:not(.right) .timeline-badge {
    right: -60px;
}

.timeline-card.right .timeline-badge {
    left: -60px;
}

.timeline-card:hover .timeline-badge {
    background: #338FBE;
    color: #fff;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 767px) {
    .timeline-wrapper::before {
        left: 18px;
    }

    .timeline-card {
        width: 100%;
        float: none;
        margin-bottom: 30px;
        padding-left: 60px !important;
    }

        .timeline-card:last-child {
            margin-bottom: 0;
        }

        .timeline-card:not(.right) .timeline-dot,
        .timeline-card.right .timeline-dot {
            left: -6px;
            right: auto;
        }

    .timeline-badge {
        width: 34px;
        height: 34px;
        font-size: 10px;
    }

    .timeline-card-content {
        padding: 15px 18px;
    }

        .timeline-card-content h3 {
            font-size: 1rem;
        }

        .timeline-card-content p {
            font-size: 0.85rem;
        }

    .timeline-icon {
        width: 28px;
        height: 28px;
        font-size: 12px;
        bottom: 12px;
        right: 15px;
    }

    .timeline-card.right .timeline-icon {
        left: auto;
        right: 15px;
    }
}


.prd-carousel {
    opacity: 1;
    visibility: visible;
    min-height: 200px;
}

    .prd-carousel.slick-initialized .prd {
        animation: fadeIn 0.3s ease;
    }

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ======================================== */
/* SIMILAR PRODUCTS - GRID FALLBACK */
/* ======================================== */

.prd-carousel.prd-grid-fallback {
    display: flex !important;
    flex-wrap: wrap !important;
    margin: -25px -15px 0 !important;
}

    .prd-carousel.prd-grid-fallback .prd {
        width: calc(33.333% - 30px) !important;
        margin: 30px 15px 0 !important;
        background: #fff !important;
        border: 1px solid #f0f0f0 !important;
        padding-bottom: 25px !important;
    }

        .prd-carousel.prd-grid-fallback .prd:hover {
            box-shadow: 0 0 25px rgba(0, 0, 0, 0.1) !important;
        }

@media (min-width: 768px) and (max-width: 1023px) {
    .prd-carousel.prd-grid-fallback .prd {
        width: calc(50% - 30px) !important;
    }

        .prd-carousel.prd-grid-fallback .prd:nth-child(2n) {
            margin-right: 0 !important;
        }
}

@media (max-width: 767px) {
    .prd-carousel.prd-grid-fallback .prd {
        width: calc(100% - 30px) !important;
        float: none !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

@media (min-width: 1024px) {
    .prd-carousel.prd-grid-fallback .prd:nth-child(3n) {
        margin-right: 0 !important;
    }
}
ul.category-list .subcategory-list {
    margin-top: 10px;
    padding-left: 10px;
}

    ul.category-list .subcategory-list li {
        margin-bottom: 8px;
    }

.subcategory-list li {
    list-style: none;
}

.pagination {
    clear: both;
    width: 100%;
}

.subcategory-list {
    display: none;
}
/*Tesmonial*/
.testimonials-section {
    padding: 80px 0;
    background: #fff;
}

.testimonials-left {
    background: linear-gradient(135deg, #1a5c7e, #2a7f9c);
    padding: 60px 50px;
    border-radius: 20px;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.section-title .sub-title {
    font-size: 14px;
    letter-spacing: 2px;
    color: #fff;
    opacity: 0.8;
    display: block;
    margin-bottom: 10px;
}

.section-title h2 {
    font-size: 42px;
    font-weight: 600;
    color: #fff;
    margin: 0;
}

.testimonial-arrows {
    display: flex;
    gap: 15px;
    margin-top: 40px;
}

.arrow-btn {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    padding: 10px 20px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
}

    .arrow-btn i {
        font-size: 12px;
    }

    .arrow-btn:hover {
        background: #DE2741;
        border-color: #DE2741;
    }

.testimonials-section {
    width: 100%;
    background: #fff;
    padding: 0;
    margin: 0;
}

.testimonials-container {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    min-height: 450px;
    margin: 0;
    padding: 0;
}

.testimonials-left {
    flex: 1;
    background: linear-gradient(135deg, #1a5c7e 0%, #2a7f9c 100%);
    padding: 60px 50px;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 0px;
}


.testimonials-right {
    flex: 1;
    padding: 60px 50px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-image: url('/images/HSILImages/Section-Image.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.9;
}


    .testimonials-right::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(255, 255, 255, 0.60); 
        z-index: 0;
    }


.slider-box,
.testimonial-slider,
.testimonial-item {
    position: relative;
    z-index: 1;
}


.slider-box {
    max-width: 100%;
    width: 100%;
    position: relative;
}

.testimonial-slider {
    width: 100%;
    height: 100%;
}

    .testimonial-slider .slick-list {
        overflow: hidden;
        margin: 0;
        padding: 0;
        height: auto;
    }

    .testimonial-slider .slick-track {
        display: flex;
        height: auto;
    }


.testimonial-item {
    background: #fff;
    border-radius: 0px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    margin: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}


.testimonial-item {
    min-height: 260px;
}


.doctor-info {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.doctor-img {
    width: 70px;
    height: 70px;
    border-radius: 0px;
    overflow: hidden;
    background: #f0f0f0;
}

    .doctor-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.doctor-name h4 {
    font-size: 18px;
    font-weight: 600;
    color: #222;
    margin-bottom: 5px;
}

.doctor-name span {
    font-size: 13px;
    color: #DE2741;
}

.testimonial-text {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 0;
    position: relative;
    padding-left: 25px;
    flex-grow: 1;
}

    .testimonial-text::before {
        content: '"';
        font-size: 45px;
        color: #DE2741;
        position: absolute;
        left: -5px;
        top: -20px;
        font-family: Georgia;
    }

.read-more {
    color: #DE2741;
    text-decoration: none;
    font-weight: 500;
    margin-top: 15px;
    display: inline-block;
}


.testimonial-slider .slick-dots {
    text-align: center;
    margin-top: 30px;
    position: relative;
    bottom: 0;
}

    .testimonial-slider .slick-dots li button:before {
        font-size: 10px;
        color: #bbb;
    }

    .testimonial-slider .slick-dots li.slick-active button:before {
        color: #DE2741;
    }


.testimonial-slider .slick-prev,
.testimonial-slider .slick-next {
    display: none !important;
}


.testimonial-arrows {
    display: flex;
    gap: 15px;
    margin-top: 40px;
}

.arrow-btn {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    padding: 10px 25px;
    border-radius: 0px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
}

    .arrow-btn:hover {
        background: #DE2741;
        border-color: #DE2741;
    }


@media (max-width: 992px) {
    .testimonials-container {
        flex-direction: column;
    }

    .testimonials-left {
        padding: 40px 30px;
    }

    .testimonials-right {
        padding: 40px 30px;
    }

    .testimonial-item {
        min-height: auto;
    }

   
    .testimonials-left .left-content {
        margin-bottom: 30px;
    }

    .testimonial-arrows {
        margin-top: 30px;
        gap: 12px;
    }
}

@media (max-width: 768px) {
    .testimonials-left {
        padding: 30px 25px;
        min-height: auto;
        justify-content: center;
    }

        
        .testimonials-left .left-content {
            margin-bottom: 30px;
        }

    .testimonial-arrows {
        margin-top: 30px;
        gap: 10px;
    }

    .arrow-btn {
        padding: 6px 18px;
        font-size: 12px;
    }

    .left-content .sub-title {
        font-size: 12px;
        margin-bottom: 5px;
    }

    .left-content h2 {
        font-size: 28px;
    }

    .testimonials-right {
        padding: 30px 20px;
    }

    .doctor-img {
        width: 55px;
        height: 55px;
    }

    .testimonial-text {
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .testimonials-left {
        padding: 20px 30px;
    }

       
        .testimonials-left .left-content {
            margin-bottom: 30px;
        }

    .testimonial-arrows {
        margin-top: 40px;
        gap: 8px;
    }

    .arrow-btn {
        padding: 4px 12px;
        font-size: 11px;
    }

    .left-content h2 {
        font-size: 22px;
    }

    .left-content .sub-title {
        font-size: 11px;
    }

    .testimonials-right {
        padding: 25px 15px;
    }
}

/* ======================================== */
/* PARTNERS SECTION - COMPLETE FIX */
/* ======================================== */


.bg-grey-dark .row:first-child {
    text-align: left;
}

.bg-grey-dark .h1 {
    font-size: 36px;
    font-weight: 600;
    color: #1a5c7e;
    text-align: left;
    margin-bottom: 20px;
}

.bg-grey-dark .h-decor {
    margin-left: 0;
    margin-right: auto;
}


.bg-grey-dark .row.align-items-center {
    position: relative;
}


.vertical-line-left {
    position: absolute;
    left: auto;
    right: 70%;
    top: 10%;
    bottom: 10%;
    width: 1px;
    background: #e0e0e0;
    z-index: 1;
}


.exclusive-partners-wrapper {
    padding: 20px;
    padding-left: 0; 
    text-align: left;
}

  
    .exclusive-partners-wrapper h5 {
        text-align: left !important;
    }

.exclusive-logo {
    display: inline-block;
    text-align: center;
    padding: 20px;
   
    border-radius: 8px;
    min-width: 180px;
   
}

    .exclusive-logo img {
        max-height: 80px; 
        width: auto;
    }

    .exclusive-logo span {
        display: block;
        font-size: 16px;
        font-weight: 600;
        color: #333;
        margin-top: 10px;
    }


.associate-partners-wrapper {
    padding: 20px;
    padding-left: 10px;
    text-align: left;
}

   
    .associate-partners-wrapper h5 {
        text-align: left !important;
    }


.associate-slider {
    width: 100%;
}

    .associate-slider .slick-list {
        overflow: hidden;
        margin: 0 -15px;
    }

    .associate-slider .slick-track {
        display: flex;
    }

    .associate-slider .slick-slide {
        float: left;
        width: 33.33333333% !important;
        height: auto;
    }

.associate-logo-item {
    text-align: center;
    padding: 0 15px;
}

    .associate-logo-item img {
        max-height: 100px; 
        width: auto;
        margin-bottom: 10px;
    }

    .associate-logo-item span {
        display: block;
        font-size: 14px;
        font-weight: 500;
        color: #555;
    }


.associate-slider .slick-dots {
    bottom: -40px;
    text-align: center;
}

    .associate-slider .slick-dots li {
        display: inline-block;
        margin: 0 4px;
    }

        .associate-slider .slick-dots li button:before {
            font-size: 10px;
            color: #bbb;
        }

        .associate-slider .slick-dots li.slick-active button:before {
            color: #DE2741;
        }


.associate-slider .slick-prev,
.associate-slider .slick-next {
    display: none !important;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 992px) {
    .vertical-line-left {
        display: none; 
    }

    .bg-grey-dark .h1 {
        font-size: 28px;
        text-align: left;
    }

    .bg-grey-dark .h-decor {
        margin-left: 0;
        margin-right: auto;
    }

    .exclusive-partners-wrapper {
        text-align: left;
        padding: 20px;
    }

        .exclusive-partners-wrapper h5 {
            text-align: left !important;
        }

    .associate-partners-wrapper {
        text-align: left;
    }

        .associate-partners-wrapper h5 {
            text-align: left !important;
        }

    .exclusive-logo {
        margin: 0;
        min-width: 160px;
    }

        .exclusive-logo img {
            max-height: 100px;
        }

    .associate-slider .slick-slide {
        width: 50% !important;
    }

    .associate-logo-item img {
        max-height: 80px;
    }
}

@media (max-width: 768px) {
    .bg-grey-dark .h1 {
        font-size: 24px;
        text-align: left;
    }

    .exclusive-logo {
        min-width: 140px;
        padding: 15px;
    }

        .exclusive-logo img {
            max-height: 80px;
        }

        .exclusive-logo span {
            font-size: 14px;
        }

    .associate-logo-item img {
        max-height: 65px;
    }

    .associate-logo-item span {
        font-size: 13px;
    }

    .associate-slider .slick-slide {
        width: 50% !important;
    }
}

@media (max-width: 576px) {
    .bg-grey-dark .h1 {
        font-size: 20px;
        text-align: left;
    }

    .exclusive-logo {
        min-width: 120px;
        padding: 10px;
        margin-left: 0;
        max-height: 100px;
    }

        .exclusive-logo img {
            max-height: 70px;
        }

        .exclusive-logo span {
            font-size: 13px;
        }

    .associate-logo-item img {
        max-height: 100px;
    }

    .associate-logo-item span {
        font-size: 12px;
    }

    .associate-slider .slick-slide {
        width: 100% !important;
    }
}
.product-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 12px;
    align-items: center;
}

.product-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
}

    .product-link:first-child {
        color: #338FBE;
    }

    .product-link:last-child {
        color: #DE2741;
    }

    .product-link:hover {
        text-decoration: none;
        transform: translateX(3px);
    }
.marker-list-md li {
    display: flex;
    align-items: flex-start;
   
}

    .marker-list-md li i {
        flex-shrink: 0;
        margin-top: 4px;
    }

