/* Root Variables */
:root {
    --primary-color: #FFD700;    /* ذهبي */
    --secondary-color: #1a1a1a;  /* أسود فاتح */
    --dark-bg: #111111;         /* أسود داكن */
    --gray-dark: #2c2c2c;       /* رمادي داكن */
    --gray-light: #3a3a3a;      /* رمادي فاتح */
    --text-light: #e0e0e0;      /* نص فاتح (بدل الأبيض) */
    --text-gray: #999999;       /* نص رمادي */
    --accent-yellow: #ffc107;   /* أصفر ثانوي */
    --glass-bg: rgba(26, 26, 26, 0.9);
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Michroma',sans-serif; /* تطبيق Michroma على كافة العناصر */
}

body {
    font-family: 'Rajdhani', sans-serif;
    background: linear-gradient(135deg, #000000, #1a1a1a);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        circle at center,
        rgba(26, 26, 26, 0.8) 0%,
        rgba(0, 0, 0, 0.95) 100%
    );
    z-index: -2;
}

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


/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(135deg, #000000, #1a1a1a);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.animated-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at center,
        rgba(26, 26, 26, 0.8) 0%,
        rgba(0, 0, 0, 0.95) 100%
    ); z-index: 1;

}

.racing-lines {
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(45deg,
            transparent 0%,
            rgba(255, 215, 0, 0.05) 25%,
            transparent 50%);
    background-size: 200% 200%;
    /* movingLines animation removed for performance */
}

.grid-overlay {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(var(--accent-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--accent-color) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.05;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 2rem;
    width: 100%;
    max-width: 1200px;
    padding-top: 8rem;
}

.logo-container {
    position: relative;
    margin-bottom: 3rem;
    display: inline-block;
    width: 180px;
}

.main-logo {
    width: 160px;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.4));
    /* static glow via filter above — no animation needed */
    transition: transform 0.3s ease;
}

.main-logo:hover {
    transform: scale(1.05);
}

.hero-title {
    font-family: 'Michroma',sans-serif;
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 900;
    letter-spacing: 6px;
    color: var(--primary-color);

    margin-top: 1rem;
}

.hero-subtitle {
    font-size: 2rem;
    color: var(--text-light);
    letter-spacing: 4px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-top: 1.5rem;
    opacity: 0;
    animation: fadeIn 1s ease-out forwards 0.8s;
}

/* Buttons */
.hero-buttons {
    display: flex;
    gap: 25px;
    justify-content: center;
    margin-top: 2rem;
}

.primary-btn, .secondary-btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    letter-spacing: 2px;
    transition: all 0.4s ease;
    position: relative;
    font-family: 'Michroma',sans-serif; /* تطبيق Michroma على كافة العناصر */
}

.primary-btn {
    background: var(--primary-color);
    color: black;   
    border: none;
}

.secondary-btn {
    background: transparent;
    color:white;
    border: 2px solid var(--primary-color);
}

.primary-btn:hover {
    background: transparent;
    color:white;
    border: 2px solid var(--primary-color);
}

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

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--text-gray);
    font-family: 'Michroma',sans-serif; /* إضافة Michroma هنا */
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--text-gray);
    border-radius: 20px;
    margin: 0 auto 10px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: scrollMouse 2s infinite;
}

@keyframes scrollMouse {
    0% { 
        opacity: 1;
        transform: translate(-50%, 0);
    }
    100% { 
        opacity: 0;
        transform: translate(-50%, 20px);
    }
}

/* Projects Section */
.projects {
    padding: 100px 0;
    background: var(--dark-bg);
    position: relative;
    overflow: hidden;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 20px;
}

.project-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 215, 0, 0.1);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.1);
}

.status-badge {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    background: linear-gradient(45deg, var(--primary-color), #FFA500);
    color: var(--dark-bg);
}

.status-badge.planned {
    background: linear-gradient(45deg, #4A90E2, #67B8E3);
}

.project-content h3  {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 15px;
  font-family: 'Michroma',sans-serif;
}

.development-progress {
    margin-top: 30px;
}

.progress-item {
    margin-bottom: 20px;
}

.progress-bar {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
    margin: 10px 0;
}

.progress {
    height: 100%;
    background: var(--primary-color);
    border-radius: 3px;
    transition: width 1s ease;
}

.milestone-list {
    display: grid;
    gap: 15px;
    margin-top: 25px;
}

.milestone {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-gray);
}

.milestone.completed {
    color: var(--primary-color);
}

.milestone.active {
    color: #4A90E2;
}

.future-goals {
    margin-top: 25px;
    display: grid;
    gap: 15px;
}

.goal-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-light);
}

.goal-item i {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
}

/* Numbers Section */
.numbers {
    padding: 100px 0;
    background: var(--dark-bg);
    position: relative;
    overflow: hidden;
}

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

.number-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 215, 0, 0.1);
}

.number-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, 
        rgba(255, 215, 0, 0.1) 0%,
        rgba(255, 215, 0, 0) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.number-card:hover::before {
    opacity: 1;
}

.number-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    position: relative;
}

.number-icon i {
    background: linear-gradient(45deg, var(--primary-color), #FFA500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.number {
    font-family: 'Michroma',sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 15px 0;
    position: relative;
}

.label {
    font-family: 'Michroma',sans-serif;
    font-size: 1.2rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.sub-text {
    font-family: 'Michroma',sans-serif;
    font-size: 1rem;
    color: var(--text-gray);
    opacity: 0.8;
}

/* Hover Effects */
.number-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.1);
}

.number-card:hover .number-icon i {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .numbers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .number {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .numbers-grid {
        grid-template-columns: 1fr;
    }
}

/* Footer Styling */
.footer {
    position: relative;
    background: transparent;
    padding: 80px 0 30px;
    overflow: hidden;
}

/* Wave Animation */
.footer-waves {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.wave {
    position: absolute;
    width: 200%;
    height: 60px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 88.7'%3E%3Cpath d='M800 56.9c-155.5 0-204.9-50-405.5-49.9-200 0-250 49.9-394.5 49.9v31.8h800v-.2-31.6z' fill='%23FFD700'/%3E%3C/svg%3E");
    background-size: 50% 100%;
    opacity: 0.1;
}

#wave1 {
    z-index: 1;
    opacity: 0.15;
    animation: moveWave 15s linear infinite;
}

#wave2 {
    z-index: 0;
    opacity: 0.1;
    animation: moveWave 30s linear infinite;
}

@keyframes moveWave {
    0% { transform: translateX(0); }
    50% { transform: translateX(-50%); }
    100% { transform: translateX(-100%); }
}

/* Footer Content */
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 2;
}

.footer-section {
    padding: 20px;
}

.footer-logo {
    width: 150px;
    height: auto;
    margin-bottom: 20px;
}



.tagline {
    color: var(--text-gray);
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.1rem;
    margin-bottom: 25px;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 215, 0, 0.1);
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.social-btn:hover {
    background: var(--primary-color);
    color: var(--dark-bg);
    transform: translateY(-3px);
}

/* Footer Links */
.footer-section h3 {
    color: var(--primary-color);
    font-family: 'Michroma',sans-serif;
    font-size: 1.3rem;
    margin-bottom: 25px;
    position: relative;
}

.link-grid {
    display: grid;
    gap: 15px;
}

.footer-link {
    color: var(--text-gray);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

/* Contact Info */
.contact-info {
    display: grid;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--text-gray);
}

.contact-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* Footer Bottom */
.footer-bottom {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 215, 0, 0.1);
}

.copyright {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    color: var(--text-gray);
    font-size: 0.9rem;
}

.separator {
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-logo {
        margin: 0 auto 20px;
    }

    .social-links {
        justify-content: center;
    }

    .contact-item {
        justify-content: center;
    }

    .copyright {
        flex-direction: column;
        gap: 5px;
    }

    .separator {
        display: none;
    }
}
.section-header h2 {
    font-family: 'Michroma',sans-serif;
    font-size: clamp(2rem, 6vw, 3.5rem);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-yellow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}
/* Global link styles */
a {
    text-decoration: none;
}


/* Typography */
@import url('https://fonts.googleapis.com/css2?family=Michroma&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@300;400;500;600;700&display=swap');

/* Language Switcher Styles - Only for standalone usage, not in mobile menu */
.language-switcher.standalone {
    position: fixed;
    top: 85px;
    right: 20px;
    display: flex;
    gap: 10px;
    z-index: 1000;
    background: rgba(17, 17, 17, 0.8);
    padding: 8px;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.lang-btn {
    background: transparent;
    border: none;
    color: var(--text-light);
    padding: 8px 16px;
    border-radius: 25px;
    cursor: pointer;
    font-family: 'Michroma',sans-serif;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.lang-btn i {
    font-size: 1rem;
    color: var(--primary-color);
}

.lang-btn.active {
    background: var(--primary-color);
    color: var(--dark-bg);
}

.lang-btn.active i {
    color: var(--dark-bg);
}

.lang-btn:hover:not(.active) {
    background: rgba(255, 215, 0, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .language-switcher.standalone {
        top: auto;
        bottom: 20px;
        right: 50%;
        transform: translateX(50%);
    }

    .lang-btn {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
}

/* تحسينات للهواتف النقالة */
@media (max-width: 768px) {
    /* Hero Section */
    .hero {
        min-height: 80vh;
    }

    .hero-content {
        padding: 1rem;
        padding-top: 6rem;
    }

    .logo-container {
        width: 140px;
        margin-bottom: 2rem;
    }

    .main-logo {
        width: 120px;
    }

    .hero-title {
        font-size: 2rem;
        letter-spacing: 3px;
    }

    .hero-subtitle {
        font-size: 3rem;
        letter-spacing: 2px;
        margin-bottom: 2rem;
    }

    /* Buttons */
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .primary-btn, .secondary-btn {
        width: 100%;
        max-width: 280px;
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }

    /* Projects Section */
    .projects {
        padding: 60px 0;
    }

    .project-card {
        padding: 20px;
    }

    .project-content h3 {
        font-size: 1.5rem;
    }

    /* Numbers Section */
    .numbers {
        padding: 60px 0;
    }

    .number-card {
        padding: 30px 15px;
    }

    .number {
        font-size: 2.5rem;
    }

    .label {
        font-size: 1rem;
    }

    /* Footer */
    .footer {
        padding: 60px 0 20px;
    }

    .footer-section h3 {
        font-size: 1.2rem;
        margin-bottom: 20px;
    }

    .footer-link, .contact-item {
        font-size: 0.9rem;
    }
}

/* تحسينات إضافية للشاشات الأصغر */
@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .logo-container {
        width: 120px;
    }

    .main-logo {
        width: 100px;
    }

    .number-icon {
        font-size: 2rem;
    }

    .footer-waves {
        height: 40px;
    }
}

/* تحسينات للأجهزة الصغيرة جداً */
@media (max-width: 360px) {
    .hero-title {
        font-size: 1.5rem;
    }

    .primary-btn, .secondary-btn {
        padding: 0.7rem 1.5rem;
        font-size: 0.85rem;
    }

    .project-content h3 {
        font-size: 1.3rem;
    }
}

/* إضافة تأثيرات انتقالية للنصوص */
[id^="hero-"],
[id^="future-"],
[id^="team-"],
.label,
.sub-text {
    transition: opacity 0.3s ease;
}

/* Media Queries */
/* Large Screens (1200px and up) */
@media screen and (min-width: 1200px) {
    .container {
        max-width: 1400px;
        padding: 0 30px;
    }

    .hero-content {
        max-width: 1400px;
    }

    .main-logo {
        width: 180px;
    }

    .hero-title {
        font-size: 5rem;
    }
}

/* Desktop and Tablet (768px to 1199px) */
@media screen and (max-width: 1199px) {
    .container {
        max-width: 960px;
        padding: 0 20px;
    }

    .hero-title {
        font-size: clamp(2.8rem, 6vw, 4rem);
        letter-spacing: 4px;
    }

    .hero-subtitle {
        font-size: clamp(1.1rem, 3vw, 1.5rem);
    }

    .projects-grid,
    .numbers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* Tablet (601px to 767px) */
@media screen and (max-width: 767px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        min-height: 90vh;
    }

    .hero-content {
        padding-top: 120px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .primary-btn, 
    .secondary-btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }

    .projects-grid,
    .numbers-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .number-card {
        padding: 25px 15px;
    }

    .number {
        font-size: 2.8rem;
    }

    .scroll-indicator {
        bottom: 20px;
    }
}

/* Mobile (600px and down) */
@media screen and (max-width: 600px) {
    .hero-content {
        padding-top: 100px;
    }

    .logo-container {
        width: 140px;
        margin-bottom: 2rem;
    }

    .main-logo {
        width: 120px;
    }

    .hero-title {
        font-size: clamp(2rem, 5vw, 2.5rem);
        letter-spacing: 2px;
    }

    .hero-subtitle {
        font-size: 1rem;
        letter-spacing: 1px;
        margin-bottom: 2rem;
    }

    .project-card {
        padding: 20px;
    }

    .project-content h3 {
        font-size: 1.4rem;
    }

    .status-badge {
        padding: 6px 12px;
        font-size: 0.8rem;
    }

    .number-icon {
        font-size: 2rem;
    }

    .label {
        font-size: 1rem;
    }

    .sub-text {
        font-size: 0.9rem;
    }

    .news-grid {
        flex-direction: column;
        gap: 18px;
    }
    .news-card {
        min-width: 0;
        max-width: 100%;
        padding: 20px 12px 16px 12px;
    }
    .latest-news {
        padding: 50px 10px !important;
        border-radius: 18px;
        margin: 10px 0;
        box-shadow: 0 2px 12px rgba(0,0,0,0.18);
        text-align: center;
    }
    .latest-news h2, .latest-news .section-header h2 {
        font-size: 1.1em !important;
        margin-bottom: 8px;
        letter-spacing: 1px;
        text-align: center;
    }
    .latest-news .no-news, .latest-news .no-news-found, .latest-news .no-news-message {
        font-size: 0.98em;
        margin-bottom: 16px;
        color: #ccc;
        text-align: center;
        display: block;
    }
    .latest-news .more-news-btn, .latest-news .page-link {
        font-size: 1em;
        padding: 8px 0;
        border-radius: 22px;
        margin: 0 auto 8px auto;
        width: 90%;
        max-width: 260px;
        display: block;
        text-align: center;
        background: #FFD700;
        color: #222;
        box-shadow: 0 2px 8px rgba(255,215,0,0.10);
    }
}

/* Small Mobile (400px and down) */
@media screen and (max-width: 400px) {
    .hero-content {
        padding-top: 80px;
    }

    .logo-container {
        width: 120px;
    }

    .main-logo {
        width: 100px;
    }

    .hero-title {
        font-size: 1.8rem;
        letter-spacing: 1px;
    }

    .primary-btn, 
    .secondary-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .project-content h3 {
        font-size: 1.2rem;
    }

    .number {
        font-size: 2.2rem;
    }

    .label {
        font-size: 0.9rem;
    }
    
    /* تحسين الزر في الشاشات الصغيرة جداً */
    .more-news-btn-container .primary-btn {
        padding: 0.7rem 1.8rem;
        font-size: 0.8rem;
    }
}

/* تحسين أداء الموقع على الأجهزة التي تدعم hover */
@media (hover: hover) {
    .project-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 15px 30px rgba(255, 215, 0, 0.15);
    }

    .number-card:hover {
        transform: translateY(-5px);
    }

    .social-btn:hover {
        transform: translateY(-3px) scale(1.1);
    }
}

/* Latest News Section */
.latest-news {
    margin: 80px 0 80px 0;
    padding: 40px 0;
    background: var(--dark-bg);
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.10);
}

.latest-news .section-header h2 {
    font-size: clamp(2rem, 6vw, 3.5rem);
    color: var(--primary-color);
    background: linear-gradient(45deg, var(--primary-color), var(--accent-yellow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.news-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
    margin-top: 30px;
}

.news-card-featured {
    background: #23231f;
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(255,215,0,0.10), 0 2px 8px rgba(0,0,0,0.18);
    max-width: 480px;
    min-width: 320px;
    flex: 1 1 380px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    padding-bottom: 24px;
    border: 2px solid #232323;
    margin-bottom: 10px;
    transition: box-shadow 0.2s, transform 0.2s;
}
.news-card-featured:hover {
    box-shadow: 0 16px 48px 0 rgba(255,215,0,0.18), 0 2px 8px rgba(0,0,0,0.22);
    transform: translateY(-6px) scale(1.01);
    border-color: #FFD700;
}
.news-badge {
    position: absolute;
    top: 18px;
    left: 18px;
    background: #FFD700;
    color: #23231f;
    font-weight: 700;
    font-size: 1rem;
    padding: 6px 18px;
    border-radius: 16px;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(255,215,0,0.10);
    letter-spacing: 1px;
}
.news-img-wrap-featured {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #222;
    display: flex;
    align-items: center;
    justify-content: center;
}
.news-img-featured {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-bottom: 2px solid #FFD700;
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
    transition: transform 0.3s;
}
.news-card-featured:hover .news-img-featured {
    transform: scale(1.04) rotate(-1deg);
    filter: brightness(1.08) contrast(1.1);
}
.news-meta-row {
    display: flex;
    gap: 18px;
    align-items: center;
    margin: 18px 0 0 0;
    padding: 0 24px;
    color: #FFD700;
    font-size: 1rem;
    opacity: 0.95;
}
.news-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: 'Rajdhani', Arial, sans-serif;
}
.news-title-featured {
    font-family: 'Michroma',Arial, sans-serif;
    font-size: 1.45rem;
    color: #FFD700;
    margin: 18px 0 10px 0;
    padding: 0 24px;
    font-weight: 700;
    letter-spacing: 1px;
}
.news-text-featured {
    color: #e0e0e0;
    font-family: 'Rajdhani', Arial, sans-serif;
    font-size: 1.08rem;
    margin: 0 0 18px 0;
    padding: 0 24px;
    line-height: 1.7;
    min-height: 48px;
    word-break: break-word;
}
.news-readmore {
    color: #FFD700;
    font-weight: 700;
    font-size: 1.08rem;
    margin-left: 24px;
    margin-top: 8px;
    text-decoration: none;
    display: inline-block;
    transition: color 0.2s;
}
.news-readmore:hover {
    color: #fff;
    text-decoration: underline;
}
@media (max-width: 700px) {
    .news-grid {
        flex-direction: column;
        gap: 22px;
    }
    .news-card-featured {
        min-width: 0;
        max-width: 100%;
    }
    .news-img-wrap-featured {
        height: 140px;
    }
    .news-title-featured, .news-text-featured, .news-meta-row {
        padding-left: 12px;
        padding-right: 12px;
    }
    .news-readmore {
        margin-left: 12px;
    }
    
    /* تحسين الزر في الشاشات الصغيرة */
    .more-news-btn-container {
        margin-top: 30px;
    }
    
    .more-news-btn-container .primary-btn {
        padding: 0.8rem 2rem;
        font-size: 0.9rem;
    }
}

/* تحسين الزر في جميع الشاشات */
.more-news-btn-container {
    text-align: center;
    margin-top: 40px;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative;
    z-index: 10;
    width: 100%;
    clear: both;
}

.more-news-btn, .page-link {
    transition: background 0.2s, color 0.2s;
    font-weight: 600;
    border: none;
    outline: none;
    display: inline-block;
    text-decoration: none;
    position: relative;
    z-index: 11;
}
.more-news-btn:hover, .page-link:hover {
    opacity: 0.9;
}

/* تحسين hover للزر في سياق more-news-btn-container */
.more-news-btn-container .primary-btn:hover {
    background: transparent !important;
    color: white !important;
    border: 2px solid var(--primary-color) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3) !important;
}

/* تحسين الزر في سياق more-news-btn-container */
.more-news-btn-container .primary-btn {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative;
    z-index: 11;
    margin: 0 auto;
    text-align: center;
    background: var(--primary-color) !important;
    color: black !important;
    border: none !important;
    text-decoration: none !important;
    cursor: pointer !important;
    font-weight: 700 !important;
    letter-spacing: 2px !important;
}

/* Who We Are Section */
.who-we-are-content {
    margin-top: 50px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.who-we-are-text {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 215, 0, 0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: slideInUp 1s ease-out;
}

/* Floating particles background */
.who-we-are-text::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(255, 215, 0, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 215, 0, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(255, 215, 0, 0.03) 0%, transparent 50%);
    animation: floatParticles 8s ease-in-out infinite;
    pointer-events: none;
}

.who-we-are-text::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.08), transparent);
    transition: left 0.6s ease;
    z-index: 1;
}

.who-we-are-text:hover::before {
    left: 100%;
}

.who-we-are-text:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 20px 40px rgba(255, 215, 0, 0.08),
        0 0 30px rgba(255, 215, 0, 0.05),
        inset 0 0 20px rgba(255, 215, 0, 0.02);
    border-color: rgba(255, 215, 0, 0.2);
}

.who-we-are-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-light);
    text-align: justify;
    font-family: 'Rajdhani', sans-serif;
    position: relative;
    z-index: 2;
    opacity: 0;
    animation: fadeInText 1.2s ease-out forwards;
}

.who-we-are-text p:nth-child(1) {
    animation-delay: 0.3s;
}

.who-we-are-text p:nth-child(2) {
    animation-delay: 0.6s;
}

.who-we-are-text p:nth-child(3) {
    animation-delay: 0.9s;
}

.who-we-are-text p:last-child {
    margin-bottom: 0;
}

/* Glowing border animation */
.who-we-are-text::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, 
        rgba(255, 215, 0, 0.3), 
        rgba(255, 215, 0, 0.1), 
        rgba(255, 215, 0, 0.3), 
        rgba(255, 215, 0, 0.1));
    border-radius: 22px;
    z-index: -1;
    animation: glowingBorder 3s ease-in-out infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.who-we-are-text:hover::before {
    opacity: 1;
}

/* Keyframe Animations */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes floatParticles {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.6;
    }
    25% {
        transform: translateY(-10px) rotate(90deg);
        opacity: 0.8;
    }
    50% {
        transform: translateY(-5px) rotate(180deg);
        opacity: 0.4;
    }
    75% {
        transform: translateY(-15px) rotate(270deg);
        opacity: 0.9;
    }
}

@keyframes glowingBorder {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* Pulse effect on hover */
.who-we-are-text:hover {
    animation: pulseGlow 2s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 
            0 20px 40px rgba(255, 215, 0, 0.08),
            0 0 30px rgba(255, 215, 0, 0.05),
            inset 0 0 20px rgba(255, 215, 0, 0.02);
    }
    50% {
        box-shadow: 
            0 25px 50px rgba(255, 215, 0, 0.12),
            0 0 40px rgba(255, 215, 0, 0.08),
            inset 0 0 25px rgba(255, 215, 0, 0.04);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .who-we-are-content {
        margin-top: 30px;
    }
    
    .who-we-are-text {
        padding: 30px 20px;
    }
    
    .who-we-are-text p {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .who-we-are-text:hover {
        transform: translateY(-5px) scale(1.01);
    }
}

/* Add floating elements around the section */
.who-we-are-content::before,
.who-we-are-content::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: rgba(255, 215, 0, 0.15);
    border-radius: 50%;
    animation: floatAround 6s ease-in-out infinite;
}

.who-we-are-content::before {
    top: -10px;
    left: 10%;
    animation-delay: 0s;
}

.who-we-are-content::after {
    bottom: -10px;
    right: 10%;
    animation-delay: 3s;
}

@keyframes floatAround {
    0%, 100% {
        transform: translateY(0px) scale(1);
        opacity: 0.15;
    }
    25% {
        transform: translateY(-20px) scale(1.2);
        opacity: 0.3;
    }
    50% {
        transform: translateY(-10px) scale(0.8);
        opacity: 0.2;
    }
    75% {
        transform: translateY(-30px) scale(1.1);
        opacity: 0.35;
    }
}

/* Text content animations */
.text-content {
    position: relative;
    z-index: 3;
}

.animated-text {
    position: relative;
    overflow: hidden;
}

.animated-text::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), transparent);
    transition: width 0.8s ease;
}

.who-we-are-text:hover .animated-text::after {
    width: 100%;
}

/* Floating icons */
.floating-icons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.floating-icon {
    position: absolute;
    font-size: 1.5rem;
    color: rgba(255, 215, 0, 0.25);
    animation: floatIcon 8s ease-in-out infinite;
    animation-delay: var(--delay);
}

.floating-icon:nth-child(1) {
    top: 10%;
    left: 5%;
}

.floating-icon:nth-child(2) {
    top: 20%;
    right: 10%;
}

.floating-icon:nth-child(3) {
    bottom: 30%;
    left: 15%;
}

.floating-icon:nth-child(4) {
    bottom: 15%;
    right: 5%;
}

@keyframes floatIcon {
    0%, 100% {
        transform: translateY(0px) rotate(0deg) scale(1);
        opacity: 0.4;
    }
    25% {
        transform: translateY(-15px) rotate(90deg) scale(1.1);
        opacity: 0.7;
    }
    50% {
        transform: translateY(-5px) rotate(180deg) scale(0.9);
        opacity: 0.3;
    }
    75% {
        transform: translateY(-25px) rotate(270deg) scale(1.2);
        opacity: 0.8;
    }
}

/* Enhanced hover effects */
.who-we-are-text:hover .floating-icon {
    animation-duration: 4s;
    color: rgba(255, 215, 0, 0.5);
}

/* Text reveal animation */
.animated-text {
    opacity: 0;
    transform: translateY(20px);
    animation: textReveal 0.8s ease-out forwards;
}

.animated-text:nth-child(1) {
    animation-delay: 0.5s;
}

.animated-text:nth-child(2) {
    animation-delay: 0.8s;
}

.animated-text:nth-child(3) {
    animation-delay: 1.1s;
}

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

/* Magnetic effect on hover */
.who-we-are-text {
    transform-style: preserve-3d;
    perspective: 1000px;
}

.who-we-are-text:hover {
    transform: translateY(-8px) scale(1.02) rotateX(2deg);
}

/* Glitch effect on text hover */
.animated-text:hover {
    animation: glitch 0.3s ease-in-out;
}

@keyframes glitch {
    0%, 100% {
        transform: translateX(0);
    }
    20% {
        transform: translateX(-2px);
    }
    40% {
        transform: translateX(2px);
    }
    60% {
        transform: translateX(-1px);
    }
    80% {
        transform: translateX(1px);
    }
}












