/* ===================================
   IADAI - International Academy for Digital & AI
   Modern Glassmorphism Design
   Colors: Royal Purple (#6A1B9A) & Cyan Blue (#00ACC1)
   =================================== */

:root {
    /* Updated colors based on Dr. Mohamed's images */
    --primary-purple: #673AB7;
    --primary-cyan: #00ACC1;
    --dark-purple: #4A148C;
    --light-purple: #9C27B0;
    --dark-cyan: #0097A7;
    --light-cyan: #90CAF9;
    --gold: #FFD700;
    --dark-gold: #DAA520;
    --bg-light: #F5F5F5;
    --bg-dark: #1E3A5F;
    --text-dark: #2C3E50;
    --text-light: #FFFFFF;
    --glass-bg: rgba(255, 255, 255, 0.15);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow: 0 8px 32px 0 rgba(103, 58, 183, 0.2);
    --shadow-hover: 0 12px 48px 0 rgba(103, 58, 183, 0.35);
    
    /* Enhanced color harmony from images */
    --gradient-primary: linear-gradient(135deg, #1E3A5F 0%, #673AB7 50%, #00ACC1 100%);
    --gradient-secondary: linear-gradient(135deg, var(--primary-purple), var(--primary-cyan));
    --gradient-accent: linear-gradient(90deg, var(--primary-cyan), var(--gold));
    --gradient-gold: linear-gradient(135deg, #FFD700, #DAA520);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Tajawal', 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--gradient-primary);
    background-attachment: fixed;
    overflow-x: hidden;
    min-height: 100vh;
}

body[dir="ltr"] {
    font-family: 'Montserrat', 'Tajawal', sans-serif;
}

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

/* ===================================
   GLASS CARD EFFECT
   =================================== */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    background: rgba(255, 255, 255, 0.2);
}

/* ===================================
   LANGUAGE TOGGLE
   =================================== */
.language-toggle {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 10000;
}

[dir="rtl"] .language-toggle {
    left: auto;
    right: 20px;
}

.lang-btn {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    color: var(--text-light);
    padding: 10px 20px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.05);
}

.lang-btn i {
    font-size: 18px;
}

/* ===================================
   SOCIAL MEDIA FLOATING BAR
   =================================== */
.social-floating-bar {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50px;
    padding: 15px 10px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    animation: slideInRight 0.6s ease;
}

[dir="rtl"] .social-floating-bar {
    right: auto;
    left: 20px;
}

@keyframes slideInRight {
    from {
        transform: translateY(-50%) translateX(100px);
        opacity: 0;
    }
    to {
        transform: translateY(-50%) translateX(0);
        opacity: 1;
    }
}

[dir="rtl"] @keyframes slideInRight {
    from {
        transform: translateY(-50%) translateX(-100px);
        opacity: 0;
    }
    to {
        transform: translateY(-50%) translateX(0);
        opacity: 1;
    }
}

.social-float-item {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: var(--text-light);
    font-size: 18px;
    text-decoration: none;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    cursor: pointer;
}

.social-float-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color);
    transform: scale(0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 50%;
    z-index: -1;
}

.social-float-item:hover::before {
    transform: scale(1);
}

.social-float-item:hover {
    color: white;
    border-color: var(--color);
    transform: scale(1.15);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.social-float-item i {
    position: relative;
    z-index: 1;
}

/* Tooltip */
.social-float-item::after {
    content: attr(data-tooltip);
    position: absolute;
    right: calc(100% + 15px);
    top: 50%;
    transform: translateY(-50%) translateX(10px);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    font-family: 'Tajawal', 'Montserrat', sans-serif;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

[dir="rtl"] .social-float-item::after {
    right: auto;
    left: calc(100% + 15px);
    transform: translateY(-50%) translateX(-10px);
}

.social-float-item:hover::after {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

/* Pulse animation for Linktree */
.social-float-item:first-child {
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(57, 224, 155, 0.7);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(57, 224, 155, 0);
    }
}

/* ===================================
   NAVIGATION
   =================================== */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(26, 26, 46, 0.85);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding: 15px 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.navbar.scrolled {
    background: rgba(26, 26, 46, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.logo-container {
    flex-shrink: 0;
}

.logo {
    height: 60px;
    width: auto;
    transition: transform 0.3s ease;
}

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

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
    flex-wrap: wrap;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    position: relative;
    padding: 8px 0;
    transition: all 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-cyan), var(--primary-purple));
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-dashboard {
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-cyan));
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 600;
}

.nav-dashboard::after {
    display: none;
}

.nav-dashboard:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(106, 27, 154, 0.4);
}

.nav-toggle {
    display: none;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-light);
    padding: 10px 15px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 20px;
}

/* ===================================
   HERO SECTION
   =================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 0 60px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-animation {
    position: absolute;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    background: radial-gradient(circle, var(--primary-cyan) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s infinite ease-in-out;
}

.particle:nth-child(1) {
    width: 300px;
    height: 300px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    width: 200px;
    height: 200px;
    top: 60%;
    right: 15%;
    animation-delay: 3s;
    background: radial-gradient(circle, var(--primary-purple) 0%, transparent 70%);
}

.particle:nth-child(3) {
    width: 250px;
    height: 250px;
    bottom: 10%;
    left: 50%;
    animation-delay: 6s;
}

.particle:nth-child(4) {
    width: 150px;
    height: 150px;
    top: 30%;
    right: 30%;
    animation-delay: 9s;
    background: radial-gradient(circle, var(--light-purple) 0%, transparent 70%);
}

.particle:nth-child(5) {
    width: 180px;
    height: 180px;
    bottom: 30%;
    left: 20%;
    animation-delay: 12s;
    background: radial-gradient(circle, var(--light-cyan) 0%, transparent 70%);
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.3;
    }
    33% {
        transform: translate(50px, -50px) scale(1.1);
        opacity: 0.5;
    }
    66% {
        transform: translate(-30px, 30px) scale(0.9);
        opacity: 0.4;
    }
}

.hero-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    padding: 50px;
}

.hero-title {
    font-size: 48px;
    font-weight: 900;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.2;
    background: linear-gradient(135deg, #ffffff 0%, var(--light-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-number {
    font-size: 36px;
    font-weight: 900;
    color: var(--primary-cyan);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* AI Interface Visual & Chairman Hero Card */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Chairman Hero Card - Dr. Mohamed */
.chairman-hero-card {
    max-width: 500px;
    width: 100%;
    padding: 30px;
    text-align: center;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 215, 0, 0.3);
    box-shadow: 0 8px 32px rgba(103, 58, 183, 0.3),
                0 0 60px rgba(255, 215, 0, 0.15);
    transition: all 0.4s ease;
}

.chairman-hero-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 215, 0, 0.6);
    box-shadow: 0 15px 50px rgba(103, 58, 183, 0.5),
                0 0 80px rgba(255, 215, 0, 0.3);
}

.chairman-hero-image-wrapper {
    position: relative;
    width: 280px;
    height: 280px;
    margin: 0 auto 25px;
}

.chairman-hero-glow {
    position: absolute;
    inset: -20px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.3), transparent 70%);
    border-radius: 50%;
    animation: glow-pulse 3s ease-in-out infinite;
    z-index: 0;
}

@keyframes glow-pulse {
    0%, 100% { opacity: 0.5; transform: scale(0.95); }
    50% { opacity: 1; transform: scale(1.05); }
}

.chairman-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
    transition: all 0.4s ease;
}

.chairman-hero-card:hover .chairman-hero-image {
    border-color: rgba(255, 215, 0, 0.8);
    transform: scale(1.05);
}

.chairman-hero-badge {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #FFD700, #DAA520);
    color: #1E3A5F;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
    z-index: 2;
    white-space: nowrap;
}

.chairman-hero-badge i {
    font-size: 14px;
}

.chairman-hero-quote {
    position: relative;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.chairman-hero-quote i {
    font-size: 24px;
    color: var(--gold);
    margin-bottom: 10px;
    opacity: 0.6;
}

.chairman-hero-quote p {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-light);
    margin: 10px 0 15px;
    line-height: 1.5;
    font-style: italic;
}

.quote-author {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.quote-author strong {
    color: var(--gold);
    font-size: 16px;
    font-weight: 700;
}

.quote-author span {
    color: var(--light-cyan);
    font-size: 13px;
    font-weight: 500;
}

.ai-interface {
    width: 100%;
    max-width: 500px;
    padding: 30px;
    position: relative;
}

.interface-header {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.interface-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.interface-content {
    padding: 30px 0;
}

.code-line {
    font-family: 'Courier New', monospace;
    font-size: 24px;
    margin: 15px 0;
    color: var(--text-light);
}

.code-keyword {
    color: var(--primary-cyan);
    font-weight: 700;
}

.code-operator {
    color: var(--light-purple);
    font-weight: 700;
}

.code-string {
    color: #FFD700;
    font-weight: 600;
}

.interface-pulse {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-purple), var(--primary-cyan), var(--primary-purple));
    background-size: 200% 100%;
    border-radius: 2px;
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.5;
        background-position: 0% 50%;
    }
    50% {
        opacity: 1;
        background-position: 100% 50%;
    }
}

/* ===================================
   BUTTONS
   =================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-family: inherit;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

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

.btn > * {
    position: relative;
    z-index: 1;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-cyan));
    color: var(--text-light);
    box-shadow: 0 4px 15px rgba(106, 27, 154, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(106, 27, 154, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: var(--text-light);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
}

.btn-outline {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--primary-cyan);
}

.btn-outline:hover {
    background: var(--primary-cyan);
    color: var(--text-light);
}

.btn-large {
    padding: 20px 50px;
    font-size: 18px;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* ===================================
   CHAIRMAN SECTION
   =================================== */
.chairman-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.chairman-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(103, 58, 183, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.chairman-card {
    padding: 60px;
    position: relative;
    overflow: visible;
}

.chairman-content {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 60px;
    align-items: center;
}

.chairman-image-container {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.chairman-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--gold) 0%, transparent 70%);
    opacity: 0.2;
    animation: glow-pulse 4s ease-in-out infinite;
}

@keyframes glow-pulse {
    0%, 100% { transform: scale(1); opacity: 0.2; }
    50% { transform: scale(1.1); opacity: 0.3; }
}

.chairman-image {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
    z-index: 1;
}

.chairman-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: white;
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.5);
    animation: badge-float 3s ease-in-out infinite;
    z-index: 2;
}

@keyframes badge-float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.chairman-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.chairman-title-wrapper {
    border-left: 5px solid var(--gold);
    padding-left: 20px;
}

[dir="rtl"] .chairman-title-wrapper {
    border-left: none;
    border-right: 5px solid var(--gold);
    padding-left: 0;
    padding-right: 20px;
}

.chairman-name {
    font-size: 48px;
    font-weight: 900;
    color: var(--text-light);
    margin-bottom: 10px;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.chairman-position {
    font-size: 20px;
    color: var(--light-cyan);
    font-weight: 600;
}

.chairman-quote {
    position: relative;
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    border: 2px solid rgba(255, 215, 0, 0.3);
}

.quote-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 40px;
    color: var(--gold);
    opacity: 0.3;
}

[dir="rtl"] .quote-icon {
    right: auto;
    left: 20px;
}

.chairman-quote p {
    font-size: 18px;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.95);
    font-style: italic;
    position: relative;
    z-index: 1;
}

.chairman-achievements {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.achievement-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: rgba(255, 215, 0, 0.1);
    border: 2px solid var(--gold);
    border-radius: 50px;
    color: var(--text-light);
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.achievement-item:hover {
    background: rgba(255, 215, 0, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.3);
}

.achievement-item i {
    color: var(--gold);
    font-size: 18px;
}

.chairman-location {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    color: var(--light-cyan);
    font-weight: 600;
}

.chairman-location i {
    font-size: 22px;
    color: var(--gold);
}

.hero-vision-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

/* ===================================
   TRUST BAROMETER
   =================================== */
.trust-section {
    padding: 60px 0;
}

.trust-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 30px;
    padding: 40px;
    align-items: center;
}

.trust-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-cyan));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: var(--text-light);
}

.trust-content h3 {
    font-size: 28px;
    color: var(--text-light);
    margin-bottom: 15px;
}

.trust-content p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    margin-bottom: 20px;
}

.trust-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.trust-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: var(--text-light);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.trust-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* ===================================
   SECTIONS
   =================================== */
section {
    padding: 80px 0;
}

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

.section-title {
    font-size: 42px;
    font-weight: 900;
    color: var(--text-light);
    margin-bottom: 15px;
    background: linear-gradient(135deg, #ffffff 0%, var(--light-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    max-width: 700px;
    margin: 0 auto;
}

/* ===================================
   COURSES GRID
   =================================== */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.course-card {
    padding: 35px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.course-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-purple), var(--primary-cyan));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.course-card:hover::before {
    transform: scaleX(1);
}

.course-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.course-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-cyan));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--text-light);
}

.course-badge {
    padding: 5px 15px;
    background: rgba(0, 172, 193, 0.2);
    border: 1px solid var(--primary-cyan);
    border-radius: 50px;
    font-size: 12px;
    color: var(--primary-cyan);
    font-weight: 600;
}

.course-title {
    font-size: 24px;
    color: var(--text-light);
    margin-bottom: 15px;
    font-weight: 700;
}

.course-description {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 20px;
}

.course-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

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

.course-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.course-price {
    font-size: 28px;
    font-weight: 900;
    color: var(--primary-cyan);
}

.btn-enroll {
    padding: 12px 25px;
    font-size: 14px;
}

.load-more-container {
    text-align: center;
}

/* ===================================
   ABOUT SECTION
   =================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-content p {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.9;
    margin-bottom: 30px;
}

.features-list {
    display: grid;
    gap: 15px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 16px;
    color: var(--text-light);
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-item i {
    color: var(--primary-cyan);
    font-size: 20px;
}

.about-visual {
    display: flex;
    justify-content: center;
}

.visual-card {
    text-align: center;
    padding: 60px 40px;
    max-width: 400px;
}

.visual-icon {
    font-size: 80px;
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
}

.visual-card h3 {
    font-size: 28px;
    color: var(--text-light);
    margin-bottom: 15px;
}

.visual-card p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
}

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

.partnership-card {
    text-align: center;
    padding: 50px 30px;
}

.partnership-card i {
    font-size: 60px;
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
}

.partnership-card h4 {
    font-size: 22px;
    color: var(--text-light);
    margin-bottom: 15px;
}

.partnership-card p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
}

/* ===================================
   CTA SECTION
   =================================== */
.cta-section {
    padding: 100px 0;
}

.cta-card {
    text-align: center;
    padding: 80px 40px;
}

.cta-card h2 {
    font-size: 42px;
    color: var(--text-light);
    margin-bottom: 20px;
}

.cta-card p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ===================================
   FOOTER
   =================================== */
.footer {
    background: rgba(26, 26, 46, 0.8);
    backdrop-filter: blur(20px);
    padding: 60px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    height: 60px;
    margin-bottom: 20px;
}

.footer-col p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-col h4 {
    color: var(--text-light);
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 700;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-col ul li a:hover {
    color: var(--primary-cyan);
    transform: translateX(-5px);
}

[dir="rtl"] .footer-col ul li a:hover {
    transform: translateX(5px);
}

.footer-col ul li i {
    color: var(--primary-cyan);
}

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

.social-links a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 18px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.3s ease;
    z-index: 0;
}

.social-links a:nth-child(1)::before { background: #39E09B; }
.social-links a:nth-child(2)::before { background: #1877F2; }
.social-links a:nth-child(3)::before { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.social-links a:nth-child(4)::before { background: #1DA1F2; }
.social-links a:nth-child(5)::before { background: #0A66C2; }
.social-links a:nth-child(6)::before { background: #FF0000; }
.social-links a:nth-child(7)::before { background: #000000; }
.social-links a:nth-child(8)::before { background: #0088cc; }
.social-links a:nth-child(9)::before { background: #25D366; }

.social-links a:hover::before {
    transform: scale(1);
}

.social-links a i {
    position: relative;
    z-index: 1;
}

.social-links a:hover {
    transform: translateY(-5px) scale(1.1);
    border-color: transparent;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.contact-info {
    list-style: none;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

/* ===================================
   MODAL
   =================================== */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.modal-content {
    max-width: 500px;
    width: 90%;
    padding: 40px;
    position: relative;
    animation: slideUp 0.3s ease;
}

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

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 32px;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.3s ease;
}

[dir="rtl"] .close-modal {
    right: auto;
    left: 20px;
}

.close-modal:hover {
    color: var(--primary-cyan);
    transform: rotate(90deg);
}

.modal-content h2 {
    color: var(--text-light);
    margin-bottom: 30px;
    font-size: 28px;
}

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

.form-group label {
    display: block;
    color: var(--text-light);
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 14px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: var(--text-light);
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--primary-cyan);
}

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

.form-group select option {
    background: var(--bg-dark);
    color: var(--text-light);
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */
@media (max-width: 1200px) {
    .hero-container {
        gap: 40px;
    }
    
    .courses-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 968px) {
    .nav-links {
        position: fixed;
        top: 80px;
        right: -100%;
        background: rgba(26, 26, 46, 0.98);
        backdrop-filter: blur(20px);
        width: 280px;
        height: calc(100vh - 80px);
        flex-direction: column;
        padding: 30px;
        transition: right 0.4s ease;
        border-left: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    [dir="rtl"] .nav-links {
        right: auto;
        left: -100%;
        border-left: none;
        border-right: 1px solid rgba(255, 255, 255, 0.1);
        transition: left 0.4s ease;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    [dir="rtl"] .nav-links.active {
        left: 0;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
    }
    
    .hero-image {
        order: -1;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .trust-card {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    /* Social floating bar - move to bottom on tablet */
    .social-floating-bar {
        right: 10px;
        padding: 10px 8px;
        gap: 10px;
    }
    
    [dir="rtl"] .social-floating-bar {
        left: 10px;
        right: auto;
    }
    
    .social-float-item {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 32px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    
    .courses-grid {
        grid-template-columns: 1fr;
    }
    
    .partnerships-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    /* Social bar - horizontal on mobile */
    .social-floating-bar {
        right: 0;
        left: 0;
        bottom: 0;
        top: auto;
        transform: none;
        flex-direction: row;
        border-radius: 0;
        border-bottom: none;
        border-left: none;
        border-right: none;
        padding: 10px;
        justify-content: center;
        gap: 8px;
        animation: slideInBottom 0.6s ease;
    }
    
    @keyframes slideInBottom {
        from {
            transform: translateY(100px);
            opacity: 0;
        }
        to {
            transform: translateY(0);
            opacity: 1;
        }
    }
    
    .social-float-item {
        width: 42px;
        height: 42px;
        font-size: 16px;
    }
    
    .social-float-item::after {
        right: 50%;
        bottom: calc(100% + 10px);
        top: auto;
        transform: translateX(50%) translateY(-10px);
    }
    
    [dir="rtl"] .social-float-item::after {
        left: 50%;
        right: auto;
        transform: translateX(-50%) translateY(-10px);
    }
    
    .social-float-item:hover::after {
        transform: translateX(50%) translateY(0);
    }
    
    [dir="rtl"] .social-float-item:hover::after {
        transform: translateX(-50%) translateY(0);
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding: 30px;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .stat-number {
        font-size: 28px;
    }
    
    .course-card {
        padding: 25px;
    }
    
    .modal-content {
        padding: 30px 20px;
    }
    
    /* Compact social bar on very small screens */
    .social-floating-bar {
        gap: 5px;
        padding: 8px;
    }
    
    .social-float-item {
        width: 38px;
        height: 38px;
        font-size: 14px;
    }
}

/* ===================================
   ANIMATIONS & UTILITIES
   =================================== */
.fade-in {
    animation: fadeIn 0.6s ease;
}

.slide-up {
    animation: slideUp 0.6s ease;
}

/* Loading State */
.loading {
    text-align: center;
    padding: 40px;
    color: var(--text-light);
    font-size: 18px;
}

.loading::after {
    content: '...';
    animation: dots 1.5s infinite;
}

@keyframes dots {
    0%, 20% {
        content: '.';
    }
    40% {
        content: '..';
    }
    60%, 100% {
        content: '...';
    }
}