/* ===== CSS Variables - Blue Theme ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Cairo:wght@400;600;700;800&display=swap');

:root {
    --blue-950: #020617;
    --blue-900: #031231;
    --blue-800: #062863;
    --blue-700: #0b48a3;
    --blue-600: #155bd4;
    --blue-500: #1f7ae0;
    --blue-400: #3ea2ff;
    --blue-300: #7dd3fc;
    --blue-200: #bae6fd;
    --blue-100: #e0f2fe;
    --primary-blue: var(--blue-700);
    --secondary-blue: var(--blue-500);
    --light-blue: var(--blue-300);
    --dark-blue: var(--blue-900);
    --deep-blue: linear-gradient(180deg, #020b1f 0%, #051841 45%, #071f57 100%);
    --navy-blue: linear-gradient(180deg, #03112d 0%, #062553 60%, #083568 100%);
    --sky-blue: #22d3ee;
    --accent-blue: #38bdf8;
    --glow-blue: rgba(61, 192, 255, 0.35);
    --gradient-primary: linear-gradient(135deg, #03112d 0%, #0b48a3 45%, #22d3ee 100%);
    --gradient-secondary: linear-gradient(160deg, #020816 0%, #082659 45%, #2ab1ff 100%);
    --gradient-light: linear-gradient(120deg, #22d3ee 0%, #3ea2ff 50%, #7dd3fc 100%);
    --text-light: #e8f2ff;
    --text-gray: #c9def5;
    --shadow-blue: rgba(34, 211, 238, 0.35);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter','Cairo',system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,'Noto Sans',sans-serif;
    background: var(--deep-blue);
    color: var(--text-light);
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* ===== Navigation ===== */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(15px);
    padding: 1rem 5%;
    z-index: 1000;
    border-bottom: 1px solid rgba(59, 130, 246, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

nav.scrolled {
    padding: 0.8rem 5%;
    background: rgba(15, 23, 42, 0.98);
}

nav .container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    background: var(--gradient-light);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInDown 0.8s ease;
    letter-spacing: -0.5px;
}

.logo-img {
    height: 38px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    font-weight: 500;
    padding: 0.5rem 0;
}

.nav-links a:hover {
    color: var(--light-blue);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-light);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links a:hover::after {
    width: 100%;
}

.lang-switch {
    padding: 0.6rem 1.2rem;
    background: rgba(59, 130, 246, 0.15);
    border-radius: 8px;
    border: 1px solid rgba(59, 130, 246, 0.3);
    transition: all 0.3s ease;
}

.lang-switch:hover {
    background: rgba(59, 130, 246, 0.25);
    transform: translateY(-2px);
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 1001;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--light-blue);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ===== Hero Section with Animated Background ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(120% 120% at 20% 20%, rgba(34, 211, 238, 0.18), transparent 60%),
        radial-gradient(120% 120% at 80% 0%, rgba(62, 162, 255, 0.2), transparent 55%),
        var(--gradient-secondary);
    position: relative;
    overflow: hidden;
    padding: 0 5%;
    padding-top: 80px;
}

/* Animated Background Elements */
.hero::before,
.hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    z-index: 0;
}

.hero::before {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(34, 211, 238, 0.5), transparent);
    top: -300px;
    right: -300px;
    animation: float 20s ease-in-out infinite;
}

.hero::after {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(62, 162, 255, 0.3), transparent);
    bottom: -250px;
    left: -250px;
    animation: float 25s ease-in-out infinite reverse;
}

/* Additional Floating Elements */
.hero-floating {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    background: rgba(62, 162, 255, 0.15);
    filter: blur(40px);
    animation: float 15s ease-in-out infinite;
}

.hero-orb:nth-child(1) {
    width: 300px;
    height: 300px;
    top: 20%;
    right: 10%;
    animation-delay: 0s;
}

.hero-orb:nth-child(2) {
    width: 200px;
    height: 200px;
    bottom: 30%;
    left: 15%;
    animation-delay: 5s;
}

.hero-orb:nth-child(3) {
    width: 250px;
    height: 250px;
    top: 50%;
    right: 30%;
    animation-delay: 10s;
}

.hero-network {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    mix-blend-mode: screen;
    opacity: 0.9;
}

.hero-network canvas {
    width: 100%;
    height: 100%;
    display: block;
}

.hero-content {
    max-width: 1200px;
    text-align: center;
    z-index: 2;
    animation: fadeInUp 1s ease;
    position: relative;
}

.hero h1 {
    font-size: clamp(2.5rem, 8vw, 5rem);
    background: var(--gradient-light);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2rem;
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: -1px;
    display: inline-block;
    transform-origin: 50% 70%;
    will-change: transform;
    animation: slideInDown 1s ease-in-out 0.3s both, heroTitleScalePulse 3s ease-in-out 1.5s infinite;
}

.hero p {
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    color: var(--text-gray);
    margin-bottom: 3rem;
    line-height: 1.8;
    animation: fadeInUp 1s ease 0.5s both;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-typed-wrap {
    display: block;
    margin-top: 0.5rem;
}

.hero-typed {
    display: inline-block;
    background: var(--gradient-light);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    font-size: clamp(1.5rem, 5vw, 3rem);
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.typed-cursor {
    display: inline-block;
    width: 2px;
    height: 1em;
    background: var(--light-blue);
    margin-inline-start: 4px;
    animation: cursorBlink 1s steps(1, end) infinite;
    vertical-align: -0.15em;
}

.cta-button {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: var(--gradient-light);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 40px var(--shadow-blue);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 1s ease 0.7s both;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 50px var(--shadow-blue);
}

/* ===== Stats Section with Cards ===== */
.stats {
    padding: 6rem 5%;
    background: var(--navy-blue);
    position: relative;
    overflow: hidden;
}

.stats::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(14, 165, 233, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.stats-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.stat-card {
    text-align: center;
    padding: 3rem 2rem;
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    border: 2px solid rgba(59, 130, 246, 0.2);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0.1;
    transition: left 0.5s ease;
}

.stat-card:hover::before {
    left: 0;
}

.stat-card:hover {
    transform: translateY(-15px) scale(1.05);
    border-color: rgba(59, 130, 246, 0.6);
    box-shadow: 0 25px 50px rgba(59, 130, 246, 0.3);
}

.stat-number {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    background: var(--gradient-light);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    display: block;
}

.stat-label {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-gray);
    font-weight: 500;
}

/* ===== About Section with Unique Design ===== */
.about {
    padding: 8rem 5%;
    background: var(--deep-blue);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(30, 64, 175, 0.2), transparent);
    border-radius: 50%;
    top: -400px;
    left: -400px;
    animation: rotate 30s linear infinite;
}

.about-content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.section-title {
    text-align: center;
    font-size: clamp(2rem, 6vw, 3.5rem);
    margin-bottom: 1rem;
    background: var(--gradient-light);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    letter-spacing: -1px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-gray);
    margin-bottom: 4rem;
    font-size: clamp(1rem, 2vw, 1.3rem);
    font-weight: 400;
}

.about-content {
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(15px);
    padding: 4rem;
    border-radius: 30px;
    border: 2px solid rgba(59, 130, 246, 0.2);
    position: relative;
    overflow: hidden;
}

.about-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--gradient-light);
    transform: scaleY(0);
    transition: transform 1s ease;
}

.about-content.scroll-animate.active::before {
    transform: scaleY(1);
}

.about-content p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    line-height: 2;
    color: var(--text-gray);
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

/* ===== Business Group Section ===== */
.business-group {
    padding: 6rem 5%;
    background: var(--deep-blue);
    position: relative;
}

.business-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.business-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(30, 41, 59, 0.6);
    border: 2px solid rgba(59, 130, 246, 0.2);
    border-radius: 18px;
    transition: all 0.3s ease;
}

.business-card:hover {
    transform: translateY(-6px);
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.25);
}

.business-logo {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    display: grid;
    place-items: center;
    overflow: hidden;
}

.business-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.placeholder-logo {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    font-weight: 800;
    color: var(--text-light);
    background: var(--gradient-light);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.business-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
}

.business-name {
    font-weight: 800;
    letter-spacing: -0.4px;
}

.business-card:hover .business-logo img { filter: grayscale(0%); }

.business-badge {
    display: inline-block;
    margin-inline-start: 0.5rem;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    font-size: 0.8rem;
    color: var(--text-light);
    border: 1px solid rgba(59, 130, 246, 0.35);
    background: rgba(59, 130, 246, 0.12);
}

.business-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.visit-link {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    background: var(--gradient-light);
    color: white;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 10px 30px var(--shadow-blue);
    transition: transform 0.2s ease;
}

.visit-link:hover { transform: translateY(-2px); }

.email-link {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    background: rgba(59, 130, 246, 0.15);
    color: var(--text-light);
    text-decoration: none;
    font-weight: 700;
    border: 1px solid rgba(59, 130, 246, 0.35);
    transition: transform 0.2s ease, background 0.2s ease;
}

.email-link:hover { transform: translateY(-2px); background: rgba(59, 130, 246, 0.25); }

.business-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.business-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem;
    background: rgba(30, 41, 59, 0.65);
    border: 2px solid rgba(59, 130, 246, 0.25);
    border-radius: 20px;
}

.business-card:hover {
    transform: translateY(-6px) scale(1.02);
    border-color: rgba(59, 130, 246, 0.6);
    box-shadow: 0 22px 44px rgba(59, 130, 246, 0.28);
}

.business-logo {
    width: 140px;
    height: 140px;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.06);
}

.business-logo img {
    padding: 12px;
    filter: none;
}

.business-info {
    align-items: center;
}

.business-actions {
    justify-content: center;
}

.split-section {
    padding: 6rem 5%;
    position: relative;
    overflow: hidden;
}
.split-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}
.split-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    border: 2px solid rgba(59,130,246,0.25);
    background: rgba(30,41,59,0.65);
}
.split-card .bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: brightness(0.65);
}
.split-card .content {
    position: relative;
    padding: 3rem;
}
.split-card h3 {
    font-size: clamp(1.8rem,3vw,2.2rem);
    color: var(--light-blue);
    margin-bottom: 1rem;
    font-weight: 800;
}
.split-card p {
    color: var(--text-gray);
    line-height: 1.9;
}

/* ===== Values Section with Cards ===== */
.values {
    padding: 8rem 5%;
    background: var(--navy-blue);
    position: relative;
    overflow: hidden;
}

.values::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.15), transparent);
    border-radius: 50%;
    bottom: -300px;
    right: -300px;
    animation: pulse 8s ease-in-out infinite;
}

.values-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    position: relative;
    z-index: 1;
}

.value-card {
    padding: 3rem;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.2), rgba(15, 23, 42, 0.8));
    backdrop-filter: blur(10px);
    border-radius: 25px;
    border: 2px solid rgba(59, 130, 246, 0.3);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.value-card::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.3), transparent);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.value-card:hover::after {
    width: 300px;
    height: 300px;
}

.value-card:hover {
    transform: translateY(-20px) rotateY(5deg);
    box-shadow: 0 30px 60px rgba(59, 130, 246, 0.4);
    border-color: var(--light-blue);
}

.value-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: block;
    transition: transform 0.5s ease;
    position: relative;
    z-index: 1;
}

.value-card:hover .value-icon {
    transform: scale(1.2) rotate(10deg);
}

.value-card h3 {
    font-size: clamp(1.5rem, 3vw, 1.8rem);
    margin-bottom: 1rem;
    color: var(--light-blue);
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.value-card p {
    font-size: clamp(1rem, 2vw, 1.1rem);
    line-height: 1.8;
    color: var(--text-gray);
    position: relative;
    z-index: 1;
}

/* ===== Services Section ===== */
.services {
    padding: 8rem 5%;
    background: var(--deep-blue);
    position: relative;
    overflow: hidden;
}

.services-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    position: relative;
    z-index: 1;
}

.service-card {
    padding: 3rem;
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    border: 2px solid rgba(59, 130, 246, 0.2);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: var(--gradient-primary);
    border-radius: 50%;
    transform: translate(50%, -50%);
    opacity: 0.1;
    transition: transform 0.5s ease, opacity 0.5s ease;
}

.service-card:hover::before {
    transform: translate(0, 0) scale(3);
    opacity: 0.2;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--light-blue);
    box-shadow: 0 25px 50px rgba(59, 130, 246, 0.3);
}

.service-card h3 {
    font-size: clamp(1.5rem, 3vw, 1.8rem);
    margin-bottom: 1.5rem;
    color: var(--light-blue);
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.service-card ul {
    list-style: none;
    padding: 0;
    position: relative;
    z-index: 1;
}

.service-card li {
    padding: 1rem 0;
    color: var(--text-gray);
    font-size: clamp(1rem, 2vw, 1.1rem);
    border-bottom: 1px solid rgba(59, 130, 246, 0.1);
    transition: all 0.3s ease;
    position: relative;
    padding-right: 2rem;
}

[dir="rtl"] .service-card li {
    padding-right: 0;
    padding-left: 2rem;
}

.service-card li:hover {
    color: var(--light-blue);
    transform: translateX(5px);
}

[dir="rtl"] .service-card li:hover {
    transform: translateX(-5px);
}

.service-card li:before {
    content: "✓ ";
    color: var(--light-blue);
    font-weight: bold;
    margin-left: 0.5rem;
    position: absolute;
    right: 0;
}

[dir="rtl"] .service-card li:before {
    margin-left: 0;
    margin-right: 0.5rem;
    right: auto;
    left: 0;
}

/* ===== Events Section with Slider ===== */
.events {
    padding: 8rem 5%;
    background: var(--navy-blue);
    position: relative;
    overflow: hidden;
}

.events-slider {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.events-slider-wrapper {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 2rem 0;
    scrollbar-width: thin;
    scrollbar-color: rgba(59, 130, 246, 0.5) transparent;
}

.events-slider-wrapper::-webkit-scrollbar {
    height: 8px;
}

.events-slider-wrapper::-webkit-scrollbar-track {
    background: rgba(30, 41, 59, 0.5);
    border-radius: 10px;
}

.events-slider-wrapper::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 10px;
}

.event-card {
    min-width: 350px;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    overflow: hidden;
    border: 2px solid rgba(59, 130, 246, 0.2);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    scroll-snap-align: start;
    position: relative;
}

.event-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 0;
}

.event-card:hover::before {
    opacity: 0.1;
}

.event-card:hover {
    transform: scale(1.05);
    border-color: var(--light-blue);
    box-shadow: 0 25px 50px rgba(59, 130, 246, 0.4);
}

.event-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
    position: relative;
    z-index: 1;
}

.event-card:hover img {
    transform: scale(1.1);
}

.event-content {
    padding: 2rem;
    position: relative;
    z-index: 1;
}

.event-content h3 {
    font-size: 1.5rem;
    color: var(--light-blue);
    margin-bottom: 1rem;
    font-weight: 700;
}

.event-date, .event-location {
    color: var(--text-gray);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.event-content p {
    color: var(--text-gray);
    line-height: 1.6;
    margin-top: 1rem;
}

.slider-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.slider-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid rgba(59, 130, 246, 0.3);
    background: rgba(30, 41, 59, 0.7);
    color: var(--light-blue);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.slider-btn:hover {
    background: var(--gradient-primary);
    border-color: transparent;
    transform: scale(1.1);
}

/* ===== News Section with Grid ===== */
.news {
    padding: 8rem 5%;
    background: var(--deep-blue);
    position: relative;
    overflow: hidden;
}

.news-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.news-card {
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    overflow: hidden;
    border: 2px solid rgba(59, 130, 246, 0.2);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.news-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.5s ease;
}

.news-card:hover::after {
    transform: scaleX(1);
}

.news-card:hover {
    transform: translateY(-10px);
    border-color: var(--light-blue);
    box-shadow: 0 25px 50px rgba(59, 130, 246, 0.3);
}

.news-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover img {
    transform: scale(1.1);
}

.news-content {
    padding: 2rem;
}

.news-date {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.news-content h3 {
    font-size: 1.5rem;
    color: var(--light-blue);
    margin-bottom: 1rem;
    font-weight: 700;
}

.news-content p {
    color: var(--text-gray);
    line-height: 1.6;
}

/* ===== Contact Section ===== */
.contact {
    padding: 8rem 5%;
    background: var(--navy-blue);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 30%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(14, 165, 233, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.contact-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    position: relative;
    z-index: 1;
}

.contact-card {
    padding: 3rem;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.2), rgba(15, 23, 42, 0.8));
    backdrop-filter: blur(10px);
    border-radius: 25px;
    border: 2px solid rgba(59, 130, 246, 0.3);
    text-align: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1), transparent);
    transform: rotate(45deg);
    transition: transform 0.6s ease;
}

.contact-card:hover::before {
    transform: rotate(45deg) scale(1.2);
}

.contact-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 30px 60px rgba(59, 130, 246, 0.4);
    border-color: var(--light-blue);
}

.contact-card h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--light-blue);
    margin-bottom: 2rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.contact-info {
    font-size: clamp(1rem, 2vw, 1.1rem);
    color: var(--text-gray);
    line-height: 2;
    position: relative;
    z-index: 1;
}

.contact-info a {
    color: var(--light-blue);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.contact-info a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--light-blue);
    transition: width 0.3s ease;
}

.contact-info a:hover::after {
    width: 100%;
}

.contact-info a:hover {
    color: var(--sky-blue);
}

/* ===== Footer ===== */
footer {
    padding: 3rem 5%;
    background: var(--deep-blue);
    text-align: center;
    border-top: 1px solid rgba(59, 130, 246, 0.2);
}

footer p {
    color: var(--text-gray);
    font-size: 1rem;
}

/* ===== Animations ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-100px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(30px, -30px) rotate(120deg);
    }
    66% {
        transform: translate(-20px, 20px) rotate(240deg);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes heroTitleScalePulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes cursorBlink {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: 0; }
}


/* Scroll Animation */
.scroll-animate {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-animate.active {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Mobile Responsive ===== */
@media (max-width: 1024px) {
    .nav-links {
        gap: 1.5rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    nav {
        padding: 1rem 3%;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 60px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 60px);
        background: rgba(15, 23, 42, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 3rem 2rem;
        gap: 2rem;
        transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
        border-top: 1px solid rgba(59, 130, 246, 0.2);
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links li {
        width: 100%;
    }
    
    .nav-links a {
        display: block;
        width: 100%;
        padding: 1rem;
        font-size: 1.2rem;
        border-radius: 10px;
        transition: all 0.3s ease;
    }
    
    .nav-links a:hover {
        background: rgba(59, 130, 246, 0.1);
        transform: translateX(5px);
    }
    
    [dir="rtl"] .nav-links a:hover {
        transform: translateX(-5px);
    }
    
    .hero {
        padding: 2rem 3%;
        padding-top: 100px;
        min-height: 90vh;
    }
    
    .stats-container,
    .values-grid,
    .services-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .event-card {
        min-width: 85vw;
    }
    
    .about-content {
        padding: 2rem;
    }
    
    .stat-card,
    .value-card,
    .service-card {
        padding: 2rem;
    }
    
    section {
        padding: 4rem 3% !important;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.5rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .cta-button {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    .event-card {
        min-width: 90vw;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
}
