/* custom.css */

html{
	  scroll-behavior: smooth;

} 
 body {
	 font-family: 'Cairo', sans-serif;

}
 
 
/* Preloader container */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fff; /* White background */
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Logo image */
.preloader-logo {
  max-width: 200px; /* Adjust logo size as needed */
}

/* Spinner */
.spinner {
  width: 30px;
  height: 30px;
  border: 4px solid rgba(0, 0, 0, 0.1);
  border-left-color: #333; /* Color of the spinner */
  border-radius: 50%;
  animation: spin 1s linear infinite; /* Animation for spinning */
}

/* Keyframe animation for spinning */
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

	

 a{
	 text-decoration: none;
	 color: #222c95;
 }
 
  a:hover{
	  text-decoration: none;
	 color: #2a33ff;
 }
 
.active{
    color: #2a33ff;
    
}
.circle-icon {
	    color: #fff;
    background: #2a33ff;
    padding: 25px;
    border-radius: 50%;
    width: 150px;
    height: 150px;
    border: 15px #222c95 solid;
transition:  .1s ease-in-out .2s;

}

.circle-icon:hover {
	    color: #fff;
    background: #222c95;
    padding: 30px;
    border-radius: 50%;
    border: 13px #2a33ff  solid; 
}



 .hover {
  overflow: hidden;
  position: relative;
  height: 150px;
 
}

.hover-overlay {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 90;
  transition: all 0.4s;
}

.hover img {
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  transition: all 0.3s;
}
.hover-5::after {
  content: '';
  width: 100%;
  height: 10px;
  background: #222c95;
  position: absolute;
  bottom: -10px;
  left: 0;
  display: block;
  transition: all 0.3s;
  z-index: 999;
}

.hover-5 .hover-overlay {
  background: rgba(0, 0, 0, 0.4);
}

.hover-5-tieude {
  position: absolute;
  bottom: 1rem;
  left: 0;
  transition: all 0.3s;
  padding: 2rem 3rem;
  z-index: 99;
}

.hover-5-tieude span {
  transition: all 0.4s;
  opacity: 0;
  color: #7783ff;
}

.hover-5:hover .hover-overlay {
  background: rgba(0, 0, 0, 0.8);
}

.hover-5:hover .hover-5-tieude {
  bottom: 0;
}

.hover-5:hover .hover-5-tieude span {
  opacity: 1;
}

.hover-5:hover::after {
  bottom: 0;
}









.wrap {
    display: flex;
    background: white;
    padding: 1rem 1rem 1rem 1rem;
    border-radius: 0.5rem;
    box-shadow: 7px 7px 30px -5px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.wrap:hover {
  background: linear-gradient(135deg,#20ad9b 0%,#3a73d5 100%);
    color: white;
}

.wrap span {
    color: #222c95;
}

.wrap:hover span {
    color: white;
}



.ico-wrap {
    margin: auto;
}

.mbr-iconfont {
    font-size: 4.5rem !important;
    color: #313131;
    margin: 1rem;

}
.vcenter {
    margin: auto;
}


h2 {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}
.display-5 {
    font-size: 1.4rem;
}
.mbr-bold {
    font-weight: 600;
}

 p {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    line-height: 25px;
}
.display-6 {
    font-size: 1rem;
    
}
	 
	
	
.navigation-box {
    top: .4rem;
    right: .8rem;
    width: 2rem;
    position: absolute;
}








.pt-100 {
	padding-top: 100px;
}

.pb-100 {
	padding-bottom: 100px;
}

.ptb-100 {
	padding: 100px 0px;
}

.pt-70 {
	padding-top: 70px;
}

.pb-70 {
	padding-bottom: 70px;
}

.ptb-70 {
	padding: 70px 0px;
}

p {
	font-size: 15px;
	margin: 0px;
	padding: 0px;
}



#services .title {
	font-size: 36px;
	color: #000000;
	font-weight: 600;
}

#services .title span {
	font-size: 36px;
	color: #222c95;
	font-weight: 600;
}

#services .btn-primary {
	color: #fff;
	background-color: #222c95;
	border: none;
	font-size: 14px;
	letter-spacing: 1px;
	text-transform: uppercase;
	padding: 12px 20px;
	min-width: 150px;
	transition: all 0.5s ease;
	-moz-transition: all 0.5s ease;
	-webkit-transition: all 0.5s ease;
	-ms-transition: all 0.5s ease;
	-o-transition: all 0.5s ease;
}

.btn-primary:hover {
	-webkit-box-shadow: 0 5px 9px -4px rgb(0 0 255 / 65%);
	box-shadow: 0 5px 9px -4px rgb(0 0 255 / 65%);
}

.card-items .card {
	position: relative;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-direction: column;
	flex-direction: column;
	min-width: 0;
	word-wrap: break-word;
	background-color: #fff;
	background-clip: border-box;
	border: none;
	border-radius: .25rem;
	box-shadow: 0 2px 48px 0 rgba(0, 0, 0, 0.08);
	margin-bottom: 30px;
}




	
	
.card-items .card .card-body i {
	border-radius: 6px;
	font-size: 31px;
	color: #222c95;
	background-color: #aac3fc;
	width: 50px;
	height: 50px;
	display: flex;
	justify-content: center;
	align-items: center;
}

.card-items .card .card-body .card-title {

	margin-top: 26px;
	margin-bottom: 15px;
}












	.card-horizontal {
    display: flex;
    flex: 1 1 auto;
}







.logo-slide{
 height:140px;
}
/* Slider */

.slick-slide {
    margin: 0px 20px;
}

.slick-slide img {
    width: 100%;
}

.slick-slider
{
    position: relative;
    display: block;
    box-sizing: border-box;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
            user-select: none;
    -webkit-touch-callout: none;
    -khtml-user-select: none;
    -ms-touch-action: pan-y;
        touch-action: pan-y;
    -webkit-tap-highlight-color: transparent;
}

.slick-list
{
    position: relative;
    display: block;
    overflow: hidden;
    margin: 0;
    padding: 0;
}
.slick-list:focus
{
    outline: none;
}
.slick-list.dragging
{
    cursor: pointer;
    cursor: hand;
}

.slick-slider .slick-track,
.slick-slider .slick-list
{
    -webkit-transform: translate3d(0, 0, 0);
       -moz-transform: translate3d(0, 0, 0);
        -ms-transform: translate3d(0, 0, 0);
         -o-transform: translate3d(0, 0, 0);
            transform: translate3d(0, 0, 0);
}

.slick-track
{
    position: relative;
    top: 0;
    left: 0;
    display: block;
}
.slick-track:before,
.slick-track:after
{
    display: table;
    content: '';
}
.slick-track:after
{
    clear: both;
}
.slick-loading .slick-track
{
    visibility: hidden;
}

.slick-slide
{
    display: none;
    float: left;
    height: 100%;
    min-height: 1px;
}
[dir='rtl'] .slick-slide
{
    float: right;
}
.slick-slide img
{
    display: block;
}
.slick-slide.slick-loading img
{
    display: none;
}
.slick-slide.dragging img
{
    pointer-events: none;
}
.slick-initialized .slick-slide
{
    display: block;
}
.slick-loading .slick-slide
{
    visibility: hidden;
}
.slick-vertical .slick-slide
{
    display: block;
    height: auto;
    border: 1px solid transparent;
}
.slick-arrow.slick-hidden {
    display: none;
}



hr{
	background-color: #222c95;
    height: 2px;
}

.b-example-divider
{
	background-color: #222c95;
    height: 2px;
}

.footer{
border-top: 3px #222c95 solid;
    background: rgb(255,255,255);
  background: linear-gradient(153deg, #0d1453 0%, #4250cd 100%);
}




.card-header-title > a {
    display: block;
    position: relative;
}
.card-header-title > a:hover {
    cursor: pointer;
}
.card-header-title > a:after {
    content: "\f078"; /* fa-chevron-down */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    float: left;
    
}
.card-header-title > a[aria-expanded="true"]:after {
    content: "\f077"; /* fa-chevron-up */
}





.bg-theme {
    background: linear-gradient(135deg,#20ad9b 0%,#3a73d5 100%);
}







.text-theme{
    color: #222c95;

}

.text-theme:hover{
    color: #2a33ff;

}




.bg-success {
    color: #fffff;
    background-color: #222c95;
    border-color: #208175;
}

.btn-success {
    color: #fffff;
    background-color: #222c95;
    border-color: #222c95;
}
.btn-success:hover {
    color: #fff00;
    background-color: #2a33ff;
    border-color: #208175;
}







.btn-outline-success {
    color: #fff00;
    background-color: transparent;
    background-image: none;
    border-color: #222c95;
}

.btn-outline-success:hover {
    color: #fff00;
    background-color: #2a33ff;
    border-color: #222c95;
}


.carousel-item:before {
  -webkit-box-shadow: inset 0 0 110px 110px #000000c2;    
    -moz-box-shadow: inset 0 0 110px 110px #000000c2;
    box-shadow: inset 150px 150px 150px 150px #000000c2;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    content: "";
}

.carousel-item img {

    width: 100%;
 
	height: 440px;

}

.inner { 
   position: relative; 
  -webkit-box-shadow: inset 0 0 110px 110px #000000c2;    
    -moz-box-shadow: inset 0 0 110px 110px #000000c2;
    box-shadow: inset 150px 150px 150px 150px #000000c2;
	color:#ffff;

}







 .social-icon {
      font-size: 1.5rem; /* Adjust icon size */
      margin: 5px; /* Adjust icon margin */

      transition: transform 0.3s ease; /* Animation effect */
    }

    .social-icon:hover {
      transform: scale(1.2); /* Scale icon on hover */
	  color: #fff;
    }

    /* Social media specific colors */
    .facebook-icon { color: #fff; }
    .twitter-icon { color: #1da1f2; }
    .linkedin-icon { color: #0077b5; }
    .insta-icon { color: #bc2a8d; }
    .youtube-icon { color: #ff0000; }
    .whatsapp-icon { color: #25D366; }
    .snapchat-icon { color: #fffc00; }
    /* Add more social media icons and colors as needed */

    /* Center icons horizontally */





























/* Modern Pagination Styles */
.pagination {
    justify-content: center;
    margin-top: 3rem;
    gap: 0.5rem;
}
.pagination .page-item .page-link {
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: #f8f9fa;
    color: #333;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.pagination .page-item.active .page-link {
    background: var(--primary, #003580);
    color: #fff;
    box-shadow: 0 4px 10px rgba(0, 53, 128, 0.3);
}
.pagination .page-item .page-link:hover {
    background: var(--secondary, #082d7a);
    color: #fff;
    transform: translateY(-2px);
}
.pagination .page-item.disabled .page-link {
    background: #e9ecef;
    color: #adb5bd;
    box-shadow: none;
}


/* Extracted from app.blade.php */
:root {
            --primary: #222c95;
            --secondary: #4361ee;
            --accent: #7209b7;
            --success: #06ffa5;
            --white: #ffffff;
            --gray-100: #f8f9fa;
            --gray-200: #e9ecef; /* Added for subtle borders/backgrounds */
            --gray-600: #6c757d;
            --gray-800: #343a40;
            --transition-fast: all 0.2s ease-out; /* Faster for quick feedback */
            --transition-medium: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); /* For menu open/close */
            --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1); /* For larger elements */
            --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.06);
            --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.06);
            --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.06);
                --shadow-btn: 0 10px 30px rgba(0, 0, 0, 0.1); /* ظل افتراضي للأزرار */
    --shadow-btn-hover: 0 18px 45px rgba(0, 0, 0, 0.2); /* ظل عند التحويم */
    --transition-btn: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1); /* انتقال سلس */
        }

        * { margin: 0; padding: 0; box-sizing: border-box; }



              .body, h1, h2, h3, h4, h5, h6, p, a, span, li, button, input, textarea, label, div {
            font-family: 'Cairo', sans-serif !important;
        }


/* --- Base Button Styles --- */
.btn {
    position: relative; /* Needed for the shine effect */
    overflow: hidden; /* Clips the shine when it's outside the button */
    z-index: 1; /* Ensures the button content is above the shine effect */

    font-weight: 500;
    transition: var(--transition-btn); /* Use the refined transition variable */
    border: none; /* Remove default Bootstrap border */
    display: inline-flex; /* Keeps icon and text aligned */
    align-items: center; /* Vertically centers icon and text */
    gap: 0.6rem; /* Space between icon and text */
    text-decoration: none;
    font-size: 1rem; /* Standard font size for better readability */
    border-radius: 5px; /* Apply consistent rounded corners */
    cursor: pointer; /* Explicitly show it's clickable */
    user-select: none; /* Prevent text selection on click */
}

/* --- Primary Button --- */
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    box-shadow: var(--shadow); /* Apply standard shadow */
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--secondary), var(--accent)); /* Transition to accent color */
    transform: translateY(-4px) scale(1.02); /* More noticeable lift and slight scale */
    color: var(--white); /* Ensure text remains white */
                box-shadow: 0 15px 40px rgba(80, 191, 246, 0.6);

}

/* --- Outline Button (Using Primary Theme Color) --- */
.btn-outline-primary { /* Renamed to explicitly use primary theme color */
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
    box-shadow: none; /* No shadow by default for outline */
}

.btn-outline-primary:hover {
    background: var(--primary); /* Fill with primary color on hover */
    color: var(--white);
    box-shadow: var(--shadow); /* Add shadow on hover */
    transform: translateY(-2px); /* Slight lift on hover */
}

/* --- Info Button (Example - using your specific info gradient) --- */
.btn-info {
    background: linear-gradient(135deg, #17a2b8, #20c997); /* Your existing info gradient */
    color: var(--white);
    box-shadow: var(--shadow); /* Apply standard shadow */
}

.btn-info:hover {
    background: linear-gradient(135deg, #20c997, #17a2b8); /* Reverse gradient on hover */
    transform: translateY(-4px) scale(1.02); /* More noticeable lift and slight scale */
    box-shadow: var(--shadow-lg); /* Larger shadow on hover */
    color: var(--white);
}

/* --- Shine Effect for All Buttons --- */
.btn::before {
    content: '';
    position: absolute;
    top: 0;
    right: -100%; /* Start from outside the button on the right (for RTL) */
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: right 0.7s ease-in-out; /* Slower, smoother shine transition */
    z-index: -1; /* Place behind the button's content */
}

.btn:hover::before {
    right: 100%; /* Move the shine to outside the button on the left (for RTL) */
}





        /* Header */
        .header {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(20px);
            border-bottom: 1px solid rgba(0, 0, 0, 0.05); /* Lighter border */
            z-index: 1000;
            transition: var(--transition-medium);
        }

        .header.scrolled {
            background: rgba(255, 255, 255, 0.98);
            box-shadow: var(--shadow-lg);
            border-bottom: none; /* Remove border when scrolled to avoid double line with shadow */
        }

        .header .container {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 1rem 0;
        }

        /* Brand */
        .brand {
            display: flex;
            align-items: center;
            font-size: 1.5rem;
            font-weight: 800;
            color: var(--primary);
            text-decoration: none;
            transition: var(--transition-fast);
        }

        .brand:hover {
            color: var(--primary);
            transform: scale(1.02); /* Slightly less aggressive scale */
        }

        .brand img {
            width: 65px;
            height: auto;
        }

        /* Navigation */
        .nav-desktop {
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .nav-item {
            position: relative;
                white-space: nowrap;

        }

        .nav-link {
            color: var(--gray-800);
            text-decoration: none;
            font-weight: 500;
            padding: 9px 5px; /* Increased padding */
            border-radius: 0.75rem; /* Slightly larger border-radius */
            transition: var(--transition-fast);
            display: flex;
            align-items: center;
            gap: 0.35rem; /* Adjusted gap */
        }

        .nav-link i {
            font-size: 0.8em; /* Smaller chevron */
            transition: transform var(--transition-fast);
        }

        .nav-link:hover,
        .nav-item:hover > .nav-link {
            color: var(--primary);
            background: rgba(34, 44, 149, 0.08); /* Lighter hover background */
        }

        .nav-item:hover > .nav-link .fas.fa-chevron-down {
            transform: rotate(180deg); /* Rotate arrow when menu is open */
        }

        /* Mega Menu */
        .mega-menu {
            position: absolute;
            top: 100%;
            left: -5%;
            transform: translateX(-50%) translateY(10px); /* Initial slightly lower position */
            background: var(--white);
            border-radius: 1rem;
            box-shadow: var(--shadow-xl);
            padding: 2rem;
            min-width: 900px; /* Wider menu */
            opacity: 0;
            visibility: hidden;
            transition: opacity var(--transition-medium), transform var(--transition-medium); /* Smooth transition for both */
            border: 1px solid var(--gray-200); /* Subtle border */
            pointer-events: none; /* Allow mouse to pass through when hidden */
        }

        .nav-item:hover .mega-menu {
            opacity: 1;
            visibility: visible;
            transform: translateX(-50%) translateY(0); /* Move up to final position */
            pointer-events: auto; /* Enable interaction when visible */
        }

        .mega-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 2.5rem; /* Increased gap for more breathing room */
        }

        .mega-section h6 {
            color: var(--primary);
            font-weight: 700;
            margin-bottom: 1.2rem; /* More space below heading */
            font-size: 1.15rem; /* Slightly larger heading */
            padding-bottom: 0.5rem;
            border-bottom: 1px solid var(--gray-200); /* Separator under heading */
        }

        .mega-item {
            display: flex;
            align-items: flex-start; /* Align icon and text to top */
            gap: 0.85rem; /* Adjusted gap */
            padding: 0.8rem; /* Increased padding */
            border-radius: 0.75rem; /* Consistent border-radius */
            text-decoration: none;
            color: var(--gray-800);
            transition: var(--transition-fast);
            margin-bottom: 0.6rem; /* Space between items */
            position: relative;
            overflow: hidden; /* For subtle hover effect */
        }

        .mega-item::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%; /* Start off-screen to the left */
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, rgba(34, 44, 149, 0.05), rgba(67, 97, 238, 0.05)); /* Lighter gradient */
            transition: left var(--transition-fast);
            z-index: 0;
            border-radius: 0.75rem;
        }

        .mega-item:hover::before {
            left: 0; /* Slide in from the left */
        }

        .mega-item:hover {
            color: var(--primary);
            transform: none; /* Remove transform from previous version for new effect */
        }

        .mega-item .icon {
            flex-shrink: 0; /* Prevent icon from shrinking */
            width: 45px; /* Slightly larger icon container */
            height: 45px; /* Slightly larger icon container */
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            color: var(--white);
            border-radius: 0.6rem; /* Adjusted border-radius */
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.25rem; /* Larger icon */
            box-shadow: var(--shadow); /* Subtle shadow for icons */
            transition: var(--transition-fast);
            z-index: 1; /* Keep icon above pseudo-element */
        }

        .mega-item:hover .icon {
            transform: scale(1.05); /* Pop effect on icon hover */
        }

        .mega-item-content {
            position: relative; /* Ensure content is above pseudo-element */
            z-index: 1;
        }

        .mega-item-content h6 {
            margin: 0;
            font-size: 1rem; /* Slightly larger item title */
            font-weight: 600;
            color: var(--gray-800); /* Default color for title */
            transition: color var(--transition-fast);
            padding-bottom: 0; /* Remove extra padding inherited from mega-section h6 */
            border-bottom: none; /* Remove border inherited from mega-section h6 */
        }

        .mega-item:hover .mega-item-content h6 {
            color: var(--primary); /* Title color changes on hover */
        }

        .mega-item-content p {
            margin: 0;
            font-size: 0.85rem; /* Slightly larger description */
            color: var(--gray-600);
            line-height: 1.4;
            transition: color var(--transition-fast);
        }

        .mega-item:hover .mega-item-content p {
            color: var(--secondary); /* Description color changes on hover */
        }

        /* Highlight item in Mega Menu (like "ابدأ مشروعك معنا") */
        .mega-item.highlight-item {
            background: linear-gradient(135deg, var(--accent), var(--secondary)); /* More vibrant background */
            color: var(--white);
            margin-top: 1.5rem; /* More space above it */
            box-shadow: var(--shadow-lg); /* Prominent shadow */
            padding: 1rem;
        }

        .mega-item.highlight-item:hover {
            transform: translateY(-3px); /* Lift effect on hover */
            box-shadow: var(--shadow-xl);
        }

        .mega-item.highlight-item .icon {
            background: var(--white); /* White icon background */
            color: var(--accent); /* Accent color for icon */
        }

        .mega-item.highlight-item .mega-item-content h6,
        .mega-item.highlight-item .mega-item-content p {
            color: var(--white); /* White text for highlight item */
        }

        .mega-item.highlight-item:hover .mega-item-content h6,
        .mega-item.highlight-item:hover .mega-item-content p {
            color: var(--gray-100); /* Slightly darker white on hover */
        }

        /* Controls */
        .controls {
            display: flex;
            align-items: center;
            gap: 1rem;
        }



        /* Language Dropdown */
        .lang-dropdown .dropdown-menu {
            border: none;
            border-radius: 0.75rem;
            box-shadow: var(--shadow);
            padding: 0.5rem;
            min-width: 150px;
        }

        .lang-dropdown .dropdown-item {
            border-radius: 0.5rem;
            padding: 0.5rem 1rem;
            transition: var(--transition-fast);
        }

        .lang-dropdown .dropdown-item:hover {
            background: var(--primary);
            color: var(--white);
        }

 /* ========== Mobile Toggle (Hamburger) ========== */
.mobile-toggle {
    display: none;
    color: var(--primary);
    border: none;
    background: transparent;
    padding: 8px 14px;
    font-size: 2.1em;
    cursor: pointer;
    box-shadow: var(--shadow-btn);
    transition: var(--transition-fast), box-shadow 0.3s;
    outline: none;
}
.mobile-toggle:focus {
    box-shadow: 0 0 0 2px var(--primary);
}
.mobile-toggle:hover {
    transform: translateY(-2px) scale(1.07);
    box-shadow: var(--shadow-btn-hover);
    background: rgba(34, 44, 149, 0.07);
}

/* ========== Offcanvas Panel ========== */
.offcanvas {
    --bs-offcanvas-width: 320px;
    transition: transform var(--transition-medium) cubic-bezier(0.4,0,0.2,1);
    background: var(--white);
    border-radius: 18px 0 0 18px;
    box-shadow: var(--shadow-xl);
    min-height: 100vh;
}

@media (max-width: 375px) {
    .offcanvas { --bs-offcanvas-width: 95vw; }
}

/* ========== Offcanvas Header ========== */
.offcanvas-header {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    border-bottom: 1px solid rgba(255,255,255,0.12);
    padding: 1.1rem 1.5rem 1rem 1.5rem;
    display: flex;
    align-items: center;
    min-height: 60px;
}
.offcanvas-title {
    font-weight: 800;
    font-size: 1.3rem;
    letter-spacing: .2px;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.offcanvas-header img {
    height: 35px;
    margin-{{ app()->getLocale() == 'ar' ? 'left' : 'right' }}: 8px;
}
.btn-close {
    filter: invert(1);
    opacity: 0.8;
    border-radius: 50%;
    padding: 0.5rem;
    transition: opacity var(--transition-fast), background 0.2s;
    background: transparent;
}
.btn-close:hover, .btn-close:focus {
    opacity: 1;
    background: rgba(255,255,255,0.18);
    box-shadow: 0 1px 7px rgba(50,50,110,.10);
}

/* ========== Mobile Nav List ========== */
.mobile-nav {
    padding: 1.1rem 0 0 0;
}
.mobile-nav-item {
    margin-bottom: 0.3rem;
}

/* Main Nav Link (Parent) */
.mobile-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.95rem 1.5rem;
    color: var(--gray-800);
    background: transparent;
    text-decoration: none;
    border-radius: 0.7rem;
    font-weight: 600;
    font-size: 1.08rem;
    transition: var(--transition-fast);
    box-shadow: none;
    position: relative;
}
.mobile-nav-link i:first-child {
    font-size: 1.25em;
    margin-inline-end: 10px;
    opacity: .85;
}
.mobile-nav-link .fa-chevron-down {
    font-size: .85em;
    margin-inline-start: 8px;
    transition: transform .24s;
}
.mobile-nav-link[aria-expanded="true"] .fa-chevron-down,
.mobile-nav-link.active .fa-chevron-down {
    transform: rotate(180deg);
}
.mobile-nav-link:hover,
.mobile-nav-link:focus {
    background: rgba(67, 97, 238, 0.08);
    color: var(--primary);
}

/* Submenu (Dropdown) */
.mobile-submenu {
    padding-inline-start: 1.2rem;
    margin-top: 0.2rem;
    border-inline-start: 2px solid rgba(67,97,238,0.12);
    border-radius: 0 0 0.8rem 0.8rem;
    background: rgba(67,97,238,0.03);
}

/* Submenu Link */
.mobile-submenu-item {
    display: block;
    color: var(--gray-600);
    padding: 0.58rem 1.2rem;
    border-radius: 0.5rem;
    text-decoration: none;
    margin-bottom: 0.15rem;
    font-size: 1rem;
    transition: var(--transition-fast);
    font-weight: 500;
    position: relative;
}
.mobile-submenu-item:before {
    content: '';
    display: inline-block;
    width: 0.38em;
    height: 0.38em;
    border-radius: 50%;
    background: var(--secondary);
    opacity: 0.14;
    margin-inline-end: 8px;
    vertical-align: middle;
}
.mobile-submenu-item:hover, .mobile-submenu-item:focus {
    background: rgba(34, 44, 149, 0.12);
    color: var(--primary);
    font-weight: 600;
}

/* ========== Controls/Footer ========== */
.mobile-controls {
    padding: 1.15rem 1.1rem 1.5rem 1.1rem;
    border-top: 1px solid var(--gray-200);
    background: var(--white);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    box-shadow: 0 -1px 16px rgba(60,60,90,0.03);
    position: sticky;
    bottom: 0;
    z-index: 9;
}
.mobile-controls .btn {
    width: 100%;
    font-size: 1.07rem;
    border-radius: 0.7rem;
    font-weight: 600;
}
.mobile-controls .btn-info i,
.mobile-controls .btn-primary i {
    font-size: 1.15em;
    margin-inline-end: 8px;
}




        /* Responsive */
        @media (min-width: 992px) {
            .nav-desktop {
                gap: 0.8rem;
            }

            .nav-link {
                padding: 7px 4px;
                font-size: 0.8rem;
                border-radius: 0.6rem;
            }

            .nav-link i {
                font-size: 0.64em;
            }

            .mega-menu {
                min-width: 720px;
                padding: 1.6rem;
            }

            .mega-grid {
                gap: 2rem;
            }

            .mega-section h6 {
                font-size: 0.92rem;
                margin-bottom: 0.96rem;
                padding-bottom: 0.4rem;
            }

            .mega-item {
                gap: 0.68rem;
                padding: 0.64rem;
                margin-bottom: 0.48rem;
                border-radius: 0.6rem;
            }

            .mega-item .icon {
                width: 36px;
                height: 36px;
                font-size: 1rem;
                border-radius: 0.48rem;
            }

            .mega-item-content h6 {
                font-size: 0.8rem;
            }

            .mega-item-content p {
                font-size: 0.68rem;
            }

            .mega-item.highlight-item {
                margin-top: 1.2rem;
                padding: 0.8rem;
            }
        }

        @media (max-width: 991px) {
            .nav-desktop { display: none; }
            .mobile-toggle { display: block; }

            .mega-menu {
                /* On small screens, mega menu acts more like a regular dropdown */
                position: relative; /* Change to relative for better flow */
                top: auto;
                left: auto;
                transform: none; /* Remove transform */
                min-width: unset; /* Remove min-width constraint */
                padding: 1.5rem; /* Slightly less padding */
                border-radius: 0; /* No border-radius */
                box-shadow: none; /* No shadow */
                border: none; /* No border */
                margin-top: 1rem; /* Space from parent link */
                opacity: 1; /* Always visible when active for mobile (controlled by JS toggle) */
                visibility: visible;
                pointer-events: auto;
                display: none; /* Hidden by default, shown by JS */
            }

            .nav-item.active .mega-menu { /* Assuming you'll add an 'active' class via JS for open menu */
                display: block;
            }

            .mega-grid {
                grid-template-columns: 1fr; /* Single column layout for mobile */
                gap: 1.5rem; /* Adjusted gap */
            }

            .mega-section h6 {
                font-size: 1.05rem; /* Smaller heading for mobile */
                margin-bottom: 0.8rem;
                padding-bottom: 0.3rem;
            }

            .mega-item {
                padding: 0.6rem;
                margin-bottom: 0.4rem;
            }

            .mega-item .icon {
                width: 40px;
                height: 40px;
                font-size: 1.1rem;
            }

            .mega-item-content h6 {
                font-size: 0.9rem;
            }

            .mega-item-content p {
                font-size: 0.75rem;
            }
        }

        @media (max-width: 576px) {
            .controls {
                gap: 0.5rem;
            }

            .btn {
                padding: 0.4rem 0.8rem;
                font-size: 0.85rem;
            }

            .brand {
                font-size: 1.25rem;
            }
        }

        /* Loading Animation */
        .loading-overlay {
            position: fixed;
            inset: 0;
            background:
                radial-gradient(circle at 20% 20%, rgba(255,255,255,0.12), transparent 55%),
                radial-gradient(circle at 80% 0%, rgba(6,255,165,0.25), transparent 45%),
                linear-gradient(135deg, #03045e 0%, #222c95 55%, #4361ee 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 9999;
            opacity: 1;
            transition: opacity 0.6s ease-out;
        }

        .loading-overlay.hidden {
            opacity: 0;
            pointer-events: none;
        }

        .preloader-logo {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 1.5rem;
            color: #f8fbff;
            text-align: center;
        }

        .logo-stack {
            position: relative;
            width: min(320px, 70vw);
            height: min(320px, 70vw);
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .logo-circle {
            position: absolute;
            inset: 0;
            border-radius: 32%;
            border: 4px solid rgba(255,255,255,0.25);
            opacity: 0;
            animation: pulseCircle 2.2s ease infinite;
            pointer-events: none;
        }

        .logo-circle:nth-child(1) { animation-delay: 0s; }
        .logo-circle:nth-child(2) {
            inset: 12px;
            border-color: rgba(6,255,165,0.45);
            animation-delay: 0.3s;
        }
        .logo-circle:nth-child(3) {
            inset: 24px;
            border-color: rgba(255,255,255,0.4);
            animation-delay: 0.6s;
        }

        .logo-particles {
            position: absolute;
            inset: 0;
            pointer-events: none;
        }

        .logo-particles span {
            position: absolute;
            width: 6px;
            height: 6px;
            border-radius: 50%;
            background: #06ffa5;
            box-shadow: 0 0 12px rgba(6,255,165,0.6);
            animation: particleDrift 2.4s ease-in-out infinite;
        }

        .logo-final {
            position: relative;
            z-index: 5;
            width: 70%;
            height: auto;
            filter: drop-shadow(0 20px 45px rgba(3,4,94,0.4));
            opacity: 0;
            transform: scale(0.85) rotate(-2deg);
            animation: revealLogo 1.2s ease forwards 1.5s;
        }

        .logo-final::after {
            content: '';
            position: absolute;
            inset: 0;
            background: radial-gradient(circle at center, rgba(255,255,255,0.45), transparent 60%);
            transform: scale(1.1);
            opacity: 0;
            animation: logoGlow 1.4s ease forwards 1.6s;
            pointer-events: none;
        }

        .logo-caption {
            font-weight: 600;
            letter-spacing: 0.05em;
            text-transform: uppercase;
            font-size: 0.85rem;
            color: rgba(255,255,255,0.85);
        }

        @keyframes pulseCircle {
            0% { transform: scale(0.85); opacity: 0; }
            40% { opacity: 0.8; }
            100% { transform: scale(1.1); opacity: 0; }
        }

        @keyframes particleDrift {
            0% { transform: translate(0, 0) scale(0.8); opacity: 0; }
            25% { opacity: 1; }
            100% { transform: translate(var(--tx), var(--ty)) scale(1.2); opacity: 0; }
        }

        @keyframes revealLogo {
            0% { opacity: 0; transform: scale(0.85) rotate(-2deg); }
            60% { opacity: 1; transform: scale(1.05) rotate(1deg); }
            100% { opacity: 1; transform: scale(1) rotate(0deg); }
        }

        @keyframes logoGlow {
            from { opacity: 0; }
            40% { opacity: 0.6; }
            to { opacity: 0; }
        }

        nav .pagination {
            display: inline-flex !important;
            flex-wrap: wrap !important;
            gap: 0.65rem !important;
            padding: 0.65rem 0.85rem !important;
            margin: 1.5rem 0 0 !important;
            list-style: none !important;
            justify-content: center !important;
            align-items: center !important;
            background: #f8fafc !important;
            border-radius: 1.75rem !important;
            box-shadow: 0 14px 40px rgba(15, 23, 42, 0.08) !important;
            border: 1px solid rgba(15, 23, 42, 0.08) !important;
        }

        nav .pagination .page-item {
            display: inline-flex !important;
        }

        nav .pagination .page-link {
            display: inline-flex !important;
            align-items: center !important;
            justify-content: center !important;
            min-width: 46px !important;
            height: 46px !important;
            padding: 0 1.1rem !important;
            border-radius: 999px !important;
            border: 1px solid rgba(15, 23, 42, 0.12) !important;
            color: var(--primary) !important;
            background: #fff !important;
            font-weight: 600 !important;
            text-transform: none !important;
            transition: var(--transition-fast) !important;
            text-decoration: none !important;
            box-shadow: inset 0 0 0 rgba(0, 0, 0, 0) !important;
        }

        nav .pagination .page-item.active .page-link {
            color: #fff !important;
            background: linear-gradient(135deg, var(--primary), var(--secondary)) !important;
            border-color: transparent !important;
            box-shadow: 0 18px 40px rgba(34, 44, 149, 0.22) !important;
        }

        nav .pagination .page-item.disabled .page-link,
        nav .pagination .page-link:disabled {
            color: rgba(71, 85, 105, 0.65) !important;
            background: #eef2ff !important;
            border-color: rgba(15, 23, 42, 0.08) !important;
            cursor: not-allowed !important;
        }

        nav .pagination .page-item:not(.disabled) .page-link:hover,
        nav .pagination .page-item:not(.disabled) .page-link:focus {
            color: var(--secondary) !important;
            background: rgba(67, 97, 238, 0.12) !important;
            border-color: rgba(67, 97, 238, 0.25) !important;
            outline: none !important;
            box-shadow: 0 12px 24px rgba(67, 97, 238, 0.12) !important;
        }

        nav .pagination .page-link:focus-visible {
            outline: 2px solid rgba(67, 97, 238, 0.28) !important;
            outline-offset: 3px !important;
        }

        @media (max-width: 576px) {
            .pagination {
                justify-content: center;
                width: 100%;
                padding: 0.5rem;
            }

            .pagination .page-item {
                flex: 1 1 auto;
            }

            .pagination .page-link {
                min-width: 38px;
                padding: 0 0.85rem;
            }
        }

        @media (prefers-reduced-motion: reduce) {
            .loading-overlay,
            .loading-overlay * {
                animation-duration: 0.01ms !important;
                animation-iteration-count: 1 !important;
                transition-duration: 0.01ms !important;
            }
        }

/* Extracted from welcome.blade.php */
/* MARKETING CONTENT */
    .marketing .col-lg-4 {
        margin-bottom: 1.5rem;
        text-align: center;
    }

    .marketing h2 {
        font-weight: 600; /* Slightly bolder for headings */
        color: var(--dark-bg-color);
    }

    .marketing .col-lg-4 p {
        margin-right: .75rem;
        margin-left: .75rem;
        color: var(--secondary-color);
    }

    /* Featurettes */
    .featurette-divider {
        margin: 5rem 0;
        border-color: rgba(0, 0, 0, 0.1); /* Lighter divider */
    }

    .featurette-heading {
        font-weight: 700; /* Bolder heading */
        line-height: 1.2;
        letter-spacing: -.03rem; /* Slightly less negative for better readability */
        color: var(--dark-bg-color);
    }

    .featurette-heading .text-muted {
        color: var(--secondary-color) !important;
    }

    /* RESPONSIVE CSS */
    @media (min-width: 40em) {
        .carousel-caption p {
            margin-bottom: 1.25rem;
            font-size: 1.35rem; /* Slightly larger for better impact */
            line-height: 1.5;
        }

        .featurette-heading {
            font-size: 48px; /* Adjusted slightly */
        }
    }

    @media (min-width: 62em) {
        .featurette-heading {
            margin-top: 7rem;
        }
    }


    /* Card horizontal layout for service icons */
    .card-horizontal {
        display: flex;
        flex: 1 1 auto;
        align-items: center; /* Vertically align items */
        padding: 0.75rem; /* Add some padding */
    }

    .card-horizontal .card-body {
        padding-left: 0.5rem; /* Adjust padding next to image */
    }

    .card-horizontal .card-title {
        font-weight: 600;
        color: var(--dark-bg-color);
    }

    .card-horizontal .card-text {
        font-size: 0.9rem;
        color: var(--secondary-color);
    }

    .img-square-wrapper {
        width: 80px; /* Slightly smaller icon size */
        height: 80px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0; /* Prevent shrinking */
    }

    .img-square-wrapper img {
        height: 60px; /* Actual image size */
        width: 60px;
        object-fit: contain;
    }

    .card.h-100 {
        border: 1px solid var(--border-color);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .card.h-100:hover {
        transform: translateY(-5px);
        box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    }

    /* Client logos slider */
    .customer-logos {
        display: flex;
        animation: slide 30s infinite linear; /* Slower animation */
        padding: 1rem 0; /* Add vertical padding */
    }

    .marquee-container {
        overflow: hidden;
        white-space: nowrap;
        position: relative;
        width: 100%;
        padding: 1rem 0;
        mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
        -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    }

    .marquee-track {
        display: inline-flex;
        align-items: center;
        animation: marqueeScroll 30s linear infinite;
        width: max-content;
    }

    .marquee-track:hover {
        animation-play-state: paused;
    }

    .marquee-item {
        flex: 0 0 auto;
        margin-right: 60px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .marquee-item img {
        height: 70px;
        width: auto;
        filter: grayscale(100%);
        opacity: 0.6;
        transition: all 0.3s ease;
    }

    .marquee-item img:hover {
        filter: grayscale(0%);
        opacity: 1;
        transform: scale(1.05);
    }

    @keyframes marqueeScroll {
        0% { transform: translateX(0); }
        100% { transform: translateX(calc(-50%)); }
    }

 .breaking-news-wrapper {
    white-space: nowrap;
    overflow: hidden;
    background-color: var(--gray-800);
    padding: 0.5rem 0;
    border-radius: 0.375rem;
    position: relative;
}

.breaking-news-track {
    display: inline-block;
    padding-left: 100%;
    animation: scroll-left 30s linear infinite;
}

@keyframes scroll-left {
    0%   { transform: translateX(0%); }
    100% { transform: translateX(-100%); }
}

.breaking-news-wrapper:hover .breaking-news-track {
    animation-play-state: paused;
}

.news-item {
    display: inline-block;
    margin-right: 2rem;
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-medium);
}

.news-item:hover {
    color: var(--success);
    text-shadow: 0 0 4px var(--primary);
}

.news-item .badge {
    background-color: var(--primary) !important;
    font-weight: bold;
    font-size: 0.75rem;
}



    /* Domain check section */
    .input-group-lg .form-control {
        border-radius: 0.5rem 0 0 0.5rem;
    }



    /* Blog cards */
    .card.shadow-sm {
        border: none; /* Remove default card border */
        border-radius: 0.5rem;
        overflow: hidden;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .card.shadow-sm:hover {
        transform: translateY(-8px); /* More pronounced lift */
        box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important; /* Stronger shadow */
    }

    .card-img-top {
        border-top-left-radius: 0.5rem;
        border-top-right-radius: 0.5rem;
    }

    .card-body h5 {
        color: var(--dark-bg-color);
        font-weight: 600;
        margin-bottom: 0.75rem;
    }

    .card-body p {
        color: var(--secondary-color);
    }

    .card-footer {
        background-color: rgba(0, 0, 0, 0.03); /* Slightly grey footer */
        border-top: 1px solid var(--border-color);
    }

    .card-footer small {
        color: var(--secondary-color) !important;
    }

    .card-footer i {
        color: var(--primary-color);
    }

    /* Video Embed Responsiveness */
    .ratio-16x9 iframe {
        border-radius: 0.5rem; /* Rounded corners for the iframe */
        box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    }

    /* Glassmorphism Cards */
    .glass-card {
        background: rgba(255, 255, 255, 0.7);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.3) !important;
        box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.05);
        transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
    }
    .glass-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 45px 0 rgba(31, 38, 135, 0.15);
        background: rgba(255, 255, 255, 0.9);
    }
    .blur-blob {
        filter: blur(80px);
        z-index: 0;
    }

    /* Reveal on Scroll */
    .reveal-on-scroll-hidden {
        opacity: 0;
        transform: translateY(40px);
        transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
    }
    .reveal-on-scroll-hidden.visible {
        opacity: 1;
        transform: translateY(0);
    }

    /* Lead Magnet Section */
    .lead-magnet-section {
        background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    }

* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Tajawal', sans-serif;
            overflow-x: hidden;
        }


        /* Main Slider Container */
        .hero-slider {
            position: relative;
            width: 100%;
            height: 100vh;
            min-height: 500px;
            overflow: hidden;
        }

        .swiper {
            width: 100%;
            height: 100%;
        }

        .swiper-slide {
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        }

        /* Background Image */
        .slide-background {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            filter: brightness(0.4);
            transform: scale(1);
            transition: transform 8s ease-out;
        }

        .swiper-slide-active .slide-background {
            transform: scale(1.1);
        }

        /* Overlay */
        .slide-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(
                45deg,
                rgba(26, 34, 126, 0.32) 0%,
                rgba(63, 81, 181, 0.27) 50%,
                rgba(124, 25, 112, 0.28) 100%
            );
            z-index: 1;
        }

        /* Content Container */
        .slide-content {
            position: relative;
            z-index: 2;
            text-align: center;
            color: var(--text-white);
            max-width: 900px;
            padding: 2rem;
            /* NO blur/glass effect — let cinematic overlay handle aesthetics */
            background: transparent;
            border: none;
            box-shadow: none;
            transform: translateY(50px);
            opacity: 0;
            transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .swiper-slide-active .slide-content {
            transform: translateY(0);
            opacity: 1;
        }

        /* Typography */
        .slide-title {
            font-size: clamp(2rem, 5vw, 4rem);
            font-weight: 900;
            margin-bottom: 1.5rem;
            line-height: 1.2;
            text-shadow: 2px 2px 20px rgba(0, 0, 0, 0.8);
            background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            animation: slideUp 1s ease-out 0.3s both;
        }

        .slide-description {
            font-size: clamp(1rem, 2.5vw, 1.4rem);
            line-height: 1.6;
            margin-bottom: 2.5rem;
            opacity: 0.95;
            text-shadow: 2px 2px 20px rgba(0, 0, 0, 0.8);
            background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        /* Button Styles */
        .slide-btn {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            padding: 1rem 2.5rem;
            background: linear-gradient(135deg, var(--accent) 0%, #222c95 100%);
            color: white;
            text-decoration: none;
            border-radius: 5px;
            font-weight: 700;
            font-size: clamp(0.9rem, 2vw, 1.1rem);
            box-shadow: 0 10px 30px rgba(255, 107, 53, 0.4);
            transition: var(--transition);
            position: relative;
            overflow: hidden;
            animation: slideUp 1s ease-out 0.9s both;
        }

        .slide-btn:before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
            transition: left 0.5s;
        }

        .slide-btn:hover {
            transform: translateY(-3px) scale(1.05);
            box-shadow: 0 15px 40px rgba(80, 191, 246, 0.6);
        }

        .slide-btn:hover:before {
            left: 100%;
        }






        /* Navigation Buttons */
        .swiper-button-next,
        .swiper-button-prev {
            width: 60px;
            height: 60px;
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            border-radius: 5px;
            border: 1px solid rgba(255, 255, 255, 0.2);
            color: white;
            transition: var(--transition);
        }

        .swiper-button-next:after,
        .swiper-button-prev:after {
            font-size: 20px;
            font-weight: 900;
        }

        .swiper-button-next:hover,
        .swiper-button-prev:hover {
            background: rgba(255, 255, 255, 0.2);
            transform: scale(1.1);
        }

        /* Pagination */
        .swiper-pagination-bullet {
            width: 12px;
            height: 12px;
            background: rgba(255, 255, 255, 0.5);
            opacity: 1;
            margin: 0 6px;
            transition: var(--transition);
        }

        .swiper-pagination-bullet-active {
            background: var(--accent);
            transform: scale(1.5);
            box-shadow: 0 0 20px rgba(255, 107, 53, 0.8);
        }

        /* Animations */
        @keyframes slideUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Responsive Design */
        @media (max-width: 1024px) {
            .hero-slider {
                height: 80vh;
                min-height: 450px;
            }

            .slide-content {
                max-width: 700px;
                padding: 1.5rem;
            }
        }

        @media (max-width: 768px) {
            .hero-slider {
                height: 70vh;
                min-height: 400px;
            }

            .slide-content {
                max-width: 90%;
                padding: 1.5rem;
            }

            .slide-title {
                margin-bottom: 1rem;
            }

            .slide-description {
                margin-bottom: 1.5rem;
            }

            .swiper-button-next,
            .swiper-button-prev {
                width: 45px;
                height: 45px;
            }

            .swiper-button-next:after,
            .swiper-button-prev:after {
                font-size: 16px;
            }
        }

        @media (max-width: 480px) {
            .hero-slider {
                height: 60vh;
                min-height: 350px;
            }

            .slide-content {
                padding: 1rem;
            }

            .slide-btn {
                padding: 0.8rem 2rem;
            }

            .swiper-button-next,
            .swiper-button-prev {
                display: none;
            }

            .swiper-pagination {
                bottom: 20px;
            }
        }

.section-title {
            background: linear-gradient(45deg,rgb(21, 21, 110),rgb(19, 64, 132),rgb(25, 155, 185),rgba(19, 24, 53, 0.42));
            background-size: 300% 300%;
            animation: gradientShift 4s ease infinite;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            font-size: 3.5rem;
            font-weight: 900;
            text-align: center;
            margin: 1rem;
            text-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
        }

        .section-subtitle {
            text-align: center;
            font-size: 1.3rem;
            font-weight: 300;
            margin-bottom: 3rem;
            animation: fadeInUp 1s ease-out 0.5s both;
        }

        @keyframes gradientShift {
            0%, 100% { background-position: 0% 50%; }
            50% { background-position: 100% 50%; }
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes float {
            0%, 100% { transform: translateY(0px); }
            50% { transform: translateY(-10px); }
        }

        @keyframes pulse {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.05); }
        }

        @keyframes rotateY {
            from { transform: rotateY(0deg); }
            to { transform: rotateY(360deg); }
        }

       /* --- الأنماط الأساسية موجودة كما هي، لن نكررها هنا --- */

/* @keyframes gradientShift, @keyframes fadeInUp, @keyframes float, @keyframes pulse, @keyframes rotateY موجودة كما هي */
/* @keyframes floatShapes و CSS الجسيمات موجودة كما هي */

/* --- Service Card Enhancements --- */
.service-card-h {
    position: relative;
    height: 350px;
    border-radius: 25px;
    overflow: hidden;
    cursor: pointer;
    /* transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1);  -> هنحذف ده عشان الـ transform هيتم بالـ JS بشكل أفضل */
    transform-style: preserve-3d;
    perspective: 1000px;
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease-out both;
    /* إضافة حدود أنيقة للكارد */
    border: 2px solid transparent; /* لجعل الحدود شفافة في البداية */
    background-color: rgba(255, 255, 255, 0.05); /* خلفية خفيفة للكارد */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* لا نحتاج لـ .service-card::before بعد الآن */
/* .service-card::before { ... } يتم حذفه */

.service-card-h:hover {
    /* الـ transform سيتم التحكم فيه بواسطة JavaScript بالكامل الآن، لذا نحذف الأنماط المتعلقة به من الـ CSS */
    /* transform: translateY(-20px) rotateX(5deg) rotateY(5deg); */
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4); /* ظل أقوى عند التحويم */
    /* animation: float 2s ease-in-out infinite; */ /* نعتمد على الـ JS للتحكم في الـ transform */
    border-color: rgba(255, 255, 255, 0.5); /* إظهار حدود بيضاء خفيفة عند التحويم */
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.8s cubic-bezier(0.23, 1, 0.320, 1);
    filter: brightness(0.7) saturate(1.2);
    /* تأكد أن الصورة لا تتأثر بالـ pointer-events عشان الـ mousemove يشتغل على الكارد كلها */
    pointer-events: none;
}

.service-card-h:hover .card-image {
    transform: scale(1.2) rotate(3deg);
    filter: brightness(0.9) saturate(1.5) blur(2px); /* Brightness أقل عشان الأوفرلاي يظهر أحسن */
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* Gradient Overlay (اللون الأسود الشفاف في البداية) */
    background: linear-gradient(135deg,
        rgba(0, 0, 0, 0.4) 0%,
        rgba(0, 0, 0, 0.6) 100%);
    opacity: 1; /* الأوفرلاي ظاهر دائمًا */
    transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2; /* تأكد إنه فوق الصورة وتحت المحتوى */

    /* هذا هو التغيير الرئيسي: اللون الشفاف اللي هيظهر عند الهوفر */
    /* هنضيفه كـ background-image ثاني وهنستخدم background-blend-mode */
    background-image: linear-gradient(45deg,
        rgba(255, 107, 107, 0) 0%,  /* Start fully transparent */
        rgba(78, 205, 196, 0) 25%,
        rgba(69, 183, 209, 0) 50%,
        rgba(150, 206, 180, 0) 75%,
        rgba(255, 107, 107, 0) 100%);
    background-size: 300% 300%;
    /* الوضع الافتراضي لـ animation gradientShift */
    animation: gradientShift 4s ease infinite; /* ده هيشتغل دايما عشان الـ blend-mode */
    background-position: 0% 50%; /* Initial position for the gradient */
    /* استخدم هذا لمزج الألوان: هذا سيجعل الألوان الشفافة "تضيف" للأسود */
    background-blend-mode: overlay; /* أو screen أو soft-light, جرب وشوف الأنسب */
}

.service-card-h:hover .card-overlay {
    /* عند الهوفر، نغير الـ opacity بتاع الـ background-image الثاني (الـ gradient الملون) */
    /* عشان الـ blend-mode يخليه يظهر */
    background-image: linear-gradient(45deg,
        rgba(76, 114, 212, 0.9) 0%, /* Start fully opaque for hover */
        rgba(48, 56, 171, 0.9) 25%,
        rgba(69, 183, 209, 0.9) 50%,
        rgba(150, 206, 180, 0.9) 75%,
        rgba(43, 66, 107, 0.9) 100%);
    /* animation gradientShift already applied */
}


.card-content {
    text-align: center;
    color: white;
    /* تحكم في الـ transform والـ opacity بواسطة JS فقط أو بتعديل دقيق هنا */
    transform: translateY(0) scale(1); /* Initial state */
    opacity: 1; /* Initial state */
    transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1);
    z-index: 3;
}

.service-card-h:hover .card-content {
    /* نعتمد على الـ JS لتغيير الـ transform للـ content */
    /* transform: translateY(-5px) scale(1.05); */
    opacity: 1;
}

/* --- Glow Effect Update --- */
.glow-effect {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%); /* خليها أفتح شوية */
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: 1; /* تكون تحت الـ overlay عشان ما تغطيش الكلام */
    border-radius: 50%; /* عشان تكون دائرية */
}

.service-card-h:hover .glow-effect {
    opacity: 1;
    animation: rotateY 2s linear infinite, pulse 1.5s ease-in-out infinite; /* إضافة تأثير نبض */
}

        .card-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: all 0.8s cubic-bezier(0.23, 1, 0.320, 1);
            filter: brightness(0.7) saturate(1.2);
        }

        .service-card-h:hover .card-image {
            transform: scale(1.2) rotate(3deg);
            filter: brightness(1.1) saturate(1.5) blur(2px);
        }

        .card-overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg,
                rgba(0, 0, 0, 0.4) 0%,
                rgba(0, 0, 0, 0.6) 100%);
            opacity: 1;
            transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 2;
        }

        .service-card-h:hover .card-overlay {
            background: linear-gradient(135deg,
                rgba(255, 107, 107, 0.9) 0%,
                rgba(78, 205, 197, 0.59) 25%,
                rgba(69, 158, 209, 0.9) 50%,
                rgba(25, 22, 91, 0.79) 75%,
                rgba(0, 152, 222, 0.9) 100%);
            background-size: 300% 300%;
            animation: gradientShift 4s ease infinite;
        }

        .card-content {
            text-align: center;
            color: white;
            transform: translateY(0) scale(1);
            opacity: 1;
            transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1);
            z-index: 3;
        }

        .service-card-h:hover .card-content {
            transform: translateY(-5px) scale(1.05);
            opacity: 1;
        }



        .card-subtitle {
            font-size: 1.1rem;
            font-weight: 400;
            opacity: 0.95;
            margin-bottom: 1.5rem;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
        }

        .card-button {
            background: rgba(255, 255, 255, 0.2);
            border: 2px solid rgba(255, 255, 255, 0.8);
            color: white;
            padding: 12px 30px;
            border-radius: 50px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 1px;
            transition: all 0.3s ease;
        }

        .card-button:hover {
            background: rgba(255, 255, 255, 0.9);
            color: #333;
            transform: scale(1.1);
            box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3);
        }

        .floating-shapes {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            overflow: hidden;
        }

        .shape {
            position: absolute;
            background: linear-gradient(45deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
            border-radius: 50%;
            animation: floatShapes 6s ease-in-out infinite;
        }

        .shape:nth-child(1) {
            width: 100px;
            height: 100px;
            top: 10%;
            left: 10%;
            animation-delay: 0s;
        }

        .shape:nth-child(2) {
            width: 150px;
            height: 150px;
            top: 60%;
            right: 10%;
            animation-delay: 2s;
        }

        .shape:nth-child(3) {
            width: 80px;
            height: 80px;
            bottom: 20%;
            left: 50%;
            animation-delay: 4s;
        }

        @keyframes floatShapes {
            0%, 100% {
                transform: translateY(0px) rotate(0deg);
                opacity: 0.3;
            }
            50% {
                transform: translateY(-20px) rotate(180deg);
                opacity: 0.8;
            }
        }

        .glow-effect {
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
            opacity: 0;
            transition: opacity 0.5s ease;
            pointer-events: none;
        }

        .service-card-h:hover .glow-effect {
            opacity: 1;
            animation: rotateY 2s linear infinite;
        }

        @media (max-width: 768px) {
            .section-title {
                font-size: 2.5rem;
            }

            .service-card-h {
                height: 300px;
                margin-bottom: 1.5rem;
            }

            .card-title {
                font-size: 1.5rem;
            }
        }

.domain-section {
            padding: 80px 0;
            min-height: 400px;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            background-color: #f8f9fa;
            background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%230040ff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
        }

        .domain-box {
            border-radius: 20px;
            box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
            padding: 40px 30px;
            width: 100%;
            max-width: 800px;
            animation: fadeInUp 0.8s ease-out forwards;
        }

        .domain-title {
            font-size: 2.5rem;
            font-weight: 800;
            color: #0d6efd;
            margin-bottom: 1rem;
        }

        .domain-subtitle {
            font-size: 1.2rem;
            color: #6c757d;
            margin-bottom: 2rem;
        }

        .domain-form .form-control {
            padding: 1rem 1.5rem;
            font-size: 1rem;
            text-align: right;
            direction: rtl;
        }

        .domain-form .btn {
            padding: 1rem 1.5rem;
            font-size: 1rem;
            white-space: nowrap;
        }

        /* RTL styles - Arabic */
        html[dir="rtl"] .btn i {
            margin-right: 0.5rem;
            margin-left: 0;
        }

        /* LTR styles - English */
        html[dir="ltr"] .btn i {
            margin-right: 0.5rem;
            margin-left: 0;
        }

        /* RTL button layout */
        html[dir="rtl"] .input-group .btn {
            order: -1;
            border-radius: 0.375rem 0 0 0.375rem;
        }

        html[dir="rtl"] .input-group .form-control {
            border-radius: 0 0.375rem 0.375rem 0;
        }

        /* LTR button layout */
        html[dir="ltr"] .input-group .btn {
            order: 1;
            border-radius: 0 0.375rem 0.375rem 0;
        }

        html[dir="ltr"] .input-group .form-control {
            border-radius: 0.375rem 0 0 0.375rem;
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .domain-form .form-control:focus {
            border-color: var(--primary);
            box-shadow: 0 0 0 0.25rem rgba(0, 152, 222, 0.25);
            outline: none;
        }

/* --- Animated Gradient & CTA Glow --- */
.animated-gradient-bg {
    background: linear-gradient(-45deg, #0098de, #19165b, #459ed1, #23d5ab);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.btn-cta-glow {
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.3s ease;
}

.btn-cta-glow::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0) 100%);
    transform: rotate(45deg);
    animation: ctaShine 3s infinite;
    z-index: -1;
}

@keyframes ctaShine {
    0% { left: -100%; top: -100%; }
    20% { left: 100%; top: 100%; }
    100% { left: 100%; top: 100%; }
}

/* --- Service Card --- */
    .service-card {
        background: var(--white);
        border-radius: var(--radius-md); /* زوايا دائرية للكارد */
        box-shadow: var(--shadow); /* ظل خفيف */
        margin-bottom: 4rem;
        overflow: hidden;
        transition: var(--transition-medium); /* انتقال سلس */
        position: relative;
        opacity: 0;
        transform: translateY(50px); /* يبدأ من أسفل */
    }

    .service-card.visible { /* كلاس يضاف بالـ JS عند الظهور */
        opacity: 1;
        transform: translateY(0);
        transition-delay: 0.2s; /* تأخير بسيط لظهور متتالي */
    }

    .service-card:hover {
        transform: translateY(-12px) scale(1.01); /* رفع وتكبير بسيط */
        box-shadow: var(--shadow-lg); /* ظل أكبر عند التحويم */
    }

    /* --- Service Content (Flexbox for responsiveness) --- */
    .service-content {
        display: flex; /* استخدام فليكس بوكس للتحكم في الترتيب */
        flex-direction: row-reverse; /* المحتوى الأساسي: النص على اليمين والـ media على اليسار في RTL */
        min-height: 400px;
        align-items: center;
    }

    .service-reverse .service-content { /* لتبديل الترتيب في الكارد المعكوس */
        flex-direction: row; /* النص على اليسار والـ media على اليمين في RTL */
    }

    /* --- Service Text --- */
    .service-text {
        padding: 3rem;
        position: relative;
        flex: 1; /* يأخذ المساحة المتاحة */
        z-index: 2; /* تأكد أن النص فوق الـ media لو فيه تداخل */
    }

    /* --- Service Number (أيقونة الرقم الدائرية) --- */
    .service-number {
        position: absolute;
        top: -25px; /* يرتفع قليلاً فوق الكارد */
        right: 30px; /* لليمين في الـ RTL */
        width: 70px; /* حجم أكبر قليلاً */
        height: 70px;
        background: linear-gradient(45deg, var(--primary), var(--secondary)); /* تدرج لوني جذاب */
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--white);
        font-size: 1.8rem; /* حجم خط أكبر */
        font-weight: 900;
        box-shadow: 0 10px 25px rgba(34, 44, 149, 0.4); /* ظل مركز على اللون الأساسي */
        z-index: 3; /* أعلى من الـ floating-icon عشان يكون مميز */
        border: 4px solid var(--white); /* حد أبيض ناعم */
    }

    .service-reverse .service-number { /* لتبديل مكان الرقم في الكارد المعكوس */
        right: auto;
        left: 30px; /* لليسار في الـ RTL */
    }

    /* --- Service Title (العنوان الرئيسي) --- */
    .service-title {
        font-size: 2.8rem; /* حجم أكبر وأكثر تأثيراً */
        font-weight: 900;
        background: linear-gradient(45deg, var(--primary), var(--secondary), var(--accent)); /* تدرج لوني أعمق */
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        margin-bottom: 0.8rem; /* مسافة أقل بين العنوان والعنوان الفرعي */
        margin-top: 2rem; /* مسافة من أعلى */
        line-height: 1.2;
    }

    /* --- Service Subtitle --- */
    .service-subtitle {
        font-size: 1.3rem; /* حجم أكبر */
        color: var(--gray-600); /* لون رمادي مناسب */
        margin-bottom: 1.8rem; /* مسافة مناسبة قبل الوصف */
        font-weight: 600;
    }

    /* --- Service Description --- */
    .service-description {
        color: var(--gray-800); /* لون أغمق للنص الأساسي */
        line-height: 1.9; /* تباعد سطور أفضل للقراءة */
        margin-bottom: 2.5rem; /* مسافة قبل الأزرار */
        font-size: 1.05rem; /* حجم أكبر قليلاً للنص */
    }


    /* --- Service Buttons (تغييرها لتستخدم كلاسات Bootstrap) --- */
    /* إلغاء تعريف .service-btn وتغييرها لكلاسات Bootstrap في الـ HTML */
    /* ملاحظة: الـ HTML اللي تحت بيستخدم service-btn. هتحتاج تغيرها لـ btn btn-primary */
    /* مثلاً: <a href="#" class="btn btn-primary"> */

    .download-btn { /* هذا الكلاس يظل لأن له لون مميز */
        background: linear-gradient(135deg, var(--success), #00d26c); /* تدرج لوني للأخضر */
        box-shadow: var(--shadow-btn); /* ظل موحد */
    }

    .download-btn:hover {
        background: linear-gradient(135deg, #00d26c, var(--success)); /* عكس التدرج */
        box-shadow: var(--shadow-btn-hover);
    }

    /* --- Service Media (صور وفيديوهات الخدمات) --- */
    .service-media {
        height: 400px;
        position: relative;
        overflow: hidden;
        flex: 1; /* يأخذ المساحة المتاحة */
        border-radius: var(--radius-md); /* زوايا دائرية */
        box-shadow: var(--shadow-lg); /* ظل ظاهر */
    }

    .service-media img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: var(--transition-slow); /* انتقال أبطأ للصور */
        border-radius: var(--radius-md);
    }

    .service-card:hover .service-media img {
        transform: scale(1.08); /* تكبير أكبر قليلاً */
        filter: brightness(0.95); /* إعتام خفيف */
    }

    .video-container {
        width: 100%;
        height: 100%;
        background: #000;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: var(--radius-md);
        overflow: hidden;
    }

    .video-container iframe {
        width: 100%;
        height: 100%;
        border: none;
        border-radius: var(--radius-md);
        transform: scale(1);
        transition: var(--transition-slow);
    }

    .service-card:hover .video-container iframe {
        transform: scale(1.05); /* تكبير الفيديو عند التحويم */
    }

    /* --- Floating Icon (الأيقونات العائمة) --- */
    .floating-icon {
        position: absolute;
        top: 25px; /* مسافة من أعلى */
        right: 25px; /* مسافة من اليمين في RTL */
        width: 70px; /* حجم أكبر */
        height: 70px;
        background: rgba(255, 255, 255, 0.98); /* خلفية شبه شفافة بيضاء */
        backdrop-filter: blur(15px); /* تأثير ضبابي جميل */
        border-radius: var(--radius-md); /* زوايا دائرية */
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 2rem; /* حجم أيقونة أكبر */
        color: var(--primary); /* لون الأيقونة من الثيم */
        z-index: 10;
        transition: var(--transition-medium); /* انتقال سلس */
        box-shadow: var(--shadow); /* ظل خفيف */
        border: 1px solid var(--gray-200); /* حد رفيع جداً */
    }

    .service-card:hover .floating-icon {
        transform: scale(1.15) rotate(15deg); /* تكبير ودوران أكبر */
        background: linear-gradient(45deg, var(--primary), var(--secondary)); /* تدرج لوني عند التحويم */
        color: var(--white);
        box-shadow: var(--shadow-lg); /* ظل أكبر عند التحويم */
    }

    /* --- Divider (الفاصل بين الكروت) --- */
    .divider {
        height: 5px; /* سمك أكبر */
        background: linear-gradient(90deg, transparent, var(--primary), var(--secondary), transparent); /* تدرج لوني جميل */
        margin: 5rem 0; /* مسافة أكبر */
        border-radius: var(--radius-lg);
        opacity: 0.6; /* شفافية خفيفة */
    }

    /* --- Floating Shapes (الدوائر في الخلفية) --- */
    .floating-shapes {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        pointer-events: none;
        z-index: -1;
        opacity: 0.05; /* شفافة جداً */
    }

    .shape {
        position: absolute;
        border-radius: 50%;
        opacity: 1; /* الأوباسيتي تحددها من الـ parent */
        animation: float 20s infinite ease-in-out; /* حركة أبطأ */
    }

    .shape:nth-child(1) {
        width: 100px;
        height: 100px;
        top: 15%;
        right: 15%; /* RTL positioning */
        background: var(--primary);
        animation-delay: -3s;
    }

    .shape:nth-child(2) {
        width: 80px;
        height: 80px;
        bottom: 20%;
        left: 20%; /* RTL positioning */
        background: var(--secondary);
        animation-delay: -7s;
    }

    .shape:nth-child(3) {
        width: 90px;
        height: 90px;
        top: 70%;
        right: 25%; /* RTL positioning */
        background: var(--accent); /* استخدام الـ accent */
        animation-delay: -11s;
    }

    @keyframes float {
        0%, 100% { transform: translateY(0px) rotate(0deg) scale(1); }
        50% { transform: translateY(-50px) rotate(180deg) scale(1.05); } /* حركة أكبر مع تكبير */
    }

    /* --- Responsive Design (Media Queries) --- */
    @media (max-width: 992px) { /* لـ tablets واللابتوبات الأصغر */
        .container {
            padding: 1.5rem;
        }
        .service-content {
            min-height: auto; /* ارتفاع تلقائي على الشاشات الأصغر */
        }
        .service-text {
            padding: 2.5rem;
        }
        .service-title {
            font-size: 2.2rem;
        }
        .service-subtitle {
            font-size: 1.1rem;
        }
        .service-media {
            height: 350px;
        }
    }

    @media (max-width: 768px) { /* لـ Mobile */
        .container {
            padding: 1rem;
        }

        .service-content {
            grid-template-columns: 1fr; /* عمود واحد */
            flex-direction: column; /* ترتيب عمودي */
            text-align: center; /* توسيط المحتوى */
        }

        .service-reverse .service-content { /* إلغاء الـ reverse على الموبايل */
            flex-direction: column;
        }

        .service-text {
            padding: 1.5rem 1rem;
            order: 2; /* النص يظهر بعد الصورة */
        }

        .service-media {
            height: 280px;
            order: 1; /* الصورة تظهر أولاً */
        }

        .service-number {
            position: relative; /* يعود لموقعه الطبيعي داخل الـ flow */
            top: auto;
            right: auto;
            left: auto;
            margin: -35px auto 1.5rem auto; /* توسيط ومسافة من أعلى */
            transform: translateY(0); /* إلغاء أي تحويلات */
        }

        .service-reverse .service-number { /* إلغاء التبديل في الموبايل */
            left: auto;
            right: auto;
        }

        .service-title {
            font-size: 1.8rem;
            margin-top: 1rem;
        }

        .service-subtitle {
            font-size: 0.95rem;
        }

        .service-btn {
            width: 100%; /* الأزرار تأخذ عرض 100% */
            justify-content: center; /* توسيط محتوى الزرار */
            margin: 0.5rem 0; /* مسافات من أعلى وأسفل */
        }
        .download-btn {
            margin-right: 0 !important; /* إلغاء أي margin قديم */
        }

        .floating-icon {
            top: 15px;
            right: 15px;
            width: 55px;
            height: 55px;
            font-size: 1.5rem;
            border-radius: var(--radius-sm); /* زوايا أقل استدارة للموبايل */
        }
        .service-card:hover .floating-icon {
            transform: scale(1.1) rotate(10deg); /* تأثير أصغر للموبايل */
        }

        .divider {
            margin: 3rem 0;
        }
    }

    /* --- Notification --- */
    .notification {
        position: fixed;
        top: 25px; /* مسافة من أعلى */
        right: 25px; /* مسافة من اليمين في RTL */
        background: linear-gradient(90deg, var(--success), #00d26c); /* تدرج لوني للـ notification */
        color: var(--white);
        padding: 1rem 1.8rem;
        border-radius: var(--radius-lg); /* زوايا دائرية */
        font-weight: 600;
        box-shadow: 0 10px 25px rgba(6, 255, 165, 0.4); /* ظل مركز على لون النجاح */
        z-index: 1000;
        transform: translateX(120%); /* تبدأ من خارج الشاشة لليمين */
        transition: transform 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55); /* حركة نطاطة للدخول */
        display: flex;
        align-items: center;
        gap: 0.8rem;
    }

    .notification.show {
        transform: translateX(0); /* تظهر في مكانها */
    }

    .notification i { /* أيقونات داخل الـ notification */
        font-size: 1.2rem;
    }


/* ═══════════════════════════════════════════════════════════════════
   CINEMATIC HERO SLIDER
   Premium, enterprise-grade hero section with parallax depth layers,
   GSAP-driven animations, and cinematic transitions.
   ═══════════════════════════════════════════════════════════════════ */

/* --- Container --- */
.hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    max-height: 1080px;
    overflow: hidden;
    background: #0a0e27;
}

.hero-slider .swiper {
    width: 100%;
    height: 100%;
}

/* --- Slide Structure --- */
.hero-slider .swiper-slide {
    position: relative;
    overflow: hidden;
}

/* Background Layer */
.hero-slider .slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    will-change: transform;
    transform: scale(1.1);
    transform-origin: center center;
    z-index: 1;
}

/* Depth/Parallax Layer */
.hero-slider .slide-depth-layer {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
}

.hero-slider .depth-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.02;
    filter: blur(50px);
    will-change: transform;
}

.hero-slider .depth-shape-1 {
    width: 600px;
    height: 600px;
    background: var(--secondary, #4361ee);
    top: -15%;
    right: -10%;
}

.hero-slider .depth-shape-2 {
    width: 400px;
    height: 400px;
    background: var(--accent, #7209b7);
    bottom: -10%;
    left: -5%;
}

.hero-slider .depth-shape-3 {
    width: 300px;
    height: 300px;
    background: var(--success, #06ffa5);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Dark Cinematic Overlay */
.hero-slider .slide-overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    background: linear-gradient(
        135deg,
        rgba(10, 14, 39, 0.72) 0%,
        rgba(10, 14, 39, 0.42) 40%,
        rgba(34, 44, 149, 0.18) 70%,
        rgba(10, 14, 39, 0.55) 100%
    );
}

/* Content Layer */
.hero-slider .slide-content {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 8%;
    max-width: 1400px;
    margin: 0 auto;
    left: 0;
    right: 0;
}

/* Slide Tag */
.hero-slider .slide-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1.2rem;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
    width: fit-content;
    margin-bottom: 1.5rem;
    opacity: 0;
}

.hero-slider .slide-tag i {
    color: var(--success, #06ffa5);
    font-size: 0.7rem;
}

/* Headline */
.hero-slider .slide-title {
    font-size: clamp(2.2rem, 5vw, 4.2rem);
    font-weight: 900;
    color: #ffffff;
    line-height: 1.15;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 25px rgba(0, 152, 222, 0.5), 0 4px 30px rgba(0, 0, 0, 0.9);
    max-width: 800px;
}

.hero-slider .slide-title .word {
    display: inline-block;
    opacity: 0;
    transform: translateY(40px);
    margin-inline-end: 0.3em;
}

/* Arabic Subtitle */
.hero-slider .slide-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.6rem);
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 650px;
    opacity: 0;
    transform: translateY(30px);
}

/* CTA Button */
.hero-slider .slide-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2.4rem;
    background: linear-gradient(135deg, var(--primary, #222c95), var(--secondary, #4361ee));
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 700;
    border: none;
    border-radius: 60px;
    text-decoration: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    width: fit-content;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 32px rgba(34, 44, 149, 0.4);
    opacity: 0;
    transform: translateY(20px);
    z-index: 10;
}

.hero-slider .slide-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--secondary, #4361ee), var(--accent, #7209b7));
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: inherit;
    z-index: -1;
}

.hero-slider .slide-cta:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 12px 40px rgba(34, 44, 149, 0.6);
    color: #ffffff;
}

.hero-slider .slide-cta:hover::before {
    opacity: 1;
}

.hero-slider .slide-cta .cta-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.hero-slider .slide-cta:hover .cta-icon {
    transform: translateX(4px);
}

[dir="rtl"] .hero-slider .slide-cta:hover .cta-icon {
    transform: translateX(-4px);
}

/* --- Floating Technology Elements --- */
.hero-slider .slide-floaters {
    position: absolute;
    inset: 0;
    z-index: 4;
    pointer-events: none;
    overflow: hidden;
}

.hero-slider .floater {
    position: absolute;
    color: rgba(255, 255, 255, 0.06);
    font-size: 2rem;
    will-change: transform;
    opacity: 0;
}

.hero-slider .floater-1 { top: 15%; right: 12%; font-size: 2.5rem; }
.hero-slider .floater-2 { top: 35%; right: 8%; font-size: 1.8rem; }
.hero-slider .floater-3 { bottom: 25%; right: 18%; font-size: 3rem; }
.hero-slider .floater-4 { top: 20%; right: 30%; font-size: 1.5rem; }
.hero-slider .floater-5 { bottom: 35%; right: 5%; font-size: 2.2rem; }
.hero-slider .floater-6 { top: 60%; right: 25%; font-size: 1.6rem; }

/* RTL mirror floating elements to the left side */
[dir="rtl"] .hero-slider .floater-1 { right: auto; left: 12%; }
[dir="rtl"] .hero-slider .floater-2 { right: auto; left: 8%; }
[dir="rtl"] .hero-slider .floater-3 { right: auto; left: 18%; }
[dir="rtl"] .hero-slider .floater-4 { right: auto; left: 30%; }
[dir="rtl"] .hero-slider .floater-5 { right: auto; left: 5%; }
[dir="rtl"] .hero-slider .floater-6 { right: auto; left: 25%; }

/* --- Slide Counter / Number Indicator --- */
.hero-slider .slide-counter {
    position: absolute;
    bottom: 100px;
    right: 8%;
    z-index: 10;
    display: flex;
    align-items: baseline;
    gap: 0.3rem;
    font-family: 'Cairo', sans-serif;
    color: rgba(255, 255, 255, 0.25);
    font-weight: 300;
}

[dir="rtl"] .hero-slider .slide-counter {
    right: auto;
    left: 8%;
}

.hero-slider .slide-counter .current-slide {
    font-size: 4rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1;
    background: linear-gradient(135deg, #fff, rgba(255,255,255,0.6));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-slider .slide-counter .separator {
    font-size: 1.5rem;
    margin: 0 0.3rem;
    opacity: 0.3;
}

.hero-slider .slide-counter .total-slides {
    font-size: 1.2rem;
    opacity: 0.4;
}

/* --- Progress Bar --- */
.hero-slider .slider-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 15;
    overflow: hidden;
}

.hero-slider .slider-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--primary, #222c95), var(--secondary, #4361ee), var(--accent, #7209b7));
    transition: width 0.1s linear;
    border-radius: 0 2px 2px 0;
    box-shadow: 0 0 12px rgba(67, 97, 238, 0.6);
}

/* --- Custom Navigation Arrows --- */
.hero-slider .swiper-button-next,
.hero-slider .swiper-button-prev {
    width: 54px;
    height: 54px;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    color: rgba(255, 255, 255, 0.7);
    top: 50%;
    transform: translateY(-50%);
}

.hero-slider .swiper-button-next::after,
.hero-slider .swiper-button-prev::after {
    font-size: 1rem;
    font-weight: 700;
}

.hero-slider .swiper-button-next:hover,
.hero-slider .swiper-button-prev:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.25);
    color: #fff;
    transform: translateY(-50%) scale(1.08);
}

.hero-slider .swiper-button-next {
    right: 30px;
}

.hero-slider .swiper-button-prev {
    left: 30px;
}

[dir="rtl"] .hero-slider .swiper-button-next {
    right: auto;
    left: 30px;
}

[dir="rtl"] .hero-slider .swiper-button-prev {
    left: auto;
    right: 30px;
}

/* --- Custom Pagination Dots --- */
.hero-slider .swiper-pagination {
    bottom: 35px !important;
    left: 8% !important;
    text-align: left !important;
    width: auto !important;
}

[dir="rtl"] .hero-slider .swiper-pagination {
    left: auto !important;
    right: 8% !important;
    text-align: right !important;
}

.hero-slider .swiper-pagination-bullet {
    width: 32px;
    height: 4px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.25);
    opacity: 1;
    transition: all 0.4s ease;
    margin: 0 4px !important;
}

.hero-slider .swiper-pagination-bullet-active {
    width: 56px;
    background: linear-gradient(90deg, var(--primary, #222c95), var(--secondary, #4361ee));
    box-shadow: 0 0 12px rgba(67, 97, 238, 0.5);
}

/* --- Scroll Indicator --- */
.hero-slider .scroll-indicator {
    position: absolute;
    bottom: 35px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.4;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.hero-slider .scroll-indicator:hover {
    opacity: 0.8;
}

.hero-slider .scroll-mouse {
    width: 24px;
    height: 38px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 12px;
    position: relative;
}

.hero-slider .scroll-wheel {
    width: 4px;
    height: 8px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: heroScrollWheel 2s ease-in-out infinite;
}

@keyframes heroScrollWheel {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    50% { opacity: 0.3; transform: translateX(-50%) translateY(12px); }
    100% { opacity: 1; transform: translateX(-50%) translateY(0); }
}



/* ═══ RESPONSIVE: TABLET ═══ */
@media (max-width: 1024px) {
    .hero-slider {
        height: 85vh;
        min-height: 500px;
    }

    .hero-slider .slide-content {
        padding: 0 6%;
    }

    .hero-slider .slide-title {
        font-size: clamp(2rem, 4.5vw, 3rem);
    }

    .hero-slider .slide-counter {
        display: none;
    }

    .hero-slider .floater-4,
    .hero-slider .floater-5,
    .hero-slider .floater-6 {
        display: none;
    }
}

/* ═══ RESPONSIVE: MOBILE ═══ */
@media (max-width: 768px) {
    .hero-slider {
        height: 75vh;
        min-height: 450px;
        max-height: 700px;
    }

    .hero-slider .slide-content {
        padding: 0 5%;
        justify-content: center;
        padding-top: 60px;
    }

    .hero-slider .slide-tag {
        font-size: 0.65rem;
        padding: 0.3rem 0.9rem;
        letter-spacing: 1.5px;
        margin-bottom: 1rem;
    }

    .hero-slider .slide-title {
        font-size: clamp(1.6rem, 6vw, 2.2rem);
        max-width: 100%;
        margin-bottom: 0.3rem;
    }

    .hero-slider .slide-subtitle {
        font-size: clamp(0.9rem, 3.5vw, 1.15rem);
        max-width: 100%;
        margin-bottom: 1.5rem;
    }

    .hero-slider .slide-cta {
        padding: 0.85rem 1.8rem;
        font-size: 0.9rem;
    }

    /* Hide floating elements on mobile */
    .hero-slider .slide-floaters {
        display: none;
    }

    /* Hide navigation arrows on mobile */
    .hero-slider .swiper-button-next,
    .hero-slider .swiper-button-prev {
        display: none;
    }

    .hero-slider .swiper-pagination {
        bottom: 20px !important;
        left: 50% !important;
        transform: translateX(-50%);
        text-align: center !important;
    }

    [dir="rtl"] .hero-slider .swiper-pagination {
        right: auto !important;
        left: 50% !important;
    }

    .hero-slider .scroll-indicator {
        display: none;
    }

    .hero-slider .slide-counter {
        display: none;
    }

    .hero-slider .slide-overlay {
        background: linear-gradient(
            180deg,
            rgba(10, 14, 39, 0.6) 0%,
            rgba(10, 14, 39, 0.85) 60%,
            rgba(10, 14, 39, 0.95) 100%
        );
    }
}

/* ═══ RESPONSIVE: SMALL MOBILE ═══ */
@media (max-width: 480px) {
    .hero-slider {
        height: 70vh;
        min-height: 400px;
        max-height: 600px;
    }

    .hero-slider .slide-title {
        font-size: clamp(1.4rem, 7vw, 1.8rem);
    }

    .hero-slider .slide-subtitle {
        font-size: 0.9rem;
    }

    .hero-slider .slide-cta {
        padding: 0.75rem 1.5rem;
        font-size: 0.85rem;
    }
}
/* ═══ REDUCED MOTION ═══ */
@media (prefers-reduced-motion: reduce) {
    .hero-slider .slide-bg {
        transform: scale(1) !important;
        transition: none !important;
        will-change: auto;
    }

    .hero-slider .slide-title .word {
        opacity: 1 !important;
        transform: none !important;
    }

    .hero-slider .slide-subtitle,
    .hero-slider .slide-cta,
    .hero-slider .slide-tag {
        opacity: 1 !important;
        transform: none !important;
    }

    .hero-slider .floater {
        display: none;
    }

    .hero-slider .slider-progress-bar {
        transition: none !important;
    }

    @keyframes heroScrollWheel {
        0%, 100% { opacity: 0.6; transform: translateX(-50%) translateY(0); }
    }
}


/* ═══════════════════════════════════════════════════════════════════
   HERO SLIDER — UI/UX ENHANCEMENTS
   Gradient accent text, CTA shine, trust bar, vignette, grid canvas,
   pulsing tag, secondary CTA, and improved micro-interactions.
   ═══════════════════════════════════════════════════════════════════ */

/* --- Gradient Accent Text --- */
.hero-slider .text-accent {
    background: linear-gradient(135deg, var(--secondary, #4361ee), var(--accent, #7209b7), #00d4ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: heroGradientShift 4s ease-in-out infinite;
}

@keyframes heroGradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* --- Pulsing Tag Dot --- */
.hero-slider .tag-pulse {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--success, #06ffa5);
    position: relative;
    vertical-align: middle;
}

.hero-slider .tag-pulse::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 2px solid var(--success, #06ffa5);
    animation: heroPulse 2s ease-in-out infinite;
    opacity: 0;
}

@keyframes heroPulse {
    0% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.8); opacity: 0; }
    100% { transform: scale(1); opacity: 0; }
}

/* --- CTA Button Group --- */
.hero-slider .slide-cta-group {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    flex-wrap: wrap;
}

/* --- CTA Shine Sweep --- */
.hero-slider .cta-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transform: skewX(-20deg);
    transition: none;
    pointer-events: none;
    z-index: 1;
}

.hero-slider .slide-cta:hover .cta-shine {
    animation: heroCtaShine 0.6s ease-out forwards;
}

@keyframes heroCtaShine {
    0% { left: -100%; }
    100% { left: 130%; }
}

/* --- Secondary CTA (Ghost Button) --- */
.hero-slider .slide-cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.9rem 1.8rem;
    background: transparent;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    font-weight: 600;
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    border-radius: 60px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.hero-slider .slide-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
    color: #fff;
    transform: translateY(-2px);
}

.hero-slider .slide-cta-secondary i {
    font-size: 1.2rem;
    color: var(--secondary, #4361ee);
    transition: transform 0.3s ease;
}

.hero-slider .slide-cta-secondary:hover i {
    transform: scale(1.15);
}

/* --- Cinematic Vignette --- */
.hero-vignette {
    position: absolute;
    inset: 0;
    z-index: 6;
    pointer-events: none;
    background: radial-gradient(
        ellipse at center,
        transparent 40%,
        rgba(5, 7, 20, 0.6) 75%,
        rgba(5, 7, 20, 0.95) 100%
    );
}

/* --- Animated Tech Grid Canvas --- */
.hero-grid-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.04;
    pointer-events: none;
}

/* --- Trust Stats Bar --- */
.hero-trust-bar {
    position: absolute;
    bottom: 50px;
    right: 8%;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1rem 2rem;
}

[dir="rtl"] .hero-trust-bar {
    right: auto;
    left: 8%;
}

.hero-trust-bar .trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    text-align: center;
    min-width: 80px;
}

.hero-trust-bar .trust-number {
    font-size: 1.5rem;
    font-weight: 900;
    color: #fff;
    line-height: 1;
    background: linear-gradient(135deg, #fff, var(--secondary, #4361ee));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-trust-bar .trust-label {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    white-space: nowrap;
}

.hero-trust-bar .trust-divider {
    width: 1px;
    height: 32px;
    background: linear-gradient(
        to bottom,
        transparent,
        rgba(255, 255, 255, 0.15),
        transparent
    );
}

/* --- Enhanced Navigation Arrows Hover --- */
.hero-slider .swiper-button-next:hover,
.hero-slider .swiper-button-prev:hover {
    box-shadow: 0 0 20px rgba(67, 97, 238, 0.3);
}

/* --- Enhanced Pagination Active Glow --- */
.hero-slider .swiper-pagination-bullet-active {
    box-shadow: 0 0 12px rgba(67, 97, 238, 0.5),
                0 0 24px rgba(67, 97, 238, 0.2);
}

/* ═══ RESPONSIVE: TRUST BAR ═══ */
@media (max-width: 1200px) {
    .hero-trust-bar {
        bottom: 45px;
        right: 5%;
        gap: 1rem;
        padding: 0.8rem 1.5rem;
    }

    [dir="rtl"] .hero-trust-bar {
        right: auto;
        left: 5%;
    }

    .hero-trust-bar .trust-number {
        font-size: 1.3rem;
    }

    .hero-trust-bar .trust-item {
        min-width: 65px;
    }
}

@media (max-width: 1024px) {
    .hero-trust-bar {
        display: none;
    }
}

/* ═══ RESPONSIVE: ENHANCEMENTS MOBILE ═══ */
@media (max-width: 768px) {
    .hero-slider .slide-cta-group {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
    }

    .hero-slider .slide-cta-secondary {
        padding: 0.7rem 1.4rem;
        font-size: 0.85rem;
    }

    .hero-vignette {
        background: radial-gradient(
            ellipse at center,
            transparent 20%,
            rgba(5, 7, 20, 0.6) 60%,
            rgba(5, 7, 20, 0.95) 100%
        );
    }

    .hero-grid-canvas {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-slider .slide-cta-secondary {
        padding: 0.6rem 1.2rem;
        font-size: 0.8rem;
    }
}

/* ═══ REDUCED MOTION: ENHANCEMENTS ═══ */
@media (prefers-reduced-motion: reduce) {
    .hero-slider .text-accent {
        animation: none;
        background-size: 100% 100%;
    }

    .hero-slider .tag-pulse::before {
        animation: none;
    }

    .hero-slider .cta-shine {
        display: none;
    }

    .hero-grid-canvas {
        display: none;
    }
}

/* --- Cinematic Spotlight --- */
.cinematic-spotlight {
    position: absolute;
    inset: -50%;
    z-index: 4;
    pointer-events: none;
    background: radial-gradient(circle at 50% 50%, rgba(0, 152, 222, 0.15) 0%, transparent 40%);
    animation: spotlightPan 20s ease-in-out infinite alternate;
}

@keyframes spotlightPan {
    0% { transform: translate(-10%, -10%); }
    100% { transform: translate(10%, 10%); }
}

/* --- Quick Contact Sidebar --- */
.quick-contact-sidebar {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 15px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    padding: 15px 10px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

html[dir="ltr"] .quick-contact-sidebar {
    right: auto;
    left: 20px;
}

.quick-contact-item {
    color: white;
    font-size: 1.2rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    text-decoration: none;
}

.quick-contact-item:hover {
    background: var(--primary);
    color: white;
    transform: scale(1.1) translateY(-3px);
}


/* --- Text Accent Glow --- */
.hero-slider .slide-title .text-accent {
    background: linear-gradient(135deg, #0098de, #06ffa5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 20px rgba(0, 152, 222, 0.5));
}

/* --- Tag Pulse Dot --- */
.hero-slider .slide-tag .tag-pulse {
    width: 8px;
    height: 8px;
    background: var(--success, #06ffa5);
    border-radius: 50%;
    animation: tagPulseGlow 2s ease-in-out infinite;
    box-shadow: 0 0 8px rgba(6, 255, 165, 0.6);
}

@keyframes tagPulseGlow {
    0%, 100% { opacity: 1; box-shadow: 0 0 8px rgba(6, 255, 165, 0.6); }
    50% { opacity: 0.5; box-shadow: 0 0 16px rgba(6, 255, 165, 1); }
}

/* --- Quick Contact Sidebar Mobile --- */
@media (max-width: 768px) {
    .quick-contact-sidebar {
        right: 10px;
        padding: 10px 7px;
        gap: 10px;
    }
    .quick-contact-item {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}

/* --- Slide Content Inner Glass Card --- */
.hero-slider .slide-content-inner {
    background: rgba(10, 14, 39, 0.35);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 2.5rem 3rem;
    max-width: 720px;
    width: fit-content;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* RTL alignment */
[dir="rtl"] .hero-slider .slide-content-inner {
    text-align: right;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-slider .slide-content-inner {
        padding: 2rem 2.5rem;
        max-width: 600px;
    }
}

@media (max-width: 768px) {
    .hero-slider .slide-content-inner {
        padding: 1.5rem 1.8rem;
        max-width: 90%;
        border-radius: 18px;
    }
}

@media (max-width: 480px) {
    .hero-slider .slide-content-inner {
        padding: 1.2rem 1.4rem;
        border-radius: 14px;
    }
}
