:root {
    --gold: #D4AF37;
    --dark-green: #0d2419;
    --black: #000000;
    --white: #ffffff;
    --light-gold: #F4D03F;
    --dark-gold: #B8940F;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Cairo', sans-serif;
}

body {
    font-family: 'Cairo', sans-serif;
    background: var(--black);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* WhatsApp Button */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 998;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: whatsappPulse 2s infinite;
}

.whatsapp-btn:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-btn svg {
    width: 32px;
    height: 32px;
    fill: var(--white);
}

@keyframes whatsappPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    50% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
}

/* Navigation */
.navbar {
    background: rgba(13, 36, 25, 0.95);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 999;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    transition: all 0.3s ease;
}

.navbar:hover {
    background: rgba(13, 36, 25, 0.98);
    border-bottom-color: rgba(212, 175, 55, 0.4);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    min-height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    position: absolute;
    left: 20px !important;
    right: auto !important;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    direction: ltr !important;
    transition: opacity 0.3s ease;
}

.logo:hover {
    opacity: 0.9;
}

.logo-img {
    height: 50px;
    width: auto;
    display: block;
    max-width: 250px;
    object-fit: contain;
}

.logo-text {
    color: var(--gold);
    font-size: 28px;
    font-weight: 900;
    margin: 0;
    display: none;
    white-space: nowrap;
    letter-spacing: 0.5px;
}

.logo h1 {
    color: var(--gold);
    font-size: 28px;
    font-weight: 900;
    margin: 0;
    white-space: nowrap;
    letter-spacing: 0.5px;
}

@media (min-width: 769px) {
    .logo-text {
        display: block;
        font-size: 32px;
    }
    
    .logo h1 {
        font-size: 32px;
    }
    
    .logo-img {
        display: none;
    }
}

/* Language Dropdown */
.lang-dropdown {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1001;
    direction: ltr !important;
    margin-left: auto;
}

.lang-btn {
    padding: 10px;
    background: transparent;
    color: var(--gold);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-weight: 700;
    font-size: 20px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}

.lang-btn:hover {
    color: var(--light-gold);
    opacity: 0.9;
}

.lang-icon {
    font-size: 24px;
    display: block;
}

.lang-text {
    display: none;
}

.lang-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: auto !important;
    background: rgba(13, 36, 25, 0.98);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 12px;
    list-style: none;
    padding: 8px 0;
    margin: 0;
    min-width: 150px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1002;
    backdrop-filter: blur(20px);
    direction: ltr !important;
}

.lang-dropdown.active .lang-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-menu li {
    margin: 0;
    padding: 0;
}

.lang-option {
    display: block;
    padding: 12px 20px;
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.lang-option:last-child {
    border-bottom: none;
}

.lang-option:hover {
    background: rgba(212, 175, 55, 0.1);
    color: var(--gold);
    padding-right: 25px;
}

.lang-option.active {
    background: rgba(212, 175, 55, 0.15);
    color: var(--gold);
    font-weight: 700;
}

/* Nav Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    gap: 5px;
    z-index: 1002;
    position: absolute;
    right: 80px;
    top: 50%;
    transform: translateY(-50%);
    min-width: 44px;
    min-height: 44px;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.nav-toggle:hover {
    background: rgba(212, 175, 55, 0.1);
}

.nav-toggle-icon {
    width: 24px;
    height: 3px;
    background: var(--gold);
    border-radius: 3px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
    background: var(--light-gold);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon:nth-child(2) {
    opacity: 0;
    transform: translateX(-8px);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
    background: var(--light-gold);
}

/* Nav Menu */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
    margin: 0;
    padding: 0;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
}

.nav-menu li {
    transition: transform 0.2s ease;
}

.nav-menu li:hover {
    transform: translateY(-2px);
}

.nav-menu a {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 17px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 8px 0;
    display: block;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-menu a:hover {
    color: var(--gold);
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slider {
    position: absolute;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background: linear-gradient(135deg, var(--dark-green) 0%, var(--black) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(212, 175, 55, 0.1) 0%, transparent 50%);
    opacity: 0.5;
}

.slide-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 20px;
    max-width: 900px;
    animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-content h2 {
    font-size: 52px;
    font-weight: 900;
    color: var(--gold);
    margin-bottom: 25px;
    text-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
    line-height: 1.2;
}

.slide-content p {
    font-size: 20px;
    margin-bottom: 35px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
}

.btn-primary {
    display: inline-block;
    padding: 16px 45px;
    background: var(--gold);
    color: var(--black);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid var(--gold);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before {
    width: 400px;
    height: 400px;
}

.btn-primary:hover {
    background: transparent;
    color: var(--gold);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.4);
}

.btn-primary:active {
    transform: translateY(-2px);
}

/* Slider Controls */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(13, 36, 25, 0.6);
    border: 2px solid rgba(212, 175, 55, 0.3);
    color: var(--gold);
    width: 55px;
    height: 55px;
    border-radius: 50%;
    font-size: 32px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-btn:hover {
    background: var(--gold);
    color: var(--black);
    transform: translateY(-50%) scale(1.1);
    border-color: var(--gold);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.5);
}

.slider-btn.prev {
    right: 30px;
}

.slider-btn.next {
    left: 30px;
}

.slider-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--gold);
    box-shadow: 0 0 15px var(--gold);
    transform: scale(1.3);
}

.dot:hover {
    background: var(--light-gold);
    transform: scale(1.2);
}

/* Sections */
section {
    padding: 100px 0;
}

.section-title {
    font-size: 45px;
    font-weight: 900;
    color: var(--gold);
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    padding-bottom: 25px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    border-radius: 2px;
}

/* About Section */
.about {
    background: linear-gradient(180deg, var(--black) 0%, var(--dark-green) 100%);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 0%, rgba(212, 175, 55, 0.05) 0%, transparent 50%);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.about-content p {
    font-size: 19px;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.9);
}

/* Services Section */
.services {
    background: var(--black);
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: linear-gradient(135deg, rgba(13, 36, 25, 0.8) 0%, rgba(0, 0, 0, 0.6) 100%);
    padding: 45px 35px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(212, 175, 55, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.1), transparent);
    transition: left 0.6s ease;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    border-color: var(--gold);
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(212, 175, 55, 0.3);
    background: linear-gradient(135deg, rgba(13, 36, 25, 0.9) 0%, rgba(0, 0, 0, 0.7) 100%);
}

.service-icon {
    font-size: 55px;
    margin-bottom: 25px;
    filter: drop-shadow(0 4px 10px rgba(212, 175, 55, 0.3));
}

.service-card h3 {
    color: var(--gold);
    font-size: 24px;
    margin-bottom: 18px;
    font-weight: 700;
}

.service-card p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    font-size: 16px;
}

/* Contact Section */
.contact {
    background: linear-gradient(180deg, var(--dark-green) 0%, var(--black) 100%);
    position: relative;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 50px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px;
    background: rgba(212, 175, 55, 0.05);
    border-radius: 15px;
    border-right: 3px solid var(--gold);
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(212, 175, 55, 0.08);
    transform: translateX(-5px);
}

.contact-icon {
    font-size: 32px;
    min-width: 45px;
}

.contact-item h4 {
    color: var(--gold);
    margin-bottom: 8px;
    font-weight: 700;
    font-size: 18px;
}

.contact-item p,
.contact-item a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 16px;
}

.contact-item a[href^="tel:"] {
    direction: ltr;
    unicode-bidi: embed;
}

.contact-item a:hover {
    color: var(--gold);
}

.contact-form {
    background: rgba(0, 0, 0, 0.4);
    padding: 45px;
    border-radius: 20px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    backdrop-filter: blur(10px);
}

.form-group {
    position: relative;
    margin-bottom: 30px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 12px;
    color: var(--white);
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-group input[type="tel"] {
    direction: ltr;
    unicode-bidi: embed;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.form-group label {
    position: absolute;
    top: 18px;
    right: 18px;
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
    pointer-events: none;
    font-size: 16px;
}

.form-group input:focus + label,
.form-group input:valid + label,
.form-group textarea:focus + label,
.form-group textarea:valid + label {
    top: -12px;
    right: 12px;
    font-size: 13px;
    color: var(--gold);
    background: var(--dark-green);
    padding: 0 8px;
}

/* Footer */
.footer {
    background: var(--black);
    padding: 35px 0;
    text-align: center;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.footer p {
    color: var(--gold);
    font-weight: 600;
    font-size: 16px;
}

/* Responsive Design */
/* iPad and Tablet */
@media (min-width: 769px) and (max-width: 1024px) {
    .logo-img {
        max-width: 200px;
        height: 45px;
    }
    
    .logo-text,
    .logo h1 {
        font-size: 26px;
    }
    
    .nav-menu {
        gap: 25px;
        font-size: 15px;
    }
    
    .nav-menu a {
        font-size: 15px;
    }
    
    .lang-dropdown {
        right: 15px;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 9px 0;
    }
    
    .navbar .container {
        min-height: 42px;
    }
    
    .logo-img {
        max-width: 216px;
        height: 48px;
    }
    
    .logo-text,
    .logo h1 {
        font-size: 28.8px;
    }
    
    .logo {
        left: 12px !important;
    }
    
    .lang-dropdown {
        right: 9px;
    }
    
    .lang-btn {
        width: 27px;
        height: 27px;
        padding: 5px;
    }
    
    .lang-icon {
        font-size: 14px;
    }
    
    .lang-menu {
        right: 0;
        left: auto !important;
        min-width: 130px;
    }
    
    .nav-toggle {
        display: flex;
        right: 42px;
        min-width: 26px;
        min-height: 26px;
        padding: 5px;
        gap: 3px;
    }
    
    .nav-toggle-icon {
        width: 18px;
        height: 2px;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: rgba(13, 36, 25, 0.98);
        flex-direction: column;
        gap: 0;
        padding: 54px 15px 15px;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -2px 0 20px rgba(0, 0, 0, 0.6);
        z-index: 1000;
        border-left: 2px solid var(--gold);
        display: none;
        backdrop-filter: blur(20px);
    }
    
    .nav-menu.active {
        right: 0;
        display: flex;
    }
    
    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid rgba(212, 175, 55, 0.15);
    }
    
    .nav-menu a {
        display: block;
        padding: 12px 0;
        width: 100%;
        font-size: 10.8px;
    }
    
    .nav-menu a::after {
        display: none;
    }
    
    .hero {
        height: 80vh;
    }
    
    .slide-content h2 {
        font-size: 36px;
    }
    
    .slide-content p {
        font-size: 17px;
    }
    
    .btn-primary {
        padding: 14px 35px;
        font-size: 16px;
    }
    
    .slider-btn {
        width: 45px;
        height: 45px;
        font-size: 28px;
    }
    
    .slider-btn.prev {
        right: 15px;
    }
    
    .slider-btn.next {
        left: 15px;
    }
    
    section {
        padding: 70px 0;
    }
    
    .section-title {
        font-size: 35px;
        margin-bottom: 40px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .service-card {
        padding: 35px 25px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-form {
        padding: 35px;
    }
    
    .whatsapp-btn {
        bottom: 20px;
        left: 20px;
        width: 55px;
        height: 55px;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 7px 0;
    }
    
    .navbar .container {
        min-height: 36px;
    }
    
    .logo-img {
        max-width: 180px;
        height: 42px;
    }
    
    .logo-text,
    .logo h1 {
        font-size: 24px;
    }
    
    .logo {
        left: 10px !important;
    }
    
    .lang-dropdown {
        right: 8px;
    }
    
    .lang-btn {
        width: 24px;
        height: 24px;
        padding: 4px;
    }
    
    .lang-icon {
        font-size: 12px;
    }
    
    .nav-toggle {
        right: 38px;
        min-width: 24px;
        min-height: 24px;
        padding: 4px;
    }
    
    .nav-toggle-icon {
        width: 16px;
        height: 2px;
    }
    
    .slide-content h2 {
        font-size: 28px;
    }
    
    .slide-content p {
        font-size: 15px;
    }
    
    .section-title {
        font-size: 28px;
    }
}

@media (min-width: 1025px) {
    .nav-menu {
        display: flex !important;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .lang-dropdown {
        right: 20px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .nav-menu {
        display: flex !important;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        gap: 25px;
    }
    
    .logo {
        left: 15px !important;
    }
    
    .lang-dropdown {
        right: 15px;
    }
}

