/**
 * Custom CSS - MeditravelSolution
 * Couleur principale du thème: #49abb4 (turquoise)
 */

:root {
    --theme-color: #49abb4;
    --theme-color-rgb: 73, 171, 180;
    --theme-color2: #3a8f97;
    --theme-color3: #2c7179;
    --title-color: #0e1133;
    --body-color: #5f6168;
    --smoke-color: #f5f9fc;
    --white-color: #ffffff;
    --black-color: #000000;
}

/* Boutons principaux */
.th-btn,
.btn-primary {
    background-color: #49abb4 !important;
    border-color: #49abb4 !important;
}

.th-btn:hover,
.btn-primary:hover {
    background-color: #3a8f97 !important;
    border-color: #3a8f97 !important;
}

.th-btn.style2 {
    background-color: transparent !important;
    border: 2px solid #49abb4 !important;
    color: #49abb4 !important;
}

.th-btn.style2:hover {
    background-color: #49abb4 !important;
    color: #ffffff !important;
}

.th-btn.style3 {
    background-color: #ffffff !important;
    color: #49abb4 !important;
}

.th-btn.style3:hover {
    background-color: #f5f9fc !important;
}

/* Liens */
a {
    color: #49abb4;
}

a:hover {
    color: #3a8f97;
}

/* Titres et sous-titres */
.sub-title {
    color: #49abb4 !important;
}

.sub-title::before,
.sub-title::after {
    background-color: #49abb4 !important;
}

/* Header - Keep sticky white like template */
.sticky-wrapper.sticky {
    background-color: #ffffff;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.sticky-wrapper.sticky .main-menu ul li a {
    color: #0e1133;
}

.sticky-wrapper.sticky .main-menu ul li a:hover,
.sticky-wrapper.sticky .main-menu ul li.current-menu-item > a {
    color: #49abb4 !important;
}

.header-button .th-btn {
    background-color: #49abb4;
}

/* Menu navigation */
.main-menu ul li a:hover,
.main-menu ul li.current-menu-item > a {
    color: #49abb4 !important;
}

.main-menu ul li .sub-menu li a:hover {
    background-color: #49abb4 !important;
    color: #ffffff !important;
}

/* Sections avec background de couleur thème */
.bg-theme,
.cta-area {
    background-color: #49abb4 !important;
}

/* Icons */
.service-card_icon,
.service-grid_icon,
.counter-card_icon,
.about-feature_icon {
    background-color: rgba(73, 171, 180, 0.1);
    color: #49abb4;
}

.service-card:hover .service-card_icon,
.service-grid:hover .service-grid_icon {
    background-color: #49abb4;
    color: #ffffff;
}

/* Cards hover effects */
.service-card:hover,
.service-grid:hover,
.blog-grid:hover {
    border-color: #49abb4;
}

/* Rating stars */
.rating i,
.testi-box .rating i {
    color: #ffc107;
}

/* Progress bars */
.progress-bar {
    background-color: #49abb4 !important;
}

/* Forms */
.form-control:focus,
.form-select:focus {
    border-color: #49abb4 !important;
    box-shadow: 0 0 0 0.2rem rgba(73, 171, 180, 0.25) !important;
}

/* Swiper pagination */
.swiper-pagination-bullet-active {
    background-color: #49abb4 !important;
}

/* Slider arrows */
.slider-arrow {
    background-color: #49abb4;
    border-color: #49abb4;
}

.slider-arrow:hover {
    background-color: #3a8f97;
    border-color: #3a8f97;
}

/* Counter animation */
.counter-card_number {
    color: #49abb4;
}

/* Team/Doctor cards */
.team-card:hover,
.th-team:hover {
    border-color: #49abb4;
}

.team-social a:hover {
    background-color: #49abb4;
    border-color: #49abb4;
}

/* Blog meta */
.blog-meta a:hover {
    color: #49abb4;
}

/* Badges et tags */
.badge-primary,
.badge.bg-primary {
    background-color: #49abb4 !important;
}

/* Tabs */
.nav-tabs .nav-link.active {
    border-bottom-color: #49abb4 !important;
    color: #49abb4 !important;
}

/* Scroll to top button */
.scroll-top {
    background-color: #49abb4;
}

.scroll-top:hover {
    background-color: #3a8f97;
}

.scroll-top path {
    stroke: #49abb4;
}

/* Preloader */
.preloader .preloaderCls {
    background-color: #49abb4;
}

/* Mobile menu */
.th-menu-toggle {
    color: #49abb4;
}

.th-mobile-menu ul li a:hover {
    color: #49abb4;
}

/* Footer */
.footer-widget a:hover {
    color: #49abb4;
}

.th-social a {
    background-color: rgba(73, 171, 180, 0.1);
    color: #49abb4;
}

.th-social a:hover {
    background-color: #49abb4;
    color: #ffffff;
}

/* Animations et effets */
.wow.fadeInUp,
.wow.fadeInLeft,
.wow.fadeInRight {
    animation-fill-mode: both;
}

/* Prix */
.service-card_price strong,
.tour-price {
    color: #49abb4;
}

/* Borders et lignes */
.border-theme {
    border-color: #49abb4 !important;
}

.text-theme {
    color: #49abb4 !important;
}

/* Background variants */
.bg-theme-light {
    background-color: rgba(73, 171, 180, 0.1) !important;
}

.bg-theme-dark {
    background-color: #2c7179 !important;
}

/* Hover effects globaux */
.hover-theme:hover {
    color: #49abb4 !important;
}

/* Testimonials */
.testi-box {
    border-top-color: #49abb4;
}

/* CTA Section */
.cta-wrap .sub-title::before,
.cta-wrap .sub-title::after {
    background-color: rgba(255, 255, 255, 0.3) !important;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .th-menu-wrapper {
        background-color: rgba(73, 171, 180, 0.98);
    }
}

/* Custom utility classes */
.color-primary {
    color: #49abb4 !important;
}

.bg-primary-custom {
    background-color: #49abb4 !important;
}

.border-primary-custom {
    border-color: #49abb4 !important;
}

/* Service Grid Enhancements */
.service-grid {
    transition: all 0.3s ease;
    height: 100%;
}

.service-grid:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.service-grid .box-img {
    position: relative;
    overflow: hidden;
    border-radius: 10px 10px 0 0;
}

.service-grid .box-img img {
    transition: transform 0.5s ease;
}

.service-grid:hover .box-img img {
    transform: scale(1.1);
}

.service-grid .icon-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 60px;
    height: 60px;
    background-color: #49abb4;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.3s ease;
    z-index: 2;
}

.service-grid:hover .icon-btn {
    transform: translate(-50%, -50%) scale(1);
}

.service-grid .icon-btn:hover {
    background-color: #3a8f97;
}

.service-grid .box-img::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.5) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-grid:hover .box-img::after {
    opacity: 1;
}

.service-grid .box-content {
    padding: 30px 25px;
}

.service-grid .box-title {
    margin-top: 15px;
    margin-bottom: 15px;
    font-size: 20px;
    line-height: 1.3;
}

.service-grid .box-title a {
    color: #0e1133;
    transition: color 0.3s ease;
}

.service-grid:hover .box-title a {
    color: #49abb4;
}

.service-grid .line-btn {
    color: #49abb4;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: gap 0.3s ease;
}

.service-grid .line-btn:hover {
    gap: 10px;
    color: #3a8f97;
}

/* Text animations */
.text-anime-style-2 {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.text-anime-style-3 {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards 0.2s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Team / Doctors Section Enhancements */
.th-team.team-box {
    transition: all 0.4s ease;
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.th-team.team-box:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 50px rgba(73, 171, 180, 0.15);
}

.th-team .team-img {
    position: relative;
    overflow: hidden;
}

.th-team .team-img img {
    width: 100%;
    transition: transform 0.5s ease;
}

.th-team:hover .team-img img {
    transform: scale(1.05);
}

.th-team .team-social {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    display: flex;
    gap: 10px;
    transition: all 0.4s ease;
    opacity: 0;
}

.th-team:hover .team-social {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.th-team .team-social a {
    width: 40px;
    height: 40px;
    background-color: #49abb4;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 16px;
}

.th-team .team-social a:hover {
    background-color: #3a8f97;
    transform: translateY(-5px);
}

.th-team .team-content {
    padding: 25px 20px;
    text-align: center;
}

.th-team .team-title {
    margin-bottom: 8px;
    font-size: 20px;
}

.th-team .team-title a {
    color: #0e1133;
    transition: color 0.3s ease;
}

.th-team:hover .team-title a {
    color: #49abb4;
}

.th-team .team-desig {
    color: #49abb4;
    font-weight: 600;
    font-size: 14px;
    display: block;
}

.th-team .team-clinic {
    font-size: 13px;
    color: #5f6168;
    margin-bottom: 0;
}

.th-team .team-clinic i {
    color: #49abb4;
    margin-right: 5px;
}

/* Slider arrows for team section */
#teamSlider3 .slider-arrow {
    background-color: #49abb4;
    color: #ffffff;
}

#teamSlider3 .slider-arrow:hover {
    background-color: #3a8f97;
}

.mt-45 {
    margin-top: 45px !important;
}

/* Clinics / Pediatric Cards Section */
.pediatric-card {
    background: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.pediatric-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(73, 171, 180, 0.2);
}

.pediatric-card .box-img {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.pediatric-card .box-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.pediatric-card:hover .box-img img {
    transform: scale(1.15);
}

.pediatric-card .badge-clinic {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    transform: scale(0);
    transition: all 0.3s ease;
}

.pediatric-card:hover .badge-clinic {
    transform: scale(1) rotate(360deg);
}

.pediatric-card .badge-clinic img {
    width: 20px;
    height: 20px;
}

.pediatric-card .box-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.pediatric-card .meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.pediatric-card .meta .tag {
    background-color: rgba(73, 171, 180, 0.1);
    color: #49abb4;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.pediatric-card .meta .rating {
    color: #ffc107;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.pediatric-card .box-title {
    font-size: 22px;
    margin-bottom: 12px;
    line-height: 1.3;
}

.pediatric-card .box-title a {
    color: #0e1133;
    transition: color 0.3s ease;
}

.pediatric-card:hover .box-title a {
    color: #49abb4;
}

.pediatric-card .box-text {
    color: #5f6168;
    font-size: 14px;
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.pediatric-card .box-text i {
    color: #49abb4;
    margin-top: 3px;
}

.pediatric-card .clinic-desc {
    color: #5f6168;
    font-size: 14px;
    line-height: 1.6;
}

.pediatric-card .btn-group {
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

.pediatric-card .th-btn.black-border {
    background-color: transparent;
    color: #0e1133;
    border: 2px solid #0e1133;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
}

.pediatric-card .th-btn.black-border:hover {
    background-color: #49abb4;
    border-color: #49abb4;
    color: #ffffff;
}

.pediatric-card .doctor-count {
    color: #49abb4;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Certification Badges */
.certification-area {
    padding: 30px;
    background: rgba(73, 171, 180, 0.05);
    border-radius: 15px;
}

.cert-badge {
    padding: 20px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    min-width: 120px;
}

.cert-badge:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(73, 171, 180, 0.15);
}

.cert-badge .text-theme {
    color: #49abb4 !important;
}

.text-theme {
    color: #49abb4 !important;
}

/* ============================================
   Tour/Circuits Cards Section
============================================ */
.tour-card {
    background: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.tour-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 40px rgba(73, 171, 180, 0.2);
}

.tour-card .box-img {
    position: relative;
    height: 260px;
    overflow: hidden;
}

.tour-card .box-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.tour-card:hover .box-img img {
    transform: scale(1.15);
}

.tour-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #49abb4;
    font-size: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.tour-card:hover .tour-badge {
    background: #49abb4;
    color: #ffffff;
    transform: rotate(360deg);
}

.tour-featured {
    position: absolute;
    top: 20px;
    left: 20px;
    background: linear-gradient(135deg, #49abb4 0%, #3a8f97 100%);
    color: #ffffff;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 3px 10px rgba(73, 171, 180, 0.4);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.tour-card .box-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.tour-meta-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.tour-duration,
.tour-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 500;
    color: #666;
}

.tour-duration i,
.tour-rating i {
    color: #49abb4;
    font-size: 16px;
}

.tour-card .box-title {
    margin-bottom: 12px;
    font-size: 20px;
    line-height: 1.4;
    min-height: 56px;
}

.tour-card .box-title a {
    color: #1a1a1a;
    transition: color 0.3s ease;
}

.tour-card:hover .box-title a {
    color: #49abb4;
}

.tour-desc {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
    min-height: 66px;
}

.tour-highlights {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(73, 171, 180, 0.05);
    border-radius: 8px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #555;
    font-weight: 500;
}

.highlight-item i {
    color: #49abb4;
    font-size: 14px;
}

.tour-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.tour-price {
    display: flex;
    flex-direction: column;
}

.price-label {
    font-size: 12px;
    color: #999;
    margin-bottom: 2px;
}

.price-amount {
    font-size: 22px;
    font-weight: 700;
    color: #49abb4;
    line-height: 1;
}

.tour-footer .th-btn {
    padding: 10px 20px;
    font-size: 14px;
}

/* Tour Stats */
.tour-stats-area {
    padding: 40px;
    background: linear-gradient(135deg, rgba(73, 171, 180, 0.08) 0%, rgba(73, 171, 180, 0.03) 100%);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.tour-stats-area::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(73, 171, 180, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.tour-stats-area::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(73, 171, 180, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.tour-stat-box {
    position: relative;
    z-index: 1;
    padding: 20px;
    transition: transform 0.3s ease;
}

.tour-stat-box:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: #49abb4;
    margin-bottom: 8px;
    line-height: 1;
}

.stat-label {
    font-size: 14px;
    color: #666;
    margin: 0;
    font-weight: 500;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .pediatric-card .box-img {
        height: 220px;
    }

    .tour-card .box-img {
        height: 220px;
    }

    .tour-stats-area {
        padding: 30px 20px;
    }

    .stat-number {
        font-size: 28px;
    }
}

@media (max-width: 767px) {
    .pediatric-card .box-img {
        height: 200px;
    }

    .pediatric-card .btn-group {
        flex-direction: column;
        gap: 10px;
    }

    .pediatric-card .doctor-count {
        justify-content: center;
    }

    .tour-card .box-img {
        height: 200px;
    }

    .tour-card .box-title {
        font-size: 18px;
        min-height: auto;
    }

    .tour-desc {
        min-height: auto;
    }

    .tour-footer {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }

    .tour-stats-area {
        padding: 25px 15px;
    }

    .stat-number {
        font-size: 24px;
    }

    .stat-label {
        font-size: 12px;
    }
}

/* ============================================
   Blog Cards Section
============================================ */
.blog-card {
    background: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(73, 171, 180, 0.15);
}

.blog-card .blog-img {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.blog-card .blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.blog-card:hover .blog-img img {
    transform: scale(1.1) rotate(2deg);
}

.blog-date {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #ffffff;
    border-radius: 10px;
    padding: 10px 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    z-index: 2;
}

.date-day {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: #49abb4;
    line-height: 1;
}

.date-month {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    margin-top: 2px;
}

.blog-category {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 2;
}

.cat-badge {
    background: linear-gradient(135deg, #49abb4 0%, #3a8f97 100%);
    color: #ffffff;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    box-shadow: 0 3px 10px rgba(73, 171, 180, 0.4);
    display: inline-block;
}

.blog-card .blog-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #666;
    font-weight: 500;
}

.meta-item i {
    color: #49abb4;
    font-size: 14px;
}

.blog-card .blog-title {
    margin-bottom: 12px;
    font-size: 20px;
    line-height: 1.4;
    min-height: 56px;
}

.blog-card .blog-title a {
    color: #1a1a1a;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card:hover .blog-title a {
    color: #49abb4;
}

.blog-excerpt {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #49abb4;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.read-more-btn:hover {
    color: #3a8f97;
    gap: 12px;
}

.read-more-btn i {
    transition: transform 0.3s ease;
}

.read-more-btn:hover i {
    transform: translateX(3px);
}

.blog-share {
    width: 36px;
    height: 36px;
    border: 2px solid rgba(73, 171, 180, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #49abb4;
    font-size: 14px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.blog-share:hover {
    background: #49abb4;
    color: #ffffff;
    border-color: #49abb4;
    transform: rotate(360deg);
}

/* Blog Topics */
.blog-topics-area {
    padding: 30px;
    background: rgba(73, 171, 180, 0.05);
    border-radius: 15px;
}

.topic-tag {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    background: #ffffff;
    border: 2px solid rgba(73, 171, 180, 0.2);
    border-radius: 25px;
    color: #555;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
}

.topic-tag i {
    color: #49abb4;
    transition: transform 0.3s ease;
}

.topic-tag:hover {
    background: #49abb4;
    color: #ffffff;
    border-color: #49abb4;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(73, 171, 180, 0.3);
}

.topic-tag:hover i {
    color: #ffffff;
    transform: scale(1.2);
}

/* Responsive Blog */
@media (max-width: 991px) {
    .blog-card .blog-img {
        height: 220px;
    }

    .blog-card .blog-title {
        font-size: 18px;
        min-height: auto;
    }

    .blog-topics-area {
        padding: 25px 20px;
    }
}

@media (max-width: 767px) {
    .blog-card .blog-img {
        height: 200px;
    }

    .blog-card .blog-title {
        font-size: 17px;
    }

    .blog-excerpt {
        -webkit-line-clamp: 2;
    }

    .blog-footer {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }

    .blog-topics-area {
        padding: 20px 15px;
    }

    .topic-tag {
        padding: 8px 16px;
        font-size: 13px;
    }
}

/* ============================================
   Enhanced CTA Section
============================================ */
.cta-section-enhanced {
    padding: 100px 0;
    background: linear-gradient(135deg, #49abb4 0%, #3a8f97 50%, #2c7179 100%);
    position: relative;
}

.cta-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><rect fill="rgba(255,255,255,0.03)" width="50" height="50"/><rect fill="rgba(255,255,255,0.05)" x="50" y="50" width="50" height="50"/></svg>');
    opacity: 0.4;
}

.cta-shapes .shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.cta-shapes .shape-1 {
    width: 400px;
    height: 400px;
    top: -200px;
    right: -100px;
    animation: float 20s infinite ease-in-out;
}

.cta-shapes .shape-2 {
    width: 300px;
    height: 300px;
    bottom: -150px;
    left: -50px;
    animation: float 15s infinite ease-in-out reverse;
}

.cta-shapes .shape-3 {
    width: 200px;
    height: 200px;
    top: 50%;
    left: 50%;
    animation: float 25s infinite ease-in-out;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-30px) scale(1.1);
    }
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 36px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    animation: pulse-icon 2s infinite;
}

@keyframes pulse-icon {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    }
}

.cta-subtitle {
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.95;
}

.cta-title {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.3;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.cta-title .highlight {
    background: linear-gradient(120deg, #ffffff 0%, rgba(255, 255, 255, 0.7) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
}

.cta-text {
    font-size: 16px;
    line-height: 1.7;
    opacity: 0.95;
}

.cta-features {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
}

.cta-feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
}

.cta-feature-item i {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
}

/* CTA Card */
.cta-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 2;
}

.cta-card-header h3 {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 5px;
}

.cta-card-header p {
    color: #666;
    font-size: 14px;
    margin-bottom: 25px;
}

.cta-primary-btn {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 20px;
    background: linear-gradient(135deg, rgba(73, 171, 180, 0.08) 0%, rgba(73, 171, 180, 0.03) 100%);
    border: 2px solid rgba(73, 171, 180, 0.2);
    border-radius: 12px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.cta-primary-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(73, 171, 180, 0.1), transparent);
    transition: left 0.5s ease;
}

.cta-primary-btn:hover::before {
    left: 100%;
}

.cta-primary-btn:hover {
    background: #49abb4;
    border-color: #49abb4;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(73, 171, 180, 0.3);
}

.cta-primary-btn .btn-icon {
    width: 50px;
    height: 50px;
    background: #49abb4;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 20px;
    transition: all 0.3s ease;
}

.cta-primary-btn:hover .btn-icon {
    background: #ffffff;
    color: #49abb4;
    transform: rotate(10deg);
}

.cta-primary-btn .btn-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.btn-label {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    transition: color 0.3s ease;
}

.btn-sublabel {
    font-size: 12px;
    color: #666;
    transition: color 0.3s ease;
}

.cta-primary-btn:hover .btn-label,
.cta-primary-btn:hover .btn-sublabel {
    color: #ffffff;
}

.btn-arrow {
    font-size: 18px;
    color: #49abb4;
    transition: all 0.3s ease;
}

.cta-primary-btn:hover .btn-arrow {
    color: #ffffff;
    transform: translateX(5px);
}

/* CTA Divider */
.cta-divider {
    text-align: center;
    position: relative;
    margin: 25px 0;
}

.cta-divider::before,
.cta-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40%;
    height: 1px;
    background: rgba(0, 0, 0, 0.1);
}

.cta-divider::before {
    left: 0;
}

.cta-divider::after {
    right: 0;
}

.cta-divider span {
    background: #ffffff;
    padding: 0 15px;
    color: #999;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
}

/* Quick Contact Buttons */
.cta-contact-quick {
    display: flex;
    gap: 10px;
}

.cta-quick-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 15px;
    border: 2px solid rgba(73, 171, 180, 0.2);
    border-radius: 10px;
    color: #49abb4;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.cta-quick-btn i {
    font-size: 18px;
}

.cta-quick-btn:hover {
    background: #49abb4;
    color: #ffffff;
    border-color: #49abb4;
    transform: translateY(-2px);
}

.cta-quick-btn.whatsapp:hover {
    background: #25D366;
    border-color: #25D366;
}

/* Trust Badge */
.cta-trust-badge {
    margin-top: 20px;
}

.trust-badge-content {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px;
    background: rgba(73, 171, 180, 0.1);
    border-radius: 12px;
    border-left: 4px solid #49abb4;
}

.trust-badge-content i {
    font-size: 32px;
    color: #49abb4;
}

.trust-badge-content strong {
    display: block;
    color: #1a1a1a;
    font-size: 14px;
    margin-bottom: 2px;
}

.trust-badge-content p {
    color: #666;
    font-size: 12px;
    margin: 0;
}

/* Responsive CTA */
@media (max-width: 991px) {
    .cta-section-enhanced {
        padding: 80px 0;
    }

    .cta-title {
        font-size: 32px;
    }

    .cta-card {
        margin-top: 40px;
        padding: 30px;
    }

    .cta-features {
        gap: 20px;
    }
}

@media (max-width: 767px) {
    .cta-section-enhanced {
        padding: 60px 0;
    }

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

    .cta-icon {
        width: 60px;
        height: 60px;
        font-size: 28px;
    }

    .cta-features {
        flex-direction: column;
        gap: 15px;
    }

    .cta-card {
        padding: 25px;
    }

    .cta-primary-btn {
        padding: 15px;
    }

    .cta-primary-btn .btn-icon {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }

    .btn-label {
        font-size: 14px;
    }

    .cta-contact-quick {
        flex-direction: column;
    }
}

/* ========================================
   RTL Support for Arabic Language
   ======================================== */

[dir="rtl"] {
    text-align: right;
    direction: rtl;
}

/* Reverse flex directions */
[dir="rtl"] .header-links ul,
[dir="rtl"] .header-button,
[dir="rtl"] .breadcumb-content,
[dir="rtl"] .info-box-wrap {
    flex-direction: row-reverse;
}

/* Flip margins and paddings */
[dir="rtl"] .ms-1 { margin-right: 0.25rem !important; margin-left: 0 !important; }
[dir="rtl"] .ms-2 { margin-right: 0.5rem !important; margin-left: 0 !important; }
[dir="rtl"] .ms-3 { margin-right: 1rem !important; margin-left: 0 !important; }
[dir="rtl"] .me-1 { margin-left: 0.25rem !important; margin-right: 0 !important; }
[dir="rtl"] .me-2 { margin-left: 0.5rem !important; margin-right: 0 !important; }
[dir="rtl"] .me-3 { margin-left: 1rem !important; margin-right: 0 !important; }

[dir="rtl"] .ps-1 { padding-right: 0.25rem !important; padding-left: 0 !important; }
[dir="rtl"] .ps-2 { padding-right: 0.5rem !important; padding-left: 0 !important; }
[dir="rtl"] .ps-3 { padding-right: 1rem !important; padding-left: 0 !important; }
[dir="rtl"] .pe-1 { padding-left: 0.25rem !important; padding-right: 0 !important; }
[dir="rtl"] .pe-2 { padding-left: 0.5rem !important; padding-right: 0 !important; }
[dir="rtl"] .pe-3 { padding-left: 1rem !important; padding-right: 0 !important; }

/* Navigation menu */
[dir="rtl"] .main-menu ul li {
    float: right;
}

[dir="rtl"] .main-menu ul li a {
    text-align: right;
}

[dir="rtl"] .main-menu .sub-menu {
    right: auto;
    left: 0;
}

[dir="rtl"] .menu-item-has-children > a::after {
    margin-right: 8px;
    margin-left: 0;
}

/* Header elements */
[dir="rtl"] .header-links ul li {
    margin-left: 0;
    margin-right: 15px;
}

[dir="rtl"] .header-links ul li:last-child {
    margin-right: 0;
}

[dir="rtl"] .header-links i {
    margin-left: 8px;
    margin-right: 0;
}

/* Search form */
[dir="rtl"] .search-form input {
    padding-right: 15px;
    padding-left: 40px;
    text-align: right;
}

[dir="rtl"] .search-form button {
    left: 0;
    right: auto;
}

/* Language switcher RTL adjustments */
[dir="rtl"] .language-switcher {
    margin-right: 15px !important;
    margin-left: 0 !important;
}

[dir="rtl"] .lang-dropdown {
    left: 0 !important;
    right: auto !important;
}

/* Buttons and icons */
[dir="rtl"] .th-btn i,
[dir="rtl"] .btn i {
    margin-right: 8px;
    margin-left: 0;
}

[dir="rtl"] .th-btn i.ms-2 {
    margin-right: 0 !important;
    margin-left: 8px !important;
}

/* Cards and boxes */
[dir="rtl"] .info-box,
[dir="rtl"] .feature-card,
[dir="rtl"] .service-card {
    text-align: right;
}

[dir="rtl"] .card-icon {
    float: right;
    margin-left: 20px;
    margin-right: 0;
}

/* Lists */
[dir="rtl"] ul,
[dir="rtl"] ol {
    padding-right: 20px;
    padding-left: 0;
}

[dir="rtl"] .checklist li::before {
    right: 0;
    left: auto;
}

/* Form elements */
[dir="rtl"] input[type="text"],
[dir="rtl"] input[type="email"],
[dir="rtl"] input[type="tel"],
[dir="rtl"] input[type="password"],
[dir="rtl"] textarea,
[dir="rtl"] select {
    text-align: right;
}

[dir="rtl"] .form-group label {
    text-align: right;
}

[dir="rtl"] input[type="checkbox"],
[dir="rtl"] input[type="radio"] {
    margin-left: 8px;
    margin-right: 0;
}

/* Breadcrumbs */
[dir="rtl"] .breadcumb-menu li {
    float: right;
}

[dir="rtl"] .breadcumb-menu li::after {
    margin: 0 8px 0 12px;
    transform: rotate(180deg);
}

/* Blog and article elements */
[dir="rtl"] .blog-meta,
[dir="rtl"] .post-meta {
    flex-direction: row-reverse;
}

[dir="rtl"] .blog-meta a,
[dir="rtl"] .post-meta a {
    margin-left: 0;
    margin-right: 15px;
}

[dir="rtl"] .blog-meta i,
[dir="rtl"] .post-meta i {
    margin-left: 5px;
    margin-right: 0;
}

/* Tables */
[dir="rtl"] table {
    text-align: right;
}

[dir="rtl"] th {
    text-align: right;
}

/* Footer */
[dir="rtl"] .footer-widget ul {
    padding-right: 0;
}

[dir="rtl"] .footer-widget ul li::before {
    right: 0;
    left: auto;
}

[dir="rtl"] .social-links a {
    margin-right: 0;
    margin-left: 10px;
}

/* Alerts and notifications */
[dir="rtl"] .alert {
    text-align: right;
}

[dir="rtl"] .alert button.close {
    left: 15px;
    right: auto;
}

/* Arabic font optimization */
[dir="rtl"] body,
[dir="rtl"] p,
[dir="rtl"] span,
[dir="rtl"] a,
[dir="rtl"] button {
    font-family: 'Tajawal', 'Cairo', 'Arial', sans-serif;
}

/* Dropdowns */
[dir="rtl"] .dropdown-menu {
    right: 0;
    left: auto;
    text-align: right;
}

[dir="rtl"] .dropdown-item {
    text-align: right;
}

/* Pagination */
[dir="rtl"] .pagination {
    flex-direction: row-reverse;
}

/* Media queries for RTL responsive design */
@media (max-width: 991px) {
    [dir="rtl"] .mobile-menu {
        right: auto;
        left: 0;
    }

    [dir="rtl"] .th-menu-wrapper {
        right: auto;
        left: 0;
    }
}

/* Animation adjustments for RTL */
[dir="rtl"] .slide-in-left {
    animation-name: slide-in-right;
}

[dir="rtl"] .slide-in-right {
    animation-name: slide-in-left;
}

/* Ensure proper alignment for mixed content */
[dir="rtl"] .text-start {
    text-align: right !important;
}

[dir="rtl"] .text-end {
    text-align: left !important;
}
