  :root {
    --primary-gold: #a27c0c;
    --secondary-gold: #B8942A;
    --dark-gold: #8A6A0A;
    --light-gold: #D4B85A;
    --gold-gradient: linear-gradient(135deg, #a27c0c 0%, #B8942A 50%, #D4B85A 100%);
    --gold-gradient-reverse: linear-gradient(135deg, #D4B85A 0%, #B8942A 50%, #a27c0c 100%);
    --primary-blue: #1a3a4a;
    --secondary-blue: #2a586e;
    --accent-blue: #4cb7ff;
    --light: #f5f9fc;
    --dark: #333;
    --gray: #666;
    --light-gray: #ccc;
    
    /* Light theme variables */
    --light-primary: #1a3a4a;
    --light-secondary: #2a586e;
    --light-accent: #4cb7ff;
    --light-bg: #f5f9fc;
    --light-card: #ffffff;
    --light-text: #333;
    --light-border: #e0e0e0;
    
    /* Golden theme variables (default) */
    --golden-primary: #a27c0c;
    --golden-secondary: #B8942A;
    --golden-accent: #D4B85A;
    --golden-bg: #f9f9f9;
    --golden-card: #ffffff;
    --golden-text: #333;
    --golden-border: #e0e0e0;
}

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }
        
        body {
            color: var(--dark);
            line-height: 1.6;
            background-color: #f9f9f9;
            scroll-behavior: smooth;
            transition: all 0.3s;
        }
        
        body.rtl {
            direction: rtl;
        }
        
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }
        
        /* Language Toggle */
      /* Language Toggle Container */
.language-toggle-container {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1001;
    display: flex;
    gap: 10px;
}

/* Language Toggle Buttons */
.language-toggle {
    background: var(--gold-gradient);
    color: var(--primary-blue);
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s;
    font-size: 0.9rem;
}

.language-toggle:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* RTL Support for Language Toggle */
body.rtl .language-toggle-container {
    left: auto;
    right: 20px;
    flex-direction: row-reverse;
}

body.rtl .theme-toggle {
    right: auto;
    left: 20px;
}
@media (max-width: 768px) {
    .language-toggle-container {
        top: 10px;
        left: 10px;
        flex-direction: column;
        gap: 5px;
    }
    
    body.rtl .language-toggle-container {
        left: auto;
        right: 10px;
    }
    
    .language-toggle {
        padding: 8px 12px;
        font-size: 0.8rem;
    }
    
    .theme-toggle {
        top: 10px;
        right: 10px;
        padding: 8px 12px;
        font-size: 0.8rem;
    }
    
    body.rtl .theme-toggle {
        right: auto;
        left: 10px;
    }
}

@media (max-width: 480px) {
    .language-toggle-container {
        position: relative;
        top: auto;
        left: auto;
        justify-content: center;
        margin: 10px 0;
    }
    
    body.rtl .language-toggle-container {
        right: auto;
    }
    
    body.rtl .theme-toggle {
        left: auto;
    }
}
        /* Header Styles with Golden Fire Effect */
        header {
            background: var(--gold-gradient);
            color: var(--primary-blue);
            padding: 15px 0;
            position: sticky;
            top: 0;
            z-index: 1000;
            box-shadow: 0 2px 20px rgba(212, 175, 55, 0.3);
        }
        
        .header-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .logo-container {
            display: flex;
            align-items: center;
            text-decoration: none;
            position: relative;
        }
        
        .logo-wrapper {
            position: relative;
            display: flex;
            align-items: center;
            padding: 10px;
            border-radius: 10px;
            background: rgba(255, 255, 255, 0.2);
        }
        
        .logo-fire {
            position: absolute;
            top: -5px;
            left: -5px;
            right: -5px;
            bottom: -5px;
            background: radial-gradient(circle, var(--secondary-gold) 0%, transparent 70%);
            border-radius: 15px;
            opacity: 0.7;
            animation: fireGlow 3s infinite alternate;
            z-index: -1;
        }
        
        @keyframes fireGlow {
            0% { opacity: 0.5; }
            100% { opacity: 0.8; }
        }
        
        .logo-img {
            height: 70px;
            width: auto;
            border: 2px solid var(--primary-blue);
            border-radius: 8px;
            box-shadow: 0 0 15px rgba(26, 58, 74, 0.5);
            transform: perspective(500px) rotateY(-5deg);
            transition: all 0.3s ease;
        }
        
        .logo-img:hover {
            transform: perspective(500px) rotateY(0deg);
            box-shadow: 0 0 25px rgba(26, 58, 74, 0.8);
        }
        
        .logo-text {
            margin-left: 15px;
            text-align: left;
        }
        
        body.rtl .logo-text {
            margin-left: 0;
            margin-right: 15px;
            text-align: right;
        }
        
        .logo-text h1 {
            font-size: 1.8rem;
            margin-bottom: 5px;
            background:;
            -webkit-text-fill-color: transparent;
            text-shadow: 0 0 5pxpx rgba(26, 58, 74, 0.3);
            font-weight: 700;
            letter-spacing: 1px;
        }
        
        .logo-text p {
            font-size: 0.9rem;
            color: var(--primary-blue);
            font-style: italic;
        }
        
        nav ul {
            display: flex;
            list-style: none;
        }
        
        body.rtl nav ul {
            flex-direction: row-reverse;
        }
        
        nav ul li {
            margin-left: 25px;
            position: relative;
        }
        
        body.rtl nav ul li {
            margin-left: 0;
            margin-right: 25px;
        }
        
        nav ul li a {
            color: var(--primary-blue);
            text-decoration: none;
            font-weight: 500;
            transition: color 0.3s;
            position: relative;
            padding: 5px 0;
            font-size: 16px;
        }
        
        nav ul li a:after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            bottom: 0;
            left: 0;
            background-color: var(--primary-blue);
            transition: width 0.3s;
        }
        
        body.rtl nav ul li a:after {
            left: auto;
            right: 0;
        }
        
        nav ul li a:hover {
            color: var(--primary-blue);
            text-shadow: 0 0 5px rgba(255, 255, 255, 0.7);
        }
        
        nav ul li a:hover:after {
            width: 100%;
        }
        
        nav ul li a.active {
            color: var(--primary-blue);
            font-weight: 600;
        }
        
        nav ul li a.active:after {
            width: 100%;
        }
        /* Trusted Partners Section */
.trusted-partners {
    padding: 100px 0;
    background: var(--card-bg);
    transition: background-color 0.3s;
}

.partners-description {
    max-width: 800px;
    margin: 0 auto 50px;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.7;
}

.partners-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.partner-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s;
}

.partner-image:hover {
    transform: scale(1.05);
}
/* Enhanced Colors and Animations */
:root {
    --primary-gradient: linear-gradient(135deg, #a27c0c 0%, #d4af37 100%);
    --secondary-gradient: linear-gradient(135deg, #2c5aa0 0%, #4a90e2 100%);
    --success-gradient: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    --info-gradient: linear-gradient(135deg, #17a2b8 0%, #6f42c1 100%);
    --warning-gradient: linear-gradient(135deg, #ffc107 0%, #fd7e14 100%);
}

/* Enhanced Course Cards with Animations */
.program-card {
    animation: fadeInUp 0.6s ease-out;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
}

.program-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

/* Enhanced Buttons with Gradient Colors */
.program-link.apply-btn {
    background: var(--success-gradient);
    border: none;
    color: white;
    transition: all 0.3s ease;
}

.program-link.apply-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(40, 167, 69, 0.3);
}

.program-link.fee-btn {
    background: var(--secondary-gradient);
    border: none;
    color: white;
    transition: all 0.3s ease;
}

.program-link.fee-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(74, 144, 226, 0.3);
}

.program-link.info-btn {
    background: var(--info-gradient);
    border: none;
    color: white;
    transition: all 0.3s ease;
}

.program-link.info-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(111, 66, 193, 0.3);
}

.program-link.details-btn {
    background: var(--warning-gradient);
    border: none;
    color: white;
    transition: all 0.3s ease;
}

.program-link.details-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(255, 193, 7, 0.3);
}

/* Load More Button */
.load-more-container {
    text-align: center;
    margin: 40px 0;
    animation: fadeIn 0.8s ease-out;
}

.load-more-btn {
    background: var(--primary-gradient);
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1.1em;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(162, 124, 12, 0.3);
    position: relative;
    overflow: hidden;
}

.load-more-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(162, 124, 12, 0.4);
}

.load-more-btn:active {
    transform: translateY(-1px);
}

.load-more-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.load-more-btn .spinner {
    display: none;
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 10px;
}

.load-more-btn.loading .spinner {
    display: inline-block;
}

.load-more-count {
    font-size: 0.9em;
    opacity: 0.8;
    margin-top: 8px;
    font-weight: 500;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.pulse {
    animation: pulse 2s infinite;
}

/* Scroll-triggered animations */
.fade-in-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.fade-in-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Enhanced Section Headings */
.section-title h2 {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

/* Course Counter */
.courses-counter {
    text-align: center;
    margin: 20px 0;
    font-size: 1.1em;
    color: #666;
    font-weight: 500;
}

.courses-counter .count {
    font-weight: 700;
    color: #a27c0c;
}

/* Responsive Design */
@media (max-width: 768px) {
    .load-more-btn {
        padding: 12px 24px;
        font-size: 1em;
    }
    
    .program-card:hover {
        transform: translateY(-4px);
    }
}
 /* Navigation Tabs for Training Page */
    .training-nav {
        background: white;
        padding: 20px 0;
        position: sticky;
        top: 150px;
        z-index: 900;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }
    
    .training-categories {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .training-category-btn {
        background: var(--light);
        border: none;
        padding: 12px 25px;
        border-radius: 30px;
        font-weight: 600;
        color: var(--dark);
        cursor: pointer;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        gap: 8px;
    }
    
    .training-category-btn.active, .training-category-btn:hover {
        background: var(--primary);
        color: white;
        transform: translateY(-3px);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }
    
    /* Section visibility control */
    .training-section {
        display: none;
        animation: fadeIn 0.8s ease forwards;
    }
    
    .training-section.active {
        display: block;
    }
    
    @keyframes fadeIn {
        from { opacity: 0; }
        to { opacity: 1; }
    }
    /* Add to training.css */
.training-nav {
    background: white;
    padding: 20px 0;
    position: sticky;
    top: 150px;
    z-index: 900;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.training-categories {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.training-category-btn {
    background: var(--light);
    border: none;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 600;
    color: var(--dark);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.training-category-btn.active, .training-category-btn:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Section visibility control */
.training-section {
    display: none;
    animation: fadeIn 0.8s ease forwards;
}

.training-section.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
/* Disclaimer Section */
.disclaimer-section {
    padding: 60px 0;
    background: var(--light);
    transition: background-color 0.3s;
}

.disclaimer-toggle {
    background: var(--primary);
    color: white;
    border: none;
    padding: 15px 25px;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    transition: background 0.3s;
}

.disclaimer-toggle:hover {
    background: var(--secondary);
}

.disclaimer-toggle i {
    transition: transform 0.3s;
}

.disclaimer-toggle.active i {
    transform: rotate(180deg);
}

.disclaimer-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    margin-top: 20px;
    background: var(--card-bg);
    padding: 0 25px;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.disclaimer-content.active {
    max-height: 2000px;
    padding: 25px;
}

.disclaimer-content h3 {
    color: var(--secondary);
    margin: 20px 0 10px;
}

.disclaimer-content h3:first-child {
    margin-top: 0;
}

.disclaimer-content p {
    margin-bottom: 15px;
    line-height: 1.6;
}

/* Section Title Styles */
.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.8rem;
    color: var(--secondary);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2:after {
    content: '';
    position: absolute;
    width: 80px;
    height: 3px;
    background: var(--accent);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

.section-title p {
    color: var(--dark);
    max-width: 700px;
    margin: 30px auto 0;
    font-size: 1.1rem;
}

        /* Country Selector */
        .country-selector {
            position: fixed;
            bottom: 20px;
            right: 20px;
            background: var(--gold-gradient);
            color: var(--primary-blue);
            padding: 15px;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
            z-index: 1000;
            max-width: 300px;
            display: none;
        }
        
        body.rtl .country-selector {
            right: auto;
            left: 20px;
        }
        
        .country-selector h3 {
            margin-bottom: 10px;
            color: var(--primary-blue);
        }
        
        .country-selector select {
            width: 100%;
            padding: 8px;
            border-radius: 5px;
            border: 1px solid var(--primary-blue);
            margin-bottom: 10px;
            background: white;
            color: var(--primary-blue);
        }
        
        .country-selector button {
            background: var(--primary-blue);
            color: var(--secondary-gold);
            border: none;
            padding: 8px 15px;
            border-radius: 5px;
            cursor: pointer;
            font-weight: 600;
        }
        
        /* Page Header with Slideshow */
        .page-header {
            position: relative;
            color: white;
            text-align: center;
            padding: 100px 20px;
            overflow: hidden;
            height: 70vh;
            min-height: 500px;
        }
        
        .slideshow {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -2;
        }
        
        .slide {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-size: cover;
            background-position: center;
            opacity: 0;
            transition: opacity 1s ease-in-out;
            transform: scale(1.1);
            animation: zoom 15s infinite;
        }
        
        .slide.active {
            opacity: 1;
        }
        
        @keyframes zoom {
            0% { transform: scale(1.1); }
            100% { transform: scale(1.2); }
        }
        
        .slide-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(26, 58, 74, 0.7);
            z-index: -1;
        }
        
        .page-header .container {
            position: relative;
            z-index: 1;
        }
        
        .page-header h1 {
            font-size: 3.5rem;
            margin-bottom: 20px;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
        }
        
        .page-header p {
            font-size: 1.2rem;
            max-width: 800px;
            margin: 0 auto 30px;
        }
        
        .breadcrumb {
            display: flex;
            justify-content: center;
            list-style: none;
        }
        
        body.rtl .breadcrumb {
            flex-direction: row-reverse;
        }
        
        .breadcrumb li {
            margin: 0 10px;
            font-size: 1.1rem;
        }
        
        .breadcrumb li a {
            color: var(--secondary-gold);
            text-decoration: none;
            font-weight: 600;
        }
        
        .breadcrumb li:after {
            content: '/';
            margin-left: 20px;
            color: var(--light-gray);
        }
        
        body.rtl .breadcrumb li:after {
            margin-left: 0;
            margin-right: 20px;
        }
        
        .breadcrumb li:last-child:after {
            content: '';
            margin-left: 0;
        }
        
        body.rtl .breadcrumb li:last-child:after {
            margin-right: 0;
        }
        
        /* Training Content */
        .training-content {
            padding: 80px 0;
        }
        
        .training-intro {
            text-align: center;
            max-width: 800px;
            margin: 0 auto 60px;
        }
        
        .training-intro h2 {
            font-size: 2.5rem;
            color: var(--primary-blue);
            margin-bottom: 20px;
            position: relative;
            display: inline-block;
        }
        
        .training-intro h2:after {
            content: '';
            position: absolute;
            width: 100px;
            height: 3px;
            background: var(--gold-gradient);
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
        }
        
        .training-intro p {
            color: var(--gray);
            line-height: 1.8;
            margin-bottom: 20px;
        }
        
        .value-proposition {
            background: var(--light);
            padding: 30px;
            border-radius: 10px;
            margin-top: 30px;
            text-align: left;
            border-left: 5px solid var(--primary-gold);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        }
        
        body.rtl .value-proposition {
            text-align: right;
            border-left: none;
            border-right: 5px solid var(--primary-gold);
        }
        
        .value-proposition h3 {
            color: var(--primary-blue);
            margin-bottom: 15px;
            font-size: 1.5rem;
        }
        
        .value-proposition ul {
            list-style-type: none;
            padding-left: 0;
        }
        
        .value-proposition li {
            margin-bottom: 10px;
            display: flex;
            align-items: center;
        }
        
        body.rtl .value-proposition li {
            flex-direction: row-reverse;
        }
        
        .value-proposition i {
            color: var(--primary-gold);
            margin-right: 10px;
        }
        
        body.rtl .value-proposition i {
            margin-right: 0;
            margin-left: 10px;
        }
        
        .programs-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 40px;
        }
        
        .program-card {
            background: white;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            transition: transform 0.3s;
            position: relative;
        }
        
        .program-card:before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 5px;
            background: var(--gold-gradient);
        }
        
        .program-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
        }
        .program-img-container {
    height: 220px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.program-img-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.program-img-slide.active {
    opacity: 1;
}

.image-counter {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

/* Your existing CSS with fixes for fullscreen gallery */
        
        /* Fullscreen Gallery Styles - FIXED */
        .fullscreen-gallery {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.95);
            z-index: 1003;
            justify-content: center;
            align-items: center;
        }
        
        .fullscreen-gallery.active {
            display: flex;
        }
        
        .gallery-container {
            position: relative;
            width: 90%;
            height: 90%;
            max-width: 1200px;
            max-height: 800px;
        }
        
        .gallery-slide {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-size: contain;
            background-position: center;
            background-repeat: no-repeat;
            opacity: 0;
            transition: opacity 0.5s ease-in-out;
        }
        
        .gallery-slide.active {
            opacity: 1;
        }
        
        .gallery-controls {
            position: absolute;
            top: 50%;
            left: 0;
            right: 0;
            display: flex;
            justify-content: space-between;
            padding: 0 20px;
            transform: translateY(-50%);
            z-index: 2;
        }
        
        .gallery-nav {
            background: rgba(255, 255, 255, 0.2);
            color: white;
            border: none;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            font-size: 1.5rem;
            cursor: pointer;
            transition: all 0.3s;
            backdrop-filter: blur(10px);
        }
        
        .gallery-nav:hover {
            background: rgba(255, 255, 255, 0.3);
            transform: scale(1.1);
        }
        
        .gallery-close {
            position: absolute;
            top: 20px;
            right: 20px;
            background: rgba(255, 255, 255, 0.2);
            color: white;
            border: none;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            font-size: 1.2rem;
            cursor: pointer;
            transition: all 0.3s;
            z-index: 2;
            backdrop-filter: blur(10px);
        }
        
        .gallery-close:hover {
            background: rgba(255, 255, 255, 0.3);
            transform: scale(1.1);
        }
        
        .gallery-counter {
            position: absolute;
            bottom: 20px;
            left: 50%;
            transform: translateX(-50%);
            background: rgba(0, 0, 0, 0.7);
            color: white;
            padding: 10px 20px;
            border-radius: 20px;
            font-weight: 600;
            z-index: 2;
        }
        
        .gallery-thumbnails {
            position: absolute;
            bottom: 80px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            gap: 10px;
            z-index: 2;
        }
        
        .thumbnail {
            width: 60px;
            height: 40px;
            background-size: cover;
            background-position: center;
            border: 2px solid transparent;
            border-radius: 5px;
            cursor: pointer;
            transition: all 0.3s;
            opacity: 0.6;
        }
        
        .thumbnail.active {
            border-color: var(--primary-gold);
            opacity: 1;
            transform: scale(1.1);
        }
        
        .thumbnail:hover {
            opacity: 1;
            transform: scale(1.05);
        }
        
        /* Disclaimer Section - FIXED */
        .disclaimer-section {
            padding: 60px 0;
            background: var(--light);
            transition: background-color 0.3s;
        }
        
        .disclaimer-toggle {
            background: var(--primary-blue);
            color: white;
            border: none;
            padding: 15px 25px;
            border-radius: 5px;
            font-size: 1.1rem;
            font-weight: 600;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: space-between;
            width: 100%;
            transition: background 0.3s;
        }
        
        .disclaimer-toggle:hover {
            background: var(--secondary-blue);
        }
        
        .disclaimer-toggle i {
            transition: transform 0.3s;
        }
        
        .disclaimer-toggle.active i {
            transform: rotate(180deg);
        }
        
        .disclaimer-content {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.5s ease;
            margin-top: 20px;
            background: white;
            padding: 0 25px;
            border-radius: 5px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        }
        
        .disclaimer-content.active {
            max-height: 2000px;
            padding: 25px;
        }
        
        .disclaimer-content h3 {
            color: var(--primary-blue);
            margin: 20px 0 10px;
        }
        
        .disclaimer-content h3:first-child {
            margin-top: 0;
        }
        
        .disclaimer-content p {
            margin-bottom: 15px;
            line-height: 1.6;
        }
  .program-img {
            height: 200px;
            background-size: cover;
            background-position: center;
            position: relative;
            cursor: pointer;
        }
        
        .program-img:after {
            content: '\f06e';
            font-family: 'Font Awesome 5 Free';
            font-weight: 900;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            color: white;
            font-size: 2rem;
            opacity: 0;
            transition: opacity 0.3s;
            text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
        }
        
        .program-img:hover:after {
            opacity: 1;
        }
        
        .program-details {
            padding: 30px;
        }
        
        .course-number {
            position: absolute;
            top: 10px;
            right: 10px;
            background: var(--gold-gradient);
            color: var(--primary-blue);
            padding: 5px 10px;
            border-radius: 5px;
            font-weight: 600;
            font-size: 0.8rem;
        }
        
        body.rtl .course-number {
            right: auto;
            left: 10px;
        }
        
        .program-details h3 {
            color: var(--primary-blue);
            margin-bottom: 15px;
            font-size: 1.5rem;
        }
        
        .program-details p {
            margin-bottom: 20px;
            color: var(--gray);
        }
        
        .program-features {
            margin-bottom: 25px;
        }
        
        .program-features li {
            margin-bottom: 10px;
            display: flex;
            align-items: center;
        }
        
        body.rtl .program-features li {
            flex-direction: row-reverse;
        }
        
        .program-features i {
            color: var(--primary-gold);
            margin-right: 10px;
        }
        
        body.rtl .program-features i {
            margin-right: 0;
            margin-left: 10px;
        }
        
        .program-links {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
        }
        
        .program-link {
            color: var(--primary-blue);
            text-decoration: none;
            font-weight: 600;
            display: inline-flex;
            align-items: center;
            transition: all 0.3s;
            background: var(--light);
            padding: 10px 20px;
            border-radius: 5px;
        }
        
        .program-link i {
            margin-left: 8px;
            transition: transform 0.3s;
        }
        

        
        body.rtl .program-link i {
            margin-left: 0;
            margin-right: 8px;
        }
        
        .program-link:hover {
            color: white;
            background: var(--primary-blue);
        }
        
        .program-link:hover i {
            transform: translateX(5px);
        }
        
        body.rtl .program-link:hover i {
            transform: translateX(-5px);
        }
         /* About Gruis Institute Section */
        .about-gruis {
            padding: 80px 0;
            background: var(--light);
        }
        
        .about-gruis-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
            margin-top: 40px;
        }
        
        .about-card {
            background: white;
            padding: 30px;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            transition: transform 0.3s;
            border-top: 4px solid var(--primary-gold);
        }
        
        .about-card:hover {
            transform: translateY(-5px);
        }
        
        .about-card h3 {
            color: var(--primary-blue);
            margin-bottom: 15px;
            display: flex;
            align-items: center;
        }
        
        .about-card h3 i {
            margin-right: 10px;
            color: var(--primary-gold);
        }
        
        .about-card ul {
            list-style-type: none;
            padding-left: 0;
        }
        
        .about-card li {
            margin-bottom: 10px;
            padding-left: 20px;
            position: relative;
        }
        
        .about-card li:before {
            content: '•';
            color: var(--primary-gold);
            position: absolute;
            left: 0;
        }
        
        /* Training Content */
        .training-content {
            padding: 80px 0;
        }
        
        .training-intro {
            text-align: center;
            max-width: 800px;
            margin: 0 auto 60px;
        }
        
        .training-intro h2 {
            font-size: 2.5rem;
            color: var(--primary-blue);
            margin-bottom: 20px;
            position: relative;
            display: inline-block;
        }
        
        .training-intro h2:after {
            content: '';
            position: absolute;
            width: 100px;
            height: 3px;
            background: var(--gold-gradient);
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
        }
        
        .training-intro p {
            color: var(--gray);
            line-height: 1.8;
            margin-bottom: 20px;
        }
        
        .value-proposition {
            background: var(--light);
            padding: 30px;
            border-radius: 10px;
            margin-top: 30px;
            text-align: left;
            border-left: 5px solid var(--primary-gold);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        }
        
        body.rtl .value-proposition {
            text-align: right;
            border-left: none;
            border-right: 5px solid var(--primary-gold);
        }
        
        .value-proposition h3 {
            color: var(--primary-blue);
            margin-bottom: 15px;
            font-size: 1.5rem;
        }
        
        .value-proposition ul {
            list-style-type: none;
            padding-left: 0;
        }
        
        .value-proposition li {
            margin-bottom: 10px;
            display: flex;
            align-items: center;
        }
        
        body.rtl .value-proposition li {
            flex-direction: row-reverse;
        }
        
        .value-proposition i {
            color: var(--primary-gold);
            margin-right: 10px;
        }
        
        body.rtl .value-proposition i {
            margin-right: 0;
            margin-left: 10px;
        }
        /* Course Application Form */
        .course-application {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.8);
            z-index: 1001;
            justify-content: center;
            align-items: center;
        }
        
        .application-form {
            background: white;
            padding: 30px;
            border-radius: 10px;
            width: 90%;
            max-width: 600px;
            max-height: 90vh;
            overflow-y: auto;
            position: relative;
        }
        
        .close-form {
            position: absolute;
            top: 15px;
            right: 15px;
            background: none;
            border: none;
            font-size: 1.5rem;
            cursor: pointer;
            color: var(--gray);
        }
        
        body.rtl .close-form {
            right: auto;
            left: 15px;
        }
        
        .application-form h3 {
            color: var(--primary-blue);
            margin-bottom: 20px;
            text-align: center;
        }
        
        .form-group {
            margin-bottom: 20px;
        }
        
        .form-group label {
            display: block;
            margin-bottom: 5px;
            font-weight: 600;
            color: var(--primary-blue);
        }
        
        .form-group input, .form-group select, .form-group textarea {
            width: 100%;
            padding: 10px;
            border: 1px solid var(--light-gray);
            border-radius: 5px;
            font-size: 1rem;
        }
        
        .form-group textarea {
            height: 100px;
            resize: vertical;
        }
        
        .submit-btn {
            background: var(--gold-gradient);
            color: var(--primary-blue);
            border: none;
            padding: 12px 30px;
            border-radius: 5px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
            width: 100%;
            font-size: 1rem;
        }
        
        .submit-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        }
        
        /* Fee Structure Download */
        .fee-download {
            background: var(--light);
            padding: 20px;
            border-radius: 10px;
            margin-top: 20px;
            text-align: center;
            border: 2px dashed var(--primary-gold);
        }
        
        .fee-download h4 {
            color: var(--primary-blue);
            margin-bottom: 15px;
        }
        
        .fee-download p {
            margin-bottom: 15px;
            color: var(--gray);
        }
        
        .download-btn {
            background: var(--primary-blue);
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: 5px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
        }
        
        .download-btn:hover {
            background: var(--secondary-blue);
        }
        /* Programs Grid - Enhanced Structure */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.program-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    height: 100%;
    border-top: 4px solid var(--primary-gold);
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.program-img-container {
    height: 220px;
    position: relative;
    overflow: hidden;
}

.program-img-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    cursor: pointer;
}

.program-img-slide.active {
    opacity: 1;
}

.program-details {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.program-details h3 {
    color: var(--secondary-blue);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.program-details p {
    margin-bottom: 20px;
    flex-grow: 1;
}

.program-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.info-item {
    display: flex;
    flex-direction: column;
}

.info-label {
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 5px;
}

.info-value {
    color: var(--gray);
}

.program-learn-more {
    color: var(--primary-gold);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s;
    margin-top: 10px;
    cursor: pointer;
}

.program-learn-more i {
    margin-left: 8px;
    transition: transform 0.3s;
}

.program-learn-more:hover {
    color: var(--dark-gold);
}

.program-learn-more.active i {
    transform: rotate(180deg);
}

.sub-programs {
    margin-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.sub-programs.active {
    max-height: 2000px;
}

.sub-program {
    margin-bottom: 15px;
    padding-left: 15px;
    border-left: 3px solid var(--primary-gold);
}

.sub-program h4 {
    color: var(--secondary-blue);
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.sub-program p {
    font-size: 0.9rem;
    margin-bottom: 10px;
    color: var(--dark);
}

.program-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.program-link {
    color: var(--primary-gold);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s;
    background: var(--light);
    padding: 10px 20px;
    border-radius: 5px;
}

.program-link i {
    margin-left: 8px;
    transition: transform 0.3s;
}

body.rtl .program-link i {
    margin-left: 0;
    margin-right: 8px;
}

.program-link:hover {
    color: white;
    background: var(--primary-blue);
}

.program-link:hover i {
    transform: translateX(5px);
}

body.rtl .program-link:hover i {
    transform: translateX(-5px);
}

/* Remove old program card styles */
.course-number, .program-features {
    display: none;
}

        /* Payment Modal */
        .payment-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.8);
            z-index: 1002;
            justify-content: center;
            align-items: center;
        }
        
        .payment-content {
            background: white;
            padding: 30px;
            border-radius: 10px;
            width: 90%;
            max-width: 500px;
            text-align: center;
            position: relative;
        }
        
        .payment-content h3 {
            color: var(--primary-blue);
            margin-bottom: 20px;
        }
        
        .payment-content p {
            margin-bottom: 20px;
            color: var(--gray);
        }
        
        .paybill-image-container {
            margin: 15px 0;
            display: flex;
            justify-content: center;
        }
        
        .paybill-image {
            max-width: 100%;
            max-height: 200px;
            border: 1px solid var(--light-gray);
            border-radius: 5px;
            cursor: pointer;
            object-fit: contain;
        }
        
        .upload-section {
            margin: 20px 0;
            text-align: left;
        }
        
        body.rtl .upload-section {
            text-align: right;
        }
        
        .upload-section label {
            display: block;
            margin-bottom: 5px;
            font-weight: 600;
            color: var(--primary-blue);
        }
        
        .upload-section input {
            width: 100%;
            padding: 10px;
            border: 1px solid var(--light-gray);
            border-radius: 5px;
            margin-bottom: 10px;
        }
        
        .payment-options {
            display: flex;
            justify-content: space-between;
            margin-top: 20px;
        }
        
        body.rtl .payment-options {
            flex-direction: row-reverse;
        }
        
        .payment-btn {
            padding: 10px 20px;
            border: none;
            border-radius: 5px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
        }
        
        .payment-confirm {
            background: var(--primary-gold);
            color: var(--primary-blue);
        }
        
        .payment-cancel {
            background: var(--light-gray);
            color: var(--dark);
        }
        
        .payment-btn:disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }
        
        .payment-btn:hover:not(:disabled) {
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        }
        
        /* Career Pathways Section */
        .career-pathways {
            background: var(--light);
            padding: 80px 0;
            margin-top: 80px;
        }
        
        .pathways-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 40px;
        }
        
        .pathway-card {
            background: white;
            padding: 30px;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            text-align: center;
            transition: transform 0.3s;
            position: relative;
            overflow: hidden;
        }
        
        .pathway-card:before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 5px;
            background: var(--gold-gradient);
        }
        
        .pathway-card:hover {
            transform: translateY(-10px);
        }
        
        .pathway-card i {
            font-size: 3rem;
            color: var(--primary-gold);
            margin-bottom: 20px;
        }
        
        .pathway-card h3 {
            color: var(--primary-blue);
            margin-bottom: 15px;
        }
        
        /* Enhanced Job Integration Section */
        .job-integration-enhanced {
            padding: 80px 0;
            background: var(--primary-blue);
            color: white;
        }
        
        .integration-enhanced-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 40px;
        }
        
        .integration-enhanced-card {
            background: rgba(255, 255, 255, 0.1);
            padding: 30px;
            border-radius: 10px;
            text-align: center;
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.2);
        }
        
        .integration-enhanced-card i {
            font-size: 3rem;
            color: var(--secondary-gold);
            margin-bottom: 20px;
        }
        
        .integration-enhanced-card h3 {
            margin-bottom: 15px;
            font-size: 1.5rem;
            color: var(--secondary-gold);
        }
        
        /* Skills Section */
        .skills-section {
            padding: 80px 0;
            background: var(--light);
        }
        
        .skills-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 30px;
        }
        
        .skill-card {
            background: white;
            padding: 25px;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            text-align: center;
            transition: transform 0.3s;
            border-top: 4px solid var(--primary-gold);
        }
        
        .skill-card:hover {
            transform: translateY(-5px);
        }
        
        .skill-card i {
            font-size: 2.5rem;
            color: var(--primary-blue);
            margin-bottom: 15px;
        }
        
        .skill-card h3 {
            color: var(--primary-blue);
            margin-bottom: 10px;
        }
        
        /* Abroad Opportunities Section */
        .abroad-opportunities {
            padding: 80px 0;
            background: var(--gold-gradient);
            color: var(--primary-blue);
        }
        
        .opportunities-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 40px;
        }
        
        .opportunity-card {
            background: rgba(255, 255, 255, 0.2);
            padding: 30px;
            border-radius: 10px;
            text-align: center;
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.3);
        }
        
        .opportunity-card i {
            font-size: 3rem;
            color: var(--primary-blue);
            margin-bottom: 20px;
        }
        
        .opportunity-card h3 {
            margin-bottom: 15px;
            font-size: 1.5rem;
        }
        /* Enhanced RTL Support */
body.rtl .program-info {
    text-align: right;
}

body.rtl .info-item {
    text-align: right;
}

body.rtl .training-mode {
    text-align: right;
    direction: rtl;
}

body.rtl .sub-program {
    padding-left: 0;
    padding-right: 15px;
    border-left: none;
    border-right: 3px solid var(--primary-gold);
}

body.rtl .program-learn-more i {
    margin-left: 0;
    margin-right: 8px;
    transition: transform 0.3s;
}

body.rtl .program-learn-more.active i {
    transform: rotate(180deg);
}
        /* Trusted Clients Section */
        .trusted-clients {
            padding: 60px 0;
            background: white;
        }
        
        .trusted-clients h2 {
            text-align: center;
            color: var(--primary-blue);
            margin-bottom: 40px;
            position: relative;
        }
        
        .trusted-clients h2:after {
            content: '';
            position: absolute;
            width: 100px;
            height: 3px;
            background: var(--gold-gradient);
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
        }
        
        .clients-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 30px;
        }
        
        .client-logo {
            background: var(--light);
            padding: 20px;
            border-radius: 10px;
            text-align: center;
            transition: transform 0.3s;
            cursor: pointer;
            height: 150px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .client-logo img {
            max-width: 100%;
            max-height: 100%;
            filter: grayscale(100%);
            transition: filter 0.3s;
        }
        
        .client-logo:hover {
            transform: translateY(-5px);
        }
        
        .client-logo:hover img {
            filter: grayscale(0%);
        }
        
        /* Job Integration Section */
        .job-integration {
            padding: 80px 0;
            background: var(--gold-gradient);
            color: var(--primary-blue);
        }
        
        .integration-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 40px;
        }
        
        .integration-card {
            background: rgba(255, 255, 255, 0.2);
            padding: 30px;
            border-radius: 10px;
            text-align: center;
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.3);
        }
        
        .integration-card i {
            font-size: 3rem;
            color: var(--primary-blue);
            margin-bottom: 20px;
        }
        
        .integration-card h3 {
            margin-bottom: 15px;
            font-size: 1.5rem;
        }
        
        /* Video Section */
.video-section {
    padding: 80px 0;
    background: var(--light);
}

.video-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.video-preview {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

.video-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.video-preview:hover .video-thumbnail {
    transform: scale(1.05);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(162, 124, 12, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.play-button:hover {
    background: var(--primary-gold);
    transform: translate(-50%, -50%) scale(1.1);
}

.video-player {
    display: none;
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
}

.video-player.active {
    display: block;
}

.video-preview.active {
    display: none;
}

.video-player iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.close-video {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s;
}

.close-video:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: scale(1.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .play-button {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}
         
        /* CTA Section */
        .cta {
            background: var(--gold-gradient);
            color: var(--primary-blue);
            padding: 80px 0;
            text-align: center;
            position: relative;
        }
        
        .cta:before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url('https://images.unsplash.com/photo-1557804506-669a67965ba0?ixlib=rb-4.0.3&auto=format&fit=crop&w=1350&q=80');
            background-size: cover;
            background-position: center;
            opacity: 0.1;
        }
        
        .cta .container {
            position: relative;
            z-index: 1;
        }
        
        .cta h2 {
            font-size: 2.5rem;
            margin-bottom: 20px;
        }
        
        .cta p {
            max-width: 700px;
            margin: 0 auto 40px;
            color: var(--primary-blue);
        }
        
        .btn {
            display: inline-block;
            background: var(--primary-blue);
            color: var(--secondary-gold);
            padding: 15px 35px;
            border-radius: 5px;
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s;
            text-transform: uppercase;
            letter-spacing: 1px;
            font-size: 14px;
            margin: 0 10px;
        }
        
        .btn:hover {
            background: var(--secondary-blue);
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        }
        
        .btn-light {
            background: transparent;
            border: 2px solid var(--primary-blue);
            color: var(--primary-blue);
        }
        
        .btn-light:hover {
            background: var(--primary-blue);
            color: var(--secondary-gold);
        }
        
        /* Footer */
        footer {
            background: var(--primary-blue);
            color: white;
            padding: 80px 0 30px;
        }
        
        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 50px;
            margin-bottom: 50px;
        }
        
        .footer-column h3 {
            font-size: 1.5rem;
            margin-bottom: 25px;
            color: var(--secondary-gold);
            position: relative;
            padding-bottom: 15px;
        }
        
        .footer-column h3:after {
            content: '';
            position: absolute;
            width: 40px;
            height: 2px;
            background: var(--secondary-gold);
            bottom: 0;
            left: 0;
        }
        
        body.rtl .footer-column h3:after {
            left: auto;
            right: 0;
        }
        
        .footer-column p, .footer-column li {
            margin-bottom: 15px;
            color: var(--light-gray);
        }
        
        .footer-column ul {
            list-style: none;
        }
        
        .footer-column a {
            color: var(--light-gray);
            text-decoration: none;
            transition: color 0.3s;
        }
        
        .footer-column a:hover {
            color: var(--secondary-gold);
        }
        
        .social-icons {
            display: flex;
            gap: 15px;
            margin-top: 25px;
        }
        
        body.rtl .social-icons {
            flex-direction: row-reverse;
        }
        
        .social-icons a {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            background: var(--secondary-blue);
            border-radius: 50%;
            text-align: center;
            line-height: 40px;
            transition: all 0.3s;
        }
        
        .social-icons a:hover {
            background: var(--secondary-gold);
            transform: translateY(-5px);
        }
        
        .copyright {
            text-align: center;
            padding-top: 30px;
            border-top: 1px solid var(--secondary-blue);
            color: var(--light-gray);
            font-size: 0.9rem;
        }
        /* Program Information Modal */
.program-info-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1002;
    justify-content: center;
    align-items: center;
}

.program-info-content {
    background: white;
    padding: 30px;
    border-radius: 10px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.close-program-info {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--gray);
}

.program-info-content h3 {
    color: var(--primary-blue);
    margin-bottom: 20px;
    text-align: center;
}

.program-info-section {
    margin-bottom: 25px;
}

.program-info-section h4 {
    color: var(--primary-blue);
    margin-bottom: 10px;
    border-bottom: 2px solid var(--primary-gold);
    padding-bottom: 5px;
}

/* Course Details Modal */
.course-details-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1002;
    justify-content: center;
    align-items: center;
}

.course-details-content {
    background: white;
    padding: 30px;
    border-radius: 10px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.close-course-details {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--gray);
}

.course-details-content h3 {
    color: var(--primary-blue);
    margin-bottom: 20px;
    text-align: center;
}

.course-details-section {
    margin-bottom: 25px;
}

.course-details-section h4 {
    color: var(--primary-blue);
    margin-bottom: 10px;
    border-bottom: 2px solid var(--primary-gold);
    padding-bottom: 5px;
}
        /* Responsive Design */
        @media (max-width: 768px) {
            .language-toggle {
                top: 10px;
                right: 10px;
                padding: 8px 12px;
                font-size: 0.9rem;
            }
            
            .header-content {
                flex-direction: column;
                text-align: center;
            }
            
            .logo-container {
                margin-bottom: 20px;
            }
            
            nav ul {
                flex-wrap: wrap;
                justify-content: center;
            }
            
            nav ul li {
                margin: 5px 10px;
            }
            
            .page-header {
                height: 60vh;
                min-height: 400px;
                padding: 80px 20px;
            }
            
            .page-header h1 {
                font-size: 2.5rem;
            }
            
            .training-intro h2 {
                font-size: 2rem;
            }
            
            .programs-grid {
                grid-template-columns: 1fr;
            }
            
            .pathways-content {
                grid-template-columns: 1fr;
            }
            
            .clients-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            
            .integration-content {
                grid-template-columns: 1fr;
            }
            
            .btn {
                display: block;
                margin: 10px auto;
                width: 80%;
            }
            
            .payment-options {
                flex-direction: column;
                gap: 10px;
            }
            
            .program-links {
                flex-direction: column;
            }
        }
        
        @media (max-width: 480px) {
            .page-header {
                height: 50vh;
                min-height: 350px;
                padding: 60px 20px;
            }
            
            .page-header h1 {
                font-size: 2rem;
            }
            
            .page-header p {
                font-size: 1rem;
            }
            
            .training-intro h2 {
                font-size: 1.8rem;
            }
            
            .program-card {
                margin: 0 10px;
            }
            
            .program-details {
                padding: 20px;
            }
            
            .clients-grid {
                grid-template-columns: 1fr;
            }
        }
      

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    color: var(--dark);
    line-height: 1.6;
    background-color: var(--bg-color);
    scroll-behavior: smooth;
    transition: all 0.3s;
}

body.rtl {
    direction: rtl;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Theme Toggle */
.theme-toggle {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1001;
    background: var(--gold-gradient);
    color: var(--primary-blue);
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s;
}

.theme-toggle:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Language Toggle */
.language-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1001;
    background: var(--gold-gradient);
    color: var(--primary-blue);
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s;
}

.language-toggle:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Header Styles with Golden Fire Effect */
header {
    background: var(--gold-gradient);
    color: var(--primary-blue);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(212, 175, 55, 0.3);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    text-decoration: none;
    position: relative;
}

.logo-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    padding: 10px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.2);
}

.logo-fire {
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: radial-gradient(circle, var(--secondary-gold) 0%, transparent 70%);
    border-radius: 15px;
    opacity: 0.7;
    animation: fireGlow 3s infinite alternate;
    z-index: -1;
}

@keyframes fireGlow {
    0% { opacity: 0.5; }
    100% { opacity: 0.8; }
}

.logo-img {
    height: 70px;
    width: auto;
    border: 2px solid var(--primary-blue);
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(26, 58, 74, 0.5);
    transform: perspective(500px) rotateY(-5deg);
    transition: all 0.3s ease;
}

.logo-img:hover {
    transform: perspective(500px) rotateY(0deg);
    box-shadow: 0 0 25px rgba(26, 58, 74, 0.8);
}

.logo-text {
    margin-left: 15px;
    text-align: left;
}

body.rtl .logo-text {
    margin-left: 0;
    margin-right: 15px;
    text-align: right;
}

.logo-text h1 {
    font-size: 1.8rem;
    margin-bottom: 5px;
    background: linear-gradient(to right, var(--primary-blue), var(--secondary-blue));
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 5pxpx rgba(26, 58, 74, 0.3);
    font-weight: 700;
    letter-spacing: 1px;
}

.logo-text p {
    font-size: 0.9rem;
    color: var(--primary-blue);
    font-style: italic;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--primary-blue);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
}

nav ul {
    display: flex;
    list-style: none;
}

body.rtl nav ul {
    flex-direction: row-reverse;
}

nav ul li {
    margin-left: 25px;
    position: relative;
}

body.rtl nav ul li {
    margin-left: 0;
    margin-right: 25px;
}

nav ul li a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
    padding: 5px 0;
    font-size: 16px;
}

nav ul li a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-blue);
    transition: width 0.3s;
}

body.rtl nav ul li a:after {
    left: auto;
    right: 0;
}

nav ul li a:hover {
    color: var(--primary-blue);
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.7);
}

nav ul li a:hover:after {
    width: 100%;
}

nav ul li a.active {
    color: var(--primary-blue);
    font-weight: 600;
}

nav ul li a.active:after {
    width: 100%;
}

/* Trusted Partners Section */
.trusted-partners {
    padding: 100px 0;
    background: var(--card-bg);
    transition: background-color 0.3s;
}

.partners-description {
    max-width: 800px;
    margin: 0 auto 50px;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.7;
}

.partners-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.partner-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s;
}

.partner-image:hover {
    transform: scale(1.05);
}

/* Partner Details Section */
.partner-details-section {
    padding: 60px 0;
    background: golden;
    transition: background-color 0.3s;
}

.partner-details-toggle {
    background: var(--primary);
    color: black;
    border: none;
    padding: 15px 25px;
    border-radius: 5px;
    font-size: 2.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    transition: background 0.3s;
}

.partner-details-toggle:hover {
    background: var(--secondary);
}

.partner-details-toggle i {
    transition: transform 0.3s;
}

.partner-details-toggle.active i {
    transform: rotate(180deg);
}

.partner-details-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    margin-top: 20px;
    background: var(--card-bg);
    padding: 0 25px;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.partner-details-content.active {
    max-height: 2000px;
    padding: 25px;
}

.partner-details-content h3 {
    color: var(--secondary);
    margin: 20px 0 10px;
}

.partner-details-content h3:first-child {
    margin-top: 0;
}

.partner-details-content p {
    margin-bottom: 15px;
    line-height: 1.6;
}

/* Section Title Styles */
.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.8rem;
    color: var(--secondary);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2:after {
    content: '';
    position: absolute;
    width: 80px;
    height: 3px;
    background: var(--accent);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

.section-title p {
    color: var(--dark);
    max-width: 700px;
    margin: 30px auto 0;
    font-size: 1.1rem;
}

/* Country Selector */
.country-selector {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--gold-gradient);
    color: var(--primary-blue);
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    max-width: 300px;
    display: none;
}

body.rtl .country-selector {
    right: auto;
    left: 20px;
}

.country-selector h3 {
    margin-bottom: 10px;
    color: var(--primary-blue);
}

.country-selector select {
    width: 100%;
    padding: 8px;
    border-radius: 5px;
    border: 1px solid var(--primary-blue);
    margin-bottom: 10px;
    background: white;
    color: var(--primary-blue);
}

.country-selector button {
    background: var(--primary-blue);
    color: var(--secondary-gold);
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
}

/* Page Header with Slideshow */
.page-header {
    position: relative;
    color: white;
    text-align: center;
    padding: 100px 20px;
    overflow: hidden;
    height: 70vh;
    min-height: 500px;
}

.slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    transform: scale(1.1);
    animation: zoom 15s infinite;
    cursor: pointer;
}

.slide.active {
    opacity: 1;
}

@keyframes zoom {
    0% { transform: scale(1.1); }
    100% { transform: scale(1.2); }
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 58, 74, 0.7);
    z-index: -1;
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-header p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 30px;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    list-style: none;
}

body.rtl .breadcrumb {
    flex-direction: row-reverse;
}

.breadcrumb li {
    margin: 0 10px;
    font-size: 1.1rem;
}

.breadcrumb li a {
    color: var(--secondary-gold);
    text-decoration: none;
    font-weight: 600;
}

.breadcrumb li:after {
    content: '/';
    margin-left: 20px;
    color: var(--light-gray);
}

body.rtl .breadcrumb li:after {
    margin-left: 0;
    margin-right: 20px;
}

.breadcrumb li:last-child:after {
    content: '';
    margin-left: 0;
}

body.rtl .breadcrumb li:last-child:after {
    margin-right: 0;
}

/* Training Content */
.training-content {
    padding: 80px 0;
}

.training-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.training-intro h2 {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.training-intro h2:after {
    content: '';
    position: absolute;
    width: 100px;
    height: 3px;
    background: var(--gold-gradient);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.training-intro p {
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 20px;
}

.value-proposition {
    background: var(--light);
    padding: 30px;
    border-radius: 10px;
    margin-top: 30px;
    text-align: left;
    border-left: 5px solid var(--primary-gold);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

body.rtl .value-proposition {
    text-align: right;
    border-left: none;
    border-right: 5px solid var(--primary-gold);
}

.value-proposition h3 {
    color: var(--primary-blue);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.value-proposition ul {
    list-style-type: none;
    padding-left: 0;
}

.value-proposition li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

body.rtl .value-proposition li {
    flex-direction: row-reverse;
}

.value-proposition i {
    color: var(--primary-gold);
    margin-right: 10px;
}

body.rtl .value-proposition i {
    margin-right: 0;
    margin-left: 10px;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.program-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
    position: relative;
}

.program-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gold-gradient);
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.program-img-container {
    height: 220px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.program-img-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.program-img-slide.active {
    opacity: 1;
}

.image-counter {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

/* Fullscreen Gallery Styles */
.fullscreen-gallery {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 1003;
    justify-content: center;
    align-items: center;
}

.fullscreen-gallery.active {
    display: flex;
}

.gallery-container {
    position: relative;
    width: 90%;
    height: 90%;
    max-width: 1200px;
    max-height: 800px;
}

.gallery-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.gallery-slide.active {
    opacity: 1;
}

.gallery-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    transform: translateY(-50%);
    z-index: 2;
}

.gallery-nav {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
}

.gallery-nav:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.gallery-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 2;
    backdrop-filter: blur(10px);
}

.gallery-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.gallery-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: 600;
    z-index: 2;
}

.gallery-thumbnails {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 2;
}

.thumbnail {
    width: 60px;
    height: 40px;
    background-size: cover;
    background-position: center;
    border: 2px solid transparent;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
    opacity: 0.6;
}

.thumbnail.active {
    border-color: var(--primary-gold);
    opacity: 1;
    transform: scale(1.1);
}

.thumbnail:hover {
    opacity: 1;
    transform: scale(1.05);
}

/* Disclaimer Section */
.disclaimer-section {
    padding: 60px 0;
    background: var(--light);
    transition: background-color 0.3s;
}

.disclaimer-toggle {
    background: var(--primary-blue);
    color: white;
    border: none;
    padding: 15px 25px;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    transition: background 0.3s;
}

.disclaimer-toggle:hover {
    background: var(--secondary-blue);
}

.disclaimer-toggle i {
    transition: transform 0.3s;
}

.disclaimer-toggle.active i {
    transform: rotate(180deg);
}

.disclaimer-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    margin-top: 20px;
    background: white;
    padding: 0 25px;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.disclaimer-content.active {
    max-height: 2000px;
    padding: 25px;
}

.disclaimer-content h3 {
    color: var(--primary-blue);
    margin: 20px 0 10px;
}

.disclaimer-content h3:first-child {
    margin-top: 0;
}

.disclaimer-content p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.program-img {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
    cursor: pointer;
}

.program-img:after {
    content: '\f06e';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 2rem;
    opacity: 0;
    transition: opacity 0.3s;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.program-img:hover:after {
    opacity: 1;
}

.program-details {
    padding: 30px;
}

.course-number {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--gold-gradient);
    color: var(--primary-blue);
    padding: 5px 10px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 0.8rem;
}

body.rtl .course-number {
    right: auto;
    left: 10px;
}

.program-details h3 {
    color: var(--primary-blue);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.program-details p {
    margin-bottom: 20px;
    color: var(--gray);
}

.program-features {
    margin-bottom: 25px;
}

.program-features li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

body.rtl .program-features li {
    flex-direction: row-reverse;
}

.program-features i {
    color: var(--primary-gold);
    margin-right: 10px;
}

body.rtl .program-features i {
    margin-right: 0;
    margin-left: 10px;
}

.program-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.program-link {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s;
    background: var(--light);
    padding: 10px 20px;
    border-radius: 5px;
}

.program-link i {
    margin-left: 8px;
    transition: transform 0.3s;
}

body.rtl .program-link i {
    margin-left: 0;
    margin-right: 8px;
}

.program-link:hover {
    color: white;
    background: var(--primary-blue);
}

.program-link:hover i {
    transform: translateX(5px);
}

body.rtl .program-link:hover i {
    transform: translateX(-5px);
}

/* About Gruis Institute Section */
.about-gruis {
    padding: 80px 0;
    background: var(--light);
}

.about-gruis-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.about-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
    border-top: 4px solid var(--primary-gold);
}

.about-card:hover {
    transform: translateY(-5px);
}

.about-card h3 {
    color: var(--primary-blue);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.about-card h3 i {
    margin-right: 10px;
    color: var(--primary-gold);
}

.about-card ul {
    list-style-type: none;
    padding-left: 0;
}

.about-card li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.about-card li:before {
    content: '•';
    color: var(--primary-gold);
    position: absolute;
    left: 0;
}

/* Training Content */
.training-content {
    padding: 80px 0;
}

.training-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.training-intro h2 {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.training-intro h2:after {
    content: '';
    position: absolute;
    width: 100px;
    height: 3px;
    background: var(--gold-gradient);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.training-intro p {
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 20px;
}

.value-proposition {
    background: var(--light);
    padding: 30px;
    border-radius: 10px;
    margin-top: 30px;
    text-align: left;
    border-left: 5px solid var(--primary-gold);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

body.rtl .value-proposition {
    text-align: right;
    border-left: none;
    border-right: 5px solid var(--primary-gold);
}

.value-proposition h3 {
    color: var(--primary-blue);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.value-proposition ul {
    list-style-type: none;
    padding-left: 0;
}

.value-proposition li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

body.rtl .value-proposition li {
    flex-direction: row-reverse;
}

.value-proposition i {
    color: var(--primary-gold);
    margin-right: 10px;
}

body.rtl .value-proposition i {
    margin-right: 0;
    margin-left: 10px;
}

/* Course Application Form */
.course-application {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1001;
    justify-content: center;
    align-items: center;
}

.application-form {
    background: white;
    padding: 30px;
    border-radius: 10px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.close-form {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--gray);
}

body.rtl .close-form {
    right: auto;
    left: 15px;
}

.application-form h3 {
    color: var(--primary-blue);
    margin-bottom: 20px;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: var(--primary-blue);
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--light-gray);
    border-radius: 5px;
    font-size: 1rem;
}

.form-group textarea {
    height: 100px;
    resize: vertical;
}

.submit-btn {
    background: var(--gold-gradient);
    color: var(--primary-blue);
    border: none;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
    font-size: 1rem;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Fee Structure Download */
.fee-download {
    background: var(--light);
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
    text-align: center;
    border: 2px dashed var(--primary-gold);
}

.fee-download h4 {
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.fee-download p {
    margin-bottom: 15px;
    color: var(--gray);
}

.download-btn {
    background: var(--primary-blue);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.download-btn:hover {
    background: var(--secondary-blue);
}

/* Programs Grid - Enhanced Structure */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.program-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    height: 100%;
    border-top: 4px solid var(--primary-gold);
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.program-img-container {
    height: 220px;
    position: relative;
    overflow: hidden;
}

.program-img-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    cursor: pointer;
}

.program-img-slide.active {
    opacity: 1;
}

.program-details {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.program-details h3 {
    color: var(--secondary-blue);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.program-details p {
    margin-bottom: 20px;
    flex-grow: 1;
}

.program-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.info-item {
    display: flex;
    flex-direction: column;
}

.info-label {
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 5px;
}

.info-value {
    color: var(--gray);
}

.program-learn-more {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.learn-more-btn {
    background: var(--primary-blue);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.learn-more-btn:hover {
    background: var(--secondary-blue);
}

/* Program Information Dropdown */
.program-info-dropdown {
    margin-top: 20px;
    border: 1px solid var(--light-gray);
    border-radius: 5px;
    overflow: hidden;
}

.info-toggle {
    background: var(--light);
    color: var(--primary-blue);
    border: none;
    padding: 15px 20px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    transition: background 0.3s;
}

.info-toggle:hover {
    background: var(--light-gray);
}

.info-toggle i {
    transition: transform 0.3s;
}

.info-toggle.active i {
    transform: rotate(180deg);
}

.info-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    background: white;
}

.info-content.active {
    max-height: 2000px;
}

.info-section {
    padding: 20px;
    border-bottom: 1px solid var(--light-gray);
}

.info-section:last-child {
    border-bottom: none;
}

.info-section h4 {
    color: var(--primary-blue);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.info-section h4 i {
    margin-right: 10px;
    color: var(--primary-gold);
}

.info-section p, .info-section ul {
    margin-bottom: 15px;
}

.info-section ul {
    padding-left: 20px;
}

.info-section li {
    margin-bottom: 8px;
}

/* Course Details Dropdown */
.course-details-dropdown {
    margin-top: 20px;
    border: 1px solid var(--light-gray);
    border-radius: 5px;
    overflow: hidden;
}

.details-toggle {
    background: var(--light);
    color: var(--primary-blue);
    border: none;
    padding: 15px 20px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    transition: background 0.3s;
}

.details-toggle:hover {
    background: var(--light-gray);
}

.details-toggle i {
    transition: transform 0.3s;
}

.details-toggle.active i {
    transform: rotate(180deg);
}

.details-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    background: white;
}

.details-content.active {
    max-height: 2000px;
}

.details-section {
    padding: 20px;
    border-bottom: 1px solid var(--light-gray);
}

.details-section:last-child {
    border-bottom: none;
}

.details-section h4 {
    color: var(--primary-blue);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.details-section h4 i {
    margin-right: 10px;
    color: var(--primary-gold);
}

.details-section p, .details-section ul {
    margin-bottom: 15px;
}

.details-section ul {
    padding-left: 20px;
}

.details-section li {
    margin-bottom: 8px;
}

/* Footer */
footer {
    background: var(--primary-blue);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    color: var(--secondary-gold);
    margin-bottom: 20px;
    font-size: 1.3rem;
    position: relative;
    display: inline-block;
}

.footer-column h3:after {
    content: '';
    position: absolute;
    width: 40px;
    height: 2px;
    background: var(--secondary-gold);
    bottom: -8px;
    left: 0;
}

body.rtl .footer-column h3:after {
    left: auto;
    right: 0;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
    display: flex;
    align-items: center;
}

body.rtl .footer-column ul li a {
    flex-direction: row-reverse;
}

.footer-column ul li a i {
    margin-right: 10px;
    color: var(--secondary-gold);
}

body.rtl .footer-column ul li a i {
    margin-right: 0;
    margin-left: 10px;
}

.footer-column ul li a:hover {
    color: var(--secondary-gold);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    margin-bottom: 10px;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .header-content {
        flex-direction: column;
        text-align: center;
    }
    
    .logo-container {
        margin-bottom: 20px;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav ul li {
        margin: 5px 10px;
    }
    
    .page-header h1 {
        font-size: 2.8rem;
    }
    
    .programs-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
    }
    
    body.rtl .mobile-menu-btn {
        right: auto;
        left: 20px;
    }
    
    nav ul {
        display: none;
        flex-direction: column;
        width: 100%;
        background: var(--gold-gradient);
        position: absolute;
        top: 100%;
        left: 0;
        padding: 20px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }
    
    nav ul.active {
        display: flex;
    }
    
    nav ul li {
        margin: 10px 0;
        width: 100%;
        text-align: center;
    }
    
    .page-header h1 {
        font-size: 2.2rem;
    }
    
    .section-title h2 {
        font-size: 2.2rem;
    }
    
    .programs-grid {
        grid-template-columns: 1fr;
    }
    
    .program-info {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .theme-toggle, .language-toggle {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        margin: 10px;
    }
}

@media (max-width: 576px) {
    .page-header {
        padding: 80px 20px;
        height: 60vh;
        min-height: 400px;
    }
    
    .page-header h1 {
        font-size: 1.8rem;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .training-intro h2 {
        font-size: 1.8rem;
    }
    
    .program-details {
        padding: 20px;
    }
    
    .program-learn-more {
        flex-direction: column;
        gap: 10px;
    }
    
    .learn-more-btn {
        width: 100%;
    }
    
    .gallery-container {
        width: 95%;
        height: 95%;
    }
    
    .gallery-nav {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .gallery-close {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .thumbnail {
        width: 40px;
        height: 30px;
    }
}

/* Animation for dropdowns */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.info-content.active, .details-content.active, .partner-details-content.active, .disclaimer-content.active {
    animation: slideDown 0.3s ease;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-gold);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--dark-gold);
}
