@font-face {
    font-family: "salma";
    src: url("../fonts/SalmaArabic-Regular.otf") format("opentype");
    font-display: swap;
}

:root {
    --brown-primary: #7a5a3f;
    --brown-dark: #5c422e;
    --brown-light: #a67c52;
    --brown-hover: #b78c72;
    --beige: #d5b39b;
    --gold: #c8a97b;
}

body {
    font-family: "Noto Sans Arabic", sans-serif;
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
    background-color: #182432;
    background: #0a0a0a;
    scrollbar-width: none;
    color: #e5e5e5;
}

html[lang="en"] body {
    font-family: "Cairo", sans-serif;
}

html,
body {
    height: 100%;
    scroll-behavior: smooth;
    scroll-snap-type: y mandatory;
    overflow-y: scroll;
}

.snap-section {
    min-height: 100vh;
    scroll-snap-align: start;
    position: relative;
    animation: fadeIn 1s ease-in-out;
}
.nav-scrolled {
    background-color: #5c422e;
    position: fixed;
    top: 0px;
    z-index: 1000;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Side Nav */
.side-nav {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: rgba(122, 90, 63, 0.3);
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--brown-primary);
    transform: scale(1.4);
    box-shadow: 0 0 0 3px var(--brown-light);
}

/* Arrow Animation */
@keyframes bounce-smooth {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(12px);
    }
}

.animate-bounce-smooth {
    animation: bounce-smooth 2.5s infinite ease-in-out;
}

/* Navbar styles */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--brown-primary);
}

.mobile-menu {
    transition: max-height 0.4s ease;
}

/* Brown theme for hovers and borders */
.hover-brown-light:hover {
    color: var(--brown-light) !important;
}

.border-brown {
    border-color: var(--brown-primary) !important;
}

.bg-brown-primary {
    background-color: var(--brown-primary) !important;
}

.bg-brown-dark {
    background-color: var(--brown-dark) !important;
}

.text-brown-light {
    color: var(--brown-light) !important;
}

/* Card hover */
.project-card {
    transition: all 0.4s ease;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(122, 90, 63, 0.2);
}

/* Form styles */
.form-input {
    background: rgba(10, 10, 10, 0.8);
    border: 1px solid var(--brown-light);
    color: white;
}

.form-input:focus {
    border-color: var(--gold);
    outline: none;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--brown-primary);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s;
}

.back-to-top.show {
    opacity: 1;
}

.active {
    border-bottom: 2px solid #c8a97b;
}

.active-project {
    transform: scale(1.1);
    box-shadow:
        0 10px 15px -3px rgba(224, 18, 18, 0.1),
        0 4px 6px -2px rgba(216, 218, 225, 0.05);
    box-shadow: 0 10px 15px -3px #3cd5ff7a;
    border-radius: 10%;
    opacity: 1;
    position: relative;
}

.active-project2 {
    background-image: url("../../image/cir2.svg");
    background-size: contain;
}

/*swiper  */
.mySwiper {
    width: 100%;
    height: auto !important;
    padding-bottom: 90px !important;
    padding-top: 20px !important;
}

.mySwiper .swiper-slide img {
    display: block;
    width: 320px;
    height: 320px;
    border-radius: 60px;
}

.mySwiper .swiper-slide {
    width: 320px !important;
    height: 320px !important;
    border-radius: 60px;
    filter: brightness(0.3);
}

.mySwiper2 .swiper-slide {
    width: 200px !important;
    height: 200px !important;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mySwiper2 .swiper-slide img {
    width: 100% !important;
    height: 100% !important;
}

.mySwiper .swiper-slide-active {
    filter: brightness(1);
}

#phone-dropdown:focus,
#phone-input:focus .contact-input:focus {
    outline: none;
    box-shadow: none;
    border-color: transparent;
}

.mySwiper3 .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}
