@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700;900&family=Almarai:wght@300;400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&family=Montserrat:wght@400;600;700&display=swap');
html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px; 
}
/* CSS Variables */
:root {
    /* Primary Colors */
    --color-primary: #2C3E50;
    --color-accent: #f0c474;

    /* Background Colors */
    --bg-white: #FAFAFA;
    --bg-card: #FFFFFF;
    --bg-hover: #EEEEEE;

    /* Text Colors */
    --text-primary: #212121;
    --text-secondary: #424242;
    --text-white: #FFFFFF;

    /* Navbar Colors */
    --navbar-gradient-start: #f7971e;
    --navbar-gradient-mid: #ffd200;
    --navbar-gradient-end: #f7971e;

    /* Dropdown Menu Colors */
    --dropdown-bg-start: #f7971e;
    --dropdown-bg-mid: #ecab1f;
    --dropdown-bg-end: #f7971e;

    /* Accent Gradients */
    --accent-yellow-gradient: linear-gradient(135deg, #FFC107 0%, #f0c474 100%);
    --accent-gradient-start: #FFC107;
    --accent-gradient-end: #f0c474;

    /* Border Colors */
    --border-color: #E0E0E0;
    --border-accent: #f0c474;

    /* Shadow Colors */
    --shadow-sm: 0 2px 8px rgba(44, 62, 80, 0.08);
    --shadow-md: 0 4px 16px rgba(44, 62, 80, 0.12);
    --shadow-lg: 0 8px 24px rgba(44, 62, 80, 0.18);

    /* Transitions */
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}



body {
    font-family: 'Almarai', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.8;
    color: var(--text-primary);
    background-color: var(--bg-white);
    overflow-x: hidden;
    padding-top: 80px;
}

h1,
h2,
h3,
h4,
h5,
h6,
.company-name,
section h2,
.activity-card h3 {
    font-family: 'Cairo', 'Montserrat', 'Segoe UI', sans-serif;
    font-weight: 700;
}

[dir="ltr"] body {
    font-family: 'Roboto', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

[dir="ltr"] h1,
[dir="ltr"] h2,
[dir="ltr"] h3,
[dir="ltr"] h4,
[dir="ltr"] h5,
[dir="ltr"] h6,
[dir="ltr"] .company-name,
[dir="ltr"] section h2,
[dir="ltr"] .activity-card h3 {
    font-family: 'Montserrat', 'Segoe UI', sans-serif;
    font-weight: 700;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    background: linear-gradient(135deg, var(--navbar-gradient-start) 0%, var(--navbar-gradient-mid) 50%, var(--navbar-gradient-end) 100%);
    box-shadow: 0 4px 20px rgba(247, 151, 30, 0.4);
}

[data-theme="dark"] header {
    background: linear-gradient(135deg, #c79100 0%, #ffb700 50%, #c79100 100%);
    box-shadow: 0 4px 20px rgba(199, 145, 0, 0.5);
}

.navbar {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.logo {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-normal);
}

.logo:hover {
    transform: scale(1.1) rotate(8deg);
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.company-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-white);
    white-space: nowrap;
    transition: all var(--transition-normal);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

.company-name:hover {
    transform: translateY(-3px) scale(1.02);
    text-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
    filter: brightness(1.1);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
    flex: 1;
    justify-content: center;
}

.nav-menu li a {
    color: var(--text-white);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all var(--transition-fast);
    position: relative;
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--text-white);
    transition: width var(--transition-normal);
}

.nav-menu li a:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.nav-menu li a:hover::after {
    width: 80%;
}

.navbar-controls {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.theme-toggle,
.lang-toggle {
    background: rgba(255, 255, 255, 0.25);
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: var(--text-white);
    padding: 0.5rem 1rem;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 45px;
    backdrop-filter: blur(10px);
}

.theme-toggle:hover,
.lang-toggle:hover {
    background: rgba(255, 255, 255, 0.4);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-3px) scale(1.08);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.theme-icon {
    font-size: 1.1rem;
    transition: transform var(--transition-normal);
}

.theme-toggle:hover .theme-icon {
    transform: rotate(20deg) scale(1.1);
}

.burger-menu {
    display: none;
    flex-direction: column;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    gap: 5px;
    transition: all var(--transition-normal);
}

.burger-menu:hover {
    transform: scale(1.15);
}

.burger-menu span {
    width: 25px;
    height: 3px;
    background-color: var(--text-white);
    border-radius: 3px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.burger-menu.active {
    transform: scale(1.1);
}

.burger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
    transition-delay: 0.1s;
}

.burger-menu.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-40px);
    transition-delay: 0s;
}

.burger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
    transition-delay: 0.1s;
}

/* Sections */
section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
    background-color: var(--bg-white);
    margin-bottom: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

section::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(243, 156, 18, 0.05), transparent);
    transition: left var(--transition-slow);
}

section:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

section:hover::before {
    left: 100%;
}

section:hover::after {
    right: 100%;
}

section:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

section h2 {
    color: var(--color-primary);
    margin-bottom: 2rem;
    font-size: 2.2rem;
    border-bottom: 3px solid var(--color-accent);
    padding-bottom: 1rem;
    position: relative;
    font-weight: 700;
}

section h2::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--accent-yellow-gradient);
    transition: width var(--transition-normal);
}

section:hover h2::after {
    width: 120px;
}

section p {
    font-size: 1.15rem;
    line-height: 2;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.about-text p {
    text-align: justify;
    font-size: 1.2rem;
}

.about-text strong {
    color: var(--color-primary);
    font-weight: 700;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.about-image {
    background: var(--bg-card);
    height: 300px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    padding: 1rem;
    border: 2px solid var(--border-color);
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform var(--transition-normal);
}

.about-image:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-accent);
}

.about-image:hover img {
    transform: scale(1.05);
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.activity-card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    transition: all var(--transition-normal);
    border: 2px solid var(--border-color);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.activity-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    transition: all var(--transition-normal);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.activity-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(240, 196, 116, 0.15), transparent);
    transition: left var(--transition-slow);
    z-index: 0;
}

.activity-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(240, 196, 116, 0.15), transparent);
    transition: right var(--transition-slow);
    z-index: 0;
}

.activity-card>* {
    position: relative;
    z-index: 1;
}

.activity-card:hover::before {
    left: 100%;
}

.activity-card:hover::after {
    right: 100%;
}

.activity-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-accent);
    background: var(--bg-hover);
}

.activity-card:hover .activity-icon {
    transform: scale(1.15) rotate(5deg);
    filter: drop-shadow(0 6px 12px rgba(240, 196, 116, 0.4));
}

.activity-card h3 {
    color: var(--color-primary);
    margin-bottom: 1rem;
    transition: color var(--transition-normal);
    font-size: 1.4rem;
    font-weight: 700;
}

.activity-card:hover h3 {
    color: var(--color-accent);
}

.activity-card p {
    font-size: 1.05rem;
    line-height: 1.8;
}

.contact-container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.map-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background-color: var(--bg-card);
    border-radius: 12px;
    transition: all var(--transition-normal);
    border: 2px solid var(--border-color);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.contact-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(240, 196, 116, 0.15), transparent);
    transition: left var(--transition-slow);
}

.contact-item::after {
    content: '';
    position: absolute;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(240, 196, 116, 0.15), transparent);
    transition: right var(--transition-slow);
}

.contact-item:hover {
    background-color: var(--bg-hover);
    transform: rotate(0.5deg) scale(1.02);
    border-color: var(--border-accent);
    box-shadow: var(--shadow-md);
}

.contact-item:hover::before {
    left: 100%;
}

.contact-item:hover::after {
    right: 100%;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--navbar-gradient-start) 0%, var(--navbar-gradient-mid) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-weight: bold;
    transition: all var(--transition-normal);
    flex-shrink: 0;
    font-size: 1.3rem;
    position: relative;
    z-index: 2;
}

.contact-item:hover .contact-icon {
    transform: scale(1.15) rotate(5deg);
    box-shadow: var(--shadow-md);
}

.contact-item a {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
    transition: color var(--transition-normal);
    font-size: 1.05rem;
}

.contact-item a:hover {
    color: var(--color-accent);
    text-decoration: underline;
}

.map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    border: 3px solid var(--border-accent);
    transition: all var(--transition-normal);
}

.map-container:hover {
    box-shadow: var(--shadow-lg);
    transform: scale(1.01);
}

.map-container iframe {
    width: 100%;
    height: 450px;
    border: none;
}

footer {
    background-color: #000000;
    color: var(--text-white);
    text-align: center;
    padding: 2rem;
    margin-top: 3rem;
}

footer p {
    margin: 0;
    font-size: 1rem;
}

.section-anchor a {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
    transition: color var(--transition-normal), transform var(--transition-normal);
    font-size: 1.05rem;
}

.section-anchor a span:hover {
    color: var(--color-accent);
    text-decoration: underline;
}

/* Dark Mode */
[data-theme="dark"] {
    --bg-white: #121212;
    --bg-light: #1E1E1E;
    --bg-card: #252525;
    --bg-hover: #2D2D2D;
    --text-primary: #E8E8E8;
    --text-secondary: #C0C0C0;
    --color-primary: #CFD8DC;
    --border-color: #3A3A3A;
    --border-accent: #f0c474;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.6);
}

[data-theme="dark"] body {
    background-color: var(--bg-white);
}

[data-theme="dark"] section {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
}

[data-theme="dark"] .activity-card {
    background: var(--bg-card);
    border-color: var(--border-color);
}

[data-theme="dark"] .activity-card:hover {
    background: var(--bg-hover);
    border-color: var(--border-accent);
}

[data-theme="dark"] .contact-item {
    background-color: var(--bg-card);
    border-color: var(--border-color);
}

[data-theme="dark"] .contact-item:hover {
    background-color: var(--bg-hover);
    border-color: var(--border-accent);
}

[data-theme="dark"] .about-image {
    background: var(--bg-card);
    border-color: var(--border-color);
}

[data-theme="dark"] .about-image:hover {
    border-color: var(--border-accent);
}

[data-theme="dark"] .about-text strong {
    color: var(--color-accent);
}

[data-theme="dark"] .map-container {
    border-color: var(--border-color);
}

[data-theme="dark"] .map-container:hover {
    border-color: var(--border-accent);
}

/* Responsive */
@media (max-width: 1117px) {
    body {
        padding-top: 140px;
    }

    .navbar {
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
    }

    .logo-container {
        width: 100%;
        justify-content: center;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: linear-gradient(135deg, var(--dropdown-bg-start) 0%, var(--dropdown-bg-mid) 50%, var(--dropdown-bg-end) 100%);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 0;
        box-shadow: 0 8px 32px rgba(247, 151, 30, 0.4);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
        border-bottom: 3px solid rgba(255, 255, 255, 0.3);
        opacity: 0;
    }

    [data-theme="dark"] .nav-menu {
        background: linear-gradient(135deg, rgba(199, 145, 0, 0.96) 0%, rgba(255, 183, 0, 0.96) 50%, rgba(199, 145, 0, 0.96) 100%);
        border-bottom: 3px solid rgba(255, 255, 255, 0.2);
    }

    .nav-menu.active {
        max-height: 400px;
        padding: 0.5rem 0;
        opacity: 1;
    }

    .nav-menu li {
        width: 100%;
        text-align: center;
        opacity: 0;
        transform: translateY(-10px);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .nav-menu.active li {
        opacity: 1;
        transform: translateY(0);
    }

    .nav-menu.active li:nth-child(1) {
        transition-delay: 0.1s;
    }

    .nav-menu.active li:nth-child(2) {
        transition-delay: 0.15s;
    }

    .nav-menu.active li:nth-child(3) {
        transition-delay: 0.2s;
    }

    .nav-menu li a {
        display: block;
        padding: 1.2rem 1rem;
        width: 100%;
        color: var(--text-white);
        font-weight: 600;
        font-size: 1.1rem;
        transition: all 0.3s ease;
        position: relative;
    }

    .nav-menu li a::before {
        content: '';
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 0;
        height: 2px;
        background: linear-gradient(90deg, #ffffff, #fffacd);
        transition: width 0.3s ease;
    }

    .nav-menu li a:hover {
        background: rgba(255, 255, 255, 0.2);
        padding-left: 2rem;
    }

    .nav-menu li a:hover::before {
        width: 1rem;
    }

    .navbar-controls {
        width: 100%;
        justify-content: space-between;
    }

    .theme-toggle {
        order: 1;
    }

    .burger-menu {
        display: flex;
        order: 2;
    }

    .lang-toggle {
        order: 3;
    }

    .company-name {
        font-size: 1.1rem;
    }

    [dir="ltr"] .company-name {
        font-size: 0.95rem;
    }

    .logo {
        width: 40px;
        height: 40px;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }

    section {
        padding: 2rem 1rem;
    }

    section h2 {
        font-size: 1.8rem;
    }

    .activity-card {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .company-name {
        font-size: 0.9rem;
    }

    [dir="ltr"] .company-name {
        font-size: 0.75rem;
    }

    .logo {
        width: 35px;
        height: 35px;
    }

    section h2 {
        font-size: 1.5rem;
    }

    .about-text p {
        font-size: 1rem;
    }
}