* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    touch-action: manipulation;
    -webkit-text-size-adjust: 100%;
}

:root {
    --primary-color: #0066ff;
    --secondary-color: #1a1a1a;
    --accent-color: #00d4ff;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --background-dark: #0a0a0a;
    --background-card: #1a1a1a;
    --gradient-primary: linear-gradient(135deg, #0066ff, #00d4ff);
    --gradient-dark: linear-gradient(135deg, #1a1a1a, #0a0a0a);
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--background-dark);
    color: var(--text-primary);
    line-height: 1.6;
    margin: 0;
    padding: 0 0 120px 0;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    touch-action: manipulation;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.75rem;
    }
}

/* --------------------------------------------------
   Global Card Styles (applies to most card components)
   Provides a consistent modern glass/gradient look
-------------------------------------------------- */
.card,
.highlight-card,
.publication-card,
.achievement-card,
.story-item,
.stat-item,
.publication-card,
.achievement-card,
.publication-card,
.story-item {
    background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.06);
    box-shadow: 0 8px 30px rgba(0,0,0,0.6), 0 2px 8px rgba(0,212,255,0.04);
    transition: transform 0.35s cubic-bezier(.2,.8,.2,1), box-shadow 0.35s, border-color 0.35s;
    overflow: hidden;
    backdrop-filter: blur(6px) saturate(120%);
    -webkit-backdrop-filter: blur(6px) saturate(120%);
}

.card .card-image,
.highlight-card .card-image,
.story-item .story-image {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(0,102,255,0.08), rgba(0,212,255,0.04));
}

.card .card-image img,
.highlight-card .card-image img,
.story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

/* Specific styling for Book Handover to Prime Minister image */
.highlight-card .card-image img[src="img/26.jpg"] {
    object-position: center 15%;
    object-fit: cover;
}

/* Specific styling for Book Handover to Education Minister image */
.highlight-card .card-image img[src="img/27.jpg"] {
    object-position: center -40px;
    object-fit: cover;
}

/* Specific styling for Press Conference image */
.story-item .story-image img[src="img/press-conference.jpg"] {
    object-position: center 20%;
    object-fit: cover;
}

.card:hover .card-image img,
.highlight-card:hover .card-image img,
.story-item:hover .story-image img {
    transform: scale(1.06) translateY(-3px);
}

.card .card-body,
.highlight-card .card-content,
.publication-card,
.achievement-card,
.story-content {
    padding: 1.25rem 1.5rem;
}

.card .card-title,
.highlight-card .card-content h3,
.publication-card h3,
.achievement-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    color: var(--accent-color);
    font-weight: 700;
}

.card .card-desc,
.highlight-card .card-content p,
.publication-card p,
.achievement-card p,
.story-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

.card .card-footer,
.card-meta,
.publication-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem 1.25rem;
}

.card .badge,
.card-badge,
.publication-meta span,
.card-tags span {
    background: rgba(0,212,255,0.10);
    color: var(--accent-color);
    padding: 0.25rem 0.6rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

.card:hover,
.highlight-card:hover,
.publication-card:hover,
.achievement-card:hover,
.story-item:hover,
.stat-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.65), 0 12px 40px rgba(0,212,255,0.08);
    border-color: rgba(0,212,255,0.22);
}

/* Small helpers */
.card-centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

@media (max-width: 768px) {
    .card, .highlight-card, .publication-card, .achievement-card, .story-item {
        border-radius: 12px;
    }
}


/* Bottom-Center Floating Navigation */
.floating-nav {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10000;
    opacity: 1;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: auto;
    will-change: transform, opacity;
}

.floating-nav.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.floating-nav:not(.show) {
    opacity: 0.9;
    transform: translateX(-50%) translateY(10px);
}

.nav-items {
    display: flex;
    gap: 1rem;
    background: rgba(0, 0, 0, 0.9);
    padding: 1rem 1.5rem;
    border-radius: 60px;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(0, 212, 255, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(25px) saturate(180%);
    border: 2px solid rgba(0, 212, 255, 0.3);
    min-width: fit-content;
}

.nav-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(0, 212, 255, 0.15);
    color: var(--accent-color);
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(0, 212, 255, 0.4);
    position: relative;
    will-change: transform;
    box-shadow: 
        0 0 15px rgba(0, 212, 255, 0.3),
        inset 0 0 10px rgba(0, 212, 255, 0.1);
}

.nav-btn::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, transparent, rgba(0, 212, 255, 0.5), transparent);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
    animation: rotateGlow 3s linear infinite;
}

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

.nav-btn:hover {
    background: var(--accent-color);
    color: var(--background-dark);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 
        0 8px 25px rgba(0, 212, 255, 0.6),
        0 0 30px rgba(0, 212, 255, 0.8),
        inset 0 0 15px rgba(255, 255, 255, 0.2);
    border-color: var(--accent-color);
}

.nav-btn:hover::before {
    opacity: 1;
}

.nav-btn:active {
    transform: translateY(-1px) scale(1.05);
    transition: all 0.1s ease;
}

/* Modern Hero Section */
.hero-modern {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #0a0a0a 100%);
    overflow: hidden;
}

.ai-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

/* Removed code rain animation for cleaner look */

.circuit-lines {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(0, 212, 255, 0.03) 1px, transparent 1px),
        radial-gradient(circle at 80% 70%, rgba(0, 102, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.02) 1px, transparent 1px),
        linear-gradient(rgba(0, 212, 255, 0.02) 1px, transparent 1px);
    background-size: 120px 120px, 180px 180px, 60px 60px, 60px 60px;
    animation: circuitFlow 30s linear infinite;
    z-index: 2;
    will-change: transform;
}

@keyframes circuitFlow {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(60px, 60px, 0); }
}

.floating-particles-bg {
    position: absolute;
    width: 100%;
    height: 100%;
}

.floating-particles-bg::before,
.floating-particles-bg::after {
    content: '';
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--accent-color);
    border-radius: 50%;
    animation: particleDrift 20s infinite linear;
    box-shadow: 0 0 8px rgba(0, 212, 255, 0.6);
    will-change: transform;
}

.floating-particles-bg::before {
    top: 15%;
    left: 25%;
    animation-delay: 0s;
}

.floating-particles-bg::after {
    top: 65%;
    right: 25%;
    animation-delay: 10s;
}

@keyframes particleDrift {
    0% { transform: translate3d(0, 0, 0) scale(1); opacity: 0; }
    10% { opacity: 0.8; }
    90% { opacity: 0.8; }
    100% { transform: translate3d(80px, -150px, 0) scale(0.3); opacity: 0; }
}

.hero-container {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    width: 100%;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 500px;
    gap: 4rem;
    align-items: center;
    min-height: 80vh;
}

@media (max-width: 1024px) {
    .hero-container {
        padding: 0 1.5rem;
        gap: 3rem;
        grid-template-columns: 1fr;
        text-align: center;
        min-height: 70vh;
    }
    
    .hero-left {
        align-items: center;
        text-align: center;
        max-width: 100%;
    }
    
    .hero-greeting {
        text-align: center;
    }
}

.hero-left {
    max-width: 700px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
}

.hero-greeting {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    color: var(--accent-color);
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    text-transform: uppercase;
    text-align: left;
}

.hero-name {
    font-family: 'Courier Prime', monospace;
    font-size: clamp(1.8rem, 6vw, 5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: #ffffff;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    animation: nameGlow 3s ease-in-out infinite, nameScale 4s ease-in-out infinite;
}

@keyframes nameGlow {
    0%, 100% { 
        text-shadow: 0 0 10px rgba(0, 212, 255, 0.5), 0 0 20px rgba(0, 212, 255, 0.3);
        color: #ffffff;
    }
    50% { 
        text-shadow: 0 0 20px rgba(0, 212, 255, 0.8), 0 0 40px rgba(0, 212, 255, 0.6), 0 0 60px rgba(0, 212, 255, 0.4);
        color: #00d4ff;
    }
}

@keyframes nameScale {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.02); }
    75% { transform: scale(0.98); }
}

@keyframes typewriter {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes typewriter-name {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink {
    50% { border-color: transparent; }
}

@keyframes blink-name {
    50% { border-color: transparent; }
}

.name-highlight {
    background: linear-gradient(135deg, #00d4ff, #0066ff, #ff6b6b, #a855f7);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 2s ease-in-out infinite;
}

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

.console-box {
    background: rgba(0, 0, 0, 0.95);
    border: 2px solid #333;
    border-radius: 12px;
    margin-bottom: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    max-width: 100%;
    overflow: hidden;
}

.console-header {
    background: #2d2d2d;
    padding: 0.8rem 1rem;
    border-bottom: 1px solid #333;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.console-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.console-dot.red { background: #ff5f56; }
.console-dot.yellow { background: #ffbd2e; }
.console-dot.green { background: #27ca3f; }

.console-title {
    font-family: 'Courier Prime', monospace;
    color: #999;
    font-size: 0.8rem;
    margin-left: auto;
}

.console-content {
    padding: 1rem;
    font-family: 'Courier Prime', monospace;
    font-size: clamp(0.8rem, 2vw, 0.9rem);
    line-height: 1.6;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.console-line {
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.console-output {
    color: #00ff00;
    margin-bottom: 0.8rem;
    padding-left: 1rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.console-cursor {
    color: var(--accent-color);
    margin-top: 1rem;
}

.blinking-cursor {
    animation: blink 1s infinite;
}

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

.company-highlight {
    color: var(--accent-color);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.company-highlight:hover {
    color: #ffffff;
    text-shadow: 0 0 10px var(--accent-color);
}

.book-highlight {
    color: #a855f7;
    font-style: italic;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.book-highlight:hover {
    color: #ffffff;
    text-shadow: 0 0 10px #a855f7;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
}

.cta-primary, .cta-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: clamp(0.8rem, 2vw, 1rem) clamp(1.5rem, 4vw, 2rem);
    font-family: 'Courier Prime', monospace;
    font-size: clamp(0.9rem, 2vw, 1rem);
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
    min-width: 160px;
    text-align: center;
    white-space: nowrap;
}

.cta-primary {
    background: rgba(0, 0, 0, 0.9);
    color: #00ff00;
    border: 2px solid #00ff00;
    box-shadow: 
        0 0 20px rgba(0, 255, 0, 0.3),
        inset 0 0 20px rgba(0, 255, 0, 0.1);
}

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

.cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 0 30px rgba(0, 255, 0, 0.6),
        0 10px 20px rgba(0, 255, 0, 0.2);
    text-shadow: 0 0 10px #00ff00;
}

.cta-primary:hover::before {
    left: 100%;
}

.cta-secondary {
    background: rgba(0, 0, 0, 0.9);
    color: #00d4ff;
    border: 2px solid #00d4ff;
    box-shadow: 
        0 0 20px rgba(0, 212, 255, 0.3),
        inset 0 0 20px rgba(0, 212, 255, 0.1);
}

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

.cta-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 0 30px rgba(0, 212, 255, 0.6),
        0 10px 20px rgba(0, 212, 255, 0.2);
    text-shadow: 0 0 10px #00d4ff;
}

.cta-secondary:hover::before {
    left: 100%;
}

/* Profile Hologram */
.profile-hologram {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hologram-glow {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.2), transparent 70%);
    border-radius: 50%;
    animation: pulse 3s ease-in-out infinite;
    z-index: 1;
}

.profile-circle {
    position: relative;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--accent-color);
    box-shadow: 
        0 0 50px rgba(0, 212, 255, 0.5),
        inset 0 0 50px rgba(0, 212, 255, 0.1);
    z-index: 2;
}

.profile-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.profile-hologram:hover .profile-circle img {
    transform: scale(1.05);
}

.orbit-ring {
    position: absolute;
    width: 380px;
    height: 380px;
    border: 3px solid transparent;
    border-top: 3px solid #00d4ff;
    border-right: 3px solid rgba(0, 212, 255, 0.3);
    border-radius: 50%;
    animation: orbitSpin 3s linear infinite;
    z-index: 3;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.6);
}

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

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

.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    text-decoration: none;
    text-align: center;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 102, 255, 0.3);
}

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

.btn-secondary:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
}



/* Stats Section */
.stats {
    padding: 4rem 0;
    background: var(--background-card);
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

@media (max-width: 768px) {
    .stats-container {
        padding: 0 1rem;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .stats-container {
        padding: 0 0.75rem;
        gap: 1rem;
    }
}

.stat-item {
    text-align: center;
    padding: 2rem;
    border-radius: 15px;
    background: rgba(0, 0, 0, 0.9);
    border: 2px solid #00ff00;
    position: relative;
    overflow: hidden;
    font-family: 'Courier Prime', monospace;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.3), inset 0 0 20px rgba(0, 255, 0, 0.1);
    transition: all 0.3s ease;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 0, 0.1), transparent);
    animation: scan 3s infinite;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 30px rgba(0, 255, 0, 0.5), inset 0 0 30px rgba(0, 255, 0, 0.2);
    border-color: #00ff41;
}

@keyframes scan {
    0% { left: -100%; }
    100% { left: 100%; }
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #00ff00;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 10px #00ff00;
    font-family: 'Courier Prime', monospace;
}

.stat-item p {
    color: #00ff41;
    font-weight: 500;
    font-family: 'Courier Prime', monospace;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.stat-icon {
    color: #00ff41;
    font-size: 2rem;
    margin-bottom: 1rem;
    text-shadow: 0 0 15px #00ff41;
    animation: iconGlow 2s ease-in-out infinite alternate;
}

@keyframes iconGlow {
    0% { 
        color: #00ff00;
        text-shadow: 0 0 15px #00ff00;
    }
    100% { 
        color: #00ff41;
        text-shadow: 0 0 25px #00ff41, 0 0 35px #00ff00;
    }
}

/* Highlights Section */
.highlights {
    padding: 5rem 0;
}

@media (max-width: 768px) {
    .highlights {
        padding: 4rem 0;
    }
}

@media (max-width: 480px) {
    .highlights {
        padding: 3rem 0;
    }
}

.highlights h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 4rem;
    font-size: 1.1rem;
}

.highlights-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: repeat(2, 300px);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.highlight-card.featured {
    grid-column: span 2;
}

.highlight-card {
    background: var(--background-card);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
    position: relative;
}

.highlight-card:hover {
    transform: translateY(-5px);
}

.highlight-card.featured {
    grid-row: span 2;
}

.card-image {
    height: 60%;
    background: var(--gradient-primary);
    opacity: 0.8;
}

.highlight-card.featured .card-image {
    height: 70%;
}

.card-content {
    padding: 1.5rem;
    height: 40%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.highlight-card.featured .card-content {
    height: 30%;
}

.card-badge {
    background: var(--accent-color);
    color: var(--background-dark);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    width: fit-content;
    margin-bottom: 0.5rem;
}

.card-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.card-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.card-tags {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.card-tags span {
    background: rgba(0, 212, 255, 0.2);
    color: var(--accent-color);
    padding: 0.2rem 0.6rem;
    border-radius: 15px;
    font-size: 0.8rem;
}

.gallery-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* Innovation Section */
.innovation {
    padding: 5rem 0;
    background: var(--background-card);
}

@media (max-width: 768px) {
    .innovation {
        padding: 4rem 0;
    }
}

@media (max-width: 480px) {
    .innovation {
        padding: 3rem 0;
    }
}

.innovation h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.innovation h2::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.2), transparent);
    transform: translate(-50%, -50%);
    z-index: -1;
    animation: pulse 2s infinite;
}

.innovation-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.innovation-text h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    animation: fadeInScale 1s ease-out;
}

@keyframes fadeInScale {
    0% { opacity: 0; transform: scale(0.8); }
    100% { opacity: 1; transform: scale(1); }
}

.innovation-text p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    line-height: 1.7;
    animation: fadeInUp 1.2s ease-out 0.3s both;
}

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

.innovation-features {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
}

.feature h4 {
    font-size: 1.2rem;
    color: var(--accent-color);
    font-weight: 600;
}

/* Publications Section */
.publications {
    padding: 5rem 0;
}

@media (max-width: 768px) {
    .publications {
        padding: 4rem 0;
    }
}

@media (max-width: 480px) {
    .publications {
        padding: 3rem 0;
    }
}

.publications h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
}

.publications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.publication-card {
    background: var(--background-card);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
}

.publication-card:hover {
    transform: translateY(-5px);
}

.publication-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.publication-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.publication-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.publication-meta span {
    background: rgba(0, 102, 255, 0.2);
    color: var(--primary-color);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Achievements Section */
.achievements {
    padding: 6rem 0;
    background: var(--background-card);
}

.achievements h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 4rem;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.achievement-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
}

.achievement-card:hover {
    transform: translateY(-5px);
}

.achievement-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.achievement-card p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.achievement-stats {
    display: flex;
    gap: 2rem;
}

.stat {
    text-align: center;
}

.stat .number {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stat .label {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Responsive Design */
@media (max-width: 768px) {
    .floating-nav {
        bottom: 1.5rem;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .nav-items {
        gap: 0.8rem;
        padding: 0.8rem 1.2rem;
    }
    
    .nav-btn {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .floating-nav {
        bottom: 1rem;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .nav-items {
        gap: 0.6rem;
        padding: 0.7rem 1rem;
    }
    
    .nav-btn {
        width: 42px;
        height: 42px;
        font-size: 1rem;
    }
}

/* Responsive body padding to prevent navigation overlap */
@media (max-width: 768px) {
    body {
        padding-bottom: 100px;
    }
}

@media (max-width: 480px) {
    body {
        padding-bottom: 90px;
    }
}

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        padding: 0 1.5rem;
        min-height: 60vh;
    }
    
    .hero-left {
        align-items: center;
        text-align: center;
    }
    
    .hero-greeting {
        text-align: center;
        font-size: clamp(1rem, 4vw, 1.2rem);
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .profile-circle {
        width: 250px;
        height: 250px;
    }
    
    .hologram-glow {
        width: 300px;
        height: 300px;
    }
    
    .orbit-ring {
        width: 280px;
        height: 280px;
    }
    
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .highlights-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    
    .highlight-card.featured {
        grid-row: span 1;
    }
    
    .innovation-features {
        flex-direction: column;
        gap: 1rem;
    }
    
    .gallery-actions {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero-container {
        padding: 0 1rem;
        min-height: 60vh;
        gap: 1.5rem;
    }
    
    .hero-left {
        align-items: center;
        text-align: center;
        order: 2;
    }
    
    .hero-right {
        order: 1;
        display: flex;
        justify-content: center;
    }
    
    .hero-greeting {
        text-align: center;
        font-size: clamp(0.9rem, 5vw, 1rem);
        margin-bottom: 0.5rem;
    }
    
    .hero-cta {
        justify-content: center;
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }
    
    .cta-primary, .cta-secondary {
        width: 100%;
        max-width: 280px;
        padding: 1rem;
        font-size: 0.9rem;
    }
    
    .console-content {
        padding: 0.8rem;
        font-size: 0.8rem;
    }
    
    .console-output {
        padding-left: 0.5rem;
    }
    
    .stats-container {
        grid-template-columns: 1fr;
        padding: 0 1rem;
        gap: 1rem;
    }
    
    .profile-circle {
        width: 180px;
        height: 180px;
    }
    
    .hologram-glow {
        width: 220px;
        height: 220px;
    }
    
    .orbit-ring {
        width: 210px;
        height: 210px;
    }
    
    .achievements-grid,
    .publications-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-items {
        padding: 0.5rem 0.8rem;
        gap: 0.4rem;
    }
    
    .nav-btn {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }
    
    .floating-nav {
        bottom: 1rem;
    }
}

/* Blog Bulletin Section */
.blog-bulletin {
    padding: 5rem 0;
    background: var(--background-card);
}

/* News Bulletin Section */
.news-bulletin {
    padding: 5rem 0;
    background: var(--background-card);
}

.news-bulletin h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.news-bulletin .section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .blog-bulletin {
        padding: 4rem 0;
    }
}

@media (max-width: 480px) {
    .blog-bulletin {
        padding: 3rem 0;
    }
}

.blog-bulletin h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stories-container {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    padding: 2rem 0;
    scroll-behavior: smooth;
}

.stories-container::-webkit-scrollbar {
    height: 8px;
}

.stories-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.stories-container::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 10px;
}

.story-item {
    min-width: 200px;
    height: 300px;
    background: var(--background-dark);
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid rgba(0, 212, 255, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.story-item:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.3);
}

.story-image {
    height: 70%;
    overflow: hidden;
    position: relative;
}

.story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.story-item:hover .story-image img {
    transform: scale(1.1);
}

.story-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
}

.story-content {
    height: 30%;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.story-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.story-content p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

@media (max-width: 768px) {
    .stories-container {
        gap: 1rem;
        padding: 1rem 0;
    }
    
    .story-item {
        min-width: 150px;
        height: 250px;
    }
    
    .story-content {
        padding: 0.8rem;
    }
    
    .story-content h4 {
        font-size: 0.9rem;
    }
    
    .story-content p {
        font-size: 0.7rem;
    }
}
/* Blog Modal */
.blog-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.blog-modal-content {
    background-color: var(--background-card);
    margin: 2% auto;
    padding: 0;
    border: 2px solid var(--accent-color);
    border-radius: 20px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.blog-close {
    color: var(--accent-color);
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    right: 20px;
    top: 15px;
    z-index: 1001;
    cursor: pointer;
    background: var(--background-dark);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-close:hover {
    color: #ffffff;
    background: var(--accent-color);
}

#blogContent {
    padding: 3rem;
    color: var(--text-primary);
    line-height: 1.8;
}

#blogContent h1 {
    color: var(--accent-color);
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

#blogContent h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin: 2rem 0 1rem 0;
}

#blogContent p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

#blogContent ul {
    margin: 1rem 0 1.5rem 2rem;
}

#blogContent li {
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .blog-modal-content {
        width: 95%;
        margin: 5% auto;
    }
    
    #blogContent {
        padding: 2rem 1.5rem;
    }
    
    #blogContent h1 {
        font-size: 2rem;
    }
    
    #blogContent h2 {
        font-size: 1.5rem;
    }
}
/* Achievements Section */
.achievements {
    padding: 6rem 0;
    background: var(--background-card);
}

.achievements h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 4rem;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.achievement-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
}

.achievement-card:hover {
    transform: translateY(-5px);
}

.achievement-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.achievement-card p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.achievement-stats {
    display: flex;
    gap: 2rem;
}

.stat {
    text-align: center;
}

.stat .number {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stat .label {
    font-size: 0.9rem;
    color: var(--text-secondary);
}
/* Optimized Cursor Effect */
* {
    cursor: auto !important;
}

a, button, .nav-btn, .cta-primary, .cta-secondary, .btn-secondary, .feature-card, .story-item, .highlight-card, .publication-card, .achievement-card, .register-btn, input[type="submit"], input[type="button"], [role="button"], .clickable {
    cursor: pointer !important;
}

input, textarea, select {
    cursor: text !important;
}

body, html {
    cursor: auto !important;
}

.cursor {
    position: fixed;
    width: 16px;
    height: 16px;
    background: rgba(0, 212, 255, 0.8);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.6);
    transition: transform 0.08s cubic-bezier(0.4, 0, 0.2, 1);
    mix-blend-mode: screen;
    will-change: transform;
}

.cursor-trail {
    position: fixed;
    width: 6px;
    height: 6px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.6), rgba(0, 212, 255, 0.2));
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.4);
    transition: all 0.12s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.7;
    will-change: transform;
}
/* Enhanced Gallery Styles */
.gallery-page {
    min-height: 100vh;
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #0a0a0a 100%);
    position: relative;
}

.gallery-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(0, 212, 255, 0.05) 1px, transparent 1px),
        radial-gradient(circle at 75% 75%, rgba(0, 102, 255, 0.05) 1px, transparent 1px);
    background-size: 100px 100px, 150px 150px;
    animation: backgroundDrift 30s linear infinite;
    pointer-events: none;
}

@keyframes backgroundDrift {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

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

.section-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
    position: relative;
    display: inline-block;
}

.highlight-text {
    background: linear-gradient(135deg, #00d4ff, #0066ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.title-underline {
    width: 100px;
    height: 4px;
    background: linear-gradient(135deg, #00d4ff, #0066ff);
    margin: 1rem auto 2rem;
    border-radius: 2px;
    position: relative;
}

.title-underline::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.3), transparent);
    transform: translate(-50%, -50%);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.gallery-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-weight: 300;
}

/* Filter Buttons */
.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.8rem 2rem;
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid rgba(0, 212, 255, 0.3);
    color: var(--text-secondary);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

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

.filter-btn:hover,
.filter-btn.active {
    border-color: var(--accent-color);
    color: var(--accent-color);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
    transform: translateY(-2px);
}

.filter-btn:hover::before,
.filter-btn.active::before {
    left: 100%;
}

.filter-btn.active {
    background: rgba(0, 212, 255, 0.1);
    color: var(--text-primary);
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.gallery-item {
    background: linear-gradient(145deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.08);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    position: relative;
    backdrop-filter: blur(10px);
    box-shadow: 
        0 8px 32px rgba(0,0,0,0.3),
        0 2px 8px rgba(0,212,255,0.05);
}



.gallery-item.large {
    grid-column: span 2;
}

.gallery-item:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 
        0 25px 50px rgba(0,0,0,0.4),
        0 10px 30px rgba(0,212,255,0.15);
    border-color: rgba(0,212,255,0.3);
}

.item-image {
    position: relative;
    height: 180px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(0,102,255,0.1), rgba(0,212,255,0.05));
}



.gallery-item.large .item-image {
    height: 200px;
}

.item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item:hover .item-image img {
    transform: scale(1.1) rotate(1deg);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(0,0,0,0.7) 0%,
        rgba(0,212,255,0.2) 50%,
        rgba(0,0,0,0.8) 100%
    );
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .image-overlay {
    opacity: 1;
}

.overlay-content {
    text-align: center;
    color: white;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.gallery-item:hover .overlay-content {
    transform: translateY(0);
}

.overlay-content i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: block;
}

.view-text {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.item-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
}

.featured-badge {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.collection-badge {
    background: linear-gradient(135deg, #a855f7, #7c3aed);
    color: white;
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.3);
}

.item-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.item-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.8rem;
    line-height: 1.3;
}

.item-content p {
    color: var(--text-secondary);
    line-height: 1.4;
    margin-bottom: 0.8rem;
    font-size: 0.85rem;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.item-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    flex-wrap: wrap;
    gap: 0.5rem;
}

.item-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.item-meta i {
    color: var(--accent-color);
}

.item-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.item-tags span {
    background: rgba(0, 212, 255, 0.15);
    color: var(--accent-color);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.hidden-images {
    display: none;
}

/* Gallery Actions */
.gallery-actions {
    text-align: center;
    margin-top: 4rem;
}

.load-more-btn {
    padding: 1rem 3rem;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(0, 102, 255, 0.1));
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.load-more-btn:hover {
    background: var(--accent-color);
    color: var(--background-dark);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
    transform: translateY(-3px);
}

.load-more-btn:hover::before {
    left: 100%;
}

.load-more-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.load-more-btn i {
    margin-right: 0.5rem;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    .gallery-item.featured,
    .gallery-item.large {
        grid-column: span 1;
        grid-row: span 1;
    }
}

@media (max-width: 768px) {
    .gallery-page {
        padding: 6rem 0 2rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .gallery-filters {
        gap: 0.5rem;
        margin-bottom: 3rem;
    }
    
    .filter-btn {
        padding: 0.6rem 1.5rem;
        font-size: 0.8rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .item-image {
        height: 200px;
    }
    
    .gallery-item.featured .item-image {
        height: 250px;
    }
    
    .item-content {
        padding: 1.5rem;
    }
    
    .item-content h3 {
        font-size: 1.2rem;
    }
    
    .item-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 2rem;
    }
    
    .gallery-filters {
        flex-direction: column;
        align-items: center;
    }
    
    .filter-btn {
        width: 200px;
    }
    
    .item-content {
        padding: 1rem;
    }
    
    .load-more-btn {
        padding: 0.8rem 2rem;
        font-size: 0.9rem;
    }
}

/* Animation for gallery items on load */
.gallery-item {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

.gallery-item:nth-child(1) { animation-delay: 0.1s; }
.gallery-item:nth-child(2) { animation-delay: 0.2s; }
.gallery-item:nth-child(3) { animation-delay: 0.3s; }
.gallery-item:nth-child(4) { animation-delay: 0.4s; }
.gallery-item:nth-child(5) { animation-delay: 0.5s; }
.gallery-item:nth-child(6) { animation-delay: 0.6s; }
.gallery-item:nth-child(7) { animation-delay: 0.7s; }
.gallery-item:nth-child(8) { animation-delay: 0.8s; }

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

/* Pulse animation for featured items */
.gallery-item.featured::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #ff6b6b, #ee5a24, #ff6b6b);
    border-radius: 22px;
    z-index: -1;
    animation: borderPulse 3s ease-in-out infinite;
    opacity: 0.3;
}

@keyframes borderPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}
/* Media Page Styles */
.media-page {
    min-height: 100vh;
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #0a0a0a 100%);
    position: relative;
}

.media-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(0, 212, 255, 0.05) 1px, transparent 1px),
        radial-gradient(circle at 75% 75%, rgba(0, 102, 255, 0.05) 1px, transparent 1px);
    background-size: 100px 100px, 150px 150px;
    animation: backgroundDrift 30s linear infinite;
    pointer-events: none;
}

.media-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-weight: 300;
    text-align: center;
}

/* Media Filters */
.media-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

/* Media Grid */
.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.media-item {
    background: linear-gradient(145deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.08);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    position: relative;
    backdrop-filter: blur(10px);
    box-shadow: 
        0 8px 32px rgba(0,0,0,0.3),
        0 2px 8px rgba(0,212,255,0.05);
}

.media-item:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 
        0 25px 50px rgba(0,0,0,0.4),
        0 10px 30px rgba(0,212,255,0.15);
    border-color: rgba(0,212,255,0.3);
}

.media-thumbnail {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(0,102,255,0.1), rgba(0,212,255,0.05));
}

.media-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.media-item:hover .media-thumbnail img {
    transform: scale(1.1);
}

.media-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(0,0,0,0.6) 0%,
        rgba(0,212,255,0.2) 50%,
        rgba(0,0,0,0.7) 100%
    );
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.media-item:hover .media-overlay {
    opacity: 1;
}

.play-button {
    width: 60px;
    height: 60px;
    background: rgba(0, 212, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.media-item:hover .play-button {
    transform: scale(1);
}

.live-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, #ff4757, #ff3742);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: pulse 2s infinite;
}

.media-content {
    padding: 1.5rem;
}

.media-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.8rem;
    line-height: 1.3;
}

.media-content p {
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.media-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.platform-tag {
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.platform-tag.youtube {
    background: rgba(255, 0, 0, 0.15);
    color: #ff4444;
    border: 1px solid rgba(255, 0, 0, 0.2);
}

.platform-tag.facebook {
    background: rgba(24, 119, 242, 0.15);
    color: #1877f2;
    border: 1px solid rgba(24, 119, 242, 0.2);
}

.platform-tag.reel {
    background: rgba(168, 85, 247, 0.15);
    color: #a855f7;
    border: 1px solid rgba(168, 85, 247, 0.2);
}

/* Animation for media items on load */
.media-item {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .media-page {
        padding: 6rem 0 2rem;
    }
    
    .media-filters {
        gap: 0.5rem;
        margin-bottom: 3rem;
    }
    
    .media-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .media-thumbnail {
        height: 180px;
    }
    
    .media-content {
        padding: 1rem;
    }
    
    .play-button {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}
/* Blog Page Styles */
.blog-page {
    min-height: 100vh;
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #0a0a0a 100%);
    position: relative;
}

.blog-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(0, 212, 255, 0.05) 1px, transparent 1px),
        radial-gradient(circle at 75% 75%, rgba(0, 102, 255, 0.05) 1px, transparent 1px);
    background-size: 100px 100px, 150px 150px;
    animation: backgroundDrift 30s linear infinite;
    pointer-events: none;
}

.blog-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-weight: 300;
    text-align: center;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.blog-card {
    background: linear-gradient(145deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.08);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    backdrop-filter: blur(10px);
    box-shadow: 
        0 8px 32px rgba(0,0,0,0.3),
        0 2px 8px rgba(0,212,255,0.05);
}

.blog-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 
        0 25px 50px rgba(0,0,0,0.4),
        0 10px 30px rgba(0,212,255,0.15);
    border-color: rgba(0,212,255,0.3);
}

.blog-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(0,102,255,0.1), rgba(0,212,255,0.05));
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: linear-gradient(135deg, #00d4ff, #0066ff);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-content {
    padding: 2rem;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.blog-meta i {
    color: var(--accent-color);
}

.blog-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.blog-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.blog-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.blog-tags span {
    background: rgba(0, 212, 255, 0.15);
    color: var(--accent-color);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.read-more:hover {
    color: var(--text-primary);
    transform: translateX(5px);
}

.read-more i {
    transition: transform 0.3s ease;
}

.read-more:hover i {
    transform: translateX(3px);
}

.external-links {
    text-align: center;
    margin-top: 4rem;
    padding: 3rem;
    background: rgba(255,255,255,0.02);
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.05);
}

.external-links h3 {
    font-size: 1.8rem;
    color: var(--text-primary);
    margin-bottom: 2rem;
}

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

.external-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2rem;
    background: rgba(0, 212, 255, 0.05);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 15px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.external-link:hover {
    background: rgba(0, 212, 255, 0.1);
    border-color: var(--accent-color);
    transform: translateY(-5px);
}

.external-link i {
    font-size: 2rem;
    color: var(--accent-color);
}

.external-link span {
    font-weight: 600;
    font-size: 1rem;
}

/* Animation for blog items on load */
.blog-card {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .blog-page {
        padding: 6rem 0 2rem;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .blog-image {
        height: 180px;
    }
    
    .blog-content {
        padding: 1.5rem;
    }
    
    .link-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .external-links {
        padding: 2rem;
    }
}
/* Contact Page Styles */
.contact-page {
    min-height: 100vh;
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #0a0a0a 100%);
    position: relative;
}

.contact-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(0, 212, 255, 0.05) 1px, transparent 1px),
        radial-gradient(circle at 75% 75%, rgba(0, 102, 255, 0.05) 1px, transparent 1px);
    background-size: 100px 100px, 150px 150px;
    animation: backgroundDrift 30s linear infinite;
    pointer-events: none;
}

.contact-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-weight: 300;
    text-align: center;
}

.contact-container {
    margin-bottom: 4rem;
}

.contact-content-con {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.left-contact {
    background: linear-gradient(145deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.08);
    padding: 2.5rem;
    backdrop-filter: blur(10px);
    box-shadow: 
        0 8px 32px rgba(0,0,0,0.3),
        0 2px 8px rgba(0,212,255,0.05);
}

.left-contact p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2rem;
    font-size: 1rem;
}

.contact-info {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.contact-item .icon {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    min-width: 140px;
    color: var(--accent-color);
    font-weight: 600;
}

.contact-item i {
    font-size: 1.1rem;
}

.contact-item p {
    margin: 0;
    color: var(--text-secondary);
}

.contact-item a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--text-primary);
}

.social-links {
    margin-bottom: 2rem;
}

.social-links h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.social-icons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.social-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 12px;
    color: var(--accent-color);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.social-icon:hover {
    background: var(--accent-color);
    color: var(--background-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 212, 255, 0.3);
}

.tooltip {
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--background-dark);
    color: var(--text-primary);
    padding: 0.3rem 0.6rem;
    border-radius: 6px;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    border: 1px solid rgba(255,255,255,0.1);
}

.social-icon:hover .tooltip {
    opacity: 1;
}

.right-contact {
    background: linear-gradient(145deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.08);
    padding: 2.5rem;
    backdrop-filter: blur(10px);
    box-shadow: 
        0 8px 32px rgba(0,0,0,0.3),
        0 2px 8px rgba(0,212,255,0.05);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    padding: 1rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px rgba(0, 212, 255, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #00d4ff, #0066ff);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}

.btn-primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.quick-contact {
    text-align: center;
    margin-top: 4rem;
}

.quick-contact h3 {
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 2rem;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.contact-card {
    background: linear-gradient(145deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.08);
    padding: 2rem;
    text-align: center;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
    box-shadow: 
        0 8px 32px rgba(0,0,0,0.3),
        0 2px 8px rgba(0,212,255,0.05);
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 
        0 25px 50px rgba(0,0,0,0.4),
        0 10px 30px rgba(0,212,255,0.15);
    border-color: rgba(0,212,255,0.3);
}

.card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.2), rgba(0, 102, 255, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--accent-color);
}

.contact-card h4 {
    color: var(--text-primary);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.contact-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.8rem 1.5rem;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    color: var(--accent-color);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.contact-btn:hover {
    background: var(--accent-color);
    color: var(--background-dark);
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-page {
        padding: 6rem 0 2rem;
    }
    
    .contact-content-con {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .left-contact,
    .right-contact {
        padding: 2rem;
    }
    
    .social-icons {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .contact-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .contact-item .icon {
        min-width: auto;
    }
}
/* Appointment Scheduling Styles */
.appointment-types {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin: 2rem 0;
}

.appointment-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 15px;
    border: 1px solid rgba(0, 212, 255, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.appointment-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.2);
}

.appointment-card i {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
    display: block;
}

.appointment-card h4 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.appointment-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.4;
}

.appointment-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group select {
    width: 100%;
    padding: 1rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group select:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px rgba(0, 212, 255, 0.2);
}

.form-group select option {
    background: var(--background-dark);
    color: var(--text-primary);
    padding: 0.5rem;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .appointment-types {
        grid-template-columns: 1fr;
    }
    
    .appointment-card {
        padding: 1rem;
    }
    
    .appointment-card i {
        font-size: 1.5rem;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* Firefox */
html {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
}

/* Mobile-specific optimizations */
.mobile-device * {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.mobile-device .floating-particles-bg,
.mobile-device .circuit-lines {
    display: none;
}

.mobile-device .cursor,
.mobile-device .cursor-trail {
    display: none !important;
}

/* Reduce motion for better performance */
@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;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --accent-color: #00ffff;
        --text-primary: #ffffff;
        --text-secondary: #cccccc;
    }
}

/* Dark mode optimization */
@media (prefers-color-scheme: dark) {
    :root {
        --background-dark: #000000;
        --background-card: #111111;
    }
}

/* Performance optimizations */
.hero-modern,
.floating-nav,
.profile-hologram {
    will-change: transform;
    transform: translateZ(0);
}

/* GPU acceleration for smooth animations */
.nav-btn,
.cta-primary,
.cta-secondary,
.highlight-card,
.publication-card {
    will-change: transform;
    transform: translateZ(0);
}

/* Optimize font loading */
@font-face {
    font-family: 'Inter';
    font-display: swap;
}

@font-face {
    font-family: 'Courier Prime';
    font-display: swap;
}

/* About Page Styles */
.about-page {
    min-height: 100vh;
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #0a0a0a 100%);
    position: relative;
}

.about-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(0, 212, 255, 0.05) 1px, transparent 1px),
        radial-gradient(circle at 75% 75%, rgba(0, 102, 255, 0.05) 1px, transparent 1px);
    background-size: 100px 100px, 150px 150px;
    animation: backgroundDrift 30s linear infinite;
    pointer-events: none;
}

.about-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-weight: 300;
    text-align: center;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 4rem;
    align-items: start;
}

.left-about {
    background: linear-gradient(145deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.08);
    padding: 2.5rem;
    backdrop-filter: blur(10px);
    box-shadow: 
        0 8px 32px rgba(0,0,0,0.3),
        0 2px 8px rgba(0,212,255,0.05);
}

.about-text p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    text-align: justify;
}

.about-text strong {
    color: var(--accent-color);
    font-weight: 600;
}

.right-about {
    background: linear-gradient(145deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.08);
    padding: 2rem;
    backdrop-filter: blur(10px);
    box-shadow: 
        0 8px 32px rgba(0,0,0,0.3),
        0 2px 8px rgba(0,212,255,0.05);
}

.timeline {
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent-color), rgba(0, 212, 255, 0.3));
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    padding-left: 4rem;
}

.tl-icon {
    position: absolute;
    left: 0;
    top: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.2), rgba(0, 102, 255, 0.1));
    border: 2px solid var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    font-size: 1.2rem;
    z-index: 2;
}

.tl-duration {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.timeline-item h5 {
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.timeline-item h5 span {
    color: var(--text-secondary);
    font-weight: 400;
    font-size: 0.95rem;
}

.timeline-item p {
    color: var(--text-secondary);
    line-height: 1.5;
    font-size: 0.9rem;
}

.btn-con {
    margin-top: 2rem;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .about-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .right-about {
        max-height: none;
        overflow-y: visible;
    }
}

@media (max-width: 768px) {
    .about-page {
        padding: 6rem 0 2rem;
    }
    
    .left-about,
    .right-about {
        padding: 2rem;
    }
    
    .timeline-item {
        padding-left: 3rem;
    }
    
    .tl-icon {
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }
    
    .timeline::before {
        left: 25px;
    }
}
/* Enhanced Home Page Animations */
@keyframes particleFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(120deg); }
    66% { transform: translateY(10px) rotate(240deg); }
}

@keyframes glowPulse {
    0%, 100% { box-shadow: 0 0 20px rgba(0, 212, 255, 0.3); }
    50% { box-shadow: 0 0 40px rgba(0, 212, 255, 0.6), 0 0 60px rgba(0, 212, 255, 0.3); }
}

@keyframes textGlow {
    0%, 100% { text-shadow: 0 0 10px rgba(0, 212, 255, 0.5); }
    50% { text-shadow: 0 0 20px rgba(0, 212, 255, 0.8), 0 0 30px rgba(0, 212, 255, 0.4); }
}

/* Enhanced Hero Section */
.hero-modern {
    background: 
        radial-gradient(circle at 20% 80%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 102, 255, 0.1) 0%, transparent 50%),
        linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #0a0a0a 100%);
}

.hero-name {
    animation: textGlow 3s ease-in-out infinite;
}

.profile-circle {
    animation: glowPulse 4s ease-in-out infinite;
}

/* Floating Particles */
.floating-particles-bg::before,
.floating-particles-bg::after {
    animation: particleFloat 8s ease-in-out infinite;
}

/* Enhanced Stats */
.stat-item {
    position: relative;
    overflow: hidden;
}

.stat-item::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(0, 255, 0, 0.1), transparent);
    transform: rotate(45deg);
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

/* Enhanced Cards */
.highlight-card,
.publication-card,
.achievement-card {
    position: relative;
    overflow: hidden;
}

.highlight-card::before,
.publication-card::before,
.achievement-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.1), transparent);
    transition: left 0.6s;
}

.highlight-card:hover::before,
.publication-card:hover::before,
.achievement-card:hover::before {
    left: 100%;
}

/* Enhanced Navigation - Already included above */

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

.nav-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.3), transparent);
    transition: all 0.3s ease;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.nav-btn:hover::before {
    width: 100px;
    height: 100px;
}

/* Enhanced Buttons */
.cta-primary,
.cta-secondary,
.btn-primary,
.btn-secondary {
    position: relative;
    overflow: hidden;
}

.cta-primary::after,
.cta-secondary::after,
.btn-primary::after,
.btn-secondary::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.5s ease;
}

.cta-primary:hover::after,
.cta-secondary:hover::after,
.btn-primary:hover::after,
.btn-secondary:hover::after {
    width: 300px;
    height: 300px;
}

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

/* Enhanced Transitions */
* {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Loading Animation */
@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(30px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.hero-container > * {
    animation: fadeInScale 0.8s ease-out forwards;
}

.hero-left > * {
    opacity: 0;
    animation: fadeInScale 0.6s ease-out forwards;
}

.hero-left > *:nth-child(1) { animation-delay: 0.2s; }
.hero-left > *:nth-child(2) { animation-delay: 0.4s; }
.hero-left > *:nth-child(3) { animation-delay: 0.6s; }
.hero-left > *:nth-child(4) { animation-delay: 0.8s; }

.hero-right {
    opacity: 0;
    animation: fadeInScale 1s ease-out 0.5s forwards;
}

/* Video Introduction Section */
.video-introduction {
    padding: 5rem 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.9), rgba(26, 26, 46, 0.8));
    position: relative;
}

.l-shape-container {
    display: grid;
    grid-template-areas:
        "video intro"
        "text text";
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.video-player {
    grid-area: video;
    background: linear-gradient(145deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.08);
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 
        0 8px 32px rgba(0,0,0,0.3),
        0 2px 8px rgba(0,212,255,0.05);
    transition: all 0.4s ease;
    position: relative;
}

.video-player:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 25px 50px rgba(0,0,0,0.4),
        0 10px 30px rgba(0,212,255,0.25),
        0 0 100px rgba(0,212,255,0.2);
    border-color: rgba(0,212,255,0.5);
}

.video-player iframe {
    width: 100%;
    height: 315px;
    display: block;
    border-radius: 20px;
    background: #000;
    box-shadow: inset 0 0 50px rgba(0, 212, 255, 0.1);
}

@media (max-width: 480px) {
    .video-player iframe {
        height: 200px;
    }
}

.video-player::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 49%, rgba(0, 212, 255, 0.1) 50%, transparent 51%);
    pointer-events: none;
    border-radius: 20px;
    animation: premiumScan 3s linear infinite;
}

@keyframes premiumScan {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.video-description {
    grid-area: intro;
    background: linear-gradient(145deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.08);
    padding: 2.5rem;
    backdrop-filter: blur(10px);
    box-shadow: 
        0 8px 32px rgba(0,0,0,0.3),
        0 2px 8px rgba(0,212,255,0.05);
}

.video-description h3 {
    font-size: 1.8rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.video-description p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    text-align: justify;
}

.biography-text {
    grid-area: text;
    background: linear-gradient(145deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.08);
    padding: 2.5rem;
    backdrop-filter: blur(10px);
    box-shadow: 
        0 8px 32px rgba(0,0,0,0.3),
        0 2px 8px rgba(0,212,255,0.05);
}

.biography-text p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    text-align: justify;
}

.video-introduction::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 30% 70%, rgba(0, 212, 255, 0.05) 1px, transparent 1px),
        radial-gradient(circle at 70% 30%, rgba(0, 102, 255, 0.05) 1px, transparent 1px);
    background-size: 120px 120px, 180px 180px;
    animation: backgroundDrift 25s linear infinite;
    pointer-events: none;
}

.video-introduction h2 {
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-primary);
    position: relative;
}

.video-introduction .highlight-text {
    background: linear-gradient(135deg, #00d4ff, #0066ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.video-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    margin-top: 3rem;
}

.video-player {
    position: relative;
    background: linear-gradient(145deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.08);
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 
        0 8px 32px rgba(0,0,0,0.3),
        0 2px 8px rgba(0,212,255,0.05);
    transition: all 0.4s ease;
}

.video-player:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 25px 50px rgba(0,0,0,0.4),
        0 10px 30px rgba(0,212,255,0.15);
    border-color: rgba(0,212,255,0.3);
}

.video-player video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
    background: #000;
}

.video-description {
    background: linear-gradient(145deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.08);
    padding: 2.5rem;
    backdrop-filter: blur(10px);
    box-shadow: 
        0 8px 32px rgba(0,0,0,0.3),
        0 2px 8px rgba(0,212,255,0.05);
}

.video-description h3 {
    font-size: 1.8rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.video-description p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    text-align: justify;
}

.newspaper-content {
    margin-top: 0;
    background: linear-gradient(145deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.08);
    padding: 6rem 2.5rem 2.5rem 2.5rem;
    backdrop-filter: blur(10px);
    box-shadow: 
        0 8px 32px rgba(0,0,0,0.3),
        0 2px 8px rgba(0,212,255,0.05);
    position: relative;
    z-index: 2;
}

.newspaper-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.newspaper-columns .column p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    text-align: justify;
}

.video-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.video-stats .stat-item {
    text-align: center;
    padding: 1.5rem;
    background: rgba(0, 212, 255, 0.05);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.video-stats .stat-item:hover {
    background: rgba(0, 212, 255, 0.1);
    border-color: var(--accent-color);
    transform: translateY(-3px);
}

.video-stats .stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    font-family: 'Courier Prime', monospace;
}

.video-stats .stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

/* Responsive Design for Video Section */
@media (max-width: 1024px) {
    .l-shape-container {
        grid-template-areas:
            "video"
            "intro"
            "text";
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .video-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .video-introduction {
        padding: 4rem 0;
    }
    
    .video-introduction h2 {
        font-size: 2.2rem;
    }
    
    .video-description,
    .biography-text {
        padding: 2rem;
    }
    
    .video-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .video-stats .stat-number {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .video-introduction h2 {
        font-size: 1.8rem;
    }
    
    .video-description {
        padding: 1.5rem;
    }
    
    .video-description h3 {
        font-size: 1.5rem;
    }
    
    .newspaper-content {
        padding: 1.5rem;
    }
    
    .video-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}
/* Thank You Section */
.thank-you {
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(0, 102, 255, 0.05));
    text-align: center;
    position: relative;
    overflow: hidden;
}

.thank-you::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 50% 50%, rgba(0, 212, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: sparkle 4s linear infinite;
    pointer-events: none;
}

@keyframes sparkle {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

.thank-you-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto;
    padding: 3rem;
    background: linear-gradient(145deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
    border-radius: 30px;
    border: 1px solid rgba(0, 212, 255, 0.3);
    backdrop-filter: blur(15px);
    box-shadow: 
        0 20px 60px rgba(0,0,0,0.4),
        0 5px 20px rgba(0,212,255,0.2);
    animation: thankYouFloat 3s ease-in-out infinite;
}

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

.thank-you h2 {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, #00d4ff, #0066ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    animation: textGlow 2s ease-in-out infinite;
}

.thank-you p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-weight: 300;
}

.heart-icon {
    font-size: 3rem;
    animation: heartBeat 1.5s ease-in-out infinite;
    display: inline-block;
}

@keyframes heartBeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

@media (max-width: 768px) {
    .thank-you {
        padding: 4rem 0;
    }
    
    .thank-you-content {
        padding: 2rem;
        margin: 0 1rem;
    }
    
    .thank-you h2 {
        font-size: 2.5rem;
    }
    
    .thank-you p {
        font-size: 1rem;
    }
    
    .heart-icon {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .thank-you h2 {
        font-size: 2rem;
    }
    
    .heart-icon {
        font-size: 2rem;
    }
}

/* Premium AI CEO Footer */
.premium-footer {
    position: relative;
    background: linear-gradient(135deg, #000000 0%, #0a0a0a 50%, #1a1a1a 100%);
    padding: 4rem 0 0;
    overflow: hidden;
    border-top: 1px solid rgba(0, 212, 255, 0.2);
}

.footer-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

/* AI Pulse Line Animation */
.ai-pulse-line {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00d4ff, transparent);
    animation: pulseLine 3s ease-in-out infinite;
}

@keyframes pulseLine {
    0%, 100% { transform: translateX(-100%); opacity: 0; }
    50% { transform: translateX(0); opacity: 1; }
}

/* Starfield Background */
.starfield {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(0, 212, 255, 0.1) 1px, transparent 1px),
        radial-gradient(circle at 80% 70%, rgba(0, 102, 255, 0.1) 1px, transparent 1px),
        radial-gradient(circle at 40% 80%, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 150px 150px, 200px 200px, 100px 100px;
    animation: starDrift 20s linear infinite;
}

@keyframes starDrift {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 30px); }
}

/* Neural Network Pattern */
.neural-network {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(45deg, rgba(0, 212, 255, 0.02) 1px, transparent 1px),
        linear-gradient(-45deg, rgba(0, 212, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: networkPulse 8s ease-in-out infinite;
}

@keyframes networkPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

/* Footer Content */
.footer-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 3rem;
    padding: 3rem;
    background: linear-gradient(145deg, rgba(255,255,255,0.03), rgba(0,212,255,0.02));
    border-radius: 20px;
    border: 1px solid rgba(0, 212, 255, 0.1);
    backdrop-filter: blur(20px);
    box-shadow: 
        0 20px 60px rgba(0,0,0,0.4),
        0 5px 20px rgba(0,212,255,0.1);
    margin-bottom: 2rem;
}

/* Left Section */
.footer-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-logo {
    position: relative;
    margin-bottom: 1.5rem;
}

.footer-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid #00d4ff;
    object-fit: cover;
    position: relative;
    z-index: 2;
}

.logo-glow {
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.3), transparent 70%);
    border-radius: 50%;
    animation: logoGlow 3s ease-in-out infinite;
    z-index: 1;
}

@keyframes logoGlow {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

.footer-bio h3 {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.bio-title {
    color: #00d4ff;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.bio-desc {
    color: var(--text-secondary);
    font-style: italic;
    font-size: 0.9rem;
    margin: 0;
}

/* Middle Section */
.footer-middle h4 {
    color: #00d4ff;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-nav a {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
    border-left: 2px solid transparent;
    padding-left: 1rem;
}

.footer-nav a:hover {
    color: #00d4ff;
    border-left-color: #00d4ff;
    transform: translateX(5px);
}

.footer-nav a i {
    width: 16px;
    text-align: center;
    color: #00d4ff;
}

/* Right Section */
.footer-right h4 {
    color: #00d4ff;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.social-link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 12px;
    color: #00d4ff;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    overflow: hidden;
}

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

.social-link:hover {
    background: #00d4ff;
    color: #000;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 212, 255, 0.3);
}

.social-link:hover::before {
    left: 100%;
}

.social-tooltip {
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    background: #000;
    color: #fff;
    padding: 0.3rem 0.6rem;
    border-radius: 6px;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    border: 1px solid rgba(0, 212, 255, 0.3);
}

.social-link:hover .social-tooltip {
    opacity: 1;
}

.newsletter-signup {
    text-align: center;
    padding: 1.5rem;
    background: rgba(0, 212, 255, 0.05);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 15px;
}

.newsletter-signup p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.newsletter-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: linear-gradient(135deg, #00d4ff, #0066ff);
    color: #fff;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.newsletter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 212, 255, 0.4);
}

/* Terminal Section */
.footer-terminal {
    position: relative;
    z-index: 2;
    background: rgba(0, 0, 0, 0.95);
    border: 2px solid #333;
    border-radius: 15px;
    margin-bottom: 2rem;
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.6),
        0 0 20px rgba(0, 212, 255, 0.1);
    backdrop-filter: blur(10px);
    overflow: hidden;
}

.terminal-header {
    background: #2d2d2d;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #333;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.terminal-dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27ca3f; }

.terminal-title {
    font-family: 'Courier Prime', monospace;
    color: #999;
    font-size: 0.9rem;
    margin-left: auto;
}

.terminal-body {
    padding: 1.5rem;
    font-family: 'Courier Prime', monospace;
    font-size: 0.9rem;
    line-height: 1.6;
}

.terminal-line {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.prompt {
    color: #00ff00;
    font-weight: 600;
}

.command {
    color: #00d4ff;
}

.terminal-output {
    margin-bottom: 1rem;
    padding-left: 2rem;
}

.output-text {
    color: #fff;
}

.cursor-blink {
    color: #00d4ff;
    animation: cursorBlink 1s infinite;
}

@keyframes cursorBlink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Bottom Bar */
.footer-bottom {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
    border-top: 1px solid rgba(0, 212, 255, 0.1);
}

.copyright p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

.scroll-to-top {
    position: relative;
    width: 50px;
    height: 50px;
    background: rgba(0, 212, 255, 0.1);
    border: 2px solid rgba(0, 212, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00d4ff;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.scroll-to-top:hover {
    background: #00d4ff;
    color: #000;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 212, 255, 0.4);
}

.scroll-glow {
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.3), transparent 70%);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.scroll-to-top:hover .scroll-glow {
    opacity: 1;
    animation: scrollGlow 2s ease-in-out infinite;
}

@keyframes scrollGlow {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    
    .footer-right {
        grid-column: span 2;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
        align-items: start;
    }
}

@media (max-width: 768px) {
    .premium-footer {
        padding: 3rem 0 0;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem;
    }
    
    .footer-right {
        grid-column: span 1;
        display: block;
    }
    
    .social-grid {
        grid-template-columns: repeat(4, 1fr);
        margin-bottom: 1.5rem;
    }
    
    .terminal-body {
        padding: 1rem;
        font-size: 0.8rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .footer-content {
        padding: 1.5rem;
    }
    
    .footer-avatar {
        width: 60px;
        height: 60px;
    }
    
    .footer-bio h3 {
        font-size: 1.3rem;
    }
    
    .social-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .terminal-header {
        padding: 0.8rem 1rem;
    }
    
    .terminal-body {
        padding: 1rem;
        font-size: 0.75rem;
    }
}