/* ============================================
   StudyKnowledge - Main Stylesheet
   Color Scheme:
   - #ff9733: Orange (Primary Accent)
   - #155787: Dark Blue (Primary)
   - #87c0ea: Light Blue (Secondary)
   - #f9f29f: Light Yellow (Highlight)
   ============================================ */

/* CSS Variables */
:root {
    /* Primary Colors */
    --primary: #155787;
    --primary-dark: #0f4170;
    --primary-light: #1e6b9e;
    
    /* Accent Colors */
    --accent: #ff9733;
    --accent-dark: #e88520;
    --accent-light: #ffab5c;
    
    /* Secondary Colors */
    --secondary: #87c0ea;
    --secondary-light: #b0d6f0;
    --secondary-dark: #5ba5d4;
    
    /* Highlight Colors */
    --highlight: #f9f29f;
    --highlight-light: #fcf5c4;
    --highlight-dark: #f5ea7a;
    
    /* Neutral Colors */
    --white: #ffffff;
    --black: #1a1a2e;
    --gray-100: #f8fafc;
    --gray-200: #f1f5f9;
    --gray-300: #e2e8f0;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #155787 0%, #1e6b9e 100%);
    --gradient-accent: linear-gradient(135deg, #ff9733 0%, #f9f29f 100%);
    --gradient-hero: linear-gradient(135deg, #155787 0%, #87c0ea 100%);
    --gradient-card: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --shadow-accent: 0 10px 40px -10px rgba(255, 151, 51, 0.4);
    --shadow-primary: 0 10px 40px -10px rgba(21, 87, 135, 0.4);
    --shadow-hover: 0 20px 40px -15px rgba(21, 87, 135, 0.3);
    
    /* Transitions */
    --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-spring: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    --transition-bounce: 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    
    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    
    /* Typography */
    --font-display: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing */
    --section-padding: 80px;
    --container-width: 1200px;
}

/* Dark Mode Variables */
[data-theme="dark"] {
    --primary: #87c0ea;
    --primary-dark: #5ba5d4;
    --primary-light: #b0d6f0;
    
    --accent: #ffab5c;
    --accent-dark: #ff9733;
    --accent-light: #ffc48c;
    
    --white: #0f172a;
    --black: #f8fafc;
    --gray-100: #1e293b;
    --gray-200: #334155;
    --gray-300: #475569;
    --gray-400: #64748b;
    --gray-500: #94a3b8;
    --gray-600: #cbd5e1;
    --gray-700: #e2e8f0;
    --gray-800: #f1f5f9;
    --gray-900: #f8fafc;
    
    --gradient-primary: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    --gradient-card: linear-gradient(145deg, #1e293b 0%, #334155 100%);
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4), 0 2px 4px -2px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.4), 0 4px 6px -4px rgba(0, 0, 0, 0.4);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.4), 0 8px 10px -6px rgba(0, 0, 0, 0.4);
}

/* Dark Mode Specific Overrides */
[data-theme="dark"] body {
    background-color: #0f172a;
    color: #f8fafc;
}

[data-theme="dark"] .navbar {
    background: rgba(15, 23, 42, 0.95);
    border-bottom: 1px solid #334155;
}

[data-theme="dark"] .nav-link {
    color: #cbd5e1;
}

[data-theme="dark"] .card,
[data-theme="dark"] .tool-card,
[data-theme="dark"] .job-card {
    background: #1e293b;
    border-color: #334155;
}

[data-theme="dark"] .input-section,
[data-theme="dark"] .selection-panel {
    background: #1e293b;
}

/* ============================================
   ANIMATIONS & KEYFRAMES
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

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

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 151, 51, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 15px rgba(255, 151, 51, 0);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(255, 151, 51, 0.5), 0 0 20px rgba(255, 151, 51, 0.3);
    }
    50% {
        box-shadow: 0 0 20px rgba(255, 151, 51, 0.8), 0 0 40px rgba(255, 151, 51, 0.5);
    }
}

/* Reset & Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--gray-800);
    background: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    color: var(--gray-900);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-200);
    transition: var(--transition-base);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
}

.logo-icon {
    font-size: 1.75rem;
}

.logo-text {
    color: var(--gray-900);
}

.logo-accent {
    color: var(--accent);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--gray-600);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    transition: var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
    background: rgba(21, 87, 135, 0.08);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gray-800);
    border-radius: 2px;
    transition: var(--transition-base);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 100px 0 60px;
    background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 50%, #f0f9ff 100%);
    overflow: hidden;
}

.hero-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(135, 192, 234, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 151, 51, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 40% 40%, rgba(249, 242, 159, 0.3) 0%, transparent 40%);
    pointer-events: none;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--primary);
    box-shadow: var(--shadow-sm);
    margin-bottom: 24px;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--gray-900);
}

.gradient-text {
    background: linear-gradient(135deg, #ff9733 0%, #155787 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--gray-600);
    max-width: 500px;
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: var(--transition-base);
    text-decoration: none;
}

.btn-primary {
    background: var(--gradient-accent);
    color: var(--gray-900);
    box-shadow: var(--shadow-accent);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 50px -10px rgba(255, 151, 51, 0.5);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
}

.btn-icon {
    width: 18px;
    height: 18px;
    transition: transform var(--transition-fast);
}

.btn:hover .btn-icon {
    transform: translateX(4px);
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-top: 4px;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-illustration {
    width: 100%;
    max-width: 400px;
    animation: float 6s ease-in-out infinite;
}

.floating-card {
    position: absolute;
    background: var(--white);
    padding: 12px 20px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 10px;
    animation: float 4s ease-in-out infinite;
}

.card-1 {
    top: 10%;
    left: 0;
    animation-delay: 0s;
}

.card-2 {
    top: 20%;
    right: 0;
    animation-delay: 1s;
}

.card-3 {
    bottom: 30%;
    left: -10px;
    animation-delay: 2s;
}

.card-4 {
    bottom: 20%;
    right: 10px;
    animation-delay: 3s;
}

.card-icon {
    font-size: 1.5rem;
}

.card-text {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--gray-800);
}

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

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--gray-500);
    font-size: 0.75rem;
    font-weight: 500;
    animation: bounce 2s infinite;
}

.mouse {
    width: 24px;
    height: 36px;
    border: 2px solid var(--gray-400);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--primary);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

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

@keyframes scroll {
    0% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(10px); }
}

/* ============================================
   SECTIONS COMMON
   ============================================ */
.section {
    padding: var(--section-padding) 0;
}

.section-alt {
    background: var(--gray-100);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-tag {
    display: inline-block;
    background: rgba(255, 151, 51, 0.15);
    color: var(--accent-dark);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: 16px;
    color: var(--gray-900);
}

.highlight {
    color: var(--accent);
    position: relative;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 8px;
    background: var(--highlight);
    opacity: 0.5;
    z-index: -1;
    border-radius: 4px;
}

.section-desc {
    font-size: 1.125rem;
    color: var(--gray-600);
    line-height: 1.7;
}

/* ============================================
   AFTER 10TH SECTION
   ============================================ */
.path-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.path-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 32px;
    box-shadow: var(--shadow-md);
    transition: var(--transition-spring);
    position: relative;
    overflow: hidden;
}

.path-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.path-card.featured {
    border: 2px solid var(--accent);
}

.path-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--gradient-accent);
    color: var(--gray-900);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
}

.path-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.path-title {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--gray-900);
}

.path-desc {
    font-size: 0.95rem;
    color: var(--gray-600);
    margin-bottom: 20px;
    line-height: 1.6;
}

.path-details {
    display: flex;
    gap: 24px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--gray-200);
}

.detail-item {
    display: flex;
    flex-direction: column;
}

.detail-label {
    font-size: 0.75rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-value {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary);
}

.path-streams {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.stream-tag {
    background: var(--gray-100);
    color: var(--gray-700);
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 500;
}

.stream-tag.science {
    background: rgba(21, 87, 135, 0.1);
    color: var(--primary);
}

.stream-tag.commerce {
    background: rgba(255, 151, 51, 0.1);
    color: var(--accent-dark);
}

.stream-tag.arts {
    background: rgba(135, 192, 234, 0.2);
    color: var(--secondary-dark);
}

.path-link {
    font-weight: 600;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.path-link:hover {
    color: var(--accent);
    gap: 8px;
}

/* ============================================
   STREAMS SECTION
   ============================================ */
.streams-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.stream-section {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.stream-header {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 32px;
    background: var(--gradient-primary);
    color: var(--white);
}

.stream-header.commerce-bg {
    background: linear-gradient(135deg, #ff9733 0%, #f9f29f 100%);
    color: var(--gray-900);
}

.stream-header.arts-bg {
    background: linear-gradient(135deg, #87c0ea 0%, #b0d6f0 100%);
    color: var(--gray-900);
}

.stream-icon-large {
    font-size: 4rem;
}

.stream-info h3 {
    font-size: 1.75rem;
    margin-bottom: 8px;
    color: inherit;
}

.stream-info p {
    opacity: 0.9;
    font-size: 1rem;
}

.stream-content {
    padding: 32px;
}

.sub-streams {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-bottom: 32px;
}

.sub-streams.single {
    grid-template-columns: 1fr;
}

.sub-stream h4 {
    font-size: 1.125rem;
    color: var(--primary);
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--highlight);
}

.course-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.course-list li {
    padding-left: 20px;
    position: relative;
    font-size: 0.95rem;
    color: var(--gray-700);
}

.course-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}

.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
}

.course-category h5 {
    font-size: 1rem;
    color: var(--primary);
    margin-bottom: 12px;
}

.course-category ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.course-category li {
    font-size: 0.9rem;
    color: var(--gray-600);
}

.career-paths {
    background: var(--gray-100);
    border-radius: var(--radius-lg);
    padding: 24px;
}

.career-paths h5 {
    font-size: 1rem;
    color: var(--gray-800);
    margin-bottom: 16px;
}

.career-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.career-tag {
    background: var(--white);
    color: var(--gray-700);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 500;
    box-shadow: var(--shadow-sm);
}

.career-tag.high-demand {
    background: var(--gradient-accent);
    color: var(--gray-900);
}

/* ============================================
   AFTER 12TH SECTION
   ============================================ */
.after-12th-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 24px;
}

.category-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
}

.category-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
}

.category-header {
    background: var(--gradient-primary);
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--white);
}

.category-card:nth-child(2) .category-header {
    background: linear-gradient(135deg, #ef4444 0%, #f87171 100%);
}

.category-card:nth-child(3) .category-header {
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
}

.category-card:nth-child(4) .category-header {
    background: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%);
}

.category-card:nth-child(5) .category-header {
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    color: var(--gray-900);
}

.category-card:nth-child(6) .category-header {
    background: linear-gradient(135deg, #ec4899 0%, #f472b6 100%);
}

.category-icon {
    font-size: 2rem;
}

.category-header h3 {
    font-size: 1.25rem;
    color: inherit;
}

.category-body {
    padding: 24px;
}

.course-list-detailed {
    margin-bottom: 20px;
}

.course-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-200);
}

.course-item:last-child {
    border-bottom: none;
}

.course-name {
    font-weight: 600;
    color: var(--gray-800);
}

.course-duration {
    font-size: 0.85rem;
    color: var(--gray-500);
    background: var(--gray-100);
    padding: 4px 10px;
    border-radius: var(--radius-full);
}

.sub-branches {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.sub-branches span {
    font-size: 0.8rem;
    color: var(--gray-600);
    background: rgba(21, 87, 135, 0.05);
    padding: 4px 10px;
    border-radius: var(--radius-sm);
}

.exam-category {
    margin-bottom: 20px;
}

.exam-category h5 {
    font-size: 0.95rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.exam-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.exam-list span {
    font-size: 0.9rem;
    color: var(--gray-600);
    padding-left: 16px;
    position: relative;
}

.exam-list span::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent);
}

.entrance-info {
    background: var(--highlight-light);
    padding: 14px 18px;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    color: var(--gray-700);
    border-left: 4px solid var(--accent);
}

.entrance-info strong {
    color: var(--primary);
}

/* ============================================
   CAREERS SECTION
   ============================================ */
.career-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 12px 24px;
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-full);
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--gray-600);
    cursor: pointer;
    transition: var(--transition-base);
}

.tab-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.tab-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.tab-content {
    display: none;
    animation: fadeIn 0.4s ease;
}

.tab-content.active {
    display: block;
}

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

.career-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.career-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 28px;
    box-shadow: var(--shadow-md);
    transition: var(--transition-spring);
    border: 1px solid var(--gray-200);
}

.career-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: var(--secondary);
}

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

.career-icon {
    font-size: 2.5rem;
}

.career-badge {
    background: var(--gray-100);
    color: var(--gray-600);
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.career-badge.trending {
    background: var(--gradient-accent);
    color: var(--gray-900);
}

.career-badge.hot {
    background: linear-gradient(135deg, #ef4444 0%, #f87171 100%);
    color: var(--white);
}

.career-badge.high-demand {
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    color: var(--white);
}

.career-badge.premium {
    background: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%);
    color: var(--white);
}

.career-badge.elite {
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    color: var(--gray-900);
}

.career-card h4 {
    font-size: 1.15rem;
    margin-bottom: 8px;
    color: var(--gray-900);
}

.salary-range {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 12px;
}

.career-card p {
    font-size: 0.9rem;
    color: var(--gray-600);
    margin-bottom: 16px;
    line-height: 1.6;
}

.skills-required {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.skills-required span {
    background: rgba(21, 87, 135, 0.08);
    color: var(--primary);
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 500;
}

/* ============================================
   RESOURCES SECTION
   ============================================ */
.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.resource-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 28px;
    box-shadow: var(--shadow-md);
}

.resource-card h4 {
    font-size: 1.1rem;
    color: var(--gray-900);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--highlight);
}

.resource-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.resource-list a {
    color: var(--gray-600);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-fast);
}

.resource-list a::before {
    content: '↗';
    color: var(--accent);
    font-size: 0.8rem;
}

.resource-list a:hover {
    color: var(--primary);
    transform: translateX(4px);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    background: var(--gradient-primary);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    color: var(--white);
    margin-bottom: 20px;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 32px;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--gray-900);
    color: var(--gray-400);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .logo {
    margin-bottom: 16px;
    display: inline-flex;
}

.footer-brand .logo-text {
    color: var(--white);
}

.footer-brand p {
    max-width: 300px;
    line-height: 1.7;
}

.footer-column h5 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 20px;
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-column a {
    color: var(--gray-400);
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.footer-column a:hover {
    color: var(--accent);
}

.footer-bottom {
    border-top: 1px solid var(--gray-800);
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.9rem;
}

/* ============================================
   PROFESSIONAL ANIMATION UTILITIES
   ============================================ */

/* Scroll Animation Classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease forwards;
}

.animate-fadeInDown {
    animation: fadeInDown 0.6s ease forwards;
}

.animate-fadeInLeft {
    animation: fadeInLeft 0.6s ease forwards;
}

.animate-fadeInRight {
    animation: fadeInRight 0.6s ease forwards;
}

.animate-scaleIn {
    animation: scaleIn 0.5s ease forwards;
}

.animate-bounceIn {
    animation: bounceIn 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

.animate-pulse {
    animation: pulse 2s ease-in-out infinite;
}

.animate-glow {
    animation: glow 2s ease-in-out infinite;
}

/* Stagger Animation Delays */
.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }
.stagger-5 { animation-delay: 0.5s; }
.stagger-6 { animation-delay: 0.6s; }

/* Enhanced Card Hover Effects */
.card-hover-lift {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), 
                box-shadow 0.3s ease;
}

.card-hover-lift:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-hover);
}

.card-hover-scale {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover-scale:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-xl);
}

.card-hover-border {
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.card-hover-border:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
}

/* Button Enhanced Effects */
.btn-shine {
    position: relative;
    overflow: hidden;
}

.btn-shine::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: left 0.5s ease;
}

.btn-shine:hover::after {
    left: 100%;
}

.btn-ripple {
    position: relative;
    overflow: hidden;
}

.btn-ripple::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;
}

.btn-ripple:active::before {
    width: 300px;
    height: 300px;
}

/* Gradient Text Animation */
.gradient-text-animate {
    background: linear-gradient(
        90deg,
        #155787,
        #ff9733,
        #155787
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s linear infinite;
}

/* Image Hover Zoom */
.img-hover-zoom {
    overflow: hidden;
}

.img-hover-zoom img {
    transition: transform 0.5s ease;
}

.img-hover-zoom:hover img {
    transform: scale(1.1);
}

/* Link Underline Animation */
.link-underline {
    position: relative;
    text-decoration: none;
}

.link-underline::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

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

/* Focus States for Accessibility */
*:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 2px;
}

/* Loading Skeleton */
.skeleton {
    background: linear-gradient(
        90deg,
        var(--gray-200) 25%,
        var(--gray-300) 50%,
        var(--gray-200) 75%
    );
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

/* Smooth Page Transitions */
.page-transition {
    opacity: 0;
    animation: fadeInUp 0.5s ease forwards;
}

/* Toast/Notification Animation */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.toast {
    animation: slideInRight 0.3s ease;
}

/* ============================================
   MICRO-INTERACTIONS
   ============================================ */

/* Icon Hover Effects */
.icon-hover {
    transition: transform 0.3s ease, color 0.3s ease;
}

.icon-hover:hover {
    transform: scale(1.2) rotate(5deg);
    color: var(--accent);
}

/* Badge Pulse Effect */
.badge-pulse {
    animation: pulse 2s infinite;
}

/* Navigation Link Hover */
.nav-link-hover {
    position: relative;
}

.nav-link-hover::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease, left 0.3s ease;
}

.nav-link-hover:hover::before {
    width: 100%;
    left: 0;
}

/* Card 3D Tilt Effect */
.card-3d {
    transform-style: preserve-3d;
    transition: transform 0.3s ease;
}

.card-3d:hover {
    transform: perspective(1000px) rotateX(5deg) rotateY(-5deg) translateZ(20px);
}

/* Gradient Border Animation */
.gradient-border {
    position: relative;
    background: white;
    border-radius: var(--radius-lg);
}

.gradient-border::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: calc(var(--radius-lg) + 2px);
    background: linear-gradient(45deg, var(--accent), var(--primary), var(--secondary));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gradient-border:hover::before {
    opacity: 1;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content {
        order: 1;
    }
    
    .hero-visual {
        order: 2;
        height: 300px;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .floating-card {
        display: none;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        gap: 8px;
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition-base);
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-link {
        width: 100%;
        text-align: center;
        padding: 12px;
    }
    
    .hero {
        padding-top: 90px;
    }
    
    .hero-title {
        font-size: 2.25rem;
    }
    
    .after-12th-grid {
        grid-template-columns: 1fr;
    }
    
    .career-tabs {
        gap: 8px;
    }
    
    .tab-btn {
        padding: 10px 16px;
        font-size: 0.85rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    
    .footer-brand p {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .nav-container {
        padding: 0 16px;
    }
    
    .hero-title {
        font-size: 1.875rem;
    }
    
    .hero-cta {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .path-grid {
        grid-template-columns: 1fr;
    }
    
    .path-card {
        padding: 24px;
    }
    
    .stream-header {
        flex-direction: column;
        text-align: center;
        padding: 24px;
    }
    
    .sub-streams {
        grid-template-columns: 1fr;
    }
    
    .course-grid {
        grid-template-columns: 1fr;
    }
    
    .career-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   ANIMATIONS & UTILITIES
   ============================================ */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
    background: var(--gray-400);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gray-500);
}

/* ============================================
   MODERN UI ENHANCEMENTS - 2026 UPDATE
   ============================================ */

/* Glassmorphism Effect */
.glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .glass {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Smooth Transitions */
* {
    transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Enhanced Card Hover */
.card-hover {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Glow Effects */
.glow-primary {
    box-shadow: 0 0 20px rgba(21, 87, 135, 0.4);
}

.glow-accent {
    box-shadow: 0 0 20px rgba(255, 151, 51, 0.4);
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   AD BANNER STYLES - Strategic Placement
   ============================================ */

/* Leaderboard Banner - Top of page */
.ad-leaderboard {
    width: 100%;
    max-width: 728px;
    height: 90px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed #e2e8f0;
    position: relative;
    overflow: hidden;
}

.ad-leaderboard::before {
    content: 'Advertisement';
    position: absolute;
    top: 4px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.65rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ad-leaderboard .ad-placeholder {
    font-size: 0.9rem;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Medium Rectangle - Sidebar */
.ad-medium-rectangle {
    width: 300px;
    height: 250px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px dashed #e2e8f0;
    position: relative;
    margin-bottom: 24px;
}

.ad-medium-rectangle::before {
    content: 'Advertisement';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.65rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Skyscraper - Side sticky */
.ad-skyscraper {
    width: 160px;
    height: 600px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px dashed #e2e8f0;
    position: sticky;
    top: 100px;
}

.ad-skyscraper::before {
    content: 'Advertisement';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.65rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* In-Content Banner */
.ad-in-content {
    width: 100%;
    max-width: 468px;
    height: 60px;
    margin: 32px auto;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed #e2e8f0;
    position: relative;
}

.ad-in-content::before {
    content: 'Sponsored';
    position: absolute;
    top: 4px;
    right: 8px;
    font-size: 0.6rem;
    color: #94a3b8;
    text-transform: uppercase;
}

/* Mobile Banner */
.ad-mobile {
    width: 100%;
    max-width: 320px;
    height: 50px;
    margin: 16px auto;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 8px;
    display: none;
    align-items: center;
    justify-content: center;
    border: 2px dashed #e2e8f0;
}

@media (max-width: 768px) {
    .ad-leaderboard,
    .ad-skyscraper {
        display: none;
    }
    
    .ad-mobile {
        display: flex;
    }
    
    .ad-medium-rectangle {
        width: 100%;
        max-width: 300px;
        margin: 0 auto 24px;
    }
}

/* Ad Hover Effect */
.ad-leaderboard:hover,
.ad-medium-rectangle:hover,
.ad-skyscraper:hover,
.ad-in-content:hover {
    border-color: var(--accent);
    background: linear-gradient(135deg, #fff9ed 0%, #fef3c7 100%);
}

/* ============================================
   LOADING STATES & SKELETONS
   ============================================ */

.skeleton {
    background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s ease-in-out infinite;
    border-radius: 8px;
}

@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.skeleton-text {
    height: 1em;
    margin-bottom: 0.5em;
}

.skeleton-text:last-child {
    width: 80%;
}

/* ============================================
   TOAST NOTIFICATIONS
   ============================================ */

.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.toast {
    background: white;
    border-radius: 12px;
    padding: 16px 24px;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 300px;
    animation: toast-in 0.4s ease;
    border-left: 4px solid var(--primary);
}

.toast.success {
    border-left-color: #059669;
}

.toast.error {
    border-left-color: #dc2626;
}

.toast.warning {
    border-left-color: #f59e0b;
}

@keyframes toast-in {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.toast-out {
    animation: toast-out 0.4s ease forwards;
}

@keyframes toast-out {
    to {
        opacity: 0;
        transform: translateX(100px);
    }
}

/* ============================================
   ACCESSIBILITY IMPROVEMENTS
   ============================================ */

/* Focus Visible */
:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 2px;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Screen Reader Only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ============================================
   PRINT STYLES
   ============================================ */

@media print {
    .navbar,
    .footer,
    .ad-leaderboard,
    .ad-medium-rectangle,
    .ad-skyscraper,
    .ad-in-content,
    .ad-mobile,
    .toast-container {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    .card,
    .tool-card {
        break-inside: avoid;
        box-shadow: none !important;
        border: 1px solid #ddd !important;
    }
}

/* ============================================
   CHATBOT STYLES - AI Assistant
   ============================================ */

.chatbot-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    font-family: 'Outfit', sans-serif;
}

/* Toggle Button */
.chatbot-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff9733 0%, #f9f29f 100%);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(255, 151, 51, 0.4);
    transition: all 0.3s ease;
    position: relative;
}

.chatbot-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 40px rgba(255, 151, 51, 0.5);
}

.chatbot-toggle.active {
    transform: scale(0.9);
}

.chatbot-icon {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a2e;
    line-height: 1;
}

.chatbot-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(255, 151, 51, 0.4);
    animation: pulse-ring 2s ease-out infinite;
    z-index: -1;
}

@keyframes pulse-ring {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.5); opacity: 0; }
}

/* Chat Window */
.chatbot-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 380px;
    height: 550px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.chatbot-window.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

/* Header */
.chatbot-header {
    background: linear-gradient(135deg, #155787 0%, #87c0ea 100%);
    color: white;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.chatbot-avatar {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.chatbot-info {
    flex: 1;
}

.chatbot-info h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.chatbot-status {
    font-size: 0.8rem;
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 6px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    animation: blink 2s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.chatbot-actions {
    display: flex;
    gap: 8px;
}

.chatbot-actions button {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    font-size: 14px;
}

.chatbot-actions button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

/* Messages Area */
.chatbot-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    background: #f8fafc;
}

.message {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
    animation: message-in 0.3s ease;
}

@keyframes message-in {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.message-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.bot-message .message-avatar {
    background: linear-gradient(135deg, #ff9733 0%, #f9f29f 100%);
}

.user-message .message-avatar {
    background: #e2e8f0;
}

.message-content {
    max-width: 75%;
    background: white;
    padding: 12px 16px;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.bot-message .message-content {
    border-bottom-left-radius: 4px;
}

.user-message {
    flex-direction: row-reverse;
}

.user-message .message-content {
    background: linear-gradient(135deg, #155787 0%, #87c0ea 100%);
    color: white;
    border-bottom-right-radius: 4px;
}

.message-text {
    font-size: 0.95rem;
    line-height: 1.5;
}

.message-text a {
    color: inherit;
    text-decoration: underline;
}

.message-time {
    font-size: 0.7rem;
    color: #94a3b8;
    margin-top: 4px;
}

.user-message .message-time {
    color: rgba(255, 255, 255, 0.7);
}

/* Welcome Message */
.welcome-message ul {
    margin: 8px 0;
    padding-left: 20px;
}

.welcome-message li {
    margin-bottom: 4px;
}

/* Typing Indicator */
.typing-indicator .message-content {
    background: white;
    padding: 16px 20px;
}

.typing-dots {
    display: flex;
    gap: 6px;
}

.typing-dots span {
    width: 8px;
    height: 8px;
    background: #cbd5e1;
    border-radius: 50%;
    animation: typing 1.4s infinite;
}

.typing-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {
    0%, 100% { transform: translateY(0); opacity: 0.4; }
    50% { transform: translateY(-5px); opacity: 1; }
}

/* Quick Actions */
.chatbot-quick-actions {
    padding: 12px 16px;
    background: white;
    border-top: 1px solid #e2e8f0;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.quick-btn {
    padding: 8px 14px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.quick-btn:hover {
    background: linear-gradient(135deg, #ff9733 0%, #f9f29f 100%);
    border-color: #ff9733;
    color: #1a1a2e;
    transform: translateY(-2px);
}

/* Input Area */
.chatbot-input-area {
    padding: 16px 20px;
    background: white;
    border-top: 1px solid #e2e8f0;
}

.chatbot-input-wrapper {
    display: flex;
    gap: 10px;
    background: #f1f5f9;
    border-radius: 25px;
    padding: 4px;
}

#chatbotInput {
    flex: 1;
    border: none;
    background: transparent;
    padding: 12px 16px;
    font-size: 0.95rem;
    font-family: inherit;
    outline: none;
}

#chatbotInput::placeholder {
    color: #94a3b8;
}

.send-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff9733 0%, #f9f29f 100%);
    border: none;
    color: #1a1a2e;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.send-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(255, 151, 51, 0.3);
}

.send-btn svg {
    width: 20px;
    height: 20px;
}

/* Enhanced Chatbot Styles */

/* Glassmorphism Effect for Chat Window */
.chatbot-window {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Enhanced Toggle Button */
.chatbot-toggle::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    padding: 2px;
    background: linear-gradient(135deg, #ff9733, #f9f29f, #ff9733);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: rotate-gradient 3s linear infinite;
}

@keyframes rotate-gradient {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Message Hover Effects */
.message-content {
    position: relative;
    overflow: hidden;
}

.message-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.message:hover .message-content::before {
    left: 100%;
}

/* Quick Button Enhancements */
.quick-btn {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.quick-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(135deg, #ff9733 0%, #f9f29f 100%);
    transition: width 0.3s ease;
    z-index: -1;
}

.quick-btn:hover::before {
    width: 100%;
}

.quick-btn:hover {
    color: #1a1a2e !important;
    border-color: #ff9733 !important;
}

/* Improved Scrollbar */
.chatbot-messages::-webkit-scrollbar {
    width: 6px;
}

.chatbot-messages::-webkit-scrollbar-track {
    background: transparent;
}

.chatbot-messages::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #cbd5e1, #94a3b8);
    border-radius: 3px;
}

.chatbot-messages::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #94a3b8, #64748b);
}

/* ===============================
   DARK MODE - COMPLETE FIX
   =============================== */

[data-theme="dark"] .chatbot-window {
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .chatbot-messages {
    background: rgba(15, 23, 42, 0.8);
}

[data-theme="dark"] .message-content {
    background: rgba(51, 65, 85, 0.9);
    color: #f8fafc;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .bot-message .message-content {
    background: linear-gradient(135deg, rgba(51, 65, 85, 0.95) 0%, rgba(71, 85, 105, 0.9) 100%);
    border-left: 3px solid #ff9733;
}

[data-theme="dark"] .user-message .message-content {
    background: linear-gradient(135deg, #155787 0%, #1e6ba8 100%);
    border-right: 3px solid #f9f29f;
}

[data-theme="dark"] .chatbot-quick-actions {
    background: rgba(15, 23, 42, 0.95);
    border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .chatbot-input-area {
    background: rgba(15, 23, 42, 0.95);
    border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .quick-btn {
    background: rgba(51, 65, 85, 0.8);
    border-color: rgba(71, 85, 105, 0.8);
    color: #f8fafc;
}

[data-theme="dark"] .quick-btn:hover {
    background: linear-gradient(135deg, #ff9733 0%, #f9f29f 100%);
    color: #1a1a2e !important;
}

[data-theme="dark"] .chatbot-input-wrapper {
    background: rgba(51, 65, 85, 0.8);
    border: 1px solid rgba(71, 85, 105, 0.5);
}

[data-theme="dark"] #chatbotInput {
    color: #f8fafc;
}

[data-theme="dark"] #chatbotInput::placeholder {
    color: #94a3b8;
}

[data-theme="dark"] .chatbot-messages::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #475569, #334155);
}

[data-theme="dark"] .typing-dots span {
    background: #94a3b8;
}

[data-theme="dark"] .message-time {
    color: #64748b;
}

[data-theme="dark"] .user-message .message-time {
    color: rgba(255, 255, 255, 0.6);
}

/* Mobile Responsive */
@media (max-width: 480px) {
    .chatbot-container {
        bottom: 15px;
        right: 15px;
    }
    
    .chatbot-window {
        width: calc(100vw - 30px);
        height: 60vh;
        max-height: 500px;
        right: 0;
        bottom: 75px;
        border-radius: 20px;
    }
    
    .chatbot-toggle {
        width: 55px;
        height: 55px;
    }
    
    .chatbot-icon {
        font-size: 26px;
    }
    
    .message-content {
        max-width: 85%;
    }
    
    .quick-btn {
        padding: 6px 12px;
        font-size: 0.75rem;
    }
}

/* Typing Indicator Dots */
.typing-indicator .message-content {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 16px 20px;
}

.typing-dot {
    width: 8px;
    height: 8px;
    background: #cbd5e1;
    border-radius: 50%;
    animation: typing-bounce 1.4s infinite ease-in-out;
}

.typing-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing-bounce {
    0%, 100% { transform: translateY(0); opacity: 0.4; }
    50% { transform: translateY(-5px); opacity: 1; }
}

/* Animation for new messages */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.message {
    animation: slideInUp 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Loading Spinner Animation */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.spinner {
    animation: spin 1s linear infinite;
}

/* Fade In Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Stagger Animation Delays */
.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }
.stagger-5 { animation-delay: 0.5s; }

/* Focus styles for accessibility */
#chatbotInput:focus {
    outline: none;
}

.chatbot-input-wrapper:focus-within {
    box-shadow: 0 0 0 3px rgba(255, 151, 51, 0.3);
}

[data-theme="dark"] .chatbot-input-wrapper:focus-within {
    box-shadow: 0 0 0 3px rgba(255, 151, 51, 0.2);
}

/* ============================================
   PREMIUM ENHANCEMENTS - Making it THE BEST
   ============================================ */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Premium glow effects */
.glow-effect {
    position: relative;
}

.glow-effect::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(45deg, #ff9733, #f9f29f, #87c0ea, #ff9733);
    border-radius: inherit;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
    filter: blur(15px);
}

.glow-effect:hover::before {
    opacity: 0.6;
}

/* Floating animation */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.float-animation {
    animation: float 3s ease-in-out infinite;
}

/* Shimmer effect for loading */
@keyframes shimmer {
    0% { background-position: -1000px 0; }
    100% { background-position: 1000px 0; }
}

.shimmer {
    background: linear-gradient(90deg, 
        rgba(255,255,255,0) 0%, 
        rgba(255,255,255,0.4) 50%, 
        rgba(255,255,255,0) 100%);
    background-size: 1000px 100%;
    animation: shimmer 2s infinite linear;
}

/* Magnetic button effect */
.magnetic-btn {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.magnetic-btn:hover {
    transform: scale(1.05) translateY(-2px);
}

/* 3D card tilt effect */
.tilt-card {
    transform-style: preserve-3d;
    transition: transform 0.5s ease;
}

.tilt-card:hover {
    transform: perspective(1000px) rotateX(5deg) rotateY(5deg) scale(1.02);
}

/* Gradient border animation */
.gradient-border {
    position: relative;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 20px;
    z-index: 1;
}

.gradient-border::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 22px;
    background: linear-gradient(45deg, #ff9733, #f9f29f, #87c0ea, #155787);
    z-index: -1;
    animation: rotate 4s linear infinite;
}

@keyframes rotate {
    0% { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(360deg); }
}

/* Parallax scroll effect */
.parallax {
    transform: translateZ(0);
    will-change: transform;
}

/* Text gradient animation */
.gradient-text-animated {
    background: linear-gradient(90deg, #ff9733, #f9f29f, #87c0ea, #ff9733);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textGradient 3s ease infinite;
}

@keyframes textGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Particle background effect */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 151, 51, 0.3);
    border-radius: 50%;
    animation: particle-float 20s infinite linear;
}

@keyframes particle-float {
    0% { 
        transform: translateY(100vh) translateX(0);
        opacity: 0;
    }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { 
        transform: translateY(-100vh) translateX(100px);
        opacity: 0;
    }
}

/* Stagger animation for lists */
.stagger-item {
    opacity: 0;
    transform: translateY(20px);
    animation: staggerIn 0.5s ease forwards;
}

.stagger-item:nth-child(1) { animation-delay: 0.1s; }
.stagger-item:nth-child(2) { animation-delay: 0.2s; }
.stagger-item:nth-child(3) { animation-delay: 0.3s; }
.stagger-item:nth-child(4) { animation-delay: 0.4s; }
.stagger-item:nth-child(5) { animation-delay: 0.5s; }

@keyframes staggerIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Pulse ring animation */
.pulse-ring {
    position: relative;
}

.pulse-ring::after {
    content: '';
    position: absolute;
    inset: -10px;
    border: 2px solid rgba(255, 151, 51, 0.3);
    border-radius: 50%;
    animation: pulse-ring-anim 2s ease-out infinite;
}

@keyframes pulse-ring-anim {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.5); opacity: 0; }
}

/* Hover lift effect */
.hover-lift {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-lift:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* Neon glow effect */
.neon-glow {
    text-shadow: 
        0 0 5px rgba(255, 151, 51, 0.5),
        0 0 10px rgba(255, 151, 51, 0.3),
        0 0 20px rgba(255, 151, 51, 0.2);
}

/* Scroll indicator */
.scroll-indicator {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #ff9733, #f9f29f);
    z-index: 9999;
    transition: width 0.1s ease;
}

/* Page transition */
.page-transition {
    animation: pageIn 0.5s ease forwards;
}

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

/* Loading spinner */
.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 151, 51, 0.3);
    border-top-color: #ff9733;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Tooltip styling */
.tooltip {
    position: relative;
}

.tooltip::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    padding: 8px 12px;
    background: #1a1a2e;
    color: #fff;
    font-size: 0.85rem;
    border-radius: 8px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.tooltip:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-4px);
}

/* Image zoom effect */
.img-zoom {
    overflow: hidden;
}

.img-zoom img {
    transition: transform 0.5s ease;
}

.img-zoom:hover img {
    transform: scale(1.1);
}

/* Accordion smooth */
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.accordion-content.active {
    max-height: 500px;
}

/* Progress bar animation */
.progress-bar {
    height: 4px;
    background: linear-gradient(90deg, #ff9733, #f9f29f);
    border-radius: 2px;
    animation: progressGrow 1s ease forwards;
    transform-origin: left;
}

@keyframes progressGrow {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}

/* Badge notification */
.badge {
    position: relative;
}

.badge::after {
    content: attr(data-count);
    position: absolute;
    top: -8px;
    right: -8px;
    width: 20px;
    height: 20px;
    background: #ef4444;
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: badge-pulse 2s ease infinite;
}

@keyframes badge-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Glass morphism cards */
.glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
}

[data-theme="dark"] .glass-card {
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Ripple effect */
.ripple {
    position: relative;
    overflow: hidden;
}

.ripple::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
    transform: scale(0);
    opacity: 0;
    transition: transform 0.5s, opacity 0.3s;
}

.ripple:active::after {
    transform: scale(2);
    opacity: 1;
    transition: 0s;
}

/* Confetti animation */
@keyframes confetti-fall {
    0% {
        transform: translateY(-100%) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(720deg);
        opacity: 0;
    }
}

.confetti {
    position: fixed;
    width: 10px;
    height: 10px;
    background: #ff9733;
    animation: confetti-fall 3s ease-out forwards;
    z-index: 9999;
}

/* Success checkmark */
.checkmark {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #10b981, #059669);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: checkmark-pop 0.5s ease forwards;
}

@keyframes checkmark-pop {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* Best Practices - Focus visible */
:focus-visible {
    outline: 3px solid #ff9733;
    outline-offset: 2px;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
