:root {
    --primary-blue: #00aeef;
    --deep-blue: #2b59c3;
    --text-main: #1a202c;
    --text-muted: #4a5568;
    --bg-white: #ffffff;
    --bg-light: #f8fafd;
    --accent-gold: #d4af37;
    --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.05);
    --radius: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', 'Inter', sans-serif;
    background-color: var(--bg-white);
    color: var(--text-main);
    line-height: 1.5;
    overflow-x: hidden;
}

[lang="ar"] body {
    direction: rtl;
    text-align: right;
}

/* Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Nav Bar */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    height: 80px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
    border-bottom: 1px solid #edf2f7;
}

.logo {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--deep-blue);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: var(--primary-blue);
    border-radius: 8px;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}

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

.btn-consult {
    background: var(--primary-blue);
    color: white !important;
    padding: 10px 24px;
    border-radius: 100px;
    font-weight: 600;
}

.lang-switch {
    display: flex;
    background: #edf2f7;
    padding: 4px;
    border-radius: 50px;
    margin-left: 1rem;
}

.lang-btn {
    border: none;
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    background: transparent;
    color: var(--text-muted);
    transition: var(--transition);
}

.lang-btn.active {
    background: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    color: var(--deep-blue);
}

/* Hero Section */
.hero {
    padding: 180px 5% 100px;
    background: linear-gradient(135deg, #f8fafd 0%, #ffffff 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 174, 239, 0.05) 0%, transparent 70%);
    top: -300px;
    left: -100px;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: #0d121c;
    margin-bottom: 2rem;
}

.hero h1 span {
    color: var(--primary-blue);
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-group {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.btn-main {
    background: var(--primary-blue);
    color: white;
    padding: 18px 36px;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 10px 25px rgba(0, 174, 239, 0.25);
    transition: var(--transition);
}

.btn-main:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 174, 239, 0.35);
}

.btn-sec {
    padding: 18px 36px;
    border-radius: 100px;
    text-decoration: none;
    color: var(--text-main);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.btn-sec:hover {
    background: rgba(0,0,0,0.03);
}

/* Section Wrapper */
section {
    padding: 120px 5%;
}

.section-tag {
    color: var(--primary-blue);
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 2px;
    font-size: 0.85rem;
    display: block;
    margin-bottom: 1rem;
    text-align: center;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 4rem;
    color: #0d121c;
}

/* Catalog Container (Offerings) */
.catalog-container {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.category-block {
    background: white;
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow-soft);
    border: 1px solid #f1f4f8;
    transition: var(--transition);
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: start;
}

[lang="ar"] .category-block {
    text-align: right;
    grid-template-columns: 2fr 1fr;
}

.category-block:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 174, 239, 0.3);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
}

.category-info {
    position: sticky;
    top: 100px;
}

.card-icon {
    width: 60px;
    height: 60px;
    background: #edfaff;
    border-radius: 16px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.category-info h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #0d121c;
}

.category-info p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
}

.category-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
}

.category-gallery img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
    cursor: pointer;
    background: #f8fafd;
}

.category-gallery img:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* Responsive category block */
@media (max-width: 900px) {
    .category-block {
        grid-template-columns: 1fr;
    }
    .category-info {
        position: relative;
        top: 0;
    }
}

/* Values Section (Cards) */
.values-container {
    background: var(--bg-light);
    border-radius: 40px;
    padding: 80px 40px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.value-item {
    text-align: left;
}

[lang="ar"] .value-item {
    text-align: right;
}

.value-item h4 {
    color: var(--deep-blue);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

/* Contact Section */
.contact-section {
    background: #0d121c;
    color: white;
    border-radius: 40px;
    padding: 100px 5%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.contact-info h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
}

.contact-form-box {
    background: white;
    padding: 50px;
    border-radius: var(--radius);
}

.contact-form-box input, .contact-form-box textarea {
    width: 100%;
    padding: 16px;
    background: #f8fafd;
    border: 1px solid #edf2f7;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    color: var(--text-main);
    font-family: inherit;
    outline: none;
    transition: var(--transition);
}

.contact-form-box input:focus, .contact-form-box textarea:focus {
    border-color: var(--primary-blue);
    background: white;
    box-shadow: 0 0 0 4px rgba(0, 174, 239, 0.1);
}

.btn-send {
    width: 100%;
    background: var(--primary-blue);
    color: white;
    border: none;
    padding: 18px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-send:hover {
    background: var(--deep-blue);
}

/* Responsive */
@media (max-width: 1024px) {
    .values-container { grid-template-columns: 1fr; }
    .contact-section { grid-template-columns: 1fr; gap: 3rem; }
    .hero h1 { font-size: 3rem; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .cta-group { flex-direction: column; }
    .hero { padding-top: 140px; }
}

/* Lightbox Modal */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(13, 18, 28, 0.95);
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90vh;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.lightbox.active .lightbox-content {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

.lightbox-close:hover {
    color: var(--primary-blue);
    transform: scale(1.1);
}
