.archive-links {
    margin: 18px 0 0 0;
    text-align: right;
    direction: rtl;
    font-size: 1.08rem;
}
.archive-links strong {
    display: block;
    margin-bottom: 6px;
    color: #2563eb;
    font-size: 1.09em;
    direction: ltr;
    text-align: left;
}
.archive-links .archive-link-btn {
    display: inline-block;
    margin: 6px 6px 6px 0;
    padding: 8px 22px;
    border-radius: 30px;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: #fff;
    font-weight: 600;
    font-size: 1.01rem;
    border: none;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(59,130,246,0.08);
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    cursor: pointer;
    border: 1.5px solid #2563eb;
}
.archive-links .archive-link-btn:hover {
    background: linear-gradient(135deg, #1d4ed8, #2563eb);
    color: #fff;
    box-shadow: 0 6px 24px rgba(59,130,246,0.18);
    border: 1.5px solid #60a5fa;
}
.archive-links-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0.7rem;
    margin-bottom: 8px;
    justify-content: flex-start;
}
@media (max-width: 900px) {
    .archive-links-row {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }
    .archive-links .archive-link-btn {
        width: 100%;
        text-align: center;
    }
}
/* Testimonials & Videos Section */
.testimonials-videos {
    background: #10182a;
    padding: 5rem 0 3rem 0;
    position: relative;
    z-index: 1;
}
.testimonials-videos .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.video-gallery {
    margin-bottom: 3.5rem;
    background: #16213e;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(22,33,62,0.10);
    padding: 2.5rem 1.5rem 2rem 1.5rem;
}
.video-gallery .section-title {
    color: #fff;
    font-size: 2.1rem;
    font-weight: 800;
    margin-bottom: 2rem;
    text-align: center;
}
.videos {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}
.videos iframe {
    border-radius: 14px;
    box-shadow: 0 2px 16px rgba(59,130,246,0.10);
    background: #fff;
    border: 1.5px solid #1e293b;
    transition: box-shadow 0.2s;
}
.videos iframe:hover {
    box-shadow: 0 6px 32px rgba(59,130,246,0.18);
}
.archives {
    background: #16213e;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(22,33,62,0.10);
    padding: 2.5rem 1.5rem 2rem 1.5rem;
    margin-top: 2.5rem;
}
.archives .section-title {
    color: #fff;
    font-size: 2.1rem;
    font-weight: 800;
    margin-bottom: 2rem;
    text-align: center;
}
.archive-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.archive-list li {
    margin-bottom: 1.2rem;
}
.archive-list a.archive-list-btn {
    display: inline-block;
    margin: 6px 6px 6px 0;
    padding: 10px 28px;
    border-radius: 30px;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: #fff;
    font-weight: 600;
    font-size: 1.08rem;
    border: none;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(59,130,246,0.08);
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    cursor: pointer;
    border: 1.5px solid #2563eb;
}
.archive-list a.archive-list-btn:hover {
    background: linear-gradient(135deg, #1d4ed8, #2563eb);
    color: #fff;
    box-shadow: 0 6px 24px rgba(59,130,246,0.18);
    border: 1.5px solid #60a5fa;
}

.archive-links {
    margin: 18px 0 0 0;
    text-align: right;
    direction: rtl;
    font-size: 1.08rem;
}
.archive-links strong {
    display: block;
    margin-bottom: 6px;
    color: #2563eb;
    font-size: 1.09em;
    direction: ltr;
    text-align: left;
}
.archive-links a {
    color: #38bdf8;
    font-weight: 600;
    text-decoration: underline dotted;
    margin: 0 2px;
    transition: color 0.2s;
}
.archive-links a:hover {
    color: #fff;
    text-decoration: underline solid;
}
@media (max-width: 900px) {
    .videos {
        flex-direction: column;
        align-items: center;
    }
    .video-gallery, .archives {
        padding: 1.2rem 0.5rem 1.2rem 0.5rem;
    }
}

/* Mobile Testimonials and Videos Responsiveness */
@media (max-width: 768px) {
    .testimonials-videos {
        padding: 3rem 0 2rem 0;
    }
    
    .video-gallery {
        padding: 2rem 1rem 1.5rem 1rem;
        margin-bottom: 2.5rem;
    }
    
    .video-gallery .section-title {
        font-size: 1.8rem;
    }
    
    .videos iframe {
        width: 100%;
        max-width: 320px;
        height: 180px;
    }
    
    .archives {
        padding: 2rem 1rem 1.5rem 1rem;
    }
    
    .archives .section-title {
        font-size: 1.8rem;
    }
    
    .archive-links-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 12px 14px;
    }
    
    .archive-link-btn {
        font-size: 0.9rem;
        padding: 0.6rem 1rem;
    }
}

@media (max-width: 480px) {
    .testimonials-videos {
        padding: 2.5rem 0 1.5rem 0;
    }
    
    .video-gallery, .archives {
        padding: 1.5rem 0.8rem 1.2rem 0.8rem;
    }
    
    .video-gallery .section-title,
    .archives .section-title {
        font-size: 1.5rem;
    }
    
    .videos iframe {
        max-width: 280px;
        height: 160px;
    }
    
    .archive-btn {
        min-width: 180px;
        font-size: 0.95rem;
        padding: 0.8rem 1.8rem;
    }
    
    .archive-links-grid {
        grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
        gap: 8px 10px;
    }
    
    .archive-link-btn {
        font-size: 0.8rem;
        padding: 0.5rem 0.8rem;
    }
}
/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #e2e8f0;
    overflow-x: hidden;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 50%, #0f172a 100%);
}

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

/* Header and Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(59, 130, 246, 0.2);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo-img {
    height: 45px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #60a5fa;
    letter-spacing: -0.5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-link {
    text-decoration: none;
    color: #cbd5e1;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link:hover {
    color: #60a5fa;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #60a5fa, #3b82f6);
    transition: width 0.3s ease;
}

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
}

.bar {
    width: 25px;
    height: 3px;
    background: #cbd5e1;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(15, 23, 42, 0.98);
        backdrop-filter: blur(20px);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        border-top: 1px solid rgba(59, 130, 246, 0.2);
        padding: 2rem 0;
        gap: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 1rem 0;
    }

    .nav-link {
        font-size: 1.1rem;
        padding: 1rem;
        display: block;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .logo-text {
        font-size: 1.2rem;
    }
    
    .logo-img {
        height: 35px;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 15px;
    }
    
    .logo-text {
        font-size: 1rem;
    }
    
    .logo-img {
        height: 30px;
    }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 50%, var(--bg-primary) 100%);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
    transition: background 0.3s ease;
}

[data-theme="light"] .hero {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 50%, #f1f5f9 100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    color: white;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    line-height: 1.1;
    letter-spacing: -2px;
    background: linear-gradient(135deg, #ffffff 0%, #60a5fa 50%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
    font-weight: 400;
    color: #cbd5e1;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    opacity: 0.8;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    color: #94a3b8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Mobile Hero Responsiveness */
@media (max-width: 768px) {
    .hero {
        padding-top: 100px;
        min-height: 90vh;
    }
    
    .hero-title {
        font-size: 3rem;
        letter-spacing: -1px;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .hero-buttons {
        gap: 0.8rem;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding-top: 80px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
        padding: 0 10px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }
    
    .btn {
        width: 80%;
        max-width: 250px;
        text-align: center;
    }
}

.btn {
    padding: 14px 32px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
}

.btn-primary {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #2563eb, #1e40af);
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(59, 130, 246, 0.4);
}

/* Courses Section */
.courses {
    padding: 6rem 0;
    background: #0f172a; /* Changed to match the main background for a seamless look */
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 3rem;
    color: #ffffff;
    margin-bottom: 1rem;
    font-weight: 800;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #94a3b8;
    max-width: 600px;
    margin: 0 auto;
}

/* Horizontal slider for courses */
.courses-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 2.5rem;
    padding-bottom: 20px;
    scrollbar-width: thin;
    scrollbar-color: #3b82f6 #1e293b;
}
.courses-slider::-webkit-scrollbar {
    height: 10px;
}
.courses-slider::-webkit-scrollbar-thumb {
    background: #3b82f6;
    border-radius: 8px;
}
.courses-slider::-webkit-scrollbar-track {
    background: #1e293b;
    border-radius: 8px;
}

.course-card {
    min-width: 350px;
    max-width: 370px;
    flex: 0 0 auto;
    scroll-snap-align: start;
    background: #1e293b;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(59, 130, 246, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

/* Mobile Courses Responsiveness */
@media (max-width: 768px) {
    .courses {
        padding: 4rem 0;
    }
    
    .section-header {
        margin-bottom: 3rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
        padding: 0 20px;
    }
    
    .courses-slider {
        gap: 1.5rem;
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .course-card,
    .more-courses-card {
        min-width: 280px;
        max-width: 300px;
    }
    
    .course-title {
        font-size: 1.5rem;
    }
    
    .course-description {
        font-size: 0.9rem;
    }
    
    .course-buttons {
        flex-direction: column;
        gap: 0.8rem;
        width: 100%;
    }
    
    .btn-course-primary,
    .btn-course-secondary {
        padding: 10px 20px;
        font-size: 0.9rem;
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }
}

@media (max-width: 480px) {
    .courses {
        padding: 3rem 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .courses-slider {
        gap: 1rem;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .course-card {
        min-width: 250px;
        max-width: 270px;
    }
    
    .course-body {
        padding: 1.5rem;
    }
    
    .course-title {
        font-size: 1.3rem;
    }
    
    .course-description {
        font-size: 0.85rem;
        margin-bottom: 1.5rem;
    }
}

.course-card {
    background: #1e293b; /* Card background color */
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(59, 130, 246, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.course-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 35px 70px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(59, 130, 246, 0.3);
}

/* This is the new style for the main course image */
.course-card-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    background: #0f172a;
}

.course-body {
    padding: 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/* More Courses card style */
.more-courses-card {
    min-width: 350px;
    max-width: 370px;
    flex: 0 0 auto;
    scroll-snap-align: start;
    background: #1e293b;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    border: 2px dashed #60a5fa;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #60a5fa;
    font-size: 1.3rem;
    font-weight: 700;
    transition: transform 0.3s, box-shadow 0.3s;
    margin-bottom: 0;
}
.more-courses-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 35px 70px rgba(59, 130, 246, 0.2), 0 0 0 1px #60a5fa;
    background: #172136;
}
.more-courses-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #60a5fa;
}
.more-courses-link {
    margin-top: 1.5rem;
    color: #60a5fa;
    border: 2px solid #60a5fa;
    border-radius: 50px;
    padding: 10px 28px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s, color 0.3s;
    display: inline-block;
}
.more-courses-link:hover {
    background: #60a5fa;
    color: #1e293b;
}

.course-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
}

.course-description {
    font-size: 1rem;
    color: #cbd5e1;
    line-height: 1.7;
    margin-bottom: 2rem;
    flex-grow: 1; /* Pushes buttons to the bottom */
}

.course-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn-course-primary {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-course-primary:hover {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    transform: translateY(-2px);
}

.btn-course-secondary {
    background: transparent;
    color: #60a5fa;
    border: 2px solid #60a5fa;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-course-secondary:hover {
    background: #60a5fa;
    color: #1e293b;
    transform: translateY(-2px);
}
/* Statistics Section */
.stats {
    padding: 6rem 0;
    background: linear-gradient(135deg, #334155 0%, #1e293b 50%, #0f172a 100%);
    color: white;
    position: relative;
}

.stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 70% 30%, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    text-align: center;
    position: relative;
    z-index: 2;
}

.stat-item {
    padding: 3rem 2rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.stat-icon {
    font-size: 3rem;
    color: #60a5fa;
    margin-bottom: 1rem;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #60a5fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 1.2rem;
    opacity: 0.9;
    font-weight: 500;
    color: #cbd5e1;
}

/* Mobile Statistics Responsiveness */
@media (max-width: 768px) {
    .stats {
        padding: 4rem 0;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .stat-item {
        padding: 2rem 1.5rem;
    }
    
    .stat-icon {
        font-size: 2.5rem;
    }
    
    .stat-number {
        font-size: 2.8rem;
    }
    
    .stat-label {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .stats {
        padding: 3rem 0;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .stat-item {
        padding: 1.5rem 1rem;
    }
    
    .stat-icon {
        font-size: 2rem;
    }
    
    .stat-number {
        font-size: 2.2rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
}

/* About Section */
.about {
    padding: 6rem 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 70%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.about-content {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.about-description {
    font-size: 1.3rem;
    color: #cbd5e1;
    line-height: 1.8;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

.feature-item i {
    color: #60a5fa;
    font-size: 2rem;
    min-width: 40px;
}

.feature-item span {
    color: #e2e8f0;
    font-weight: 600;
    font-size: 1.1rem;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: linear-gradient(135deg, #1e293b 0%, #334155 50%, #475569 100%);
    color: white;
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.contact-content {
    position: relative;
    z-index: 2;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.contact-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 25px;
    padding: 3rem 2rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    border-color: rgba(59, 130, 246, 0.5);
}

.contact-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 2rem;
    color: white;
    position: relative;
    z-index: 2;
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
}

.contact-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #ffffff;
    font-weight: 700;
    position: relative;
    z-index: 2;
}

.contact-details p {
    color: #cbd5e1;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    position: relative;
    z-index: 2;
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.social-link.facebook:hover {
    background: linear-gradient(135deg, #1877f2, #166fe5);
    border-color: #1877f2;
}

.social-link.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-color: #e6683c;
}

/* WhatsApp hover: أخضر */
.social-link.youtube:hover, .social-link.whatsapp:hover {
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: #fff;
    border-color: #25d366;
}

/* TikTok hover: أسود */
.social-link.tiktok:hover {
    background: #111;
    color: #fff;
    border-color: #111;
}

/* Mobile Contact Responsiveness */
@media (max-width: 768px) {
    .contact {
        padding: 4rem 0;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-card {
        padding: 2rem 1.5rem;
    }
    
    .contact-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .contact-card h3 {
        font-size: 1.3rem;
    }
    
    .social-links {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .social-link {
        padding: 0.8rem 1.2rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .contact {
        padding: 3rem 0;
    }
    
    .contact-card {
        padding: 1.5rem 1rem;
    }
    
    .contact-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .contact-card h3 {
        font-size: 1.1rem;
    }
    
    .contact-details p {
        font-size: 1rem;
    }
    
    .social-link {
        padding: 0.7rem 1rem;
        font-size: 0.85rem;
    }
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #020617 0%, #0f172a 100%);
    color: white;
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(59, 130, 246, 0.2);
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1rem;
}

.footer-section h3 {
    margin-bottom: 1.5rem;
    color: #60a5fa;
    font-weight: 700;
    font-size: 1.3rem;
}

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

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 1rem;
}

.footer-section a:hover {
    color: #60a5fa;
}

.footer-section p {
    color: #94a3b8;
    line-height: 1.6;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: #94a3b8;
}

/* Scroll to Top Button */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    border: none;
    cursor: pointer;
    font-size: 1.3rem;
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
}

.scroll-top-btn:hover {
    background: linear-gradient(135deg, #2563eb, #1e40af);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(59, 130, 246, 0.4);
}

.scroll-top-btn.show {
    opacity: 1;
    visibility: visible;
}

/* زر روابط الأرشيف خارج archive-links-row */
.archive-btn {
    display: inline-block;
    margin: 8px auto 0 auto;
    padding: 12px 32px;
    border-radius: 32px;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: #fff;
    font-weight: 700;
    font-size: 1.08rem;
    border: none;
    text-decoration: none;
    box-shadow: 0 2px 12px rgba(59,130,246,0.10);
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    cursor: pointer;
    border: 1.5px solid #2563eb;
    text-align: center;
    max-width: 350px;
}
.archive-btn:hover {
    background: linear-gradient(135deg, #1d4ed8, #2563eb);
    color: #fff;
    box-shadow: 0 8px 28px rgba(59,130,246,0.18);
    border: 1.5px solid #60a5fa;
}

/* ====== Archives Section Custom Style ====== */
.archives {
  padding: 2.5rem 2rem;
  background: rgba(30, 41, 59, 0.7);
  border-radius: 22px;
  border: 1.5px solid rgba(59, 130, 246, 0.18);
  box-shadow: 0 8px 32px rgba(30,41,59,0.12);
  margin-bottom: 2.5rem;
  max-width: 950px;
  margin-left: auto;
  margin-right: auto;
}
.archives .section-title {
  color: #fff;
  font-size: 2.4rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 2rem;
  background: linear-gradient(135deg, #ffffff 0%, #60a5fa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.archive-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
}
.archive-btn {
  min-width: 220px;
  padding: 1rem 2.2rem;
  border-radius: 32px;
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  color: #fff;
  font-weight: 700;
  font-size: 1.13rem;
  border: none;
  text-decoration: none;
  box-shadow: 0 2px 12px rgba(59,130,246,0.10);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s;
  cursor: pointer;
  text-align: center;
  margin-bottom: 0.2rem;
  position: relative;
  overflow: hidden;
}
.archive-btn:hover {
  background: linear-gradient(135deg, #1d4ed8, #2563eb);
  color: #fff;
  box-shadow: 0 8px 28px rgba(59,130,246,0.18);
  transform: translateY(-2px) scale(1.04);
}
.archive-diplomas {
  width: 100%;
  margin-top: 22px;
}
.archive-diplomas-title {
  display: block;
  margin-bottom: 10px;
  color: #2563eb;
  font-size: 1.13em;
  font-weight: bold;
  direction: ltr;
  text-align: left;
  letter-spacing: 0.5px;
}
.archive-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 16px 18px;
  justify-items: center;
  margin-top: 8px;
}
.archive-link-btn {
  display: inline-block;
  padding: 0.7rem 1.3rem;
  border-radius: 22px;
  background: linear-gradient(135deg, #3b82f6 60%, #2563eb 100%);
  color: #fff;
  font-weight: 600;
  font-size: 1.01rem;
  border: none;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(59,130,246,0.10);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s;
  cursor: pointer;
  text-align: center;
  margin-bottom: 0.2rem;
  position: relative;
  overflow: hidden;
}
.archive-link-btn:hover {
  background: linear-gradient(135deg, #1d4ed8 60%, #2563eb 100%);
  color: #fff;
  box-shadow: 0 6px 18px rgba(59,130,246,0.18);
  transform: translateY(-2px) scale(1.06);
}
@media (max-width: 700px) {
  .archives {
    padding: 1.2rem 0.5rem;
    border-radius: 14px;
  }
  .archive-btn {
    min-width: 140px;
    font-size: 1rem;
    padding: 0.7rem 1.2rem;
  }
  .archive-links-grid {
    grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
    gap: 10px 8px;
  }
  .archive-link-btn {
    font-size: 0.95rem;
    padding: 0.5rem 0.7rem;
  }
}
/* ====== End Archives Section Custom Style ====== */