/* Educational Services Page - Glassmorphism Design with Blue-Pink Gradients */

/* Global Glassmorphism Styles */
:root {
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-shadow: rgba(0, 0, 0, 0.1);
    --gradient-blue-pink: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    --gradient-blue: linear-gradient(135deg, #667eea 0%, #4facfe 100%);
    --gradient-pink: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.dark {
    --glass-bg: rgba(0, 0, 0, 0.3);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: rgba(0, 0, 0, 0.3);
}

/* Base Glassmorphism Effect */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px 0 var(--glass-shadow);
}

/* Navigation Styles */
.nav-link {
    color: #374151;
    display: flex;
    align-items: center;
    padding: 0.5rem 0.75rem;
    border-radius: 0.75rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    font-weight: 600;
}
.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-blue-pink);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: -1;
}
.nav-link:hover::before {
    left: 0;
    opacity: 0.1;
}
.nav-link:hover { 
    color: #667eea; 
    transform: translateY(-2px);
}
.dark .nav-link { color: #D1D5DB; }
.dark .nav-link:hover { color: #f093fb; }

.mobile-nav-link {
    color: #374151;
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(102, 126, 234, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(102, 126, 234, 0.15);
    margin-bottom: 0.5rem;
    font-weight: 600;
}
.mobile-nav-link:hover { 
    color: #667eea; 
    background: rgba(102, 126, 234, 0.1);
    border-color: rgba(102, 126, 234, 0.3);
    transform: translateX(5px);
}
.dark .mobile-nav-link { color: #D1D5DB; background: rgba(255, 255, 255, 0.05); }
.dark .mobile-nav-link:hover { 
    color: #f093fb; 
    background: rgba(240, 147, 251, 0.1);
    border-color: rgba(240, 147, 251, 0.3);
}

/* Button Styles */
.btn-primary {
    background: var(--gradient-blue-pink);
    color: #FFFFFF;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 25px -5px rgba(102, 126, 234, 0.4);
}
.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 100%);
    transition: left 0.5s ease;
}
.btn-primary:hover::before {
    left: 100%;
}
.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 35px -5px rgba(102, 126, 234, 0.6);
}

.btn-secondary {
    background: rgba(255,255,255,0.15);
    color: #FFFFFF;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
.btn-secondary:hover { 
    background: rgba(255,255,255,0.25); 
    border-color: rgba(255,255,255,0.5);
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.15);
}

.btn-white {
    background: rgba(255, 255, 255, 0.95);
    color: #667eea;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.8);
    box-shadow: 0 10px 25px rgba(255,255,255,0.2);
}
.btn-white:hover { 
    background: #FFFFFF; 
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 35px rgba(255,255,255,0.3);
}

.btn-outline-white {
    border: 2px solid rgba(255,255,255,0.8);
    color: #FFFFFF;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.btn-outline-white:hover { 
    background: rgba(255,255,255,0.95); 
    color: #667eea;
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(255,255,255,0.3);
}

.btn-lg { 
    padding: 1rem 2rem; 
    font-size: 1.125rem; 
    line-height: 1.75rem; 
}

/* Education Card Styles - Glassmorphism */
.education-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 1.5rem;
    box-shadow: 0 8px 32px 0 rgba(102, 126, 234, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 2rem;
    border: 1px solid rgba(102, 126, 234, 0.2);
    position: relative;
    overflow: hidden;
}
.education-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: var(--gradient-blue-pink);
    opacity: 0;
    transition: opacity 0.5s ease;
    transform: rotate(45deg);
}
.education-card:hover::before {
    opacity: 0.05;
}
.education-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 60px 0 rgba(102, 126, 234, 0.3);
    border-color: rgba(102, 126, 234, 0.4);
}
.dark .education-card { 
    background: rgba(31, 41, 55, 0.7); 
    border-color: rgba(255, 255, 255, 0.1); 
}
.dark .education-card:hover { 
    border-color: rgba(240, 147, 251, 0.4);
    box-shadow: 0 20px 60px 0 rgba(240, 147, 251, 0.2);
}

.card-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}
.education-card:hover .card-icon { 
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.card-title {
    font-size: 1.25rem;
    line-height: 1.75rem;
    font-weight: 700;
    background: var(--gradient-blue-pink);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}
.dark .card-title { 
    background: linear-gradient(135deg, #f093fb 0%, #667eea 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.card-description {
    color: #374151;
    margin-bottom: 1.5rem;
    line-height: 1.625;
    position: relative;
    z-index: 1;
    font-weight: 500;
}
.dark .card-description { color: #D1D5DB; }

.card-features { 
    margin-bottom: 1.5rem; 
    position: relative;
    z-index: 1;
}

.card-button {
    width: 100%;
    background: var(--gradient-blue-pink);
    color: #FFFFFF;
    font-weight: 600;
    padding: 0.75rem 1rem;
    border-radius: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    box-shadow: 0 10px 25px -5px rgba(102, 126, 234, 0.4);
    position: relative;
    z-index: 1;
    overflow: hidden;
}
.card-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}
.card-button:hover::before {
    width: 300px;
    height: 300px;
}
.card-button:hover { 
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 40px -5px rgba(102, 126, 234, 0.6);
}

/* Creative Service Card Styles - Glassmorphism */
.creative-service-card {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 1.25rem;
    box-shadow: 0 8px 32px 0 rgba(102, 126, 234, 0.12);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 1.5rem;
    border: 1px solid rgba(102, 126, 234, 0.2);
    position: relative;
    overflow: hidden;
}
.creative-service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-blue-pink);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}
.creative-service-card:hover::after {
    opacity: 0.05;
}
.creative-service-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 20px 50px 0 rgba(240, 147, 251, 0.25);
    border-color: rgba(240, 147, 251, 0.4);
}
.dark .creative-service-card { 
    background: rgba(31, 41, 55, 0.6); 
    border-color: rgba(255, 255, 255, 0.1); 
}
.dark .creative-service-card:hover { 
    border-color: rgba(102, 126, 234, 0.4);
    box-shadow: 0 20px 50px 0 rgba(102, 126, 234, 0.2);
}

.service-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    position: relative;
    z-index: 1;
}
.creative-service-card:hover .service-icon { 
    transform: scale(1.15) rotate(-5deg);
    box-shadow: 0 12px 30px rgba(0,0,0,0.18);
}

.service-title {
    font-size: 1.125rem;
    line-height: 1.75rem;
    font-weight: 700;
    background: var(--gradient-blue-pink);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 1;
}
.dark .service-title { 
    background: linear-gradient(135deg, #f093fb 0%, #4facfe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.service-description {
    font-size: 0.875rem;
    line-height: 1.625;
    color: #374151;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
    font-weight: 500;
}
.dark .service-description { color: #D1D5DB; }

.service-skills { 
    display: flex; 
    flex-wrap: wrap; 
    gap: 0.5rem; 
    position: relative;
    z-index: 1;
}

.skill-tag {
    background: rgba(102, 126, 234, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.2);
    color: #667eea;
    font-size: 0.75rem;
    line-height: 1rem;
    padding: 0.375rem 0.875rem;
    border-radius: 9999px;
    font-weight: 500;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}
.skill-tag:hover {
    background: rgba(102, 126, 234, 0.2);
    border-color: rgba(102, 126, 234, 0.4);
    transform: translateY(-2px);
}
.dark .skill-tag { 
    background: rgba(240, 147, 251, 0.15); 
    border-color: rgba(240, 147, 251, 0.2);
    color: #f093fb; 
}
.dark .skill-tag:hover {
    background: rgba(240, 147, 251, 0.25);
    border-color: rgba(240, 147, 251, 0.4);
}

/* Portfolio Styles - Glassmorphism */
.portfolio-item {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 1.25rem;
    box-shadow: 0 8px 32px 0 rgba(102, 126, 234, 0.12);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    border: 1px solid rgba(102, 126, 234, 0.2);
}
.portfolio-item:hover { 
    box-shadow: 0 20px 50px 0 rgba(102, 126, 234, 0.25);
    transform: translateY(-8px);
    border-color: rgba(102, 126, 234, 0.4);
}
.dark .portfolio-item { 
    background: rgba(31, 41, 55, 0.65); 
    border-color: rgba(255, 255, 255, 0.1); 
}
.dark .portfolio-item:hover {
    border-color: rgba(240, 147, 251, 0.4);
    box-shadow: 0 20px 50px 0 rgba(240, 147, 251, 0.2);
}

.portfolio-image { 
    height: 12rem; 
    display: flex; 
    align-items: center; 
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.portfolio-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-blue-pink);
    opacity: 0.1;
}

.portfolio-title {
    font-size: 1.125rem;
    line-height: 1.75rem;
    font-weight: 700;
    background: var(--gradient-blue-pink);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    padding: 1rem;
    padding-bottom: 0.5rem;
}
.dark .portfolio-title { 
    background: linear-gradient(135deg, #4facfe 0%, #f093fb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.portfolio-description {
    color: #374151;
    font-size: 0.875rem;
    line-height: 1.625;
    padding-left: 1rem;
    padding-right: 1rem;
    padding-bottom: 1rem;
    font-weight: 500;
}
.dark .portfolio-description { color: #D1D5DB; }

/* Technology Service Section Styles - Glassmorphism */
.tech-service-section {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 1.5rem;
    box-shadow: 0 8px 32px 0 rgba(102, 126, 234, 0.15);
    padding: 2rem;
    border: 1px solid rgba(102, 126, 234, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.tech-service-section:hover {
    box-shadow: 0 20px 60px 0 rgba(102, 126, 234, 0.25);
    border-color: rgba(102, 126, 234, 0.4);
}
.dark .tech-service-section { 
    background: rgba(31, 41, 55, 0.7); 
    border-color: rgba(255, 255, 255, 0.1); 
}
.dark .tech-service-section:hover {
    border-color: rgba(240, 147, 251, 0.4);
    box-shadow: 0 20px 60px 0 rgba(240, 147, 251, 0.2);
}

.section-header { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.5rem; }

.header-icon { 
    width: 3rem; 
    height: 3rem; 
    border-radius: 0.75rem; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    flex-shrink: 0;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}
.tech-service-section:hover .header-icon {
    transform: scale(1.1) rotate(-5deg);
}

.section-title { 
    font-size: 1.5rem; 
    line-height: 2rem; 
    font-weight: 700; 
    background: var(--gradient-blue-pink);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.dark .section-title { 
    background: linear-gradient(135deg, #4facfe 0%, #f093fb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-description { color: #374151; margin-bottom: 1.5rem; line-height: 1.625; font-weight: 500; }
.dark .section-description { color: #D1D5DB; }

.tech-stack { margin-bottom: 1.5rem; }

.tech-stack-title { 
    font-size: 1.125rem; 
    line-height: 1.75rem; 
    font-weight: 600; 
    color: #1F2937; 
    margin-bottom: 0.75rem; 
}
.dark .tech-stack-title { color: #FFFFFF; }

.tech-tag {
    background: rgba(102, 126, 234, 0.15);
    border: 1px solid rgba(102, 126, 234, 0.3);
    color: #667eea;
    font-size: 0.875rem;
    line-height: 1.25rem;
    padding: 0.375rem 0.875rem;
    border-radius: 9999px;
    font-weight: 500;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    display: inline-block;
}
.tech-tag:hover {
    background: rgba(102, 126, 234, 0.25);
    border-color: rgba(102, 126, 234, 0.5);
    transform: translateY(-2px);
}
.dark .tech-tag { 
    background: rgba(240, 147, 251, 0.15); 
    border-color: rgba(240, 147, 251, 0.3);
    color: #f093fb; 
}
.dark .tech-tag:hover {
    background: rgba(240, 147, 251, 0.25);
    border-color: rgba(240, 147, 251, 0.5);
}

.project-examples > * + * { margin-top: 0.5rem; }

.examples-title { font-size: 1.125rem; line-height: 1.75rem; font-weight: 600; color: #1F2937; margin-bottom: 0.75rem; }
.dark .examples-title { color: #FFFFFF; }

.example-item { color: #4B5563; display: flex; align-items: flex-start; gap: 0.5rem; }
.dark .example-item { color: #D1D5DB; }
.example-item::before { content: "→"; color: #10B981; font-weight: 700; }

/* Learning Path Card Styles - Glassmorphism */
.learning-path-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 1.5rem;
    box-shadow: 0 8px 32px 0 rgba(102, 126, 234, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 2rem;
    border: 1px solid rgba(102, 126, 234, 0.2);
    position: relative;
    overflow: hidden;
}
.learning-path-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: var(--gradient-blue-pink);
    opacity: 0;
    transition: opacity 0.5s ease;
    transform: rotate(45deg);
}
.learning-path-card:hover::before {
    opacity: 0.05;
}
.learning-path-card:hover { 
    box-shadow: 0 20px 60px 0 rgba(102, 126, 234, 0.3);
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(102, 126, 234, 0.4);
}
.dark .learning-path-card { 
    background: rgba(31, 41, 55, 0.65); 
    border-color: rgba(255, 255, 255, 0.1); 
}
.dark .learning-path-card:hover {
    border-color: rgba(240, 147, 251, 0.4);
    box-shadow: 0 20px 60px 0 rgba(240, 147, 251, 0.25);
}

.learning-path-card.featured { 
    border: 2px solid transparent;
    background: linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.7)), var(--gradient-blue-pink);
    background-clip: padding-box, border-box;
    background-origin: padding-box, border-box;
    box-shadow: 0 15px 45px 0 rgba(102, 126, 234, 0.25);
}
.dark .learning-path-card.featured { 
    background: linear-gradient(rgba(31, 41, 55, 0.7), rgba(31, 41, 55, 0.7)), var(--gradient-blue-pink);
    background-clip: padding-box, border-box;
    background-origin: padding-box, border-box;
}

.path-level { text-align: center; margin-bottom: 1.5rem; position: relative; z-index: 1; }

.path-title { 
    font-size: 1.25rem; 
    line-height: 1.75rem; 
    font-weight: 700; 
    background: var(--gradient-blue-pink);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.dark .path-title { 
    background: linear-gradient(135deg, #4facfe 0%, #f093fb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.featured-badge {
    position: absolute;
    top: -0.5rem;
    right: 0;
    background: var(--gradient-blue-pink);
    color: #FFFFFF;
    font-size: 0.75rem;
    line-height: 1rem;
    padding: 0.375rem 0.875rem;
    border-radius: 9999px;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.path-content > * + * { margin-top: 1rem; }

.path-description { 
    color: #374151; 
    text-align: center; 
    position: relative;
    z-index: 1;
    font-weight: 500;
}
.dark .path-description { color: #D1D5DB; }

.path-curriculum { 
    background: rgba(102, 126, 234, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(102, 126, 234, 0.1);
    border-radius: 0.75rem; 
    padding: 1rem;
    position: relative;
    z-index: 1;
}
.dark .path-curriculum { 
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.curriculum-title { 
    font-weight: 600; 
    color: #1F2937; 
    margin-bottom: 0.5rem; 
}
.dark .curriculum-title { color: #FFFFFF; }

.curriculum-list > * + * { margin-top: 0.25rem; }

.curriculum-list li { 
    font-size: 0.875rem; 
    line-height: 1.25rem; 
    color: #374151; 
    display: flex; 
    align-items: center;
    transition: all 0.3s ease;
    font-weight: 500;
}
.curriculum-list li:hover {
    color: #667eea;
    transform: translateX(5px);
}
.dark .curriculum-list li { color: #D1D5DB; }
.dark .curriculum-list li:hover { color: #f093fb; }
.curriculum-list li::before { 
    content: "✓"; 
    color: #667eea; 
    font-weight: 700; 
    margin-right: 0.5rem; 
}
.dark .curriculum-list li::before { color: #f093fb; }

.path-duration {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    line-height: 1.25rem;
    color: #6B7280;
    background: rgba(102, 126, 234, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 0.75rem;
    padding: 0.625rem 1.25rem;
    position: relative;
    z-index: 1;
}
.dark .path-duration { 
    color: #9CA3AF; 
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
}

/* Animation Classes */
.animate-fadeInUp { 
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards; 
}

@keyframes fadeInUp {
    from { 
        opacity: 0; 
        transform: translateY(40px);
    }
    to { 
        opacity: 1; 
        transform: translateY(0);
    }
}

/* Shimmer Animation for Glass Elements */
@keyframes shimmer {
    0% { background-position: -1000px 0; }
    100% { background-position: 1000px 0; }
}

.glass-shimmer {
    background: linear-gradient(
        90deg,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.2) 50%,
        rgba(255,255,255,0) 100%
    );
    background-size: 1000px 100%;
    animation: shimmer 3s infinite;
}

/* Responsive Adjustments - Mobile First */
@media (max-width: 640px) {
    .education-card,
    .learning-path-card,
    .creative-service-card { 
        padding: 1.25rem;
        border-radius: 1rem;
    }

    .tech-service-section { 
        padding: 1.25rem;
        border-radius: 1rem;
    }

    .btn-primary,
    .btn-secondary,
    .btn-white,
    .btn-outline-white { 
        width: 100%; 
        text-align: center;
        padding: 0.875rem 1.25rem;
    }

    .btn-lg {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }

    .card-icon {
        width: 3rem;
        height: 3rem;
    }

    .service-icon {
        width: 2.5rem;
        height: 2.5rem;
    }

    .card-title,
    .path-title {
        font-size: 1.125rem;
    }

    .section-title {
        font-size: 1.25rem;
    }

    .portfolio-image {
        height: 10rem;
    }

    /* Stack section headers vertically on mobile */
    .section-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    /* Better spacing for mobile */
    .service-skills,
    .tech-stack > div {
        gap: 0.375rem;
    }

    .skill-tag,
    .tech-tag {
        font-size: 0.7rem;
        padding: 0.3rem 0.6rem;
    }
}

@media (min-width: 641px) and (max-width: 768px) {
    .education-card,
    .learning-path-card { 
        padding: 1.5rem;
    }

    .tech-service-section { 
        padding: 1.75rem;
    }

    .card-icon {
        width: 3.5rem;
        height: 3.5rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .education-card,
    .learning-path-card { 
        padding: 1.75rem;
    }

    .tech-service-section { 
        padding: 1.875rem;
    }
}

/* Extra smooth scrolling on mobile */
@media (max-width: 768px) {
    * {
        -webkit-overflow-scrolling: touch;
    }
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Dark Mode Enhancements */
@media (prefers-color-scheme: dark) {
    .glass {
        background: rgba(0, 0, 0, 0.4);
    }
}

/* Animated Gradient Background */
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Language Selector Enhancement */
#languageSelect {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 0.75rem;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

#languageSelect:hover {
    border-color: rgba(102, 126, 234, 0.5);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.2);
}

#languageSelect:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
}

.dark #languageSelect {
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2);
}

/* Mobile Menu Enhancement */
#mobileMenuBtn {
    padding: 0.5rem;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    background: rgba(102, 126, 234, 0.1);
    border: 1px solid transparent;
}

#mobileMenuBtn:hover {
    background: rgba(102, 126, 234, 0.2);
    border-color: rgba(102, 126, 234, 0.3);
    transform: scale(1.05);
}

#mobileMenu {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 1rem;
    padding: 1rem;
    margin-top: 1rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.dark #mobileMenu {
    background: rgba(31, 41, 55, 0.95);
}

/* Icon Enhancements */
.fas, .fa {
    transition: all 0.3s ease;
}

/* Touch-friendly sizing for mobile */
@media (max-width: 640px) {
    button, a, select {
        min-height: 44px;
        min-width: 44px;
    }
}

/* Grid Responsive Improvements */
@media (max-width: 640px) {
    .grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
}

@media (min-width: 641px) and (max-width: 768px) {
    .grid.md\:grid-cols-2,
    .grid.md\:grid-cols-3,
    .grid.md\:grid-cols-4 {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.5rem !important;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .grid.lg\:grid-cols-4 {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    .grid.lg\:grid-cols-3 {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* Container Improvements */
.container {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 640px) {
    .container {
        max-width: 640px;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 768px;
    }
}

@media (min-width: 1024px) {
    .container {
        max-width: 1024px;
    }
}

@media (min-width: 1280px) {
    .container {
        max-width: 1280px;
    }
}

/* Utility Classes for Glassmorphism */
.glass-light {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.glass-dark {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Text Gradient Utility */
.text-gradient {
    background: var(--gradient-blue-pink);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus Visible for Accessibility */
*:focus-visible {
    outline: 2px solid #667eea;
    outline-offset: 2px;
    border-radius: 0.25rem;
}

/* Modern Footer Styles */
.footer-link:hover {
    color: rgba(255, 255, 255, 1) !important;
    transform: translateX(5px);
    text-shadow: 0 0 10px rgba(102, 126, 234, 0.5);
}

.social-link:hover {
    background: linear-gradient(135deg, #667eea 0%, #f093fb 100%) !important;
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
    border-color: rgba(255, 255, 255, 0.4) !important;
}

.social-link:hover i {
    color: #ffffff !important;
}

/* Footer Responsive */
@media (max-width: 768px) {
    footer .grid {
        grid-template-columns: 1fr !important;
        text-align: center;
    }
    
    footer .footer-link {
        justify-content: center !important;
    }
    
    footer .flex.items-center {
        justify-content: center !important;
    }
}

/* Floating Home Button */
.home-nav-center {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
    display: none; /* Hidden by default, shown on mobile via media query */
}

@media (max-width: 768px) {
    .home-nav-center {
        display: block;
    }
}

.home-nav-btn {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 3px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    color: #ffffff;
    font-size: 1.8rem;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
    cursor: pointer;
}

.home-nav-btn:hover {
    background: rgba(255, 255, 255, 0.45);
    transform: scale(1.2) rotate(360deg);
    box-shadow: 0 10px 40px rgba(255, 255, 255, 0.5);
}

.home-nav-btn:active {
    transform: scale(0.9);
}