:root {
    --bg-color: #050505;
    --surface-color: #121212;
    --surface-hover: #1a1a1a;
    --primary-color: #7c4dff;
    --secondary-color: #00e5ff;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --font-body: 'Inter', sans-serif;
    --font-heading: 'Rajdhani', sans-serif;
    --glass-bg: rgba(18, 18, 18, 0.7);
    --glass-border: 1px solid rgba(255, 255, 255, 0.1);
    --shadow-glow: 0 0 20px rgba(124, 77, 255, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) var(--bg-color);
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
}


h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-color);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(45deg, var(--primary-color), #5c00d2);
    color: white;
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    clip-path: polygon(10% 0, 100% 0, 100% 80%, 90% 100%, 0 100%, 0 20%);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
    filter: brightness(1.2);
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--secondary-color);
    margin: 10px auto 0;
    border-radius: 2px;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(5, 5, 5, 0.85);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.2rem 0;
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 15px rgba(124, 77, 255, 0.5);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-primary);
    font-size: 0.9rem;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    position: relative;
    opacity: 0.8;
}

.nav-links a:hover {
    color: var(--secondary-color);
    opacity: 1;
    text-shadow: 0 0 10px var(--secondary-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width 0.3s ease;
    box-shadow: 0 0 15px var(--secondary-color);
}

.nav-links a:hover::after {
    width: 100%;
}

.lang-switch {
    background: rgba(139, 92, 246, 0.1);
    border: 2px solid var(--primary-color);
    color: var(--text-primary);
    padding: 8px 20px;
    cursor: pointer;
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.lang-switch::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--primary-color);
    transition: width 0.3s ease;
    z-index: 0;
}

.lang-switch:hover::before {
    width: 100%;
}

.lang-switch:hover {
    border-color: var(--secondary-color);
    box-shadow: 0 0 25px rgba(138, 92, 246, 0.24);
    color: white;
}

.lang-switch span {
    position: relative;
    z-index: 1;
}

/* Sections */
section {
    padding: 100px 0;
    position: relative;
}

/* Hero Section */
.hero {
    height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: radial-gradient(circle at center, #1a0b2e 0%, #050505 70%);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(rgba(5, 5, 5, 0.3), var(--bg-color)),
        repeating-linear-gradient(0deg, transparent, transparent 2px, #000 3px);
    background-size: 100% 100%, 100% 4px;
    z-index: 1;
    opacity: 0.3;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 20px;
}

.hero h1 {
    font-size: 5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.1;
    color: white;
    text-shadow: none;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(139, 92, 246, 0.2);
    background: var(--surface-color);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(0, 240, 255, 0.1));
    opacity: 0;
    transition: opacity 0.4s;
    z-index: 1;
    pointer-events: none;
}

.gallery-item:hover::before {
    opacity: 1;
}

.gallery-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(139, 92, 246, 0.4), 0 0 30px rgba(0, 240, 255, 0.2);
    border-color: var(--secondary-color);
}

/* Staff Section */
.staff-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2.5rem;
    margin-top: 2rem;
}

.staff-card {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.05), rgba(0, 240, 255, 0.05));
    border: 2px solid rgba(139, 92, 246, 0.3);
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
}

.staff-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-pink));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.staff-card::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.1), transparent 70%);
    transform: translate(-50%, -50%);
    transition: width 0.5s, height 0.5s;
    border-radius: 50%;
}

.staff-card:hover::after {
    width: 300%;
    height: 300%;
}

.staff-card:hover::before {
    transform: scaleX(1);
}

.staff-card:hover {
    transform: translateY(-12px);
    border-color: var(--secondary-color);
    box-shadow: 0 15px 50px rgba(139, 92, 246, 0.5), 0 0 40px rgba(0, 240, 255, 0.3);
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(0, 240, 255, 0.1));
}

.staff-avatar {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    border: 3px solid var(--primary-color);
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.6), inset 0 0 20px rgba(139, 92, 246, 0.2);
    transition: all 0.4s ease;
    object-fit: cover;
    position: relative;
    z-index: 1;
}

.staff-card:hover .staff-avatar {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 0 50px rgba(139, 92, 246, 1), 0 0 80px rgba(0, 240, 255, 0.5);
    border-color: var(--secondary-color);
}

.staff-name {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.staff-role {
    font-size: 0.9rem;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

/* Pagination */
.pagination-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 3rem;
}

.pagination-btn {
    background: transparent;
    border: 1px solid var(--secondary-color);
    color: var(--text-primary);
    padding: 8px 20px;
    cursor: pointer;
    font-family: var(--font-heading);
    transition: all 0.3s;
    text-transform: uppercase;
}

.pagination-btn:hover:not(:disabled) {
    background: var(--secondary-color);
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.4);
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    border-color: #333;
}

.page-info {
    font-family: var(--font-heading);
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* Tutorial Section */
.tutorial-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 3rem;
}

.step-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
}

.step-card:hover {
    transform: translateY(-5px);
    border-color: var(--secondary-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.step-number {
    font-size: 3rem;
    font-family: var(--font-heading);
    color: rgba(255, 255, 255, 0.05);
    position: absolute;
    top: 0;
    right: 20px;
    font-weight: bold;
}

.step-card h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    position: relative;
    z-index: 1;
}

.step-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* Footer */
footer {
    background: #000;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

footer p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Media Queries */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero-btns {
        flex-direction: column;
    }
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.lightbox.hidden {
    opacity: 0;
    pointer-events: none;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    border: 2px solid var(--primary-color);
    box-shadow: 0 0 30px rgba(124, 77, 255, 0.3);
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 50px;
    color: #fff;
    font-size: 3rem;
    cursor: pointer;
    transition: color 0.3s;
}

.lightbox-close:hover {
    color: var(--primary-color);
}