/* Main Styles for Edu.Gate Website */
:root {
    /* Light Blue & Gold Theme */
    --primary-blue: #1e88e5;
    --light-blue: #e3f2fd;
    --dark-blue: #0d47a1;
    --accent-gold: #ffb300;
    --dark-gold: #ff8f00;
    --light-gold: #fff8e1;
    --text-dark: #333333;
    --text-light: #666666;
    --bg-white: #ffffff;
    --bg-light: #f5f7fa;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html[dir="rtl"] {
    direction: rtl;
    text-align: right;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-white);
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
/* Language Switcher Container */
.lang-switcher {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    gap: 8px;
    padding: 6px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.25),
        inset 0 1px 1px rgba(255, 255, 255, 0.2);
}

/* RTL Fix */
html[dir="rtl"] .lang-switcher {
    right: auto;
    left: 20px;
}

/* Language Buttons */
.lang-btn {
    position: relative;
    background: linear-gradient(
        145deg,
        var(--primary-blue),
        var(--dark-blue)
    );
    color: #fff;
    padding: 10px 20px;
    border-radius: 22px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: all 0.35s ease;
    box-shadow:
        0 6px 14px rgba(0, 0, 0, 0.35),
        inset 0 1px 2px rgba(255, 255, 255, 0.25);
    transform-style: preserve-3d;
}

/* Hover 3D Lift */
.lang-btn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow:
        0 14px 30px rgba(0, 0, 0, 0.45),
        inset 0 1px 3px rgba(255, 255, 255, 0.3);
}

/* Active Language */
.lang-btn.active {
    background: linear-gradient(
        145deg,
        var(--accent-gold),
        #ffb400
    );
    color: var(--text-dark);
    box-shadow:
        0 10px 30px rgba(255, 180, 0, 0.55),
        inset 0 2px 4px rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

/* Glow Effect */
.lang-btn::after {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    opacity: 0;
    transition: opacity 0.4s ease;
}

.lang-btn:hover::after {
    opacity: 1;
}


/* Header */
.header {
    background: white;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 15px 0;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    height: 60px;
    width: auto;
}



.main-nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
    align-items: center;

}

.main-nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 16px;
    padding: 5px 0;
    position: relative;
    transition: color 0.3s ease;
    align-items: center;

}

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary-blue);
}

.main-nav a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--accent-gold);
}

.mobile-menu-btn {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--primary-blue);
}

/* ===== NEWS TICKER - FULLY FIXED ===== */

/* ===== NEWS TICKER - BACK-AND-FORTH LOOP ===== */

/* ===== NEWS TICKER - LTR SCROLL (LEFT TO RIGHT) FOR ARABIC ===== */
.news-ticker {
    background: linear-gradient(90deg, var(--primary-blue), var(--dark-blue));
    color: white;
    height: 48px;
    overflow: hidden;
    position: relative;
    direction: rtl; /* Arabic text remains RTL for proper shaping */
}

/* LABEL ON THE RIGHT SIDE (LTR visual flow) */
.ticker-label {
    position: absolute;
    right: 0; /* MOVED TO RIGHT */
    top: 0;
    height: 100%;
    background: var(--accent-gold);
    color: var(--text-dark);
    padding: 0 16px;
    display: flex;
    align-items: center;
    font-weight: 700;
    z-index: 10;
    min-width: 140px;
    box-shadow: -3px 0 10px rgba(0,0,0,0.25); /* Shadow to left */
    direction: ltr; /* Icon alignment */
}

.ticker-label i {
    margin-left: 8px; /* Icon on right side of text */
    font-size: 1.15em;
}

.ticker-wrapper {
    height: 100%;
    overflow: hidden;
    margin-right: 140px; /* Space for right-side label */
    position: relative;
}

.ticker-content {
    display: inline-flex;
    white-space: nowrap;
    animation: ticker-ltr 18s linear infinite; /* 2x speed */
    will-change: transform;
    direction: rtl; /* Arabic text shaping */
    padding-right: 20px; /* Start spacing */
}

/* PAUSE ON HOVER */
.news-ticker:hover .ticker-content {
    animation-play-state: paused;
}

/* LTR ANIMATION: Content enters from LEFT, exits to RIGHT */
@keyframes ticker-ltr {
    0% { transform: translateX(100%); }    /* Start off-screen RIGHT */
    100% { transform: translateX(-100%); } /* End off-screen LEFT */
}

.ticker-content span {
    padding: 0 28px;
    font-weight: 500;
    font-size: 15px;
    display: inline-block;
    position: relative;
}

/* Separator dots (Arabic-friendly) */
.ticker-content span:not(:last-child)::after {
    content: "•";
    position: absolute;
    left: 8px; /* Position for RTL text flow */
    color: rgba(255,255,255,0.6);
    font-size: 18px;
}

/* Hero Section */
.hero {
    padding: 0px 0;
    position: relative;
    overflow: hidden;
    min-height: 0vh;
    display: flex;
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.hero-title {
    font-size: 48px;
    color: var(--primary-blue);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 24px;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.hero-motto {
    font-size: 20px;
    color: var(--accent-gold);
    font-weight: 600;
    margin-bottom: 30px;
    font-style: italic;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary-blue);
    color: white;
}

.btn-primary:hover {
    background: var(--dark-blue);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(30, 136, 229, 0.3);
}

.btn-secondary {
    background: var(--accent-gold);
    color: var(--text-dark);
}

.btn-secondary:hover {
    background: var(--dark-gold);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 179, 0, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-outline:hover {
    background: var(--primary-blue);
    color: white;
}

/* 3D Tiles Container */
.threejs-container {
    position: absolute;
    right: 0;
    top: 0;
    width: 50%;
    height: 100%;
    z-index: 1;
}

/* Featured Services */
.featured-services {
    padding: 5px 0;
    background: var(--bg-light);
}

.section-title {
    text-align: center;
    font-size: 36px;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 18px;
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border-top: 4px solid var(--primary-blue);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.service-icon {
    font-size: 48px;
    color: var(--accent-gold);
    margin-bottom: 20px;
}

.service-card h3 {
    color: var(--primary-blue);
    margin-bottom: 15px;
    font-size: 22px;
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 15px;
}

.service-link {
    color: var(--accent-gold);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

html[dir="rtl"] .service-link i {
    transform: rotate(180deg);
}

/* Innovation Section */
.innovation-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    color: white;
    text-align: center;
}

.innovation-content h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.innovation-content p {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--light-blue) 0%, #ffffff 100%);
    padding: 80px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 42px;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.page-header p {
    font-size: 20px;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.page-subtitle {
    font-size: 18px;
    color: var(--text-light);
}

/* Service Intro */
.service-intro {
    padding: 60px 0;
    background: white;
}

.intro-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.intro-content h2 {
    font-size: 32px;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.intro-content p {
    font-size: 18px;
    color: var(--text-light);
    line-height: 1.8;
}

/* Diplomas Section */
.diplomas-section {
    padding: 60px 0;
    background: var(--bg-light);
}

.diplomas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.diploma-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 25px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--accent-gold);
}

.diploma-card h3 {
    color: var(--primary-blue);
    margin-bottom: 15px;
    font-size: 20px;
}

.diploma-desc {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 15px;
}

.diploma-details {
    list-style: none;
}

.diploma-details li {
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

.diploma-details i {
    color: var(--accent-gold);
}

/* Language Courses */
.language-courses {
    padding: 60px 0;
    background: white;
}

.languages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.language-card {
    background: var(--light-blue);
    border-radius: var(--border-radius);
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.language-card:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-5px);
}

.language-card:hover h3,
.language-card:hover .lang-name,
.language-card:hover .lang-levels {
    color: white;
}

.language-card h3 {
    color: var(--primary-blue);
    margin-bottom: 10px;
    font-size: 20px;
}

.lang-name {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 8px;
    font-weight: 600;
}

.lang-levels {
    font-size: 14px;
    color: var(--text-dark);
}

/* Additional Services */
.additional-services {
    padding: 60px 0;
    background: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.additional-service-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow);
}

.additional-service-card h3 {
    color: var(--primary-blue);
    margin-bottom: 15px;
    font-size: 22px;
}

.additional-service-card > p {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 16px;
}

.additional-service-card ul {
    list-style: none;
    padding-left: 0;
}

.additional-service-card li {
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
    color: var(--text-dark);
}

.additional-service-card li:before {
    content: '✓';
    color: var(--accent-gold);
    position: absolute;
    left: 0;
    font-weight: bold;
}

html[dir="rtl"] .additional-service-card li {
    padding-left: 0;
    padding-right: 20px;
}

html[dir="rtl"] .additional-service-card li:before {
    left: auto;
    right: 0;
}

/* Forms */
.inquiry-form-section,
.registration-form-section {
    padding: 60px 0;
    background: white;
}

.inquiry-form,
.registration-form {
    max-width: 800px;
    margin: 40px auto 0;
    background: var(--bg-light);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(30, 136, 229, 0.1);
}

/* About Page Styles */
.about-intro {
    padding: 60px 0;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.about-intro h2 {
    font-size: 36px;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.about-intro p {
    font-size: 18px;
    color: var(--text-light);
    line-height: 1.8;
}

.services-overview {
    padding: 60px 0;
    background: var(--bg-light);
}

.service-overview-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.service-overview-card:hover {
    transform: translateY(-10px);
}

.service-overview-icon {
    font-size: 48px;
    color: var(--accent-gold);
    margin-bottom: 20px;
}

.service-overview-card h3 {
    color: var(--primary-blue);
    margin-bottom: 15px;
    font-size: 22px;
}

.service-overview-card p {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 15px;
}

.features-section {
    padding: 60px 0;
    background: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    text-align: center;
    padding: 30px 20px;
    background: var(--light-blue);
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
}

.feature-card:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-5px);
}

.feature-card:hover h3,
.feature-card:hover p {
    color: white;
}

.feature-icon {
    font-size: 48px;
    color: var(--accent-gold);
    margin-bottom: 20px;
}

.feature-card h3 {
    color: var(--primary-blue);
    margin-bottom: 15px;
    font-size: 20px;
}

.feature-card p {
    color: var(--text-light);
    font-size: 15px;
}

.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    color: white;
    text-align: center;
}

.cta-section h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.cta-section p {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
.footer {
    background: var(--dark-blue);
    color: white;
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    font-size: 20px;
    margin-bottom: 25px;
    color: var(--light-gold);
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--accent-gold);
}

html[dir="rtl"] .footer-col h4::after {
    left: auto;
    right: 0;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo img {
    height: 60px;
    margin-bottom: 15px;
}

.footer-logo h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.footer-motto {
    color: var(--accent-gold);
    font-weight: 600;
    font-style: italic;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-gold);
    padding-right: 5px;
}

html[dir="rtl"] .footer-links a:hover {
    padding-right: 0;
    padding-left: 5px;
}

.contact-info p {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.contact-info i {
    color: var(--accent-gold);
    margin-top: 3px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    font-size: 18px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--accent-gold);
    color: var(--text-dark);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #aaa;
    font-size: 14px;
}

.footer-bottom p {
    margin-bottom: 5px;
}



        .gallery-section {
            padding: 60px 0;
            background: var(--bg-light);
        }
        
        .gallery-filters {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 10px;
            margin-bottom: 40px;
        }
        
        .gallery-filter {
            padding: 8px 20px;
            background: white;
            border: 2px solid var(--primary-blue);
            border-radius: 30px;
            cursor: pointer;
            font-weight: 600;
            color: var(--primary-blue);
            transition: all 0.3s ease;
        }
        
        .gallery-filter:hover,
        .gallery-filter.active {
            background: var(--primary-blue);
            color: white;
        }
        
        .gallery-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 25px;
        }
        
        .gallery-item {
            background: white;
            border-radius: var(--border-radius);
            overflow: hidden;
            box-shadow: var(--shadow);
            transition: all 0.3s ease;
        }
        
        .gallery-item:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0,0,0,0.15);
        }
        
        .gallery-item img {
            width: 100%;
            height: 200px;
            object-fit: cover;
        }
        
        .gallery-item-content {
            padding: 20px;
        }
        
        .gallery-item-category {
            display: inline-block;
            background: var(--light-blue);
            color: var(--primary-blue);
            padding: 4px 12px;
            border-radius: 20px;
            font-size: 12px;
            font-weight: 600;
            margin-bottom: 10px;
        }
        
        .gallery-item-title {
            font-size: 18px;
            color: var(--text-dark);
            margin-bottom: 8px;
        }
        
        .gallery-item-desc {
            font-size: 14px;
            color: var(--text-light);
        }
        
        .video-section {
            padding: 60px 0;
            background: white;
        }
        
        .video-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 30px;
            margin-top: 40px;
        }
        
        .video-card {
            background: var(--bg-light);
            border-radius: var(--border-radius);
            overflow: hidden;
            box-shadow: var(--shadow);
        }
        
        .video-thumbnail {
            position: relative;
            height: 200px;
            background: var(--dark-blue);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 60px;
        }
        
        .video-thumbnail i {
            opacity: 0.8;
            transition: opacity 0.3s ease;
        }
        
        .video-card:hover .video-thumbnail i {
            opacity: 1;
        }
        
        .video-content {
            padding: 20px;
        }
        
        .video-title {
            font-size: 18px;
            color: var(--text-dark);
            margin-bottom: 10px;
        }
        
        .video-desc {
            font-size: 14px;
            color: var(--text-light);
            margin-bottom: 15px;
        }
        
        .youtube-channel {
            text-align: center;
            margin-top: 40px;
        }
        
        .youtube-btn {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            background: #ff0000;
            color: white;
            padding: 12px 25px;
            border-radius: var(--border-radius);
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s ease;
        }
        
        .youtube-btn:hover {
            background: #cc0000;
            transform: translateY(-3px);
        }

.partners-stats {
            padding: 60px 0;
            background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
            color: white;
            text-align: center;
        }
        
        .stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 30px;
            margin-top: 40px;
        }
        
        .stat-item {
            padding: 30px 20px;
        }
        
        .stat-number {
            font-size: 48px;
            font-weight: 700;
            margin-bottom: 10px;
            color: var(--accent-gold);
        }
        
        .stat-label {
            font-size: 18px;
            opacity: 0.9;
        }
        
        .partners-grid-section {
            padding: 60px 0;
            background: var(--bg-light);
        }
        
        .partners-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
            gap: 30px;
            margin-top: 40px;
        }
        
        .partner-card {
            background: white;
            border-radius: var(--border-radius);
            padding: 30px 20px;
            text-align: center;
            box-shadow: var(--shadow);
            transition: all 0.3s ease;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            min-height: 180px;
        }
        
        .partner-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0,0,0,0.15);
        }
        
        .partner-logo {
            height: 60px;
            margin-bottom: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .partner-logo i {
            font-size: 40px;
            color: var(--primary-blue);
        }
        
        .partner-name {
            font-size: 16px;
            font-weight: 600;
            color: var(--text-dark);
            margin-bottom: 5px;
        }
        
        .partner-type {
            font-size: 14px;
            color: var(--text-light);
        }
        
        .strategic-partners {
            padding: 60px 0;
            background: white;
        }
        
        .strategic-partners-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
            margin-top: 40px;
        }
        
        .strategic-partner-card {
            background: var(--light-blue);
            border-radius: var(--border-radius);
            padding: 30px;
            border-left: 5px solid var(--accent-gold);
        }
        
        .strategic-partner-header {
            display: flex;
            align-items: center;
            gap: 15px;
            margin-bottom: 20px;
        }
        
        .strategic-partner-icon {
            font-size: 40px;
            color: var(--accent-gold);
        }
        
        .strategic-partner-title h3 {
            color: var(--primary-blue);
            margin-bottom: 5px;
        }
        
        .strategic-partner-title p {
            color: var(--text-light);
            font-size: 14px;
        }
        
        .strategic-partner-features {
            list-style: none;
            padding-right: 0;
        }
        
        .strategic-partner-features li {
            margin-bottom: 10px;
            padding-right: 25px;
            position: relative;
        }
        
        .strategic-partner-features li:before {
            content: '✓';
            color: var(--accent-gold);
            position: absolute;
            right: 0;
            font-weight: bold;
        }
        
        html[dir="rtl"] .strategic-partner-features li {
            padding-right: 0;
            padding-left: 25px;
        }
        
        html[dir="rtl"] .strategic-partner-features li:before {
            right: auto;
            left: 0;
        }
        
        .partnership-form-section {
            padding: 60px 0;
            background: var(--bg-light);
        }
        
        .partnership-form {
            max-width: 800px;
            margin: 40px auto 0;
            background: white;
            padding: 40px;
            border-radius: var(--border-radius);
            box-shadow: var(--shadow);
        }


 .support-hero {
            padding: 80px 0;
            background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
            color: white;
            text-align: center;
        }
        
        .support-hero h1 {
            font-size: 42px;
            margin-bottom: 20px;
        }
        
        .support-hero p {
            font-size: 20px;
            max-width: 700px;
            margin: 0 auto 30px;
            opacity: 0.9;
        }
        
        .support-mission {
            padding: 60px 0;
            background: white;
            text-align: center;
        }
        
        .mission-statement {
            max-width: 800px;
            margin: 0 auto;
            font-size: 18px;
            color: var(--text-dark);
            line-height: 1.8;
        }
        
        .mission-quote {
            font-size: 24px;
            color: var(--accent-gold);
            font-style: italic;
            margin: 30px 0;
            font-weight: 600;
        }
        
        .support-form-section {
            padding: 60px 0;
            background: var(--bg-light);
        }
        
        .support-form-container {
            max-width: 800px;
            margin: 40px auto 0;
            background: white;
            padding: 40px;
            border-radius: var(--border-radius);
            box-shadow: var(--shadow);
        }
        
        .support-form h3 {
            color: var(--primary-blue);
            margin-bottom: 30px;
            text-align: center;
        }
        
        .support-resources {
            padding: 60px 0;
            background: white;
        }
        
        .resources-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 30px;
            margin-top: 40px;
        }
        
        .resource-card {
            background: var(--light-blue);
            border-radius: var(--border-radius);
            padding: 30px;
            text-align: center;
            transition: all 0.3s ease;
        }
        
        .resource-card:hover {
            background: var(--primary-blue);
            color: white;
            transform: translateY(-10px);
        }
        
        .resource-card:hover h4,
        .resource-card:hover p {
            color: white;
        }
        
        .resource-icon {
            font-size: 48px;
            color: var(--accent-gold);
            margin-bottom: 20px;
        }
        
        .resource-card h4 {
            color: var(--primary-blue);
            margin-bottom: 15px;
        }
        
        .resource-card p {
            color: var(--text-light);
            margin-bottom: 20px;
        }
        
        .support-faq {
            padding: 60px 0;
            background: var(--bg-light);
        }
        
        .faq-container {
            max-width: 800px;
            margin: 40px auto 0;
        }
        
        .faq-item {
            background: white;
            border-radius: var(--border-radius);
            margin-bottom: 15px;
            overflow: hidden;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }
        
        .faq-question {
            padding: 20px;
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-weight: 600;
            color: var(--primary-blue);
        }
        
        .faq-answer {
            padding: 0 20px;
            max-height: 0;
            overflow: hidden;
            transition: all 0.3s ease;
            color: var(--text-light);
        }
        
        .faq-item.active .faq-answer {
            padding: 0 20px 20px;
            max-height: 500px;
        }
        
        .faq-toggle {
            font-size: 20px;
            transition: transform 0.3s ease;
        }
        
        .faq-item.active .faq-toggle {
            transform: rotate(45deg);
        }
        
        .contact-options {
            padding: 60px 0;
            background: white;
            text-align: center;
        }
        
        .contact-buttons {
            display: flex;
            justify-content: center;
            gap: 20px;
            flex-wrap: wrap;
            margin-top: 30px;
        }
  .contact-info-section {
            padding: 60px 0;
            background: var(--light-blue);
        }
        
        .contact-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 40px;
        }
        
        .contact-card {
            background: white;
            border-radius: var(--border-radius);
            padding: 30px;
            box-shadow: var(--shadow);
        }
        
        .contact-card h3 {
            color: var(--primary-blue);
            margin-bottom: 20px;
            font-size: 22px;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .contact-card h3 i {
            color: var(--accent-gold);
        }
        
        .contact-details {
            list-style: none;
        }
        
        .contact-details li {
            margin-bottom: 15px;
            display: flex;
            align-items: flex-start;
            gap: 15px;
        }
        
        .contact-details i {
            color: var(--accent-gold);
            margin-top: 3px;
        }
        
        .contact-details a {
            color: var(--text-dark);
            text-decoration: none;
            transition: color 0.3s ease;
        }
        
        .contact-details a:hover {
            color: var(--primary-blue);
        }
        
        .working-hours {
            width: 100%;
            border-collapse: collapse;
            margin-top: 10px;
        }
        
        .working-hours tr {
            border-bottom: 1px solid #eee;
        }
        
        .working-hours tr:last-child {
            border-bottom: none;
        }
        
        .working-hours td {
            padding: 10px 0;
        }
        
        .working-hours td:first-child {
            font-weight: 600;
        }
        
        .contact-form-section {
            padding: 60px 0;
            background: white;
        }
        
        .contact-form {
            max-width: 800px;
            margin: 40px auto 0;
            background: var(--bg-light);
            padding: 40px;
            border-radius: var(--border-radius);
            box-shadow: var(--shadow);
        }
        
        .social-media-section {
            padding: 60px 0;
            background: var(--bg-light);
            text-align: center;
        }
        
        .social-media-grid {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 20px;
            margin-top: 30px;
        }
        
        .social-media-card {
            background: white;
            border-radius: var(--border-radius);
            padding: 30px;
            width: 200px;
            box-shadow: var(--shadow);
            transition: all 0.3s ease;
        }
        
        .social-media-card:hover {
            transform: translateY(-10px);
        }
        
        .social-media-icon {
            font-size: 40px;
            margin-bottom: 15px;
            display: block;
        }
        
        .social-media-icon.facebook {
            color: #1877f2;
        }
        
        .social-media-icon.twitter {
            color: #1da1f2;
        }
        
        .social-media-icon.instagram {
            color: #e4405f;
        }
        
        .social-media-icon.youtube {
            color: #ff0000;
        }
        
        .social-media-icon.linkedin {
            color: #0a66c2;
        }
        
        .social-media-name {
            font-weight: 600;
            color: var(--text-dark);
            margin-bottom: 10px;
        }
        
        .social-media-followers {
            font-size: 14px;
            color: var(--text-light);
        }
        
        .map-section {
            height: 400px;
            background: #f0f0f0;
        }
        
        .map-placeholder {
            height: 100%;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            color: var(--text-light);
        }
        
        .map-placeholder i {
            font-size: 60px;
            margin-bottom: 20px;
            color: var(--primary-blue);
        }




        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }
        
        body {
            background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
            color: #333;
            line-height: 1.6;
            direction: rtl;
        }
        
        /* Header Styles */
        .header {
            background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
            color: white;
            padding: 15px 0;
            box-shadow: 0 4px 12px rgba(0,0,0,0.1);
            position: relative;
            z-index: 1000;
        }
        
        .header .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .logo {
            display: flex;
            align-items: center;
            gap: 15px;
        }
        
        .logo-img {
            height: 60px;
            width: auto;
        }
        
        .logo-text h1 {
            font-size: 1.8rem;
            margin-bottom: 5px;
        }
        
        .logo-text p {
            font-size: 0.9rem;
            opacity: 0.9;
        }
        
        .main-nav ul {
            display: flex;
            list-style: none;
            gap: 25px;
        }
        
        .main-nav a {
            color: white;
            text-decoration: none;
            font-weight: 600;
            transition: color 0.3s;
            padding: 5px 10px;
            border-radius: 4px;
        }
        
        .main-nav a:hover, .main-nav a.active {
            background: rgba(255,255,255,0.1);
            color: #f1c40f;
        }
        
        /* Main Content */
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px;
        }
        
        .page-header {
            text-align: center;
            margin: 30px 0 40px;
            padding: 30px;
            background: rgba(255,255,255,0.9);
            border-radius: 10px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.08);
        }
        
        .page-header h1 {
            color: #2c3e50;
            font-size: 2.5rem;
            margin-bottom: 15px;
            position: relative;
            display: inline-block;
        }
        
        .page-header h1:after {
            content: '';
            position: absolute;
            bottom: -10px;
            right: 50%;
            transform: translateX(50%);
            width: 100px;
            height: 4px;
            background: #3498db;
            border-radius: 2px;
        }
        
        .page-header p {
            color: #555;
            font-size: 1.1rem;
            margin-top: 10px;
        }
        
        .page-subtitle {
            font-size: 1.2rem;
            color: #3498db;
            font-weight: 600;
            margin-top: 10px;
        }
        
        .section-title {
            text-align: center;
            margin: 50px 0 30px;
            color: #2c3e50;
            font-size: 2rem;
            position: relative;
        }
        
        .section-title:after {
            content: '';
            position: absolute;
            bottom: -10px;
            right: 50%;
            transform: translateX(50%);
            width: 80px;
            height: 3px;
            background: #2ecc71;
            border-radius: 2px;
        }
        
        /* 3D Tiles Container */
        .tiles-container {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 40px;
            perspective: 1000px;
            margin: 40px 0;
        }
        
        .tile-3d {
            width: 300px;
            height: 350px;
            position: relative;
            transform-style: preserve-3d;
            transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            cursor: pointer;
            border-radius: 10px;
        }
        
        .tile-3d:hover {
            transform: translateY(-10px);
        }
        
        .tile-3d.flipped {
            transform: rotateY(180deg) translateY(-10px);
        }
        
        .tile-face {
            position: absolute;
            width: 100%;
            height: 100%;
            backface-visibility: hidden;
            border-radius: 10px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            padding: 25px;
            text-align: center;
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
            transition: all 0.5s ease;
            overflow: hidden;
        }
        
        .tile-front {
            background: linear-gradient(135deg, #3498db 0%, #2c3e50 100%);
            color: white;
            transform: rotateY(0deg);
        }
        
        .tile-back {
            background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
            color: white;
            transform: rotateY(180deg);
            justify-content: flex-start;
            padding-top: 35px;
        }
        
        .tile-icon {
            font-size: 3.5rem;
            margin-bottom: 20px;
            color: rgba(255, 255, 255, 0.9);
            text-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        }
        
        .tile-title {
            font-size: 1.5rem;
            margin-bottom: 15px;
            font-weight: 700;
        }
        
        .tile-desc {
            font-size: 0.95rem;
            opacity: 0.9;
            line-height: 1.5;
            margin-bottom: 10px;
        }
        
        .tile-back .tile-desc {
            font-size: 0.9rem;
            text-align: right;
            line-height: 1.6;
        }
        
        .tile-list {
            list-style: none;
            text-align: right;
            width: 100%;
            margin-top: 15px;
            padding-right: 10px;
        }
        
        .tile-list li {
            padding: 6px 0;
            position: relative;
            padding-right: 20px;
            font-size: 0.9rem;
        }
        
        .tile-list li:before {
            content: "✓";
            position: absolute;
            right: 0;
            font-weight: bold;
            color: #f1c40f;
        }
        
        .flip-indicator {
            position: absolute;
            bottom: 15px;
            color: rgba(255,255,255,0.7);
            font-size: 0.85rem;
            animation: pulse 2s infinite;
        }
        
        @keyframes pulse {
            0% { opacity: 0.7; }
            50% { opacity: 1; }
            100% { opacity: 0.7; }
        }
        
        .controls {
            display: flex;
            justify-content: center;
            gap: 20px;
            margin: 30px 0;
        }
        
        .control-btn {
            padding: 12px 25px;
            background: #3498db;
            color: white;
            border: none;
            border-radius: 50px;
            cursor: pointer;
            font-size: 1rem;
            font-weight: 600;
            transition: all 0.3s ease;
            box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .control-btn:hover {
            background: #2980b9;
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(52, 152, 219, 0.4);
        }
        
        .control-btn:active {
            transform: translateY(1px);
        }
        
        .btn-primary {
            background: #e74c3c;
        }
        
        .btn-primary:hover {
            background: #c0392b;
        }
        
        /* Footer Styles */
        .footer {
            background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
            color: white;
            padding: 40px 0 20px;
            margin-top: 60px;
        }
        
        .footer .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }
        
        .footer-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 30px;
            margin-bottom: 30px;
        }
        
        .footer-logo {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
        }
        
        .footer-logo img {
            height: 60px;
            margin-bottom: 15px;
        }
        
        .footer-links {
            list-style: none;
        }
        
        .footer-links li {
            margin-bottom: 10px;
        }
        
        .footer-links a {
            color: #ddd;
            text-decoration: none;
            transition: color 0.3s;
        }
        
        .footer-links a:hover {
            color: #3498db;
        }
        
        .contact-info p {
            margin-bottom: 10px;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .social-links {
            display: flex;
            gap: 15px;
            margin-top: 15px;
        }
        
        .social-links a {
            display: inline-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;
            transition: all 0.3s;
        }
        
        .social-links a:hover {
            background: #3498db;
            transform: translateY(-3px);
        }
        
        .footer-bottom {
            text-align: center;
            padding-top: 20px;
            border-top: 1px solid rgba(255,255,255,0.1);
            color: #aaa;
            font-size: 0.9rem;
        }
        
        @media (max-width: 768px) {
            .main-nav {
                display: none;
            }
            
            .tiles-container {
                gap: 30px;
            }
            
            .tile-3d {
                width: 280px;
                height: 330px;
            }
            
            .page-header h1 {
                font-size: 2rem;
            }
            
            .section-title {
                font-size: 1.7rem;
            }
            
            .controls {
                flex-direction: column;
                align-items: center;
            }
            
            .control-btn {
                width: 80%;
                justify-content: center;
            }
        }
        
        @media (max-width: 480px) {
            .tile-3d {
                width: 260px;
                height: 310px;
            }
            
            .tile-title {
                font-size: 1.3rem;
            }
            
            .tile-icon {
                font-size: 3rem;
            }
        }
        
        
        
        
        /* Add counter-rotation for node content */
.node-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
  /* Counter-rotate to keep content upright */
  animation: spin-reverse 40s linear infinite;
}

/* Reverse animation for RTL */
.rtl .node-content {
  animation-direction: reverse;
}

@keyframes spin-reverse {
  from { transform: rotate(0deg); }
  to { transform: rotate(-360deg); }
}

/* RTL specific styles */
.rtl {
  direction: rtl;
}

.rtl .center-text {
  font-size: 15px;
}

/* For the orbit animation direction */
.rtl .orbit {
  animation-direction: reverse;
}
  

/* =========================
   Training Courses
========================= */
.training-courses {
    padding: 80px 0;
    background: #fff;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.course-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.course-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.12);
}

.course-card h3 {
    font-size: 1.4rem;
    color: #a61e4d;
    margin-bottom: 12px;
}

.course-desc {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 20px;
}

.course-details {
    list-style: none;
    padding: 0;
    margin: 0;
}

.course-details li {
    font-size: 0.9rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.course-details i {
    color: #d63384;
    font-size: 1rem;
}

/* =========================
   Labs & Equipment
========================= */
.labs-equipment {
    padding: 80px 0;
    background: #fdf1f7;
}

.labs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
}

.lab-card {
    background: #fff;
    border-radius: 18px;
    padding: 35px 25px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.lab-card:hover {
    transform: translateY(-6px);
}

.lab-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #d63384, #a61e4d);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lab-icon i {
    color: #fff;
    font-size: 1.8rem;
}

.lab-card h3 {
    font-size: 1.3rem;
    color: #7a1c5d;
    margin-bottom: 10px;
}

.lab-card p {
    font-size: 0.95rem;
    color: #555;
}

/* =========================
   Products
========================= */
.products-section {
    padding: 80px 0;
    background: #ffffff;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.product-card {
    background: #fff;
    border-radius: 16px;
    padding: 30px 25px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.07);
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-7px);
}

.product-icon {
    width: 65px;
    height: 65px;
    margin: 0 auto 18px;
    background: #f8d7e6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-icon i {
    font-size: 1.7rem;
    color: #a61e4d;
}

.product-card h3 {
    font-size: 1.25rem;
    color: #7a1c5d;
    margin-bottom: 8px;
}

.product-card p {
    font-size: 0.9rem;
    color: #666;
}

/* =========================
   Responsive Adjustments
========================= */
@media (max-width: 768px) {
    .section-title {
        font-size: 1.8rem;
    }

    .course-card,
    .lab-card,
    .product-card {
        padding: 25px 20px;
    }
}


/* =====================
   Training Programs
===================== */
.training-programs {
  padding: 80px 0;
  background: var(--light);
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.program-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
  transition: transform .3s ease, box-shadow .3s ease;
}

.program-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

.program-card h3 {
  color: var(--primary);
  margin-bottom: 10px;
}

.program-desc {
  color: var(--gray);
  margin-bottom: 20px;
}

.program-details {
  list-style: none;
  padding: 0;
  margin: 0;
}

.program-details li {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
}

.program-details i {
  color: var(--secondary);
  font-size: 1.1rem;
}

/* =====================
   Workshops
===================== */
.workshops-section {
  padding: 80px 0;
  background: #fff;
}

.workshops-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 25px;
}

.workshop-card {
  background: linear-gradient(135deg, #fff, #fdf2ef);
  padding: 25px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform .3s ease;
}

.workshop-card:hover {
  transform: translateY(-6px);
}

.workshop-card h3 {
  margin-bottom: 10px;
  color: var(--primary);
}

.workshop-tags {
  margin-bottom: 10px;
}

.tag {
  display: inline-block;
  background: var(--secondary);
  color: #fff;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  margin-left: 6px;
}

/* =====================
   Kitchen Facilities
===================== */
.kitchen-facilities {
  padding: 80px 0;
  background: var(--light);
}

.facilities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}

.facility-card {
  background: #fff;
  padding: 30px 20px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow);
  transition: all .3s ease;
}

.facility-card:hover {
  background: var(--primary);
  color: #fff;
}

.facility-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 15px;
  background: var(--secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: #fff;
}

.facility-card:hover .facility-icon {
  background: #fff;
  color: var(--primary);
}

/* =====================
   Chefs Team
===================== */
.chefs-team {
  padding: 80px 0;
  background: #fff;
}

.chefs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.chef-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 30px 25px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform .3s ease;
}

.chef-card:hover {
  transform: translateY(-8px);
}

.chef-photo {
  width: 90px;
  height: 90px;
  margin: 0 auto 15px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 2.2rem;
}

.chef-title {
  color: var(--primary);
  font-weight: bold;
  margin: 8px 0;
}

.chef-experience,
.chef-specialty {
  font-size: 0.9rem;
  color: var(--gray);
}

/* =====================
   Responsive Tweaks
===================== */
@media (max-width: 768px) {
  .section-title {
    font-size: 1.6rem;
  }
}
/* =========================
   Global helpers
========================= */
:root {
    --primary: #2563eb;
    --secondary: #0f172a;
    --accent: #22c55e;
    --bg-light: #f8fafc;
    --bg-card: #ffffff;
    --text-dark: #0f172a;
    --text-muted: #64748b;
    --radius: 16px;
    --shadow: 0 10px 30px rgba(0,0,0,0.08);
}

* {
    box-sizing: border-box;
}

body {
    font-family: "Cairo", "Segoe UI", sans-serif;
    direction: rtl;
    color: var(--text-dark);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: var(--secondary);
    position: relative;
}

.section-title::after {
    content: "";
    width: 60px;
    height: 4px;
    background: var(--primary);
    display: block;
    margin: 12px auto 0;
    border-radius: 4px;
}

/* =========================
   Shared grids
========================= */
.diplomas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

/* =========================
   Success Stories
========================= */
.success-stories {
    background: var(--bg-light);
    padding: 5rem 0;
}

.story-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.story-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.story-image {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.2rem;
    background: linear-gradient(135deg, var(--primary), #60a5fa);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.story-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.story-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 1.2rem;
}

.story-stats {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.story-stats i {
    color: var(--primary);
    margin-left: 6px;
}

/* =========================
   Upcoming Workshops
========================= */
.upcoming-workshops {
    padding: 5rem 0;
    background: #ffffff;
}

.workshops-timeline {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.workshop-item {
    display: flex;
    background: var(--bg-card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.workshop-date {
    min-width: 100px;
    background: var(--primary);
    color: #fff;
    text-align: center;
    padding: 1.5rem 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.workshop-date .day {
    font-size: 2rem;
    font-weight: bold;
}

.workshop-date .month {
    font-size: 0.9rem;
}

.workshop-content {
    padding: 1.5rem;
    flex: 1;
}

.workshop-content h3 {
    margin-bottom: 0.5rem;
}

.workshop-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0.3rem 0;
}

.workshop-content i {
    color: var(--primary);
    margin-left: 6px;
}

/* =========================
   Buttons
========================= */
.btn {
    display: inline-block;
    padding: 0.6rem 1.4rem;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background 0.3s ease, transform 0.2s ease;
    text-decoration: none;
}

.btn-small {
    margin-top: 1rem;
    background: var(--primary);
    color: #fff;
}

.btn-small:hover {
    background: #1d4ed8;
    transform: scale(1.05);
}

.btn-primary {
    background: var(--accent);
    color: #fff;
}

.btn-primary:hover {
    background: #16a34a;
}

/* =========================
   Mentors
========================= */
.innovation-mentors {
    background: var(--bg-light);
    padding: 5rem 0;
}

.mentor-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s ease;
}

.mentor-card:hover {
    transform: translateY(-6px);
}

.mentor-photo {
    width: 90px;
    height: 90px;
    background: var(--secondary);
    color: #fff;
    border-radius: 50%;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
}

.mentor-title {
    color: var(--primary);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.mentor-bio {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.mentor-expertise {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.expertise-tag {
    background: #e0e7ff;
    color: #1e3a8a;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    font-size: 0.75rem;
}

/* =========================
   Idea Submission
========================= */
.idea-submission {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary), #60a5fa);
    color: #fff;
    text-align: center;
}

.submission-box {
    max-width: 700px;
    margin: auto;
}

.submission-box h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.submission-box p {
    font-size: 1rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* =========================
   Responsive
========================= */
@media (max-width: 768px) {
    .workshop-item {
        flex-direction: column;
    }

    .workshop-date {
        flex-direction: row;
        justify-content: center;
        gap: 1rem;
    }

    .story-stats {
        flex-direction: column;
        gap: 0.4rem;
        align-items: center;
    }
}


/* ===============================
   Additional Specialties Section
================================= */

.additional-specialties {
    padding: 80px 20px;
    background: linear-gradient(180deg, #f8f9fb, #ffffff);
    direction: rtl;
}

.additional-specialties .container {
    max-width: 1200px;
    margin: auto;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: "";
    display: block;
    width: 80px;
    height: 4px;
    background: #2563eb;
    margin: 15px auto 0;
    border-radius: 2px;
}

/* Grid Layout */
.specialties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

/* Card Style */
.specialty-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 30px 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.specialty-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 6px;
    height: 100%;
    background: #2563eb;
}

.specialty-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
}

.specialty-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 12px;
}

.specialty-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: #4b5563;
}

/* Responsive Tweaks */
@media (max-width: 768px) {
    .section-title {
        font-size: 1.8rem;
    }

    .specialty-card {
        padding: 25px 20px;
    }
}
