/* Variables */
:root {
    --primary: #bf023f;
    --secondary: #00144f;
}
/* Hero Section with Video */
        .hero-section {
            padding: 10px 30px;
            border-radius: 16px;
        }

        .hero-content {
            max-width: 1000px;
            margin: 0 auto;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 40px;
            text-align: center;
        }

        .hero-text h1 {
            color: #000;
            font-size: 2.5rem;
            font-weight: 500;
            line-height: 1.2;
        }

        .hero-text-underline {
            width: 80px;
            height: 4px;
            background-color: #bf023f;
            border-radius: 2px;
            margin: 0 auto 20px;
        }

        .hero-text p {
            color: #6c757d;
            font-size: 18px;
            line-height: 1.6;
        }

        .hero-video {
            width: 100%;
            max-width: 800px;
            border-radius: 12px;
            overflow: hidden;
        }

        .hero-video video {
            width: 100%;
            height: auto;
            display: block;
        }

        @media (max-width: 768px) {
            .hero-text h1 {
                font-size: 22px;
            }

            .hero-content {
                gap: 30px;
            }
        }
/* Insurance Tabs - New Tab Style Design */
.insurance-tabs-wrapper {
    display: flex;
    gap: 10px;
    padding: 0;
}

.insurance-tab {
    flex: 1;
    padding: 15px 15px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid #e9ecef;
    background: white;
}

.insurance-tab.active {
    border-color: var(--primary);
    border-width: 3px;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(191, 2, 63, 0.15);
}

.insurance-tab.secondary.active {
    border-color: var(--secondary);
    box-shadow: 0 4px 12px rgba(0, 20, 79, 0.15);
}

/* Container for icon and title in one line - HORIZONTAL FLEX */
.tab-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 8px;
}

.tab-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--primary);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.insurance-tab.secondary .tab-icon {
    background: var(--secondary);
}

.insurance-tab.active .tab-icon {
    background: var(--primary);
}

.insurance-tab.secondary.active .tab-icon {
    background: var(--secondary);
}

.tab-icon svg {
    color: white;
    transition: all 0.3s ease;
}

.tab-title {
    font-size: 30px;
    font-weight: 900;
    margin: 0;
    color: var(--primary);
    transition: all 0.3s ease;
    line-height: 1.2;
}

.insurance-tab.secondary .tab-title {
    color: var(--secondary);
}

.insurance-tab.active .tab-title {
    color: var(--primary);
}

.insurance-tab.secondary.active .tab-title {
    color: var(--secondary);
}

/* Tagline appears BELOW the header, aligned with title */
.tab-tagline {
    font-size: 18px;
    color: #6c757d;
    transition: all 0.3s ease;
    line-height: 1.3;
    padding-left: 57px; /* Aligns with title: icon width (45px) + gap (12px) */
    margin: 0;
}

.insurance-tab.active .tab-tagline {
    color: var(--primary);
    opacity: 0.8;
}

.insurance-tab.secondary.active .tab-tagline {
    color: var(--secondary);
    opacity: 0.8;
}

/* Mobile specific styles for tabs */
@media (max-width: 768px) {
    .insurance-tabs-wrapper {
        gap: 8px;
    }
   
    .insurance-tab {
        padding: 12px 10px;
    }
   
    .tab-header {
        gap: 5px;
        margin-bottom: 6px;
    }
   
    .tab-icon {
        width: 36px;
        height: 36px;
    }
   
    .tab-icon svg {
        width: 18px;
        height: 18px;
    }
   
    .tab-title {
        font-size: 13px;
    }
   
    .tab-tagline {
        font-size: 14px;
        padding-left: 26px; /* icon width (38px) + gap (10px) */
    }
}

/* Mobile Navigation Buttons - Fixed at Bottom */
.mobile-nav-buttons {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    padding: 15px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.btn-nav {
    width: 48%;
    padding: 12px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    transition: all 0.3s ease;
}

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

.btn-prev.secondary {
    color: var(--secondary);
    border-color: var(--secondary);
}

.btn-prev:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

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

.btn-next.secondary {
    background: var(--secondary);
}

.btn-next:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Add padding to steps content on mobile to prevent overlap with fixed buttons */
.steps-content-wrapper {
    padding-bottom: 0;
}

@media (max-width: 767.98px) {
    .steps-content-wrapper {
        padding-bottom: 80px;
    }
}

/* Secondary Color Utilities */
.text-secondary-custom {
    color: var(--secondary) !important;
}

.bg-secondary-custom {
    background-color: var(--secondary) !important;
}

.step-indicator.active.secondary {
    background-color: var(--secondary) !important;
}

.badge.bg-secondary-custom {
    background-color: #d7ddf8 !important;
    color: var(--secondary) !important;
}

.timeline-line.secondary {
    background-color: #d7ddf8 !important;
}

.check-item.secondary {
    background-color: #d7ddf8;
}

.check-icon.secondary {
    background-color: var(--secondary);
}

.step-number.secondary {
    background-color: var(--secondary);
}

/* Timeline Styles */
.timeline-container {
    position: relative;
}

.timeline-line {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background-color: #f8d7e1;
    border-radius: 4px;
}

.step-number {
    width: 3rem;
    height: 3rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.25rem;
    border-radius: 50%;
    background-color: var(--primary);
    color: white;
    z-index: 2;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
}

.timeline-dot {
    width: 1rem;
    height: 1rem;
    background-color: var(--primary);
    border-radius: 50%;
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
}

.browser-window {
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.8);
    border: 1px solid #e9ecef;
}

.content-wrapper {
    padding: 1.5rem;
}

.step-content {
    background-color: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
    transition: box-shadow 0.3s ease;
}

.step-content:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.check-item {
    background-color: #f8d7e1;
    padding: 0.75rem;
    border-radius: 0.5rem;
    margin-bottom: 0.75rem;
}

.check-icon {
    width: 1.5rem;
    height: 1.5rem;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.nav-step {
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-step:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.nav-step.active {
    transform: translateY(-4px);
}

.step-indicator {
    height: 4px;
    width: 100%;
    background-color: #e9ecef;
    transition: background-color 0.3s ease;
}

.step-indicator.active {
    background-color: var(--primary);
}

.insurance-card {
    border: 2px solid #e9ecef;
    border-radius: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

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

.insurance-card.active {
    border-color: var(--primary);
}

.insurance-card.secondary.active {
    border-color: var(--secondary);
}

.insurance-card .card-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.insurance-card.secondary .card-icon {
    background-color: var(--secondary);
}

/* Text and Background Utilities */
.text-color {
    color: #bf023f !important;
}

.text-secondary-custom {
    color: var(--secondary) !important;
}

.bg-color {
    background-color: #bf023f !important;
}

.bg-secondary-custom {
    background-color: var(--secondary) !important;
}

/* Button Styles */
.btn-primary {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    box-shadow: none !important;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #a00235 !important;
    border-color: #a00235 !important;
}

.btn-outline-primary {
    color: var(--primary) !important;
    border-color: var(--primary) !important;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    background-color: var(--primary) !important;
    border-color: var(--primary);
    color: #fff !important;
}

.btn-secondary {
    box-shadow: none !important;
}

.btn-outline-secondary:hover {
    background-color: var(--secondary) !important;
    color: #fff !important;
    box-shadow: none !important;
}

.badge.bg-color {
    background-color: #f8d7e1 !important;
    color: var(--primary) !important;
}

/* Step Header Inline */
.step-header-inline {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.step-header-inline .step-number {
    margin-right: 1rem;
}

.step-header-inline h3 {
    margin: 0;
}

.step-saman-title {
    color: #00144f;
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    .timeline-line,
    .timeline-dot {
        display: none;
    }
   
    .mobile-step-header {
        display: flex;
        align-items: center;
        margin-bottom: 1rem;
    }
   
    .mobile-step-header .step-number {
        margin-right: 1rem;
    }
   
    .step-number-title {
        margin: 0;
    }
   
    .step-content {
        padding: 1.5rem;
    }
   
    .content-wrapper {
        padding: 1rem;
    }
   
    .browser-window {
        margin-bottom: 1rem;
    }
}