/* ===== General Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #0D0B14;
    --bg-card: #1A1625;
    --color-primary: #8B5CF6;
    --color-accent: #C4B5FD;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Tajawal', sans-serif;
    background: var(--bg-primary);
    color: #fff;
    overflow-x: hidden;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ===== Navbar ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgb(13 11 20 / 19%);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(139, 92, 246, 0.1);
    padding: 0.3rem 0;
    height: 60px;
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.15);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    flex-direction: row;
    /* justify-content: center; */
    align-items: center;
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #8B5CF6, #C4B5FD);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.imge {
    margin-left: 20px;
    width: 50px;
    height: 50px;
    /* background: linear-gradient(135deg, #8B5CF6, #C4B5FD); */

    background: url('./public/8b3fbc88-88d9-440d-b52b-2f32f21e6fad.jpg');  
    background-size: cover;
    background-position: center  ;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;

    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 4rem;
    box-shadow: 0 10px 40px rgba(139, 92, 246, 0.5);
    border:3px solid rgb(139 92 246 / 54);
    transition: var(--transition);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--color-accent);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--color-primary);
}

.nav-link:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    background: var(--bg-card);
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.25rem;
    transition: var(--transition);
}

.menu-toggle:hover {
    background: rgba(139, 92, 246, 0.1);
}

/* ===== Mobile Menu ===== */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(26, 22, 37, 0.98);
    backdrop-filter: blur(20px);
    padding: 2rem;
    transition: var(--transition);
    z-index: 2000;
    border-left: 1px solid rgba(139, 92, 246, 0.2);
}

.mobile-menu.open {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.menu-close {
    background: transparent;
    border: none;
    color: var(--color-primary);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.menu-close:hover {
    transform: rotate(90deg);
    color: var(--color-accent);
}

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mobile-menu-link {
    color: var(--color-accent);
    text-decoration: none;
    font-weight: 500;
    padding: 0.875rem 1rem;
    border-radius: 10px;
    transition: var(--transition);
}

.mobile-menu-link:hover {
    background: rgba(139, 92, 246, 0.15);
    color: var(--color-primary);
}

/* ===== Hero Section ===== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;

    background:
        linear-gradient(135deg, rgba(26, 22, 37, 0.908) 0%, rgba(13, 11, 20, 0.735) 100%),
        url("./public/amir-hossein-bakhtiari-FGkLYqfmve4-unsplash.jpg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    overflow: hidden;
    padding-top: 80px;
}


.hero-section::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
    top: -300px;
    right: -300px;
    border-radius: 50%;
    animation: pulse 8s infinite;
}

.hero-section::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(196, 181, 253, 0.1) 0%, transparent 70%);
    bottom: -250px;
    left: -250px;
    border-radius: 50%;
    animation: pulse 10s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
}



.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    padding: 2rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--color-accent);
    margin-bottom: 1.5rem;
    animation: fadeInDown 0.8s;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
    animation: fadeInUp 0.8s 0.2s backwards;
}

.gradient-text {
    background: linear-gradient(135deg, #8B5CF6, #C4B5FD);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--color-accent);
    margin-bottom: 2.5rem;
    line-height: 1.8;
    animation: fadeInUp 0.8s 0.4s backwards;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s 0.6s backwards;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.75rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    font-family: inherit;
}

.btn-primary {
    background: linear-gradient(135deg, #8B5CF6, #7C3AED);
    color: white;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(139, 92, 246, 0.4);
}

.btn-secondary {
    background: var(--bg-card);
    color: var(--color-accent);
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.btn-secondary:hover {
    background: rgba(139, 92, 246, 0.1);
    border-color: var(--color-primary);
    transform: translateY(-3px);
}

.btn-accent {
    background: rgba(196, 181, 253, 0.1);
    color: var(--color-accent);
    border: 1px solid rgba(196, 181, 253, 0.3);
}

.btn-accent:hover {
    background: rgba(196, 181, 253, 0.2);
    border-color: var(--color-accent);
    transform: translateY(-3px);
}

/* ===== Shine Effect ===== */
.shine-effect {
    position: relative;
    overflow: hidden;
}

.shine-effect::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.03) 50%,
        transparent 70%
    );
    transform: rotate(45deg);
    transition: all 0.6s;
}

.shine-effect:hover::before {
    left: 100%;
}

/* ===== Quick Access Section ===== */
.quick-access-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #0D0B14 0%, #1A1625 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(196, 181, 253, 0.1));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--color-primary);
    font-size: 2.5rem;
    box-shadow: 0 8px 30px rgba(139, 92, 246, 0.3);
    animation: float 3s infinite;
}

.filter-container {
    max-width: 900px;
    margin: 0 auto;
}

.filter-card {
    background: var(--bg-card);
    padding: 3rem;
    border-radius: 24px;
    border: 1px solid rgba(139, 92, 246, 0.2);
    box-shadow: 0 10px 40px rgba(139, 92, 246, 0.15);
}

.filter-group {
    margin-bottom: 2rem;
}

.filter-group label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-accent);
    margin-bottom: 0.75rem;
}

.filter-group label i {
    color: var(--color-primary);
    font-size: 1.25rem;
}

.filter-select {
    width: 100%;
    padding: 1rem 1.25rem;
    background: rgba(13, 11, 20, 0.5);
    border: 2px solid rgba(139, 92, 246, 0.3);
    border-radius: 12px;
    color: white;
    font-size: 1.05rem;
    font-family: 'Tajawal', sans-serif;
    transition: all 0.3s;
    cursor: pointer;
}

.filter-select:hover {
    border-color: rgba(139, 92, 246, 0.5);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.2);
}

.filter-select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.15);
}

.filter-select:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.filter-select option {
    background: #1A1625;
    padding: 1rem;
}

.btn-large {
    width: 100%;
    padding: 1.25rem 2rem;
    font-size: 1.125rem;
    margin-top: 1rem;
    position: relative;
    overflow: hidden;
}

.btn-large::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-large:hover::after {
    width: 300px;
    height: 300px;
}

.btn-large:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

/* ===== Features Section ===== */
.features-section {
    padding: 6rem 0;
    background: var(--bg-primary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(139, 92, 246, 0.1);
    transition: var(--transition);
    text-align: center;
    position: relative;
}

.feature-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(139, 92, 246, 0.15) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.feature-card:hover::after {
    opacity: 1;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(139, 92, 246, 0.4);
    box-shadow: 0 15px 40px rgba(139, 92, 246, 0.25);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(196, 181, 253, 0.1));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--color-primary);
    font-size: 1.75rem;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.2);
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.35);
}

.feature-card h3 {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
    color: #fff;
}

.feature-card p {
    color: var(--color-accent);
    line-height: 1.7;
}

/* ===== Stages Section ===== */
.stages-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, #0D0B14 0%, #1A1625 100%);
}

.section-title {
    text-align: center;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, #fff, var(--color-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    color: var(--color-accent);
    font-size: 1.125rem;
    margin-bottom: 3rem;
}

.stages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.stage-card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(139, 92, 246, 0.15);
    transition: var(--transition);
    cursor: pointer;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.stage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    transform: scaleX(0);
    transition: var(--transition);
}

.stage-card:hover::before {
    transform: scaleX(1);
}

.stage-card:hover {
    transform: translateY(-10px);
    border-color: rgba(139, 92, 246, 0.5);
    box-shadow: 0 20px 50px rgba(139, 92, 246, 0.25);
}

.stage-icon {
    font-size: 3.5rem;
    margin-bottom: 1.25rem;
    filter: drop-shadow(0 4px 10px rgba(139, 92, 246, 0.3));
}

.stage-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: #fff;
}

.stage-card p {
    color: var(--color-accent);
    margin-bottom: 1.5rem;
}

.stage-info {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    align-items: center;
    color: var(--color-primary);
    font-weight: 600;
    font-size: 0.95rem;
}

.stage-info i {
    font-size: 1rem;
}

/* ===== About Section Enhanced ===== */
.about-section {
    padding: 6rem 0;
    background: var(--bg-primary);
}

.about-main-card {
    background: linear-gradient(135deg, var(--bg-card), #15111f);
    border-radius: 24px;
    padding: 3rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(139, 92, 246, 0.2);
    box-shadow: 0 10px 40px rgba(139, 92, 246, 0.15);
}

.teacher-profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 3rem;
}

.teacher-image-wrapper {
    position: relative;
    margin-bottom: 2rem;
}

.teacher-avatar {
    width: 150px;
    height: 150px;
    /* background: linear-gradient(135deg, #8B5CF6, #C4B5FD); */

    background: url('./public/8b3fbc88-88d9-440d-b52b-2f32f21e6fad.jpg');  
    background-size: cover;
    background-position: center  !important ;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;

    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 4rem;
    box-shadow: 0 10px 40px rgba(139, 92, 246, 0.5);
    border: 4px solid rgba(139, 92, 246, 0.3);
    transition: var(--transition);
}
/* 
.about-profile {
    border-radius: 50%;
    background: url('./public/8b3fbc88-88d9-440d-b52b-2f32f21e6fad.jpg');
    width: 70%px; 
    height: 70%px;          
    background-size: cover;
    background-position: center  !important ;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    
} */

.teacher-avatar:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 50px rgba(139, 92, 246, 0.6);
}

.avatar-badge {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    border: 3px solid var(--bg-card);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.teacher-info h2 {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, #fff, var(--color-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.teacher-title {
    color: var(--color-accent);
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.teacher-stats {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 50px;
    color: var(--color-accent);
    font-weight: 600;
}

.stat-item i {
    color: var(--color-primary);
    font-size: 1.25rem;
}

.teacher-bio {
    background: rgba(13, 11, 20, 0.5);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(139, 92, 246, 0.15);
}

.teacher-bio h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--color-primary);
    margin-bottom: 1.25rem;
    font-size: 1.5rem;
}

.teacher-bio p {
    color: var(--color-accent);
    line-height: 1.9;
    font-size: 1.05rem;
}

.about-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.motivational-quote {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(196, 181, 253, 0.1));
    padding: 3rem;
    border-radius: 20px;
    border: 2px solid rgba(139, 92, 246, 0.3);
    text-align: center;
    position: relative;
    box-shadow: 0 10px 40px rgba(139, 92, 246, 0.2);
}

.quote-icon {
    font-size: 3rem;
    color: rgba(139, 92, 246, 0.3);
    margin-bottom: 1rem;
}


.quote-text {
    font-size: 1.25rem;
    line-height: 1.8;
    color: #fff;
    margin-bottom: 1.5rem;
    font-style: italic;
    font-weight: 500;
}

.quote-author {
    font-size: 1.1rem;
    color: var(--color-primary);
    font-weight: 700;
}

.about-card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(139, 92, 246, 0.2);
    transition: var(--transition);
}

.about-card:hover {
    transform: translateY(-5px);
    border-color: rgba(139, 92, 246, 0.5);
    box-shadow: 0 15px 40px rgba(139, 92, 246, 0.2);
}

.about-card-icon {
    width: 60px;
    height: 60px;
    background: rgba(139, 92, 246, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--color-primary);
    font-size: 1.75rem;
}

.about-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.about-card p {
    color: var(--color-accent);
    line-height: 1.8;
}

/* ===== Contact Section Enhanced ===== */
.contact-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, #1A1625 0%, #0D0B14 100%);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.contact-card {
    background: var(--bg-card);
    padding: 3rem 2rem;
    border-radius: 20px;
    border: 2px solid rgba(139, 92, 246, 0.2);
    text-align: center;
    text-decoration: none;
    color: white;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    position: relative;
}

.contact-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    color: white;
    padding: 0.4rem 0.9rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
}

.contact-card i {
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-12px) scale(1.03);
}

.contact-card:hover i {
    transform: scale(1.15) rotate(5deg);
}

.contact-card.whatsapp {
    border-color: rgba(37, 211, 102, 0.3);
}

.contact-card.whatsapp .contact-badge {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.contact-card.whatsapp:hover {
    border-color: rgba(37, 211, 102, 0.7);
    box-shadow: 0 25px 60px rgba(37, 211, 102, 0.3);
}

.contact-card.whatsapp i {
    color: #25D366;
}

.contact-card.youtube {
    border-color: rgba(255, 0, 0, 0.3);
}

.contact-card.youtube .contact-badge {
    background: linear-gradient(135deg, #FF0000, #CC0000);
}

.contact-card.youtube:hover {
    border-color: rgba(255, 0, 0, 0.7);
    box-shadow: 0 25px 60px rgba(255, 0, 0, 0.3);
}

.contact-card.youtube i {
    color: #FF0000;
}

.contact-card.instagram {
    border-color: rgba(193, 53, 132, 0.3);
}

.contact-card.instagram .contact-badge {
    background: linear-gradient(135deg, #C13584, #E1306C);
}

.contact-card.instagram:hover {
    border-color: rgba(193, 53, 132, 0.7);
    box-shadow: 0 25px 60px rgba(193, 53, 132, 0.3);
}

.contact-card.instagram i {
    color: #C13584;
}

.contact-card.phone {
    border-color: rgba(139, 92, 246, 0.3);
}

.contact-card.phone .contact-badge {
    background: linear-gradient(135deg, #8B5CF6, #C4B5FD);
}

.contact-card.phone:hover {
    border-color: rgba(139, 92, 246, 0.7);
    box-shadow: 0 25px 60px rgba(139, 92, 246, 0.3);
}

.contact-card.phone i {
    color: var(--color-primary);
}

.contact-card h3 {
    font-size: 1.5rem;
    margin: 0;
}

.contact-card p {
    color: var(--color-accent);
    margin: 0;
}

/* ===== Footer ===== */
.footer {
    background: #0a0812;
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(139, 92, 246, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #8B5CF6, #C4B5FD);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-section h4 {
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
    color: var(--color-primary);
}

.footer-section p {
    color: var(--color-accent);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section ul li a {
    color: var(--color-accent);
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

.footer-section ul li a:hover {
    color: var(--color-primary);
    transform: translateX(-5px);
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.footer-social a {
    width: 45px;
    height: 45px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    font-size: 1.25rem;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--color-primary);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.3);
}



.awdd a {
    color: var(--color-accent);
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
    font-size: 1.6rem;
}

.awdd a:hover {
    color: var(--color-primary);
    transform: translateX(-5px);
}
.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(139, 92, 246, 0.1);
    color: var(--color-accent);
}

.footer-bottom p {
    margin: 0.5rem 0;
}

.footer-bottom i {
    color: #e25555;
    animation: heartbeat 1.5s infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.1); }
    50% { transform: scale(1); }
}

/* ===== WhatsApp Float Button ===== */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, #257fd3, #12458c);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    box-shadow: 0 6px 25px rgba(37, 124, 211, 0.4);
    z-index: 999;
    transition: var(--transition);
    text-decoration: none;
    animation: float 3s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.15);
    box-shadow: 0 8px 35px rgba(37, 130, 211, 0.6);
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ===== Modal ===== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    z-index: 3000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--bg-card);
    border-radius: 24px;
    padding: 3rem 2rem;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    border: 1px solid rgba(139, 92, 246, 0.3);
    animation: modalSlideUp 0.4s;
}

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    color: var(--color-primary);
    width: 40px;
    height: 40px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1.25rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: var(--color-primary);
    color: white;
    transform: rotate(90deg);
}

.modal-content h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

.modal-subtitle {
    text-align: center;
    color: var(--color-accent);
    margin-bottom: 2.5rem;
}

.semesters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.semester-card {
    background: linear-gradient(135deg, #1A1625, #15111f);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(139, 92, 246, 0.2);
    transition: var(--transition);
    cursor: pointer;
}

.semester-card:hover {
    transform: translateY(-5px);
    border-color: rgba(139, 92, 246, 0.5);
    box-shadow: 0 15px 40px rgba(139, 92, 246, 0.2);
}

.semester-number {
    display: inline-block;
    background: rgba(139, 92, 246, 0.15);
    color: var(--color-primary);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.semester-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.content-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.content-card {
    background: linear-gradient(135deg, #1A1625, #15111f);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(139, 92, 246, 0.2);
    transition: var(--transition);
    text-align: center;
}

.content-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(139, 92, 246, 0.25);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--color-primary);
}

.content-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #fff;
}

.content-card p {
    color: var(--color-accent);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.content-card .btn {
    width: 100%;
    justify-content: center;
}

/* ===== Responsive Enhanced ===== */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .logo {
        font-size: 0.8rem;
    }

    .menu-toggle {
        display: flex;
    }

    .hero-section {
        min-height: 85vh;
        padding-top: 100px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    .features-grid,
    .stages-grid,
    .about-details-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .teacher-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .teacher-profile {
        padding: 1rem;
    }

    .teacher-avatar {
        width: 120px;
        height: 120px;
        font-size: 3rem;
    }

    .teacher-info h2 {
        font-size: 2rem;
    }

    .filter-card {
        padding: 2rem 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .whatsapp-float {
        width: 60px;
        height: 60px;
        bottom: 1.5rem;
        left: 1.5rem;
        font-size: 1.75rem;
    }

    .modal-content {
        padding: 2.5rem 1.5rem;
    }

    .semesters-grid,
    .content-cards {
        grid-template-columns: 1fr;
    }

    .about-main-card {
        padding: 2rem 1.5rem;
    }

    .motivational-quote {
        padding: 2rem 1.5rem;
    }

    .quote-text {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .hero-content {
        padding: 1rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .feature-card,
    .stage-card,
    .about-card {
        padding: 2rem 1.5rem;
    }

    .teacher-avatar {
        width: 100px;
        height: 100px;
        font-size: 2.5rem;
    }

    .avatar-badge {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .filter-group label {
        font-size: 1rem;
    }

    .filter-select {
        font-size: 0.95rem;
        padding: 0.875rem 1rem;
    }

    .btn-large {
        font-size: 1rem;
        padding: 1rem 1.5rem;
    }
}