@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Arabic:wght@100..900&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #0f0f0f;
    font-family: "Noto Sans Arabic", sans-serif;
    font-optical-sizing: auto; 
    font-style: normal;
    position: relative;
    overflow-x: hidden;
}

/* ===== Animated Website Background ===== */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 210, 122, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(212, 175, 55, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(255, 210, 122, 0.08) 0%, transparent 70%);
    background-size: 200% 200%;
    animation: backgroundMove 20s ease infinite;
    pointer-events: none;
}

body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 0;
    background-image: 
        linear-gradient(0deg, transparent 24%, rgba(255, 210, 122, 0.03) 25%, rgba(255, 210, 122, 0.03) 26%, transparent 27%, transparent 74%, rgba(212, 175, 55, 0.03) 75%, rgba(212, 175, 55, 0.03) 76%, transparent 77%, transparent),
        linear-gradient(90deg, transparent 24%, rgba(255, 210, 122, 0.03) 25%, rgba(255, 210, 122, 0.03) 26%, transparent 27%, transparent 74%, rgba(212, 175, 55, 0.03) 75%, rgba(212, 175, 55, 0.03) 76%, transparent 77%, transparent);
    background-size: 100px 100px;
    animation: gridMove 30s linear infinite;
    pointer-events: none;
    opacity: 0.6;
}

@keyframes backgroundMove {
    0%, 100% {
        background-position: 0% 0%, 100% 100%, 50% 50%;
    }
    33% {
        background-position: 100% 0%, 0% 100%, 50% 50%;
    }
    66% {
        background-position: 0% 100%, 100% 0%, 50% 50%;
    }
}

@keyframes gridMove {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(100px, 100px);
    }
}

/* Floating Background Particles */
.background-particles {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.bg-particle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 210, 122, 0.4) 0%, transparent 70%);
    animation: floatParticle 20s infinite ease-in-out;
    filter: blur(1px);
}

.bg-particle:nth-child(1) {
    width: 300px;
    height: 300px;
    left: 10%;
    top: 20%;
    animation-delay: 0s;
    animation-duration: 25s;
}

.bg-particle:nth-child(2) {
    width: 200px;
    height: 200px;
    left: 80%;
    top: 60%;
    animation-delay: 5s;
    animation-duration: 30s;
}

.bg-particle:nth-child(3) {
    width: 250px;
    height: 250px;
    left: 50%;
    top: 80%;
    animation-delay: 10s;
    animation-duration: 35s;
}

.bg-particle:nth-child(4) {
    width: 180px;
    height: 180px;
    left: 20%;
    top: 70%;
    animation-delay: 15s;
    animation-duration: 28s;
}

.bg-particle:nth-child(5) {
    width: 220px;
    height: 220px;
    left: 70%;
    top: 10%;
    animation-delay: 8s;
    animation-duration: 32s;
}

.bg-particle:nth-child(6) {
    width: 160px;
    height: 160px;
    left: 40%;
    top: 40%;
    animation-delay: 12s;
    animation-duration: 27s;
}

@keyframes floatParticle {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.3;
    }
    25% {
        transform: translate(50px, -50px) scale(1.1);
        opacity: 0.5;
    }
    50% {
        transform: translate(-30px, 80px) scale(0.9);
        opacity: 0.4;
    }
    75% {
        transform: translate(70px, 30px) scale(1.05);
        opacity: 0.6;
    }
}

/* Animated Light Rays */
.background-rays {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.ray {
    position: absolute;
    width: 2px;
    height: 100%;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(255, 210, 122, 0.1) 20%,
        rgba(255, 210, 122, 0.2) 50%,
        rgba(255, 210, 122, 0.1) 80%,
        transparent 100%
    );
    transform-origin: top center;
    animation: rayRotate 15s infinite linear;
    filter: blur(1px);
}

.ray:nth-child(1) {
    left: 15%;
    animation-delay: 0s;
    animation-duration: 18s;
}

.ray:nth-child(2) {
    left: 35%;
    animation-delay: 3s;
    animation-duration: 20s;
}

.ray:nth-child(3) {
    left: 55%;
    animation-delay: 6s;
    animation-duration: 22s;
}

.ray:nth-child(4) {
    left: 75%;
    animation-delay: 9s;
    animation-duration: 19s;
}

.ray:nth-child(5) {
    left: 90%;
    animation-delay: 12s;
    animation-duration: 21s;
}

@keyframes rayRotate {
    0% {
        transform: rotate(0deg) translateY(0);
        opacity: 0.3;
    }
    50% {
        transform: rotate(5deg) translateY(-20px);
        opacity: 0.6;
    }
    100% {
        transform: rotate(0deg) translateY(0);
        opacity: 0.3;
    }
}

/* Pulsing Glow Orbs */
.glow-orb {
    position: fixed;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 210, 122, 0.2) 0%, transparent 70%);
    filter: blur(40px);
    z-index: 0;
    pointer-events: none;
    animation: pulseGlow 8s infinite ease-in-out;
}

.glow-orb:nth-child(1) {
    width: 400px;
    height: 400px;
    left: -100px;
    top: 20%;
    animation-delay: 0s;
}

.glow-orb:nth-child(2) {
    width: 350px;
    height: 350px;
    right: -100px;
    top: 60%;
    animation-delay: 4s;
}

.glow-orb:nth-child(3) {
    width: 300px;
    height: 300px;
    left: 50%;
    bottom: -50px;
    animation-delay: 2s;
}

@keyframes pulseGlow {
    0%, 100% {
        transform: scale(1);
        opacity: 0.4;
    }
    50% {
        transform: scale(1.3);
        opacity: 0.7;
    }
}

/* Ensure content is above background */
section, .container, .hero-slider {
    position: relative;
    z-index: 1;
}

/* Additional Background Wave Animation */
@keyframes waveAnimation {
    0%, 100% {
        transform: translateX(0) translateY(0) rotate(0deg);
    }
    25% {
        transform: translateX(50px) translateY(-30px) rotate(5deg);
    }
    50% {
        transform: translateX(-30px) translateY(50px) rotate(-5deg);
    }
    75% {
        transform: translateX(30px) translateY(-20px) rotate(3deg);
    }
}

/* Enhanced particle animations */
.bg-particle {
    will-change: transform, opacity;
}

.glow-orb {
    will-change: transform, opacity, filter;
}

.ray {
    will-change: transform, opacity;
}

/* Responsive adjustments for background animations */
@media (max-width: 768px) {
    .bg-particle {
        width: 150px !important;
        height: 150px !important;
    }
    
    .bg-particle:nth-child(1),
    .bg-particle:nth-child(2),
    .bg-particle:nth-child(3) {
        display: none;
    }
    
    .glow-orb {
        width: 200px !important;
        height: 200px !important;
    }
    
    .glow-orb:nth-child(3) {
        display: none;
    }
    
    .ray:nth-child(3),
    .ray:nth-child(4),
    .ray:nth-child(5) {
        display: none;
    }
    
    body::after {
        background-size: 50px 50px;
    }
}

/* ===== Hero Slider ===== */
.hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    background: #000;
}

.slider-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.hero-swiper {
    width: 100%;
    height: 100%;
}

.hero-swiper .swiper-slide {
    position: relative;
    overflow: hidden;
}

.slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1.1);
    transition: transform 8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    filter: brightness(0.7);
}

.hero-swiper .swiper-slide-active .slide-bg {
    transform: scale(1);
    filter: brightness(0.85);
}

.slide-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(0,0,0,0.4) 0%,
        rgba(0,0,0,0.2) 50%,
        rgba(0,0,0,0.5) 100%
    );
    z-index: 1;
}

.slide-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(
        ellipse at center,
        transparent 0%,
        rgba(0,0,0,0.3) 100%
    );
    z-index: 2;
}

/* Slide Content */
.slide-content {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 40px;
    direction: rtl;
}

.content-wrapper {
    max-width: 800px;
    text-align: center;
        opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
    }

.hero-swiper .swiper-slide-active .content-wrapper {
        opacity: 1;
    transform: translateY(0);
}

.slide-badge {
    display: inline-block;
    padding: 8px 24px;
    background: rgba(255,210,122,0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,210,122,0.3);
    border-radius: 30px;
    color: #ffd27a;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 30px;
    text-transform: uppercase;
    box-shadow: 0 8px 32px rgba(255,210,122,0.2);
}

.slide-title {
    font-size: clamp(32px, 6vw, 72px);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 25px;
    color: #ffd27a;
    text-shadow: 0 2px 15px rgba(0,0,0,0.9), 0 0 30px rgba(255,210,122,0.7), 0 4px 25px rgba(0,0,0,0.8);
    position: relative;
}

.slide-title .title-line {
    background: linear-gradient(135deg, #ffd27a 0%, #d4af37 25%, #ffd27a 50%, #d4af37 75%, #ffd27a 100%);
    background-size: 300% auto;
    -webkit-background-clip: text;
    background-clip: text;
    animation: gradientShift 5s ease infinite;
    display: inline-block;
}

.title-line {
    display: block;
    overflow: hidden;
}

.title-line span {
    display: inline-block;
    transform: translateY(100%);
    animation: slideUp 0.8s ease forwards;
}

.slide-description {
    font-size: clamp(16px, 2vw, 20px);
    line-height: 1.8;
    color: rgba(255,255,255,0.9);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.slide-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 40px;
    background: linear-gradient(135deg, #ffd27a, #d4af37);
    color: #000;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
    box-shadow: 0 10px 40px rgba(255,210,122,0.4);
    position: relative;
    overflow: hidden;
}

.slide-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #ffed9e, #ffd27a);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.slide-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 50px rgba(255,210,122,0.6);
}

.slide-btn:hover::before {
        opacity: 1;
}

.slide-btn span,
.slide-btn i {
    position: relative;
    z-index: 1;
}

.slide-btn i {
    transition: transform 0.4s ease;
}

.slide-btn:hover i {
    transform: translateX(-5px);
}

/* Particles */
.slide-particles {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255,210,122,0.6);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255,210,122,0.8);
}

.particle:nth-child(1) { top: 20%; left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { top: 60%; left: 80%; animation-delay: 1s; }
.particle:nth-child(3) { top: 40%; left: 30%; animation-delay: 2s; }
.particle:nth-child(4) { top: 80%; left: 60%; animation-delay: 1.5s; }
.particle:nth-child(5) { top: 10%; left: 90%; animation-delay: 0.5s; }

/* Shapes */
.slide-shapes {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255,210,122,0.1), rgba(212,175,55,0.05));
    border: 1px solid rgba(255,210,122,0.2);
    backdrop-filter: blur(20px);
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: -150px;
    right: -150px;
}

.shape-2 {
    width: 200px;
    height: 200px;
    bottom: -100px;
    left: 10%;
}

.shape-3 {
    width: 150px;
    height: 150px;
    top: 30%;
    left: -75px;
}

 
/* ===== Hero Navigation ===== */
.hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 70px;
    height: 70px;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
}

.hero-nav.prev {
    left: 40px;
}

.hero-nav.next {
    right: 40px;
}

.nav-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.nav-inner i {
    transform: scaleX(-1);
}

.hero-nav:hover .nav-inner {
    background: rgba(255,210,122,0.2);
    border-color: rgba(255,210,122,0.5);
    color: #ffd27a;
    transform: scale(1.1);
    box-shadow: 0 12px 48px rgba(255,210,122,0.4);
}

.nav-ripple {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: rgba(255,210,122,0.3);
    opacity: 0;
    transform: scale(0.8);
}

/* ===== Hero Pagination ===== */
.hero-pagination {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 15px;
    align-items: center;
}

.hero-bullet {
        width: 14px;
        height: 14px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    cursor: pointer;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
    border: 2px solid rgba(255,255,255,0.2);
}

.hero-bullet:hover {
    background: rgba(255,255,255,0.5);
    transform: scale(1.3);
}

.bullet-core {
        position: absolute;
    inset: 3px;
    border-radius: 50%;
    background: transparent;
    transition: all 0.4s ease;
}

.hero-bullet-active {
    background: rgba(255,210,122,0.4);
    border-color: rgba(255,210,122,0.8);
    transform: scale(1.4);
    box-shadow: 0 0 20px rgba(255,210,122,0.6);
}

.hero-bullet-active .bullet-core {
    background: linear-gradient(135deg, #ffd27a, #d4af37);
    box-shadow: 0 0 15px rgba(255,210,122,0.8);
}

/* ===== Hero Progress ===== */
.hero-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255,255,255,0.1);
    z-index: 10;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #ffd27a, #d4af37, #ffd27a);
    background-size: 200% 100%;
    transition: width 0.1s linear;
    box-shadow: 0 0 15px rgba(255,210,122,0.6);
    animation: progressShine 3s linear infinite;
}

@keyframes progressShine {
    0% { background-position: 0% 0%; }
    100% { background-position: 200% 0%; }
}

/* ===== Hero Counter ===== */
.hero-counter {
    position: absolute;
    top: 40px;
    right: 40px;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 12px;
    backdrop-filter: blur(20px);
    background: rgba(0,0,0,0.3);
    padding: 12px 24px;
    border-radius: 40px;
    border: 1px solid rgba(255,255,255,0.15);
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

.counter-current {
    color: #ffd27a;
    font-size: 22px;
    min-width: 28px;
    text-align: center;
    text-shadow: 0 0 10px rgba(255,210,122,0.5);
}

.counter-divider {
    width: 2px;
    height: 20px;
    background: rgba(255,255,255,0.3);
    border-radius: 2px;
}

.counter-total {
    color: rgba(255,255,255,0.6);
    font-size: 18px;
    min-width: 28px;
    text-align: center;
}

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

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0);
        opacity: 0.6;
    }
    25% {
        transform: translateY(-20px) translateX(10px);
        opacity: 0.8;
    }
    50% {
        transform: translateY(-10px) translateX(-10px);
        opacity: 1;
    }
    75% {
        transform: translateY(-30px) translateX(5px);
        opacity: 0.8;
    }
}

@keyframes morph {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        border-radius: 50%;
    }
    25% {
        transform: scale(1.1) rotate(90deg);
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
    50% {
        transform: scale(0.9) rotate(180deg);
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }
    75% {
        transform: scale(1.05) rotate(270deg);
        border-radius: 40% 60% 70% 30% / 40% 70% 30% 60%;
    }
}

@keyframes ripple {
    0% {
        opacity: 1;
        transform: scale(0.8);
    }
    100% {
        opacity: 0;
        transform: scale(2);
    }
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

/* ===== Hero Overlay Title ===== */
.hero-overlay-title {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 4;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 40px;
}

.overlay-title-wrapper {
    text-align: center;
    direction: rtl;
    animation: fadeInOverlay 1.2s ease-out forwards;
    position: relative;
    padding: 40px 60px;
    z-index: 1;
}

.overlay-title-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(20px);
    border-radius: 30px;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 20px 60px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.1);
    z-index: -1;
}

.overlay-title-wrapper::after {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, rgba(255,210,122,0.3), rgba(255,210,122,0.1));
    border-radius: 32px;
    z-index: -2;
    opacity: 0.5;
    filter: blur(10px);
}

.overlay-title {
    font-size: clamp(40px, 8vw, 90px);
    font-weight: 900;
    line-height: 1.1;
    margin: 0;
    position: relative;
    z-index: 2;
    color: #ffd27a;
    text-shadow: 0 2px 20px rgba(0,0,0,0.9), 0 0 40px rgba(255,210,122,0.8), 0 4px 30px rgba(0,0,0,0.8);
}

.overlay-title .overlay-line {
    background: linear-gradient(135deg, #ffd27a 0%, #d4af37 25%, #ffd27a 50%, #d4af37 75%, #ffd27a 100%);
    background-size: 300% auto;
    -webkit-background-clip: text;
    background-clip: text;
    animation: gradientShift 5s ease infinite;
    display: inline-block;
}

.overlay-line {
    display: block;
    position: relative;
    overflow: hidden;
}

.overlay-line-1 {
    margin-bottom: 12px;
    animation: slideInFromRight 1.2s cubic-bezier(0.4,0,0.2,1) 0.3s both;
}

.overlay-line-2 {
    animation: slideInFromRight 1.2s cubic-bezier(0.4,0,0.2,1) 0.6s both;
}

@keyframes fadeInOverlay {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}



.branch-section {
    position: relative;
    overflow: hidden;
    padding: 70px 0;
}

/* الفيديو نفسه */
.bg-video-section {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: auto;
    object-fit: cover;
    z-index: 1;
    background-color: #000;
    opacity: .7;
    filter: blur(58px);
}

/* Overlay عشان النص يبان */
 .branch-section .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( rgba(0,0,0,.45), rgba(0,0,0,.65) );
    z-index: 2;
}

/* المحتوى */
.branch-section .container {
    position: relative;
    z-index: 3;
}
.title-section {
    position: relative;
    text-align: center;
    margin-bottom:50px;
}
    .title-section .branches-main-title {
        color: #fff;
        font-size: 28px;
        text-align: center;
        font-weight: 700;
        position: relative;
        display: inline-block;
        padding: 0 70px;
    }

        .title-section .branches-main-title::before {
            content: "";
            position: absolute;
            right: 0;
            top: 50%;
            transform: translateY(50%);
            background-image: url(../images/shape-title-1.png);
            width: 52px;
            height: 5px;
            background-size: 52px;
            background-repeat: no-repeat;
        }
        .title-section .branches-main-title::after {
            content: "";
            position: absolute;
            left: 0;
            top: 50%;
            transform: translateY(50%);
            width: 52px;
            height: 5px;
            background-size: 52px;
            background-image: url('../images/shape-title-2.png');
            background-repeat: no-repeat;
        }
        .branches-section {
    padding: 70px 0 0;
     color: #fff;
    position:relative;
    direction:rtl;
    text-align:right;
}
.gradient-extend {
    position: relative;
    background: linear-gradient( 90deg, #000 0%, #0b0b0b 12%, #1a1a1a 35%, #1f1f1f 50%, #1a1a1a 65%, #0b0b0b 88%, #000 100% );
    color: #fff;
    overflow: hidden;
}
    .gradient-extend::before {
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient( ellipse at center, rgba(0,0,0,0) 40%, rgba(0,0,0,.55) 100% );
        pointer-events: none;
    }
    .gradient-extend > * {
        position: relative;
        z-index: 2;
    }
 
/* ===== Branch Box ===== */
.branch-box { 
    margin: 0 auto 35px;
}

.branch-title {
    font-size: 22px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.branch-address {
    font-size: 16px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 20px;
    padding: 12px 18px;
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
    border-right: 3px solid rgba(255,210,122,0.5);
    line-height: 1.8;
}

/* Golden Pin */
.pin {
    width: 14px;
    height: 14px;
    background: radial-gradient(circle, #ffd27a, #c89b3c);
    border-radius: 50%;
    box-shadow: 0 0 12px rgba(255,210,122,.8);
}
.branch-map {
    backdrop-filter: blur(14px);
    box-shadow: rgba(0, 0, 0, 0.45) 0px 25px 60px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 18px;
    padding: 18px;
    transition: transform 0.4s;
    height: 100%;
}
    .branch-map a {
        display: block;
        margin-top: 15px;
        text-align: center;
        color: rgb(0, 0, 0);
        font-weight: 600;
        padding: 10px 0px;
        border-radius: 30px;
        background: linear-gradient(135deg, rgb(212, 175, 55), rgb(158, 124, 25));
        text-decoration: none;
        transition: 0.3s;
    }
        .branch-map a:hover {
            background: linear-gradient(135deg, rgb(241, 211, 107), rgb(202, 161, 50));
        }
/* Map */
    .branch-map iframe {
        width: 100%;
        height: calc(100% - 180px);
        border: none;
        border-radius: 14px;
        filter: grayscale(1) brightness(.85) contrast(1.1);
        filter: grayscale(.8) sepia(.2);
    }

/* Gallery */
.branch-gallery {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.branch-gallery:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0,0,0,0.4);
}

.gallery-slider {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    pointer-events: auto;
    z-index: 1;
}

.gallery-slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
    cursor: pointer;
    transition: transform 0.5s ease;
    position: relative;
    z-index: 1;
    pointer-events: auto;
}

.gallery-slider:hover img.active {
    transform: scale(1.05);
}

    .gallery-slider img.active {
        display: block;
        animation: fadeZoom .6s ease;
    }

.gallery-slider::after {
    content: 'انقر للتكبير';
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(10px);
    color: #ffd27a;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 2;
}

.gallery-slider:hover::after {
    opacity: 1;
    }

/* Counter */
.gallery-counter {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0,0,0,.55);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
}

/* Arrows */
.gallery-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,.6);
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 24px;
}

.gallery-nav .prev {
    left: 10px;
}

.gallery-nav .next {
    right: 10px;
}

/* Alt Style */
/*.style-alt .branch-map iframe {
    filter: grayscale(.8) sepia(.2);
}
*/
/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    animation: fadeUp 1s ease forwards;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes fadeZoom {
    from {
        opacity: 0;
        transform: scale(1.05);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Gallery Popup Slider */
.gallery-popup {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-popup.active {
    display: flex;
    opacity: 1;
}

.popup-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.95);
    backdrop-filter: blur(20px);
    animation: fadeInOverlay 0.4s ease forwards;
}

.popup-container {
    position: relative;
    width: 90%;
    max-width: 1400px;
    height: 90vh;
    max-height: 900px;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    animation: popupSlideIn 0.5s cubic-bezier(0.4,0,0.2,1) forwards;
    padding-bottom: 120px; /* Space for thumbnails */
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.2);
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.popup-close:hover {
    background: rgba(255,210,122,0.2);
    border-color: rgba(255,210,122,0.5);
    color: #ffd27a;
    transform: rotate(90deg) scale(1.1);
}

.popup-slider {
    width: 100%;
    height: calc(100% - 100px); /* Leave space for thumbnails */
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0,0,0,0.8);
    flex: 1;
}

.popup-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(0.8) rotateY(20deg);
    transition: all 0.6s cubic-bezier(0.4,0,0.2,1);
    pointer-events: none;
}

.popup-slide.active {
    opacity: 1;
    transform: scale(1) rotateY(0deg);
    pointer-events: all;
    z-index: 2;
}

.popup-slide.prev {
    transform: translateX(-100%) scale(0.8);
    opacity: 0;
}

.popup-slide.next {
    transform: translateX(100%) scale(0.8);
    opacity: 0;
}

.popup-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    animation: imageZoomIn 0.6s ease forwards;
}

.popup-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255,255,255,0.2);
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.popup-nav:hover {
    background: rgba(255,210,122,0.2);
    border-color: rgba(255,210,122,0.5);
    color: #ffd27a;
    transform: translateY(-50%) scale(1.15);
    box-shadow: 0 10px 30px rgba(255,210,122,0.3);
}

.popup-nav.prev {
    left: -80px;
}

.popup-nav.next {
    right: -80px;
}

.popup-nav i {
    transform: scaleX(-1);
}

.popup-counter {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(15px);
    padding: 12px 24px;
    border-radius: 30px;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    border: 1px solid rgba(255,255,255,0.1);
    z-index: 10;
}

.popup-counter .popup-current {
    color: #ffd27a;
    font-size: 18px;
}

/* Thumbnail Strip */
.popup-thumbnails {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 15px;
    overflow-x: auto;
    overflow-y: hidden;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255,255,255,0.1);
    z-index: 5;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,210,122,0.5) rgba(0,0,0,0.3);
}

.popup-thumbnails::-webkit-scrollbar {
    height: 6px;
}

.popup-thumbnails::-webkit-scrollbar-track {
    background: rgba(0,0,0,0.3);
    border-radius: 3px;
}

.popup-thumbnails::-webkit-scrollbar-thumb {
    background: rgba(255,210,122,0.5);
    border-radius: 3px;
}

.popup-thumbnails::-webkit-scrollbar-thumb:hover {
    background: rgba(255,210,122,0.8);
}

.popup-thumbnail {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    opacity: 0.6;
    position: relative;
}

.popup-thumbnail:hover {
    opacity: 1;
    transform: scale(1.1);
    border-color: rgba(255,210,122,0.5);
}

.popup-thumbnail.active {
    opacity: 1;
    border-color: #ffd27a;
    box-shadow: 0 0 20px rgba(255,210,122,0.6);
    transform: scale(1.15);
}

.popup-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@keyframes fadeInOverlay {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes popupSlideIn {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(50px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes imageZoomIn {
    from {
        opacity: 0;
        transform: scale(1.1);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}























.footer-section {
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 300px;
    padding:50px 0;
    position:relative;
}
    .footer-section .bg-footer {
        position: absolute;
        left: 0;
        bottom: 0;
        width: 100%;
        height: auto;
        opacity: .1;
        filter: blur(8px);
        z-index: -1;
        max-width: 100%;
    }
/* ===== Footer Social ===== */
.footer-social {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin-top: 0px;
    padding-bottom: 0px;
}

    .footer-social .social {
        width: 52px;
        height: 52px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 22px;
        color: #fff;
        background: rgba(255,255,255,.08);
        backdrop-filter: blur(10px);
        box-shadow: 0 10px 30px rgba(0,0,0,.5), inset 0 0 0 1px rgba(255,255,255,.15);
        transition: all .35s ease;
        text-decoration:none;
    }

        /* Hover */
        .footer-social .social:hover {
            transform: translateY(-6px) scale(1.1);
        }

/* Platform Colors */
.social.wa:hover {
    background: #25D366;
}

.social.ig:hover {
    background: radial-gradient(circle at 30% 110%, #fdf497, #fd5949, #d6249f, #285AEB);
}

.social.tk:hover {
    background: #000;
}

.social.sc:hover {
    background: #FFFC00;
    color: #000;
}



/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .hero-slider {
        height: 80vh;
        min-height: 500px;
    }

    .slide-content {
        padding: 60px 30px;
    }

    .hero-nav {
        width: 60px;
        height: 60px;
    }

    .hero-nav.prev {
        left: 20px;
    }

    .hero-nav.next {
        right: 20px;
    }

    .nav-inner {
        font-size: 18px;
    }

    .hero-overlay-title {
        padding: 0 30px;
    }

    .overlay-title-wrapper {
        padding: 30px 50px;
    }

    .overlay-title {
        font-size: clamp(32px, 7vw, 70px);
    }

    .hero-counter {
        top: 30px;
        right: 30px;
        padding: 10px 20px;
        font-size: 16px;
    }

    .counter-current {
        font-size: 20px;
    }

    .hero-pagination {
        bottom: 40px;
        gap: 12px;
    }

    .shape-1 {
        width: 200px;
        height: 200px;
    }

    .shape-2 {
        width: 150px;
        height: 150px;
    }

    .shape-3 {
        width: 100px;
        height: 100px;
    }
}
/* Responsive */

@media (max-width: 991px) {
    .branch-box.style-alt .branch-content {
        flex-direction: column-reverse;
    }
    .footer-section { 
        min-height: auto;
    }

    .services-section,
    .about-section,
    .testimonials-section,
    .contact-section {
        padding: 60px 0;
    }

    .about-content {
        padding: 30px;
    }
    }
    @media (max-width: 900px) {
        .branch-content {
            grid-template-columns: 1fr;
        }
    }

    @media (max-width: 575px) {

        .branches-section {
            padding: 50px 0 0;
        }
        .title-section {
            margin-bottom: 25px;
        }

        .footer-section {  
            padding: 20px 0 50px;
        }
            .title-section .branches-main-title::before {
            right: -4px;
            width: 53px;
            height: 4px;
            background-size: 52px;
        }

        .title-section .branches-main-title::after {
            left: -4px;
            width: 53px;
            height: 4px;
            background-size: 52px;
        }

        .title-section .branches-main-title {
            font-size: 18px;
            padding: 0 58px;
        }

        .branch-title {
            font-size: 17px;
        }

        .branch-map a {
            font-size: 15px;
        }

        .branch-box .pin {
            width: 10px;
            height: 10px;
        }

        /* New Sections Responsive */
        .services-section,
        .about-section,
        .testimonials-section,
        .contact-section {
            padding: 50px 0;
        }

        .service-card,
        .about-content,
        .testimonial-card,
        .contact-card {
            padding: 25px 20px;
        }

        .service-icon,
        .contact-icon {
            width: 60px;
            height: 60px;
            font-size: 28px;
        }

        .service-title,
        .contact-title {
            font-size: 20px;
        }

        .service-text,
        .contact-text,
        .contact-info {
            font-size: 14px;
        }

        .about-title {
            font-size: 24px;
        }

        .about-text {
            font-size: 15px;
        }

        .testimonial-text {
            font-size: 14px;
        }

        .author-name {
            font-size: 15px;
        }

        .author-role {
            font-size: 12px;
        }
    }

/* ===== Services Section ===== */
.services-section {
    padding: 70px 0;
    color: #fff;
    position: relative;
    direction: rtl;
    text-align: right;
}

.service-card {
    backdrop-filter: blur(14px);
    box-shadow: rgba(0, 0, 0, 0.45) 0px 25px 60px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 18px;
    padding: 35px 25px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    height: 100%;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: rgba(0, 0, 0, 0.6) 0px 35px 80px;
    background: rgba(255, 255, 255, 0.08);
}

.service-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(158, 124, 25, 0.2));
    border-radius: 50%;
    font-size: 32px;
    color: #ffd27a;
    border: 2px solid rgba(255, 210, 122, 0.3);
    transition: all 0.4s ease;
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.4), rgba(158, 124, 25, 0.4));
    transform: scale(1.1) rotate(5deg);
    border-color: rgba(255, 210, 122, 0.6);
}

.service-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #fff;
}

.service-text {
    font-size: 15px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/* ===== About Section ===== */
.about-section {
    padding: 70px 0;
    color: #fff;
    position: relative;
    direction: rtl;
    text-align: right;
}

.about-content {
    backdrop-filter: blur(14px);
    box-shadow: rgba(0, 0, 0, 0.45) 0px 25px 60px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 18px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.about-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 25px;
    color: #ffd27a;
}

.about-text {
    font-size: 16px;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 20px;
}

.about-features {
    margin-top: 30px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
}

.about-feature i {
    color: #ffd27a;
    font-size: 18px;
}

.about-image {
    position: relative;
}

.about-image-wrapper {
    backdrop-filter: blur(14px);
    box-shadow: rgba(0, 0, 0, 0.45) 0px 25px 60px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 18px;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.about-image-wrapper img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
    transition: transform 0.5s ease;
}

.about-image:hover .about-image-wrapper img {
    transform: scale(1.05);
}

/* ===== Testimonials Section ===== */
.testimonials-section {
    padding: 70px 0;
    color: #fff;
    position: relative;
    direction: rtl;
    text-align: right;
}

.testimonial-card {
    backdrop-filter: blur(14px);
    box-shadow: rgba(0, 0, 0, 0.45) 0px 25px 60px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 18px;
    padding: 30px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: rgba(0, 0, 0, 0.6) 0px 35px 80px;
    background: rgba(255, 255, 255, 0.08);
}

.testimonial-stars {
    margin-bottom: 20px;
    display: flex;
    gap: 5px;
}

.testimonial-stars i {
    color: #ffd27a;
    font-size: 16px;
}

.testimonial-text {
    font-size: 15px;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 25px;
    flex-grow: 1;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.3), rgba(158, 124, 25, 0.3));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffd27a;
    font-size: 20px;
    border: 2px solid rgba(255, 210, 122, 0.3);
}

.author-info {
    flex: 1;
}

.author-name {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 5px 0;
    color: #fff;
}

.author-role {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* ===== Statistics Section ===== */
.statistics-section {
    padding: 70px 0;
    color: #fff;
    position: relative;
    direction: rtl;
    text-align: center;
    background: linear-gradient(135deg, rgba(255,210,122,0.05) 0%, rgba(0,0,0,0.3) 50%, rgba(255,210,122,0.05) 100%);
}

.stat-card {
    backdrop-filter: blur(14px);
    box-shadow: rgba(0, 0, 0, 0.45) 0px 25px 60px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 18px;
    padding: 40px 30px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: rgba(0, 0, 0, 0.6) 0px 35px 80px;
    background: rgba(255, 255, 255, 0.08);
}

.stat-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255,210,122,0.2), rgba(212,175,55,0.2));
    border-radius: 50%;
    font-size: 36px;
    color: #ffd27a;
    border: 2px solid rgba(255,210,122,0.3);
    transition: all 0.4s ease;
}

.stat-card:hover .stat-icon {
    background: linear-gradient(135deg, rgba(255,210,122,0.4), rgba(212,175,55,0.4));
    transform: scale(1.15) rotate(360deg);
    border-color: rgba(255,210,122,0.6);
}

.stat-number {
    font-size: 48px;
    font-weight: 900;
    color: #ffd27a;
    margin-bottom: 10px;
    line-height: 1;
    text-shadow: 0 0 20px rgba(255,210,122,0.5);
}

.stat-label {
    font-size: 16px;
    color: rgba(255,255,255,0.9);
    font-weight: 600;
}

/* ===== Why Choose Us Section ===== */
.why-choose-section {
    padding: 70px 0;
    color: #fff;
    position: relative;
    direction: rtl;
    text-align: right;
}

.why-choose-content {
    backdrop-filter: blur(14px);
    box-shadow: rgba(0, 0, 0, 0.45) 0px 25px 60px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 18px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.why-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    align-items: flex-start;
}

.why-item:last-child {
    margin-bottom: 0;
}

.why-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255,210,122,0.2), rgba(212,175,55,0.2));
    border-radius: 12px;
    font-size: 24px;
    color: #ffd27a;
    border: 2px solid rgba(255,210,122,0.3);
}

.why-text h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #ffd27a;
}

.why-text p {
    font-size: 15px;
    line-height: 1.8;
    color: rgba(255,255,255,0.85);
    margin: 0;
}

.why-choose-image {
    position: relative;
}

.why-image-wrapper {
    backdrop-filter: blur(14px);
    box-shadow: rgba(0, 0, 0, 0.45) 0px 25px 60px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 18px;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    position: relative;
}

.why-image-wrapper img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
    transition: transform 0.5s ease;
}

.why-image-wrapper:hover img {
    transform: scale(1.05);
}

.why-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: linear-gradient(135deg, rgba(255,210,122,0.9), rgba(212,175,55,0.9));
    color: #000;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 10px 30px rgba(255,210,122,0.4);
}

/* ===== Fabric Categories Section ===== */
.categories-section {
    padding: 70px 0;
    color: #fff;
    position: relative;
    direction: rtl;
    text-align: right;
}

.category-card {
    backdrop-filter: blur(14px);
    box-shadow: rgba(0, 0, 0, 0.45) 0px 25px 60px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 18px;
    padding: 35px 25px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    height: 100%;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,210,122,0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.category-card:hover::before {
    opacity: 1;
}

.category-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: rgba(0, 0, 0, 0.6) 0px 35px 80px;
    background: rgba(255, 255, 255, 0.08);
}

.category-image {
    width: 100px;
    height: 100px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255,210,122,0.2), rgba(212,175,55,0.2));
    border-radius: 50%;
    font-size: 40px;
    color: #ffd27a;
    border: 3px solid rgba(255,210,122,0.3);
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.category-card:hover .category-image {
    background: linear-gradient(135deg, rgba(255,210,122,0.4), rgba(212,175,55,0.4));
    transform: scale(1.15) rotateY(360deg);
    border-color: rgba(255,210,122,0.6);
    box-shadow: 0 0 30px rgba(255,210,122,0.5);
}

.category-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #fff;
    position: relative;
    z-index: 1;
}

.category-text {
    font-size: 15px;
    line-height: 1.8;
    color: rgba(255,255,255,0.8);
    margin: 0;
    position: relative;
    z-index: 1;
}

/* ===== Process Section ===== */
.process-section {
    padding: 70px 0;
    color: #fff;
    position: relative;
    direction: rtl;
    text-align: center;
}

.process-step {
    backdrop-filter: blur(14px);
    box-shadow: rgba(0, 0, 0, 0.45) 0px 25px 60px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 18px;
    padding: 40px 25px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    height: 100%;
}

.process-step::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 100%;
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, rgba(255,210,122,0.5), transparent);
    transform: translateY(-50%);
    z-index: 1;
}

.process-step:last-child::after {
    display: none;
}

.process-step:hover {
    transform: translateY(-10px);
    box-shadow: rgba(0, 0, 0, 0.6) 0px 35px 80px;
    background: rgba(255, 255, 255, 0.08);
}

.step-number {
    position: absolute;
    top: -20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #ffd27a, #d4af37);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 900;
    color: #000;
    box-shadow: 0 10px 30px rgba(255,210,122,0.4);
    z-index: 2;
}

.step-icon {
    width: 80px;
    height: 80px;
    margin: 20px auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255,210,122,0.2), rgba(212,175,55,0.2));
    border-radius: 50%;
    font-size: 36px;
    color: #ffd27a;
    border: 2px solid rgba(255,210,122,0.3);
    transition: all 0.4s ease;
}

.process-step:hover .step-icon {
    background: linear-gradient(135deg, rgba(255,210,122,0.4), rgba(212,175,55,0.4));
    transform: scale(1.15) rotate(360deg);
    border-color: rgba(255,210,122,0.6);
}

.step-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #ffd27a;
}

.step-text {
    font-size: 15px;
    line-height: 1.8;
    color: rgba(255,255,255,0.8);
    margin: 0;
}

/* ===== Contact Section ===== */
.contact-section {
    padding: 70px 0;
    color: #fff;
    position: relative;
    direction: rtl;
    text-align: right;
}

.contact-card {
    backdrop-filter: blur(14px);
    box-shadow: rgba(0, 0, 0, 0.45) 0px 25px 60px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 18px;
    padding: 35px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    height: 100%;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: rgba(0, 0, 0, 0.6) 0px 35px 80px;
    background: rgba(255, 255, 255, 0.08);
}

.contact-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(158, 124, 25, 0.2));
    border-radius: 50%;
    font-size: 32px;
    color: #ffd27a;
    border: 2px solid rgba(255, 210, 122, 0.3);
    transition: all 0.4s ease;
}

.contact-card:hover .contact-icon {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.4), rgba(158, 124, 25, 0.4));
    transform: scale(1.1);
    border-color: rgba(255, 210, 122, 0.6);
}

.contact-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #fff;
}

.contact-text {
    font-size: 15px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 15px;
}

.contact-info {
    font-size: 15px;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}

.hours-period {
    font-weight: 600;
    color: #fff;
    display: block;
    margin-bottom: 5px;
}

.hours-friday {
    font-weight: 700;
    color: #ffd27a;
    display: block;
    text-shadow: 0 0 10px rgba(255, 210, 122, 0.3);
}

.hours-online {
    font-weight: 600;
    color: #fff;
    display: block;
}

.contact-link {
    display: inline-block;
    margin-top: 10px;
    padding: 12px 30px;
    background: linear-gradient(135deg, rgb(212, 175, 55), rgb(158, 124, 25));
    color: #000;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.contact-link:hover {
    background: linear-gradient(135deg, rgb(241, 211, 107), rgb(202, 161, 50));
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 210, 122, 0.3);
    }

    @media (max-width: 600px) {
        .hero-slider {
            height: 70vh;
            min-height: 400px;
        }

        .slide-content {
            padding: 40px 20px;
        }

        .slide-badge {
            padding: 6px 18px;
            font-size: 12px;
            margin-bottom: 20px;
        }

        .slide-description {
            margin-bottom: 30px;
            font-size: 14px;
        }

        .slide-btn {
            padding: 14px 30px;
            font-size: 14px;
        }

        .hero-nav {
            width: 50px;
            height: 50px;
        }

        .hero-nav.prev {
            left: 15px;
        }

        .hero-nav.next {
            right: 15px;
        }

        .nav-inner {
            font-size: 16px;
        }

        .hero-overlay-title {
            padding: 0 20px;
        }

        .overlay-title-wrapper {
            padding: 25px 35px;
            border-radius: 20px;
        }

        .overlay-title {
            font-size: clamp(28px, 9vw, 55px);
        }

        .overlay-line-1 {
            margin-bottom: 8px;
        }

        .hero-counter {
            top: 20px;
            right: 20px;
            padding: 8px 16px;
            font-size: 14px;
            gap: 8px;
        }

        .counter-current {
            font-size: 18px;
            min-width: 24px;
        }

        .counter-total {
            font-size: 16px;
            min-width: 24px;
        }

        .counter-divider {
            height: 16px;
        }

        .hero-pagination {
            bottom: 30px;
            gap: 10px;
        }

        .hero-bullet {
            width: 12px;
            height: 12px;
        }

        .shape-1 {
            width: 150px;
            height: 150px;
        }

        .shape-2 {
            width: 100px;
            height: 100px;
        }

        .shape-3 {
            width: 80px;
            height: 80px;
            }

        .footer-social {
            gap: 14px;
        }

            .footer-social .social {
                width: 44px;
                height: 44px;
                font-size: 18px;
            }

        /* Popup Responsive */
        .popup-container {
            width: 95%;
            height: 85vh;
        }

        .popup-close {
            top: -40px;
            width: 40px;
            height: 40px;
            font-size: 18px;
        }

        .popup-nav {
            width: 45px;
            height: 45px;
            font-size: 20px;
        }

        .popup-nav.prev {
            left: 10px;
        }

        .popup-nav.next {
            right: 10px;
        }

        .popup-counter {
            top: 10px;
            left: 10px;
            padding: 10px 20px;
            font-size: 14px;
        }

        .popup-thumbnails {
            height: 80px;
            padding: 10px;
            gap: 8px;
        }

        .popup-thumbnail {
            width: 60px;
            height: 60px;
        }

        .popup-close {
            top: 10px;
            right: 10px;
            width: 40px;
            height: 40px;
            font-size: 18px;
        }

        /* New Sections Responsive */
        .statistics-section,
        .why-choose-section,
        .categories-section,
        .process-section {
            padding: 50px 0;
        }

        .stat-card {
            padding: 30px 20px;
        }

        .stat-icon {
            width: 60px;
            height: 60px;
            font-size: 28px;
        }

        .stat-number {
            font-size: 36px;
        }

        .why-choose-content {
            padding: 30px;
        }

        .why-item {
            margin-bottom: 25px;
        }

        .why-icon {
            width: 50px;
            height: 50px;
            min-width: 50px;
            font-size: 20px;
        }

        .why-text h4 {
            font-size: 18px;
        }

        .why-text p {
            font-size: 14px;
        }

        .category-card {
            padding: 30px 20px;
        }

        .category-image {
            width: 80px;
            height: 80px;
            font-size: 32px;
        }

        .process-step {
            padding: 30px 20px;
            margin-bottom: 30px;
        }

        .process-step::after {
            display: none;
        }

        .step-icon {
            width: 60px;
            height: 60px;
            font-size: 28px;
        }

        .step-number {
            width: 40px;
            height: 40px;
            font-size: 16px;
            top: -15px;
        }
    }

/* ===== Scroll Animation Enhancements ===== */
[data-aos] {
    pointer-events: none;
}

[data-aos].aos-animate {
    pointer-events: auto;
}

/* Smooth transitions for all animated elements */
.service-card,
.stat-card,
.category-card,
.process-step,
.testimonial-card,
.contact-card,
.branch-box,
.about-content,
.about-image,
.why-choose-content,
.why-choose-image {
    will-change: transform, opacity;
    transform-style: preserve-3d;
}

/* Prevent layout shift during animations */
.aos-init {
    opacity: 0;
}

.aos-animate {
    opacity: 1;
}

/* ===== CRAZY AWESOME EFFECTS ===== */


/* Magnetic Buttons */
.magnetic-element {
    transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    will-change: transform;
}

/* 3D Tilt Effect */
.tilt-3d {
    transform-style: preserve-3d;
    transition: transform 0.1s ease-out;
    will-change: transform;
}

/* Shimmer Effect */
.shimmer {
    position: relative;
    overflow: hidden;
}

.shimmer::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: left 0.5s;
}

.shimmer:hover::before {
    left: 100%;
}

/* Glow Pulse Effect */
.glow-pulse {
    animation: glowPulse 2s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% {
        box-shadow: 0 0 20px rgba(255, 210, 122, 0.4),
                    0 0 40px rgba(255, 210, 122, 0.2),
                    0 0 60px rgba(255, 210, 122, 0.1);
    }
    50% {
        box-shadow: 0 0 30px rgba(255, 210, 122, 0.6),
                    0 0 60px rgba(255, 210, 122, 0.4),
                    0 0 90px rgba(255, 210, 122, 0.2);
    }
}

/* Page Loader */
.page-loader {
    position: fixed;
    inset: 0;
    background: #000;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    opacity: 1;
    transition: opacity 0.5s ease-out;
}

.page-loader.hidden {
    opacity: 0;
    pointer-events: none;
}

.loader-content {
    text-align: center;
}

.loader-logo {
    font-size: 48px;
    font-weight: 900;
    background: linear-gradient(135deg, #ffd27a, #d4af37);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 30px;
    animation: logoReveal 1s ease-out;
}

.loader-progress {
    width: 300px;
    height: 4px;
    background: rgba(255, 210, 122, 0.2);
    border-radius: 2px;
    overflow: hidden;
    margin: 0 auto;
}

.loader-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #ffd27a, #d4af37);
    width: 0%;
    border-radius: 2px;
    animation: progressLoad 1.5s ease-out forwards;
    box-shadow: 0 0 20px rgba(255, 210, 122, 0.6);
}

@keyframes logoReveal {
    0% {
        opacity: 0;
        transform: scale(0.5) rotateY(180deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotateY(0deg);
    }
}

@keyframes progressLoad {
    0% {
        width: 0%;
    }
    100% {
        width: 100%;
    }
}

/* Click Particle Effect */
.click-particle {
    position: fixed;
    width: 6px;
    height: 6px;
    background: radial-gradient(circle, rgba(255, 210, 122, 1), transparent);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9997;
    animation: particleBurst 0.8s ease-out forwards;
    box-shadow: 0 0 10px rgba(255, 210, 122, 0.8);
}

@keyframes particleBurst {
    0% {
        opacity: 1;
        transform: scale(0) translate(0, 0);
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: scale(2) translate(var(--tx), var(--ty));
    }
}

/* Text Reveal Animation */
.text-reveal {
    overflow: hidden;
    display: inline-block;
}

.text-reveal span {
    display: inline-block;
    transform: translateY(100%);
    animation: textRevealUp 0.6s ease-out forwards;
}

@keyframes textRevealUp {
    to {
        transform: translateY(0);
    }
}

/* Image Reveal Mask (excluding gallery) */
.image-reveal {
    position: relative;
    overflow: hidden;
}

.image-reveal:not(.gallery-slider):not(.about-image-wrapper):not(.why-image-wrapper)::before {
    content: '';
    position: absolute;
    inset: 0;
    background: #000;
    z-index: 1;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}

.image-reveal:not(.gallery-slider):not(.about-image-wrapper):not(.why-image-wrapper).revealed::before {
    transform: scaleX(1);
    transform-origin: right;
}

.image-reveal:not(.gallery-slider):not(.about-image-wrapper):not(.why-image-wrapper) img {
    transform: scale(1.1);
    transition: transform 1s cubic-bezier(0.77, 0, 0.175, 1);
}

.image-reveal:not(.gallery-slider):not(.about-image-wrapper):not(.why-image-wrapper).revealed img {
    transform: scale(1);
}

/* Ensure about-image and why-choose-image never get black overlay */
.about-image-wrapper::before,
.why-image-wrapper::before {
    display: none !important;
}

/* Card Hover Glow */
.card-glow {
    position: relative;
    transition: transform 0.3s ease;
}

.card-glow::after {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, #ffd27a, #d4af37);
    border-radius: inherit;
    opacity: 0;
    z-index: -1;
    filter: blur(20px);
    transition: opacity 0.3s ease;
}

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

.card-glow:hover::after {
    opacity: 0.6;
}

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

/* Section Transition */
.section-transition {
    position: relative;
    overflow: hidden;
}

.section-transition::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 210, 122, 0.1), transparent);
    animation: sectionSweep 3s ease-in-out infinite;
    z-index: 0;
}

@keyframes sectionSweep {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* Button Ripple Effect */
.ripple-button {
    overflow: hidden;
}

.ripple-effect {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: rippleAnimation 0.6s ease-out;
    pointer-events: none;
}

@keyframes rippleAnimation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Apply shimmer to cards */
.service-card,
.testimonial-card,
.contact-card,
.category-card {
    position: relative;
    overflow: hidden;
}

.service-card::before,
.testimonial-card::before,
.contact-card::before,
.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 210, 122, 0.1),
        transparent
    );
    transition: left 0.5s;
    z-index: 1;
    pointer-events: none;
}

.service-card:hover::before,
.testimonial-card:hover::before,
.contact-card:hover::before,
.category-card:hover::before {
    left: 100%;
}

/* Apply 3D tilt to cards */
.service-card,
.testimonial-card,
.contact-card,
.category-card,
.process-step {
    transform-style: preserve-3d;
    transition: transform 0.1s ease-out;
}
