/* Global Styles */
:root {
    --primary-color: #1a365d; /* Dark blue */
    --secondary-color: #2c5282; /* Medium blue */
    --accent-color: #4299e1; /* Light blue */
    --text-color: #333333;
    --background-color: #ffffff;
    --light-gray: #f7fafc;
    --dark-gray: #4a5568;
    --border-color: #e2e8f0;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Tajawal', sans-serif;
    color: var(--text-color);
    background-color: var(--background-color);
    line-height: 1.6;
    direction: rtl;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 15px;
    color: var(--primary-color);
}

p {
    margin-bottom: 15px;
    font-size: 16px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--accent-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 500;
    text-align: center;
    border: 2px solid var(--primary-color);
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 16px;
}

.btn:hover {
    background-color: transparent;
    color: var(--primary-color);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 36px;
    text-transform: uppercase;
    position: relative;
    margin-bottom: 20px;
    padding-bottom: 15px;
    display: inline-block;
}

.divider {
    display: block;
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 0 auto;
}

/* Header Styles */
header {
    background-color: white;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-left: 10px;
    object-fit: cover;
}

.logo h1 {
    font-size: 24px;
    margin-bottom: 0;
}

nav ul {
    display: flex;
}

nav ul li {
    margin-right: 20px;
}

nav ul li a {
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

nav ul li a:hover, nav ul li a.active {
    background-color: var(--light-gray);
    color: var(--primary-color);
}

.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 24px;
    color: var(--primary-color);
}

/* Banner Styles */
.banner {
    background: linear-gradient(rgba(26, 54, 93, 0.85), rgba(26, 54, 93, 0.85)), url('https://images.unsplash.com/photo-1543002588-bfa74002ed7e?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 180px 0 140px;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

/* Arabic Pattern Overlay */
.pattern-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://i.ibb.co/0jD8hLc/arabic-pattern.png');
    background-size: 300px;
    opacity: 0.07;
    pointer-events: none;
    animation: patternFloat 40s linear infinite;
}

@keyframes patternFloat {
    0% { background-position: 0 0; }
    100% { background-position: 300px 300px; }
}

/* Decorative Elements */
.decorative-element {
    position: absolute;
    background-image: url('https://i.ibb.co/JHzfRyL/arabic-ornament.png');
    background-size: contain;
    background-repeat: no-repeat;
    width: 150px;
    height: 150px;
    opacity: 0.2;
    pointer-events: none;
}

.decorative-element.top-right {
    top: 50px;
    right: 30px;
    transform: rotate(30deg);
    animation: floatElement 15s ease-in-out infinite;
}

.decorative-element.bottom-left {
    bottom: 50px;
    left: 30px;
    transform: rotate(-30deg);
    animation: floatElement 18s ease-in-out infinite reverse;
}

@keyframes floatElement {
    0%, 100% { transform: translate(0, 0) rotate(30deg); }
    50% { transform: translate(15px, -15px) rotate(45deg); }
}

/* Floating Books */
.floating-book {
    position: absolute;
    width: 70px;
    height: 90px;
    background-image: url('https://i.ibb.co/kSbJDKR/arabic-book.png');
    background-size: contain;
    background-repeat: no-repeat;
    pointer-events: none;
    opacity: 0.4;
}

.book1 {
    top: 20%;
    left: 10%;
    animation: floatingBook 20s ease-in-out infinite;
}

.book2 {
    top: 70%;
    right: 15%;
    animation: floatingBook 18s ease-in-out 2s infinite reverse;
}

.book3 {
    top: 40%;
    right: 25%;
    animation: floatingBook 25s ease-in-out 1s infinite;
}

@keyframes floatingBook {
    0%, 100% { transform: translate(0, 0) rotate(0); }
    25% { transform: translate(15px, -10px) rotate(5deg); }
    50% { transform: translate(0, -20px) rotate(0); }
    75% { transform: translate(-15px, -10px) rotate(-5deg); }
}

/* Enhanced Banner Content */
.banner-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.title-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 25px;
}

.arabic-ornament {
    width: 60px;
    height: 40px;
    background-image: url('https://i.ibb.co/hW9vCpS/arabic-title-ornament.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.8;
}

.arabic-ornament.left {
    margin-left: 15px;
    transform: scaleX(-1);
}

.arabic-ornament.right {
    margin-right: 15px;
}

.banner-content h2 {
    font-size: 52px;
    margin-bottom: 5px;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    position: relative;
    padding: 0 15px;
}

.banner-content h2::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.7), transparent);
    bottom: -5px;
    left: 0;
    right: 0;
}

.banner-content h3 {
    font-size: 26px;
    margin-bottom: 30px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
}

.banner-content p {
    font-size: 18px;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-wrapper {
    position: relative;
    display: inline-block;
}

.btn-ornament {
    position: absolute;
    width: 120%;
    height: 130%;
    top: -15%;
    left: -10%;
    background-image: url('https://i.ibb.co/Tb1g6cK/button-ornament.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.cta-wrapper:hover .btn-ornament {
    opacity: 0.2;
    animation: pulseOrnament 2s infinite;
}

@keyframes pulseOrnament {
    0%, 100% { transform: scale(1); opacity: 0.2; }
    50% { transform: scale(1.05); opacity: 0.3; }
}

/* Animation Classes */
.animate-title {
    animation: fadeSlideDown 1.2s ease forwards;
    opacity: 0;
    transform: translateY(-20px);
}

.animate-subtitle {
    animation: fadeSlideDown 1.2s ease 0.3s forwards;
    opacity: 0;
    transform: translateY(-20px);
}

.animate-text {
    animation: fadeSlideDown 1.2s ease 0.6s forwards;
    opacity: 0;
    transform: translateY(-20px);
}

.animate-btn {
    animation: fadeIn 1.2s ease 0.9s forwards, pulseBtn 2s ease-in-out 2s infinite;
    opacity: 0;
}

@keyframes fadeSlideDown {
    0% { opacity: 0; transform: translateY(-20px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes pulseBtn {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Button Shimmer Effect */
.btn-shimmer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.3) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-20deg);
    animation: shimmer 1s ease-in-out;
    pointer-events: none;
}

@keyframes shimmer {
    from {
        transform: translateX(-150%) skewX(-20deg);
    }
    to {
        transform: translateX(150%) skewX(-20deg);
    }
}

/* About Section */
.about {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
    background-color: var(--background-color);
}

/* Decorative Background Elements */
.about-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://i.ibb.co/QbHBPZV/arabic-bg-pattern.png');
    background-size: 200px;
    opacity: 0.03;
    pointer-events: none;
}

.about-decorative-element {
    position: absolute;
    width: 250px;
    height: 250px;
    background-image: url('https://i.ibb.co/jH1K7VF/arabic-decoration.png');
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.05;
    pointer-events: none;
}

.about-decorative-element.left {
    top: 10%;
    left: -100px;
    transform: rotate(-30deg);
}

.about-decorative-element.right {
    bottom: 10%;
    right: -100px;
    transform: rotate(30deg);
}

/* Animated Divider */
.animated-divider {
    position: relative;
    overflow: hidden;
}

.animated-divider::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    animation: dividerShine 3s infinite;
}

@keyframes dividerShine {
    0% { left: -100%; }
    20% { left: 100%; }
    100% { left: 100%; }
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
    align-items: flex-start;
    position: relative;
    z-index: 2;
}

/* Image Gallery Styles */
.about-image-gallery {
    flex: 1;
    min-width: 300px;
    position: relative;
}

.gallery-container {
    position: relative;
    height: 500px;
}

.main-image {
    position: relative;
    width: 80%;
    margin: 0 auto;
    z-index: 1;
}

.main-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.5s ease;
}

.main-image img.animate-on-scroll {
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.main-image:hover img {
    transform: scale(1.03);
}

/* Logo Showcase */
.logo-showcase {
    position: absolute;
    top: -30px;
    right: 0;
    z-index: 2;
}

.logo-card {
    width: 120px;
    height: 120px;
    background-color: white;
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    overflow: hidden;
    transform-style: preserve-3d;
    transform: perspective(1000px);
    transition: transform 0.3s ease;
}

.floating-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    animation: floatLogo 6s ease-in-out infinite;
}

@keyframes floatLogo {
    0%, 100% { transform: translateY(0) rotate(0); }
    25% { transform: translateY(-5px) rotate(3deg); }
    50% { transform: translateY(0) rotate(0); }
    75% { transform: translateY(5px) rotate(-3deg); }
}

/* Image Cards */
.image-cards {
    position: absolute;
    bottom: 20px;
    left: 0;
    display: flex;
    gap: 20px;
    z-index: 2;
}

.image-card {
    width: 120px;
    height: 120px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transform-style: preserve-3d;
    transform: perspective(1000px);
    transition: all 0.3s ease;
}

.image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.image-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.image-card:hover img {
    transform: scale(1.1);
}

/* About Text Styles */
.about-text {
    flex: 1;
    min-width: 300px;
}

.about-section {
    margin-bottom: 30px;
    transition: transform 0.5s ease, opacity 0.5s ease;
}

/* Text Animations */
.shimmer-title {
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
    background: linear-gradient(
        to right,
        var(--primary-color) 0%,
        var(--accent-color) 50%,
        var(--primary-color) 100%
    );
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmerText 3s linear infinite;
}

@keyframes shimmerText {
    to { background-position: 200% center; }
}

.text-reveal {
    opacity: 0;
    transform: translateY(20px);
    position: relative;
    line-height: 1.8;
    font-size: 16px;
    color: var(--text-color);
}

/* Animated List */
.animated-list {
    padding: 0;
    list-style: none;
}

.list-item-reveal {
    opacity: 0;
    transform: translateX(20px);
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    transition: all 0.5s ease;
}

.list-icon {
    margin-left: 15px;
    color: var(--primary-color);
    background-color: rgba(26, 54, 93, 0.1);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.list-text {
    flex: 1;
    line-height: 1.7;
}

.list-item-reveal:hover .list-icon {
    background-color: var(--primary-color);
    color: white;
    transform: scale(1.1) rotate(5deg);
}

/* Animation Classes */
.animated-text.in-view .text-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animated-text.in-view .list-item-reveal {
    opacity: 1;
    transform: translateX(0);
}

.animated-text.in-view .list-item-reveal:nth-child(1) { transition-delay: 0.1s; }
.animated-text.in-view .list-item-reveal:nth-child(2) { transition-delay: 0.2s; }
.animated-text.in-view .list-item-reveal:nth-child(3) { transition-delay: 0.3s; }
.animated-text.in-view .list-item-reveal:nth-child(4) { transition-delay: 0.4s; }
.animated-text.in-view .list-item-reveal:nth-child(5) { transition-delay: 0.5s; }

/* Achievements Section */
.achievements {
    background-color: var(--light-gray);
    position: relative;
    overflow: hidden;
    padding: 100px 0;
}

/* Decorative elements */
.achievements-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://i.ibb.co/SB13Lvq/arabic-pattern-light.png');
    background-size: 300px;
    opacity: 0.05;
    pointer-events: none;
}

.achievements-decorative-element {
    position: absolute;
    width: 200px;
    height: 200px;
    background-image: url('https://i.ibb.co/jH1K7VF/arabic-decoration.png');
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.07;
    pointer-events: none;
}

.achievements-decorative-element.left {
    top: 15%;
    left: -50px;
    transform: rotate(-20deg);
}

.achievements-decorative-element.right {
    bottom: 15%;
    right: -50px;
    transform: rotate(20deg);
}

/* Glowing title */
.glow-text {
    position: relative;
    color: var(--primary-color);
    text-shadow: 0 0 5px rgba(66, 153, 225, 0.1);
    animation: textGlow 3s ease-in-out infinite alternate;
}

@keyframes textGlow {
    0%, 100% { text-shadow: 0 0 5px rgba(66, 153, 225, 0.1); }
    50% { text-shadow: 0 0 15px rgba(66, 153, 225, 0.3); }
}

/* Cards layout */
.achievement-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.achievement-card {
    background-color: white;
    padding: 40px 20px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.achievement-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transition: height 0.5s ease;
    z-index: -1;
}

.achievement-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.achievement-card:hover::before {
    height: 10px;
}

/* Icon with circular progress */
.achievement-icon-wrap {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 30px;
}

.achievement-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: var(--primary-color);
    z-index: 2;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.achievement-card:hover .achievement-icon {
    color: var(--accent-color);
    transform: translate(-50%, -50%) scale(1.1);
}

/* Circular progress */
.circle-progress {
    position: absolute;
    top: 0;
    left: 0;
    transform: rotate(-90deg);
}

.progress-bg {
    fill: none;
    stroke: #e5e7eb;
}

.progress-fill {
    fill: none;
    stroke: var(--primary-color);
    stroke-dasharray: 339.292;
    stroke-dashoffset: 339.292;
    transition: stroke-dashoffset 2s ease;
}

/* Counter animation */
.counter {
    font-size: 48px;
    font-weight: 700;
    margin: 20px 0 15px;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.counter::after {
    content: '+';
    position: absolute;
    top: 5px;
    right: -15px;
    font-size: 30px;
    color: var(--accent-color);
}

.fade-in-text {
    color: var(--dark-gray);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 1.5s;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Damascus Archive Section */
.damascus-archive {
    position: relative;
    padding: 100px 0;
    background-color: var(--background-color);
    overflow: hidden;
}

.archive-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://i.ibb.co/D9rFjxd/damascus-pattern.png');
    background-size: 400px;
    opacity: 0.03;
    pointer-events: none;
}

.section-intro {
    max-width: 700px;
    margin: 20px auto 40px;
    text-align: center;
    color: var(--dark-gray);
    font-size: 18px;
    line-height: 1.6;
}

/* Archive Filter */
.archive-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
}

.filter-btn {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    border-radius: 30px;
    color: var(--primary-color);
    padding: 10px 25px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover, .filter-btn.active {
    background-color: var(--primary-color);
    color: white;
}

/* Archive Timeline */
.archive-timeline {
    position: relative;
    padding: 30px 0;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    background: linear-gradient(to bottom, transparent, var(--primary-color) 10%, var(--primary-color) 90%, transparent);
    transform: translateX(-50%);
}

.archive-items {
    position: relative;
}

/* Archive Item */
.archive-item {
    position: relative;
    margin-bottom: 60px;
    display: flex;
    align-items: flex-start;
    width: calc(50% - 30px);
    margin-left: auto;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.archive-item:nth-child(even) {
    margin-right: auto;
    margin-left: 0;
    flex-direction: row-reverse;
}

.archive-item.show {
    opacity: 1;
    transform: translateY(0);
}

/* Archive Date */
.archive-date {
    min-width: 80px;
    padding: 15px;
    background-color: var(--primary-color);
    border-radius: 10px;
    color: white;
    text-align: center;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 25px rgba(26, 54, 93, 0.2);
    position: relative;
    z-index: 2;
}

.archive-date::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: var(--primary-color);
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    z-index: -1;
}

.archive-item:nth-child(odd) .archive-date::before {
    right: -5px;
}

.archive-item:nth-child(even) .archive-date::before {
    left: -5px;
}

.archive-date .day {
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
}

.archive-date .month {
    font-size: 14px;
    margin: 5px 0;
}

.archive-date .year {
    font-size: 16px;
}

/* Archive Content */
.archive-content {
    background-color: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
    flex: 1;
    margin: 0 25px;
    position: relative;
    transition: all 0.3s ease;
}

.archive-item:hover .archive-content {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.archive-tag {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 15px;
}

.archive-tag.reading {
    background-color: rgba(66, 153, 225, 0.15);
    color: #2b6cb0;
}

.archive-tag.discussion {
    background-color: rgba(237, 137, 54, 0.15);
    color: #c05621;
}

.archive-tag.workshop {
    background-color: rgba(72, 187, 120, 0.15);
    color: #2f855a;
}

.archive-tag.competition {
    background-color: rgba(237, 100, 166, 0.15);
    color: #b83280;
}

.archive-title {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.archive-desc {
    color: var(--dark-gray);
    margin-bottom: 15px;
    line-height: 1.6;
}

.archive-location {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    color: #718096;
    font-size: 14px;
}

.archive-location i {
    margin-left: 10px;
    color: var(--primary-color);
}

.btn-small {
    display: inline-block;
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    padding: 8px 20px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-small:hover {
    background-color: var(--primary-color);
    color: white;
}

.load-more-container {
    text-align: center;
    margin-top: 60px;
    width: 100%;
}

/* Responsive styles for archive */
@media (max-width: 768px) {
    .timeline-line {
        left: 30px;
    }
    
    .archive-item {
        width: calc(100% - 60px);
        margin-left: 60px !important;
        flex-direction: row !important;
    }
    
    .archive-item:nth-child(even) {
        margin-right: 0;
    }
    
    .archive-date::before {
        right: -5px !important;
        left: auto !important;
    }
}

/* Best Reader Competition in Syria Section */
.best-reader-competition {
    position: relative;
    padding: 120px 0;
    background: linear-gradient(to bottom, var(--light-gray), white);
    overflow: hidden;
}

.competition-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://i.ibb.co/cTgdFcG/gold-pattern.png');
    background-size: 300px;
    opacity: 0.04;
    pointer-events: none;
}

.competition-decoration {
    position: absolute;
    width: 250px;
    height: 250px;
    background-image: url('https://i.ibb.co/bNsxMnj/arabic-ornament-gold.png');
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.1;
    pointer-events: none;
}

.competition-decoration.left {
    top: 15%;
    left: -50px;
    transform: rotate(-15deg);
}

.competition-decoration.right {
    bottom: 15%;
    right: -50px;
    transform: rotate(15deg);
}

/* Title with spotlight effect */
.spotlight-title {
    position: relative;
    color: var(--primary-color);
    overflow: hidden;
}

.spotlight-title::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 120%;
    height: 100%;
    background: linear-gradient(90deg, 
        rgba(255, 215, 0, 0) 0%,
        rgba(255, 215, 0, 0.1) 20%,
        rgba(255, 215, 0, 0.3) 50%,
        rgba(255, 215, 0, 0.1) 80%,
        rgba(255, 215, 0, 0) 100%
    );
    animation: titleSpotlight 5s infinite ease-in-out;
}

@keyframes titleSpotlight {
    0% { left: -120%; }
    50% { left: 100%; }
    100% { left: 100%; }
}

.gold-divider {
    background: linear-gradient(90deg, transparent, #d4af37, transparent);
}

/* Competition Showcase */
.competition-showcase {
    position: relative;
    padding: 50px 0;
    margin-top: 30px;
}

/* Trophy */
.trophy-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
}

.trophy {
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, #ffd700, #d4af37);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.5);
    position: relative;
    z-index: 2;
}

.trophy i {
    font-size: 60px;
    color: white;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.trophy-light {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: transparent;
    box-shadow: 0 0 60px 30px rgba(255, 215, 0, 0.3);
    animation: pulseLight 3s infinite alternate;
}

@keyframes pulseLight {
    0% { box-shadow: 0 0 60px 30px rgba(255, 215, 0, 0.3); }
    100% { box-shadow: 0 0 100px 40px rgba(255, 215, 0, 0.5); }
}

/* Competition Wheel */
.competition-wheel {
    position: relative;
    width: 100%;
    height: 400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Activities */
.competition-activity {
    position: absolute;
    width: 100%;
    max-width: 350px;
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform: scale(0.8) translateY(20px);
    z-index: 1;
}

.competition-activity.active {
    opacity: 1;
    transform: scale(1) translateY(0);
    z-index: 2;
}

.competition-activity[data-position="1"] {
    top: 40px;
    left: 20%;
}

.competition-activity[data-position="2"] {
    top: -30px;
    left: 50%;
    transform: translateX(-50%) scale(0.8) translateY(20px);
}

.competition-activity[data-position="2"].active {
    transform: translateX(-50%) scale(1) translateY(0);
}

.competition-activity[data-position="3"] {
    top: 40px;
    right: 20%;
}

.competition-activity[data-position="4"] {
    bottom: 40px;
    right: 20%;
}

.competition-activity[data-position="5"] {
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%) scale(0.8) translateY(20px);
}

.competition-activity[data-position="5"].active {
    transform: translateX(-50%) scale(1) translateY(0);
}

.competition-activity[data-position="6"] {
    bottom: 40px;
    left: 20%;
}

/* Activity Cards */
.activity-card {
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transform: translateY(0);
    transition: all 0.3s ease;
    position: relative;
}

.activity-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #d4af37, #ffd700, #d4af37);
    z-index: 1;
}

.activity-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15), 0 0 25px rgba(212, 175, 55, 0.2);
}

.activity-date {
    background: linear-gradient(135deg, var(--primary-color), #1a365d 70%, #0d1b2e);
    color: white;
    padding: 15px;
    text-align: center;
    position: relative;
}

.activity-date::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #0d1b2e;
}

.activity-date .month {
    display: block;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
}

.activity-date .year {
    display: block;
    font-size: 16px;
    opacity: 0.8;
}

.activity-content {
    padding: 25px;
}

.activity-content h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 10px;
}

.activity-content h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #d4af37);
}

.activity-content p {
    margin-bottom: 20px;
    color: var(--dark-gray);
    line-height: 1.7;
}

.activity-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 14px;
    color: #718096;
}

.activity-meta span {
    display: flex;
    align-items: center;
}

.activity-meta i {
    margin-left: 8px;
    color: #d4af37;
}

.btn-small.gold {
    border-color: #d4af37;
    color: #d4af37;
    position: relative;
    overflow: hidden;
}

.btn-small.gold::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background-color: #d4af37;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    z-index: -1;
}

.btn-small.gold:hover {
    color: white;
    background-color: transparent;
}

.btn-small.gold:hover::before {
    width: 300px;
    height: 300px;
}

/* Controls */
.competition-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.control-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.control-btn:hover {
    background-color: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

/* Responsive styles for competition */
@media (max-width: 991px) {
    .competition-activity[data-position="1"],
    .competition-activity[data-position="3"] {
        display: none;
    }
    
    .competition-activity[data-position="2"],
    .competition-activity[data-position="5"] {
        max-width: 320px;
    }
    
    .competition-activity[data-position="4"] {
        right: 15%;
    }
    
    .competition-activity[data-position="6"] {
        left: 15%;
    }
}

@media (max-width: 767px) {
    .competition-wheel {
        height: 650px;
    }
    
    .competition-activity {
        max-width: 100%;
        width: 90%;
        position: relative;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        margin: 0 auto 30px;
        display: none;
        transform: none !important;
    }
    
    .competition-activity.active {
        display: block;
        transform: none !important;
    }
    
    .trophy-container {
        position: relative;
        margin: 0 auto 30px;
        transform: none;
        left: auto;
        top: auto;
        display: flex;
        justify-content: center;
    }
}

/* Ugarit Project Section */
.ugarit-project {
    position: relative;
    padding: 120px 0;
    background-color: #f9f7f4; /* Light sand color background */
    overflow: hidden;
}

.ugarit-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://i.ibb.co/3CG8rnR/cuneiform-pattern.png');
    background-size: 500px;
    opacity: 0.05;
    pointer-events: none;
}

/* Section Title */
.ugarit-title {
    color: #963;
    position: relative;
    display: inline-block;
}

.ugarit-title::before {
    content: '';
    position: absolute;
    width: 50px;
    height: 50px;
    background-image: url('https://i.ibb.co/MPsQMYK/cuneiform-symbol.png');
    background-size: contain;
    background-repeat: no-repeat;
    top: -30px;
    right: -40px;
    opacity: 0.2;
}

.clay-divider {
    background: linear-gradient(90deg, transparent, #963, transparent);
}

/* Tablet Container */
.ugarit-tablet-container {
    position: relative;
    margin-top: 60px;
    padding: 20px 0;
}

.tablet-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://i.ibb.co/k8RnBQT/sand-texture.jpg');
    background-size: cover;
    opacity: 0.1;
    filter: saturate(0.7);
    border-radius: 10px;
}

/* Ugarit Tablets Layout */
.ugarit-tablets {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin: 0 auto;
    max-width: 1100px;
}

.ugarit-tablet {
    flex: 1;
    min-width: 300px;
    max-width: 350px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform: translateY(0);
    position: relative;
    z-index: 1;
}

.ugarit-tablet:hover {
    transform: translateY(-15px);
    z-index: 2;
}

.ugarit-tablet.featured {
    transform: scale(1.05);
}

.ugarit-tablet.featured:hover {
    transform: scale(1.05) translateY(-15px);
}

/* Tablet Design */
.tablet-inner {
    background: linear-gradient(135deg, #d5c3a9, #c3b091);
    border-radius: 10px;
    padding: 5px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.tablet-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://i.ibb.co/9nfSyM7/clay-texture.jpg');
    background-size: cover;
    opacity: 0.2;
    pointer-events: none;
    mix-blend-mode: overlay;
}

/* Tablet Content */
.tablet-header {
    background: linear-gradient(to right, rgba(150, 51, 51, 0.8), rgba(102, 51, 0, 0.8));
    color: white;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    border-radius: 5px 5px 0 0;
}

.tablet-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.tablet-date {
    font-size: 14px;
    font-weight: 500;
    text-align: left;
}

.tablet-content {
    padding: 25px;
    background-color: #f1e9df;
    position: relative;
    z-index: 1;
}

.tablet-content h3 {
    color: #963;
    font-size: 22px;
    margin-bottom: 15px;
    position: relative;
}

.tablet-content p {
    color: #5a4a3f;
    margin-bottom: 20px;
    line-height: 1.7;
    position: relative;
}

/* Simulate cuneiform writing overlay */
.tablet-hieroglyphs {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://i.ibb.co/CVDnYvq/cuneiform-writing.png');
    background-size: 300px;
    opacity: 0.03;
    pointer-events: none;
    mix-blend-mode: multiply;
}

.tablet-location {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    color: #5a4a3f;
    font-size: 14px;
}

.tablet-location i {
    color: #963;
    margin-left: 10px;
}

.tablet-btn {
    display: inline-block;
    background: linear-gradient(to right, #963, #c93);
    color: white;
    padding: 8px 20px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    position: relative;
    overflow: hidden;
}

.tablet-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0));
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.tablet-btn:hover {
    box-shadow: 0 5px 15px rgba(150, 51, 51, 0.3);
    color: white;
}

.tablet-btn:hover::before {
    transform: translateX(100%);
}

/* Responsive Tablets */
@media (max-width: 991px) {
    .ugarit-tablets {
        flex-direction: column;
        align-items: center;
    }
    
    .ugarit-tablet {
        max-width: 450px;
        margin: 0 auto;
    }
    
    .ugarit-tablet.featured {
        transform: scale(1);
    }
    
    .ugarit-tablet.featured:hover {
        transform: translateY(-15px);
    }
}

/* Let's Read Our Youth Project Section */
.youth-project {
    position: relative;
    padding: 120px 0;
    background: linear-gradient(135deg, #0e1933, #1d2b4c);
    overflow: hidden;
    color: white;
}

.youth-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://i.ibb.co/R4LHnJx/digital-grid.png');
    background-size: cover;
    opacity: 0.1;
    pointer-events: none;
}

/* Section Title */
.youth-title {
    color: white;
    position: relative;
    display: inline-block;
}

.youth-divider {
    background: linear-gradient(90deg, transparent, #4dabf7, transparent);
}

.youth-project .section-intro {
    color: rgba(255, 255, 255, 0.8);
    max-width: 700px;
    margin: 0 auto;
}

/* Youth Activities Container */
.youth-activities-container {
    position: relative;
    margin-top: 60px;
    padding: 20px 0;
}

/* Digital Screens */
.digital-screens {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 50px;
    margin: 0 auto;
    max-width: 1100px;
    position: relative;
    z-index: 2;
}

.digital-screen {
    flex: 1;
    min-width: 300px;
    max-width: 450px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform: translateY(0);
}

.digital-screen:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3), 0 0 20px rgba(77, 171, 247, 0.5);
    border-color: rgba(77, 171, 247, 0.3);
}

/* Screen Header */
.screen-header {
    background: rgba(255, 255, 255, 0.05);
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.screen-controls {
    display: flex;
    gap: 8px;
}

.screen-controls span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: block;
}

.screen-controls span:nth-child(1) {
    background-color: #ff5f57;
}

.screen-controls span:nth-child(2) {
    background-color: #ffbd2e;
}

.screen-controls span:nth-child(3) {
    background-color: #28ca41;
}

.screen-title {
    font-size: 14px;
    color: white;
    opacity: 0.7;
}

/* Screen Content */
.screen-content {
    padding: 25px;
    display: flex;
    flex-direction: row;
    gap: 20px;
}

/* Calendar Design */
.screen-date {
    flex-shrink: 0;
}

.calendar-icon {
    width: 80px;
    height: 100px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.calendar-month {
    background: #4dabf7;
    color: white;
    text-align: center;
    padding: 5px 0;
    font-size: 12px;
    font-weight: 600;
}

.calendar-day {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    padding: 15px 0 5px;
    color: white;
}

.calendar-year {
    font-size: 14px;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
}

/* Screen Details */
.screen-details {
    flex-grow: 1;
}

.screen-details h3 {
    color: white;
    font-size: 22px;
    margin-bottom: 15px;
    position: relative;
}

.screen-details h3::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background: #4dabf7;
    bottom: -8px;
    right: 0;
}

.screen-details p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 15px;
}

.screen-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 15px;
}

.screen-meta span {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    display: flex;
    align-items: center;
}

.screen-meta i {
    color: #4dabf7;
    margin-left: 10px;
    font-size: 16px;
    width: 20px;
}

/* Tags */
.screen-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.tag {
    background: rgba(77, 171, 247, 0.2);
    color: #4dabf7;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    border: 1px solid rgba(77, 171, 247, 0.3);
}

/* Button */
.screen-btn {
    display: inline-block;
    background: linear-gradient(135deg, #4dabf7, #3498db);
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(77, 171, 247, 0.3);
}

.screen-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0));
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.screen-btn:hover {
    box-shadow: 0 8px 25px rgba(77, 171, 247, 0.5);
    color: white;
}

.screen-btn:hover::before {
    transform: translateX(100%);
}

/* Digital Elements */
.digital-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    pointer-events: none;
}

.digital-element {
    position: absolute;
    border-radius: 100%;
    background: radial-gradient(circle, rgba(77, 171, 247, 0.2) 0%, rgba(77, 171, 247, 0) 70%);
}

.element-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    left: 5%;
    animation: float-slow 8s infinite alternate;
}

.element-2 {
    width: 200px;
    height: 200px;
    bottom: 20%;
    right: 15%;
    animation: float-slow 6s infinite alternate-reverse;
}

.element-3 {
    width: 150px;
    height: 150px;
    top: 30%;
    right: 10%;
    animation: float-slow 10s infinite alternate;
}

@keyframes float-slow {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(30px, 30px);
    }
}

/* Responsive Screens */
@media (max-width: 991px) {
    .digital-screens {
        flex-direction: column;
        align-items: center;
    }
    
    .digital-screen {
        max-width: 100%;
        margin-bottom: 30px;
    }
}

@media (max-width: 767px) {
    .screen-content {
        flex-direction: column;
    }
    
    .screen-date {
        margin-bottom: 20px;
        display: flex;
        justify-content: center;
    }
}

/* Let's Read in the Virtual World Initiative */
.virtual-world {
    position: relative;
    padding: 120px 0;
    background: linear-gradient(135deg, #0a0a2a, #191970);
    overflow: hidden;
    color: white;
}

.virtual-world-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://i.ibb.co/nQRbpVk/cyberspace-grid.png');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    pointer-events: none;
    animation: grid-move 30s linear infinite;
}

@keyframes grid-move {
    0% {
        background-position: 0% 0%;
    }
    100% {
        background-position: 100% 100%;
    }
}

/* Section Title */
.vr-title {
    color: #7b68ee;
    position: relative;
    display: inline-block;
    text-shadow: 0 0 10px rgba(123, 104, 238, 0.5);
}

.vr-divider {
    background: linear-gradient(90deg, transparent, #7b68ee, transparent);
    box-shadow: 0 0 10px rgba(123, 104, 238, 0.5);
}

.virtual-world .section-intro {
    color: rgba(255, 255, 255, 0.8);
    max-width: 700px;
    margin: 0 auto;
}

/* VR Gallery Container */
.vr-gallery-container {
    position: relative;
    margin-top: 60px;
    min-height: 600px;
}

/* 3D Scene */
.vr-scene {
    position: relative;
    perspective: 1000px;
    min-height: 600px;
}

.vr-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle, rgba(123, 104, 238, 0.2) 1px, transparent 1px);
    background-size: 30px 30px;
    transform-style: preserve-3d;
    transform: rotateX(60deg) translateZ(-100px);
    opacity: 0.5;
    animation: grid-pulse 5s ease-in-out infinite alternate;
}

@keyframes grid-pulse {
    0% {
        opacity: 0.3;
        background-size: 30px 30px;
    }
    100% {
        opacity: 0.6;
        background-size: 35px 35px;
    }
}

.vr-orb {
    position: absolute;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(123, 104, 238, 0.5) 0%, rgba(123, 104, 238, 0) 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: orb-pulse 4s infinite alternate;
    box-shadow: 0 0 50px rgba(123, 104, 238, 0.5);
    pointer-events: none;
}

@keyframes orb-pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0.3;
    }
}

/* VR Activities */
.vr-activities {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    position: relative;
    gap: 25px;
    max-width: 1100px;
    margin: 0 auto;
    transform-style: preserve-3d;
}

.vr-activity {
    width: 280px;
    height: 320px;
    position: relative;
    perspective: 1000px;
    z-index: 2;
}

.vr-activity-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s;
    transform-style: preserve-3d;
    cursor: pointer;
}

.vr-activity:hover .vr-activity-inner {
    transform: rotateY(180deg);
}

.vr-activity-front, .vr-activity-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.vr-activity-front {
    background: linear-gradient(135deg, rgba(123, 104, 238, 0.2), rgba(72, 61, 139, 0.5));
    backdrop-filter: blur(5px);
    border: 1px solid rgba(123, 104, 238, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    text-align: center;
}

.vr-activity-back {
    background: linear-gradient(135deg, rgba(72, 61, 139, 0.8), rgba(123, 104, 238, 0.5));
    transform: rotateY(180deg);
    padding: 25px;
    display: flex;
    flex-direction: column;
}

/* Front Side Content */
.vr-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: #7b68ee;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.vr-icon::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(45deg, rgba(123, 104, 238, 0) 0%, rgba(123, 104, 238, 0.5) 50%, rgba(123, 104, 238, 0) 100%);
    animation: shimmer 2s infinite;
    transform: rotate(45deg);
}

@keyframes shimmer {
    0% {
        transform: translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateY(100%) rotate(45deg);
    }
}

.vr-activity-front h3 {
    color: white;
    font-size: 22px;
    margin-bottom: 15px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.vr-date {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    background: rgba(123, 104, 238, 0.3);
    padding: 5px 15px;
    border-radius: 20px;
    margin-top: 10px;
}

/* Back Side Content */
.vr-activity-back p {
    color: white;
    line-height: 1.6;
    font-size: 15px;
    margin-bottom: auto;
}

.vr-meta {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.vr-meta span {
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.vr-meta i {
    color: #7b68ee;
    margin-left: 10px;
    font-size: 16px;
    width: 20px;
}

/* Controls */
.vr-controls {
    text-align: center;
    margin-top: 30px;
}

.vr-hint {
    display: inline-block;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    padding: 10px 20px;
    background: rgba(123, 104, 238, 0.2);
    border-radius: 30px;
    border: 1px solid rgba(123, 104, 238, 0.3);
    animation: hint-pulse 2s infinite;
}

@keyframes hint-pulse {
    0% {
        box-shadow: 0 0 10px rgba(123, 104, 238, 0.5);
    }
    50% {
        box-shadow: 0 0 20px rgba(123, 104, 238, 0.8);
    }
    100% {
        box-shadow: 0 0 10px rgba(123, 104, 238, 0.5);
    }
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .vr-activities {
        max-width: 900px;
    }
    
    .vr-activity {
        width: 250px;
        height: 300px;
    }
}

@media (max-width: 991px) {
    .vr-activities {
        gap: 20px;
    }
    
    .vr-activity {
        width: 220px;
        height: 280px;
    }
    
    .vr-activity-front h3 {
        font-size: 18px;
    }
}

@media (max-width: 767px) {
    .vr-activities {
        flex-direction: column;
        align-items: center;
    }
    
    .vr-activity {
        width: 280px;
        height: 320px;
        margin-bottom: 30px;
    }
}

/* Writing Workshops Section */
.writing-workshops {
    position: relative;
    padding: 120px 0;
    background-color: #f9f7f3;
    overflow: hidden;
}

.paper-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://i.ibb.co/gRWX4Tv/paper-texture.jpg');
    background-size: cover;
    opacity: 0.2;
    pointer-events: none;
}

/* Section Title */
.writing-title {
    color: #333;
    position: relative;
    display: inline-block;
}

.writing-title::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 40px;
    background-image: url('https://i.ibb.co/VQnZpd2/quill-icon.png');
    background-size: contain;
    background-repeat: no-repeat;
    top: -20px;
    right: -40px;
    opacity: 0.6;
}

.ink-divider {
    background: linear-gradient(90deg, transparent, #333, transparent);
}

/* Writing Desk Layout */
.writing-desk {
    position: relative;
    margin-top: 60px;
    padding: 40px 0;
}

.ink-splatter {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background-image: url('https://i.ibb.co/F3JbJYG/ink-splatter.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.06;
    pointer-events: none;
    z-index: 1;
}

/* Notebooks Section */
.notebooks {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    z-index: 2;
}

.notebook {
    position: relative;
    width: 450px;
    height: 600px;
    perspective: 1500px;
    z-index: 2;
    transition: transform 0.3s ease;
}

.notebook:hover {
    transform: translateY(-10px);
}

.notebook-cover {
    position: absolute;
    width: 100%;
    height: 100%;
    transform-origin: center left;
    transition: transform 0.8s ease;
    transform-style: preserve-3d;
    background: linear-gradient(135deg, #e9dfc9, #d6caad);
    border-radius: 5px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    padding: 20px;
    display: flex;
    flex-direction: column;
    z-index: 2;
}

.notebook:hover .notebook-cover {
    transform: rotateY(-35deg);
}

.notebook-binding {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 30px;
    background: linear-gradient(90deg, #b2a58a, #d1c5a8);
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    padding: 20px 0;
    border-radius: 5px 0 0 5px;
}

.notebook-binding span {
    width: 8px;
    height: 8px;
    background-color: #8b755a;
    border-radius: 50%;
}

.notebook-title {
    margin-top: 40px;
    font-size: 28px;
    font-weight: 700;
    color: #333;
    text-align: center;
    text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.5);
    position: relative;
    z-index: 1;
}

.notebook-date {
    margin-top: 15px;
    font-size: 18px;
    color: #666;
    text-align: center;
    font-weight: 500;
}

.notebook-sticker {
    position: absolute;
    bottom: 40px;
    right: -10px;
    transform: rotate(-5deg);
    background-color: #3498db;
    color: white;
    padding: 8px 25px;
    font-size: 16px;
    border-radius: 3px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.notebook-sticker::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 80%);
}

.notebook-sticker::after {
    content: '';
    position: absolute;
    width: 15px;
    height: 15px;
    background-color: #2980b9;
    bottom: -7px;
    right: 10px;
    transform: rotate(45deg);
    z-index: -1;
}

/* Notebook Pages */
.notebook-pages {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 5px;
    background-color: #f9f7f0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 20px;
    overflow: hidden;
}

.page {
    position: relative;
    width: 100%;
    height: 100%;
    background-image: url('https://i.ibb.co/GQ5Pn74/notebook-lines.png');
    background-size: 100% 30px;
    padding: 0 20px;
}

.page::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 60px;
    width: 1px;
    background-color: rgba(255, 0, 0, 0.2);
}

.page-content {
    padding: 20px 0 20px 70px;
}

.workshop-details h3 {
    color: #333;
    font-size: 22px;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 10px;
}

.workshop-details h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: #3498db;
}

.workshop-description p {
    line-height: 1.7;
    color: #444;
    margin-bottom: 20px;
    text-align: justify;
}

.workshop-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 25px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature span:first-child {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background-color: #3498db;
    color: white;
    border-radius: 50%;
}

.feature span:last-child {
    color: #555;
}

.register-btn {
    display: inline-block;
    background-color: #3498db;
    color: white;
    padding: 10px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.register-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0));
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.register-btn:hover {
    background-color: #2980b9;
    color: white;
}

.register-btn:hover::before {
    transform: translateX(100%);
}

/* Writing Tools */
.writing-tools {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 100px;
    z-index: 3;
}

.pen, .pencil, .eraser {
    position: absolute;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.8;
    transform-origin: center center;
}

.pen {
    width: 220px;
    height: 30px;
    background-image: url('https://i.ibb.co/HgtLPjJ/fountain-pen.png');
    top: 10px;
    left: 40px;
    transform: rotate(15deg);
}

.pencil {
    width: 200px;
    height: 20px;
    background-image: url('https://i.ibb.co/T1LKZNZ/pencil.png');
    bottom: 20px;
    right: 30px;
    transform: rotate(-10deg);
}

.eraser {
    width: 80px;
    height: 40px;
    background-image: url('https://i.ibb.co/0rX1SPq/eraser.png');
    bottom: 0;
    left: 10px;
    transform: rotate(-5deg);
}

/* Left and Right Notebook Positioning */
.notebook.left {
    transform-origin: center right;
}

.notebook.right {
    transform-origin: center left;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .notebook {
        width: 400px;
        height: 550px;
    }
}

@media (max-width: 991px) {
    .notebooks {
        flex-direction: column;
        gap: 80px;
    }
    
    .notebook {
        width: 450px;
        height: 600px;
    }
    
    .writing-tools {
        display: none;
    }
}

@media (max-width: 768px) {
    .notebook {
        width: 350px;
        height: 500px;
    }
    
    .notebook-title {
        font-size: 24px;
    }
    
    .notebook-date {
        font-size: 16px;
    }
    
    .workshop-details h3 {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .notebook {
        width: 300px;
        height: 450px;
    }
    
    .page-content {
        padding-left: 50px;
    }
    
    .page::before {
        left: 40px;
    }
}

/* Enhanced Luxury Activities Section */
.activities {
    position: relative;
    padding: 120px 0;
    background-color: #f9f7f5;
    overflow: hidden;
}

.activities-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://i.ibb.co/kQZVK9Y/luxury-pattern.png');
    background-size: 400px;
    opacity: 0.04;
    pointer-events: none;
}

.activities-decoration {
    position: absolute;
    width: 300px;
    height: 300px;
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.07;
    pointer-events: none;
}

.activities-decoration.left {
    top: 50px;
    left: 0;
    background-image: url('https://i.ibb.co/kMR2CY7/arabesque-decoration.png');
    transform: rotate(-15deg);
}

.activities-decoration.right {
    bottom: 50px;
    right: 0;
    background-image: url('https://i.ibb.co/kMR2CY7/arabesque-decoration.png');
    transform: rotate(15deg) scaleX(-1);
}

.activities .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.luxury-title {
    color: #0c2e60;
    font-size: 42px;
    font-weight: 700;
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
}

.luxury-title::before {
    content: '';
    position: absolute;
    width: 50px;
    height: 50px;
    background-image: url('https://i.ibb.co/42nZ1vM/luxury-symbol.png');
    background-size: contain;
    background-repeat: no-repeat;
    top: -20px;
    right: -40px;
    opacity: 0.2;
}

.luxury-divider {
    width: 120px;
    height: 3px;
    background: linear-gradient(to right, transparent, #0c2e60, transparent);
    margin: 0 auto 20px;
    position: relative;
}

.luxury-divider::before, .luxury-divider::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #0c2e60;
    top: -2.5px;
}

.luxury-divider::before {
    left: 30px;
}

.luxury-divider::after {
    right: 30px;
}

.section-intro {
    max-width: 700px;
    margin: 0 auto;
    color: #666;
    font-size: 18px;
    line-height: 1.7;
}

/* Luxury Activities Container */
.luxury-activities-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.luxury-activities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Luxury Activity Cards */
.luxury-activity-card {
    position: relative;
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    height: 450px;
}

.luxury-activity-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.luxury-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
}

.luxury-card-front {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.6));
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
}

.luxury-activity-card:hover .card-bg-overlay {
    opacity: 0.3;
}

/* Image Section */
.luxury-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.luxury-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.luxury-activity-card:hover .luxury-image img {
    transform: scale(1.1);
}

.luxury-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0c2e60;
    font-size: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 2;
    transition: all 0.3s ease;
}

.luxury-activity-card:hover .luxury-icon {
    transform: rotate(360deg);
    background-color: #0c2e60;
    color: white;
}

/* Content Section */
.luxury-content {
    flex: 1;
    padding: 25px;
    display: flex;
    flex-direction: column;
    position: relative;
    background-color: white;
    z-index: 2;
}

.title-reveal {
    color: #0c2e60;
    font-size: 22px;
    margin-bottom: 15px;
    position: relative;
    transform: translateY(20px);
    opacity: 0;
    transition: transform 0.5s ease, opacity 0.5s ease;
    transition-delay: 0.1s;
}

.luxury-activity-card:hover .title-reveal {
    transform: translateY(0);
    opacity: 1;
}

.content-line {
    width: 0;
    height: 3px;
    background-color: #0c2e60;
    margin-bottom: 15px;
    transition: width 0.5s ease;
    transition-delay: 0.2s;
}

.luxury-activity-card:hover .content-line {
    width: 50px;
}

.text-reveal {
    color: #666;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 20px;
    transform: translateY(20px);
    opacity: 0;
    transition: transform 0.5s ease, opacity 0.5s ease;
    transition-delay: 0.3s;
}

.luxury-activity-card:hover .text-reveal {
    transform: translateY(0);
    opacity: 1;
}

.luxury-button {
    display: inline-block;
    background-color: transparent;
    color: #0c2e60;
    border: 1px solid #0c2e60;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    margin-top: auto;
    align-self: flex-start;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    transform: translateY(20px);
    opacity: 0;
    transition: transform 0.5s ease, opacity 0.5s ease, background-color 0.3s ease, color 0.3s ease;
    transition-delay: 0.4s;
}

.luxury-button i {
    margin-right: 8px;
    transition: transform 0.3s ease;
}

.luxury-activity-card:hover .luxury-button {
    transform: translateY(0);
    opacity: 1;
}

.luxury-button:hover {
    background-color: #0c2e60;
    color: white;
}

.luxury-button:hover i {
    transform: translateX(-5px);
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .luxury-activities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .luxury-activities-grid {
        grid-template-columns: 1fr;
    }
    
    .luxury-title {
        font-size: 32px;
    }
    
    .luxury-activity-card {
        height: 400px;
    }
}

/* Activities Section */
.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.activity-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.activity-card:hover {
    transform: translateY(-10px);
}

.activity-image {
    height: 200px;
    overflow: hidden;
}

.activity-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.activity-card:hover .activity-image img {
    transform: scale(1.1);
}

.activity-content {
    padding: 20px;
    background-color: white;
}

.activity-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

/* Team Section */
.team {
    background-color: var(--light-gray);
}

.team-category {
    margin-bottom: 40px;
}

.team-category h3 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 24px;
    color: var(--primary-color);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.team-member {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-10px);
}

.member-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 5px solid var(--light-gray);
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member h4 {
    font-size: 20px;
    margin-bottom: 5px;
}

.team-member p {
    font-size: 14px;
    color: var(--dark-gray);
    margin-bottom: 15px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.social-icons a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--light-gray);
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Luxury Team Section */
.team {
    position: relative;
    padding: 120px 0;
    background-color: #fbfaf8;
    overflow: hidden;
}

/* Add arabesque pattern background */
.team::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://i.ibb.co/4WMdnvk/arabesque-pattern.png');
    background-size: 300px;
    opacity: 0.03;
    pointer-events: none;
}

/* Team Section Header */
.team-title {
    color: #0c2e60;
    font-size: 42px;
    font-weight: 700;
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
}

.team-divider {
    background: linear-gradient(90deg, transparent, #0c2e60, transparent);
    width: 120px;
    height: 3px;
    margin: 0 auto 20px;
    position: relative;
}

.team-divider::before, .team-divider::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #0c2e60;
    top: -2.5px;
}

.team-divider::before {
    left: 30%;
}

.team-divider::after {
    right: 30%;
}

/* Category Header */
.team-category {
    margin-top: 70px;
}

.category-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.category-title {
    display: inline-block;
    font-size: 28px;
    color: #0c2e60;
    margin-bottom: 15px;
    position: relative;
    padding: 0 40px;
}

.category-title::before, .category-title::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30px;
    height: 2px;
    background-color: #0c2e60;
    opacity: 0.5;
}

.category-title::before {
    right: 0;
}

.category-title::after {
    left: 0;
}

.category-ornament {
    width: 60px;
    height: 20px;
    background-image: url('https://i.ibb.co/Xy8C2s7/arabesque-ornament.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin: 0 auto;
    opacity: 0.6;
}

/* Luxury Team Grid */
.luxury-team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Luxury Team Members */
.luxury-team-member {
    position: relative;
    perspective: 1000px;
    height: 400px;
}

.member-card {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.luxury-team-member:hover .member-card {
    transform: translateY(-15px);
}

.member-card-front {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

/* Member Image Container */
.member-image-container {
    flex: 1;
    position: relative;
    overflow: hidden;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to bottom, rgba(12, 46, 96, 0.03), rgba(12, 46, 96, 0.07));
}

.member-image-frame {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    border: 5px solid white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.luxury-team-member:hover .member-image-frame {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.member-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.luxury-team-member:hover .member-image-frame img {
    transform: scale(1.1);
}

.member-frame-decoration {
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    border: 2px solid rgba(12, 46, 96, 0.2);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.luxury-team-member:hover .member-frame-decoration {
    opacity: 1;
    transform: scale(1.1);
}

/* Member Content */
.member-content {
    padding: 20px;
    text-align: center;
    background-color: white;
}

.member-name {
    color: #0c2e60;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
    transform: translateY(20px);
    opacity: 0;
    transition: transform 0.5s ease, opacity 0.5s ease;
    transition-delay: 0.1s;
}

.luxury-team-member:hover .member-name {
    transform: translateY(0);
    opacity: 1;
}

.member-title-line {
    width: 0;
    height: 2px;
    background-color: #0c2e60;
    margin: 10px auto 15px;
    transition: width 0.5s ease;
    transition-delay: 0.2s;
}

.luxury-team-member:hover .member-title-line {
    width: 50px;
}

.member-title {
    color: #666;
    font-size: 16px;
    margin-bottom: 15px;
    transform: translateY(20px);
    opacity: 0;
    transition: transform 0.5s ease, opacity 0.5s ease;
    transition-delay: 0.3s;
}

.luxury-team-member:hover .member-title {
    transform: translateY(0);
    opacity: 1;
}

/* Social Icons */
.member-social {
    display: flex;
    justify-content: center;
    gap: 10px;
    transform: translateY(20px);
    opacity: 0;
    transition: transform 0.5s ease, opacity 0.5s ease;
    transition-delay: 0.4s;
}

.luxury-team-member:hover .member-social {
    transform: translateY(0);
    opacity: 1;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background-color: rgba(12, 46, 96, 0.05);
    border-radius: 50%;
    color: #0c2e60;
    transition: all 0.3s ease;
    font-size: 14px;
}

.social-icon:hover {
    background-color: #0c2e60;
    color: white;
    transform: translateY(-5px);
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .luxury-team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .luxury-team-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .team-title {
        font-size: 32px;
    }
}

/* Luxury Join Section */
.luxury-join {
    position: relative;
    padding: 120px 0;
    background-color: #f9f7f4;
    overflow: hidden;
}

.luxury-join .pattern-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://i.ibb.co/4WMdnvk/arabesque-pattern.png');
    background-size: 300px;
    opacity: 0.03;
    pointer-events: none;
}

/* Luxury Section Header */
.luxury-join .luxury-section-header {
    text-align: center;
    position: relative;
    margin-bottom: 60px;
}

.luxury-join .join-title {
    color: #0c2e60;
    font-size: 42px;
    font-weight: 700;
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
    transform: translateY(30px);
    opacity: 0;
    animation: fadeInUp 0.7s forwards 0.3s;
}

.luxury-join .header-decoration {
    position: absolute;
    width: 80px;
    height: 30px;
    background-image: url('https://i.ibb.co/Xy8C2s7/arabesque-ornament.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    top: 50%;
    transform: translateY(-50%) scale(0);
    opacity: 0;
    animation: scaleIn 0.6s forwards 0.6s;
}

.luxury-join .header-decoration.left {
    right: calc(100% + 20px);
    transform-origin: right center;
}

.luxury-join .header-decoration.right {
    left: calc(100% + 20px);
    transform-origin: left center;
    transform: translateY(-50%) scale(0) scaleX(-1);
}

.luxury-join .luxury-divider {
    background: linear-gradient(90deg, transparent, #0c2e60, transparent);
    width: 120px;
    height: 3px;
    margin: 0 auto 20px;
    position: relative;
    transform: scaleX(0);
    animation: scaleInX 0.7s forwards 0.7s;
}

.luxury-join .diamond-decoration {
    position: absolute;
    width: 12px;
    height: 12px;
    background-color: #0c2e60;
    transform: rotate(45deg) scale(0);
    top: -4.5px;
    left: 50%;
    margin-left: -6px;
    opacity: 0;
    animation: rotateIn 0.6s forwards 0.9s;
}

/* Join Content Layout */
.luxury-join-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 60px;
}

/* Image Container */
.join-image-container {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    position: relative;
}

.join-image-frame {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    transform: translateY(30px);
    opacity: 0;
    animation: fadeInUp 0.8s forwards 0.5s;
}

.join-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.7s ease;
}

.join-image-container:hover .join-image {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(12, 46, 96, 0.1), rgba(12, 46, 96, 0.3));
    opacity: 0;
    transition: opacity 0.5s ease;
}

.join-image-container:hover .image-overlay {
    opacity: 1;
}

.image-decoration {
    position: absolute;
    width: 80px;
    height: 80px;
    background-image: url('https://i.ibb.co/Xy8C2s7/arabesque-ornament.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.3;
    z-index: -1;
    transform: scale(0);
    animation: floatDecoration 3s ease-in-out infinite, scaleIn 0.6s forwards 0.9s;
}

.image-decoration.top-left {
    top: -30px;
    left: -30px;
    animation-delay: 0.9s, 0.9s;
}

.image-decoration.bottom-right {
    bottom: -30px;
    right: -30px;
    transform: rotate(180deg) scale(0);
    animation-delay: 1.1s, 1.1s;
}

/* Join Text Section */
.join-text-container {
    flex: 1;
    min-width: 300px;
}

.join-subtitle {
    color: #0c2e60;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    transform: translateY(30px);
    opacity: 0;
    animation: fadeInUp 0.7s forwards 0.7s;
}

.join-subtitle .highlight {
    position: relative;
    display: inline-block;
}

.join-subtitle .highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 0;
    height: 3px;
    background-color: #d4af37;
    animation: lineGrow 0.7s forwards 1.2s;
}

.join-description {
    font-size: 17px;
    line-height: 1.7;
    color: #444;
    margin-bottom: 30px;
    transform: translateY(30px);
    opacity: 0;
    animation: fadeInUp 0.7s forwards 0.9s;
}

/* Benefits Container */
.benefits-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 30px 0;
    transform: translateY(30px);
    opacity: 0;
    animation: fadeInUp 0.7s forwards 1.1s;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    position: relative;
    overflow: hidden;
}

.benefit-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 0;
    background-color: #0c2e60;
    transition: height 0.4s ease;
}

.benefit-item:hover {
    transform: translateX(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.benefit-item:hover::before {
    height: 100%;
}

.benefit-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(12, 46, 96, 0.1);
    border-radius: 50%;
    font-size: 20px;
    color: #0c2e60;
    transition: transform 0.4s ease, background-color 0.4s ease, color 0.4s ease;
}

.benefit-item:hover .benefit-icon {
    background-color: #0c2e60;
    color: white;
    transform: scale(1.1);
}

.benefit-text {
    flex: 1;
}

.benefit-text h4 {
    color: #0c2e60;
    font-size: 20px;
    margin-bottom: 8px;
    opacity: 0;
    transform: translateY(20px);
}

.benefit-text p {
    color: #555;
    font-size: 15px;
    line-height: 1.5;
    opacity: 0;
    transform: translateY(20px);
}

.benefit-item:hover .text-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.benefit-item:nth-child(1):hover .text-reveal {
    transition-delay: 0.1s;
}

.benefit-item:nth-child(2):hover .text-reveal {
    transition-delay: 0.2s;
}

.benefit-item:nth-child(3):hover .text-reveal {
    transition-delay: 0.3s;
}

/* Join Action Button */
.join-action {
    margin-top: 40px;
    position: relative;
    text-align: center;
    transform: translateY(30px);
    opacity: 0;
    animation: fadeInUp 0.7s forwards 1.3s;
}

.luxury-btn.join-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 15px 40px;
    background: linear-gradient(135deg, #0c2e60, #1a4b8c);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    box-shadow: 0 10px 20px rgba(12, 46, 96, 0.2);
    z-index: 1;
}

.btn-text {
    position: relative;
    z-index: 2;
}

.btn-icon {
    position: relative;
    z-index: 2;
    transition: transform 0.4s ease;
}

.luxury-btn.join-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(12, 46, 96, 0.3);
}

.luxury-btn.join-btn:hover .btn-icon {
    transform: translateX(-5px);
}

.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50px;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    transform: skewX(-20deg);
    transition: left 0s ease;
    z-index: 1;
}

.luxury-btn.join-btn:hover .btn-shine {
    left: 200%;
    transition: left 1s ease;
}

.btn-ornament {
    position: absolute;
    width: 30px;
    height: 30px;
    background-image: url('https://i.ibb.co/Xy8C2s7/arabesque-ornament.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.btn-ornament.left {
    top: 50%;
    left: -50px;
    transform: translateY(-50%) scale(0.7);
}

.btn-ornament.right {
    top: 50%;
    right: -50px;
    transform: translateY(-50%) scale(0.7) scaleX(-1);
}

.join-action:hover .btn-ornament {
    opacity: 0.6;
}

.join-action:hover .btn-ornament.left {
    transform: translateY(-50%) scale(1);
}

.join-action:hover .btn-ornament.right {
    transform: translateY(-50%) scale(1) scaleX(-1);
}

/* Animations */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    to {
        opacity: 0.6;
        transform: translateY(-50%) scale(1);
    }
}

@keyframes scaleInX {
    to {
        transform: scaleX(1);
    }
}

@keyframes rotateIn {
    to {
        opacity: 1;
        transform: rotate(45deg) scale(1);
    }
}

@keyframes lineGrow {
    to {
        width: 100%;
    }
}

@keyframes floatDecoration {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(5px, 5px) scale(1);
    }
}

/* Responsive Styles */
@media (max-width: 991px) {
    .luxury-join-content {
        flex-direction: column;
        align-items: center;
    }
    
    .join-image-container {
        margin: 0 auto;
        max-width: 420px;
    }
}

@media (max-width: 767px) {
    .luxury-join {
        padding: 80px 0;
    }
    
    .luxury-join .join-title {
        font-size: 32px;
    }
    
    .join-subtitle {
        font-size: 24px;
    }
    
    .join-description {
        font-size: 16px;
    }
    
    .benefit-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .benefit-text h4 {
        font-size: 18px;
    }
    
    .benefit-text p {
        font-size: 14px;
    }
    
    .luxury-btn.join-btn {
        padding: 12px 30px;
        font-size: 16px;
    }
}

/* Join Section */
.join-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: flex-start;
}

.join-text {
    flex: 1;
    min-width: 300px;
}

.benefits {
    margin: 20px 0;
}

.benefits li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.benefits li i {
    color: var(--primary-color);
    margin-left: 10px;
}

.join-form {
    flex: 1;
    min-width: 300px;
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 15px;
    border-radius: 5px;
    border: 1px solid var(--border-color);
    font-family: 'Tajawal', sans-serif;
    font-size: 16px;
}

.form-group textarea {
    resize: vertical;
}

/* Contact Section */
.contact {
    background-color: var(--light-gray);
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.contact-item .icon {
    font-size: 24px;
    color: var(--primary-color);
    margin-left: 15px;
    min-width: 40px;
    text-align: center;
}

.contact-item .text h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

.social-media {
    margin-top: 40px;
}

.contact-form {
    flex: 1;
    min-width: 300px;
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Luxury Footer */
.luxury-footer {
    position: relative;
    background-color: #0a1f3c;
    color: white;
    padding: 80px 0 30px;
    overflow: hidden;
}

/* Background Pattern */
.footer-pattern-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://i.ibb.co/4WMdnvk/arabesque-pattern.png');
    background-size: 300px;
    opacity: 0.04;
    pointer-events: none;
}

/* Decorative Elements */
.footer-decoration {
    position: absolute;
    width: 100px;
    height: 100px;
    background-image: url('https://i.ibb.co/Xy8C2s7/arabesque-ornament.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.1;
    z-index: 1;
}

.footer-decoration.top-left {
    top: 30px;
    left: 30px;
    transform: scale(0) rotate(-45deg);
    animation: footerDecorIn 1s forwards 0.3s, floatFooterDecor 4s ease-in-out infinite 1.3s;
}

.footer-decoration.top-right {
    top: 30px;
    right: 30px;
    transform: scale(0) rotate(45deg);
    animation: footerDecorIn 1s forwards 0.6s, floatFooterDecor 4s ease-in-out infinite 1.6s;
}

.footer-decoration.bottom-left {
    bottom: 30px;
    left: 30px;
    transform: scale(0) rotate(45deg);
    animation: footerDecorIn 1s forwards 0.9s, floatFooterDecor 4s ease-in-out infinite 1.9s;
}

.footer-decoration.bottom-right {
    bottom: 30px;
    right: 30px;
    transform: scale(0) rotate(-45deg);
    animation: footerDecorIn 1s forwards 1.2s, floatFooterDecor 4s ease-in-out infinite 2.2s;
}

/* Footer Header */
.footer-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 50px;
    position: relative;
}

.header-line {
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.7));
    flex: 1;
    max-width: 150px;
    opacity: 0;
    transform: scaleX(0);
    animation: fadeInScaleX 1s forwards 0.5s;
}

.header-line.left {
    transform-origin: right;
    margin-right: 30px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.7));
}

.header-line.right {
    transform-origin: left;
    margin-left: 30px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.7), transparent);
}

.footer-title-container {
    position: relative;
    display: inline-block;
}

.footer-title {
    font-size: 36px;
    font-weight: 700;
    position: relative;
    z-index: 2;
    margin: 0;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transform: translateY(30px);
    opacity: 0;
    animation: footerTitleIn 0.7s forwards 0.7s;
}

.title-decoration {
    position: absolute;
    bottom: -10px;
    left: 0;
    right: 0;
    height: 8px;
    background-image: url('https://i.ibb.co/Xy8C2s7/arabesque-ornament.png');
    background-size: contain;
    background-repeat: repeat-x;
    background-position: center;
    opacity: 0;
    animation: fadeIn 1s forwards 1s;
}

/* Main Footer Content */
.luxury-footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 50px;
    position: relative;
}

/* About Section */
.footer-about, .footer-links, .footer-newsletter {
    flex: 1;
    min-width: 250px;
    margin-bottom: 30px;
    padding: 0 20px;
}

/* Logo Container */
.footer-logo-container {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.logo-frame {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.1);
    animation: logoGlow 2s ease-in-out infinite;
}

.footer-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.logo-glow {
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    transform: skewX(-20deg);
    animation: logoShine 3s ease-in-out infinite;
}

.brand-name {
    font-size: 28px;
    font-weight: 700;
    margin: 0;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.7s forwards 0.7s;
}

.footer-about-text {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 25px;
    color: rgba(255, 255, 255, 0.8);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.7s forwards 0.9s;
}

/* Social Media */
.footer-social {
    margin-top: 25px;
}

.social-title {
    display: block;
    font-size: 18px;
    margin-bottom: 15px;
    font-weight: 600;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.7s forwards 1.1s;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    font-size: 18px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    opacity: 0;
    transform: scale(0.5);
    animation: socialIconIn 0.5s forwards calc(1.2s + var(--i, 0) * 0.1s);
}

.social-icon-link:nth-child(1) { --i: 1; }
.social-icon-link:nth-child(2) { --i: 2; }
.social-icon-link:nth-child(3) { --i: 3; }
.social-icon-link:nth-child(4) { --i: 4; }

.social-icon-link:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transform: skewX(-20deg);
    transition: left 0s;
}

.social-icon-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.social-icon-link:hover:before {
    left: 120%;
    transition: left 0.5s ease;
}

/* Data tooltip */
.social-icon-link[data-tooltip]:before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%) scale(0);
    padding: 5px 10px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 10;
}

.social-icon-link[data-tooltip]:hover:before {
    opacity: 1;
    transform: translateX(-50%) scale(1);
    bottom: -35px;
}

/* Links Section */
.footer-section-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.7s forwards 0.7s;
}

.footer-section-title .highlight {
    position: relative;
    display: inline-block;
    color: #d4af37; /* Gold color */
}

.footer-section-title .highlight:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #d4af37;
    transform: scaleX(0);
    transform-origin: right;
    animation: scaleInX 0.7s forwards 1.2s;
}

.section-divider {
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.7), transparent);
    margin-bottom: 25px;
    transform: scaleX(0);
    transform-origin: right;
    animation: scaleInX 0.7s forwards 0.9s;
}

.luxury-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.link-item {
    margin-bottom: 15px;
    opacity: 0;
    transform: translateX(-20px);
}

.link-item:nth-child(1) { animation: linkItemIn 0.5s forwards 0.8s; }
.link-item:nth-child(2) { animation: linkItemIn 0.5s forwards 0.9s; }
.link-item:nth-child(3) { animation: linkItemIn 0.5s forwards 1.0s; }
.link-item:nth-child(4) { animation: linkItemIn 0.5s forwards 1.1s; }
.link-item:nth-child(5) { animation: linkItemIn 0.5s forwards 1.2s; }
.link-item:nth-child(6) { animation: linkItemIn 0.5s forwards 1.3s; }
.link-item:nth-child(7) { animation: linkItemIn 0.5s forwards 1.4s; }

.link-item a {
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 8px 0;
    position: relative;
}

.link-item a:before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8));
    transition: width 0.3s ease;
}

.link-item a:hover {
    color: white;
    transform: translateX(-8px);
}

.link-item a:hover:before {
    width: 100%;
}

.link-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin-left: 12px;
    transition: all 0.3s ease;
}

.link-item a:hover .link-icon {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(360deg);
}

.link-text {
    position: relative;
    transition: transform 0.3s ease;
}

/* Newsletter Section */
.newsletter-text {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 25px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.7s forwards 0.9s;
}

.luxury-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.7s forwards 1.1s;
}

.input-container {
    position: relative;
}

.input-container input {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 8px;
    color: white;
    font-family: 'Tajawal', sans-serif;
    font-size: 16px;
    transition: all 0.3s ease;
}

.input-container input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.input-container input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.15);
}

.input-border {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #d4af37, transparent);
    transition: width 0.3s ease;
}

.input-container input:focus ~ .input-border {
    width: 100%;
}

.newsletter-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 25px;
    background: linear-gradient(45deg, #0a2b5c, #134086);
    border: none;
    border-radius: 8px;
    color: white;
    font-family: 'Tajawal', sans-serif;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.newsletter-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.newsletter-btn .btn-icon {
    transition: transform 0.3s ease;
}

.newsletter-btn:hover .btn-icon {
    transform: translateX(-5px);
}

.newsletter-btn .btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50px;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    transform: skewX(-20deg);
    transition: left 0s ease;
}

.newsletter-btn:hover .btn-shine {
    left: 150%;
    transition: left 0.5s ease;
}

/* Footer Bottom */
.luxury-footer-bottom {
    position: relative;
    text-align: center;
    padding-top: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bottom-decoration {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    flex: 1;
    max-width: 200px;
    opacity: 0;
    animation: fadeIn 1s forwards 1.3s;
}

.copyright {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 20px;
    opacity: 0;
    animation: fadeIn 1s forwards 1.5s;
}

.year-text {
    display: inline-block;
    color: #d4af37;
    font-weight: 700;
    animation: yearPulse 2s infinite;
}

/* Animations */
@keyframes footerDecorIn {
    from {
        opacity: 0;
        transform: scale(0) rotate(var(--rotation, 0deg));
    }
    to {
        opacity: 0.1;
        transform: scale(1) rotate(var(--rotation, 0deg));
    }
}

@keyframes floatFooterDecor {
    0%, 100% {
        transform: translate(0, 0) scale(1) rotate(var(--rotation, 0deg));
    }
    50% {
        transform: translate(5px, 5px) scale(1.05) rotate(var(--rotation, 0deg));
    }
}

@keyframes fadeInScaleX {
    from {
        opacity: 0;
        transform: scaleX(0);
    }
    to {
        opacity: 1;
        transform: scaleX(1);
    }
}

@keyframes footerTitleIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes logoGlow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
    }
    50% {
        box-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
    }
}

@keyframes logoShine {
    0% {
        left: -150%;
    }
    20%, 100% {
        left: 150%;
    }
}

@keyframes socialIconIn {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes scaleInX {
    from {
        transform: scaleX(0);
    }
    to {
        transform: scaleX(1);
    }
}

@keyframes linkItemIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes yearPulse {
    0%, 100% {
        color: #d4af37;
    }
    50% {
        color: white;
    }
}

/* Responsive Styles */
@media (max-width: 991px) {
    .luxury-footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .footer-about, .footer-links, .footer-newsletter {
        max-width: 500px;
        width: 100%;
    }
    
    .footer-logo-container {
        justify-content: center;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .section-divider {
        margin: 0 auto 25px;
    }
    
    .link-item a {
        justify-content: center;
    }
    
    .link-item a:before {
        right: auto;
        left: 0;
        background: linear-gradient(90deg, rgba(255, 255, 255, 0.8), transparent);
    }
    
    .link-item a:hover {
        transform: translateY(-5px);
    }
}

@media (max-width: 767px) {
    .luxury-footer {
        padding: 60px 0 20px;
    }
    
    .footer-title {
        font-size: 28px;
    }
    
    .header-line {
        max-width: 80px;
    }
    
    .luxury-footer-bottom {
        flex-direction: column;
    }
    
    .bottom-decoration {
        width: 100%;
        max-width: 150px;
        margin: 10px 0;
    }
}

/* Luxury Social Media Platforms Section */
.social-platforms-section {
    position: relative;
    padding: 120px 0;
    background-color: #f8f6f2;
    overflow: hidden;
}

/* Background Pattern */
.platforms-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://i.ibb.co/4WMdnvk/arabesque-pattern.png');
    background-size: 300px;
    opacity: 0.03;
    pointer-events: none;
}

/* Section Header */
.platforms-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    position: relative;
}

.header-title-container {
    position: relative;
    display: inline-block;
    text-align: center;
}

.platforms-title {
    font-size: 42px;
    font-weight: 700;
    color: #0c2e60;
    margin: 0;
    position: relative;
    display: inline-block;
    transform: translateY(30px);
    opacity: 0;
    animation: titleFadeIn 0.8s forwards 0.3s;
}

.platforms-title .highlight {
    position: relative;
    display: inline-block;
    color: #d4af37;
}

.platforms-title .highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: #d4af37;
    animation: lineGrow 0.6s forwards 1s;
}

.title-ornament {
    position: absolute;
    bottom: -15px;
    left: 0;
    right: 0;
    height: 10px;
    background-image: url('https://i.ibb.co/Xy8C2s7/arabesque-ornament.png');
    background-size: contain;
    background-repeat: repeat-x;
    background-position: center;
    opacity: 0;
    animation: fadeIn 0.8s forwards 0.8s;
}

.header-line {
    height: 2px;
    background: linear-gradient(90deg, transparent, #0c2e60);
    flex: 1;
    max-width: 180px;
    transform: scaleX(0);
    opacity: 0;
}

.header-line.left {
    margin-right: 30px;
    transform-origin: right;
    background: linear-gradient(90deg, transparent, #0c2e60);
    animation: lineExpand 0.8s forwards 0.5s;
}

.header-line.right {
    margin-left: 30px;
    transform-origin: left;
    background: linear-gradient(90deg, #0c2e60, transparent);
    animation: lineExpand 0.8s forwards 0.5s;
}

/* Section Intro Text */
.platforms-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
    font-size: 18px;
    line-height: 1.6;
    color: #555;
    transform: translateY(30px);
    opacity: 0;
    animation: fadeInUp 0.8s forwards 0.7s;
}

/* Social Cards Container */
.social-cards-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Individual Social Card */
.social-card {
    position: relative;
    width: 250px;
    height: 320px;
    perspective: 1000px;
    margin-bottom: 20px;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s;
    transform-style: preserve-3d;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.social-card:hover .card-inner {
    transform: rotateY(180deg);
}

.card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 15px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    text-align: center;
}

.card-front {
    background: white;
    z-index: 2;
}

.card-back {
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

/* Card Reflection Effect */
.card-reflection {
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(rgba(255, 255, 255, 0.3), transparent);
    transform: rotate(30deg);
    z-index: 3;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.social-card:hover .card-reflection {
    opacity: 0.1;
    animation: moveReflection 1.5s infinite alternate;
}

/* Card Icon */
.card-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.social-card:hover .card-icon {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Card Title */
.card-title {
    font-size: 24px;
    font-weight: 700;
    margin: 15px 0 10px;
    color: #333;
    position: relative;
}

/* Decoration Line */
.decoration-line {
    width: 0;
    height: 2px;
    background-color: #0c2e60;
    margin: 0 auto 15px;
    transition: width 0.5s ease;
}

.social-card:hover .decoration-line {
    width: 50px;
}

/* Followers Count */
.card-followers {
    font-size: 18px;
    color: #666;
}

.card-followers .count {
    font-size: 22px;
    font-weight: 700;
    color: #0c2e60;
}

/* Card Back Content */
.card-description {
    color: white;
    margin-bottom: 25px;
    font-size: 16px;
    line-height: 1.5;
}

.card-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 25px;
    background-color: white;
    border-radius: 30px;
    color: #0c2e60;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.card-action-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.05);
    transform: skewX(-15deg);
}

.card-action-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.card-action-btn:hover::before {
    animation: shine 1.5s;
}

.card-action-btn i {
    transition: transform 0.3s ease;
}

.card-action-btn:hover i {
    transform: translateX(-5px);
}

/* Platform-specific styles */
.facebook .card-icon {
    background-color: rgba(59, 89, 152, 0.1);
    color: #3b5998;
}

.facebook .card-back {
    background: linear-gradient(135deg, #3b5998, #1e3567);
}

.instagram .card-icon {
    background: linear-gradient(135deg, rgba(253, 244, 151, 0.1), rgba(214, 41, 118, 0.1));
    color: #c13584;
}

.instagram .card-back {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.linkedin .card-icon {
    background-color: rgba(0, 119, 181, 0.1);
    color: #0077b5;
}

.linkedin .card-back {
    background: linear-gradient(135deg, #0077b5, #004a74);
}

.whatsapp .card-icon {
    background-color: rgba(37, 211, 102, 0.1);
    color: #25d366;
}

.whatsapp .card-back {
    background: linear-gradient(135deg, #25d366, #128c4b);
}

.youtube .card-icon {
    background-color: rgba(255, 0, 0, 0.1);
    color: #ff0000;
}

.youtube .card-back {
    background: linear-gradient(135deg, #ff0000, #990000);
}

/* Decorative Corner Elements */
.corner-decoration {
    position: absolute;
    width: 120px;
    height: 120px;
    background-image: url('https://i.ibb.co/Xy8C2s7/arabesque-ornament.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.06;
    z-index: -1;
}

.corner-decoration.top-left {
    top: 30px;
    left: 30px;
    transform: rotate(-15deg) scale(0);
    animation: decorIn 1s forwards 0.3s, float 4s ease-in-out infinite alternate;
}

.corner-decoration.top-right {
    top: 30px;
    right: 30px;
    transform: rotate(15deg) scale(0) scaleX(-1);
    animation: decorIn 1s forwards 0.5s, float 4s ease-in-out infinite alternate 0.5s;
}

.corner-decoration.bottom-left {
    bottom: 30px;
    left: 30px;
    transform: rotate(15deg) scale(0) scaleX(-1);
    animation: decorIn 1s forwards 0.7s, float 4s ease-in-out infinite alternate 1s;
}

.corner-decoration.bottom-right {
    bottom: 30px;
    right: 30px;
    transform: rotate(-15deg) scale(0);
    animation: decorIn 1s forwards 0.9s, float 4s ease-in-out infinite alternate 1.5s;
}

/* Animations */
@keyframes titleFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes lineExpand {
    from {
        transform: scaleX(0);
        opacity: 0;
    }
    to {
        transform: scaleX(1);
        opacity: 0.7;
    }
}

@keyframes lineGrow {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

@keyframes decorIn {
    from {
        transform: rotate(var(--rotation, 0deg)) scale(0) scaleX(var(--scaleX, 1));
        opacity: 0;
    }
    to {
        transform: rotate(var(--rotation, 0deg)) scale(1) scaleX(var(--scaleX, 1));
        opacity: 0.06;
    }
}

@keyframes float {
    0% {
        transform: translate(0, 0) rotate(var(--rotation, 0deg)) scaleX(var(--scaleX, 1));
    }
    100% {
        transform: translate(var(--translateX, 10px), var(--translateY, 10px)) rotate(var(--rotation, 0deg)) scaleX(var(--scaleX, 1));
    }
}

@keyframes moveReflection {
    0% {
        transform: rotate(30deg) translateX(0);
    }
    100% {
        transform: rotate(30deg) translateX(30px);
    }
}

@keyframes shine {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .social-cards-container {
        max-width: 900px;
    }
}

@media (max-width: 991px) {
    .social-platforms-section {
        padding: 80px 0;
    }
    
    .platforms-title {
        font-size: 36px;
    }
    
    .social-cards-container {
        gap: 20px;
    }
    
    .social-card {
        width: 220px;
        height: 300px;
    }
    
    .card-icon {
        width: 70px;
        height: 70px;
        font-size: 30px;
    }
}

@media (max-width: 767px) {
    .social-platforms-section {
        padding: 60px 0;
    }
    
    .platforms-title {
        font-size: 32px;
    }
    
    .platforms-intro {
        font-size: 16px;
        margin-bottom: 40px;
    }
    
    .social-cards-container {
        flex-direction: column;
        align-items: center;
    }
    
    .social-card {
        width: 280px;
        height: 320px;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    nav {
        position: absolute;
        top: 80px;
        right: 0;
        background-color: white;
        width: 100%;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        display: none;
    }

    nav.active {
        display: block;
    }

    nav ul {
        flex-direction: column;
    }

    nav ul li {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .banner {
        padding: 120px 0 80px;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .about-content, 
    .join-content, 
    .contact-content {
        flex-direction: column;
    }

    .about-image, 
    .about-text, 
    .join-text, 
    .join-form, 
    .contact-info, 
    .contact-form {
        min-width: 100%;
    }
}

@media (max-width: 576px) {
    .banner-content h2 {
        font-size: 28px;
    }

    .banner-content p {
        font-size: 16px;
    }

    .achievement-cards,
    .activities-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }
}
