@font-face {
    font-family: 'Yekan';
    src: url('/assets/fonts/Yekan.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Yekan', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #2d2d2d;
    line-height: 1.6;
    padding-top: 90px;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 20px;
    z-index: 5;
    overflow-x: hidden
}

/* ==================== Header ==================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 15, 25, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(106, 114, 130, 0.15);
    padding: 16px 0;
    transition: all 0.3s ease;
}

header.scrolled {
    background: rgba(10, 15, 25, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

/* Logo Container */
.header-logos {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-shrink: 0;
    text-decoration: none;
}

.logo_noma,
.logo_mokhaberat {
    position: relative;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform-style: preserve-3d;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.logo_noma.visible,
.logo_mokhaberat.visible {
    opacity: 1;
}


.logo_noma {
    filter: drop-shadow(0 0 8px rgba(0, 166, 147, 0.6));
}

.noma_original,
.mokhaberat_original {
    width: 50px;
    height: 50px;
    z-index: 2;
}

.noma_copy,
.mokhaberat_copy {
    position: absolute;
    width: 50px;
    height: 50px;
    z-index: 1;
    filter: blur(8px);
    animation-delay: 0.1s;
}

@keyframes nomaFlip {
    0% {
        transform: rotateY(0deg);
        scale: 100%;
    }

    75% {
        transform: rotateY(0deg);
        scale: 80%;
    }

    100% {
        transform: rotateY(360deg);
        scale: 100%;
    }
}

@keyframes mokhaberatAnimation {
    0% {
        scale: 100%;
        filter: drop-shadow(0 0 5px rgba(0, 58, 166, 0.75))
    }

    50% {
        scale: 95%;
        filter: drop-shadow(0 0 15px rgba(0, 58, 166, 0.75))
    }

    100% {
        scale: 100%;
        filter: drop-shadow(0 0 5px rgba(0, 58, 166, 0.75))
    }
}

.noma_animation {
    animation: nomaFlip 5s ease-in-out infinite;
}

.mokhaberat_animation {
    animation: mokhaberatAnimation 5s ease-in-out infinite;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 0px 20px 100px;
    color: #ffffff;
}

.heroTitle {
    z-index: 5;
}

.hero-tag {
    color: #00a693;
    font-size: 18px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #ffffff;
    text-shadow: 0 0 30px rgba(0, 166, 147, 0.3);
}

.hero-description {
    max-width: 950px;
    margin: 0 auto;
    font-size: 20px;
    line-height: 1.8;
    color: #ffffff;
    opacity: 0.9;
}

/* Cards Section */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    padding: 0 20px 100px;
    margin-top: -50px;
}

.card {
    background: rgba(20, 30, 48, 0.8);
    border: 1px solid rgba(106, 114, 130, 0.2);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    border-color: #00a693;
    box-shadow: 0 10px 40px rgba(0, 166, 147, 0.2);
}

.card.highlighted {
    border: 2px solid #00a693;
    box-shadow: 0 0 30px rgba(0, 166, 147, 0.15);
}

.card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
    background: rgba(0, 166, 147, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
}

.card.highlighted .card-icon {
    background: rgba(0, 166, 147, 0.2);
    box-shadow: 0 0 20px rgba(0, 166, 147, 0.3);
}

.card h3 {
    font-size: 22px;
    margin-bottom: 20px;
    color: #ffffff;
}

.card p {
    color: #6a7282;
    font-size: 15px;
    line-height: 1.8;
}

/* Footer */
footer {
    background: rgba(10, 15, 25, 0.6);
    padding: 60px 20px 30px;
    border-top: 1px solid rgba(106, 114, 130, 0.1);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand {
    text-align: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.footer-logo h2 {
    color: #ffffff;
    font-size: 24px;
}

.footer-logo span {
    color: #00a693;
    font-size: 14px;
}

.footer-brand p {
    color: #6a7282;
    font-size: 14px;
}

.footer-section h3 {
    color: #ffffff;
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: #6a7282;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 14px;
}

.footer-section ul li a:hover {
    color: #00a693;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background: rgba(106, 114, 130, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6a7282;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 18px;
}

.contactus {
    color: #6a7282;
}

.social-icons a:hover {
    background: #00a693;
    color: #ffffff;
}

.slideshow-section {
    padding: 80px 20px;
}

.slideshow-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.slideshow-images {
    position: relative;
    width: 100%;
    height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slide-image {
    position: absolute;
    height: 550px;
    width: auto;
    max-width: 320px;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: scale(0.85) translateX(0);
    filter: blur(3px);
    z-index: 1;
}

.slide-image.active {
    opacity: 1;
    transform: scale(1) translateX(0);
    filter: blur(0);
    z-index: 3;
}

.slide-image:not(.active):nth-child(1) {
    transform: scale(0.85) translateX(-200px) rotate(-5deg);
    opacity: 0.4;
    z-index: 2;
}

.slide-image:not(.active):nth-child(3) {
    transform: scale(0.85) translateX(200px) rotate(5deg);
    opacity: 0.4;
    z-index: 2;
}

.slideshow-controls {
    position: absolute;
    width: 100%;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
    z-index: 4;
}

.slide-nav {
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid #00a693;
    color: #00a693;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: all;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 166, 147, 0.2);
}

.slide-nav:hover {
    background: #00a693;
    color: white;
    transform: scale(1.1);
}

.slide-indicators {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #d0d0d0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: #00a693;
    width: 30px;
    border-radius: 6px;
}

.indicator:hover {
    background: #00a693;
    opacity: 0.7;
}

.social-follow {
    padding: 70px 20px;
    text-align: center;
}

.social-follow h2 {
    margin-bottom: 30px;
    font-size: 2rem;
    color: #f8f8f8;
}

.social-buttons {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 24px;
    background: #fff;
    border-radius: 16px;
    text-decoration: none;
    color: #222;
    font-weight: 600;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .08);
    transition: .25s ease;
    min-width: 180px;
    justify-content: center;
}

.social-btn img {
    width: 34px;
    height: 34px;
    object-fit: contain;
}

.social-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, .15);
}

.social-btn.bale:hover {
    background: #10b981;
    color: #fff;
}

.social-btn.rubika:hover {
    background: #1d4ed8;
    color: #fff;
}

.hero_aboutus {
    z-index: 5;
    text-align: center;
    color: #ffffff;
}

.hero_contactus {
    margin-top: 80px;
    z-index: 5;
    text-align: center;
    color: #ffffff;
}

/* ===================== FAQ ===================== */
.faq {
    margin-top: 3rem;
}

.faq-item {
    border: 1px solid #e5e5e5;
    border-radius: 0.75rem;
    margin-bottom: 0.75rem;
    overflow: hidden;
    transition: border-color 0.2s ease;
}

.faq-item[open] {
    border-color: #16bba0;
}

.faq-question {
    list-style: none;
    cursor: pointer;
    padding: 1.25rem 1.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: #dadada;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    user-select: none;
}

.sectionfaq {
    color: white;
    margin-block: 40px;
}

.downloadapp {
    text-align: center;
    color: white;
    margin-block: 100px;
}

.downloadoptioncontainer {
    gap: 20px;
    justify-content: center;
}

.downloadoption {
    transition-duration: 200ms;
    cursor: pointer;
}

.downloadoption:hover {
    scale: 120%;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question::after {
    content: '+';
    font-size: 1.75rem;
    font-weight: 400;
    color: #16bba0;
    line-height: 1;
    transition: transform 0.25s ease;
    flex-shrink: 0;
}

.faq-item[open] .faq-question::after {
    content: '−';
    transform: rotate(180deg);
}

.faq-question:hover {
    color: #00a693;
}

.faq-answer {
    padding: 0 1.5rem 1.25rem;
    color: #e4e4e4;
    line-height: 2;
    font-size: 1.125rem;
}

.services-slider {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
}

.services-slider-wrapper {
    overflow-x: auto;
    overflow-y: hidden;
    width: 100%;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -ms-overflow-style: none;
    scrollbar-width: none;
    -webkit-mask-image: linear-gradient(to left, transparent 0%, black 6%, black 94%, transparent 100%);
    mask-image: linear-gradient(to left, transparent 0%, black 6%, black 94%, transparent 100%);
}

.services-slider-wrapper::-webkit-scrollbar {
    display: none;
}

.services-slider-track {
    display: flex;
    flex-direction: row;
    width: max-content;
    padding: 1rem 0;
}

.service-card {
    width: 145px;
    height: 145px;
    flex-shrink: 0;
    margin-inline: 0.625rem;
    scroll-snap-align: start;
    background: rgba(0, 166, 147, 0.08);
    border: 1px solid rgba(0, 166, 147, 0.25);
    border-radius: 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}

.service-card:hover {
    background: rgba(0, 166, 147, 0.2);
    border-color: rgba(0, 166, 147, 0.6);
    transform: scale(1.06);
}

.service-card-icon {
    font-size: 2.2rem;
    line-height: 1;
}

.service-card-title {
    font-size: 0.8rem;
    color: #dadada;
    text-align: center;
    padding: 0 0.4rem;
    line-height: 1.5;
    margin: 0;
}

.slider-nav {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(0, 166, 147, 0.4);
    background: rgba(0, 166, 147, 0.12);
    color: #fff;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s ease, opacity 0.25s ease;
}

.slider-nav:hover {
    background: rgba(0, 166, 147, 0.3);
}

.slider-nav:disabled {
    opacity: 0.3;
    cursor: default;
}

.addslideshow-section {
    width: 100%;
    padding: 40px 16px;
    display: flex;
    justify-content: center;
}

.slideshow {
    position: relative;
    width: 100%;
    max-width: 1000px;
    aspect-ratio: 16 / 7;
    border-radius: 16px;
    overflow: hidden;
    background: #1a1a1a;
}

.slideshow-pointer {
    cursor: pointer;
}

.slides {
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    pointer-events: none;
}

.slide.active {
    opacity: 1;
    pointer-events: auto;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.slideshow-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
    z-index: 2;
}

.slideshow-btn:hover {
    background: rgba(0, 0, 0, 0.7);
}

.slideshow-next {
    left: 14px;
}

.slideshow-prev {
    right: 14px;
}

.slideshow-dots {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 2;
}

.dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.dot.active {
    background: #fff;
    transform: scale(1.2);
}

/* ==================== Desktop Horizontal Navigation ==================== */
.desktop-nav {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-item {
    position: relative;
}

.nav-trigger {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    padding: 12px 20px;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

.nav-trigger::after {
    content: '▼';
    font-size: 10px;
    margin-right: 8px;
    transition: transform 0.3s ease;
}

.nav-item:hover .nav-trigger {
    background: rgba(74, 144, 226, 0.1);
    color: #4a90e2;
}

.nav-item:hover .nav-trigger::after {
    transform: rotate(180deg);
}

.nav-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    min-width: 200px;
    padding: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.nav-item:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown a {
    display: block;
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    padding: 10px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-dropdown a::before {
    content: '';
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 2px;
    background: #4a90e2;
    transition: width 0.3s ease;
}

.nav-dropdown a:hover {
    background: rgba(74, 144, 226, 0.15);
    padding-right: 24px;
    color: #4a90e2;
}

.nav-dropdown a:hover::before {
    width: 6px;
}

/* ==================== Hamburger Menu (Mobile) ==================== */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 22px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    transition: transform 0.3s ease;
}

.hamburger-menu span {
    display: block;
    width: 100%;
    height: 3px;
    background: #fff;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger-menu:hover {
    transform: scale(1.1);
}

.hamburger-menu.active {
    opacity: 0;
}

.menu-overlay {
    position: absolute;
    top: 0;
    height: 100vh;
    right: -150%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    backdrop-filter: blur(10px);
}

.menu-overlay.active {
    width: 100%;
    right: 0;
}

.menu-container {
    width: 100%;
    height: 100%;
    margin-right: auto;
    background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%);
    border-left: 1px solid #2a2a2a;
    padding: 20px;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.5);
    animation: slideInMenu 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideInMenu {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.menu-header {
    display: flex;
    gap: 10px;
    align-items: center;
    padding-bottom: 20px;
    margin-bottom: 24px;
    position: fixed;
}

.menu-header h2 {
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    margin: 0;
}

.menu-close {
    width: 40px;
    height: 40px;
    background: #2a2a2a;
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.menu-close:hover {
    background: #4a90e2;
    transform: rotate(90deg);
}

.menu-nav {
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.menu-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.menu-link {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 16px;
    background: #0d0d0d;
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.menu-link::before {
    content: '';
    position: absolute;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(74, 144, 226, 0.1), transparent);
    transition: right 0.5s ease;
}

.menu-link:hover::before {
    right: 100%;
}

.menu-link:hover {
    background: #1a1a1a;
    border-color: #4a90e2;
    transform: translateX(-4px);
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.2);
}

.menu-link:active {
    transform: translateX(-2px);
}

.menu-icon {
    font-size: 20px;
    width: 28px;
    text-align: center;
    flex-shrink: 0;
}

.menu-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, #2a2a2a, transparent);
    margin: 8px 0;
}

.menu-section-title {
    color: #4a90e2;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 8px 16px;
}

body.menu-open {
    overflow: hidden;
}

/* ==================== Responsive ==================== */
@media (max-width: 968px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .cards {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }

    .hamburger-menu {
        display: flex;
    }

    .slideshow-images {
        height: 500px;
    }

    .slide-image {
        height: 450px;
        max-width: 260px;
    }
}

.enamad-image {
    margin-top: 50px;
    cursor: pointer;
}

/* Container for each logo group */
.noma-logo-big-container,
.mokhaberat-logo-big-container {
    position: absolute;
    top: 150px;
    /* Adjust vertical position */
    width: 300px;
    /* Adjust logo size */
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform-style: preserve-3d;
    opacity: 1;
    transition: opacity 0.4s ease;
}

/* Position left and right */
.noma-logo-big-container {
    left: 100px;
}

.mokhaberat-logo-big-container {
    right: 100px;
}

/* Hidden state when scrolled */
.noma-logo-big-container.hidden,
.mokhaberat-logo-big-container.hidden {
    opacity: 0;
    pointer-events: none;
}

/* Main logo styles */
.noma-logo-big-main,
.mokhaberat-logo-big-main {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: contain;
    z-index: 2;
    animation: rotateMainLogo 14s ease-in-out infinite;
    /* Change 4s to adjust rotation speed */
}


/* Main logo rotation animation */
@keyframes rotateMainLogo {

    0%,
    20% {
        transform: scale(100deg) rotateZ(0deg);
    }

    60% {
        transform: scale(120%) rotateZ(5deg);
    }

    100% {
        transform: scale(100deg) rotateZ(0deg);
    }
}

/* Hide on small screens */
@media (max-width: 768px) {

    .noma-logo-big-container,
    .mokhaberat-logo-big-container {
        display: none;
    }
}