﻿@import url("https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400;500;700;800;900&display=swap");
:root {
    --base-100: #2e2e2e;
    --base-200: #4e4e4e;
    --base-300: #f5f5f5;
    --nw-acc: #D47328;
    --nw-s-pad: clamp(4rem, 10vw, 10rem);
    --nw-c-pad: clamp(1.5rem, 5vw, 4rem);
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
input, textarea, button, h1, h2, h3, h4, h5, h6 {
    font-family: inherit;
}
html.lenis,
html.lenis body {
    height: auto;
}
html,
body {
    overflow-x: hidden;
    width: 100%;
    direction: rtl;
    text-align: right;
}
body {
    font-family: "Tajawal", sans-serif;
    background-color: var(--base-300);
}
::selection {
    background-color: rgba(212, 115, 40, 0.25);
    color: var(--base-100);
}
::-moz-selection {
    background-color: rgba(212, 115, 40, 0.25);
    color: var(--base-100);
}
::-webkit-scrollbar {
    width: 4px;
}
::-webkit-scrollbar-track {
    background: var(--base-300);
}
::-webkit-scrollbar-thumb {
    background: rgba(212, 115, 40, 0.4);
    border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover {
    background: #D47328;
}
.btn,
.form-submit-btn {
    position: relative;
    display: flex;
    align-items: center;
    gap: clamp(0.5rem, 1.5vw, 1rem);
    padding: clamp(0.35rem, 1vw, 0.5rem) clamp(1rem, 3vw, 2rem) clamp(0.35rem, 1vw, 0.5rem) clamp(0.35rem, 1vw, 0.5rem) !important;
    border-radius: 4rem;
    background-color: var(--base-300);
    color: var(--base-100);
    border: 1px solid rgba(24, 23, 23, 0.12);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    width: max-content;
    text-decoration: none;
}
.btn:hover,
.form-submit-btn:hover {
    background-color: #ffffff !important;
    color: var(--base-100) !important;
    border-color: var(--nw-acc) !important;
    transform: translateY(-3px);
}
.btn .btn-label span,
.form-submit-btn .btn-label span {
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    color: inherit !important;
}
.btn .btn-icon,
.form-submit-btn .btn-icon {
    width: clamp(2.2rem, 5vw, 2.8rem) !important;
    height: clamp(2.2rem, 5vw, 2.8rem) !important;
    background-color: var(--nw-acc) !important;
    color: #fff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.btn:hover .btn-icon,
.form-submit-btn:hover .btn-icon {
    transform: scale(1.1);
}
.btn .btn-icon ion-icon,
.form-submit-btn .btn-icon ion-icon {
    font-size: clamp(1rem, 2.5vw, 1.5rem) !important;
    transform: rotate(180deg); 
}
.contact-section-premium {
    position: relative;
    width: 100%;
    background-color: var(--base-300);
    color: var(--base-100);
    padding: 3rem 4rem 4rem 4rem;
    border-radius: 0 0 3rem 3rem;
    z-index: 25;
}
.contact-container {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 7rem;
    display: flex;
    justify-content: space-between;
    gap: 6rem;
}
.contact-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 600px;
    text-align: right;
}
.contact-label {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--nw-acc);
}
.contact-title {
    font-size: clamp(2.5rem, 4vw, 4.2rem);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.03em;
}
.contact-title em {
    font-style: normal;
    color: var(--nw-acc);
    font-weight: 400;
}
.contact-sub {
    font-size: 1.15rem;
    opacity: 0.7;
    margin-bottom: 2rem;
    line-height: 1.6;
}
.contact-form-wrapper {
    flex: 1.2;
    display: flex;
    flex-direction: column;
    background: transparent;
}
.premium-form {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}
.form-row {
    display: flex;
    gap: 2rem;
}
.form-row .form-group {
    flex: 1;
}
.form-group {
    position: relative;
    display: flex;
    flex-direction: column;
}
.form-group input,
.form-group textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(24, 23, 23, 0.2);
    padding: 1rem 0;
    font-size: 1.05rem;
    font-family: inherit;
    color: var(--base-100);
    transition: border-color 0.3s ease;
    resize: none;
    text-align: right;
}
.form-group label {
    position: absolute;
    top: 1rem;
    right: 0; 
    font-size: 1rem;
    color: rgba(24, 23, 23, 0.6);
    pointer-events: none;
    transition: all 0.3s ease;
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-bottom-color: var(--nw-acc);
}
.form-group input:focus~label,
.form-group input:not(:placeholder-shown)~label,
.form-group textarea:focus~label,
.form-group textarea:not(:placeholder-shown)~label {
    top: -1.2rem;
    font-size: 0.85rem;
    color: var(--nw-acc);
    font-weight: 600;
}
.form-footer-action {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 1rem;
}
.form-consent {
    flex: 1;
    text-align: right;
}
.custom-checkbox {
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    font-size: 0.95rem;
    color: rgba(24, 23, 23, 0.7);
}
.custom-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}
.checkmark {
    width: 24px;
    height: 24px;
    border: 1px solid rgba(24, 23, 23, 0.3);
    border-radius: 4px;
    position: relative;
    flex-shrink: 0;
    transition: all 0.3s ease;
    background-color: transparent;
}
.checkmark::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 8px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg) scale(0);
    opacity: 0;
    transition: all 0.2s cubic-bezier(0.12, 0.4, 0.29, 1.46);
}
.custom-checkbox:hover .checkmark {
    border-color: var(--nw-acc);
}
.custom-checkbox input:checked~.checkmark {
    background-color: var(--nw-acc);
    border-color: var(--nw-acc);
}
.custom-checkbox input:checked~.checkmark::after {
    transform: rotate(45deg) scale(1);
    opacity: 1;
}
.form-submit-btn {
    margin-right: auto; 
}
.consent-text a {
    color: var(--nw-acc);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(212, 115, 40, 0.25);
}
.consent-text a:hover {
    color: var(--base-100);
    border-bottom-color: var(--nw-acc);
}
.menu-btn {
    position: fixed;
    bottom: clamp(1.5rem, 5vw, 2.5rem);
    left: 50%;
    transform: translateX(-50%);
    z-index: 20000;
    width: max-content;
    pointer-events: auto;
    transition: transform 0.4s ease;
}
.menu-btn.active .btn {
    background-color: #ffffff;
    border-color: var(--nw-acc);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}
.menu-btn .btn {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.menu-btn.active .btn .btn-label span {
    color: var(--base-100);
}
.nw-footer {
    position: relative;
    background-color: var(--base-100);
    color: var(--base-300);
    padding: 0;
    z-index: 20;
    margin-top: -3rem;
    padding-top: 3rem;
}
.nw-footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 4rem;
    padding: var(--nw-s-pad) var(--nw-c-pad) 0.5rem var(--nw-c-pad);
    max-width: 1400px;
    margin: 0 auto;
}
.nw-footer-col {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.nw-logo-img {
    height: 45px;
    width: auto;
    filter: brightness(0) invert(1);
}
.nw-footer-about {
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0.6;
    max-width: 320px;
}
.nw-footer-socials {
    display: flex;
    gap: 1rem;
}
.nw-footer-socials a {
    width: 3rem;
    height: 3rem;
    border: 1px solid rgba(245, 245, 245, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--base-300);
    font-size: 1.2rem;
    transition: all 0.4s ease;
    text-decoration: none;
}
.nw-footer-socials a:hover {
    border-color: var(--nw-acc);
    color: var(--nw-acc);
    transform: translateY(-5px);
}
.nw-footer-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}
.nw-footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.nw-footer-links a {
    color: var(--base-300);
    text-decoration: none;
    font-size: 1.1rem;
    opacity: 0.6;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}
.nw-footer-links a::before {
    content: "\2190"; 
    position: absolute;
    right: -15px;
    opacity: 0;
    transition: all 0.3s ease;
    color: var(--nw-acc);
    font-weight: bold;
}
.nw-footer-links a:hover {
    opacity: 1;
    color: var(--nw-acc);
    padding-right: 20px; 
}
.nw-footer-links a:hover::before {
    right: 0;
    opacity: 1;
}
.nw-contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
    opacity: 0.7;
}
.nw-contact-item ion-icon {
    font-size: 1.4rem;
    color: var(--nw-acc);
}
.nw-footer-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 3rem;
    margin-top: 4rem;
    border-top: 1px solid rgba(245, 245, 245, 0.05);
    font-size: 0.9rem;
    opacity: 0.4;
    text-align: center;
}
@media (hover: hover) and (pointer: fine) {
    body.has-custom-cursor,
    body.has-custom-cursor * {
        cursor: none !important;
    }
}
.cursor-dot,
.cursor-ring {
    position: fixed;
    top: 0; left: 0;
    pointer-events: none;
    z-index: 999999;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.cursor-dot {
    width: 6px; height: 6px;
    background-color: var(--nw-acc);
    margin-left: -3px; margin-top: -3px;
    transition: width 0.25s ease, height 0.25s ease, background-color 0.25s ease;
}
.cursor-ring {
    width: 36px; height: 36px;
    border: 1.5px solid rgba(212, 115, 40, 0.4);
    margin-left: -18px; margin-top: -18px;
    transition: width 0.3s ease, height 0.3s ease, margin 0.3s ease, border 0.3s ease, background-color 0.3s ease;
}
.cursor-hover .cursor-ring {
    width: 60px; height: 60px;
    margin-left: -30px; margin-top: -30px;
    background-color: rgba(212, 115, 40, 0.05);
    border-color: var(--nw-acc);
}
.cursor-hover .cursor-dot {
    transform: scale(1.5);
}
.cursor-clicking .cursor-ring {
    transform: scale(0.8);
    background-color: rgba(212, 115, 40, 0.2);
}
.cursor-text .cursor-dot {
    opacity: 1;
    width: 2px; height: 24px;
    margin-left: -1px; margin-top: -12px;
    border-radius: 2px;
}
.cursor-on-dark .cursor-dot { background-color: #fff; }
.cursor-on-dark .cursor-ring { border-color: rgba(255, 255, 255, 0.4); }
.cursor-on-dark.cursor-hover .cursor-dot { background-color: var(--nw-acc) !important; }
.cursor-on-dark.cursor-hover .cursor-ring { border-color: var(--nw-acc) !important; background-color: rgba(212, 115, 40, 0.1); }
.menu-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; 
    height: 100vh;
    height: 100svh;
    background-color: #363636;
    z-index: 10000;
    display: flex;
    padding: 1rem;
    gap: 1rem;
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    pointer-events: none;
}
.menu-left {
    flex: 1.2;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 3.5rem;
    padding: 2.5rem 1.5rem 2.5rem 0; 
    color: #fff;
}
.menu-brand {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1rem, 2vw, 1.4rem);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}
.menu-links {
    display: flex;
    flex-direction: column;
    gap: 0;
    overflow: hidden;
}
.menu-link-item {
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.menu-link-item:first-child { border-top: 1px solid rgba(255, 255, 255, 0.08); }
.menu-link-item a {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    font-size: clamp(1.2rem, 4vw, 4rem);
    font-weight: 400;
    line-height: 1;
    padding: 0.35em 0;
    transform: translateY(110%);
    transition: color 0.3s ease, letter-spacing 0.4s ease;
    position: relative;
}
.menu-link-item a:hover {
    color: var(--nw-acc);
    letter-spacing: -0.02em;
}
.menu-link-item a sup {
    position: absolute;
    right: 0; 
    left: auto;
    font-size: clamp(1rem, 2.2vw, 2rem);
    opacity: 0.6;
    letter-spacing: 0.1rem;
    font-family: sans-serif;
}
.close-btn {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20001;
    pointer-events: auto !important;
}
.menu-footer {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}
.social-links { display: flex; gap: 0.6rem; }
.social-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.4s ease;
}
.social-icon:hover {
    border-color: var(--nw-acc);
    color: var(--nw-acc);
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(212, 115, 40, 0.2);
}
.menu-right {
    flex: 0.75;
    border-radius: 3rem;
    overflow: hidden;
    background: #222;
}
@media (max-width: 1024px) {
    .contact-section-premium { padding: 4rem 3rem 6rem; }
    .contact-container { flex-direction: column; gap: 4rem; }
    .contact-info { max-width: 100%; text-align: center; }
    .contact-title { font-size: clamp(2.5rem, 5vw, 3.5rem); }
    .nw-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem 2rem;
        padding: 6rem 2rem 3rem;
    }
    .btn, .form-submit-btn {
        padding: 0.5rem 1.8rem 0.5rem 0.5rem !important;
        gap: 1rem !important;
    }
    .btn .btn-label span, .form-submit-btn .btn-label span {
        font-size: 0.95rem !important;
    }
    .btn .btn-icon, .form-submit-btn .btn-icon {
        width: 2.6rem !important;
        height: 2.6rem !important;
    }
    .btn .btn-icon ion-icon, .form-submit-btn .btn-icon ion-icon {
        font-size: 1.15rem !important;
    }
}
@media (max-width: 900px) {
    .menu-right { flex: 0.5; border-radius: 2rem; }
    .menu-link-item a { padding: 0.6em 0; }
    .menu-left { gap: 3rem; }
}
@media (max-width: 768px) {
    .contact-section-premium { padding: 3rem 1.5rem 5rem; border-radius: 0 0 2rem 2rem; }
    .contact-container { gap: 3rem; }
    .form-row {
        flex-direction: column;
        gap: 2rem;
    }
    .form-footer-action {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
        text-align: center;
    }
    .form-submit-btn {
        width: 100% !important;
        justify-content: space-between !important;
        margin-right: 0 !important;
    }
    .form-consent {
        width: 100%;
        display: flex;
        justify-content: center;
    }
}
@media (max-width: 640px) {
    .menu-right { display: none; }
    .menu-left { 
        flex: 1; 
        padding: 3rem 1.5rem 8rem;
        justify-content: space-between;
        height: 100%;
    }
    .menu-brand {
        margin-bottom: 0;
    }
    .menu-links {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    .menu-link-item a { 
        font-size: clamp(1.4rem, 8vw, 2.5rem); 
        padding: 0.8em 0;
    } 
    .nw-footer-grid {
        grid-template-columns: 1fr;
        padding: 5rem 1.5rem 3rem;
        gap: 3rem;
    }
    .nw-footer-col {
        text-align: right;
        align-items: right;
    }
    .nw-footer-links {
        align-items: right;
    }
    .nw-footer-bottom {
        padding: 2rem 1.5rem;
    }
    .btn, .form-submit-btn {
        padding: 0.4rem 1.2rem 0.4rem 0.4rem !important;
        gap: 0.8rem !important;
    }
    .btn .btn-label span, .form-submit-btn .btn-label span {
        font-size: 0.85rem !important;
    }
    .btn .btn-icon, .form-submit-btn .btn-icon {
        width: 2.1rem !important;
        height: 2.1rem !important;
    }
    .btn .btn-icon ion-icon, .form-submit-btn .btn-icon ion-icon {
        font-size: 1rem !important;
    }
    .contact-section-premium { padding-top: 8rem; }
}
