/* CliniQo Home Page Styling */

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #0A1C36 0%, #0B4F8A 55%, #0077FE 100%);
    padding: 80px 0 110px;
    position: relative;
    color: #FFFFFF;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
}
.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 35px;
    background: #FFFFFF;
    clip-path: polygon(0 100%, 100% 100%, 100% 0, 0 100%);
    pointer-events: none;
}
.hero-badge {
    background: rgba(0, 180, 216, 0.2);
    color: #E0F2FE;
    border: 1px solid rgba(0, 180, 216, 0.4);
    padding: 6px 16px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 13.5px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    backdrop-filter: blur(8px);
}
.hero-title {
    font-size: 46px;
    font-weight: 900;
    line-height: 1.25;
    letter-spacing: -0.5px;
    margin-bottom: 20px;
    color: #FFFFFF;
}
.hero-title span.highlight {
    background: linear-gradient(135deg, #00B4D8 0%, #00C49F 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-subtitle {
    font-size: 17px;
    line-height: 1.7;
    color: #E2E8F0;
    margin-bottom: 35px;
    max-width: 580px;
}
.btn-hero-primary {
    background: linear-gradient(135deg, #00B4D8 0%, #00C49F 100%);
    color: #0A1C36 !important;
    font-weight: 800;
    font-size: 15px;
    padding: 13px 28px;
    border-radius: 14px;
    box-shadow: 0 8px 25px rgba(0, 196, 159, 0.4);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none !important;
    transition: all 0.25s ease;
    border: none;
}
.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 196, 159, 0.55);
}
.btn-hero-outline {
    background: rgba(255, 255, 255, 0.12);
    color: #FFFFFF !important;
    font-weight: 700;
    font-size: 15px;
    padding: 13px 26px;
    border-radius: 14px;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none !important;
    backdrop-filter: blur(10px);
    transition: all 0.25s ease;
}
.btn-hero-outline:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: #FFFFFF;
    transform: translateY(-3px);
}

/* Floating Hero Card */
.hero-visual-box {
    position: relative;
}
.hero-main-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    padding: 28px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}
.floating-badge-item {
    background: #FFFFFF;
    color: var(--cliniqo-navy);
    border-radius: 16px;
    padding: 12px 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    transition: all 0.25s ease;
}
.floating-badge-item:hover {
    transform: translateX(-4px);
}
.floating-badge-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

/* Stats Counter Ribbon */
.stats-ribbon-section {
    margin-top: -60px;
    position: relative;
    z-index: 10;
    margin-bottom: 70px;
}
.stats-card-container {
    background: #FFFFFF;
    border: 1px solid var(--cliniqo-border);
    border-radius: 20px;
    box-shadow: var(--cliniqo-shadow-md);
    padding: 30px;
    overflow: hidden;
    max-width: 100%;
}
.stat-ribbon-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 10px 15px;
}
.stat-ribbon-icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}
.stat-ribbon-item h3 {
    font-size: 30px;
    font-weight: 900;
    margin: 0;
    color: var(--cliniqo-navy);
    line-height: 1;
}
.stat-ribbon-item span {
    font-size: 13px;
    color: #64748B;
    font-weight: 600;
    display: block;
    margin-top: 4px;
}
.stat-col {
    border-right: 1px dashed #E2E8F0;
}
.stat-col:last-child {
    border-right: none;
}
@media (max-width: 991px) {
    .stat-col {
        border-right: none;
    }
    .stat-col:nth-child(1), .stat-col:nth-child(2) {
        border-bottom: 1px dashed #E2E8F0;
        padding-bottom: 10px;
        margin-bottom: 10px;
    }
    .stat-col:nth-child(odd) {
        border-right: 1px dashed #E2E8F0;
    }
}
@media (max-width: 575px) {
    .stat-col {
        border-right: none !important;
    }
}

/* Section Headings */
.section-header-pill {
    background: #E0F2FE;
    color: var(--cliniqo-primary);
    font-weight: 800;
    font-size: 12px;
    padding: 6px 14px;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
}
.section-title {
    font-size: 32px;
    font-weight: 900;
    color: var(--cliniqo-navy);
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}
.section-subtitle {
    font-size: 15.5px;
    color: #64748B;
    max-width: 620px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Feature Pillars */
.feature-card {
    background: #FFFFFF;
    border: 1.5px solid var(--cliniqo-border);
    border-radius: 20px;
    padding: 30px 24px;
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}
.feature-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: transparent;
    transition: all 0.3s ease;
}
.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--cliniqo-shadow-lg);
    border-color: rgba(0, 180, 216, 0.4);
}
.feature-card:hover::after {
    background: var(--cliniqo-gradient-1);
}
.feature-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    background: var(--cliniqo-soft-blue);
    color: var(--cliniqo-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}
.feature-card:hover .feature-icon-box {
    background: var(--cliniqo-gradient-1);
    color: #FFFFFF;
    box-shadow: 0 8px 20px rgba(0, 119, 254, 0.3);
}
.feature-card h4 {
    font-size: 18px;
    font-weight: 800;
    color: var(--cliniqo-navy);
    margin-bottom: 10px;
}
.feature-card p {
    font-size: 14px;
    color: #64748B;
    line-height: 1.6;
    margin: 0;
}

/* Specialty Card */
.specialty-card {
    background: #FFFFFF;
    border: 1.5px solid var(--cliniqo-border);
    border-radius: 18px;
    padding: 22px;
    text-align: center;
    transition: all 0.25s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.specialty-card:hover {
    transform: translateY(-5px);
    border-color: var(--cliniqo-primary);
    box-shadow: var(--cliniqo-shadow-md);
}
.specialty-icon-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, #E0F2FE 0%, #E6FFFA 100%);
    color: var(--cliniqo-primary);
    font-size: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    transition: all 0.3s ease;
}
.specialty-card:hover .specialty-icon-circle {
    background: var(--cliniqo-gradient-1);
    color: #FFFFFF;
    box-shadow: 0 8px 20px rgba(0, 119, 254, 0.25);
}
.specialty-card h5 {
    font-size: 16px;
    font-weight: 800;
    color: var(--cliniqo-navy);
    margin-bottom: 6px;
}
.specialty-card span.count-badge {
    font-size: 12px;
    color: #64748B;
    font-weight: 600;
}

/* Doctor Card */
.doctor-card {
    background: #FFFFFF;
    border: 1.5px solid var(--cliniqo-border);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.doctor-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--cliniqo-shadow-lg);
    border-color: rgba(0, 180, 216, 0.4);
}
.doctor-avatar-container {
    height: 220px;
    background: linear-gradient(135deg, #F0F8FF 0%, #E6F7F9 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.doctor-avatar-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.doctor-card:hover .doctor-avatar-container img {
    transform: scale(1.05);
}
.doc-fallback-img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: var(--cliniqo-gradient-1);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    font-weight: 900;
    box-shadow: 0 8px 25px rgba(0, 119, 254, 0.3);
}
.doctor-badge-status {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    color: #15803D;
    font-size: 11.5px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    gap: 6px;
}
html[dir="rtl"] .doctor-badge-status {
    right: 14px;
    left: auto;
}
.doctor-card-body {
    padding: 22px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.doctor-name {
    font-size: 17px;
    font-weight: 800;
    color: var(--cliniqo-navy);
    margin-bottom: 4px;
}
.doctor-specialty-badge {
    background: #EFF6FF;
    color: var(--cliniqo-primary);
    font-size: 12px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 12px;
}
.btn-book-doctor {
    background: var(--cliniqo-gradient-1);
    color: #FFFFFF !important;
    font-weight: 700;
    font-size: 13.5px;
    padding: 10px;
    border-radius: 12px;
    display: block;
    text-align: center;
    text-decoration: none !important;
    transition: all 0.2s ease;
    margin-top: 14px;
    box-shadow: 0 4px 12px rgba(0, 119, 254, 0.2);
}
.btn-book-doctor:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 180, 216, 0.35);
    color: #FFFFFF !important;
}

/* Fast Booking Section */
.fast-booking-section {
    background: linear-gradient(135deg, #0A1C36 0%, #0B4F8A 50%, #0077FE 100%);
    border-radius: 28px;
    padding: 50px 40px;
    color: #FFFFFF;
    box-shadow: 0 20px 50px rgba(0, 119, 254, 0.2);
    margin: 80px 0;
    position: relative;
    overflow: hidden;
}
.booking-form-box {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    color: var(--cliniqo-navy);
}

/* Blog Card */
.blog-article-card {
    background: #FFFFFF;
    border: 1.5px solid var(--cliniqo-border);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.blog-article-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--cliniqo-shadow-lg);
    border-color: rgba(0, 180, 216, 0.35);
}
.blog-img-box {
    height: 190px;
    background: #F1F5F9;
    overflow: hidden;
    position: relative;
}
.blog-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.blog-article-card:hover .blog-img-box img {
    transform: scale(1.06);
}
.blog-date-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(10, 28, 54, 0.85);
    color: #FFFFFF;
    font-size: 11.5px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 8px;
    backdrop-filter: blur(6px);
}
html[dir="rtl"] .blog-date-badge {
    right: 12px;
    left: auto;
}
.blog-card-body {
    padding: 22px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.blog-title {
    font-size: 16.5px;
    font-weight: 800;
    color: var(--cliniqo-navy);
    line-height: 1.4;
    margin-bottom: 10px;
}

/* ==========================================================================
   8. 24/7 EMERGENCY HOTLINE STRIP
   ========================================================================== */
.emergency-strip {
    background: linear-gradient(135deg, #EF4444 0%, #DC2626 50%, #B91C1C 100%);
    border-radius: 24px;
    padding: 34px 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 20px 45px rgba(239, 68, 68, 0.28);
    position: relative;
    overflow: hidden;
    margin: 45px 0 65px;
    color: #ffffff;
    z-index: 1;
}

.emergency-strip::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -40px;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.18) 0%, transparent 70%);
    pointer-events: none;
}

html[dir="rtl"] .emergency-strip::before {
    right: auto;
    left: -40px;
}

.emergency-icon-box {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: #ffffff;
    flex-shrink: 0;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.emergency-title {
    font-size: 22px;
    font-weight: 800;
    color: #ffffff !important;
    margin: 0 0 6px 0;
    line-height: 1.3;
}

.emergency-subtitle {
    font-size: 14.5px;
    color: rgba(255, 255, 255, 0.9) !important;
    margin: 0;
    line-height: 1.5;
}

.btn-emergency-call {
    background: #ffffff !important;
    color: #DC2626 !important;
    font-weight: 800 !important;
    font-size: 16px !important;
    padding: 14px 28px !important;
    border-radius: 14px !important;
    border: none !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15) !important;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.btn-emergency-call:hover {
    background: #FFF5F5 !important;
    color: #B91C1C !important;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22) !important;
}

/* Global Horizontal Scroll Lock */
section, .hero-section, .stats-ribbon-section, .fast-booking-section, .emergency-strip {
    max-width: 100% !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
}
.hero-main-card, .stats-card-container, .feature-card, .specialty-card, .doctor-card, .booking-form-box, .blog-article-card, .emergency-strip {
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden;
}

/* Responsive Breakpoints & Mobile Optimization */
@media (max-width: 991px) {
    .hero-section {
        padding: 70px 0 110px;
    }
    .hero-title {
        font-size: 38px;
    }
    .hero-visual-box {
        margin-top: 35px;
    }
    .stats-ribbon-section {
        margin-top: -40px;
        margin-bottom: 50px;
    }
    .fast-booking-section {
        padding: 35px 25px;
        margin: 50px 0;
    }
}

@media (max-width: 767px) {
    .hero-section {
        padding: 50px 0 90px;
    }
    .hero-title {
        font-size: 28px;
        line-height: 1.3;
        margin-bottom: 16px;
    }
    .hero-subtitle {
        font-size: 14.5px;
        line-height: 1.6;
        margin-bottom: 25px;
    }
    .btn-hero-primary, .btn-hero-outline {
        width: 100%;
        justify-content: center;
        font-size: 14px;
        padding: 12px 20px;
    }
    .hero-main-card {
        padding: 20px 16px;
        border-radius: 20px;
    }
    .floating-badge-item {
        padding: 10px 14px;
        border-radius: 12px;
    }
    .floating-badge-icon {
        width: 38px;
        height: 38px;
        font-size: 17px;
        border-radius: 10px;
    }
    .stats-card-container {
        padding: 20px 14px;
        border-radius: 16px;
    }
    .stat-ribbon-item {
        padding: 8px 4px;
        gap: 10px;
    }
    .stat-ribbon-icon {
        width: 44px;
        height: 44px;
        font-size: 18px;
        border-radius: 12px;
    }
    .stat-ribbon-item h3 {
        font-size: 22px;
    }
    .stat-ribbon-item span {
        font-size: 11.5px;
    }
    .section-title {
        font-size: 24px;
    }
    .section-subtitle {
        font-size: 14px;
    }
    .feature-card {
        padding: 22px 18px;
        border-radius: 16px;
    }
    .specialty-card {
        padding: 16px 12px;
        border-radius: 14px;
    }
    .specialty-icon-circle {
        width: 50px;
        height: 50px;
        font-size: 20px;
        margin-bottom: 10px;
    }
    .specialty-card h5 {
        font-size: 14px;
    }
    .doctor-avatar-container {
        height: 190px;
    }
    .fast-booking-section {
        padding: 26px 18px;
        border-radius: 20px;
        margin: 40px 0;
    }
    .fast-booking-section h3 {
        font-size: 22px !important;
    }
    .booking-form-box {
        padding: 20px 16px;
        border-radius: 16px;
    }
    .emergency-strip {
        padding: 24px 20px;
        flex-direction: column;
        text-align: center;
        gap: 16px;
        margin-bottom: 50px;
    }
    .emergency-strip > div:first-child {
        flex-direction: column;
        text-align: center;
    }
    .emergency-strip a.btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 575px) {
    .stat-col-divider {
        border: none !important;
    }
    .hero-badge {
        font-size: 12px;
        padding: 5px 12px;
    }
}
