* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #E97E2E;
    --dark: #111312;
    --darker: #030504;
    --light: #ffffff;
    --gray: #888;
}


body {
    background-color: var(--darker);
    color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

html {
    overflow-x: hidden;
    width: 100%;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
button,
input,
textarea,
select,
option,
label,
span,
div {
    font-family: 'Tajawal';
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

/* Header */
header {
    background-color: var(--dark);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

header.scrolled {
    padding: 10px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
    border-radius: 8px;
    width: auto;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Menu */
.mobile-menu-wrapper {
    display: none;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    color: var(--light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

.language-switcher {
    display: flex;
    gap: 10px;
}

.lang-btn {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 8px 15px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s;
}

.lang-btn.active,
.lang-btn:hover {
    background-color: var(--primary);
    color: var(--dark);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, var(--darker) 0%, var(--dark) 100%);
    position: relative;
    padding-top: 80px;
    width: 100%;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(233, 126, 46, 0.1) 0%, transparent 70%);
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: fadeIn 1.2s ease-out;
    width: 100%;
    max-width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(45deg, var(--primary), #ff9a4d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    word-wrap: break-word;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    color: var(--gray);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    word-wrap: break-word;
}

/* About Section */
.about {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--darker) 0%, var(--dark) 50%, var(--darker) 100%);
    position: relative;
    overflow: hidden;
    width: 100%;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(233, 126, 46, 0.08) 0%, transparent 60%);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.about-text {
    animation: slideInLeft 1s ease-out;
}

.about-text h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 30px;
    line-height: 1.3;
}

.about-text p {
    font-size: 1.2rem;
    color: var(--light);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    animation: slideInRight 1s ease-out;
}

.feature-item {
    background: var(--dark);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
}

.feature-item:hover {
    transform: translateY(-10px) scale(1.05);
    border-color: var(--primary);
    box-shadow: 0 15px 40px rgba(233, 126, 46, 0.3);
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 15px;
    display: block;
    transition: transform 0.3s;
}

.feature-item:hover .feature-icon {
    transform: rotateY(360deg);
}

.feature-item h4 {
    color: var(--light);
    font-size: 1rem;
    margin-top: 10px;
}

/* Coming Soon Section */
.coming-soon {
    padding: 80px 0;
    background-color: var(--dark);
    width: 100%;
    overflow: hidden;
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 50px;
    color: var(--primary);
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 50px 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.countdown-item {
    background: linear-gradient(135deg, var(--primary), #d86c1f);
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    min-width: 120px;
    box-shadow: 0 10px 30px rgba(233, 126, 46, 0.3);
    transform: translateY(0);
    transition: transform 0.3s;
    animation: fadeIn 0.8s ease-out backwards;
}

.countdown-item:hover {
    transform: translateY(-10px);
}

.countdown-item:nth-child(1) {
    animation-delay: 0.1s;
}

.countdown-item:nth-child(2) {
    animation-delay: 0.2s;
}

.countdown-item:nth-child(3) {
    animation-delay: 0.3s;
}

.countdown-item:nth-child(4) {
    animation-delay: 0.4s;
}

.countdown-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--dark);
    display: block;
}

.countdown-label {
    font-size: 1rem;
    color: var(--dark);
    font-weight: 600;
    margin-top: 10px;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--dark) 0%, var(--darker) 100%);
    position: relative;
    width: 100%;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 70% 50%, rgba(233, 126, 46, 0.05) 0%, transparent 70%);
}

.contact .container {
    position: relative;
    z-index: 1;
}

.contact-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.contact-intro p {
    font-size: 1.1rem;
    color: var(--gray);
    line-height: 1.8;
    margin-top: 20px;
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.contact-card {
    background: linear-gradient(145deg, var(--darker), var(--dark));
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    animation: fadeIn 0.6s ease-out backwards;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), #ff9a4d);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.contact-card:hover::before {
    transform: scaleX(1);
}

.contact-card:hover {
    transform: translateY(-15px);
    border-color: var(--primary);
    box-shadow: 0 20px 50px rgba(233, 126, 46, 0.25);
}

.contact-card:nth-child(1) {
    animation-delay: 0.1s;
}

.contact-card:nth-child(2) {
    animation-delay: 0.2s;
}

.contact-card:nth-child(3) {
    animation-delay: 0.3s;
}

.contact-icon {
    background: linear-gradient(135deg, var(--primary), #ff9a4d);
    color: var(--dark);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 25px;
    transition: all 0.4s;
    box-shadow: 0 10px 30px rgba(233, 126, 46, 0.3);
}

.contact-card:hover .contact-icon {
    transform: rotateY(360deg) scale(1.1);
}

.contact-card h3 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.4rem;
    font-weight: 600;
}

.contact-card p,
.contact-card a {
    color: var(--light);
    font-size: 1.1rem;
    line-height: 1.6;
    direction: ltr;
}

.contact-card a {
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
}

.contact-card a:hover {
    color: var(--primary);
    transform: scale(1.05);
}

.social-section {
    margin-top: 80px;
    text-align: center;
    padding: 50px;
    background: var(--darker);
    border-radius: 20px;
    border: 2px solid rgba(233, 126, 46, 0.1);
    animation: fadeIn 0.8s ease-out backwards;
    animation-delay: 0.5s;
}

.social-section h3 {
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: 15px;
}

.social-section p {
    color: var(--gray);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.social-links {
    display: flex;
    gap: 25px;
    justify-content: center;
    margin-top: 30px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), #ff9a4d);
    color: var(--dark);
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.8rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(233, 126, 46, 0.3);
    animation: float 3s ease-in-out infinite;
}

.social-link:hover {
    background: var(--light);
    color: var(--primary);
    transform: translateY(-10px) scale(1.1);
    box-shadow: 0 15px 40px rgba(233, 126, 46, 0.4);
}

.social-link:nth-child(1) {
    animation-delay: 0s;
}

.social-link:nth-child(2) {
    animation-delay: 0.5s;
}

.social-link:nth-child(3) {
    animation-delay: 1s;
}

/* Footer */
footer {
    background-color: var(--dark);
    padding: 40px 0 20px;
    text-align: center;
    border-top: 1px solid #333;
    width: 100%;
    overflow: hidden;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-logo img {
    height: 100px;
    border-radius: 20px;
    width: auto;
}

.footer-links {
    display: flex;
    gap: 30px;
    margin: 20px 0;
}

.footer-links a {
    color: var(--gray);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary);
}

.copyright {
    color: var(--gray);
    font-size: 0.9rem;
    margin-top: 20px;
}

/* Language Toggle */
.ar-text {
    display: none;
}

body[dir="rtl"] .en-text {
    display: none;
}

body[dir="rtl"] .ar-text {
    display: block;
}

/* Keyframe Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {

    /* Prevent horizontal scroll */
    html,
    body {
        overflow-x: hidden;
        max-width: 100vw;
        position: relative;
    }

    .container {
        padding: 0 15px;
        width: 100%;
        max-width: 100%;
    }

    /* Header Mobile */
    .hamburger {
        display: flex;
    }

    .header-content>.nav-links,
    .header-content>.language-switcher {
        display: none;
    }

    .mobile-menu-wrapper {
        display: block;
        position: fixed;
        top: 0;
        left: -100%;
        width: 280px;
        height: 100vh;
        background: var(--dark);
        box-shadow: 5px 0 20px rgba(0, 0, 0, 0.5);
        transition: left 0.3s ease;
        z-index: 999;
        padding: 80px 30px 30px;
        overflow-y: auto;
    }

    body[dir="rtl"] .mobile-menu-wrapper {
        left: auto;
        right: -100%;
        transition: right 0.3s ease;
    }

    .mobile-menu-wrapper.active {
        left: 0;
    }

    body[dir="rtl"] .mobile-menu-wrapper.active {
        left: auto;
        right: 0;
    }

    .mobile-menu-wrapper .nav-links {
        flex-direction: column;
        gap: 25px;
        align-items: flex-start;
        margin-bottom: 30px;
        margin-top: 30px;
    }

    .mobile-menu-wrapper .nav-links a {
        font-size: 1.2rem;
        padding: 10px 0;
        width: 100%;
        border-bottom: 1px solid rgba(233, 126, 46, 0.2);
    }

    .mobile-menu-wrapper .language-switcher {
        justify-content: flex-start;
        margin-top: 20px;
    }

    /* Hero Mobile */
    .hero {
        min-height: auto;
        padding: 150px 20px 60px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    /* About Mobile */
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-text h2 {
        font-size: 2rem;
    }

    .about-text p {
        font-size: 1rem;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    /* Countdown Mobile */
    .countdown {
        flex-wrap: wrap;
        gap: 15px;
        padding: 0 10px;
        justify-content: center;
    }

    .countdown-item {
        min-width: 100px;
        max-width: calc(50% - 10px);
        padding: 20px 15px;
        box-sizing: border-box;
    }

    .countdown-number {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
        padding: 0 15px;
        word-wrap: break-word;
    }

    /* Contact Mobile */
    .contact {
        padding: 60px 0;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }

    .contact-card {
        width: 100%;
        box-sizing: border-box;
    }

    .social-section {
        padding: 30px 20px;
        margin-top: 50px;
        width: 100%;
        box-sizing: border-box;
    }

    .social-section h3 {
        font-size: 1.5rem;
    }

    .social-links {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .social-link {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    /* Footer Mobile */
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .footer-logo img {
        height: 80px;
    }


    .about-features {
        grid-template-columns: 1fr 1fr;
    }

    .footer-content {
        gap: 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }



    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
        padding: 0 10px;
    }

    .countdown {
        padding: 0 5px;
    }

    .countdown-item {
        min-width: 70px;
        max-width: calc(50% - 8px);
        padding: 15px 10px;
    }

    .countdown-number {
        font-size: 1.5rem;
    }

    .about-text h2 {
        font-size: 1.8rem;
    }

    .feature-icon {
        font-size: 2.5rem;
    }

    .contact-card {
        padding: 30px 20px;
        width: 100%;
    }

    .contact-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .social-section {
        padding: 25px 15px;
    }

    .social-section h3 {
        font-size: 1.3rem;
    }

    .social-link {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
}