/* 
  Custom CSS for Company Website
  Exclusive Design - Bootstrap 5 RTL
  Dark Mode Optimized for Eye Comfort
*/

/* ===== Global Styles ===== */
:root {
    --primary-color: #00559B;
    --secondary-color: #D9D9D9;
    --success-color: #198754;
    --info-color: #69A6CC;
    --warning-color: #E67E23;
    --danger-color: #dc3545;
    --dark-color: #0F0F0F;
    --light-color: #D9D9D9;
    --gradient-1: var(--linear-gradient);
    --gradient-2: linear-gradient(135deg, #E67E23 0%, #F4AE7A 100%);
    --gradient-3: linear-gradient(135deg, #00559B 0%, #69A6CC 100%);
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.15);
    --transition: all 0.3s ease;
    /* Direction Variables - Overridden by inline styles based on language */
    --direction: rtl;
    --text-align: right;
    --text-align-opposite: left;
}

/* ===== Light Mode Variables ===== */
[data-bs-theme="light"] {
    --body-bg: #ffffff;
    --body-color: #212529;
    --card-bg: #ffffff;
    --card-border: #dee2e6;
    --section-bg: #f8f9fa;
    --section-alt-bg: #ffffff;
    --text-muted-color: #6c757d;
    --navbar-bg: var(--primary-color);
    --footer-bg: var(--primary-color);
    --shadow-color: rgba(0, 0, 0, 0.1);
    --input-bg: #ffffff;
    --input-border: #ced4da;
    --accordion-bg: #ffffff;
    --accordion-active-bg: var(--gradient-1);
    --step-bg: #f8f9fa;
    --category-btn-bg: #ffffff;
    --category-btn-border: #e0e0e0;
    --tech-tag-bg: #ffffff;
    --tech-tag-border: #e0e0e0;
    --payment-badge-bg: #f8f9fa;
    --industry-badge-bg: #f8f9fa;
    --service-type-card-bg: #f8f9fa;
    --cta-box-bg: linear-gradient(135deg, rgba(0, 85, 155, 0.1) 0%, rgba(49, 78, 196, 0.1) 100%);
    --tech-stack-bg: #f8f9fa;
    --support-hours-bg: #f8f9fa;
    --channel-card-bg: #f8f9fa;
    --branch-details-bg: #f8f9fa;
    --process-icon-bg: #f8f9fa;
    /* Link colors for light mode */
    --link-color: #00559B;
    --link-hover-color: #003d6e;
    --linear-gradient: linear-gradient(135deg, #00559B 0%, #314EC4 100%);
}

/* ===== Dark Mode Variables - Eye Comfort Optimized ===== */
[data-bs-theme="dark"] {
    /* Softer dark backgrounds - not pure black */
    --body-bg: #0f1419;
    --body-color: #8b98a5;
    --card-bg: #16202a;
    --card-border: #2f3e4e;
    --section-bg: #1c2732;
    --section-alt-bg: #0f1419;
    --text-muted-color: #8b98a5;
    --navbar-bg: #16202a;
    --footer-bg: #0a0e13;
    --shadow-color: rgba(0, 0, 0, 0.5);
    --input-bg: #1c2732;
    --input-border: #3d5066;
    --accordion-bg: #16202a;
    --accordion-active-bg: var(--gradient-1);
    --step-bg: #1c2732;
    --category-btn-bg: #1c2732;
    --category-btn-border: #3d5066;
    --tech-tag-bg: #1c2732;
    --tech-tag-border: #3d5066;
    --payment-badge-bg: #1c2732;
    --industry-badge-bg: #1c2732;
    --service-type-card-bg: #1c2732;
    --cta-box-bg: linear-gradient(135deg, rgba(64, 156, 255, 0.12) 0%, rgba(99, 131, 255, 0.12) 100%);
    --tech-stack-bg: #1c2732;
    --support-hours-bg: #1c2732;
    --channel-card-bg: #1c2732;
    --branch-details-bg: #1c2732;
    --process-icon-bg: #1c2732;
    
    /* Softer, eye-friendly colors */
    --primary-color: #242d37;
    --secondary-color: #8b98a5;
    --success-color: #34d399;
    --info-color: #67c4e8;
    --warning-color: #f59e0b;
    --danger-color: #f87171;
    
    /* Link colors - softer blue */
    --link-color: #6c757d;
    --link-hover-color: #FFFFFF;
    
    /* Softer gradient for dark mode */
    --linear-gradient: linear-gradient(135deg, #0f1419 0%, #16202a 100%);
}

/* ===== LTR Support ===== */
html[dir="ltr"] {
    --direction: ltr;
    --text-align: left;
    --text-align-opposite: right;
}

html[dir="ltr"] body {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    text-align: left;
}

/* RTL default */
html[dir="rtl"] body {
    font-family: 'Cairo', sans-serif;
    text-align: right;
}

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

body {
    font-family: 'Cairo', sans-serif;
    line-height: 1.7;
    color: var(--body-color, #333);
    background-color: var(--body-bg, #ffffff);
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}
a {
    text-decoration: none;
    color: var(--link-color);
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection */
::selection {
    background: var(--primary-color);
    color: white;
}

/* ===== Navbar Styles ===== */
.navbar {
    padding: 1rem 0;
    transition: var(--transition);
    background: linear-gradient(135deg, #00559B 0%, #314EC4 100%) !important;
}

[data-bs-theme="dark"] .navbar {
    background: linear-gradient(135deg, #1e5a8a 0%, #2d4a7c 100%) !important;
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: 700;
    transition: var(--transition);
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.nav-link {
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.5rem 0.7rem !important;
    margin: 0 0.1rem;
    border-radius: 8px;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* ===== Hero Section ===== */
.hero-section {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Hero Background Image (from HTML for easy backend editing) */
.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: bottom;
    z-index: 0;
}

/* Gradient Overlay */
.hero-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 85, 155, 0.85) 0%, rgba(49, 78, 196, 0.85) 100%);
    z-index: 1;
}

[data-bs-theme="dark"] .hero-gradient-overlay {
    background: linear-gradient(135deg, rgb(22 32 42) 0%, rgba(45, 74, 124, 0.9) 100%);
}

/* Particles.js Container */
#particles-js {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    right: 50%;
    transform: translateX(50%);
    z-index: 2;
    animation: bounce 2s infinite;
}

.scroll-indicator i {
    font-size: 2rem;
    color: white;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-20px); }
    60% { transform: translateY(-10px); }
}

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

.animate-fade-in {
    animation: fadeInUp 1s ease;
}

.animate-fade-in-delay {
    animation: fadeInUp 1s ease 0.3s backwards;
}

.animate-fade-in-delay-2 {
    animation: fadeInUp 1s ease 0.6s backwards;
}

/* ===== Page Header ===== */
.page-header {
    padding: 130px 0 10px;
    background: var(--linear-gradient);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -1;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="white" opacity="0.1"/></svg>');
}

/* ===== Feature Cards ===== */
.feature-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    transition: var(--transition);
    border: 2px solid transparent;
    box-shadow: var(--shadow-sm);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    background: var(--linear-gradient);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    transform: rotateY(360deg);
}

/* ===== Stats Section ===== */
.stats-section {
    background: var(--linear-gradient);
    position: relative;
    overflow: hidden;
}

.stat-icon {
    font-size: 3rem;
    color: white;
    opacity: 0.9;
}

.counter {
    font-size: 3rem;
    font-weight: 700;
}

/* ===== Service Cards ===== */
.service-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.service-icon-wrapper {
    text-align: center;
    margin-bottom: 1.5rem;
}

.service-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto;
    background: var(--linear-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    transition: var(--transition);
}

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

.service-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.service-features li:last-child {
    border-bottom: none;
}

/* ===== Process Steps ===== */
.process-step {
    position: relative;
    padding: 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.process-step:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.process-number {
    position: absolute;
    top: -20px;
    left: 20px;
    width: 50px;
    height: 50px;
    background: var(--linear-gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.process-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-color);
}

/* ===== Pricing Cards ===== */
.pricing-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    border: 2px solid transparent;
}

.pricing-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
}

.pricing-card.featured {
    background: var(--linear-gradient);
    color: white;
    transform: scale(1.05);
}

.pricing-card.featured .pricing-header,
.pricing-card.featured .pricing-features li {
    color: white;
}

.featured-badge {
    position: absolute;
    top: -15px;
    right: 50%;
    transform: translateX(50%);
    background: #E67E23;
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
}

.pricing-header {
    text-align: center;
    padding-bottom: 2rem;
    border-bottom: 2px solid #f0f0f0;
    margin-bottom: 2rem;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
}

.pricing-card.featured .price {
    color: white;
}

.currency {
    font-size: 1.5rem;
    vertical-align: super;
}

.amount {
    font-size: 3.5rem;
}

.period {
    font-size: 1rem;
    color: #666;
}

.pricing-features {
    padding: 0;
    list-style: none;
}

.pricing-features li {
    padding: 1rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.pricing-features li:last-child {
    border-bottom: none;
}

/* ===== Team Cards ===== */
.team-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.team-card.leadership {
    border: 3px solid var(--primary-color);
}

.team-image-wrapper {
    position: relative;
    overflow: hidden;
}

.team-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: var(--transition);
}

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

.team-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(135deg, rgba(0, 85, 155, 0.9) 0%, rgba(49, 78, 196, 0.9) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.team-card:hover .team-overlay {
    opacity: 1;
}

.team-social {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 45px;
    height: 45px;
    background: white;
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-5px);
}

.team-info {
    padding: 1.5rem;
    text-align: center;
}

/* ===== Timeline ===== */
.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    right: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #00559B 0%, #314EC4 100%);
}

[data-bs-theme="dark"] .timeline::before {
    background: linear-gradient(180deg, #4a9eff 0%, #6383ff 100%);
}

.timeline-item {
    display: flex;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
}

.timeline-badge {
    position: absolute;
    right: 50%;
    transform: translateX(50%);
    width: 60px;
    height: 60px;
    background: var(--linear-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    z-index: 2;
}

.timeline-content {
    width: 45%;
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.timeline-content:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

/* ===== Value Cards ===== */
.value-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.value-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    background: var(--linear-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    transition: var(--transition);
}

.value-card:hover .value-icon {
    transform: rotateY(360deg);
}

/* ===== Certificate Cards ===== */
.certificate-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.certificate-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.certificate-card i {
    font-size: 4rem;
    background: var(--linear-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== Vision Mission Cards ===== */
.vision-mission-card {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.vision-mission-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(135deg, rgba(0, 85, 155, 0.05) 0%, rgba(49, 78, 196, 0.05) 100%);
    transform: rotate(-45deg);
}

[data-bs-theme="dark"] .vision-mission-card::before {
    background: linear-gradient(135deg, rgba(74, 158, 255, 0.05) 0%, rgba(99, 131, 255, 0.05) 100%);
}

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

.icon-wrapper {
    width: 80px;
    height: 80px;
    background: var(--linear-gradient);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    margin-bottom: 2rem;
}

/* ===== Core Value Cards ===== */
.core-value-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.core-value-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.value-number {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 4rem;
    font-weight: 700;
    color: rgba(0, 85, 155, 0.1);
}

.value-icon-circle {
    width: 80px;
    height: 80px;
    background: var(--linear-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin-bottom: 1.5rem;
}

/* ===== Goal Cards ===== */
.goal-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    display: flex;
    gap: 1.5rem;
}

.goal-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.goal-icon {
    width: 70px;
    height: 70px;
    min-width: 70px;
    background: var(--linear-gradient);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

/* ===== Why Choose Cards ===== */
.why-choose-card {
    padding: 2rem;
    background: #efefef;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.why-choose-card:hover {
    background: rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.why-icon {
    width: 70px;
    height: 70px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-color);
    margin: 0 auto 1rem;
}

/* ===== Contact ===== */
.contact-info-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.contact-info-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.contact-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--linear-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.contact-form .form-control,
.contact-form .form-select {
    transition: var(--transition);
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    box-shadow: 0 0 0 0.25rem rgba(102, 126, 234, 0.25);
}

.info-box {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.info-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    background: var(--linear-gradient);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    margin-left: 1.5rem;
}

.social-links-contact {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    text-decoration: none;
    color: #2c3e50;
    font-weight: 600;
    transition: all 0.4s ease;
    border: 2px solid transparent;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.social-link:hover {
    background: var(--primary-gradient);
    color: white;
    transform: translateX(-8px) scale(1.03);
    border-color: var(--primary-color);
    box-shadow: 0 8px 25px rgba(0, 85, 155, 0.3);
}

.social-link i {
    font-size: 1.5rem;
    min-width: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.social-link:hover i {
    transform: scale(1.2) rotate(5deg);
}

/* Social Media Colors on Hover */
.social-link:has(.bi-facebook):hover {
    background: linear-gradient(135deg, #3b5998 0%, #2d4373 100%);
    box-shadow: 0 8px 25px rgba(59, 89, 152, 0.4);
}

.social-link:has(.bi-twitter):hover {
    background: linear-gradient(135deg, #1DA1F2 0%, #0c85d0 100%);
    box-shadow: 0 8px 25px rgba(29, 161, 242, 0.4);
}

.social-link:has(.bi-instagram):hover {
    background: linear-gradient(135deg, #E1306C 0%, #C13584 100%);
    box-shadow: 0 8px 25px rgba(225, 48, 108, 0.4);
}

.social-link:has(.bi-linkedin):hover {
    background: linear-gradient(135deg, #0077b5 0%, #005885 100%);
    box-shadow: 0 8px 25px rgba(0, 119, 181, 0.4);
}

.social-link:has(.bi-youtube):hover {
    background: linear-gradient(135deg, #FF0000 0%, #cc0000 100%);
    box-shadow: 0 8px 25px rgba(255, 0, 0, 0.4);
}

.map-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

/* ===== About Image ===== */
.about-image-wrapper {
    position: relative;
}

.about-image-bg {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    background: var(--linear-gradient);
    border-radius: 20px;
    z-index: -1;
}

.who-we-are-badge {
    position: absolute;
    bottom: 30px;
    left: 30px;
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.who-we-are-badge i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* ===== CTA Section ===== */
.cta-section {
    background: var(--linear-gradient);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

[data-bs-theme="dark"] .cta-section {
    background: var(--linear-gradient);
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -1;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="white" opacity="0.1"/></svg>');
}

/* ===== Footer ===== */
.footer {
    background: var(--footer-bg);
}

[data-bs-theme="dark"] .footer {
    background: var(--card-bg) !important;
}

.working-schedule {
    padding: 0;
}

.schedule-item {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.schedule-item:last-child {
    border-bottom: none;
}

.schedule-item:hover {
    padding-right: 10px;
    transition: all 0.3s ease;
}

.schedule-item i {
    font-size: 1.1rem;
}

.schedule-item .badge {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    font-weight: 700;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(40, 167, 69, 0);
    }
}

.social-links a {
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--primary-color) !important;
    transform: translateY(-5px);
}

/* ===== Accordion ===== */
.accordion-item {
    border: none;
    margin-bottom: 1rem;
    border-radius: 15px !important;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.accordion-button {
    font-weight: 600;
    font-size: 1.1rem;
    padding: 1.5rem;
    background: white;
    border: none;
}

.accordion-button:not(.collapsed) {
    background: var(--linear-gradient);
    color: white;
}

.accordion-button:focus {
    box-shadow: none;
}

.accordion-body {
    padding: 1.5rem;
}

/* ===== Buttons ===== */
.btn {
    border-radius: 12px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: var(--linear-gradient)
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 85, 155, 0.4);
}

[data-bs-theme="dark"] .btn-primary:hover {
    box-shadow: 0 10px 25px rgba(74, 158, 255, 0.3);
}

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

.btn-outline-primary:hover {
    background: var(--linear-gradient);
    border-color: transparent;
}

/* ===== LTR Specific Adjustments ===== */
html[dir="ltr"] .timeline::before {
    right: auto;
    left: 50%;
}

html[dir="ltr"] .timeline-badge {
    right: auto;
    left: 50%;
    transform: translateX(-50%);
}

html[dir="ltr"] .scroll-indicator {
    right: auto;
    left: 50%;
    transform: translateX(-50%);
}

html[dir="ltr"] .process-number {
    left: auto;
    right: 20px;
}

html[dir="ltr"] .value-number {
    left: auto;
    right: 20px;
}

html[dir="ltr"] .step-number {
    left: auto;
    right: 20px;
}

html[dir="ltr"] .cta-box {
    border-right: none;
    border-left: 4px solid var(--primary-color);
}

html[dir="ltr"] .category-header {
    border-right: none;
    border-left: 5px solid var(--primary-color);
}

html[dir="ltr"] .info-icon {
    margin-left: 0;
    margin-right: 1.5rem;
}

html[dir="ltr"] .timeline-list li {
    padding-right: 0;
    padding-left: 2rem;
}

html[dir="ltr"] .timeline-list li::before {
    right: auto;
    left: 0;
}

html[dir="ltr"] .branch-badge {
    right: auto;
    left: 15px;
}

html[dir="ltr"] .step:hover {
    transform: translateX(5px);
}

html[dir="ltr"] .schedule-item:hover {
    padding-right: 0;
    padding-left: 10px;
}

html[dir="ltr"] .social-link:hover {
    transform: translateX(8px) scale(1.03);
}

/* Language Switcher Styles */
.navbar .dropdown-menu {
    min-width: 180px;
}

.navbar .dropdown-item.active {
    background: var(--primary-gradient);
    color: white;
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
    .timeline::before {
        right: 20px;
    }
    
    html[dir="ltr"] .timeline::before {
        right: auto;
        left: 20px;
    }
    
    .timeline-item {
        flex-direction: row !important;
    }
    
    .timeline-badge {
        right: 20px;
        transform: translateX(0);
    }
    
    html[dir="ltr"] .timeline-badge {
        right: auto;
        left: 20px;
    }
    
    .timeline-content {
        width: calc(100% - 80px);
        margin-right: 80px;
    }
    
    html[dir="ltr"] .timeline-content {
        margin-right: 0;
        margin-left: 80px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 80vh;
    }
    
    .display-2 {
        font-size: 2.5rem;
    }
    
    .display-3 {
        font-size: 2rem;
    }
    
    .display-4 {
        font-size: 1.8rem;
    }
}

/* ===== FAQ Page Styles ===== */
.search-box .input-group {
    max-width: 600px;
    margin: 0 auto;
    box-shadow: var(--shadow-lg);
    border-radius: 15px;
    overflow: hidden;
}

.search-box .input-group-text,
.search-box .form-control {
    padding: 1rem 1.5rem;
    border: 2px solid #e0e0e0;
}

.search-box .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: none;
}

.faq-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.category-btn {
    background: white;
    border: 2px solid #e0e0e0;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.category-btn i {
    font-size: 1.2rem;
}

.category-btn:hover,
.category-btn.active {
    background: var(--linear-gradient);
    color: white;
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.section-title {
    color: #333;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--primary-color);
    display: inline-flex;
    align-items: center;
}

.custom-list {
    list-style: none;
    padding: 0;
}

.custom-list li {
    padding: 0.8rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.custom-list li:last-child {
    border-bottom: none;
}

.timeline-list {
    list-style: none;
    padding: 0;
}

.timeline-list li {
    padding: 1rem 0;
    padding-right: 2rem;
    position: relative;
}

.timeline-list li::before {
    content: '';
    position: absolute;
    right: 0;
    top: 1.5rem;
    width: 12px;
    height: 12px;
    background: var(--primary-color);
    border-radius: 50%;
}

.industry-badge {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 12px;
    text-align: center;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid transparent;
}

.industry-badge:hover {
    background: white;
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.industry-badge i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-left: 0.5rem;
}

.service-type-card {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 15px;
    height: 100%;
    border: 2px solid transparent;
    transition: var(--transition);
}

.service-type-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.cta-box {
    background: linear-gradient(135deg, rgba(0, 85, 155, 0.1) 0%, rgba(49, 78, 196, 0.1) 100%);
    padding: 1.5rem;
    border-radius: 15px;
    border-right: 4px solid var(--primary-color);
}

.payment-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
}

.payment-badge {
    background: #f8f9fa;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.payment-badge:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.payment-badge i {
    font-size: 1.2rem;
}

.tech-stack {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
}

.tech-category {
    margin-bottom: 1.5rem;
}

.tech-tag {
    display: inline-block;
    background: white;
    padding: 0.5rem 1rem;
    margin: 0.3rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    border: 2px solid #e0e0e0;
    transition: var(--transition);
}

.tech-tag:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.support-hours {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
}

.hour-item {
    padding: 1rem 0;
    border-bottom: 1px solid #e0e0e0;
}

.hour-item:last-child {
    border-bottom: none;
}

.contact-channels {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.channel-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    text-decoration: none;
    color: #333;
    transition: var(--transition);
    border: 2px solid transparent;
}

.channel-card:hover {
    background: white;
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    color: var(--primary-color);
}

.channel-card i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.channel-card h6 {
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.channel-card p {
    margin: 0;
    font-size: 0.9rem;
    color: #666;
}

.process-steps {
    display: grid;
    gap: 1.5rem;
    margin-top: 2rem;
}

.step {
    display: flex;
    align-items: start;
    gap: 1.5rem;
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 15px;
    transition: var(--transition);
}

.step:hover {
    background: white;
    box-shadow: var(--shadow-md);
    transform: translateX(-5px);
}

.step-number {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: var(--linear-gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.3rem;
}

.step-content h6 {
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.step-content p {
    margin: 0;
    color: #666;
}

.contact-cta {
    background: white;
    padding: 3rem;
    border-radius: 25px;
    box-shadow: var(--shadow-lg);
}

/* ===== Utility Classes ===== */
.bg-gradient-primary {
    background: linear-gradient(135deg, #00559B 0%, #314EC4 100%) !important;
}

[data-bs-theme="dark"] .bg-gradient-primary {
    background: linear-gradient(135deg, #1e5a8a 0%, #2d4a7c 100%) !important;
}

.text-gradient {
    background: var(--linear-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== Page Loader Styles ===== */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}
.page-loader.fade-out {
    opacity: 0;
    visibility: hidden;
}
.loader-content {
    text-align: center;
}
.loader-logo {
    margin-bottom: 30px;
    animation: loader-pulse 2s ease-in-out infinite;
}
.loader-logo img {
    max-height: 80px;
    /* filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.3)); */
}
.loader-logo .loader-text {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 3px;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}
.loader-spinner {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
}
.spinner-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid transparent;
    animation: loader-spin 1.5s linear infinite;
}
.spinner-ring:nth-child(1) {
    border-top-color: #e94560;
    animation-delay: 0s;
}
.spinner-ring:nth-child(2) {
    width: 70%;
    height: 70%;
    top: 15%;
    left: 15%;
    border-right-color: #0ea5e9;
    animation-delay: 0.15s;
    animation-direction: reverse;
}
.spinner-ring:nth-child(3) {
    width: 40%;
    height: 40%;
    top: 30%;
    left: 30%;
    border-bottom-color: #22c55e;
    animation-delay: 0.3s;
}
.loader-progress {
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin: 0 auto;
}
.loader-progress .progress-bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #e94560, #0ea5e9, #22c55e);
    background-size: 200% 100%;
    border-radius: 10px;
    animation: loader-progress 2s ease-in-out forwards, loader-gradient 1s linear infinite;
}

@keyframes loader-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
@keyframes loader-pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.8; }
}
@keyframes loader-progress {
    0% { width: 0%; }
    50% { width: 70%; }
    100% { width: 100%; }
}
@keyframes loader-gradient {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}
/* ===== Government Services ===== */
.service-category {
    position: relative;
}

.category-header {
    background: linear-gradient(135deg, rgba(0, 85, 155, 0.1) 0%, rgba(49, 78, 196, 0.1) 100%);
    padding: 1.5rem 2rem;
    border-radius: 20px;
    border-right: 5px solid var(--primary-color);
}

.category-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-gradient);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
}

.gov-service-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.gov-service-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-gradient);
    transform: translateX(100%);
    transition: all 0.4s ease;
    z-index: 0;
}

.gov-service-card:hover::before {
    transform: translateX(0);
}

.gov-service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 40px rgba(0, 85, 155, 0.3);
}

[data-bs-theme="dark"] .gov-service-card:hover {
    box-shadow: 0 15px 40px rgba(74, 158, 255, 0.2);
}

.gov-service-card * {
    position: relative;
    z-index: 1;
    transition: all 0.4s ease;
}

.gov-service-card h5 {
    color: #2c3e50;
    transition: all 0.4s ease;
}

.gov-service-card .text-muted {
    transition: all 0.4s ease;
}

.gov-service-card .btn {
    transition: all 0.4s ease;
}

.gov-service-card:hover h5 {
    /* color: white !important; */
}

/* .gov-service-card:hover .text-muted {
    color: rgba(255, 255, 255, 0.9) !important;
} */

.gov-service-card:hover .btn-outline-primary {
    /* background: white;
    color: var(--primary-color);
    border-color: white; */
}

.service-icon-gov {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(0, 85, 155, 0.1) 0%, rgba(49, 78, 196, 0.1) 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    transition: all 0.4s ease;
}

.gov-service-card:hover .service-icon-gov {
    background: white;
    transform: scale(1.1) rotate(5deg);
}

.process-step-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.process-step-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 5px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
}

.process-step-card:hover::after {
    transform: scaleX(1);
}

.process-step-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 85, 155, 0.2);
}

[data-bs-theme="dark"] .process-step-card:hover {
    box-shadow: 0 15px 40px rgba(74, 158, 255, 0.15);
}

.step-number {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(0, 85, 155, 0.1) 0%, rgba(49, 78, 196, 0.1) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary-color);
}

.step-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin: 0 auto 1.5rem;
    transition: all 0.4s ease;
}

.process-step-card:hover .step-icon {
    transform: scale(1.15) rotate(360deg);
}

.feature-box-gov {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    border: 2px solid transparent;
}

.feature-box-gov:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 40px rgba(0, 85, 155, 0.2);
}

[data-bs-theme="dark"] .feature-box-gov:hover {
    box-shadow: 0 15px 40px rgba(74, 158, 255, 0.15);
}

.feature-icon-gov-intro {
    width: 80px;
    height: 80px;
    background: var(--primary-gradient);
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    transition: all 0.4s ease;
}

.feature-box-gov:hover .feature-icon-gov-intro {
    transform: scale(1.1) rotate(-5deg);
}

.feature-icon-sm i {
    font-size: 1.5rem;
}

/* ===== Service Details Page ===== */
.service-detail-card {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    border: 2px solid transparent;
}

.service-detail-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 40px rgba(0, 85, 155, 0.2);
}

[data-bs-theme="dark"] .service-detail-card:hover {
    box-shadow: 0 15px 40px rgba(74, 158, 255, 0.15);
}

.service-detail-image-icon {
    flex-shrink: 0;
}

.service-detail-image-icon img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.service-detail-card:hover .service-detail-image-icon img {
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(0, 85, 155, 0.3);
}

.badge.bg-primary {
    background: var(--primary-gradient) !important;
    padding: 0.5rem 1rem;
    font-weight: 600;
}

/* ===== Why Choose Us Section Styles ===== */
.hover-lift {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-lift:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15) !important;
}

[data-bs-theme="dark"] .hover-lift:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4) !important;
}

.feature-icon-lg {
    width: 100px;
    height: 100px;
    font-size: 2.5rem;
    transition: all 0.3s ease;
}

.hover-lift:hover .feature-icon-lg {
    transform: scale(1.1) rotate(5deg);
}

.hover-lift .card-body {
    transition: all 0.3s ease;
}

/* ===== Social Links Grid ===== */
.social-links-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}


/* Social Media Official Colors */
.social-link-item {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 1.3rem;
    transition: all 0.3s ease;
    text-decoration: none;
    color: #fff;
    background: #00559B;
}

[data-bs-theme="dark"] .social-link-item {
    background: #4a9eff;
}
[data-bs-theme="dark"] .social-link-item i {
    color: #fff;
}

.social-link-item.snapchat { background: #FFFC00; color: #000; }
.social-link-item.tiktok { background: #000000; }
.social-link-item.linkedin { background: #0077b5; }
.social-link-item.facebook{background: #1877f3;}
.social-link-item.twitter{background: #1da1f2;}
.social-link-item.instagram{background: #e1306c;}
.social-link-item.youtube{background: #ff0000;}
.social-link-item.pinterest{background: #E60023;}
.social-link-item.reddit-alien{background: #FF4500;}
.social-link-item.vimeo{background: #1AB7EA;}
.social-link-item.discord{background: #5865F2;}
.social-link-item.whatsapp{background: #25D366;}
.social-link-item.viber{background: #665CAC;}
.social-link-item.weixin{background: #07C160;}
.social-link-item.google{background: #4285F4;}
.social-link-item.google-play{background: #01875F;}
.social-link-item.apple-pay{background: #000000;}
.social-link-item.aws{background: #FF9900;}
.social-link-item.spotify{background: #1DB954;}
.social-link-item.steam{background: #171A21;}
.social-link-item.shopify{background: #96BF48;}
.social-link-item.airbnb{background: #FF5A5F;}
.social-link-item.paypal{background: #003087;}
.social-link-item.cc-amex{background: #006FCF;}
.social-link-item.bitcoin{background: #F7931A;}
.social-link-item.github{background: #181717;}
.social-link-item.bitbucket{background: #0052CC;}
.social-link-item.stack-overflow{background: #F48024;}
.social-link-item.jsfiddle{background: #4679A4;}
.social-link-item.node{background: #339933;}
.social-link-item.php{background: #777BB4;}
.social-link-item.rust{background: #000000;}
.social-link-item.html5{background: #E34F26;}
.social-link-item.sass{background: #CC6699;}
.social-link-item.react{background: #61DAFB;}
.social-link-item.laravel{background: #FF2D20;}
.social-link-item.wordpress-simple{background: #21759B;}
.social-link-item.magento{background: #EE672F;}
.social-link-item.linux{background: #FCC624;}
.social-link-item.centos{background: #262577;}
.social-link-item.windows{background: #0078D4;}

[data-bs-theme="dark"] .social-link-item.tiktok { background: #1c2732; }

.social-link-item:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    color: #fff;
}
.social-link-item.snapchat:hover {
    color: #000;
}
.social-link-item.instagram:hover {
    color: #fff;
    box-shadow: 0 8px 25px rgba(214,36,159,0.2);
}
.social-link-item.youtube:hover {
    color: #fff;
    box-shadow: 0 8px 25px rgba(255,0,0,0.2);
}
.social-link-item.facebook:hover {
    color: #fff;
    box-shadow: 0 8px 25px rgba(24,119,243,0.2);
}
.social-link-item.linkedin:hover {
    color: #fff;
    box-shadow: 0 8px 25px rgba(0,119,181,0.2);
}
.social-link-item.whatsapp:hover {
    color: #fff;
    box-shadow: 0 8px 25px rgba(37,211,102,0.2);
}
.social-link-item.tiktok:hover {
    color: #fff;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

/* ===== Branch Cards ===== */
.branch-card {
    position: relative;
    text-align: right;
    padding-top: 2rem;
}

.branch-card .contact-icon {
    margin: 0 auto 1rem;
}

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

.branch-card h5 {
    text-align: center;
}

.branch-details {
    background: var(--section-bg, #f8f9fa);
    padding: 1.25rem;
    border-radius: 12px;
    margin-top: 1rem;
    transition: background-color 0.3s ease;
}

.branch-details p {
    font-size: 0.9rem;
    color: var(--text-muted-color, #555);
}

.branch-details i {
    width: 20px;
}

@media (max-width: 768px) {
    .social-links-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
    }
    
    .social-link-item {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}

/* Stats Animation */
@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stats-card {
    animation: countUp 0.6s ease-out;
}

/* ============================================= */
/* ===== DARK MODE STYLES - EYE COMFORT ===== */
/* ============================================= */

/* Dark Mode - Links (Global) */
[data-bs-theme="dark"] a {
    color: var(--link-color, #6cb6ff);
}
[data-bs-theme="dark"] a:hover {
    color: var(--link-hover-color, #9fcfff);
}
[data-bs-theme="dark"] a.text-white,
[data-bs-theme="dark"] a.text-white-50,
[data-bs-theme="dark"] .navbar a,
[data-bs-theme="dark"] .footer a {
    color: inherit;
}
[data-bs-theme="dark"] a.btn {
    color: #c5c5c5;
    background-color: #1c2732;
    border: 2px solid #16202a;
}
[data-bs-theme="dark"] a.text-decoration-none:not(.btn):not(.nav-link) {
    color: var(--link-color, #6cb6ff);
}
[data-bs-theme="dark"] a.text-decoration-none:not(.btn):not(.nav-link):hover {
    color: var(--link-hover-color, #9fcfff);
}

/* Theme Toggle Button */
.theme-toggle {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #fff;
    padding: 0;
}
.theme-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: rotate(15deg);
}
.theme-toggle i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}
[data-bs-theme="dark"] .theme-toggle .fa-moon { display: none; }
[data-bs-theme="light"] .theme-toggle .fa-sun { display: none; }

/* Dark Mode - Background Overrides */
[data-bs-theme="dark"] .bg-light {
    background-color: var(--section-bg) !important;
}
[data-bs-theme="dark"] .bg-white {
    background-color: var(--card-bg) !important;
}
[data-bs-theme="dark"] .bg-dark {
    background-color: var(--footer-bg) !important;
}

/* Dark Mode - Text Colors */
[data-bs-theme="dark"] .text-muted {
    color: var(--text-muted-color) !important;
}
[data-bs-theme="dark"] .text-dark {
    color: var(--body-color) !important;
}
[data-bs-theme="dark"] h1, 
[data-bs-theme="dark"] h2, 
[data-bs-theme="dark"] h3, 
[data-bs-theme="dark"] h4, 
[data-bs-theme="dark"] h5, 
[data-bs-theme="dark"] h6 {
    color: var(--body-color);
}
[data-bs-theme="dark"] p {
    color: var(--body-color);
}
[data-bs-theme="dark"] .section-title {
    color: var(--body-color);
}

/* Dark Mode - Cards with softer shadows */
[data-bs-theme="dark"] .card {
    background-color: var(--card-bg);
    border-color: var(--card-border);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}
[data-bs-theme="dark"] .feature-card,
[data-bs-theme="dark"] .service-card,
[data-bs-theme="dark"] .pricing-card,
[data-bs-theme="dark"] .team-card,
[data-bs-theme="dark"] .value-card,
[data-bs-theme="dark"] .certificate-card,
[data-bs-theme="dark"] .vision-mission-card,
[data-bs-theme="dark"] .core-value-card,
[data-bs-theme="dark"] .goal-card,
[data-bs-theme="dark"] .contact-info-card,
[data-bs-theme="dark"] .info-box,
[data-bs-theme="dark"] .gov-service-card,
[data-bs-theme="dark"] .process-step-card,
[data-bs-theme="dark"] .feature-box-gov,
[data-bs-theme="dark"] .service-detail-card,
[data-bs-theme="dark"] .contact-cta {
    background-color: var(--card-bg) !important;
    border-color: var(--card-border) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}
[data-bs-theme="dark"] .process-step,
[data-bs-theme="dark"] .timeline-content {
    background-color: var(--card-bg);
    border-color: var(--card-border);
}

/* Dark Mode - Navbar */
[data-bs-theme="dark"] .navbar {
    background-color: var(--navbar-bg) !important;
    background: var(--navbar-bg) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}


/* Dark Mode - Borders with softer colors */
[data-bs-theme="dark"] .border {
    border-color: var(--card-border) !important;
}
[data-bs-theme="dark"] .service-features li,
[data-bs-theme="dark"] .pricing-features li,
[data-bs-theme="dark"] .custom-list li,
[data-bs-theme="dark"] .hour-item,
[data-bs-theme="dark"] .schedule-item {
    border-color: var(--card-border);
}
[data-bs-theme="dark"] .pricing-header {
    border-color: var(--card-border);
}

/* Dark Mode - Forms with better contrast */
[data-bs-theme="dark"] .form-control,
[data-bs-theme="dark"] .form-select {
    background-color: var(--input-bg);
    border-color: var(--input-border);
    color: var(--body-color);
}
[data-bs-theme="dark"] .form-control:focus,
[data-bs-theme="dark"] .form-select:focus {
    background-color: var(--input-bg);
    border-color: var(--primary-color);
    color: var(--body-color);
    box-shadow: 0 0 0 0.25rem rgba(74, 158, 255, 0.2);
}
[data-bs-theme="dark"] .form-control::placeholder {
    color: var(--text-muted-color);
}

/* Dark Mode - Dropdowns */
[data-bs-theme="dark"] .dropdown-menu {
    background-color: var(--card-bg);
    border-color: var(--card-border);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}
[data-bs-theme="dark"] .dropdown-item {
    color: var(--body-color);
}
[data-bs-theme="dark"] .dropdown-item:hover,
[data-bs-theme="dark"] .dropdown-item:focus {
    background-color: var(--section-bg);
    color: var(--body-color);
}

/* Dark Mode - Shadows */
[data-bs-theme="dark"] .shadow,
[data-bs-theme="dark"] .shadow-lg,
[data-bs-theme="dark"] .shadow-sm {
    box-shadow: 0 0.5rem 1rem var(--shadow-color) !important;
}

/* Dark Mode - Accordion */
[data-bs-theme="dark"] .accordion-item {
    background-color: var(--card-bg);
    border-color: var(--card-border);
}
[data-bs-theme="dark"] .accordion-button {
    background-color: var(--card-bg);
    color: var(--body-color);
}
[data-bs-theme="dark"] .accordion-button:not(.collapsed) {
    background: var(--primary-color);
    color: #fff;
}
[data-bs-theme="dark"] .accordion-body {
    background-color: var(--card-bg);
    color: var(--body-color);
}

/* Dark Mode - FAQ & Category Buttons */
[data-bs-theme="dark"] .category-btn {
    background-color: var(--category-btn-bg);
    border-color: var(--category-btn-border);
    color: var(--body-color);
}
[data-bs-theme="dark"] .category-btn:hover,
[data-bs-theme="dark"] .category-btn.active {
    background: var(--primary-color);
    color: #fff;
    border-color: transparent;
}

/* Dark Mode - Search Box */
[data-bs-theme="dark"] .search-box .input-group-text,
[data-bs-theme="dark"] .search-box .form-control {
    background-color: var(--input-bg);
    border-color: var(--input-border);
    color: var(--body-color);
}

/* Dark Mode - Steps & Process */
[data-bs-theme="dark"] .step {
    background-color: var(--step-bg);
}
[data-bs-theme="dark"] .step:hover {
    background-color: var(--card-bg);
}
[data-bs-theme="dark"] .step-content h6 {
    color: var(--primary-color);
}
[data-bs-theme="dark"] .step-content p {
    color: var(--text-muted-color);
}
[data-bs-theme="dark"] .process-icon {
    background-color: var(--process-icon-bg);
}

/* Dark Mode - Tech & Tags */
[data-bs-theme="dark"] .tech-stack {
    background-color: var(--tech-stack-bg);
}
[data-bs-theme="dark"] .tech-tag {
    background-color: var(--tech-tag-bg);
    border-color: var(--tech-tag-border);
    color: var(--body-color);
}
[data-bs-theme="dark"] .tech-tag:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Dark Mode - Badges */
[data-bs-theme="dark"] .industry-badge {
    background-color: var(--industry-badge-bg);
    color: var(--body-color);
}
[data-bs-theme="dark"] .industry-badge:hover {
    background-color: var(--card-bg);
    border-color: var(--primary-color);
}
[data-bs-theme="dark"] .payment-badge {
    background-color: var(--payment-badge-bg);
    color: var(--body-color);
}
[data-bs-theme="dark"] .payment-badge:hover {
    background-color: var(--primary-color);
    color: #fff;
}

/* Dark Mode - Service Type Cards */
[data-bs-theme="dark"] .service-type-card {
    background-color: var(--service-type-card-bg);
    color: var(--body-color);
}
[data-bs-theme="dark"] .service-type-card:hover {
    border-color: var(--primary-color);
}

/* Dark Mode - CTA Box */
[data-bs-theme="dark"] .cta-box {
    background: var(--cta-box-bg);
    border-color: var(--primary-color);
}

/* Dark Mode - Support Hours */
[data-bs-theme="dark"] .support-hours {
    background-color: var(--support-hours-bg);
}

/* Dark Mode - Channel Cards */
[data-bs-theme="dark"] .channel-card {
    background-color: var(--channel-card-bg);
    color: var(--body-color);
}
[data-bs-theme="dark"] .channel-card:hover {
    background-color: var(--card-bg);
    border-color: var(--primary-color);
    color: var(--primary-color);
}
[data-bs-theme="dark"] .channel-card p {
    color: var(--text-muted-color);
}

/* Dark Mode - Branch Cards */
[data-bs-theme="dark"] .branch-details {
    background-color: var(--branch-details-bg);
}
[data-bs-theme="dark"] .branch-details p {
    color: var(--text-muted-color);
}

/* Dark Mode - Social Links */
[data-bs-theme="dark"] .social-link {
    background: linear-gradient(135deg, var(--section-bg) 0%, var(--card-bg) 100%);
    color: var(--body-color);
    border-color: var(--card-border);
}
[data-bs-theme="dark"] .social-link:hover {
    color: #fff;
}

/* Dark Mode - Category Header */
[data-bs-theme="dark"] .category-header {
    background: var(--cta-box-bg);
}

/* Dark Mode - Service Icon GOV */
[data-bs-theme="dark"] .service-icon-gov {
    background: linear-gradient(135deg, rgba(74, 158, 255, 0.15) 0%, rgba(99, 131, 255, 0.15) 100%);
}
[data-bs-theme="dark"] .gov-service-card h5 {
    color: var(--body-color);
}

/* Dark Mode - Price Color */
[data-bs-theme="dark"] .price {
    color: var(--primary-color);
}
[data-bs-theme="dark"] .period {
    color: var(--text-muted-color);
}

/* Dark Mode - Team Info */
[data-bs-theme="dark"] .team-info {
    background-color: var(--card-bg);
}
[data-bs-theme="dark"] .team-info h5 {
    color: var(--body-color);
}
[data-bs-theme="dark"] .team-info p {
    color: var(--text-muted-color);
}

/* Dark Mode - About & Who We Are Badge */
[data-bs-theme="dark"] .who-we-are-badge {
    background-color: var(--card-bg);
    box-shadow: 0 10px 30px var(--shadow-color);
}

/* Dark Mode - Value Number */
[data-bs-theme="dark"] .value-number {
    color: rgba(74, 158, 255, 0.15);
}

/* Dark Mode - Timeline List */
[data-bs-theme="dark"] .timeline-list li {
    color: var(--body-color);
}

/* Dark Mode - Goal Card */
[data-bs-theme="dark"] .goal-content h5 {
    color: var(--body-color);
}
[data-bs-theme="dark"] .goal-content p {
    color: var(--text-muted-color);
}

/* Dark Mode - Hover Lift Cards */
[data-bs-theme="dark"] .hover-lift:hover {
    box-shadow: 0 20px 40px var(--shadow-color) !important;
}

/* Dark Mode - Step Number Background */
[data-bs-theme="dark"] .step-number {
    background: linear-gradient(135deg, rgba(74, 158, 255, 0.15) 0%, rgba(99, 131, 255, 0.15) 100%);
}

/* Dark Mode - Tables (if any) */
[data-bs-theme="dark"] .table {
    color: var(--body-color);
}
[data-bs-theme="dark"] .table-bordered {
    border-color: var(--card-border);
}

/* Dark Mode - Map Container */
[data-bs-theme="dark"] .map-container {
    border-color: var(--card-border);
}

/* Dark Mode - HR */
[data-bs-theme="dark"] hr {
    border-color: var(--card-border);
    opacity: 0.3;
}

/* Dark Mode - White Text Muted in Footer */
[data-bs-theme="dark"] .text-white-50 {
    color: rgba(255, 255, 255, 0.5) !important;
}

/* Dark Mode - List Group */
[data-bs-theme="dark"] .list-group-item {
    background-color: var(--card-bg);
    border-color: var(--card-border);
    color: var(--body-color);
}

/* Dark Mode - Breadcrumb */
[data-bs-theme="dark"] .breadcrumb-item a {
    color: var(--text-muted-color);
}
[data-bs-theme="dark"] .breadcrumb-item.active {
    color: var(--body-color);
}

/* Dark Mode - Modal */
[data-bs-theme="dark"] .modal-content {
    background-color: var(--card-bg);
    border-color: var(--card-border);
}
[data-bs-theme="dark"] .modal-header,
[data-bs-theme="dark"] .modal-footer {
    border-color: var(--card-border);
}
[data-bs-theme="dark"] .btn-close {
    filter: invert(1);
}

/* Dark Mode - Alert */
[data-bs-theme="dark"] .alert {
    border-color: var(--card-border);
}

/* Dark Mode - Pagination */
[data-bs-theme="dark"] .page-link {
    background-color: var(--card-bg);
    border-color: var(--card-border);
    color: var(--body-color);
}
[data-bs-theme="dark"] .page-link:hover {
    background-color: var(--section-bg);
    color: var(--primary-color);
}
[data-bs-theme="dark"] .page-item.active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff !important;
}
[data-bs-theme="dark"] .page-item.disabled .page-link {
    background-color: var(--section-bg);
    color: var(--text-muted-color);
}

/* Dark Mode - Btn Outline */
[data-bs-theme="dark"] .btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}
[data-bs-theme="dark"] .btn-outline-primary:hover {
    background: var(--gradient-1);
    color: #fff;
    border-color: transparent;
}
[data-bs-theme="dark"] .btn-outline-secondary {
    color: var(--body-color);
    border-color: var(--card-border);
}

/* Dark Mode - Nav Tabs & Pills */
[data-bs-theme="dark"] .nav-tabs {
    border-color: var(--card-border);
}
[data-bs-theme="dark"] .nav-tabs .nav-link {
    color: var(--body-color);
}
[data-bs-theme="dark"] .nav-tabs .nav-link.active {
    background-color: var(--card-bg);
    border-color: var(--card-border) var(--card-border) var(--card-bg);
    color: var(--primary-color);
}
[data-bs-theme="dark"] .nav-pills .nav-link {
    color: var(--body-color);
}
[data-bs-theme="dark"] .nav-pills .nav-link.active {
    background: var(--gradient-1);
    color: #fff;
}

/* Dark Mode - Blockquote */
[data-bs-theme="dark"] blockquote {
    border-color: var(--primary-color);
    color: var(--body-color);
}

/* Dark Mode - Code */
[data-bs-theme="dark"] code {
    background-color: var(--section-bg);
    color: #f9a8d4;
}
[data-bs-theme="dark"] pre {
    background-color: var(--section-bg);
    border-color: var(--card-border);
}

/* Dark Mode - Blog Cards */
[data-bs-theme="dark"] .blog-card-simple {
    background-color: var(--card-bg);
}
[data-bs-theme="dark"] .blog-card-body {
    background-color: var(--card-bg);
}
[data-bs-theme="dark"] .blog-title a {
    color: var(--body-color);
}
[data-bs-theme="dark"] .blog-title a:hover {
    color: var(--primary-color);
}
[data-bs-theme="dark"] .blog-meta {
    color: var(--text-muted-color);
}
[data-bs-theme="dark"] .blog-excerpt {
    color: var(--text-muted-color);
}

/* Dark Mode - Card Header & Footer */
[data-bs-theme="dark"] .card-header {
    background-color: var(--card-bg);
    border-color: var(--card-border);
}
[data-bs-theme="dark"] .card-footer {
    background-color: var(--card-bg);
    border-color: var(--card-border);
}
[data-bs-theme="dark"] .card-header.bg-transparent {
    background-color: transparent !important;
}

/* Dark Mode - Article Content */
[data-bs-theme="dark"] .article-content {
    background-color: var(--card-bg);
}
[data-bs-theme="dark"] .article-body {
    color: var(--body-color);
}
[data-bs-theme="dark"] .article-body p {
    color: var(--body-color);
}
[data-bs-theme="dark"] .article-body h2,
[data-bs-theme="dark"] .article-body h3,
[data-bs-theme="dark"] .article-body h4 {
    color: var(--body-color);
}

/* Dark Mode - Timeline for Service Details */
[data-bs-theme="dark"] .timeline-content {
    background-color: var(--section-bg);
}
[data-bs-theme="dark"] .timeline-content h6 {
    color: var(--body-color);
}
[data-bs-theme="dark"] .timeline-marker {
    box-shadow: 0 0 0 4px var(--card-bg), 0 0 0 7px var(--primary-color);
}

/* Dark Mode - Alert */
[data-bs-theme="dark"] .alert-primary {
    background-color: rgba(74, 158, 255, 0.15);
    border-color: rgba(74, 158, 255, 0.25);
    color: var(--body-color);
}

/* Dark Mode - Badge */
[data-bs-theme="dark"] .badge.bg-light {
    background-color: var(--section-bg) !important;
    color: var(--body-color) !important;
}
[data-bs-theme="dark"] .badge.bg-secondary {
    background-color: var(--section-bg) !important;
}

/* Dark Mode - Input Group */
[data-bs-theme="dark"] .input-group-text {
    background-color: var(--input-bg);
    border-color: var(--input-border);
    color: var(--body-color);
}
[data-bs-theme="dark"] .input-group-text.bg-white,
[data-bs-theme="dark"] .input-group-text.bg-light {
    background-color: var(--input-bg) !important;
}

/* Dark Mode - Lead Text */
[data-bs-theme="dark"] .lead {
    color: var(--body-color);
}
[data-bs-theme="dark"] .lead.text-muted {
    color: var(--text-muted-color) !important;
}

/* Dark Mode - Feature Icon Background */
[data-bs-theme="dark"] .bg-primary.bg-opacity-10 {
    background-color: rgba(74, 158, 255, 0.12) !important;
}
[data-bs-theme="dark"] .bg-success.bg-opacity-10 {
    background-color: rgba(52, 211, 153, 0.12) !important;
}
[data-bs-theme="dark"] .bg-info.bg-opacity-10 {
    background-color: rgba(103, 196, 232, 0.12) !important;
}
[data-bs-theme="dark"] .bg-warning.bg-opacity-10 {
    background-color: rgba(245, 158, 11, 0.12) !important;
}
[data-bs-theme="dark"] .bg-danger.bg-opacity-10 {
    background-color: rgba(248, 113, 113, 0.12) !important;
}

/* Dark Mode - Small Text */
[data-bs-theme="dark"] .small,
[data-bs-theme="dark"] small {
    color: inherit;
}
[data-bs-theme="dark"] .text-muted.small,
[data-bs-theme="dark"] small.text-muted {
    color: var(--text-muted-color) !important;
}

/* Dark Mode - Sidebar Cards */
[data-bs-theme="dark"] .card.border-0 {
    background-color: var(--card-bg);
}
[data-bs-theme="dark"] .card.border-0.shadow-sm {
    box-shadow: 0 0.125rem 0.25rem var(--shadow-color) !important;
}
[data-bs-theme="dark"] .card.border-0.shadow-lg {
    box-shadow: 0 1rem 3rem var(--shadow-color) !important;
}

/* Dark Mode - Links in Cards */
[data-bs-theme="dark"] a.text-dark {
    color: var(--body-color) !important;
}
[data-bs-theme="dark"] a.text-dark:hover {
    color: var(--primary-color) !important;
}

/* Dark Mode - FAQ Inline Styles Override */
[data-bs-theme="dark"] .faq-item {
    background-color: var(--card-bg);
}
[data-bs-theme="dark"] .category-btn {
    background-color: var(--category-btn-bg);
    border-color: var(--category-btn-border);
    color: var(--body-color);
}

/* Dark Mode - Contact Page */
[data-bs-theme="dark"] .contact-additional-info h3,
[data-bs-theme="dark"] .contact-additional-info h4,
[data-bs-theme="dark"] .contact-additional-info h5 {
    color: var(--body-color);
}

/* Dark Mode - Service Cards in Services Page */
[data-bs-theme="dark"] .gov-service-card {
    background-color: var(--card-bg) !important;
}
[data-bs-theme="dark"] .gov-service-card h5 {
    color: var(--body-color);
}
[data-bs-theme="dark"] .gov-service-card .text-muted {
    color: var(--text-muted-color) !important;
}

/* Dark Mode - Hover Lift Cards */
[data-bs-theme="dark"] .hover-lift {
    background-color: var(--card-bg);
}
[data-bs-theme="dark"] .hover-lift h5 {
    color: var(--body-color);
}

/* Dark Mode - Author Section */
[data-bs-theme="dark"] .bg-light.rounded-4 {
    background-color: var(--section-bg) !important;
}
[data-bs-theme="dark"] .bg-light.rounded-4 h6 {
    color: var(--body-color);
}

/* Dark Mode - Contact CTA */
[data-bs-theme="dark"] .contact-cta {
    background-color: var(--card-bg);
}
[data-bs-theme="dark"] .contact-cta h2 {
    color: var(--body-color);
}

/* Dark Mode - Form Labels */
[data-bs-theme="dark"] .form-label {
    color: var(--body-color);
}
[data-bs-theme="dark"] label {
    color: var(--body-color);
}

/* Dark Mode - Leaflet Map Popup */
[data-bs-theme="dark"] .leaflet-popup-content-wrapper,
[data-bs-theme="dark"] .leaflet-popup-tip {
    background-color: var(--card-bg);
    color: var(--body-color);
}
[data-bs-theme="dark"] .leaflet-popup-content a {
    color: var(--primary-color);
}

/* Dark Mode - Display Headings */
[data-bs-theme="dark"] .display-1,
[data-bs-theme="dark"] .display-2,
[data-bs-theme="dark"] .display-3,
[data-bs-theme="dark"] .display-4,
[data-bs-theme="dark"] .display-5,
[data-bs-theme="dark"] .display-6 {
    color: var(--body-color);
}

/* Dark Mode - FW Bold Text */
[data-bs-theme="dark"] .fw-bold,
[data-bs-theme="dark"] .fw-semibold {
    color: inherit;
}

/* Dark Mode - Border Bottom */
[data-bs-theme="dark"] .border-bottom {
    border-color: var(--card-border) !important;
}
[data-bs-theme="dark"] .border-top {
    border-color: var(--card-border) !important;
}

/* Dark Mode - Price & Period Override */
[data-bs-theme="dark"] .pricing-card:not(.featured) .price {
    color: var(--primary-color);
}
[data-bs-theme="dark"] .pricing-card:not(.featured) .period {
    color: var(--text-muted-color);
}

/* Dark Mode - Team Card */
[data-bs-theme="dark"] .team-card {
    background-color: var(--card-bg);
}
[data-bs-theme="dark"] .team-info {
    background-color: var(--card-bg);
}
[data-bs-theme="dark"] .team-info h5 {
    color: var(--body-color);
}
[data-bs-theme="dark"] .team-info .text-muted {
    color: var(--text-muted-color) !important;
}

/* Dark Mode - Rounded Elements */
[data-bs-theme="dark"] .rounded,
[data-bs-theme="dark"] .rounded-3,
[data-bs-theme="dark"] .rounded-4 {
    border-color: var(--card-border);
}

/* Dark Mode - Service Detail Page */
[data-bs-theme="dark"] .service-detail-card {
    background-color: var(--card-bg);
}
[data-bs-theme="dark"] .sticky-top.card {
    background-color: var(--card-bg);
}

/* Dark Mode - D-Flex Items */
[data-bs-theme="dark"] .d-flex span:not(.badge) {
    color: inherit;
}

/* Dark Mode - WHY Choose Cards (with bg-opacity) */
[data-bs-theme="dark"] .card.border-0.shadow-sm.hover-lift {
    background-color: var(--card-bg);
}

/* Dark Mode - Icon Colors in Cards */
[data-bs-theme="dark"] .text-primary {
    color: var(--body-color) !important;
}

/* Dark Mode - BG Primary Subtle */
[data-bs-theme="dark"] .bg-primary-subtle {
    background-color: rgba(74, 158, 255, 0.12) !important;
}

/* Dark Mode - Specific Link Styles */
[data-bs-theme="dark"] .read-more {
    color: var(--link-color, #6cb6ff);
}
[data-bs-theme="dark"] .read-more:hover {
    color: var(--link-hover-color, #9fcfff);
}
[data-bs-theme="dark"] .card a:not(.btn) {
    color: var(--link-color, #6cb6ff);
}
[data-bs-theme="dark"] .card a:not(.btn):hover {
    color: var(--link-hover-color, #9fcfff);
}

/* Dark Mode - Footer Links */
[data-bs-theme="dark"] .footer a.text-white-50:hover {
    color: var(--link-color, #6cb6ff) !important;
}

/* Dark Mode - Breadcrumb Links */
[data-bs-theme="dark"] .breadcrumb-item a {
    color: var(--link-color, #6cb6ff);
}

/* Dark Mode - Social Links */
[data-bs-theme="dark"] .social-links a:hover {
    color: var(--link-color, #6cb6ff) !important;
}

/* Dark Mode - List Links */
[data-bs-theme="dark"] .list-unstyled a,
[data-bs-theme="dark"] ul li a:not(.btn):not(.nav-link):not(.dropdown-item) {
    color: var(--link-color, #6cb6ff);
}
[data-bs-theme="dark"] .list-unstyled a:hover,
[data-bs-theme="dark"] ul li a:not(.btn):not(.nav-link):not(.dropdown-item):hover {
    color: var(--link-hover-color, #9fcfff);
}

/* Dark Mode - Category Link in Blog */
[data-bs-theme="dark"] .blog-category {
    color: #fff;
}

/* Dark Mode - Section Titles */
[data-bs-theme="dark"] .section-title {
    color: var(--body-color);
    border-color: var(--card-border);
}

/* Dark Mode - Lead Text in Cards */
[data-bs-theme="dark"] .card .lead {
    color: var(--body-color);
}

/* Dark Mode - Alert Info */
[data-bs-theme="dark"] .alert-info {
    background-color: rgba(103, 196, 232, 0.12);
    border-color: rgba(103, 196, 232, 0.2);
    color: var(--body-color);
}

/* Dark Mode - Contact Form Labels */
[data-bs-theme="dark"] .contact-form label {
    color: var(--body-color);
}

/* Dark Mode - Phone Links */
[data-bs-theme="dark"] a[href^="tel:"],
[data-bs-theme="dark"] a[href^="mailto:"] {
    color: var(--link-color, #6cb6ff);
}
[data-bs-theme="dark"] a[href^="tel:"]:hover,
[data-bs-theme="dark"] a[href^="mailto:"]:hover {
    color: var(--link-hover-color, #9fcfff);
}

/* Dark Mode - Text Primary Override */
[data-bs-theme="dark"] .text-primary {
    color: var(--body-color) !important;
}

/* Dark Mode - Border Subtle */
[data-bs-theme="dark"] .border-bottom,
[data-bs-theme="dark"] .border-top {
    border-color: var(--card-border) !important;
}

/* Dark Mode - Input Placeholder */
[data-bs-theme="dark"] ::placeholder {
    color: var(--text-muted-color) !important;
    opacity: 0.7;
}

/* Dark Mode - Selection */
[data-bs-theme="dark"] ::selection {
    background: var(--primary-color);
    color: #fff;
}

/* Dark Mode Smooth Transitions */
.card, .feature-card, .service-card, .pricing-card, .team-card,
.value-card, .certificate-card, .vision-mission-card, .core-value-card,
.goal-card, .contact-info-card, .info-box, .gov-service-card,
.process-step-card, .feature-box-gov, .service-detail-card,
.accordion-item, .accordion-button, .form-control, .form-select,
.dropdown-menu, .btn, .nav-link, .page-link, .modal-content,
h1, h2, h3, h4, h5, h6, p, span, a, .blog-card-simple,
.timeline-content, .hover-lift, .team-info, .contact-cta {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

/* ===== Additional Eye Comfort Enhancements ===== */

/* Reduce harsh contrasts in dark mode */
[data-bs-theme="dark"] {
    --contrast-boost: 0.95;
}

/* Softer white text - not pure white */
[data-bs-theme="dark"] .text-white {
    color: #e7e9ea !important;
}

/* Better focus states for dark mode */
[data-bs-theme="dark"] *:focus {
    outline-color: var(--primary-color);
}

[data-bs-theme="dark"] .btn:focus,
[data-bs-theme="dark"] .form-control:focus {
    box-shadow: 0 0 0 0.25rem rgba(74, 158, 255, 0.25);
}

/* Gradient overlays in dark mode */
[data-bs-theme="dark"] .gov-service-card::before {
    background: linear-gradient(135deg, #0f1419 0%, #16202a 100%);
}

[data-bs-theme="dark"] .process-step-card::after {
    background: linear-gradient(135deg, #4a9eff 0%, #6383ff 100%);
}

/* Icon backgrounds in dark mode */
[data-bs-theme="dark"] .feature-icon,
[data-bs-theme="dark"] .service-icon,
[data-bs-theme="dark"] .contact-icon,
[data-bs-theme="dark"] .value-icon,
[data-bs-theme="dark"] .icon-wrapper,
[data-bs-theme="dark"] .value-icon-circle,
[data-bs-theme="dark"] .goal-icon,
[data-bs-theme="dark"] .step-icon,
[data-bs-theme="dark"] .feature-icon-gov-intro,
[data-bs-theme="dark"] .info-icon,
[data-bs-theme="dark"] .timeline-badge,
[data-bs-theme="dark"] .category-icon {
    background: linear-gradient(135deg, #0f1419 0%, #16202a 100%);
}

/* Gradient text in dark mode */
[data-bs-theme="dark"] .text-gradient,
[data-bs-theme="dark"] .certificate-card i {
    background: linear-gradient(135deg, #4a9eff 0%, #6383ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Stats section in dark mode */
[data-bs-theme="dark"] .stats-section {
    background: linear-gradient(135deg, #0f1419 0%, #16202a 100%);
}

/* Page header in dark mode */
[data-bs-theme="dark"] .page-header {
    background: linear-gradient(135deg, #0f1419 0%, #16202a 100%);
}

/* About image bg in dark mode */
[data-bs-theme="dark"] .about-image-bg {
    background: linear-gradient(135deg, #0f1419 0%, #16202a 100%);
}

/* Team overlay in dark mode */
[data-bs-theme="dark"] .team-overlay {
    background: linear-gradient(135deg, rgba(15, 20, 25, 0.9) 0%, rgba(22, 32, 42, 0.9) 100%);
}

/* Why choose cards in dark mode */
[data-bs-theme="dark"] .why-choose-card {
    background: rgba(74, 158, 255, 0.08);
}

[data-bs-theme="dark"] .why-choose-card:hover {
    background: rgba(74, 158, 255, 0.12);
}

[data-bs-theme="dark"] .why-icon {
    background: var(--card-bg);
}

[data-bs-theme="dark"] .why-icon i {
    color: var(--text-muted-color);
}

/* Certificate card gradient text */
[data-bs-theme="dark"] .certificate-card i {
    background: linear-gradient(135deg, #4a9eff 0%, #6383ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Scrollbar styling for dark mode */
[data-bs-theme="dark"] ::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

[data-bs-theme="dark"] ::-webkit-scrollbar-track {
    background: var(--body-bg);
}

[data-bs-theme="dark"] ::-webkit-scrollbar-thumb {
    background: var(--card-border);
    border-radius: 5px;
}

[data-bs-theme="dark"] ::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* Better image handling in dark mode */
[data-bs-theme="dark"] img {
    opacity: 0.95;
}

[data-bs-theme="dark"] .team-image {
    opacity: 0.9;
}

/* Loading spinner in dark mode */
[data-bs-theme="dark"] .page-loader {
    background: linear-gradient(135deg, #0f1419 0%, #16202a 50%, #1c2732 100%);
}


.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    text-decoration: none;
    transition: all 0.3s ease;
}

/* RTL - الزر على اليسار */
html[dir="rtl"] .whatsapp-float {
    right: 30px;
    left: auto;
}

/* LTR - الزر على اليمين */
html[dir="ltr"] .whatsapp-float {
    left: 30px;
    right: auto;
}

.whatsapp-float i {
    color: #fff;
    font-size: 32px;
}

.whatsapp-float:hover {
    background: #20ba5a;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

/* تأثير النبض */
.whatsapp-float::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: #25d366;
    border-radius: 50%;
    animation: pulse 2s infinite;
    z-index: -1;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* دعم الدارك مود */
[data-bs-theme="dark"] .whatsapp-float {
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    background: #16202a;
}
    
[data-bs-theme="dark"] .whatsapp-float:hover {
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}


html[dir="rtl"] .back-to-top {
    left: 30px !important;
    right: auto !important;
}
html[dir="ltr"] .back-to-top {
    right: 30px !important;
    left: auto !important;
}

/* Hero Slider Styles */
.hero-slider-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}
.hero-slide {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 100vh;
}
.hero-slide .hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.hero-slide .hero-gradient-overlay,
.hero-slide .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.hero-slide .container {
    position: relative;
    z-index: 10;
}
.hero-slider-dots {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    display: flex;
    gap: 10px;
}
.hero-slider-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}
.hero-slider-dots .dot:hover {
    background: rgba(255, 255, 255, 0.8);
}
.hero-slider-dots .dot.active {
    background: var(--primary-color, #007bff);
    border-color: #fff;
    transform: scale(1.2);
}
/* Slide Animations */
.hero-slide .hero-content {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease 0.3s;
}
.hero-slide.active .hero-content {
    opacity: 1;
    transform: translateY(0);
}

/* Particles - allow clicks to pass through */
#particles-js {
    pointer-events: none;
}

/* Clients Slider Styles */
#clients-slider {
    direction: ltr;
    margin-bottom: 0;
}
#clients-slider .keen-slider__slide {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 10px;
    padding: 1.5rem 0;
    height: 120px;
    transition: background-color 0.3s ease;
}