:root {
    --main-orange: #dc9432;
    --text-dark: #333333;
    --font-title: "Poppins", "Segoe UI", sans-serif;
    --light-orange: rgba(220, 148, 50, 0.08);
    --glass-border-light: rgba(255, 165, 0, 0.5);
    --main-radius: 16px;
    --wave-gradient: linear-gradient(744deg, #f39c12, #f39c12 60%, #ffad33);
    --bg-circle: #f4f1ec;
    --text-gray: #555;
    --font-family: "Poppins", "Cairo", sans-serif;
    --muted: #737373;
    --card-bg: #fff;
    --shadow: 0 10px 25px rgba(20, 20, 20, 0.08);
}
body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    direction: ltr;
    text-align: left;
    background-color: #fff;
    overflow-x: hidden;
}

/* إخفاء overflow والتأكد من الخلفية البيضاء أثناء التحميل */
body:not(.loaded) {
    overflow: hidden;
    background-color: #fff !important;
}

body.loaded {
    overflow-x: hidden;
    overflow-y: auto;
}

/* ================== Loader (New Uiverse Style) ================== */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    visibility: visible;
    transition: opacity 1s ease;
}

body.loaded #loader {
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease, visibility 1s ease;
}

/* إخفاء المحتوى الرئيسي أثناء التحميل */
body:not(.loaded) .custom-navbar,
body:not(.loaded) .home-section,
body:not(.loaded) .services-section,
body:not(.loaded) #about,
body:not(.loaded) .cards-container,
body:not(.loaded) .portfolio-grid-section,
body:not(.loaded) .contact-section,
body:not(.loaded) footer,
body:not(.loaded) .whatsapp {
    opacity: 0;
    visibility: hidden;
}

/* إظهار المحتوى بعد التحميل */
body.loaded .custom-navbar,
body.loaded .home-section,
body.loaded .services-section,
body.loaded #about,
body.loaded .cards-container,
body.loaded .portfolio-grid-section,
body.loaded .contact-section,
body.loaded footer,
body.loaded .whatsapp {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.6s ease 0.3s;
}

.loader {
    width: 500px;
    height: 250px;
}

.loader svg,
.loader svg * {
    color: #f25a33 !important;
}

.circle {
    fill: #f25a33;
}

.circle-one {
    opacity: 0;
}

.svg-stroke {
    fill: transparent;
    stroke-dasharray: 46.82, 93.64;
    stroke-dashoffset: 46.82;
    stroke: #f25a33;
    opacity: 1;
}

.svg-wrap .svg-stroke {
    animation:
        stroke-start 1.6s linear,
        stroke-end 1.6s 0.8s linear infinite;
}

.svg-wrap .circle-one {
    animation:
        dot-one 0s 0.8s,
        move-dot 1.6s 0.8s linear infinite;
}

.svg-wrap .circle-two,
.svg-wrap .circle-three {
    animation: move-dot 1.6s 0.8s linear infinite;
}

@keyframes dot-one {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes stroke-start {
    50% {
        stroke-dashoffset: 46.82;
    }

    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes stroke-end {
    50% {
        stroke-dasharray: 46.82, 93.64;
        stroke-dashoffset: 0;
        transform: translateX(0);
    }

    100% {
        stroke-dasharray: 0, 93.64;
        stroke-dashoffset: -46.82;
        transform: translateX(10px);
    }
}

@keyframes move-dot {
    50% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(10px);
    }
}

/* ================== Home Transition After Loader ================== */

#home-content {
    opacity: 0;
    transform: translateY(40px);
    transition:
        opacity 0.8s ease-out,
        transform 0.8s ease-out;
}

body.loaded #home-content {
    opacity: 1;
    transform: translateY(0);
}

/* ================== Navbar ================== */
.custom-navbar {
    background: transparent;
    transition:
        background 0.4s ease,
        box-shadow 0.4s ease;
    z-index: 1100;
}

.custom-navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo {
    height: 40px;
    width: auto;
}

/* ================== Links ================== */
.nav-link {
    color: var(--main-orange);
    font-weight: 500;
    margin-left: 20px;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--main-orange);
}

.nav-link.active::after {
    content: "";
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 50%;
    height: 2px;
    background: var(--main-orange);
}

/* ================== Offcanvas Fullscreen ================== */
.offcanvas-full {
    --bs-offcanvas-width: 100vw !important;
    height: 100vh !important;
    border: none;
    background: #fff;
    z-index: 1200;
}

/* لمنع التمرير وقت فتح القائمة */
body.offcanvas-backdrop {
    overflow: hidden;
}

/* ================== Layout on Desktop ================== */
@media (min-width: 992px) {
    .navbar .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .navbar-collapse {
        flex-grow: 0;
    }

    .offcanvas-full {
        display: none !important;
    }
}

/* ================== Custom Orange Toggler ================== */
.toggler-icon {
    display: block;
    width: 24px;
    height: 2px;

    background-color: var(--main-orange);
    position: relative;
    transition: all 0.3s ease;
}

.toggler-icon::before,
.toggler-icon::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;

    background-color: var(--main-orange);
    transition: all 0.3s ease;
}

.toggler-icon::before {
    top: -7px;
}

.toggler-icon::after {
    top: 7px;
}

/* ================== Offcanvas Full Screen (Mobile) ================== */
.offcanvas-full {
    --bs-offcanvas-width: 100vw;
    background: #fff;
    z-index: 1200;
    border-right: none;
}

.offcanvas .nav-link {
    color: var(--text-dark);
    position: relative;
    display: inline-block;
    transition: color 0.3s ease;
}

.offcanvas .nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0%;
    height: 2px;
    background: var(--main-orange);
    transition: width 0.3s ease;
}

.offcanvas .nav-link:hover {
    color: var(--main-orange);
}

.offcanvas .nav-link:hover::after {
    width: 100%;
}

@media (min-width: 992px) {
    .offcanvas-full {
        display: none;
    }
}

/* ================== Navbar Links ================== */
.nav-link {
    color: var(--main-orange) !important;
    font-weight: 500;
    margin-left: 20px;
    position: relative;
}

.nav-link.active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 50%;
    height: 2px;
    background: var(--main-orange);
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0%;
    height: 1px;
    background: var(--main-orange);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 50%;
}

/* ================== Fullscreen Menu in Mobile ================== */
@media (max-width: 991.98px) {
    .fullscreen-menu.collapse.show {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 999;
    }

    .fullscreen-menu ul {
        flex-direction: column;
        text-align: center;
    }

    .fullscreen-menu .nav-link {
        font-size: 1.5rem;
        margin: 10px 0;
    }
}

.navbar-toggler,
.navbar-toggler:focus,
.navbar-toggler:active {
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
}

.custom-toggler .toggler-icon,
.custom-toggler .toggler-icon::before,
.custom-toggler .toggler-icon::after {
    background-color: var(--main-orange);
}

.navbar-toggler:focus .toggler-icon,
.navbar-toggler:active .toggler-icon {
    background-color: var(--main-orange);
}

/* ================== Home Section ==================ا */

/* 
.wow-disabled {
  visibility: visible !important;
  animation-name: none !important;
  opacity: 1 !important;
  transform: none !important;
} */

.home-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #ffffff 60%, #f9f6f1 100%);
    overflow: hidden;
    padding-top: 80px;
    position: relative;
}

.custom-container {
    padding-left: 45px;
}

.home-section::before {
    content: "";
    position: absolute;
    right: -150px;
    top: -150px;
    width: 600px;
    height: 600px;
    background: radial-gradient(
        circle at center,
        #dc943220 0%,
        transparent 70%
    );
    border-radius: 50%;
    animation: floatCircle 9s ease-in-out infinite;
    z-index: 0;
}

@keyframes floatCircle {
    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(25px);
    }
}

.text-content {
    z-index: 2;
    animation: fadeInLeft 1.2s ease forwards;
    max-width: 600px;
}

.hero-title {
    font-family: "Poppins", sans-serif;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 15px;
}

.brand-name {
    font-size: clamp(2.8rem, 4vw, 4rem);
    color: var(--main-orange);
}

.brand-dragon {
    font-size: clamp(2.8rem, 4vw, 4rem);
    color: #222;
    font-weight: 900;
    margin-left: 5px;
}

.brand-sub {
    font-size: 1.3rem;
    color: #777;
    font-weight: 500;
    letter-spacing: 2px;
    display: inline-block;
    margin-top: 5px;
}

.hero-description {
    margin-top: 20px;
    font-size: 1.05rem;
    color: #555;
    line-height: 1.8;
    text-align: justify;
    word-break: keep-all;
}

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

.button-start {
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    gap: 2px;
}

.button-start .box {
    width: 38px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    background: var(--main-orange);
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.button-start:hover .box {
    background: #fff;
    color: var(--main-orange);
}

.play-group {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.play-group:hover {
    transform: translateY(-2px);
}

.play-container {
    width: 60px;
    height: 60px;
    position: relative;
    border-radius: 50%;
}

.play-btn {
    position: absolute;
    appearance: none;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: conic-gradient(#dc9432, #dc9432);
    cursor: pointer;
    outline: none;
}

.play-btn::before {
    content: "";
    position: absolute;
    width: 93%;
    height: 93%;
    background-color: #fff;
    border-radius: 50%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.play-btn:checked {
    animation: borderAnimate 700ms ease-in-out 1;
    animation-fill-mode: forwards;
}

@keyframes borderAnimate {
    0% {
        transform: rotate(0);
        background: conic-gradient(#dc9432, transparent 20%);
    }

    80% {
        background: conic-gradient(#dc9432, transparent 90%);
    }

    100% {
        transform: rotate(360deg);
        background: conic-gradient(#dc9432, #dc9432);
    }
}

.play-icon {
    position: absolute;
    width: 22px;
    height: 22px;
    left: 60%;
    top: 50%;
    background-color: #dc9432;
    transform: translate(-60%, -50%) rotate(90deg);
    clip-path: polygon(50% 15%, 0% 100%, 100% 100%);
    transition: all 400ms ease-in-out;
    cursor: pointer;
}

.play-btn:checked + .play-icon {
    clip-path: polygon(0 100%, 0% 100%, 100% 100%);
}

.pause-icon {
    position: absolute;
    width: 22px;
    height: 22px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
}

.pause-icon::before,
.pause-icon::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 100%;
    background-color: #dc9432;
}

.play-btn:checked ~ .pause-icon::before {
    animation: reveal 300ms ease-in-out 350ms 1;
    animation-fill-mode: forwards;
}

.play-btn:checked ~ .pause-icon::after {
    animation: reveal 300ms ease-in-out 600ms 1;
    animation-fill-mode: forwards;
}

@keyframes reveal {
    0% {
        width: 0;
    }

    100% {
        width: 35%;
    }
}

.watch-text {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    transition: color 0.3s ease;
}

.play-group:hover .watch-text {
    color: var(--main-orange);
}

/* ===== Anmation ===== */
.animation-content {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    animation: fadeInRight 1.2s ease forwards;
}

.lottie-balanced {
    width: 85%;
    height: auto;
    max-width: 550px;
    border-radius: 20px;
    transition: transform 0.5s ease;
}

.lottie-balanced:hover {
    transform: scale(1.03);
}

/* ===== mobile ===== */
@media (max-width: 768px) {
    .custom-container {
        padding-left: 30px;
        padding-right: 30px;
    }

    .hero-buttons {
        flex-direction: column;
        justify-content: center;
        gap: 18px;
    }

    .play-container {
        width: 55px;
        height: 55px;
    }

    .play-icon,
    .pause-icon {
        width: 20px;
        height: 20px;
    }

    .watch-text {
        font-size: 0.9rem;
    }

    .hero-description {
        text-align: center;
        line-height: 1.7;
    }

    .hero-title,
    .brand-sub {
        text-align: center;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInLeft {
    0% {
        opacity: 0;
        transform: translateX(-50px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    0% {
        opacity: 0;
        transform: translateX(50px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ================== Services Section (General) ================== */
.services-section {
    position: relative;

    background-image: url("../images/8f514cebe8af4c164024414070bc3949.jpg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
    color: var(--text-dark);
}

.services-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.7);
    z-index: 1;
}

.services-section .container {
    position: relative;
    z-index: 2;
}

.services-title {
    color: var(--text-dark) !important;
}

.text-main-orange {
    color: var(--main-orange) !important;
}

/* ================== Hexagon Design (3D & Dynamic) ================== */
.hexagon-container {
    width: 130px;
    height: 130px;
    margin: 15px auto;
    cursor: pointer;
    perspective: 1500px;
    transition: all 0.5s ease;
    z-index: 10;
}

.hexagon-inner {
    position: relative;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    transform-style: preserve-3d;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 3px solid var(--glass-border-light);
}

.service-icon {
    font-size: 2.2rem;
    color: var(--main-orange);
    margin-bottom: 5px;
    transition: all 0.4s ease;
}

.service-name {
    font-weight: 600;
    font-size: 0.8rem;
    color: var(--text-dark);
    transition: all 0.4s ease;
    line-height: 1.2;
    padding: 0 5px;
}

/* Hover Effect */
.hexagon-container:hover .hexagon-inner {
    box-shadow:
        0 0 25px rgba(255, 165, 0, 0.7),
        0 0 15px rgba(0, 0, 0, 0.2);
    transform: scale(1.08) rotateX(5deg) rotateY(-5deg) translateZ(10px);
    border-color: var(--main-orange);
}

/* Click Effect */
.hexagon-container.active .hexagon-inner {
    background: var(--main-orange);
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.8);
    transform: scale(1.15) rotateX(10deg) rotateZ(360deg);
    border-color: #fff;
}

.hexagon-container.active .service-icon,
.hexagon-container.active .service-name {
    color: #fff;
    transform: rotateZ(-360deg);
}

/* ================== Details Panel (Long Rectangular Card with Waves) ================== */

.details-panel {
    width: 90%;
    max-width: 300px;
    height: 400px;
    margin: 0;
    background: transparent;
    box-shadow: 0px 8px 28px -9px rgba(0, 0, 0, 0.6);
    position: relative;
    border-radius: var(--main-radius);
    overflow: hidden;
    border: none;
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.7s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: rgba(245, 212, 158, 0.9);
}

.details-panel.show {
    opacity: 1;
    transform: scale(1);
}

/* (Wave) */
.wave {
    position: absolute;
    width: 540px;
    height: 700px;
    opacity: 0.6;
    left: 0;
    top: 0;
    margin-left: -50%;
    margin-top: -70%;
    background: var(--wave-gradient);
    z-index: 1;
    border-radius: 40%;
    animation: wave 55s infinite linear;
}

.wave:nth-child(2),
.wave:nth-child(3) {
    top: 210px;
}

/* Animation Classes */
.playing .wave {
    border-radius: 40%;
    animation: wave 3000ms infinite linear;
}

.playing .wave:nth-child(2) {
    animation-duration: 4000ms;
}

.playing .wave:nth-child(3) {
    animation-duration: 5000ms;
}

.wave:nth-child(2) {
    animation-duration: 50s;
}

.wave:nth-child(3) {
    animation-duration: 45s;
}

@keyframes wave {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* (Details Content ) */
.details-content {
    text-align: center;
    font-size: 20px;
    position: absolute;
    top: 35%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    color: #fff;
    font-weight: 600;
    z-index: 5;
    padding: 0 15px;
}

.details-icon-wrapper {
    margin-bottom: 25px;
}

.details-icon {
    font-size: 3rem;
    color: #fff;
    width: 3em;
    margin: 0 auto;
    margin-top: -1em;
    padding-bottom: 1em;
    display: block !important;
}

.details-title {
    font-weight: 800;
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 5px;
    line-height: 1.2;
}

.details-description {
    font-size: 0.9rem;
    font-weight: 100;
    position: relative;
    top: 0.5em;
    text-transform: none;
    color: #fff;

    line-height: 1.5;
    margin: 0;
    padding: 0 5px;
}

/* ================== Contact Button (Horizontal) ================== */
.button {
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    gap: 2px;
    margin: 0;
}

.box {
    width: 38px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    transition: all 0.6s ease;
    position: relative;
    background: var(--main-orange);

    overflow: hidden;
}

.box::before {
    content: "C";
    position: absolute;
    top: 0;
    background: #fff;

    color: var(--main-orange);

    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.box:nth-child(2)::before {
    transform: translateY(-100%);
    content: "O";
}

.box:nth-child(3)::before {
    content: "N";
}

.box:nth-child(4)::before {
    transform: translateY(-100%);
    content: "T";
}

.box:nth-child(5)::before {
    content: "A";
}

.box:nth-child(6)::before {
    transform: translateY(-100%);
    content: "C";
}

.box:nth-child(7)::before {
    content: "T";
}

.button:hover .box::before {
    transform: translateY(0);
}

.button:hover .box {
    background: #fff;
    color: var(--main-orange);
}

/* ================== RESPONSIVENESS (Mobile) ================== */

@media (max-width: 992px) {
    .services-dynamic-wrapper {
        flex-direction: column;
    }

    .services-grid-left {
        order: 1;
        margin-bottom: 30px;
    }

    .col-lg-6.position-relative {
        order: 2;
        margin-top: 0 !important;
        margin-bottom: 30px;
    }

    .details-panel {
        max-width: 90%;
        height: 350px;
    }

    .details-content {
        top: 40%;
    }

    .details-title {
        font-size: 1.4rem;
    }

    .details-description {
        font-size: 0.85rem;
    }

    .services-grid-left .col-xl-3 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .hexagon-container {
        width: 120px;
        height: 120px;
        margin: 10px auto;
    }

    .service-icon {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .services-title {
        font-size: 2rem !important;
    }

    .details-panel {
        height: 300px;
    }

    .details-icon {
        font-size: 2rem;
        padding-bottom: 0.8em;
    }

    .details-title {
        font-size: 1.2rem;
    }

    .details-description {
        font-size: 0.75rem;
    }

    .hexagon-container {
        width: 100px;
        height: 100px;
    }

    .service-icon {
        font-size: 1.5rem;
    }

    .service-name {
        font-size: 0.7rem;
    }
}
/* About */
#about {
    position: relative;
    background-color: #fff;
    overflow: hidden;
}

.subtitle {
    color: var(--main-orange);
    font-size: 1em;
    font-weight: 600;
    text-transform: uppercase;
}

.about-heading {
    color: #1a1a1a;
}

.about-visual-column {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.about-visual-column:before {
    content: "";
    position: absolute;
    width: 90%;
    height: 100%;
    border: 3px solid #ff9900;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-5deg);
    opacity: 0.3;
}

#lottie-animation-container img {
    max-width: 100%;
    height: auto;
    display: block;
}

.stat-icon {
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 50%;
    background-color: #ff9900;
    color: #fff;
    font-size: 1.2em;
}

.stat-item .number {
    color: #1a1a1a;
}

.stat-item p {
    font-size: 0.9em;
}

.about-decoration {
    position: absolute;
    z-index: 0;
    pointer-events: none;
    opacity: 0.1;
}

.left-dec {
    top: 0;
    left: 0;
    width: 300px;
    height: 300px;
    background: url("../images/about-left-dec.png") no-repeat center/contain;
    opacity: 1 !important;
}

.right-dec {
    bottom: 5;
    right: 0;
    width: 400px;
    height: 400px;
    background: url("../images/about-right-dec.png") no-repeat center/contain;
    opacity: 1 !important;
}

.d-none.d-lg-block {
    display: block !important;
}

@media (max-width: 991.98px) {
    .about-visual-column:before {
        display: none;
    }

    .about-text-column {
        text-align: center;
    }

    .about-stats {
        justify-content: center !important;
        flex-wrap: wrap;
    }
}

.about-visual-column {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px;
    height: 100%;
}

.about-visual-column:before {
    content: "";
    position: absolute;
    width: 90%;
    height: 100%;
    border-radius: 55% 45% 45% 55% / 60% 60% 40% 40%;
    background: linear-gradient(
        135deg,
        rgba(255, 153, 0, 0.4),
        rgba(255, 153, 0, 0.1)
    );
    border: none;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-7deg);
    opacity: 1;
    z-index: 1;
    box-shadow: 0 10px 30px rgba(255, 153, 0, 0.2);
}

#lottie-animation-container {
    width: 100%;
    padding-bottom: 70%;
    height: 0;
    max-width: 550px;
    position: relative;
    overflow: hidden;
    border-radius: 25px;
    background-color: #151515;
    z-index: 2;
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.15),
        0 0 0 5px rgba(255, 153, 0, 0.1);
    animation: pulse 4s infinite ease-in-out;
    transition: all 0.3s ease;
}

#lottie-animation-container svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
}

#lottie-animation-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 25px;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.01);
    }

    100% {
        transform: scale(1);
    }
}

#lottie-animation-container:hover {
    box-shadow:
        0 25px 60px rgba(255, 153, 0, 0.25),
        0 0 0 8px rgba(255, 153, 0, 0.15);
    cursor: pointer;
}

@media (max-width: 767.98px) {
    #lottie-animation-container {
        padding-bottom: 90%;
        height: 0;
    }

    .about-visual-column:before {
        transform: translate(-50%, -50%) rotate(0deg);
    }
}

.about-stats {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(80px, 1fr));
    gap: 14px;
    justify-items: center;
    align-items: start;
    text-align: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 150px;
    margin: 0;
    padding: 0;
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--main-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 8px;
    transition:
        transform 0.3s ease,
        background 0.3s ease;
}

.stat-item:hover .stat-icon {
    transform: scale(1.1);
    background: #fff;
    color: var(--main-orange);
    border: 2px solid var(--main-orange);
}

.stat-item .number {
    font-size: 1.7rem;
    font-weight: 800;
    color: #000;
    line-height: 1.2;
}

.stat-item p {
    font-size: 0.9rem;
    color: #777;
    margin: 0;
}

@media (max-width: 768px) {
    .about-stats {
        grid-template-columns: repeat(4, minmax(55px, 1fr));
        gap: 10px;
    }

    .stat-item {
        min-height: 130px;
    }

    .stat-icon {
        width: 48px;
        height: 48px;
        font-size: 1.2rem;
    }

    .stat-item .number {
        font-size: 1.25rem;
    }

    .stat-item p {
        font-size: 0.8rem;
    }
}

@media (max-width: 420px) {
    .about-stats {
        grid-template-columns: repeat(4, minmax(50px, 1fr));
        gap: 6px;
    }

    .stat-item {
        min-height: 120px;
    }

    .stat-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }

    .stat-item .number {
        font-size: 1.1rem;
    }

    .stat-item p {
        font-size: 0.7rem;
    }
}

.cards-container {
    display: flex;
    flex-wrap: wrap;

    gap: 20px;

    justify-content: center;
    padding: 20px;
}

.workflow {
    --bg-color: #8ac0e3;
    --bg-color-light: #e6f2fb;
    --text-color-hover: #fff;
    --box-shadow-color: rgba(138, 192, 227, 0.48);
}

.analytics {
    --bg-color: #5d9cec;
    --bg-color-light: #d8e5f9;
    --text-color-hover: #fff;
    --box-shadow-color: rgba(93, 156, 236, 0.48);
}

.security {
    --bg-color: #ac8be9;
    --bg-color-light: #f0e7ff;
    --text-color-hover: #fff;
    --box-shadow-color: rgba(172, 139, 233, 0.48);
}

.collaborative {
    --bg-color: #65b8d4;
    --bg-color-light: #e0f2f7;
    --text-color-hover: #fff;
    --box-shadow-color: rgba(101, 184, 212, 0.48);
}

.card {
    width: 300px;

    height: auto;
    min-height: 550px;

    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    box-shadow: 0 14px 26px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease-out;
    text-decoration: none;
    padding: 20px;
    text-align: center;
}

.card:hover {
    transform: translateY(-5px) scale(1.01) translateZ(0);
    box-shadow:
        0 24px 36px rgba(0, 0, 0, 0.11),
        0 24px 46px var(--box-shadow-color);
}

.card:hover .overlay {
    transform: scale(4) translateZ(0);
}

.card:hover .circle {
    border-color: var(--bg-color-light);
    background: var(--bg-color);
}

.card:hover .circle:after {
    background: var(--bg-color-light);
}

/* .card:hover .card-title {
    color: var(--text-color-hover);
} */

.card-title {
    font-size: 1.25em;
    font-weight: bold;
    color: #333;
    margin-top: 15px;
    z-index: 1000;
    transition: color 0.3s ease-out;
    min-height: 50px;
}

.card-content {
    text-align: left;
    width: 100%;
    margin-top: 15px;
    z-index: 1000;
}

.card-content .description {
    font-size: 0.9em;
    color: #666;
    line-height: 1.4;
    margin-bottom: 15px;
}

.card-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.card-content ul li {
    font-size: 0.9em;
    color: #444;
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.card-content ul li::before {
    content: "✓";
    color: var(--bg-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--bg-color);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease-out;
    margin-top: 10px;
}

.circle:after {
    content: "";
    width: 72px;
    height: 72px;
    display: block;
    position: absolute;
    background: var(--bg-color);
    border-radius: 50%;
    top: 3px;
    left: 3px;
    transition: opacity 0.3s ease-out;
    opacity: 0.2;
}

.circle svg {
    z-index: 10000;
    transform: translateZ(0);
    width: 30px;
    height: 30px;
    stroke: var(--bg-color);
}

.card:hover .circle svg {
    stroke: var(--text-color-hover);
}

.overlay {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--bg-color);
    top: 50px;
    left: 110px;

    z-index: 0;
    transition: transform 0.3s ease-out;
    opacity: 0.1;
}

.card-lottie-wrapper {
    width: 100%;
    height: 150px;

    padding: 10px 0 0;
    margin-top: 15px;

    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.feather {
    width: 30px;
    height: 30px;
}

/* ====================================
   PORTFOLIO GRID SECTION
   ==================================== */

.portfolio-grid-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #faf8f5 0%, #f0ebe4 100%);
    position: relative;
    overflow: hidden;
}

.portfolio-grid-section::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(220, 148, 50, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.portfolio-badge {
    display: inline-block;
    padding: 6px 20px;
    background: linear-gradient(135deg, rgba(220, 148, 50, 0.12), rgba(220, 148, 50, 0.05));
    border: 1px solid rgba(220, 148, 50, 0.2);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--main-orange);
    text-transform: uppercase;
    margin-bottom: 16px;
}

.portfolio-grid-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #2b2b2b;
    margin-bottom: 10px;
}

.portfolio-grid-title span {
    color: var(--main-orange);
}

.portfolio-grid-subtitle {
    font-size: 1.05rem;
    color: #777;
    max-width: 500px;
    margin: 0 auto;
}

/* Grid Layout */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* Card */
.portfolio-grid-item {
    position: relative;
}

.portfolio-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    cursor: pointer;
}

.portfolio-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(220, 148, 50, 0.15);
}

.portfolio-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.portfolio-card:hover img {
    transform: scale(1.08);
}

/* Overlay */
.portfolio-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(30, 20, 10, 0.85) 0%,
        rgba(30, 20, 10, 0.3) 50%,
        transparent 100%
    );
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.portfolio-card:hover .portfolio-card-overlay {
    opacity: 1;
}

/* Card Info */
.portfolio-card-info {
    text-align: center;
    transform: translateY(15px);
    transition: transform 0.35s ease;
}

.portfolio-card:hover .portfolio-card-info {
    transform: translateY(0);
}

.portfolio-card-info h3 {
    color: #fff;
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0 0 4px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.portfolio-card-info span {
    display: inline-block;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    padding: 3px 14px;
    background: rgba(220, 148, 50, 0.35);
    border-radius: 20px;
    backdrop-filter: blur(4px);
}

/* Responsive */
@media (max-width: 1200px) {
    .portfolio-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .portfolio-grid-title {
        font-size: 2rem;
    }

    .portfolio-card img {
        height: 200px;
    }

    .portfolio-grid-section {
        padding: 50px 0;
    }
}

@media (max-width: 480px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .portfolio-card img {
        height: 220px;
    }
}

/* HOW WE WORK SECTION */
.how-we-work-section {
    background: #fff;
}



/* HOW WE WORK */
.how-we-work {
    margin-top: 80px;
    text-align: center;
}

.work-steps {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.work-step {
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 30px;
    width: 250px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.work-step h3 {
    margin-top: 12px;
    font-size: 1.2rem;
    font-weight: 600;
}

.work-step p {
    font-size: 0.95rem;
    color: var(--muted);
    margin-top: 8px;
}

.circle_work_step {
    width: 60px;
    height: 60px;
    margin: 0 auto 10px;
    border: 3px solid var(--main-orange);
    color: var(--main-orange);
    font-weight: bold;
    font-size: 1.2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.work-step:hover .circle_work_step {
    background: var(--main-orange);
    color: #fff;
}

@media (max-width: 768px) {
    .work-steps {
        flex-direction: column;
        align-items: center;
    }

    .work-step {
        width: 85%;
    }
}

/* 
   CONTACT SECTION
 */

.contact-section {
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
    color: rgb(19, 18, 18);
}

.contact-section-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1;
}

.contact-section .container {
    z-index: 2;
}

.contact-title-new {
    color: var(--main-orange);
}

/* ===== Glassmorphism Inputs ===== */
.contact-form .form-control {
    font-family: "Cairo", sans-serif;
    padding: 15px 20px;
    border-radius: 8px;
    background-color: rgba(255, 238, 231, 0.3);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.contact-form .form-control::placeholder {
    color: rgba(220, 148, 50, 0.4);
}

.contact-form .form-control:focus {
    background-color: rgba(255, 238, 231, 0.3);
    border-color: var(--main-orange);
    box-shadow: 0 0 0 0.25rem rgba(220, 148, 50, 0.4);
    color: var(--main-orange);
    /* color: white; */
}

/* ===== Contact Info Cards ===== */
.contact-info-area_email {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 20px;
}

.info-card_email {
    display: flex;
    align-items: center;
    gap: 18px;
    background: #fff;
    border-radius: 14px;
    padding: 14px 20px;
    box-shadow: 0 6px 15px rgba(220, 148, 50, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
}

.info-card_email:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(220, 148, 50, 0.15);
}

/* دائرة الأيقونة */
.icon-circle {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #fff7ef;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(220, 148, 50, 0.15);
    transition: all 0.3s ease;
}

.icon-circle i {
    font-size: 1.6rem;
    color: var(--main-orange);
    transition: color 0.3s ease;
}

.info-card_email:hover .icon-circle {
    background: var(--main-orange);
}

.info-card_email:hover .icon-circle i {
    color: #fff;
}

/* النصوص */
.info-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.3;
}

.info-label {
    font-weight: 700;
    color: var(--main-orange);
    font-size: 1.1rem;
}

.info-email {
    color: #333;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.info-email:hover {
    color: var(--main-orange);
}

/* ===== زر SEND بنفس تصميم START ===== */
.button-send {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    margin: 0 auto;
    user-select: none;
    transition: all 0.3s ease;
}

.button-send .box {
    width: 38px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    background: var(--main-orange);
    position: relative;
    overflow: hidden;
    transition: all 0.6s ease;
    border-radius: 4px;
    /* box-shadow: 0 5px 12px rgba(220, 148, 50, 0.25); */
}

.button-send .box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    color: var(--main-orange);
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateY(100%);
    transition: transform 0.4s ease;
    font-weight: 800;
}

/* الحروف SEND */
.button-send .box:nth-child(1)::before {
    transform: translateY(100%);
    content: "S";
}
.button-send .box:nth-child(2)::before {
    transform: translateY(-100%);
    content: "E";
}
.button-send .box:nth-child(3)::before {
    transform: translateY(100%);
    content: "N";
}
.button-send .box:nth-child(4)::before {
    transform: translateY(-100%);
    content: "D";
}

/* Hover effect */
.button-send:hover .box::before {
    transform: translateY(0);
}
.button-send:hover .box {
    background: #fff;
    color: var(--main-orange);
    /* box-shadow: 0 6px 16px rgba(220, 148, 50, 0.3); */
}
.button-send:active .box {
    transform: scale(0.94);
    transition: transform 0.1s;
}

/* ===== Responsive ===== */
@media (max-width: 576px) {
    .info-card_email {
        padding: 12px 16px;
        gap: 14px;
    }

    .icon-circle {
        width: 50px;
        height: 50px;
    }

    .info-label {
        font-size: 1rem;
    }

    .info-email {
        font-size: 0.95rem;
    }

    .contact-form .form-control {
        font-size: 0.95rem;
        padding: 12px 15px;
    }
}

/* footer */

footer {
    background-color: #fff;
    border-top: 3px solid #dc9432;
    padding: 40px 0;
    text-align: center;
    width: 100%;
}

footer h3 {
    font-weight: bold;
    margin-bottom: 10px;
    color: #dc9432;
    position: relative;
    display: inline-block;
}

/* footer h2::after {
      content: "";
      display: block;
      width: 60px;
      height: 3px;
      background-color: #ff7b00;
      margin: 8px auto 0;
      border-radius: 10px;
    } */

footer p {
    color: #dc9432;
    margin: 5px 0;
}

/* footer a {
      color: #dc9432;
      text-decoration: none;
      font-weight: bold;
    }

    footer a:hover {
      text-decoration: underline;
    } */

/* From Uiverse.io by javierBarroso */
.parent {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 15px;
    flex-wrap: wrap;
}

.child {
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    transform-style: preserve-3d;
    transition: all 0.3s cubic-bezier(0.68, 0.85, 0.265, 1.85);
    border-radius: 5px;
    margin: 5px;
    box-shadow:
        inset 1px 1px 2px #fff,
        0 0 5px #4442;
}

.child:hover {
    background-color: white;
    transform: perspective(180px) rotateX(60deg) translateY(2px);
}

.child-1:hover {
    box-shadow: 0px 10px 10px #1e90ff;
}

/* Twitter */
.child-2:hover {
    box-shadow: 0px 10px 10px #ff00ff;
}

/* Instagram */
.child-3:hover {
    box-shadow: 0px 10px 10px #0077b5;
}

/* LinkedIn */
.child-4:hover {
    box-shadow: 0px 10px 10px #4267b2;
}

/* Facebook */

.button {
    cursor: pointer;
    width: 100%;
    height: 100%;
    border: none;
    background-color: transparent;
    font-size: 20px;
    transition-duration: 0.5s;
    transition-timing-function: cubic-bezier(0.68, -0.85, 0.265, 1.55);
}

.child:hover > .button {
    transform: translate3d(0px, 20px, 30px) perspective(80px) rotateX(-60deg)
        translateY(2px) translateZ(10px);
}

/* ================== Contact Form Send Button ================== */
.button-send {
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    gap: 2px;
    border: none;
    background: transparent;
    padding: 0;
    transition: all 0.4s ease;
}

.button-send .box {
    width: 38px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    background: var(--main-orange);
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.button-send:hover .box {
    background: #fff;
    color: var(--main-orange);
    border: 2px solid var(--main-orange);
}

.button-send:focus {
    outline: none;
}

/* ================== Language Switcher ================== */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px !important;
    border-radius: 25px;
    background: linear-gradient(135deg, var(--main-orange), #f39c12);
    color: #fff !important;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.lang-switcher:hover {
    background: #fff;
    color: var(--main-orange) !important;
    border-color: var(--main-orange);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 148, 50, 0.3);
}

.lang-switcher i {
    font-size: 18px;
}

.lang-switcher .lang-text {
    font-size: 14px;
    font-weight: 700;
}

/* تحسين للموبايل */
@media (max-width: 991px) {
    .lang-switcher {
        justify-content: center;
        margin: 10px 0;
    }
}

/* ================== Mobile Menu (Offcanvas) Improvements ================== */

/* Offcanvas Container */
.offcanvas-full {
    width: 100% !important;
    background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 100%);
    backdrop-filter: blur(10px);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* Offcanvas Header */
.offcanvas-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.2);
}

.offcanvas-header .logo {
    max-width: 120px;
    filter: brightness(1.2);
    transition: transform 0.3s ease;
}

.offcanvas-header .logo:hover {
    transform: scale(1.05);
}

/* Close Button */
.offcanvas-header .btn-close {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    opacity: 1;
    transition: all 0.3s ease;
    filter: invert(1);
    padding: 12px;
}

.offcanvas-header .btn-close:hover {
    background: var(--main-orange);
    transform: rotate(90deg);
}

/* Offcanvas Body */
.offcanvas-body {
    padding: 2rem 1rem;
    overflow-y: auto;
    overflow-x: hidden;
}

/* Custom Scrollbar */
.offcanvas-body::-webkit-scrollbar {
    width: 6px;
}

.offcanvas-body::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

.offcanvas-body::-webkit-scrollbar-thumb {
    background: var(--main-orange);
    border-radius: 10px;
}

/* Menu Items */
.offcanvas-body .navbar-nav {
    width: 100%;
    gap: 0.5rem;
}

.offcanvas-body .nav-item {
    margin: 0.5rem 0;
    opacity: 0;
    transform: translateX(-30px);
    animation: slideInLeft 0.5s ease forwards;
}

.offcanvas-body .nav-item:nth-child(1) { animation-delay: 0.1s; }
.offcanvas-body .nav-item:nth-child(2) { animation-delay: 0.15s; }
.offcanvas-body .nav-item:nth-child(3) { animation-delay: 0.2s; }
.offcanvas-body .nav-item:nth-child(4) { animation-delay: 0.25s; }
.offcanvas-body .nav-item:nth-child(5) { animation-delay: 0.3s; }
.offcanvas-body .nav-item:nth-child(6) { animation-delay: 0.35s; }
.offcanvas-body .nav-item:nth-child(7) { animation-delay: 0.4s; }

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Nav Links */
.offcanvas-body .nav-link {
    color: #fff !important;
    font-size: 1.5rem !important;
    font-weight: 600;
    padding: 1rem 1.5rem;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.offcanvas-body .nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.offcanvas-body .nav-link:hover::before {
    left: 100%;
}

.offcanvas-body .nav-link:hover,
.offcanvas-body .nav-link:focus {
    background: linear-gradient(135deg, var(--main-orange), #f39c12);
    transform: translateX(10px) scale(1.05);
    box-shadow: 0 10px 30px rgba(220, 148, 50, 0.4);
}

/* Language Switcher في Offcanvas */
.offcanvas-body .lang-switcher {
    font-size: 1.3rem !important;
    padding: 0.8rem 2rem !important;
    width: 80%;
    margin: 1rem auto;
}

/* Auth Buttons في Offcanvas */
.offcanvas-body .btn-link {
    color: #fff !important;
    font-size: 1.2rem;
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.offcanvas-body .btn-link:hover {
    background: var(--main-orange);
    transform: scale(1.1);
}

/* Backdrop Overlay */
.offcanvas-backdrop {
    backdrop-filter: blur(8px);
    background-color: rgba(0, 0, 0, 0.7) !important;
    transition: opacity 0.4s ease !important;
}

/* Animation للـ Backdrop */
.offcanvas-backdrop.show {
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Hamburger Menu Animation */
.custom-toggler {
    border: none;
    background: transparent;
    width: 40px;
    height: 40px;
    position: relative;
    cursor: pointer;
    padding: 0;
}

.toggler-icon {
    display: block;
    width: 28px;
    height: 2px;
    background: var(--main-orange);
    position: relative;
    transition: all 0.3s ease;
    border-radius: 3px;
}

.toggler-icon::before,
.toggler-icon::after {
    content: '';
    position: absolute;
    width: 28px;
    height: 2px;
    background: var(--main-orange);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.toggler-icon::before {
    top: -8px;
}

.toggler-icon::after {
    top: 8px;
}

.custom-toggler:hover .toggler-icon,
.custom-toggler:hover .toggler-icon::before,
.custom-toggler:hover .toggler-icon::after {
    background: #f39c12;
}

/* Active State للهامبرغر */
.custom-toggler[aria-expanded="true"] .toggler-icon {
    background: transparent;
}

.custom-toggler[aria-expanded="true"] .toggler-icon::before {
    transform: rotate(45deg);
    top: 0;
}

.custom-toggler[aria-expanded="true"] .toggler-icon::after {
    transform: rotate(-45deg);
    top: 0;
}

/* Responsive للموبايل الصغير */
@media (max-width: 576px) {
    .offcanvas-body .nav-link {
        font-size: 1.3rem !important;
        padding: 0.8rem 1rem;
    }
    
    .offcanvas-header {
        padding: 1rem 1.5rem;
    }
}

/* WhatsApp Icon */
.whatsapp-icon {
    position: fixed;
    left: 20px;
    bottom: 20px;
    width: 70px;
    z-index: 9999;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.15));
}

.whatsapp-icon:hover {
    transform: scale(1.1) rotate(5deg);
}

@media (max-width: 768px) {
    .whatsapp-icon {
        width: 60px;
        bottom: 15px;
        left: 15px;
    }
}

/* ==========================================
   Contact Page
   ========================================== */

/* Helper */
.text-orange { color: var(--main-orange) !important; }

/* Hero */
.contact-page-hero {
    background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 100%);
    padding: 130px 0 70px;
    margin-top: 70px;
}

/* Info Cards */
.contact-info-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: #fff;
    border-radius: 14px;
    padding: 1.2rem 1.4rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-info-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.contact-info-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--main-orange), #f39c12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #fff;
}

.contact-info-label {
    display: block;
    font-weight: 700;
    margin-bottom: 0.2rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #666;
}

.contact-info-link {
    color: var(--main-orange);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.contact-info-link:hover { color: #c0660a; }

.contact-info-text {
    color: #444;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Page body background */
.contact-page-body {
    background: #f9f9f9;
}

/* ==========================================
   About Page
   ========================================== */

/* Hero */
.about-page-hero {
    background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 100%);
    padding: 130px 0 90px;
    margin-top: 70px;
}

/* Vision card (orange gradient) */
.about-vision-card {
    background: linear-gradient(135deg, var(--main-orange), #f39c12);
    color: white;
    border-radius: 16px;
    padding: 2.5rem;
    height: 100%;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.about-vision-card:hover { transform: translateY(-4px); }

/* Mission card (dark) */
.about-mission-card {
    background: #1a1a1a;
    color: white;
    border-radius: 16px;
    padding: 2.5rem;
    height: 100%;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
}

.about-mission-card:hover { transform: translateY(-4px); }

.about-card-icon {
    font-size: 3rem;
}

.about-vision-card .about-card-icon { color: rgba(255,255,255,0.85); }
.about-mission-card .about-card-icon { color: var(--main-orange); }

/* Content section */
.about-content-section { background: #f8f9fa; }

/* Stats section */
.about-stats-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 100%);
}

/* CTA Button */
.btn-cta-about {
    display: inline-block;
    background: linear-gradient(135deg, var(--main-orange), #f39c12);
    color: white;
    padding: 1rem 3rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 6px 20px rgba(var(--main-orange-rgb, 255,140,0), 0.35);
}

.btn-cta-about:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(var(--main-orange-rgb, 255,140,0), 0.5);
    color: white;
}
