/* ========================================
   ROOT VARIABLES & GLOBAL STYLES
   ======================================== */
:root {
    --primary-purple: #6D4E99;
    --accent-orange: #E8674F;
    --dark-bg: #121212;
    --dark-surface: #1e1e1e;
    --light-bg: #f0f0f0;
    --text-light: #ffffff;
    --text-muted: #a0a0a0;
    --text-dark: #222222;
    --font-family: 'Tajawal', sans-serif;
    --transition-fast: 0.3s ease;
    --transition-slow: 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--dark-bg);
    color: var(--text-light);
    overflow-x: hidden;
}

/* Custom Scrollbar */
body::-webkit-scrollbar {
    width: 10px;
}
body::-webkit-scrollbar-track {
    background: var(--dark-bg);
}
body::-webkit-scrollbar-thumb {
    background-color: var(--primary-purple);
    border-radius: 20px;
    border: 2px solid var(--dark-bg);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

section {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.section-bg {
    background-color: var(--dark-surface);
}

.section-title {
    text-align: center;
    margin-bottom: 80px;
}

.section-title h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 10px;
    background: linear-gradient(90deg, var(--accent-orange), var(--primary-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

.section-title p {
    font-size: 1.2rem;
    color: var(--text-muted);
}


/* ========================================
   HEADER & NAVIGATION
   ======================================== */
#main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: var(--transition-fast);
}

#main-header.scrolled {
    background: rgba(18, 18, 18, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 15px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* NEW: Styles for the image logo */
.logo-container {
    display: flex;
    align-items: center;
}

.logo-image {
    height: 35px; /* Control the height of the logo */
    width: auto;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 40px;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    position: relative;
    transition: var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
    color: var(--text-light);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--accent-orange);
    transition: var(--transition-fast);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.cta-button-small {
    padding: 10px 22px;
    background-color: var(--primary-purple);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    transition: var(--transition-fast);
}

.cta-button-small:hover {
    background-color: var(--accent-orange);
    transform: scale(1.05);
}

/* ========================================
   HOME SECTION
   ======================================== */
#home {
    height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    background: linear-gradient(rgba(18, 18, 18, 0.9), rgba(18, 18, 18, 0.9)), url(https://images.unsplash.com/photo-1590433215286-424a13a7a937?q=80&w=1932&auto=format&fit=crop) no-repeat center center/cover;
    background-attachment: fixed;
}

.hero-content h1 {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-light);
}

.hero-content h1 span {
    display: block;
    background: linear-gradient(90deg, #fff, #ddd);
     -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    
}

.hero-content .subtitle {
    font-size: 1.4rem;
    max-width: 700px;
    margin: 0 auto 40px;
    color: var(--text-muted);
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.cta-button {
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 700;
    transition: var(--transition-fast);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--accent-orange), #ff7e65);
    z-index: -1;
    transition: var(--transition-fast);
}

.cta-button {
    background: var(--accent-orange);
    color: var(--text-light);
    box-shadow: 0 10px 30px rgba(232, 103, 79, 0.3);
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(232, 103, 79, 0.5);
}

.cta-button-secondary {
    background-color: transparent;
    color: var(--text-light);
    border: 2px solid var(--primary-purple);
}

.cta-button-secondary:hover {
    background-color: var(--primary-purple);
    color: var(--text-light);
}

.scroll-down-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-down-indicator a {
    color: var(--text-light);
    font-size: 2rem;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translate(-50%, 0);
    }
    40% {
        transform: translate(-50%, -20px);
    }
    60% {
        transform: translate(-50%, -10px);
    }
}

/* ========================================
   ABOUT ME SECTION
   ======================================== */
.about-container {
    display: flex;
    flex-direction: column;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 80px;
}

.about-text h3 {
    font-size: 2.5rem;
    color: var(--text-light);
    margin-bottom: 20px;
    font-weight: 700;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.qualifications-list {
    list-style: none;
}

.qualifications-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.qualifications-list i {
    font-size: 1.5rem;
    color: var(--primary-purple);
}

.about-image .image-wrapper {
    border-radius: 50%; /* Make the wrapper perfectly circular */
    overflow: hidden;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
    width: 300px; /* Define a fixed size */
    height: 300px;
    margin: 0 auto; /* Center it if needed */
}

/* NEW: Styles for the image inside the wrapper */
.about-image .image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the image covers the circle without distortion */
}


/* ========================================
   EXPERIENCE SECTION
   ======================================== */
.experience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}
.experience-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition-slow);
}
.experience-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-purple);
    box-shadow: 0 0 30px rgba(109, 78, 153, 0.3);
}
.experience-icon {
    font-size: 3.5rem;
    color: var(--accent-orange);
    margin-bottom: 20px;
}
.experience-card h3 {
    font-size: 1.8rem;
    color: var(--text-light);
    margin-bottom: 15px;
}
.experience-card p {
    color: var(--text-muted);
    line-height: 1.7;
}

/* ========================================
   SKILLS SECTION
   ======================================== */
.skills-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}
.skill-item {
    background-color: var(--dark-bg);
    padding: 20px 30px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 15px;
    border: 1px solid var(--glass-border);
    transition: var(--transition-fast);
}
.skill-item:hover {
    background-color: var(--primary-purple);
    border-color: var(--primary-purple);
    transform: translateY(-5px);
}
.skill-item i {
    font-size: 1.8rem;
    color: var(--accent-orange);
}
.skill-item span {
    font-size: 1.1rem;
    font-weight: 500;
}

/* ========================================
   COURSES SECTION
   ======================================== */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}
.course-card {
    background: var(--dark-surface);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    transition: var(--transition-slow);
    position: relative;
    overflow: hidden;
}
.course-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    border-color: var(--primary-purple);
}
.course-card.featured {
    border-color: var(--primary-purple);
    transform: scale(1.05);
}
.featured-badge {
    position: absolute;
    top: 20px;
    left: -1px;
    background-color: var(--primary-purple);
    color: var(--text-light);
    padding: 8px 20px;
    border-radius: 0 50px 50px 0;
    font-size: 0.9rem;
    font-weight: 700;
}
.course-level {
    color: var(--accent-orange);
    font-weight: 700;
    margin-bottom: 10px;
}
.course-card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--text-light);
}
.course-description {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 30px;
    flex-grow: 1;
}
.course-features {
    list-style: none;
    margin-bottom: 30px;
}
.course-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}
.course-features i {
    color: var(--primary-purple);
}
.course-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--glass-border);
    padding-top: 20px;
}
.price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-light);
}
.price sup {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-muted);
}
.course-button {
    background: transparent;
    border: 2px solid var(--accent-orange);
    color: var(--accent-orange);
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition-fast);
}
.course-button:hover, .course-card.featured .course-button {
    background-color: var(--accent-orange);
    color: var(--text-light);
}

/* ========================================
   TESTIMONIALS SECTION
   ======================================== */
.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}
.testimonial-card {
    background-color: var(--dark-bg);
    border: 1px solid var(--glass-border);
    padding: 40px;
    border-radius: 20px;
    border-left: 5px solid var(--primary-purple);
}
.testimonial-card p {
    font-size: 1.1rem;
    font-style: italic;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 25px;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}
.author-info h4 {
    color: var(--text-light);
    font-size: 1.2rem;
}
.author-info span {
    color: var(--accent-orange);
    font-size: 0.9rem;
}

/* ========================================
   CONTACT SECTION
   ======================================== */
#contact {
    padding: 0;
}
.contact-container {
    background: linear-gradient(135deg, var(--primary-purple), var(--accent-orange));
    padding: 80px 40px;
    border-radius: 30px;
    text-align: center;
    margin: 60px auto;
}
.contact-container h2 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-light);
    margin-bottom: 15px;
}
.contact-container p {
    font-size: 1.2rem;
    line-height: 1.7;
    margin-bottom: 30px;
    opacity: 0.9;
}
.contact-methods {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
}
.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
}
.contact-item i {
    font-size: 2rem;
}
.contact-item a, .contact-item span {
    color: var(--text-light);
    font-size: 1.2rem;
    font-weight: 500;
    text-decoration: none;
}

/* ========================================
   FOOTER
   ======================================== */
footer {
    background-color: var(--dark-surface);
    text-align: center;
    padding: 25px 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 992px) {
    .nav-links { display: none; } /* Simplified for example, real would use a hamburger menu */
    .courses-grid { grid-template-columns: 1fr; }
    .course-card.featured { transform: scale(1); }
    .testimonials-grid { grid-template-columns: 1fr; }
    .about-content { grid-template-columns: 1fr; text-align: center; }
    .about-image { order: -1; margin-bottom: 40px; }
    .about-text { text-align: initial; }
}

@media (max-width: 768px) {
    section { padding: 80px 0; }
    .section-title h2 { font-size: 2.5rem; }
    .hero-content h1 { font-size: 3rem; }
    .hero-buttons { flex-direction: column; }
    .experience-grid { grid-template-columns: 1fr; }
    .contact-methods { flex-direction: column; gap: 20px; }
}/* =================================================================== */
/* == START: ENHANCEMENTS FOR BUTTONS & BACKGROUNDS (ADD THIS CODE) == */
/* =================================================================== */

/* --- 1. General Enhancements for a More Epic Feel --- */
section {
    overflow: hidden; /* Important for containing new background effects */
}

.section-title h2 {
    font-size: 3.2rem; /* Slightly larger titles */
}

/* --- 2. Upgraded Professional Buttons (Overrides old styles) --- */
.cta-button-small,
.cta-button,
.cta-button-secondary {
    padding: 14px 30px;
    border: none; /* Override previous border */
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.25s ease-out;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.cta-button-small {
    font-size: 1rem;
    background: var(--primary-purple);
    color: var(--text-light);
    box-shadow: 0 4px 15px rgba(109, 78, 153, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.15);
}

.cta-button-small:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(109, 78, 153, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.15);
}

.cta-button {
    font-size: 1.1rem;
    padding: 16px 35px;
    background: var(--accent-orange);
    color: var(--text-light);
    box-shadow: 0 5px 20px rgba(232, 103, 79, 0.4), inset 0 1px 2px rgba(255, 255, 255, 0.2);
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(232, 103, 79, 0.6), inset 0 1px 2px rgba(255, 255, 255, 0.2);
}

.cta-button-secondary {
    font-size: 1.1rem;
    padding: 16px 35px;
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--primary-purple);
    box-shadow: none; /* Remove any previous shadow */
}

.cta-button-secondary:hover {
    background-color: var(--primary-purple);
    border-color: var(--primary-purple);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(109, 78, 153, 0.4);
}

/* Universal 'press down' effect for all buttons */
.cta-button:active,
.cta-button-secondary:active,
.cta-button-small:active {
    transform: translateY(-1px);
    transition-duration: 0.1s;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

/* --- 3. Epic Home Section Background (Overrides old background) --- */
#home {
    background: url(https://images.unsplash.com/photo-1590433215286-424a13a7a937?q=80&w=1932&auto=format&fit=crop) no-repeat center center/cover;
    background-attachment: fixed;
    z-index: 1;
}

/* Solid dark overlay */
#home::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(rgba(18, 18, 18, 0.6), rgba(18, 18, 18, 0.9));
    z-index: -2;
}

/* Animated gradient overlay */
#home::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(60deg, rgba(109, 78, 153, 0.25), rgba(232, 103, 79, 0.2), rgba(109, 78, 153, 0.25));
    background-size: 300% 300%;
    animation: gradientFlow 12s ease infinite;
    z-index: -1;
}

@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-content {
    z-index: 2; /* Ensure content is above overlays */
}

.hero-content h1 {
    font-size: 4.8rem;
    text-shadow: 0 3px 15px rgba(0,0,0,0.5);
}

/* --- 4. Artistic Background Shapes for About Section --- */
#about::before {
    content: '';
    position: absolute;
    top: -40%;
    left: -15%;
    width: 60%;
    height: 150%;
    background: radial-gradient(circle, rgba(109, 78, 153, 0.1) 0%, rgba(109, 78, 153, 0) 70%);
    pointer-events: none;
}

#about::after {
    content: '';
    position: absolute;
    bottom: -50%;
    right: -20%;
    width: 60%;
    height: 150%;
    background: radial-gradient(circle, rgba(232, 103, 79, 0.08) 0%, rgba(232, 103, 79, 0) 65%);
    pointer-events: none;
}

/* --- 5. Enhanced Card Hover Effects --- */
.experience-card:hover {
    box-shadow: 0 0 45px rgba(109, 78, 153, 0.35);
    border-color: var(--primary-purple);
}

.course-card:hover {
    border-color: var(--primary-purple);
    box-shadow: 0 25px 60px rgba(0,0,0,0.35);
}

/* ================================================================= */
/* == END: ENHANCEMENTS FOR BUTTONS & BACKGROUNDS (ADD THIS CODE) == */
/* ================================================================= */

/* ========================================
   ROOT VARIABLES & GLOBAL STYLES
   ======================================== */
:root {
    --primary-purple: #6D4E99;
    --accent-orange: #E8674F;
    --dark-bg: #121212;
    --dark-surface: #1e1e1e;
    --light-bg: #f0f0f0;
    --text-light: #ffffff;
    --text-muted: #a0a0a0;
    --text-dark: #222222;
    --font-family: 'Tajawal', sans-serif;
    --transition-fast: 0.3s ease;
    --transition-slow: 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--dark-bg);
    color: var(--text-light);
    overflow-x: hidden;
}

/* Custom Scrollbar */
body::-webkit-scrollbar {
    width: 10px;
}
body::-webkit-scrollbar-track {
    background: var(--dark-bg);
}
body::-webkit-scrollbar-thumb {
    background-color: var(--primary-purple);
    border-radius: 20px;
    border: 2px solid var(--dark-bg);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

section {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.section-bg {
    background-color: var(--dark-surface);
}

.section-title {
    text-align: center;
    margin-bottom: 80px;
}

.section-title h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 10px;
    background: linear-gradient(90deg, var(--accent-orange), var(--primary-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

.section-title p {
    font-size: 1.2rem;
    color: var(--text-muted);
}


/* ========================================
   HEADER & NAVIGATION
   ======================================== */
#main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: var(--transition-fast);
}

#main-header.scrolled {
    background: rgba(18, 18, 18, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 15px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* NEW: Styles for the image logo */
.logo-container {
    display: flex;
    align-items: center;
}

.logo-image {
    height: 35px; /* Control the height of the logo */
    width: auto;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 40px;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    position: relative;
    transition: var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
    color: var(--text-light);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--accent-orange);
    transition: var(--transition-fast);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.cta-button-small {
    padding: 10px 22px;
    background-color: var(--primary-purple);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    transition: var(--transition-fast);
}

.cta-button-small:hover {
    background-color: var(--accent-orange);
    transform: scale(1.05);
}

/* ========================================
   HOME SECTION
   ======================================== */
#home {
    height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    background: linear-gradient(rgba(18, 18, 18, 0.9), rgba(18, 18, 18, 0.9)), url(https://images.unsplash.com/photo-1590433215286-424a13a7a937?q=80&w=1932&auto=format&fit=crop) no-repeat center center/cover;
    background-attachment: fixed;
}

.hero-content h1 {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-light);
}

.hero-content h1 span {
    display: block;
    background: linear-gradient(90deg, #fff, #ddd);
     -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    
}

.hero-content .subtitle {
    font-size: 1.4rem;
    max-width: 700px;
    margin: 0 auto 40px;
    color: var(--text-muted);
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.cta-button {
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 700;
    transition: var(--transition-fast);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--accent-orange), #ff7e65);
    z-index: -1;
    transition: var(--transition-fast);
}

.cta-button {
    background: var(--accent-orange);
    color: var(--text-light);
    box-shadow: 0 10px 30px rgba(232, 103, 79, 0.3);
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(232, 103, 79, 0.5);
}

.cta-button-secondary {
    background-color: transparent;
    color: var(--text-light);
    border: 2px solid var(--primary-purple);
}

.cta-button-secondary:hover {
    background-color: var(--primary-purple);
    color: var(--text-light);
}

.scroll-down-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-down-indicator a {
    color: var(--text-light);
    font-size: 2rem;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translate(-50%, 0);
    }
    40% {
        transform: translate(-50%, -20px);
    }
    60% {
        transform: translate(-50%, -10px);
    }
}

/* ========================================
   ABOUT ME SECTION
   ======================================== */
.about-container {
    display: flex;
    flex-direction: column;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 80px;
}

.about-text h3 {
    font-size: 2.5rem;
    color: var(--text-light);
    margin-bottom: 20px;
    font-weight: 700;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.qualifications-list {
    list-style: none;
}

.qualifications-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.qualifications-list i {
    font-size: 1.5rem;
    color: var(--primary-purple);
}

.about-image .image-wrapper {
    border-radius: 50%; /* Make the wrapper perfectly circular */
    overflow: hidden;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
    width: 300px; /* Define a fixed size */
    height: 300px;
    margin: 0 auto; /* Center it if needed */
}

/* NEW: Styles for the image inside the wrapper */
.about-image .image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the image covers the circle without distortion */
}


/* ========================================
   EXPERIENCE SECTION
   ======================================== */
.experience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}
.experience-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition-slow);
}
.experience-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-purple);
    box-shadow: 0 0 30px rgba(109, 78, 153, 0.3);
}
.experience-icon {
    font-size: 3.5rem;
    color: var(--accent-orange);
    margin-bottom: 20px;
}
.experience-card h3 {
    font-size: 1.8rem;
    color: var(--text-light);
    margin-bottom: 15px;
}
.experience-card p {
    color: var(--text-muted);
    line-height: 1.7;
}

/* ========================================
   SKILLS SECTION
   ======================================== */
.skills-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}
.skill-item {
    background-color: var(--dark-bg);
    padding: 20px 30px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 15px;
    border: 1px solid var(--glass-border);
    transition: var(--transition-fast);
}
.skill-item:hover {
    background-color: var(--primary-purple);
    border-color: var(--primary-purple);
    transform: translateY(-5px);
}
.skill-item i {
    font-size: 1.8rem;
    color: var(--accent-orange);
}
.skill-item span {
    font-size: 1.1rem;
    font-weight: 500;
}

/* ========================================
   COURSES SECTION
   ======================================== */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}
.course-card {
    background: var(--dark-surface);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    transition: var(--transition-slow);
    position: relative;
    overflow: hidden;
}
.course-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    border-color: var(--primary-purple);
}
.course-card.featured {
    border-color: var(--primary-purple);
    transform: scale(1.05);
}
.featured-badge {
    position: absolute;
    top: 20px;
    left: -1px;
    background-color: var(--primary-purple);
    color: var(--text-light);
    padding: 8px 20px;
    border-radius: 0 50px 50px 0;
    font-size: 0.9rem;
    font-weight: 700;
}
.course-level {
    color: var(--accent-orange);
    font-weight: 700;
    margin-bottom: 10px;
}
.course-card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--text-light);
}
.course-description {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 30px;
    flex-grow: 1;
}
.course-features {
    list-style: none;
    margin-bottom: 30px;
}
.course-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}
.course-features i {
    color: var(--primary-purple);
}
.course-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--glass-border);
    padding-top: 20px;
}
.price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-light);
}
.price sup {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-muted);
}
.course-button {
    background: transparent;
    border: 2px solid var(--accent-orange);
    color: var(--accent-orange);
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition-fast);
}
.course-button:hover, .course-card.featured .course-button {
    background-color: var(--accent-orange);
    color: var(--text-light);
}

/* ========================================
   TESTIMONIALS SECTION
   ======================================== */
.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}
.testimonial-card {
    background-color: var(--dark-bg);
    border: 1px solid var(--glass-border);
    padding: 40px;
    border-radius: 20px;
    border-left: 5px solid var(--primary-purple);
}
.testimonial-card p {
    font-size: 1.1rem;
    font-style: italic;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 25px;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}
.author-info h4 {
    color: var(--text-light);
    font-size: 1.2rem;
}
.author-info span {
    color: var(--accent-orange);
    font-size: 0.9rem;
}

/* ========================================
   CONTACT SECTION
   ======================================== */
#contact {
    padding: 0;
}
.contact-container {
    background: linear-gradient(135deg, var(--primary-purple), var(--accent-orange));
    padding: 80px 40px;
    border-radius: 30px;
    text-align: center;
    margin: 60px auto;
}
.contact-container h2 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-light);
    margin-bottom: 15px;
}
.contact-container p {
    font-size: 1.2rem;
    line-height: 1.7;
    margin-bottom: 30px;
    opacity: 0.9;
}
.contact-methods {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
}
.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
}
.contact-item i {
    font-size: 2rem;
}
.contact-item a, .contact-item span {
    color: var(--text-light);
    font-size: 1.2rem;
    font-weight: 500;
    text-decoration: none;
}

/* ========================================
   FOOTER
   ======================================== */
footer {
    background-color: var(--dark-surface);
    text-align: center;
    padding: 25px 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 992px) {
    .nav-links { display: none; } /* Simplified for example, real would use a hamburger menu */
    .courses-grid { grid-template-columns: 1fr; }
    .course-card.featured { transform: scale(1); }
    .testimonials-grid { grid-template-columns: 1fr; }
    .about-content { grid-template-columns: 1fr; text-align: center; }
    .about-image { order: -1; margin-bottom: 40px; }
    .about-text { text-align: initial; }
}

@media (max-width: 768px) {
    section { padding: 80px 0; }
    .section-title h2 { font-size: 2.5rem; }
    .hero-content h1 { font-size: 3rem; }
    .hero-buttons { flex-direction: column; }
    .experience-grid { grid-template-columns: 1fr; }
    .contact-methods { flex-direction: column; gap: 20px; }
}/* ========================================
   ROOT VARIABLES & GLOBAL STYLES
   ======================================== */
:root {
    --primary-purple: #6D4E99;
    --accent-orange: #E8674F;
    --dark-bg: #121212;
    --dark-surface: #1e1e1e;
    --light-bg: #f0f0f0;
    --text-light: #ffffff;
    --text-muted: #a0a0a0;
    --text-dark: #222222;
    --font-family: 'Tajawal', sans-serif;
    --transition-fast: 0.3s ease;
    --transition-slow: 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);

    /* New for Interactive BG */
    --dot-size: 8px;
    --dot-color: rgba(255, 255, 255, 0.07);
    --mouse-x: 0px;
    --mouse-y: 0px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--dark-bg);
    color: var(--text-light);
    overflow-x: hidden;
}

/* Custom Scrollbar */
body::-webkit-scrollbar {
    width: 10px;
}
body::-webkit-scrollbar-track {
    background: var(--dark-bg);
}
body::-webkit-scrollbar-thumb {
    background-color: var(--primary-purple);
    border-radius: 20px;
    border: 2px solid var(--dark-bg);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

section {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.section-bg {
    background-color: var(--dark-surface);
}

.section-title {
    text-align: center;
    margin-bottom: 80px;
}

.section-title h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 10px;
    background: linear-gradient(90deg, var(--accent-orange), var(--primary-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

.section-title p {
    font-size: 1.2rem;
    color: var(--text-muted);
}


/* ========================================
   HEADER & NAVIGATION
   ======================================== */
#main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: var(--transition-fast);
}

#main-header.scrolled {
    background: rgba(18, 18, 18, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 15px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* NEW: Styles for the image logo */
.logo-container {
    display: flex;
    align-items: center;
}

.logo-image {
    height: 35px; /* Control the height of the logo */
    width: auto;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 40px;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    position: relative;
    transition: var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
    color: var(--text-light);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--accent-orange);
    transition: var(--transition-fast);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.cta-button-small {
    padding: 10px 22px;
    background-color: var(--primary-purple);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    transition: var(--transition-fast);
}

.cta-button-small:hover {
    background-color: var(--accent-orange);
    transform: scale(1.05);
}

/* ========================================
   HOME SECTION
   ======================================== */
#home {
    height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    background: linear-gradient(rgba(18, 18, 18, 0.9), rgba(18, 18, 18, 0.9)), url(https://images.unsplash.com/photo-1590433215286-424a13a7a937?q=80&w=1932&auto=format&fit=crop) no-repeat center center/cover;
    background-attachment: fixed;
}

.hero-content h1 {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-light);
}

.hero-content h1 span {
    display: block;
    background: linear-gradient(90deg, #fff, #ddd);
     -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    
}

.hero-content .subtitle {
    font-size: 1.4rem;
    max-width: 700px;
    margin: 0 auto 40px;
    color: var(--text-muted);
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.cta-button {
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 700;
    transition: var(--transition-fast);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--accent-orange), #ff7e65);
    z-index: -1;
    transition: var(--transition-fast);
}

.cta-button {
    background: var(--accent-orange);
    color: var(--text-light);
    box-shadow: 0 10px 30px rgba(232, 103, 79, 0.3);
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(232, 103, 79, 0.5);
}

.cta-button-secondary {
    background-color: transparent;
    color: var(--text-light);
    border: 2px solid var(--primary-purple);
}

.cta-button-secondary:hover {
    background-color: var(--primary-purple);
    color: var(--text-light);
}

.scroll-down-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-down-indicator a {
    color: var(--text-light);
    font-size: 2rem;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translate(-50%, 0);
    }
    40% {
        transform: translate(-50%, -20px);
    }
    60% {
        transform: translate(-50%, -10px);
    }
}

/* ========================================
   ABOUT ME SECTION
   ======================================== */
.about-container {
    display: flex;
    flex-direction: column;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 80px;
}

.about-text h3 {
    font-size: 2.5rem;
    color: var(--text-light);
    margin-bottom: 20px;
    font-weight: 700;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.qualifications-list {
    list-style: none;
}

.qualifications-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.qualifications-list i {
    font-size: 1.5rem;
    color: var(--primary-purple);
}

.about-image .image-wrapper {
    border-radius: 50%; /* Make the wrapper perfectly circular */
    overflow: hidden;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
    width: 300px; /* Define a fixed size */
    height: 300px;
    margin: 0 auto; /* Center it if needed */
}

/* NEW: Styles for the image inside the wrapper */
.about-image .image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the image covers the circle without distortion */
}


/* ========================================
   EXPERIENCE SECTION
   ======================================== */
.experience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}
.experience-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition-slow);
}
.experience-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-purple);
    box-shadow: 0 0 30px rgba(109, 78, 153, 0.3);
}
.experience-icon {
    font-size: 3.5rem;
    color: var(--accent-orange);
    margin-bottom: 20px;
}
.experience-card h3 {
    font-size: 1.8rem;
    color: var(--text-light);
    margin-bottom: 15px;
}
.experience-card p {
    color: var(--text-muted);
    line-height: 1.7;
}

/* ========================================
   SKILLS SECTION
   ======================================== */
.skills-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}
.skill-item {
    background-color: var(--dark-bg);
    padding: 20px 30px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 15px;
    border: 1px solid var(--glass-border);
    transition: var(--transition-fast);
}
.skill-item:hover {
    background-color: var(--primary-purple);
    border-color: var(--primary-purple);
    transform: translateY(-5px);
}
.skill-item i {
    font-size: 1.8rem;
    color: var(--accent-orange);
}
.skill-item span {
    font-size: 1.1rem;
    font-weight: 500;
}

/* ========================================
   COURSES SECTION
   ======================================== */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    justify-content: center;
}
.course-card {
    background: var(--dark-surface);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    transition: var(--transition-slow);
    position: relative;
    overflow: hidden;
}
.course-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}
.course-card.primary-card:hover {
    border-color: #4CAF50;
}
.course-card.middle-card:hover {
    border-color: #2196F3;
}

.course-card .course-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}
.course-card.primary-card .course-icon { color: #4CAF50; }
.course-card.middle-card .course-icon { color: #2196F3; }

.course-card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--text-light);
}
.course-description {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 30px;
    flex-grow: 1;
}

.course-grades {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}
.course-grades li {
    background-color: var(--dark-bg);
    padding: 8px 15px;
    border-radius: 50px;
    font-size: 0.9rem;
}
.course-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--glass-border);
    padding-top: 20px;
}
.price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-light);
}
.price sup {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-muted);
}
.course-button {
    background: transparent;
    border: 2px solid var(--accent-orange);
    color: var(--accent-orange);
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition-fast);
}
.course-button:hover {
    background-color: var(--accent-orange);
    color: var(--text-light);
}

/* NEW: Styles for course badges */
.course-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 8px 15px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
}
.primary-badge {
    background-color: #4CAF50;
}
.middle-badge {
    background-color: #2196F3;
}


/* ========================================
   TESTIMONIALS SECTION
   ======================================== */
.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}
.testimonial-card {
    background-color: var(--dark-bg);
    border: 1px solid var(--glass-border);
    padding: 40px;
    border-radius: 20px;
    border-left: 5px solid var(--primary-purple);
}
.testimonial-card p {
    font-size: 1.1rem;
    font-style: italic;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 25px;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}
.author-info h4 {
    color: var(--text-light);
    font-size: 1.2rem;
}
.author-info span {
    color: var(--accent-orange);
    font-size: 0.9rem;
}

/* ========================================
   CONTACT SECTION
   ======================================== */
#contact {
    padding: 0;
}
.contact-container {
    background: linear-gradient(135deg, var(--primary-purple), var(--accent-orange));
    padding: 80px 40px;
    border-radius: 30px;
    text-align: center;
    margin: 60px auto;
}
.contact-container h2 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-light);
    margin-bottom: 15px;
}
.contact-container p {
    font-size: 1.2rem;
    line-height: 1.7;
    margin-bottom: 30px;
    opacity: 0.9;
}
.contact-methods {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
}
.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
}
.contact-item i {
    font-size: 2rem;
}
.contact-item a, .contact-item span {
    color: var(--text-light);
    font-size: 1.2rem;
    font-weight: 500;
    text-decoration: none;
}

/* ========================================
   FOOTER
   ======================================== */
footer {
    background-color: var(--dark-surface);
    text-align: center;
    padding: 25px 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 992px) {
    .nav-links { display: none; }
    .courses-grid { grid-template-columns: 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .about-content { grid-template-columns: 1fr; text-align: center; }
    .about-image { order: -1; margin-bottom: 40px; }
    .about-text { text-align: initial; }
}

@media (max-width: 768px) {
    section { padding: 80px 0; }
    .section-title h2 { font-size: 2.5rem; }
    .hero-content h1 { font-size: 3rem; }
    .hero-buttons { flex-direction: column; }
    .experience-grid { grid-template-columns: 1fr; }
    .contact-methods { flex-direction: column; gap: 20px; }
}

/* ================================================================= */
/* ====== START: NEW STYLES FOR INTERACTIVE BACKGROUND DOTS ====== */
/* ================================================================= */
#bg-dots {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -3;
    pointer-events: none;
    perspective: 800px;
    transform-style: preserve-3d;
}

.bg-dot {
    position: absolute;
    width: var(--dot-size);
    height: var(--dot-size);
    background-color: var(--dot-color);
    border-radius: 50%;
    opacity: 0;
    transform: translateZ(var(--dot-z)) scale(var(--dot-scale));
    animation: fadeInOut var(--dot-animation-duration) ease-in-out forwards;
}

@keyframes fadeInOut {
    0% { opacity: 0; transform: translateZ(-200px) scale(0.2); }
    50% { opacity: 1; transform: translateZ(var(--dot-z)) scale(var(--dot-scale)); }
    100% { opacity: 0; transform: translateZ(200px) scale(0.2); }
}

/* ================================================================= */
/* ====== END: NEW STYLES FOR INTERACTIVE BACKGROUND DOTS ====== */
/* ================================================================= *//* ========================================
   ROOT VARIABLES & GLOBAL STYLES
   ======================================== */
:root {
    --primary-purple: #6D4E99;
    --accent-orange: #E8674F;
    --dark-bg: #121212;
    --dark-surface: #1e1e1e;
    --light-bg: #f0f0f0;
    --text-light: #ffffff;
    --text-muted: #a0a0a0;
    --text-dark: #222222;
    --font-family: 'Tajawal', sans-serif;
    --transition-fast: 0.3s ease;
    --transition-slow: 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);

    /* New for Interactive BG */
    --dot-size: 8px;
    --dot-color: rgba(255, 255, 255, 0.07);
    --mouse-x: 0px;
    --mouse-y: 0px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--dark-bg);
    color: var(--text-light);
    overflow-x: hidden;
}

/* Custom Scrollbar */
body::-webkit-scrollbar {
    width: 10px;
}
body::-webkit-scrollbar-track {
    background: var(--dark-bg);
}
body::-webkit-scrollbar-thumb {
    background-color: var(--primary-purple);
    border-radius: 20px;
    border: 2px solid var(--dark-bg);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

section {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.section-bg {
    background-color: var(--dark-surface);
}

.section-title {
    text-align: center;
    margin-bottom: 80px;
}

.section-title h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 10px;
    background: linear-gradient(90deg, var(--accent-orange), var(--primary-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

.section-title p {
    font-size: 1.2rem;
    color: var(--text-muted);
}


/* ========================================
   HEADER & NAVIGATION
   ======================================== */
#main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: var(--transition-fast);
}

#main-header.scrolled {
    background: rgba(18, 18, 18, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 15px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* NEW: Styles for the image logo */
.logo-container {
    display: flex;
    align-items: center;
}

.logo-image {
    height: 35px; /* Control the height of the logo */
    width: auto;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 40px;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    position: relative;
    transition: var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
    color: var(--text-light);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--accent-orange);
    transition: var(--transition-fast);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.cta-button-small {
    padding: 10px 22px;
    background-color: var(--primary-purple);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    transition: var(--transition-fast);
}

.cta-button-small:hover {
    background-color: var(--accent-orange);
    transform: scale(1.05);
}

/* ========================================
   HOME SECTION
   ======================================== */
#home {
    height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    background: linear-gradient(rgba(18, 18, 18, 0.9), rgba(18, 18, 18, 0.9)), url(https://images.unsplash.com/photo-1590433215286-424a13a7a937?q=80&w=1932&auto=format&fit=crop) no-repeat center center/cover;
    background-attachment: fixed;
}

.hero-content h1 {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-light);
}

.hero-content h1 span {
    display: block;
    background: linear-gradient(90deg, #fff, #ddd);
     -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    
}

.hero-content .subtitle {
    font-size: 1.4rem;
    max-width: 700px;
    margin: 0 auto 40px;
    color: var(--text-muted);
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.cta-button {
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 700;
    transition: var(--transition-fast);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--accent-orange), #ff7e65);
    z-index: -1;
    transition: var(--transition-fast);
}

.cta-button {
    background: var(--accent-orange);
    color: var(--text-light);
    box-shadow: 0 10px 30px rgba(232, 103, 79, 0.3);
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(232, 103, 79, 0.5);
}

.cta-button-secondary {
    background-color: transparent;
    color: var(--text-light);
    border: 2px solid var(--primary-purple);
}

.cta-button-secondary:hover {
    background-color: var(--primary-purple);
    color: var(--text-light);
}

.scroll-down-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-down-indicator a {
    color: var(--text-light);
    font-size: 2rem;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translate(-50%, 0);
    }
    40% {
        transform: translate(-50%, -20px);
    }
    60% {
        transform: translate(-50%, -10px);
    }
}

/* ========================================
   ABOUT ME SECTION
   ======================================== */
.about-container {
    display: flex;
    flex-direction: column;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 80px;
}

.about-text h3 {
    font-size: 2.5rem;
    color: var(--text-light);
    margin-bottom: 20px;
    font-weight: 700;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.qualifications-list {
    list-style: none;
}

.qualifications-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.qualifications-list i {
    font-size: 1.5rem;
    color: var(--primary-purple);
}

.about-image .image-wrapper {
    border-radius: 50%; /* Make the wrapper perfectly circular */
    overflow: hidden;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
    width: 300px; /* Define a fixed size */
    height: 300px;
    margin: 0 auto; /* Center it if needed */
}

/* NEW: Styles for the image inside the wrapper */
.about-image .image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the image covers the circle without distortion */
}


/* ========================================
   EXPERIENCE SECTION
   ======================================== */
.experience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}
.experience-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition-slow);
}
.experience-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-purple);
    box-shadow: 0 0 30px rgba(109, 78, 153, 0.3);
}
.experience-icon {
    font-size: 3.5rem;
    color: var(--accent-orange);
    margin-bottom: 20px;
}
.experience-card h3 {
    font-size: 1.8rem;
    color: var(--text-light);
    margin-bottom: 15px;
}
.experience-card p {
    color: var(--text-muted);
    line-height: 1.7;
}

/* ========================================
   SKILLS SECTION
   ======================================== */
.skills-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}
.skill-item {
    background-color: var(--dark-bg);
    padding: 20px 30px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 15px;
    border: 1px solid var(--glass-border);
    transition: var(--transition-fast);
}
.skill-item:hover {
    background-color: var(--primary-purple);
    border-color: var(--primary-purple);
    transform: translateY(-5px);
}
.skill-item i {
    font-size: 1.8rem;
    color: var(--accent-orange);
}
.skill-item span {
    font-size: 1.1rem;
    font-weight: 500;
}

/* ========================================
   COURSES SECTION
   ======================================== */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    justify-content: center;
}
.course-card {
    background: var(--dark-surface);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    transition: var(--transition-slow);
    position: relative;
    overflow: hidden;
}
.course-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}
.course-card.primary-card:hover {
    border-color: #4CAF50;
}
.course-card.middle-card:hover {
    border-color: #2196F3;
}

.course-card .course-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}
.course-card.primary-card .course-icon { color: #4CAF50; }
.course-card.middle-card .course-icon { color: #2196F3; }

.course-card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--text-light);
}
.course-description {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 30px;
    flex-grow: 1;
}

/* NEW: Course features list styles */
.course-features {
    list-style: none;
    margin-top: 20px;
    margin-bottom: 30px;
    padding: 0;
}
.course-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 10px;
}
.course-features li i {
    color: var(--primary-purple);
    font-size: 1.2rem;
}

.course-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--glass-border);
    padding-top: 20px;
}
.price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-light);
}
.price sup {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-muted);
}
.course-button {
    background: transparent;
    border: 2px solid var(--accent-orange);
    color: var(--accent-orange);
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition-fast);
}
.course-button:hover {
    background-color: var(--accent-orange);
    color: var(--text-light);
}

/* NEW: Styles for course badges */
.course-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 8px 15px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
}
.primary-badge {
    background-color: #4CAF50;
}
.middle-badge {
    background-color: #2196F3;
}


/* ========================================
   TESTIMONIALS SECTION
   ======================================== */
.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}
.testimonial-card {
    background-color: var(--dark-bg);
    border: 1px solid var(--glass-border);
    padding: 40px;
    border-radius: 20px;
    border-left: 5px solid var(--primary-purple);
}
.testimonial-card p {
    font-size: 1.1rem;
    font-style: italic;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 25px;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}
.author-info h4 {
    color: var(--text-light);
    font-size: 1.2rem;
}
.author-info span {
    color: var(--accent-orange);
    font-size: 0.9rem;
}

/* ========================================
   CONTACT SECTION
   ======================================== */
#contact {
    padding: 0;
}
.contact-container {
    background: linear-gradient(135deg, var(--primary-purple), var(--accent-orange));
    padding: 80px 40px;
    border-radius: 30px;
    text-align: center;
    margin: 60px auto;
}
.contact-container h2 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-light);
    margin-bottom: 15px;
}
.contact-container p {
    font-size: 1.2rem;
    line-height: 1.7;
    margin-bottom: 30px;
    opacity: 0.9;
}
.contact-methods {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
}
.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
}
.contact-item i {
    font-size: 2rem;
}
.contact-item a, .contact-item span {
    color: var(--text-light);
    font-size: 1.2rem;
    font-weight: 500;
    text-decoration: none;
}

/* ========================================
   FOOTER
   ======================================== */
footer {
    background-color: var(--dark-surface);
    text-align: center;
    padding: 25px 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 992px) {
    .nav-links { display: none; }
    .courses-grid { grid-template-columns: 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .about-content { grid-template-columns: 1fr; text-align: center; }
    .about-image { order: -1; margin-bottom: 40px; }
    .about-text { text-align: initial; }
}

@media (max-width: 768px) {
    section { padding: 80px 0; }
    .section-title h2 { font-size: 2.5rem; }
    .hero-content h1 { font-size: 3rem; }
    .hero-buttons { flex-direction: column; }
    .experience-grid { grid-template-columns: 1fr; }
    .contact-methods { flex-direction: column; gap: 20px; }
}

/* ================================================================= */
/* ====== START: NEW STYLES FOR INTERACTIVE BACKGROUND DOTS ====== */
/* ================================================================= */
#bg-dots {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -3;
    pointer-events: none;
    perspective: 800px;
    transform-style: preserve-3d;
}

.bg-dot {
    position: absolute;
    width: var(--dot-size);
    height: var(--dot-size);
    background-color: var(--dot-color);
    border-radius: 50%;
    opacity: 0;
    transform: translateZ(var(--dot-z)) scale(var(--dot-scale));
    animation: fadeInOut var(--dot-animation-duration) ease-in-out forwards;
}

@keyframes fadeInOut {
    0% { opacity: 0; transform: translateZ(-200px) scale(0.2); }
    50% { opacity: 1; transform: translateZ(var(--dot-z)) scale(var(--dot-scale)); }
    100% { opacity: 0; transform: translateZ(200px) scale(0.2); }
}

/* ================================================================= */
/* ====== END: NEW STYLES FOR INTERACTIVE BACKGROUND DOTS ====== */
/* ================================================================= *//* ========================================
   ROOT VARIABLES & GLOBAL STYLES
   ======================================== */
:root {
    --primary-purple: #6D4E99;
    --accent-orange: #E8674F;
    --dark-bg: #121212;
    --dark-surface: #1e1e1e;
    --light-bg: #f0f0f0;
    --text-light: #ffffff;
    --text-muted: #a0a0a0;
    --text-dark: #222222;
    --font-family: 'Tajawal', sans-serif;
    --transition-fast: 0.3s ease;
    --transition-slow: 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);

    /* New for Interactive BG */
    --dot-size: 8px;
    --dot-color: rgba(255, 255, 255, 0.07);
    --mouse-x: 0px;
    --mouse-y: 0px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--dark-bg);
    color: var(--text-light);
    overflow-x: hidden;
}

/* Custom Scrollbar */
body::-webkit-scrollbar {
    width: 10px;
}
body::-webkit-scrollbar-track {
    background: var(--dark-bg);
}
body::-webkit-scrollbar-thumb {
    background-color: var(--primary-purple);
    border-radius: 20px;
    border: 2px solid var(--dark-bg);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

section {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.section-bg {
    background-color: var(--dark-surface);
}

.section-title {
    text-align: center;
    margin-bottom: 80px;
}

.section-title h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 10px;
    background: linear-gradient(90deg, var(--accent-orange), var(--primary-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

.section-title p {
    font-size: 1.2rem;
    color: var(--text-muted);
}


/* ========================================
   HEADER & NAVIGATION
   ======================================== */
#main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: var(--transition-fast);
}

#main-header.scrolled {
    background: rgba(18, 18, 18, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 15px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* NEW: Styles for the image logo */
.logo-container {
    display: flex;
    align-items: center;
}

.logo-image {
    height: 35px; /* Control the height of the logo */
    width: auto;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 40px;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    position: relative;
    transition: var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
    color: var(--text-light);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--accent-orange);
    transition: var(--transition-fast);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.cta-button-small {
    padding: 10px 22px;
    background-color: var(--primary-purple);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    transition: var(--transition-fast);
}

.cta-button-small:hover {
    background-color: var(--accent-orange);
    transform: scale(1.05);
}

/* ========================================
   HOME SECTION
   ======================================== */
#home {
    height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    background: none; /* Removed the old background image */
}

.hero-content h1 {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-light);
}

.hero-content h1 span {
    display: block;
    background: linear-gradient(90deg, #fff, #ddd);
     -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    
}

.hero-content .subtitle {
    font-size: 1.4rem;
    max-width: 700px;
    margin: 0 auto 40px;
    color: var(--text-muted);
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.cta-button {
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 700;
    transition: var(--transition-fast);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--accent-orange), #ff7e65);
    z-index: -1;
    transition: var(--transition-fast);
}

.cta-button {
    background: var(--accent-orange);
    color: var(--text-light);
    box-shadow: 0 10px 30px rgba(232, 103, 79, 0.3);
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(232, 103, 79, 0.5);
}

.cta-button-secondary {
    background-color: transparent;
    color: var(--text-light);
    border: 2px solid var(--primary-purple);
}

.cta-button-secondary:hover {
    background-color: var(--primary-purple);
    color: var(--text-light);
}

.scroll-down-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-down-indicator a {
    color: var(--text-light);
    font-size: 2rem;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translate(-50%, 0);
    }
    40% {
        transform: translate(-50%, -20px);
    }
    60% {
        transform: translate(-50%, -10px);
    }
}

/* ========================================
   ABOUT ME SECTION
   ======================================== */
.about-container {
    display: flex;
    flex-direction: column;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 80px;
}

.about-text h3 {
    font-size: 2.5rem;
    color: var(--text-light);
    margin-bottom: 20px;
    font-weight: 700;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.qualifications-list {
    list-style: none;
}

.qualifications-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.qualifications-list i {
    font-size: 1.5rem;
    color: var(--primary-purple);
}

.about-image .image-wrapper {
    border-radius: 50%; /* Make the wrapper perfectly circular */
    overflow: hidden;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
    width: 300px; /* Define a fixed size */
    height: 300px;
    margin: 0 auto; /* Center it if needed */
}

/* NEW: Styles for the image inside the wrapper */
.about-image .image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the image covers the circle without distortion */
}


/* ========================================
   EXPERIENCE SECTION
   ======================================== */
.experience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}
.experience-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition-slow);
}
.experience-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-purple);
    box-shadow: 0 0 30px rgba(109, 78, 153, 0.3);
}
.experience-icon {
    font-size: 3.5rem;
    color: var(--accent-orange);
    margin-bottom: 20px;
}
.experience-card h3 {
    font-size: 1.8rem;
    color: var(--text-light);
    margin-bottom: 15px;
}
.experience-card p {
    color: var(--text-muted);
    line-height: 1.7;
}

/* ========================================
   SKILLS SECTION
   ======================================== */
.skills-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}
.skill-item {
    background-color: var(--dark-bg);
    padding: 20px 30px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 15px;
    border: 1px solid var(--glass-border);
    transition: var(--transition-fast);
}
.skill-item:hover {
    background-color: var(--primary-purple);
    border-color: var(--primary-purple);
    transform: translateY(-5px);
}
.skill-item i {
    font-size: 1.8rem;
    color: var(--accent-orange);
}
.skill-item span {
    font-size: 1.1rem;
    font-weight: 500;
}

/* ========================================
   COURSES SECTION
   ======================================== */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    justify-content: center;
}
.course-card {
    background: var(--dark-surface);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    transition: var(--transition-slow);
    position: relative;
    overflow: hidden;
}
.course-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}
.course-card.primary-card:hover {
    border-color: #4CAF50;
}
.course-card.middle-card:hover {
    border-color: #2196F3;
}

.course-card .course-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}
.course-card.primary-card .course-icon { color: #4CAF50; }
.course-card.middle-card .course-icon { color: #2196F3; }

.course-card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--text-light);
}
.course-description {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 30px;
    flex-grow: 1;
}

/* NEW: Course features list styles */
.course-features {
    list-style: none;
    margin-top: 20px;
    margin-bottom: 30px;
    padding: 0;
}
.course-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 10px;
}
.course-features li i {
    color: var(--primary-purple);
    font-size: 1.2rem;
}

.course-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--glass-border);
    padding-top: 20px;
}
.price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-light);
}
.price sup {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-muted);
}
.course-button {
    background: transparent;
    border: 2px solid var(--accent-orange);
    color: var(--accent-orange);
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition-fast);
}
.course-button:hover {
    background-color: var(--accent-orange);
    color: var(--text-light);
}

/* NEW: Styles for course badges */
.course-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 8px 15px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
}
.primary-badge {
    background-color: #4CAF50;
}
.middle-badge {
    background-color: #2196F3;
}


/* ========================================
   TESTIMONIALS SECTION
   ======================================== */
.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}
.testimonial-card {
    background-color: var(--dark-bg);
    border: 1px solid var(--glass-border);
    padding: 40px;
    border-radius: 20px;
    border-left: 5px solid var(--primary-purple);
}
.testimonial-card p {
    font-size: 1.1rem;
    font-style: italic;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 25px;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}
.author-info h4 {
    color: var(--text-light);
    font-size: 1.2rem;
}
.author-info span {
    color: var(--accent-orange);
    font-size: 0.9rem;
}

/* ========================================
   CONTACT SECTION
   ======================================== */
#contact {
    padding: 0;
}
.contact-container {
    background: linear-gradient(135deg, var(--primary-purple), var(--accent-orange));
    padding: 80px 40px;
    border-radius: 30px;
    text-align: center;
    margin: 60px auto;
}
.contact-container h2 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-light);
    margin-bottom: 15px;
}
.contact-container p {
    font-size: 1.2rem;
    line-height: 1.7;
    margin-bottom: 30px;
    opacity: 0.9;
}
.contact-methods {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
}
.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
}
.contact-item i {
    font-size: 2rem;
}
.contact-item a, .contact-item span {
    color: var(--text-light);
    font-size: 1.2rem;
    font-weight: 500;
    text-decoration: none;
}

/* ========================================
   FOOTER
   ======================================== */
footer {
    background-color: var(--dark-surface);
    text-align: center;
    padding: 25px 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 992px) {
    .nav-links { display: none; }
    .courses-grid { grid-template-columns: 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .about-content { grid-template-columns: 1fr; text-align: center; }
    .about-image { order: -1; margin-bottom: 40px; }
    .about-text { text-align: initial; }
}

@media (max-width: 768px) {
    section { padding: 80px 0; }
    .section-title h2 { font-size: 2.5rem; }
    .hero-content h1 { font-size: 3rem; }
    .hero-buttons { flex-direction: column; }
    .experience-grid { grid-template-columns: 1fr; }
    .contact-methods { flex-direction: column; gap: 20px; }
}

/* ================================================================= */
/* ====== START: NEW STYLES FOR INTERACTIVE BACKGROUND DOTS ====== */
/* ================================================================= */
#bg-dots {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -3;
    pointer-events: none;
    perspective: 800px;
    transform-style: preserve-3d;
}

.bg-dot {
    position: absolute;
    width: var(--dot-size);
    height: var(--dot-size);
    background-color: var(--dot-color);
    border-radius: 50%;
    opacity: 0;
    transform: translateZ(var(--dot-z)) scale(var(--dot-scale));
    animation: fadeInOut var(--dot-animation-duration) ease-in-out forwards;
}

@keyframes fadeInOut {
    0% { opacity: 0; transform: translateZ(-200px) scale(0.2); }
    50% { opacity: 1; transform: translateZ(var(--dot-z)) scale(var(--dot-scale)); }
    100% { opacity: 0; transform: translateZ(200px) scale(0.2); }
}

/* ================================================================= */
/* ====== END: NEW STYLES FOR INTERACTIVE BACKGROUND DOTS ====== */
/* ================================================================= */