/* Custom CSS Variables - Preserving Original Colors */
:root {
    --font-serif: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
    --primary: #1E3A8A;
    /* Deep blue primary */
    --primary-foreground: #ffffff;
    --secondary: #3B82F6;
    /* Vibrant blue accent */
    --secondary-foreground: #ffffff;
    --accent: #3B82F6;
    /* Vibrant blue accent */
    --accent-foreground: #ffffff;
    --background: #ffffff;
    --foreground: #374151;
    /* Dark gray text */
    --muted: #F3F4F6;
    /* Light gray */
    --muted-foreground: #6B7280;
    --border: #E5E7EB;
    /* Light gray border */
	--sidemuted-background: #e6e6e6;
	/* Sidebar background */
	--navmuted-foreground: #000000;
	--navmuted-background: #ffffff98;
	/* Navbar text and background */
    --card: #b7b9bcab;
    /* Light gray card background */
    --card-foreground: #374151;
    --destructive: #EF4444;
    /* Red for errors */
    --destructive-foreground: #ffffff;
    --radius: 0.5rem;
    /* 8px corner radius */
}

/* Dark mode variables */
[data-theme="dark"] {
    --background: #0F172A;
    /* Very dark background */
    --foreground: #F8FAFC;
    /* Near white text */
    --muted: #1E293B;
    /* Dark muted background */
    --muted-foreground: #94A3B8;
    --border: #334155;
    /* Dark border */
	--sidemuted-background: #1E293B;
	/* Sidebar background */
	--navmuted-foreground: #ffffff;
	--navmuted-background: #1E293B95;
	/* Navbar text and background */
    --card: #1E293B;
    /* Dark card background */
    --card-foreground: #ffffff;
    --primary: #3B82F6;
    /* Brighter blue for dark mode */
    --secondary: #1E40AF;
    /* Darker blue secondary */
    --accent: #3B82F6;
    /* Bright blue accent */
}

/* Base styles */
body {
    background-color: var(--background);
    color: var(--foreground);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
}


/* Sidebar navigation */

.sidenav {
    height: 100vh; /* 100% Full-height */
    width: 0; /* 0 width - change this with JavaScript */
    position: fixed; /* Stay in place */
    z-index: 1051; /* Stay on top */
    top: 0; /* Stay at the top */
    left: 0; /* Stay at the left */
    background-color: var(--sidemuted-background) !important; /* Black*/
    overflow-x: hidden; /* Disable horizontal scroll */
    /* Ensure the sidenav itself is scrollable if content is long */
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding-top: 60px; /* Place content 60px from the top */
    padding-bottom: 150px !important;
    transition: 0.5s; /* 0.5 second transition effect to slide in the sidenav */
    display: block !important;
}


/* RTL Support: When Arabic is active, move sidebar to the right */
[dir="rtl"] .sidenav {
    left: auto;
    right: 0;
}

/* Sidebar navigation */


/* Ensure the language/theme toggles are formatted nicely in the desktop navbar */
.navbar .d-flex.align-items-center.gap-3 button {
    margin-top: 0 !important; /* Override the 5vh margin used in the mobile sidebar */
}

/* Add a style to make the navbar-nav align to the left in RTL, consistent with the LTR 'ms-auto' on the <ul> */
[dir="rtl"] .navbar-collapse .navbar-nav {
    margin-right: auto !important;
    margin-left: 0 !important;
}

/* Language Change Loading Animation */
/* Blur background layer - excludes navbar */
.language-loading-blur {
  position: fixed;
  top: 80px; /* Start below navbar (navbar height ~80px) */
  left: 0;
  width: 100%;
  height: calc(100% - 80px);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: rgba(128, 128, 128, 0.15); /* رمادي خافت */
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.language-loading-blur.active {
  opacity: 1;
  visibility: visible;
}

/* Loading overlay - transparent background */
.language-loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  pointer-events: none;
}

.language-loading-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}

.language-loading-content {
  text-align: center;
  background: rgba(255, 255, 255, 0.95);
  padding: 50px 60px;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Dots Spinner - نقاط دائرية تدور */
.language-loading-spinner {
  width: 80px;
  height: 80px;
  margin: 0 auto 30px;
  position: relative;
}

.language-loading-spinner::before,
.language-loading-spinner::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

/* Outer dots circle */
.language-loading-spinner::before {
  background: 
    radial-gradient(circle, #667eea 6px, transparent 6px) 0 0,
    radial-gradient(circle, #667eea 6px, transparent 6px) 100% 0,
    radial-gradient(circle, #667eea 6px, transparent 6px) 100% 100%,
    radial-gradient(circle, #667eea 6px, transparent 6px) 0 100%,
    radial-gradient(circle, #667eea 6px, transparent 6px) 50% 0,
    radial-gradient(circle, #667eea 6px, transparent 6px) 100% 50%,
    radial-gradient(circle, #667eea 6px, transparent 6px) 50% 100%,
    radial-gradient(circle, #667eea 6px, transparent 6px) 0 50%;
  background-size: 12px 12px;
  background-repeat: no-repeat;
  animation: spinDots 1.2s linear infinite;
}

/* Inner dots circle */
.language-loading-spinner::after {
  width: 50px;
  height: 50px;
  top: 15px;
  left: 15px;
  background: 
    radial-gradient(circle, #764ba2 5px, transparent 5px) 0 0,
    radial-gradient(circle, #764ba2 5px, transparent 5px) 100% 0,
    radial-gradient(circle, #764ba2 5px, transparent 5px) 100% 100%,
    radial-gradient(circle, #764ba2 5px, transparent 5px) 0 100%,
    radial-gradient(circle, #764ba2 5px, transparent 5px) 50% 0,
    radial-gradient(circle, #764ba2 5px, transparent 5px) 100% 50%,
    radial-gradient(circle, #764ba2 5px, transparent 5px) 50% 100%,
    radial-gradient(circle, #764ba2 5px, transparent 5px) 0 50%;
  background-size: 10px 10px;
  background-repeat: no-repeat;
  animation: spinDots 0.8s linear infinite reverse;
}

@keyframes spinDots {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.language-loading-text {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #2d3748;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.language-loading-subtext {
  font-size: 16px;
  color: #4a5568;
  font-weight: 500;
}

.language-loading-globe {
  font-size: 60px;
  margin-bottom: 25px;
  animation: rotateGlobe 3s ease-in-out infinite;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
}

@keyframes rotateGlobe {
  0%, 100% { transform: rotate(0deg) scale(1); }
  25% { transform: rotate(90deg) scale(1.1); }
  50% { transform: rotate(180deg) scale(1); }
  75% { transform: rotate(270deg) scale(1.1); }
}

/* Dark mode support */
[data-theme="dark"] .language-loading-content {
  background: rgba(30, 30, 40, 0.95);
}

[data-theme="dark"] .language-loading-text {
  color: #e2e8f0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .language-loading-subtext {
  color: #cbd5e0;
}

[data-theme="dark"] .language-loading-blur {
  background: rgba(20, 20, 30, 0.2);
}

/* Responsive */
@media (max-width: 768px) {
  .language-loading-blur {
    top: 70px;
    height: calc(100% - 70px);
  }
  
  .language-loading-content {
    padding: 40px 50px;
  }
  
  .language-loading-spinner {
    width: 60px;
    height: 60px;
  }
  
  .language-loading-spinner::after {
    width: 40px;
    height: 40px;
    top: 10px;
    left: 10px;
  }
  
  .language-loading-globe {
    font-size: 50px;
  }
  
  .language-loading-text {
    font-size: 22px;
  }
  
  .language-loading-subtext {
    font-size: 14px;
  }
}

.sidenavbg {
  height: 100vh; /* 100% Full-height */
  width: 0; /* 0 width - change this with JavaScript */
  position: fixed; /* Stay in place */
  z-index: 1050; /* Stay on top */
  top: 0; /* Stay at the top */
  width: 0;
  background-color: var(--navmuted-background) !important; /* Black*/
  overflow-x: hidden; /* Disable horizontal scroll */
  padding-top: 60px; /* Place content 60px from the top */
  transition: 0.5s; /* 0.5 second transition effect to slide in the sidenav */
  display: block !important;
}

/* The navigation menu links */
.sidenav a {
  padding: 8px 8px 8px 32px;
  text-decoration: none;
  font-size: 25px;
  color: #818181;
  display: block;
  transition: 0.3s;
}

[dir="rtl"] .sidenav a {
    padding: 8px 32px 8px 8px;
}

/* When you mouse over the navigation links, change their color */
.sidenav a:hover {
  color: #f1f1f1;
}

/* Position and style the close button (top right corner) */
.sidenav .closebtn {
  position: absolute;
  top: 0;
  right: 5%;
  font-size: 36px;
  margin-left: 80%;
}

/* Flip the close button for Arabic */
[dir="rtl"] .sidenav .closebtn {
    left: 5%;
	margin-right: 80%;
}

.sidenav-brand img {
	
	z-index: -5;
    transition: all 0.3s ease;
    /* background-color: #fff; */
	
}

.sidenav-center {
	align-items: center;
}

.child-div {
    display:inline-block;
	width: 100%;
}

.flex-container ul {
  list-style: none;
  padding: 0; /* Remove default padding for lists */
  margin: 0; /* Remove default margin for lists */
}



/* Navigation */
.navbar {
	background-color: var(--navmuted-background) !important;
    transition: all 0.3s ease;
    z-index: 1050;
    padding: 10 !important;
   
}


/* Center navbar navigation */
.navbar-nav {
    margin: 0 auto !important;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-right-group {
    display: flex;
    align-items: center;
}

/* LTR Fix (English) */
[dir="ltr"] .nav-right-group {
    margin-left: auto; /* Pushes to the right */
    margin-right: 0;
}

/* RTL Fix (Arabic) */
[dir="rtl"] .nav-right-group {
    margin-right: auto; /* Pushes to the left */
    margin-left: 0;
}

#navbarButtons {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
}

[dir="rtl"] #navbarButtons {
    left: auto;
    right: 50%;
    transform: translateX(50%);
}

.navbar-nav .nav-item {
    margin: 0 0.5rem;
}

.navbar-nav .nav-item-profile {
    margin: 0;
}

.navbar-brand img {
    z-index: -5;
    transition: all 0.3s ease;
    margin: 0 1rem;
    /* background-color: #fff; */
}

.nav-link {
    color: var(--navmuted-foreground) !important;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem !important;
    border-radius: 0.375rem;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary) !important;
    background-color: rgba(30, 58, 138, 0.1);
}

.nav-link-profile {
    color: var(--navmuted-foreground) !important;
    font-weight: 500;
    transition: all 0.3s ease;
    
}

    .nav-link-profile:hover,
    .nav-link-profile.active {
        color: var(--primary) !important;
        background-color: rgba(30, 58, 138, 0.1);
    }

/* Translucent Dropdown that matches the theme */
.shadow-custom {
    /* This mixes background color with transparent to create a theme-accurate glass effect */
    background-color: color-mix(in srgb, var(--background), transparent 50%) !important;
    /* Frosted glass effect */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border) !important;
    color: var(--foreground) !important;
}

/* Ensure the divider and text within follow the theme colors */
.dropdown-menu .dropdown-header {
    color: var(--primary) !important;
}

.dropdown-divider {
    border-top: 1px solid var(--border) !important;
}

.theme-input {
    background-color: var(--background) !important;
    color: var(--foreground) !important;
    border: 1px solid var(--border) !important;
}

.dropdown-item {
    color: var(--foreground) !important;
}

    .dropdown-item:hover {
        background-color: var(--muted) !important;
    }

/* Translucent Link and Text styles */
.theme-text {
    color: var(--muted-foreground) !important;
}

.theme-link {
    color: var(--primary) !important;
    transition: opacity 0.2s ease;
}

    .theme-link:hover {
        opacity: 0.8;
        text-decoration: underline !important;
    }

/* Make checkbox background match the theme */
.theme-checkbox {
    background-color: var(--background) !important;
    border-color: var(--primary) !important;
}

    .theme-checkbox:checked {
        background-color: var(--primary) !important;
        border-color: var(--primary) !important;
    }

/* Placeholder styling for theme awareness */
.form-control::placeholder {
    color: var(--muted-foreground);
    opacity: 0.7; /* Adjust transparency for a softer look */
    transition: color 0.3s ease;
}

/* Specific adjustment for dark theme */
[data-theme="dark"] .form-control::placeholder {
    color: #e5e7eb; /* Light gray for high contrast on dark backgrounds */
    opacity: 0.8;
}

/* Target the sidebar-specific inputs specifically if needed */
.sidebar-login-input::placeholder {
    color: var(--muted-foreground);
}

[data-theme="dark"] .sidebar-login-input::placeholder {
    color: #cbd5e1; /* Even lighter blue-gray for the sidebar */
}

/* Class to lock the background body */
.noscroll {
    overflow: hidden;
    height: 100vh;
}

/*FAQ Section*/
/* Custom styling for the accordion to match your theme */
.accordion-item {
    background-color: var(--background);
    color: var(--foreground);
    border-color: var(--border) !important;
}

/* Dark Mode Specific Fix */
[data-theme="dark"] .accordion-button::after {
    filter: brightness(0) invert(1); /* Turns the black arrow to white */
    opacity: 0.7; /* Optional: makes it slightly softer */
}

/* Ensure the arrow stays visible when expanded */
[data-theme="dark"] .accordion-button:not(.collapsed)::after {
    filter: brightness(0) invert(1);
    opacity: 1;
}

/* Theme-aware button background to ensure contrast */
.accordion-button {
    background-color: var(--background) !important;
    color: var(--foreground) !important;
}

.accordion-button:not(.collapsed) {
    background-color: var(--primary-light); /* Slightly lighter version of your primary */
    color: var(--primary);
}

.accordion-button::after {
    filter: var(--icon-filter); /* If you have an icon filter for dark mode */
}

.shadow-custom {
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Hero Section */
.hero-section {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.6) 50%, rgba(30, 58, 138, 0.5) 100%);
    z-index: .5;
}

.hero-content {
    position: relative;
    z-index: 2;
    
}

.hero-card {
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
    /*height: 100%;*/
    /* color: rgb(0, 94, 255) !important; */
}

.hero-card:hover {
    transform: translateY(-5px);
}

/* Buttons */
.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--primary-foreground);
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #1E40AF;
    border-color: #1E40AF;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3);
}

.btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
}

/* Cards */
.card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background-color: var(--card);
    color: var(--card-foreground);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Footer */
footer {
    background-color: var(--muted) !important;
    color: var(--foreground);
}

footer a {
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--primary) !important;
}



/* Theme Toggle */
/* Targeting both desktop and mobile theme toggles */
[id^="themeToggle"] {
    border: 1px solid var(--border);
    background-color: var(--background);
    color: var(--foreground);
}

[id^="themeToggle"]:hover {
    background-color: var(--muted);
    /* Change the border color to the primary blue on hover */
    border-color: var(--primary); 
    /* Also change the text color to primary blue for better contrast/effect */
    color: var(--primary); 
}

/* Language Toggle */
/* Targeting both desktop and mobile language toggles */
[id^="languageToggle"] {
    border: 1px solid var(--border);
    background-color: var(--background);
    color: var(--foreground);
}

[id^="languageToggle"]:hover {
    background-color: var(--muted);
    /* Change the border color to the primary blue on hover */
    border-color: var(--primary); 
    /* Also change the text color to primary blue for better contrast/effect */
    color: var(--primary); 
}

/* Login Button */
[id^="loginDropdown"] {
    border: 1px solid var(--border);
    background-color: var(--background);
    color: var(--foreground);
}

[id^="loginDropdown"]:hover {
    background-color: var(--muted);
    /* Change the border color to the primary blue on hover */
    border-color: var(--primary); 
    /* Also change the text color to primary blue for better contrast/effect */
    color: var(--primary); 
}

/* Profile Button */
[id^="profileDropdown"] {
    border: 1px solid var(--border);
    background-color: var(--background);
    color: var(--foreground);
}

[id^="profileDropdown"]:hover {
    background-color: var(--muted);
    /* Change the border color to the primary blue on hover */
    border-color: var(--primary); 
    /* Also change the text color to primary blue for better contrast/effect */
    color: var(--primary); 
}

/* Text Colors */
.text-primary {
    color: var(--primary) !important;
}

.text-muted {
    color: var(--muted-foreground) !important;
}

/* Background Colors */
.bg-light {
    background-color: var(--muted) !important;
}

/* RTL Support */
[dir="rtl"] {
    text-align: right;
}

[dir="rtl"] .navbar-nav {
    margin-right: auto;
    margin-left: 0;
}

[dir="rtl"] .me-auto {
    margin-left: auto !important;
    margin-right: 0 !important;
}

[dir="rtl"] .ms-auto {
    margin-right: auto !important;
    margin-left: 0 !important;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section {
        padding-top: 80px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-card {
        margin-bottom: 1rem;
    }
   
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--muted);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary);
}

/* Focus styles */
.btn:focus,
.nav-link:focus,
.form-control:focus {
    box-shadow: 0 0 0 0.2rem rgba(30, 58, 138, 0.25);
    border-color: var(--primary);
}

/* Cursor styles */
.btn,
.nav-link,
a,
button,
[role="button"],
.swiper-button-next,
.swiper-button-prev,
.swiper-button-next-ind,
.swiper-button-prev-ind,
.swiper-pagination-bullet-ind,
.swiper-button-next-cor,
.swiper-button-prev-cor,
.swiper-pagination-bullet-cor {
    cursor: pointer !important;
}



/* Disabled elements should not have pointer cursor */
.btn:disabled,
button:disabled,
[disabled] {
    cursor: not-allowed !important;
}

/* Swiper Navigation Buttons - Centered on Cards */

.swiper-button-next,
.swiper-button-prev {
    color: var(--primary) !important;
    background: rgba(255, 255, 255, 0.5) !important;
    border-radius: 50% !important;
    width: 50px !important;
    height: 50px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    transition: all 0.3s ease !important;
    z-index: 10 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
}


.swiper-button-next-ind,
.swiper-button-prev-ind {
    color: var(--primary) !important;
    background: rgba(255, 255, 255, 0.5) !important;
    border-radius: 50% !important;
    width: 50px !important;
    height: 50px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    transition: all 0.3s ease !important;
    z-index: 10 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
}

.swiper-button-next-cor,
.swiper-button-prev-cor {
    color: var(--primary) !important;
    background: rgba(255, 255, 255, 0.5) !important;
    border-radius: 50% !important;
    width: 50px !important;
    height: 50px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    transition: all 0.3s ease !important;
    z-index: 10 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: var(--primary) !important;
    color: white !important;
    transform: translateY(-50%) scale(1.1) !important;
}

.swiper-button-next-ind:hover,
.swiper-button-prev-ind:hover {
    background: var(--primary) !important;
    color: white !important;
    transform: translateY(-50%) scale(1.1) !important;
}

.swiper-button-next-cor:hover,
.swiper-button-prev-cor:hover {
    background: var(--primary) !important;
    color: white !important;
    transform: translateY(-50%) scale(1.1) !important;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 18px !important;
    font-weight: bold !important;
}

.swiper-button-next-ind:after,
.swiper-button-prev-ind:after {
    font-size: 18px !important;
    font-weight: bold !important;
}

.swiper-button-next-cor:after,
.swiper-button-prev-cor:after {
    font-size: 18px !important;
    font-weight: bold !important;
}


.swiper-button-prev-ind {
    left: 20px !important;
}

.swiper-button-prev-cor {
    left: 20px !important;
}

/* Ensure swiper container has relative positioning for absolute buttons */


.individualSwiper {
    position: relative !important;
}

.corporateSwiper {
    position: relative !important;
}

/* Make sure cards are positioned correctly */


.individualSwiper .swiper-slide-ind {
    position: relative !important;
}

.corporateSwiper .swiper-slide-cor {
    position: relative !important;
}

/* Swiper Pagination */


.swiper-pagination-bullet-ind {
    background: var(--muted-foreground) !important;
    opacity: 0.5 !important;
    width: 12px !important;
    height: 12px !important;
    margin: 0 6px !important;
}

.swiper-pagination-bullet-cor {
    background: var(--muted-foreground) !important;
    opacity: 0.5 !important;
    width: 12px !important;
    height: 12px !important;
    margin: 0 6px !important;
}



.swiper-pagination-bullet-ind-active {
    background: var(--primary) !important;
    opacity: 1 !important;
}

.swiper-pagination-bullet-cor-active {
    background: var(--primary) !important;
    opacity: 1 !important;
}

/* Loading animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(30, 58, 138, 0.3);
    border-radius: 50%;
    border-top-color: var(--primary);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Utility classes */
.shadow-custom {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.border-custom {
    border: 1px solid var(--border);
}

/* Icon styles */
.bi {
    font-size: 1.2em;
}

/* Form styles */
.form-control {
    border: 1px solid var(--border);
    background-color: var(--background);
    color: var(--foreground);
    border-radius: var(--radius);
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(30, 58, 138, 0.25);
}

/* Logo visibility */
.logo-light {
    display: block;
}

.logo-dark {
    display: none;
}

 [data-theme="dark"] .logo-light {
    display: none;
}

[data-theme="dark"] .logo-dark {
    display: block;
} 

[data-theme="dark"] .nav-light {
    display: none;
}

[data-theme="light"] .nav-dark {
    display: none;
} 

/* ========================================
   RTL Support for Button Groups (Services Page)
   ======================================== */

/* Default LTR - Left button rounded on left, Right button rounded on right */
.btn-group > .btn:first-child:not(:last-child) {
    border-top-left-radius: 0.375rem;
    border-bottom-left-radius: 0.375rem;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.btn-group > .btn:last-child:not(:first-child) {
    border-top-right-radius: 0.375rem;
    border-bottom-right-radius: 0.375rem;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

/* RTL - Reverse the border-radius */
[dir="rtl"] .btn-group > .btn:first-child:not(:last-child) {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-top-right-radius: 0.375rem;
    border-bottom-right-radius: 0.375rem;
}

[dir="rtl"] .btn-group > .btn:last-child:not(:first-child) {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-top-left-radius: 0.375rem;
    border-bottom-left-radius: 0.375rem;
}

/* Additional support for Bootstrap's btn-group */
[dir="rtl"] .btn-group > .btn:not(:first-child) {
    margin-left: 0;
    margin-right: -1px;
}

[dir="rtl"] .btn-group > .btn:not(:last-child) {
    margin-right: 0;
}
 