@import url('https://fonts.googleapis.com/css2?family=Playpen+Sans+Arabic:wght@100..800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Kufi+Arabic:wght@100..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Noto Kufi Arabic", sans-serif;
    font-optical-sizing: auto;
}

html {
  scroll-behavior: smooth;
}

:root {
    --primary-purple: #6A0DAD;
    --secondary-white: #FFFFFF;
    --accent-yellow: #FFD700;
    --light-purple: #9B59B6;
    --dark-purple: #4A0E4E;
    --text-dark: #2C3E50;
    --text-light: #7F8C8D;
    --shadow: 0 4px 15px rgba(106, 13, 173, 0.2);
    --glassy-bg: rgba(255, 255, 255, 0.5);
    --border-radius: 15px;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    position: relative;
}

.floating-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.floating-shape {
    position: absolute;
    opacity: 0.1;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

.floating-circle {
    border-radius: 50%;
    background: linear-gradient(45deg, var(--primary-purple), var(--accent-yellow));
}

.floating-triangle {
    width: 0;
    height: 0;
    border-style: solid;
}

.floating-triangle.triangle-up {
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-bottom: 25px solid var(--primary-purple);
}

.floating-triangle.triangle-down {
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 25px solid var(--accent-yellow);
}

.floating-star {
    background: var(--accent-yellow);
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

.floating-diamond {
    background: linear-gradient(45deg, var(--light-purple), var(--primary-purple));
    transform: rotate(45deg);
}

.float-slow {
    animation: floatAcross 20s linear infinite;
}

.float-medium {
    animation: floatAcross 15s linear infinite;
}

.float-fast {
    animation: floatAcross 10s linear infinite;
}

.float-diagonal {
    animation: floatDiagonal 18s linear infinite;
}

.float-up {
    animation: floatUp 25s linear infinite;
}

@keyframes floatAcross {
    0% {
        transform: translateX(-100px) translateY(0px) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 0.1;
    }

    90% {
        opacity: 0.1;
    }

    100% {
        transform: translateX(calc(100vw + 100px)) translateY(-50px) rotate(360deg);
        opacity: 0;
    }
}

@keyframes floatDiagonal {
    0% {
        transform: translateX(-100px) translateY(100vh) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 0.1;
    }

    90% {
        opacity: 0.1;
    }

    100% {
        transform: translateX(calc(100vw + 100px)) translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

@keyframes floatUp {
    0% {
        transform: translateX(0px) translateY(100vh) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 0.1;
    }

    90% {
        opacity: 0.1;
    }

    100% {
        transform: translateX(50px) translateY(-100px) rotate(180deg);
        opacity: 0;
    }
}

.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--light-purple) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
    color: var(--secondary-white);
}

.loader-character {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    animation: loaderBounce 1.5s ease-in-out infinite;
}

.loader-character img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.loader-text {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--accent-yellow);
}

.loader-subtitle {
    font-size: 1rem;
    opacity: 0.8;
}

.loader-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255, 215, 0, 0.3);
    border-top: 4px solid var(--accent-yellow);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

.loader-progress {
    width: 300px;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    overflow: hidden;
    margin: 20px auto 15px;
}

.loader-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-yellow), #FFC107);
    border-radius: 3px;
    width: 0%;
    transition: width 0.3s ease;
}

.loader-percentage {
    font-size: 1rem;
    opacity: 0.9;
    margin-top: 10px;
}

@keyframes loaderBounce {

    0%,
    100% {
        transform: translateY(0px) scale(1);
    }

    50% {
        transform: translateY(-20px) scale(1.1);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

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

.navbar {
    background: var(--secondary-white);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.nav-logo:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.nav-logo:focus {
    outline: 2px solid var(--accent-yellow);
    outline-offset: 2px;
    border-radius: 4px;
}

.logo {
    height: 40px;
    width: auto;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-purple);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    margin-left: auto;
    padding-right: 20px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    border-radius: 8px;
}

.nav-link i {
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-purple);
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.1), rgba(251, 191, 36, 0.1));
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(147, 51, 234, 0.2);
}

.nav-link:hover i,
.nav-link.active i {
    color: var(--accent-yellow);
    transform: scale(1.1);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-purple), var(--accent-yellow));
    transition: width 0.3s ease;
    border-radius: 1px;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
}

.dropdown-arrow {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    border-radius: 12px;
    background: var(--glassy-bg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(147, 51, 234, 0.1);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 8px;
    margin: 4px;
}

.dropdown-menu a:hover {
    background: linear-gradient(135deg, var(--primary-purple), var(--accent-yellow));
    color: white;
    transform: translateX(5px);
}

.dropdown-menu a i {
    font-size: 1rem;
    width: 20px;
    text-align: center;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--primary-purple);
    margin: 3px 0;
    transition: 0.3s;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

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

.btn-primary:hover {
    background: var(--dark-purple);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

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

.btn-secondary:hover {
    background: var(--primary-purple);
    color: var(--secondary-white);
    transform: translateY(-2px);
}

.btn-yellow {
    background: var(--accent-yellow);
    color: var(--text-dark);
}

.btn-yellow:hover {
    background: #FFC107;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.hero {
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--light-purple) 100%);
    color: var(--secondary-white);
    min-height: 100vh;
    padding: 150px 0 100px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,215,0,0.3)"/><circle cx="80" cy="40" r="1" fill="rgba(255,255,255,0.2)"/><circle cx="40" cy="80" r="1.5" fill="rgba(255,215,0,0.2)"/><circle cx="90" cy="90" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="10" cy="60" r="1" fill="rgba(255,215,0,0.4)"/></svg>') repeat;
    animation: parallaxFloat 20s linear infinite;
    pointer-events: none;
}

@keyframes parallaxFloat {
    0% {
        transform: translateY(0px) translateX(0px);
    }

    25% {
        transform: translateY(-10px) translateX(5px);
    }

    50% {
        transform: translateY(-5px) translateX(-3px);
    }

    75% {
        transform: translateY(-15px) translateX(2px);
    }

    100% {
        transform: translateY(0px) translateX(0px);
    }
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.typing-effect {
    overflow: hidden;
    border-right: 3px solid var(--accent-yellow);
    white-space: nowrap;
    animation: typing 3.5s steps(40, end), blink-caret 0.75s step-end infinite;
    display: inline-block;
    max-width: 100%;
}

@keyframes typing {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

@keyframes blink-caret {

    from,
    to {
        border-color: transparent;
    }

    50% {
        border-color: var(--accent-yellow);
    }
}

@media (max-width: 768px) {
    .typing-effect {
        white-space: normal;
        overflow: visible;
        border-right: none;
        animation: mobileTyping 2s ease-in-out;
        line-height: 1.2;
        text-align: center;
        display: block;
        width: 100%;
    }

    @keyframes mobileTyping {
        0% {
            opacity: 0;
            transform: translateY(20px);
        }

        50% {
            opacity: 0.5;
            transform: translateY(10px);
        }

        100% {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .hero-title {
        font-size: 2rem;
        line-height: 1.3;
    }

    .page-title {
        font-size: 2rem;
        line-height: 1.3;
    }
}

.speech-bubble {
    background: var(--secondary-white);
    color: var(--text-dark);
    padding: 12px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 2px solid var(--accent-yellow);
    max-width: 200px;
    text-align: center;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
    font-family: 'Poppins', sans-serif;
}

.speech-bubble::before {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid var(--accent-yellow);
}

.speech-bubble::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid var(--secondary-white);
}

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

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #E8E8E8;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #D0D0D0;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.hero-characters {
    position: relative;
    height: 400px;
}

.char {
    position: absolute;
    max-width: 120px;
    height: auto;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
    transform-style: preserve-3d;
    transition: all 0.3s ease;
    cursor: pointer;
}

.char:hover {
    transform: perspective(1000px) rotateY(15deg) rotateX(5deg) scale(1.1);
    filter: drop-shadow(0 8px 16px rgba(106, 13, 173, 0.4)) brightness(1.1);
}

.char.animate-3d-float {
    animation: float3D 4s ease-in-out infinite;
}

.char.animate-3d-rotate {
    animation: rotate3D 6s linear infinite;
}

.char.animate-3d-bounce {
    animation: bounce3D 2s ease-in-out infinite;
}

@keyframes float3D {

    0%,
    100% {
        transform: perspective(1000px) translateY(0px) rotateY(0deg) rotateX(0deg);
    }

    25% {
        transform: perspective(1000px) translateY(-15px) rotateY(5deg) rotateX(2deg);
    }

    50% {
        transform: perspective(1000px) translateY(-10px) rotateY(0deg) rotateX(-2deg);
    }

    75% {
        transform: perspective(1000px) translateY(-20px) rotateY(-5deg) rotateX(1deg);
    }
}

@keyframes rotate3D {
    0% {
        transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
    }

    25% {
        transform: perspective(1000px) rotateY(90deg) rotateX(5deg);
    }

    50% {
        transform: perspective(1000px) rotateY(180deg) rotateX(0deg);
    }

    75% {
        transform: perspective(1000px) rotateY(270deg) rotateX(-5deg);
    }

    100% {
        transform: perspective(1000px) rotateY(360deg) rotateX(0deg);
    }
}

@keyframes bounce3D {

    0%,
    100% {
        transform: perspective(1000px) translateY(0px) rotateX(0deg) scale(1);
    }

    50% {
        transform: perspective(1000px) translateY(-25px) rotateX(10deg) scale(1.05);
    }
}

.cursor-following {
    z-index: 10;
    filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.6)) brightness(1.2);
    transform-origin: center center;
}

.cursor-following::after {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: cursorGlow 1.5s ease-in-out infinite alternate;
    pointer-events: none;
    z-index: -1;
}

@keyframes cursorGlow {
    0% {
        opacity: 0.3;
        transform: scale(0.8);
    }

    100% {
        opacity: 0.7;
        transform: scale(1.2);
    }
}

.char-volcano-entry {
    animation: volcanoEntry 2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    transform: translateY(-200vh) rotate(720deg) scale(0.3);
    opacity: 0;
}

@keyframes volcanoEntry {
    0% {
        transform: translateY(-200vh) rotate(720deg) scale(0.3);
        opacity: 0;
        filter: brightness(2) hue-rotate(60deg);
    }

    20% {
        opacity: 0.7;
        filter: brightness(1.8) hue-rotate(40deg);
    }

    40% {
        transform: translateY(-50px) rotate(360deg) scale(0.8);
        opacity: 1;
        filter: brightness(1.5) hue-rotate(20deg);
    }

    60% {
        transform: translateY(20px) rotate(180deg) scale(1.1);
        filter: brightness(1.2) hue-rotate(10deg);
    }

    80% {
        transform: translateY(-10px) rotate(0deg) scale(0.95);
        filter: brightness(1.1) hue-rotate(0deg);
    }

    100% {
        transform: translateY(0) rotate(0deg) scale(1);
        opacity: 1;
        filter: brightness(1) hue-rotate(0deg);
    }
}

.char-volcano-entry::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 100px;
    background: radial-gradient(circle,
            rgba(255, 69, 0, 0.8) 0%,
            rgba(255, 140, 0, 0.6) 30%,
            rgba(255, 215, 0, 0.4) 60%,
            transparent 100%);
    border-radius: 50%;
    animation: volcanoParticles 2s ease-out forwards;
    pointer-events: none;
    z-index: -1;
}

@keyframes volcanoParticles {
    0% {
        opacity: 1;
        transform: translateX(-50%) scale(2);
    }

    50% {
        opacity: 0.8;
        transform: translateX(-50%) scale(1.5);
    }

    100% {
        opacity: 0;
        transform: translateX(-50%) scale(0.5);
    }
}

.char:nth-child(1) {
    animation-delay: 0.1s;
}

.char:nth-child(2) {
    animation-delay: 0.3s;
}

.char:nth-child(3) {
    animation-delay: 0.5s;
}

.char:nth-child(4) {
    animation-delay: 0.7s;
}

.char:nth-child(5) {
    animation-delay: 0.9s;
}

.feature-char {
    position: absolute;
    width: 60px;
    height: auto;
    bottom: 10px;
    right: 10px;
    opacity: 0.8;
}

.form-char {
    position: absolute;
    width: 80px;
    height: auto;
    bottom: -20px;
    right: 50px;
}

.about-char {
    position: absolute;
    width: 100px;
    height: auto;
}

.activity-char {
    position: absolute;
    width: 50px;
    height: auto;
    bottom: 15px;
    right: 15px;
    opacity: 0.8;
}

.news-char {
    position: static;
    width: 100px;
    height: auto;
    bottom: 10px;
    border-radius: 5px;
}

.event-char {
    position: absolute;
    width: 50px;
    height: auto;
    bottom: 15px;
    right: 15px;
    opacity: 0.7;
}

.gallery-char {
    position: absolute;
    width: 40px;
    height: auto;
    bottom: 10px;
    right: 10px;
    z-index: 2;
    opacity: 0.8;
}

.member-char {
    position: absolute;
    width: 50px;
    height: auto;
    bottom: 15px;
    right: 15px;
    opacity: 0.7;
}

.team-char {
    position: absolute;
    width: 50px;
    height: auto;
    bottom: 15px;
    right: 15px;
    opacity: 0.7;
}

.achievement-char {
    position: absolute;
    width: 70px;
    height: auto;
    bottom: -10px;
    right: -10px;
}

.contribution-char {
    position: absolute;
    width: 50px;
    height: auto;
    bottom: 10px;
    right: 10px;
    opacity: 0.6;
}

.dept-char {
    position: absolute;
    width: 45px;
    height: auto;
    bottom: 10px;
    right: 10px;
    opacity: 0.6;
}

.stat-char {
    position: absolute;
    width: 50px;
    height: auto;
    bottom: -20px;
    right: 20px;
    opacity: 0.7;
}

.spotlight-char {
    position: absolute;
    width: 80px;
    height: auto;
    bottom: -20px;
    right: 50px;
    opacity: 0.7;
}

.join-char {
    position: absolute;
    width: 80px;
    height: auto;
    bottom: -30px;
    right: 10%;
    opacity: 0.8;
}

.cta-char {
    position: absolute;
    width: 70px;
    height: auto;
    bottom: -20px;
    right: 10%;
}

.story-char {
    position: absolute;
    width: 70px;
    height: auto;
    bottom: -20px;
    right: 50px;
}

.registration-char {
    position: absolute;
    width: 70px;
    height: auto;
    bottom: -20px;
    left: 50px;
}

.values-char {
    position: absolute;
    width: 80px;
    height: auto;
    bottom: 20px;
    right: 50px;
    opacity: 0.7;
}

.join-team-char {
    position: absolute;
    width: 80px;
    height: auto;
    bottom: -30px;
    left: 10%;
    opacity: 0.8;
}

.recognition-char {
    position: absolute;
    width: 80px;
    height: auto;
    bottom: 20px;
    right: 50px;
    opacity: 0.7;
}

.volcano-screen-shake {
    animation: volcanoShake 3s ease-out;
}

@keyframes volcanoShake {

    0%,
    100% {
        transform: translateX(0);
    }

    2% {
        transform: translateX(-2px) translateY(1px);
    }

    4% {
        transform: translateX(2px) translateY(-1px);
    }

    6% {
        transform: translateX(-1px) translateY(2px);
    }

    8% {
        transform: translateX(1px) translateY(-2px);
    }

    10% {
        transform: translateX(-2px) translateY(1px);
    }

    12% {
        transform: translateX(2px) translateY(-1px);
    }

    14% {
        transform: translateX(-1px) translateY(1px);
    }

    16% {
        transform: translateX(1px) translateY(-1px);
    }

    18% {
        transform: translateX(0);
    }
}

.volcano-flash {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle,
            rgba(255, 69, 0, 0.3) 0%,
            rgba(255, 140, 0, 0.2) 30%,
            rgba(255, 215, 0, 0.1) 60%,
            transparent 100%);
    pointer-events: none;
    z-index: 9999;
    opacity: 0;
    animation: volcanoFlash 2s ease-out;
}

@keyframes volcanoFlash {
    0% {
        opacity: 0;
    }

    10% {
        opacity: 0.8;
    }

    20% {
        opacity: 0.4;
    }

    30% {
        opacity: 0.6;
    }

    40% {
        opacity: 0.2;
    }

    50% {
        opacity: 0.4;
    }

    60% {
        opacity: 0.1;
    }

    100% {
        opacity: 0;
    }
}

.char-volcano-entry::after {
    content: '';
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 150px;
    background:
        radial-gradient(circle at 30% 30%, rgba(255, 69, 0, 0.8) 0%, transparent 50%),
        radial-gradient(circle at 70% 20%, rgba(255, 140, 0, 0.6) 0%, transparent 40%),
        radial-gradient(circle at 50% 80%, rgba(255, 215, 0, 0.4) 0%, transparent 60%);
    border-radius: 50%;
    animation: volcanoSparks 2s ease-out forwards;
    pointer-events: none;
    z-index: -1;
}

@keyframes volcanoSparks {
    0% {
        opacity: 1;
        transform: translateX(-50%) scale(3) rotate(0deg);
    }

    25% {
        opacity: 0.9;
        transform: translateX(-50%) scale(2.5) rotate(90deg);
    }

    50% {
        opacity: 0.7;
        transform: translateX(-50%) scale(2) rotate(180deg);
    }

    75% {
        opacity: 0.4;
        transform: translateX(-50%) scale(1.5) rotate(270deg);
    }

    100% {
        opacity: 0;
        transform: translateX(-50%) scale(0.5) rotate(360deg);
    }
}

.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--light-purple) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-content {
    text-align: center;
    color: var(--secondary-white);
}

.loading-logo {
    width: 120px;
    height: 120px;
    margin-bottom: 30px;
    animation: loadingPulse 2s ease-in-out infinite;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

.loading-text {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 20px;
    animation: loadingText 3s ease-in-out infinite;
}

.loading-subtitle {
    font-size: 1.2rem;
    opacity: 0.8;
    margin-bottom: 40px;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid var(--accent-yellow);
    border-radius: 50%;
    animation: loadingSpin 1s linear infinite;
    margin-bottom: 20px;
}

.loading-progress {
    width: 300px;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    overflow: hidden;
    margin: 20px auto 15px;
}

.loading-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-yellow), #FFC107);
    border-radius: 3px;
    animation: loadingProgress 3s ease-out forwards;
    transform: translateX(-100%);
}

.loading-percentage {
    font-size: 1rem;
    opacity: 0.9;
    animation: loadingCount 3s ease-out forwards;
}

@keyframes loadingPulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
    }

    50% {
        transform: scale(1.1);
        box-shadow: 0 0 40px rgba(255, 215, 0, 0.6);
    }
}

@keyframes loadingText {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

@keyframes loadingSpin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

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

    100% {
        transform: translateX(0%);
    }
}

@keyframes loadingCount {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.loading-characters {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.loading-char {
    position: absolute;
    width: 80px;
    height: 80px;
    opacity: 0.3;
    animation: loadingCharFloat 4s ease-in-out infinite;
}

.loading-char:nth-child(1) {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.loading-char:nth-child(2) {
    top: 20%;
    right: 15%;
    animation-delay: 1s;
}

.loading-char:nth-child(3) {
    bottom: 20%;
    left: 20%;
    animation-delay: 2s;
}

.loading-char:nth-child(4) {
    bottom: 15%;
    right: 10%;
    animation-delay: 3s;
}

@keyframes loadingCharFloat {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.3;
    }

    25% {
        transform: translateY(-20px) rotate(5deg);
        opacity: 0.5;
    }

    50% {
        transform: translateY(-10px) rotate(-5deg);
        opacity: 0.4;
    }

    75% {
        transform: translateY(-15px) rotate(3deg);
        opacity: 0.6;
    }
}

.char::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: radial-gradient(circle, transparent 40%, rgba(255, 215, 0, 0.1) 50%, transparent 60%),
        radial-gradient(circle at 20% 80%, rgba(106, 13, 173, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    border-radius: 50%;
    animation: particleGlow 3s ease-in-out infinite alternate;
    pointer-events: none;
    z-index: -1;
}

@keyframes particleGlow {
    0% {
        opacity: 0.3;
        transform: scale(0.8) rotate(0deg);
    }

    100% {
        opacity: 0.7;
        transform: scale(1.2) rotate(360deg);
    }
}

.char1 {
    top: 20px;
    right: 50px;
    width: 100px;
}

.char2 {
    bottom: 100px;
    left: 20px;
    width: 90px;
}

.char3 {
    top: 150px;
    right: 150px;
    width: 80px;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-20px);
    }

    60% {
        transform: translateY(-10px);
    }
}

@keyframes slideLeft {
    0% {
        transform: translateX(-100px);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }
}

@keyframes wiggle {

    0%,
    100% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(-5deg);
    }

    75% {
        transform: rotate(5deg);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

@keyframes slideRight {
    0% {
        transform: translateX(100px);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeUp {
    0% {
        transform: translateY(50px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes bounceSlow {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

.animate-bounce {
    animation: bounce 2s infinite;
}

.animate-slide-left {
    animation: slideLeft 1s ease-out;
}

.animate-fade-in {
    animation: fadeIn 1.5s ease-out;
}

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

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

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

.animate-slide-right {
    animation: slideRight 1s ease-out;
}

.animate-fade-up {
    animation: fadeUp 1s ease-out;
}

.animate-bounce-slow {
    animation: bounceSlow 3s infinite;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-purple);
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--accent-yellow);
    border-radius: 2px;
}

.features {
    padding: 80px 0;
    background: var(--secondary-white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.feature-card {
    background: var(--secondary-white);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(106, 13, 173, 0.3);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-purple), var(--light-purple));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: var(--secondary-white);
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-purple);
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.6;
}

.stay-updated {
    background: linear-gradient(135deg, var(--accent-yellow) 0%, #FFC107 100%);
    padding: 60px 0;
}

.form-section {
    text-align: center;
    position: relative;
}

.form-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.form-section p {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 30px;
}

.update-form {
    max-width: 500px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 35px;
    display: flex;
    flex-direction: column;
}

.form-group input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
    outline: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.form-message {
    padding: 10px;
    border-radius: 8px;
    margin-top: 10px;
    font-weight: 500;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.about-club {
    padding: 80px 0;
    background: #F8F9FA;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 20px;
}

.about-characters {
    position: relative;
    height: 300px;
}

.about-char:first-child {
    top: 20px;
    left: 20px;
}

.about-char:last-child {
    bottom: 20px;
    right: 20px;
}

.footer {
    background: var(--primary-purple);
    color: var(--secondary-white);
    padding: 50px 0 20px;
    position: relative;
    margin-top: 120px;
}

.footer::before {
    content: '';
    position: absolute;
    top: -120px;
    left: 0;
    width: 100%;
    height: 120px;
    background: #F8F9FA;
    z-index: 0;
}

.footer .wave {
    position: absolute;
    top: -100px;
    left: 0;
    width: 100%;
    height: 100px;
    background-image: url("/assets/img/temp/wave.png");
    background-size: 1000px 100px;
}

.footer .wave#wave1 {
    z-index: 1000;
    opacity: 1;
    top: -100px;
    animation: animatWave 6s linear infinite;
}

.footer .wave#wave2 {
    z-index: 999;
    opacity: 0.5;
    top: -110px;
    animation: animatWave_02 6s linear infinite;
}

.footer .wave#wave3 {
    z-index: 1000;
    opacity: 0.2;
    top: -105px;
    animation: animatWave 5s linear infinite;
}

.footer .wave#wave4 {
    z-index: 1000;
    opacity: 0.7;
    top: -115px;
    animation: animatWave_02 5s linear infinite;
}

@keyframes animatWave {
    0% {
        background-position-x: 1000px;
    }

    100% {
        background-position-x: 0px;
    }
}

@keyframes animatWave_02 {
    0% {
        background-position-x: 0px;
    }

    100% {
        background-position-x: 1000px;
    }
}

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

.footer-section h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--accent-yellow);
}

.footer-section p {
    line-height: 1.6;
    color: #E8E8E8;
}

.footer-section--brand {
    text-align: center;
    padding: 24px;
}

.footer-brand-copy {
    max-width: 420px;
    margin-bottom: 18px;
    margin-left: auto;
    margin-right: auto;
}

.footer-section-label {
    margin-top: 4px;
    margin-bottom: 0;
    color: var(--accent-yellow);
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.3px;
}

.footer-section--brand .social-icons {
    justify-content: center;
    margin-top: 12px;
}

.social-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 15px;
}

.social-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--accent-yellow), #FFC107);
    color: var(--text-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
    flex-shrink: 0;
}

.social-icon:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: #D0D0D0;
}

.footer-section {
    text-align: center;
    padding: 20px 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.footer-section:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.footer-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-yellow), transparent);
    transition: left 0.5s ease;
}

.footer-section:hover::before {
    left: 100%;
}

.footer-form {
    margin-top: 15px;
}

.footer-form-group {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    flex-direction: column;
}

.footer-form-group input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    outline: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
}

.footer-form-group input:focus {
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
    transform: scale(1.02);
}

.footer-form-group .btn {
    padding: 12px 20px;
    font-size: 0.9rem;
    margin-top: 10px;
    transition: all 0.3s ease;
}

.footer-form-group .btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.map-iframe {
    border: none;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin-top: 10px;
}

.map-iframe:hover {
    box-shadow: 0 6px 20px rgba(106, 13, 173, 0.2);
    transform: translateY(-2px);
}

.social-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-purple), var(--light-purple));
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 50%;
}

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

.social-icon i {
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.social-icon:hover i {
    color: var(--secondary-white);
    transform: scale(1.2);
}

.social-icon img {
    position: relative;
    z-index: 2;
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.social-icon--facebook {
    background: linear-gradient(135deg, #1877f2 0%, #0d5fd6 100%);
    color: #ffffff;
}

.social-icon--instagram {
    background: linear-gradient(135deg, #f58529 0%, #dd2a7b 45%, #8134af 70%, #515bd4 100%);
    color: #ffffff;
}

.social-icon--youtube {
    background: linear-gradient(135deg, #ff0000 0%, #c40000 100%);
    color: #ffffff;
}

.social-icon--tiktok {
    background: linear-gradient(135deg, #000000 0%, #000000 72%, #ff0050 88%, #00f2ea 100%);
    color: #ffffff;
}

.social-icon--anghami {
    background: linear-gradient(135deg, #24104d 0%, #5f2dd8 58%, #8f58ff 100%);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.22);
}

.social-icon--anghami img {
    width: 22px;
    height: 22px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.35));
}

.footer-links {
    list-style: none;
    padding: 0;
    margin-top: 15px;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #E8E8E8;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.footer-links a:hover {
    color: var(--accent-yellow);
    padding-left: 10px;
}

.footer-links a::before {
    content: '→';
    position: absolute;
    left: -15px;
    opacity: 0;
    transition: all 0.3s ease;
}

.footer-links a:hover::before {
    opacity: 1;
    left: -10px;
}

.page-header {
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--light-purple) 100%);
    color: var(--secondary-white);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.page-subtitle {
    font-size: 1.3rem;
    color: #E8E8E8;
    margin-bottom: 30px;
}

.header-char {
    position: absolute;
    width: 70px;
    height: auto;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.header-char.char1 {
    top: 20px;
    right: 15%;
}

.header-char.char2 {
    animation: slideLeft 1s ease-out;
}

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

.activities-section {
    padding: 80px 0;
    background: #F8F9FA;
}

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

.activity-card {
    background: var(--secondary-white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.activity-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(106, 13, 173, 0.3);
}

.activity-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-purple), var(--light-purple));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.8rem;
    color: var(--secondary-white);
}

.activity-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary-purple);
    margin-bottom: 15px;
}

.activity-card p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 20px;
}

.activity-features {
    list-style: none;
    margin-bottom: 20px;
}

.activity-features li {
    padding: 5px 0;
    color: var(--text-light);
    position: relative;
    padding-left: 20px;
}

.activity-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-yellow);
    font-weight: bold;
}

.join-activities {
    background: linear-gradient(135deg, var(--accent-yellow) 0%, #FFC107 100%);
    padding: 60px 0;
    text-align: center;
}

.cta-content {
    position: relative;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.featured-article {
    padding: 80px 0;
    background: var(--secondary-white);
}

.featured-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    align-items: center;
}

.featured-badge {
    background: var(--accent-yellow);
    color: var(--text-dark);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 15px;
}

.featured-content h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-purple);
    margin-bottom: 15px;
    line-height: 1.3;
    font-family: "Playpen Sans Arabic", cursive;
}

.article-meta {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.article-meta i {
    margin-right: 5px;
    color: var(--primary-purple);
}

.featured-content p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.featured-image {
    position: relative;
    text-align: center;
}

.article-image {
    width: 200px;
    height: auto;
    border-radius: var(--border-radius);
}

.featured-char {
    position: absolute;
    width: 80px;
    height: auto;
    bottom: -10px;
    right: 20px;
}

.news-section {
    padding: 80px 0;
    background: #F8F9FA;
}

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

.news-card {
    background: var(--secondary-white);
    border-radius: var(--border-radius);
    padding: 25px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(106, 13, 173, 0.3);
}

.news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.news-category {
    background: var(--primary-purple);
    color: var(--secondary-white);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.news-date {
    color: var(--text-light);
    font-size: 0.9rem;
}

.news-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-purple);
    margin-bottom: 15px;
    line-height: 1.4;
    font-family: "Playpen Sans Arabic", cursive;
}

.news-card p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 20px;
}

.news-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.news-author {
    color: var(--text-light);
    font-size: 0.9rem;
}

.read-more {
    color: var(--primary-purple);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.read-more:hover {
    color: var(--dark-purple);
}

.read-more i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

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

.share-story {
    background: linear-gradient(135deg, var(--accent-yellow) 0%, #FFC107 100%);
    padding: 60px 0;
}

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

.story-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.story-content p {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 30px;
}

.story-form {
    text-align: left;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
    outline: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    font-family: 'Poppins', sans-serif;
}

.form-group textarea {
    resize: vertical;
    min-height: 200px;
    line-height: 1.6;
}

.events-section {
    padding: 80px 0;
    background: var(--secondary-white);
}

.past-events {
    padding: 80px 0;
    background: #F8F9FA;
}

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

.event-card {
    background: var(--secondary-white);
    border-radius: var(--border-radius);
    padding: 25px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    gap: 20px;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(106, 13, 173, 0.3);
}

.event-card.past {
    opacity: 0.8;
}

.event-date {
    background: linear-gradient(135deg, var(--primary-purple), var(--light-purple));
    color: var(--secondary-white);
    border-radius: var(--border-radius);
    padding: 15px;
    text-align: center;
    min-width: 80px;
    height: fit-content;
}

.event-date.past-date {
    background: linear-gradient(135deg, #95A5A6, #7F8C8D);
}

.event-date .day {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.event-date .month {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 5px;
}

.event-content {
    flex: 1;
}

.event-category {
    background: var(--accent-yellow);
    color: var(--text-dark);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 10px;
}

.event-category.past-category {
    background: #BDC3C7;
    color: var(--text-dark);
}

.event-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary-purple);
    margin-bottom: 10px;
    line-height: 1.3;
}

.event-card p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 15px;
}

.event-details {
    margin-bottom: 20px;
}

.event-details span {
    display: block;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.event-details i {
    color: var(--primary-purple);
    margin-right: 8px;
    width: 15px;
}

.registration-section {
    background: linear-gradient(135deg, var(--accent-yellow) 0%, #FFC107 100%);
    padding: 60px 0;
}

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

.registration-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.registration-content p {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 30px;
}

.registration-form {
    text-align: left;
}

.registration-form select {
    width: 100%;
    padding: 15px 20px;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
    outline: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    font-family: 'Poppins', sans-serif;
    background: var(--secondary-white);
}

.gallery-filter {
    padding: 40px 0;
    background: var(--secondary-white);
    border-bottom: 1px solid #E8E8E8;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: 2px solid var(--primary-purple);
    color: var(--primary-purple);
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-purple);
    color: var(--secondary-white);
    transform: translateY(-2px);
}

.gallery-section {
    padding: 80px 0;
    background: #F8F9FA;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    opacity: 1;
    transform: scale(1);
}

.gallery-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 35px rgba(106, 13, 173, 0.3);
}

.gallery-image {
    position: relative;
    overflow: hidden;
    height: 250px;
    cursor: pointer;
}

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

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(106, 13, 173, 0.9), rgba(155, 89, 182, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

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

.gallery-info {
    text-align: center;
    color: var(--secondary-white);
    padding: 20px;
}

.gallery-info h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.gallery-info p {
    font-size: 0.95rem;
    margin-bottom: 15px;
    opacity: 0.9;
}

.gallery-info i {
    font-size: 2rem;
    color: var(--accent-yellow);
}

.gallery-stats {
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--light-purple) 100%);
    color: var(--secondary-white);
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-item {
    position: relative;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-yellow);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 500;
    color: #E8E8E8;
}

.achievement-stats {
    padding: 80px 0;
    background: var(--secondary-white);
}

.achievement-stats .stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.stat-card {
    background: var(--secondary-white);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(106, 13, 173, 0.3);
}

.stat-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-purple), var(--light-purple));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: var(--secondary-white);
}

.stat-card .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-purple);
    margin-bottom: 10px;
}

.stat-card .stat-label {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-light);
}

.stat-card .stat-char {
    position: absolute;
    width: 60px;
    height: auto;
    bottom: 10px;
    right: 10px;
    opacity: 0.6;
}

.major-achievements {
    padding: 80px 0;
    background: #F8F9FA;
}

.achievements-timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.achievements-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-purple), var(--accent-yellow));
    border-radius: 2px;
}

.achievement-item {
    display: flex;
    align-items: center;
    margin-bottom: 60px;
    position: relative;
}

.achievement-item:nth-child(even) {
    flex-direction: row-reverse;
}

.achievement-item:nth-child(even) .achievement-content {
    margin-left: auto;
    margin-right: 55%;
}

.achievement-date {
    background: var(--accent-yellow);
    color: var(--text-dark);
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 1.1rem;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    box-shadow: var(--shadow);
}

.achievement-content {
    background: var(--secondary-white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    width: 45%;
    position: relative;
    transition: all 0.3s ease;
}

.achievement-item:nth-child(odd) .achievement-content {
    margin-right: auto;
    margin-left: 55%;
}

.achievement-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(106, 13, 173, 0.2);
}

.achievement-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-purple), var(--light-purple));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.5rem;
    color: var(--secondary-white);
}

.achievement-item:nth-child(even) .achievement-icon {
    margin-left: auto;
}

.achievement-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-purple);
    margin-bottom: 15px;
}

.achievement-content p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 20px;
}

.achievement-details {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.achievement-item:nth-child(even) .achievement-details {
    justify-content: flex-end;
}

.detail-item {
    background: #F8F9FA;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.detail-item i {
    color: var(--primary-purple);
    margin-right: 5px;
}

.student-contributions {
    padding: 80px 0;
    background: var(--secondary-white);
}

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

.contribution-card {
    background: var(--secondary-white);
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contribution-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(106, 13, 173, 0.3);
}

.contributor-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 20px;
    overflow: hidden;
    border: 4px solid var(--accent-yellow);
}

.contributor-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contribution-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-purple);
    margin-bottom: 5px;
}

.contribution-title {
    color: var(--accent-yellow);
    font-weight: 600;
    margin-bottom: 15px;
    background: var(--primary-purple);
    padding: 5px 15px;
    border-radius: 15px;
    display: inline-block;
    font-size: 0.9rem;
}

.contribution-description {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.contribution-stats {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.contribution-stats span {
    background: #F8F9FA;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    color: var(--text-light);
}

.contribution-stats i {
    color: var(--primary-purple);
    margin-right: 5px;
}

.recognition-wall {
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--light-purple) 100%);
    color: var(--secondary-white);
    padding: 80px 0;
    position: relative;
}

.recognition-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.recognition-item {
    text-align: center;
    padding: 30px 20px;
    background: var(--glassy-bg);
    border-radius: var(--border-radius);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.recognition-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.recognition-item i {
    font-size: 3rem;
    color: var(--accent-yellow);
    margin-bottom: 20px;
}

.recognition-item h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.recognition-item p {
    color: #E8E8E8;
    line-height: 1.6;
}

.star-members-section {
    padding: 80px 0;
    background: #F8F9FA;
}

.members-grid {
    display: flex;
    flex-direction: column;
    gap: 84px;
}

.member-card {
    background: var(--secondary-white);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.member-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(106, 13, 173, 0.3);
}

.member-card.featured {
    border: 3px solid var(--accent-yellow);
    background: linear-gradient(135deg, #FFF9E6, var(--secondary-white));
}

.member-badge {
    position: absolute;
    top: 20px;
    left: 5px;
    background: linear-gradient(135deg, var(--primary-purple), var(--light-purple));
    color: var(--secondary-white);
    padding: 8px 15px;
    border-radius: 20px;
    z-index: 1;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.member-card.featured .member-badge {
    background: linear-gradient(135deg, var(--accent-yellow), #FFC107);
    color: var(--text-dark);
}

.member-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 20px;
    position: relative;
    overflow: hidden;
    border: 4px solid var(--primary-purple);
}

.member-card.featured .member-avatar {
    border-color: var(--accent-yellow);
}

.member-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-status {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 3px solid var(--secondary-white);
}

.member-status.online {
    background: var(--primary-purple);
}

.member-info {
    text-align: center;
}

.member-info h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary-purple);
    margin-bottom: 5px;
}

.member-title {
    color: var(--accent-yellow);
    font-weight: 600;
    background: var(--primary-purple);
    padding: 5px 15px;
    border-radius: 15px;
    display: inline-block;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.member-description {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.member-stats {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.stat {
    display: flex;
    align-items: center;
    gap: 5px;
    background: #F8F9FA;
    padding: 8px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    color: var(--text-light);
}

.stat i {
    color: var(--primary-purple);
}

.member-skills {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.skill {
    background: var(--primary-purple);
    color: var(--secondary-white);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.member-spotlight {
    padding: 80px 0;
    background: var(--secondary-white);
}

.spotlight-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    align-items: center;
    position: relative;
}

.spotlight-image {
    position: relative;
    text-align: center;
}

.spotlight-image img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 6px solid var(--accent-yellow);
    box-shadow: var(--shadow);
}

.spotlight-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--accent-yellow), #FFC107);
    color: var(--text-dark);
    padding: 10px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    box-shadow: var(--shadow);
}

.spotlight-info h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-purple);
    margin-bottom: 10px;
}

.spotlight-title {
    color: var(--accent-yellow);
    font-weight: 600;
    background: var(--primary-purple);
    padding: 8px 20px;
    border-radius: 20px;
    display: inline-block;
    font-size: 1rem;
    margin-bottom: 20px;
}

.spotlight-description {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.spotlight-achievements {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.achievement {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #F8F9FA;
    padding: 10px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.achievement i {
    color: var(--primary-purple);
    font-size: 1.1rem;
}

.spotlight-info blockquote {
    background: linear-gradient(135deg, #F8F9FA, #E8E8E8);
    padding: 20px;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--accent-yellow);
    font-style: italic;
    color: var(--text-dark);
    line-height: 1.6;
    position: relative;
}

.spotlight-info blockquote::before {
    content: '"';
    font-size: 3rem;
    color: var(--primary-purple);
    position: absolute;
    top: -10px;
    left: 15px;
    font-family: serif;
}

.join-stars {
    background: linear-gradient(135deg, var(--accent-yellow) 0%, #FFC107 100%);
    padding: 60px 0;
    text-align: center;
}

.join-content {
    position: relative;
}

.join-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.join-content p {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.join-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.department-heads .departments-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.department-heads .departments-grid .department-card {
    padding: 18px;
}

.department-heads .departments-grid .department-card .dept-duo {
    display: grid;
    grid-template-columns: repeat(2, minmax(220px, 1fr));
    gap: 16px;
    align-items: start;
    margin-top: 12px;
}

.department-heads .departments-grid .department-card .dept-member {
    display: grid;
    gap: 6px;
    margin-top: 8px;
}

.department-heads .departments-grid .department-card .dept-member .dept-avatar img {
    width: 72px;
    height: 72px;
    object-fit: contain;
}

.department-heads .departments-grid .department-card .dept-member .dept-name {
    margin: 8px 0 4px;
    font-size: 1.05rem;
    font-weight: 600;
}

.department-heads .departments-grid .department-card .dept-member .team-description {
    margin-top: 6px;
    font-size: 0.95rem;
    color: var(--text-secondary, #555);
}

@media (max-width: 768px) {
    .answer-form-container {
        max-width: 100%;
        padding: 0 15px;
    }

    .answer-form {
        padding: 40px 30px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .form-group {
        margin-bottom: 25px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 18px 20px;
        min-height: 55px;
    }

    .form-group textarea {
        min-height: 180px;
    }

    .submit-btn {
        padding: 18px 25px;
        font-size: 1.1rem;
    }
}

.leadership-team .team-grid.two-center {
    display: grid;
    grid-template-columns: repeat(2, minmax(260px, 1fr));
    gap: 24px;
    justify-items: center;
}

.leadership-team .team-card,
.department-heads .department-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.98));
    border: 1px solid rgba(106, 13, 173, 0.08);
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.leadership-team .team-card:hover,
.department-heads .department-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.10);
    border-color: rgba(106, 13, 173, 0.18);
}

.department-heads .department-card h3 {
    position: relative;
    padding-bottom: 6px;
    margin-top: 8px;
}

.department-heads .department-card h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 56px;
    height: 3px;
    border-radius: 3px;
    background: linear-gradient(90deg, #6A0DAD, #FFC107);
}

.department-heads .department-card .dept-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: radial-gradient(120% 120% at 30% 20%, rgba(106, 13, 173, 0.18), rgba(255, 193, 7, 0.12));
    color: #6A0DAD;
    box-shadow: inset 0 2px 8px rgba(106, 13, 173, 0.12);
}

.department-heads .department-card .dept-icon i {
    font-size: 1.1rem;
}

.department-heads .dept-member {
    border: 1px solid rgba(106, 13, 173, 0.08);
}

.department-heads .dept-member .dept-avatar {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.department-heads .dept-member .dept-avatar img {
    width: 76px;
    height: 76px;
    border-radius: 12px;
    background: #fff;
}

.department-heads .dept-member .dept-role {
    display: inline-block;
    margin-top: 4px;
    padding: 2px 10px;
    border-radius: 999px;
    background: rgba(106, 13, 173, 0.08);
    color: #6A0DAD;
    font-weight: 600;
    font-size: 0.85rem;
}

.team-details span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.team-details i {
    color: var(--primary-purple);
}

.department-heads .departments-grid {
    gap: 28px;
}

@media (max-width: 1200px) {
    .leadership-team .team-grid.two-center {
        grid-template-columns: repeat(2, minmax(240px, 1fr));
        gap: 20px;
    }

    .department-heads .departments-grid .department-card .dept-duo {
        grid-template-columns: repeat(2, minmax(200px, 1fr));
    }
}

@media (max-width: 992px) {
    .leadership-team .team-grid.two-center {
        grid-template-columns: 1fr;
    }

    .department-heads .departments-grid .department-card .dept-duo {
        grid-template-columns: repeat(2, minmax(180px, 1fr));
    }
}

@media (max-width: 480px) {
    .hero-stats .stat-number {
        font-size: 1.8rem;
    }

    .winner-avatar {
        width: 80px;
        height: 80px;
    }

    .first-place .winner-avatar {
        width: 100px;
        height: 100px;
    }

    .question-content h3 {
        font-size: 1.3rem;
    }

    .champion-avatar {
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 0 auto 15px;
    }

    .champion-avatar img {
        width: 80px;
        height: 80px;
        object-fit: cover;
        border-radius: 50%;
        display: block;
        margin: 0 auto;
    }

    .first-place .champion-avatar img {
        width: 100px;
        height: 100px;
        object-fit: cover;
        border-radius: 50%;
        display: block;
        margin: 0 auto;
    }

    .champion-card {
        padding: 20px 15px;
    }

    .champion-name {
        font-size: 1.1rem;
        text-align: center;
    }

    .first-place .champion-name {
        font-size: 1.3rem;
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {

    .leadership-team .team-card,
    .department-heads .department-card {
        transition: none;
    }
}

.leadership-team {
    padding: 80px 0;
    background: var(--secondary-white);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.team-card {
    background: var(--secondary-white);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(106, 13, 173, 0.3);
}

.team-card.president {
    border: 3px solid var(--accent-yellow);
    background: linear-gradient(135deg, #FFF9E6, var(--secondary-white));
}

.team-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--primary-purple), var(--light-purple));
    color: var(--secondary-white);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.team-card.president .team-badge {
    background: linear-gradient(135deg, var(--accent-yellow), #FFC107);
    color: var(--text-dark);
}

.team-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 20px;
    position: relative;
    overflow: hidden;
    border: 4px solid var(--primary-purple);
}

.team-card.president .team-avatar {
    border-color: var(--accent-yellow);
}

.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-social {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    transition: all 0.3s ease;
}

.team-card:hover .team-social {
    bottom: -25px;
}

.social-link {
    width: 30px;
    height: 30px;
    background: var(--primary-purple);
    color: var(--secondary-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--accent-yellow);
    color: var(--text-dark);
    transform: translateY(-2px);
}

.team-info h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary-purple);
    margin-bottom: 5px;
}

.team-role {
    color: var(--accent-yellow);
    font-weight: 600;
    background: var(--primary-purple);
    padding: 5px 15px;
    border-radius: 15px;
    display: inline-block;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.team-description {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.team-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
    justify-content: center;
}

.team-details span {
    background: #F8F9FA;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 5px;
}

.department-heads {
    padding: 80px 0;
    background: #F8F9FA;
}

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

.department-card {
    background: var(--secondary-white);
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.department-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(106, 13, 173, 0.3);
}

.dept-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-purple), var(--light-purple));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    color: var(--secondary-white);
}

.dept-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 15px;
    overflow: hidden;
    border: 3px solid var(--accent-yellow);
}

.dept-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.department-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-purple);
    margin-bottom: 5px;
}

.dept-role {
    color: var(--accent-yellow);
    font-weight: 600;
    background: var(--primary-purple);
    padding: 4px 12px;
    border-radius: 12px;
    display: inline-block;
    font-size: 0.85rem;
    margin-bottom: 15px;
}

.dept-description {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.dept-contact span {
    background: #F8F9FA;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    color: var(--text-light);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.dept-contact i {
    color: var(--primary-purple);
}

.team-values {
    padding: 80px 0;
    background: var(--secondary-white);
    position: relative;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.value-item {
    text-align: center;
    padding: 30px 20px;
    background: var(--secondary-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(106, 13, 173, 0.2);
}

.value-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--accent-yellow), #FFC107);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    color: var(--text-dark);
}

.value-item h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-purple);
    margin-bottom: 15px;
}

.value-item p {
    color: var(--text-light);
    line-height: 1.6;
}

.join-team {
    background: linear-gradient(135deg, var(--accent-yellow) 0%, #FFC107 100%);
    padding: 60px 0;
    text-align: center;
}

.join-team-content {
    position: relative;
}

.join-team-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.join-team-content p {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.join-team-benefits {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.benefit {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 500;
    color: var(--text-dark);
}

.benefit i {
    color: var(--primary-purple);
    font-size: 1.1rem;
}

.join-team-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--secondary-white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 20px 0;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
        z-index: 1000;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-link {
        justify-content: center;
        padding: 15px 20px;
        margin: 5px 20px;
        border-radius: 12px;
        position: relative;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: rgba(147, 51, 234, 0.05);
        margin: 10px 20px;
        border-radius: 8px;
        border: 1px solid rgba(147, 51, 234, 0.1);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .dropdown-menu a {
        padding: 10px 15px;
        margin: 2px;
        justify-content: center;
    }

    .dropdown-arrow {
        display: none;
    }

    .dropdown.active .dropdown-menu {
        max-height: 300px;
    }

    .dropdown-toggle {
        pointer-events: auto;
    }

    .dropdown-toggle:active,
    .dropdown-toggle:focus {
        outline: none;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .features-grid,
    .activities-grid,
    .news-grid,
    .events-grid,
    .gallery-grid,
    .members-grid,
    .team-grid,
    .departments-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }

    .page-title {
        font-size: 2.5rem;
    }

    .about-content,
    .featured-content,
    .spotlight-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }

    .footer-section--brand {
        text-align: center;
    }

    .footer-brand-copy {
        margin-left: auto;
        margin-right: auto;
    }

    .footer-section--brand .social-icons {
        justify-content: center;
    }

    .footer-form-group {
        align-items: center;
    }

    .map-iframe {
        height: 200px !important;
        margin-top: 15px;
    }

    .footer-section {
        padding: 15px;
        margin-bottom: 20px;
    }

    .form-group,
    .form-row {
        flex-direction: column;
    }

    .cta-buttons,
    .join-buttons,
    .join-team-buttons {
        flex-direction: column;
        align-items: center;
    }

    .achievements-timeline::before {
        left: 30px;
    }

    .achievement-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .achievement-item:nth-child(even) {
        flex-direction: column;
    }

    .achievement-date {
        position: relative;
        left: 0;
        transform: none;
        margin-bottom: 20px;
        align-self: flex-start;
    }

    .achievement-content {
        width: 100%;
        margin: 0 !important;
        text-align: left;
    }

    .achievement-item:nth-child(even) .achievement-content {
        text-align: left;
    }

    .achievement-item:nth-child(even) .achievement-icon {
        margin-left: 0;
    }

    .achievement-item:nth-child(even) .achievement-details {
        justify-content: flex-start;
    }

    .filter-buttons {
        flex-direction: column;
        align-items: center;
    }

    .member-stats,
    .spotlight-achievements,
    .join-team-benefits {
        flex-direction: column;
        align-items: center;
    }

    .team-details {
        align-items: center;
    }
}

.character-rain-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    overflow: hidden;
}

.falling-character {
    position: absolute;
    animation-timing-function: linear;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.6));
}

@keyframes characterFall {
    0% {
        transform: translateY(-100px) rotate(0deg) scale(0.5);
        opacity: 0;
    }

    10% {
        opacity: 1;
        transform: translateY(0px) rotate(180deg) scale(0.8);
    }

    50% {
        transform: translateY(50vh) rotate(360deg) scale(1);
        opacity: 1;
    }

    90% {
        transform: translateY(100vh) rotate(540deg) scale(0.8);
        opacity: 0.7;
    }

    100% {
        transform: translateY(120vh) rotate(720deg) scale(0.3);
        opacity: 0;
    }
}

@media (max-width: 1200px) {
    .hero {
        padding: 120px 0 80px;
    }

    .hero-container {
        gap: 40px;
    }

    .hero-title {
        font-size: 3rem;
    }
}

.knowledge-hero {
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--light-purple) 100%);
    position: relative;
    overflow: hidden;
}

.knowledge-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,215,0,0.4)"/><circle cx="80" cy="40" r="1" fill="rgba(255,255,255,0.3)"/><circle cx="40" cy="80" r="1.5" fill="rgba(255,215,0,0.3)"/><circle cx="90" cy="90" r="1" fill="rgba(255,255,255,0.2)"/><circle cx="10" cy="60" r="1" fill="rgba(255,215,0,0.5)"/></svg>') repeat;
    animation: parallaxFloat 20s linear infinite;
    pointer-events: none;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.hero-stats .stat-item {
    text-align: center;
    background: var(--glassy-bg);
    padding: 25px 20px;
    border-radius: 15px;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.hero-stats .stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.hero-stats .stat-number {
    display: block;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--accent-yellow);
    margin-bottom: 5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-stats .stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.leaderboard-stage {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--dark-purple) 0%, var(--light-purple) 100%);
    position: relative;
    overflow: hidden;
}

.leaderboard-stage::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="stars" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23stars)"/></svg>');
    opacity: 0.3;
}

.leaderboard-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.leaderboard-header .section-title {
    font-size: 3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.leaderboard-header .section-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.champions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.champion-card {
    background: var(--glassy-bg);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.champion-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ffd700, #ffed4e);
}

.champion-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.champion-card.first-place {
    transform: scale(1.05);
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 237, 78, 0.1));
    border: 2px solid #ffd700;
}

.champion-card.first-place::before {
    background: linear-gradient(90deg, #ffd700, #ffed4e, #ffd700);
    height: 6px;
}

.champion-card.first-place:hover {
    transform: scale(1.05) translateY(-10px);
}

.champion-card.second-place::before {
    background: linear-gradient(90deg, #c0c0c0, #e5e5e5);
}

.champion-card.third-place::before {
    background: linear-gradient(90deg, #cd7f32, #daa520);
}

.champion-rank {
    position: relative;
    margin-bottom: 20px;
}

.rank-number {
    display: inline-block;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 50px;
    margin-bottom: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.first-place .rank-number {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #333;
    width: 60px;
    height: 60px;
    line-height: 60px;
    font-size: 1.8rem;
}

.second-place .rank-number {
    background: linear-gradient(135deg, #c0c0c0, #e5e5e5);
    color: #333;
}

.third-place .rank-number {
    background: linear-gradient(135deg, #cd7f32, #daa520);
    color: white;
}

.rank-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #667eea;
    margin-top: 8px;
}

.first-place .rank-badge {
    color: #fff701;
}

.second-place .rank-badge {
    color: #696969;
}

.third-place .rank-badge {
    color: #cd7f32;
}

.rank-badge i {
    font-size: 1rem;
}

.champion-avatar {
    position: relative;
    margin: 20px 0;
}

.champion-avatar img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.first-place .champion-avatar img {
    width: 140px;
    height: 140px;
    border: 6px solid #ffd700;
    box-shadow: 0 12px 35px rgba(255, 215, 0, 0.4);
}

.champion-card:hover .champion-avatar img {
    transform: scale(1.05);
}

.avatar-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.first-place .avatar-glow {
    width: 160px;
    height: 160px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.4) 0%, transparent 70%);
}

.champion-card:hover .avatar-glow {
    opacity: 1;
}

.champion-info {
    margin-top: 20px;
}

.champion-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
}

.first-place .champion-name {
    font-size: 1.6rem;
    color: #ffd700;
}

.champion-faculty {
    font-size: 1rem;
    color: var(--secondary-white);
    margin-bottom: 15px;
    font-weight: 900;
}

.champion-score {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #667eea;
    padding: 10px 20px;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 25px;
    border: 2px solid rgba(102, 126, 234, 0.2);
}

.first-place .champion-score {
    color: #ffd700;
    background: rgba(255, 215, 0, 0.1);
    border-color: rgba(255, 215, 0, 0.3);
    font-size: 1.2rem;
}

.second-place .champion-score {
    color: #696969;
    background: rgba(192, 192, 192, 0.283);
    border-color: rgba(255, 250, 250, 0.913);
}

.third-place .champion-score {
    color: #cd7f32;
    background: rgba(205, 127, 50, 0.1);
    border-color: rgba(205, 128, 50, 0.475);
}

.champion-score i {
    color: #ffd700;
}

@media (max-width: 768px) {
    .leaderboard-stage {
        padding: 60px 0;
    }

    .leaderboard-header .section-title {
        font-size: 2.2rem;
    }

    .leaderboard-header .section-subtitle {
        font-size: 1rem;
    }

    .champions-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 20px;
    }

    .champion-card {
        padding: 25px;
    }

    .champion-card.first-place {
        transform: none;
        order: -1;
    }

    .champion-card.first-place:hover {
        transform: translateY(-5px);
    }

    .champion-avatar {
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 0 auto 15px;
    }

    .champion-avatar img {
        width: 100px;
        height: 100px;
        object-fit: cover;
        border-radius: 50%;
        display: block;
        margin: 0 auto;
    }

    .first-place .champion-avatar img {
        width: 120px;
        height: 120px;
        object-fit: cover;
        border-radius: 50%;
        display: block;
        margin: 0 auto;
    }

    .champion-name {
        font-size: 1.2rem;
        text-align: center;
    }

    .first-place .champion-name {
        font-size: 1.4rem;
        text-align: center;
    }

    .champion-faculty {
        text-align: center;
    }

    .champion-score {
        text-align: center;
    }

    .stage-char {
        display: none;
    }
}

.stage-char {
    position: absolute;
    width: 75px;
    height: auto;
    bottom: 40px;
    right: 60px;
    opacity: 0.9;
    z-index: 2;
}

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

.knowledge-hero .hero-content {
    max-width: 600px;
}

.knowledge-hero .hero-description {
    margin: 20px 0 30px;
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0.9;
}

.knowledge-hero .hero-buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.knowledge-hero .hero-buttons .btn {
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.knowledge-hero .hero-buttons .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.knowledge-hero .hero-characters {
    position: absolute;
    top: 50%;
    right: 60px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 25px;
    z-index: 2;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 40px 0;
}

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

.hero-stats .stat-item:hover::before {
    left: 100%;
}

.hero-stats .stat-icon {
    font-size: 2rem;
    color: var(--accent-yellow);
    margin-bottom: 10px;
    display: block;
}

@media (max-width: 768px) {
    .knowledge-hero .container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .knowledge-hero .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .hero-stats .stat-item {
        padding: 20px 15px;
    }

    .hero-stats .stat-number {
        font-size: 1.8rem;
    }

    .hero-stats .stat-icon {
        font-size: 1.5rem;
    }
}

.podium-base .podium-rank {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-yellow), #ffd166);
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
    z-index: 3;
    border: 3px solid #fff;
}

.first-place .podium-rank {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
}

.second-place .podium-rank {
    background: linear-gradient(135deg, #c0c0c0, #a0a0a0);
}

.third-place .podium-rank {
    background: linear-gradient(135deg, #d97706, #b45309);
}

.leaderboard-stage .stage-char,
.current-question .question-char,
.submit-answer .answer-char,
.how-it-works .steps-char {
    position: absolute;
    max-width: 22vw;
}

.animate-bounce,
.animate-float,
.animate-wiggle,
.animate-pulse,
.animate-slide-left,
.animate-slide-right,
.animate-bounce-slow {
    animation-timing-function: ease-in-out;
}

.stage-char,
.question-char,
.answer-char,
.steps-char,
.header-char {
    animation-name: none;
}

.header-char.char1 {
    animation: bounce 2s infinite;
}

.current-question .question-char {
    animation: wiggle 2s ease-in-out infinite;
}

.submit-answer .answer-char {
    animation: pulse 2s ease-in-out infinite;
}

.how-it-works .steps-char {
    animation: bounceSlow 3s infinite;
}

@media (max-width: 768px) {

    .leaderboard-stage .stage-char,
    .current-question .question-char,
    .submit-answer .answer-char,
    .how-it-works .steps-char,
    .knowledge-hero .header-char {
        display: none;
    }
}

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

.current-question {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--secondary-white) 0%, #f8f9fa 100%);
    position: relative;
}

.question-card {
    background: var(--secondary-white);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border: 2px solid var(--primary-purple);
    position: relative;
    overflow: hidden;
}

.question-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-purple), var(--light-purple));
}

.question-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.question-badge {
    background: var(--primary-purple);
    color: var(--secondary-white);
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.question-timer {
    background: var(--accent-yellow);
    color: var(--text-dark);
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    animation: pulse 2s infinite;
}

.question-content h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.4;
    font-family: "Playpen Sans Arabic", cursive;
    font-optical-sizing: auto;
    font-weight: weight;
    font-style: normal;
}

.question-description {
    color: #666;
    line-height: 1.7;
    margin-bottom: 25px;
    font-size: 1.1rem;
    font-family: "Playpen Sans Arabic", cursive;
    font-optical-sizing: auto;
    font-weight: weight;
    font-style: normal;
}

.question-requirements {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 15px;
    border-left: 4px solid var(--primary-purple);
}

.question-requirements h4 {
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
}

.question-requirements ul {
    list-style: none;
    padding: 0;
}

.question-requirements li {
    padding: 5px 0;
    color: #666;
    position: relative;
    padding-left: 25px;
}

.question-requirements li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-purple);
    font-weight: bold;
    font-size: 1.1rem;
}

.question-char {
    position: absolute;
    width: 70px;
    height: auto;
    bottom: 30px;
    right: 40px;
    opacity: 0.9;
    z-index: 2;
}

.submit-answer {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--light-purple) 100%);
    position: relative;
}

.section-title-submit {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-white);
    margin-bottom: 50px;
    position: relative;
}

.section-title-submit::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--accent-yellow);
    border-radius: 2px;
}

.answer-form-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.answer-form {
    background: var(--secondary-white);
    padding: 60px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(106, 13, 173, 0.1);
}

.form-group label {
    display: block;
    margin-bottom: 12px;
    font-weight: 600;
    color: var(--primary-purple);
    font-size: 1.1rem;
    order: -1;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 20px 25px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
    background: #fafafa;
    min-height: 60px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-purple);
    box-shadow: 0 0 0 4px rgba(106, 13, 173, 0.1);
    background: var(--secondary-white);
}

.submit-btn {
    width: 100%;
    padding: 20px 30px;
    font-size: 1.2rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s ease;
    border-radius: 12px;
    margin-top: 20px;
    background: linear-gradient(135deg, var(--primary-purple), var(--light-purple));
    color: var(--secondary-white);
    border: none;
    cursor: pointer;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(106, 13, 173, 0.3);
}

.answer-char {
    position: absolute;
    width: 75px;
    height: auto;
    bottom: 35px;
    right: 50px;
    opacity: 0.9;
    z-index: 2;
}

@media (max-width: 1200px) {
    .answer-form-container {
        max-width: 900px;
    }

    .answer-form {
        padding: 50px;
    }

    .form-row {
        gap: 30px;
    }
}

.how-it-works {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--secondary-white) 0%, #f8f9fa 100%);
    position: relative;
}

.how-it-works .section-title {
    text-align: center;
    margin-bottom: 20px;
}

.how-it-works .section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 60px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.step-card {
    background: var(--secondary-white);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.step-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(106, 13, 173, 0.2);
    border-color: var(--primary-purple);
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-purple), var(--light-purple));
}

.step-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-purple), var(--light-purple));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
    color: var(--secondary-white);
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(106, 13, 173, 0.3);
}

.step-card:hover .step-icon {
    transform: scale(1.1);
    box-shadow: 0 15px 35px rgba(106, 13, 173, 0.4);
}

.step-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.step-card p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 1rem;
}

.steps-char {
    position: absolute;
    width: 70px;
    height: auto;
    bottom: 30px;
    right: 40px;
    opacity: 0.8;
    z-index: 2;
}

@media (max-width: 768px) {
    .how-it-works {
        padding: 80px 0;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-top: 40px;
        padding: 0 20px;
    }

    .step-card {
        padding: 30px 25px;
    }

    .step-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
        margin-bottom: 20px;
    }

    .step-card h3 {
        font-size: 1.3rem;
    }

    .steps-char {
        display: none;
    }
}

@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }

    .hero-content h1 {
        font-size: 4rem;
    }

    .hero-content p {
        font-size: 1.4rem;
    }

    .section-title {
        font-size: 3rem;
    }

    .champion-card {
        padding: 40px 30px;
    }

    .answer-form-container {
        max-width: 1200px;
    }
}

@media (max-width: 1399px) and (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }

    .hero-content h1 {
        font-size: 3.5rem;
    }

    .champions-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
}

@media (max-width: 1199px) and (min-width: 992px) {
    .container {
        max-width: 960px;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .nav-menu {
        gap: 25px;
    }

    .champions-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }

    .step-card {
        padding: 35px 25px;
    }
}

@media (max-width: 991px) and (min-width: 768px) {
    .container {
        max-width: 720px;
        padding: 0 20px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .nav-menu {
        gap: 20px;
    }

    .nav-link {
        font-size: 0.9rem;
    }

    .champions-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .step-card {
        padding: 30px 20px;
    }

    .step-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .answer-form-container {
        max-width: 600px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 767px) and (min-width: 576px) {
    .container {
        max-width: 540px;
        padding: 0 15px;
    }

    .hero-content h1 {
        font-size: 2.2rem;
        line-height: 1.2;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .champions-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .champion-card {
        padding: 25px 20px;
    }

    .champion-avatar {
        width: 60px;
        height: 60px;
    }

    .step-card {
        padding: 25px 20px;
    }

    .step-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }

    .answer-form-container {
        max-width: 100%;
        padding: 0 15px;
    }

    .answer-form {
        padding: 30px 20px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 15px;
        min-height: 50px;
    }

    .submit-btn {
        padding: 15px 30px;
        font-size: 1rem;
    }

    .char {
        display: none !important;
    }

    .floating-elements {
        display: none;
    }
}

@media (max-width: 575px) {
    .container {
        max-width: 100%;
        padding: 0 10px;
    }

    .hero-content h1 {
        font-size: 1.8rem;
        line-height: 1.1;
    }

    .hero-content p {
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .champion-card {
        padding: 20px 15px;
    }

    .champion-avatar {
        width: 50px;
        height: 50px;
    }

    .champion-name {
        font-size: 1rem;
    }

    .champion-faculty {
        font-size: 0.8rem;
    }

    .step-card {
        padding: 20px 15px;
    }

    .step-icon {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }

    .step-card h3 {
        font-size: 1.1rem;
    }

    .step-card p {
        font-size: 0.9rem;
    }

    .answer-form {
        padding: 20px 15px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px;
        min-height: 45px;
        font-size: 0.9rem;
    }

    .form-group label {
        font-size: 0.9rem;
    }

    .submit-btn {
        padding: 12px 25px;
        font-size: 0.9rem;
    }

    .question-card {
        padding: 20px 15px;
    }

    .question-card h3 {
        font-size: 1.2rem;
    }

    .question-card p {
        font-size: 0.9rem;
    }

    .question-requirements h4 {
        font-size: 1rem;
    }

    .question-requirements li {
        font-size: 0.85rem;
    }

    .nav-menu {
        padding: 10px;
    }

    .nav-link {
        font-size: 0.8rem;
        padding: 8px 12px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-section {
        text-align: center;
    }

    .footer-section--brand .social-icons {
        justify-content: center;
    }

    .map-iframe {
        height: 200px;
    }
}

@media (max-width: 375px) {
    .hero-content h1 {
        font-size: 1.5rem;
    }

    .hero-content p {
        font-size: 0.8rem;
    }

    .section-title {
        font-size: 1.4rem;
    }

    .champion-card {
        padding: 15px 10px;
    }

    .step-card {
        padding: 15px 10px;
    }

    .answer-form {
        padding: 15px 10px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px;
        min-height: 40px;
        font-size: 0.85rem;
    }

    .submit-btn {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
}

@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        padding: 60px 0;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 0.9rem;
    }

    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 1.8rem;
    }
}

@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {
    .char {
        image-rendering: -moz-crisp-edges;
        image-rendering: -webkit-optimize-contrast;
        image-rendering: -webkit-crisp-edges;
        image-rendering: pixelated;
        image-rendering: crisp-edges;
        -ms-interpolation-mode: nearest-neighbor;
    }
}

@media print {

    .char,
    .floating-elements,
    .nav-menu,
    .footer {
        display: none !important;
    }

    .container {
        max-width: 100% !important;
        padding: 0 !important;
    }

    .section {
        padding: 20px 0 !important;
    }
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .char,
    .floating-elements {
        display: none !important;
    }
}

::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.1);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--light-purple) 100%);
    border-radius: 10px;
    border: 2px solid #f1f1f1;
    transition: all 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--dark-purple) 0%, var(--primary-purple) 100%);
    transform: scale(1.05);
    box-shadow: 0 0 10px rgba(106, 13, 173, 0.3);
}

::-webkit-scrollbar-thumb:active {
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--accent-yellow) 100%);
}

::-webkit-scrollbar-corner {
    background: #f1f1f1;
    border-radius: 0 0 10px 0;
}

* {
    scrollbar-width: thin;
    scrollbar-color: var(--primary-purple) #f1f1f1;
}

.custom-scroll::-webkit-scrollbar {
    width: 8px;
}

.custom-scroll::-webkit-scrollbar-track {
    background: rgba(241, 241, 241, 0.5);
    border-radius: 8px;
}

.custom-scroll::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--light-purple) 100%);
    border-radius: 8px;
    border: 1px solid rgba(241, 241, 241, 0.8);
}

.custom-scroll::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--dark-purple) 0%, var(--primary-purple) 100%);
}

.animated-scroll::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--accent-yellow) 50%, var(--light-purple) 100%);
    background-size: 200% 100%;
    animation: scrollbarGradient 3s ease infinite;
}

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

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@media (prefers-color-scheme: dark) {
    ::-webkit-scrollbar-track {
        background: #2d2d2d;
    }

    ::-webkit-scrollbar-thumb {
        border-color: #2d2d2d;
    }

    ::-webkit-scrollbar-corner {
        background: #2d2d2d;
    }

    * {
        scrollbar-color: var(--primary-purple) #2d2d2d;
    }
}

@media (max-width: 768px) {
    .department-heads .container {
        padding: 0 10px !important;
        margin: 0 auto !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .departments-grid {
        grid-template-columns: 1fr !important;
        gap: 25px !important;
        padding: 0 !important;
        margin: 0 !important;
        width: 100% !important;
    }

    .department-card {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 0 20px 0 !important;
        padding: 25px 15px !important;
        box-sizing: border-box !important;
    }

    .dept-duo {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        padding: 0 !important;
        margin: 0 !important;
        width: 100% !important;
    }

    .dept-member {
        width: 100% !important;
        max-width: 100% !important;
        padding: 20px 15px !important;
        margin: 0 !important;
        min-height: auto !important;
        box-sizing: border-box !important;
    }

    .dept-avatar {
        margin: 0 auto 12px !important;
        width: fit-content !important;
    }

    .dept-avatar img {
        width: 80px !important;
        height: 80px !important;
    }

    .dept-name {
        font-size: 1rem !important;
        margin: 8px 0 6px !important;
    }

    .team-description {
        font-size: 0.85rem !important;
        line-height: 1.5 !important;
        padding: 0 !important;
        word-break: break-word !important;
    }

    .team-details {
        width: 100% !important;
        padding: 0 !important;
    }

    .team-details span {
        font-size: 0.8rem !important;
        padding: 6px 10px !important;
        margin: 4px 0 !important;
        word-break: break-word !important;
    }

    .department-card h3 {
        font-size: 1.2rem !important;
        margin-bottom: 20px !important;
        padding: 0 5px !important;
    }
}

@media (max-width: 375px) {
    .department-heads .container {
        padding: 0 8px !important;
    }

    .department-card {
        padding: 20px 12px !important;
    }

    .dept-member,.best-member {
        padding: 18px 12px !important;
    }

    .dept-avatar img {
        width: 70px !important;
        height: 70px !important;
    }

    .dept-name {
        font-size: 0.95rem !important;
    }

    .team-description {
        font-size: 0.8rem !important;
    }
}

@media (max-width: 768px) {
    body {
        overflow-x: hidden !important;
    }

    .department-heads,
    .departments-grid,
    .department-card,
    .dept-duo,
    .dept-member,
    .best-member {
        overflow-x: hidden !important;
        overflow-y: visible !important;
    }
}

.dept-member,.best-member {
    position: relative !important;
    padding: 28px !important;
    border-radius: 20px !important;
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border: 2px solid transparent !important;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.95)),
        linear-gradient(135deg,
            rgba(106, 13, 173, 0.4) 0%,
            rgba(255, 193, 7, 0.4) 25%,
            rgba(155, 89, 182, 0.4) 50%,
            rgba(255, 215, 0, 0.4) 75%,
            rgba(106, 13, 173, 0.4) 100%) !important;
    background-origin: border-box !important;
    background-clip: padding-box, border-box !important;
    background-size: 100%, 200% 200% !important;
    box-shadow:
        0 8px 32px rgba(106, 13, 173, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8) !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    animation: borderShine 3s ease infinite !important;
}

.dept-member:hover ,.best-member:hover {
    transform: translateY(-8px) scale(1.02) !important;
    box-shadow:
        0 15px 45px rgba(106, 13, 173, 0.2),
        0 0 30px rgba(255, 193, 7, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
    animation: borderShine 1.5s ease infinite !important;
}

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

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

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