/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #0f1419 0%, #1a1f2e  50%, #2d1b69 100%);
    color: #da6767;
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Dynamic scroll gradient overlay - DISABLED to prevent darkening effect */
/*
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #0f1419 0%, #1a1f2e  50%, #2d1b69 100%);
    opacity: 0;
    transition: opacity 0.1s ease;
    pointer-events: none;
    z-index: 1;
}
*/

/* Global Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 60px, 0) scale(0.8) rotateX(20deg);
        filter: blur(8px);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1) rotateX(0deg);
        filter: blur(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translate3d(-80px, 20px, 0) scale(0.7) rotateY(-15deg);
        filter: blur(10px);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1) rotateY(0deg);
        filter: blur(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translate3d(80px, 20px, 0) scale(0.7) rotateY(15deg);
        filter: blur(10px);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1) rotateY(0deg);
        filter: blur(0);
    }
}

@keyframes slideInFromTop {
    from {
        opacity: 0;
        transform: translate3d(0, -100px, 0) scale(0.9) rotateX(-30deg);
        filter: blur(15px);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1) rotateX(0deg);
        filter: blur(0);
    }
}

@keyframes slideInFromBottom {
    from {
        opacity: 0;
        transform: translate3d(0, 100px, 0) scale(0.6) rotateX(45deg);
        filter: blur(15px);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1) rotateX(0deg);
        filter: blur(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale3d(0.1, 0.1, 0.1) rotate(-180deg);
        filter: blur(20px);
    }
    50% {
        opacity: 0.5;
        transform: scale3d(1.2, 1.2, 1.2) rotate(-90deg);
        filter: blur(5px);
    }
    to {
        opacity: 1;
        transform: scale3d(1, 1, 1) rotate(0deg);
        filter: blur(0);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale3d(0.1, 0.1, 0.1) rotate(-120deg);
        filter: blur(20px);
    }
    20% {
        opacity: 0.7;
        transform: scale3d(1.15, 1.15, 1.15) rotate(-60deg);
        filter: blur(8px);
    }
    40% {
        opacity: 0.9;
        transform: scale3d(0.85, 0.85, 0.85) rotate(-30deg);
        filter: blur(4px);
    }
    60% {
        opacity: 1;
        transform: scale3d(1.05, 1.05, 1.05) rotate(-10deg);
        filter: blur(2px);
    }
    80% {
        transform: scale3d(0.95, 0.95, 0.95) rotate(-5deg);
        filter: blur(1px);
    }
    100% {
        opacity: 1;
        transform: scale3d(1, 1, 1) rotate(0deg);
        filter: blur(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    box-shadow: 0 8px 25px rgba(169, 166, 175, 0.3);
    }
    50% {
        transform: scale(1.08);
        box-shadow: 0 0 40px rgba(197, 48, 54, 0.8), 0 0 60px rgba(197, 48, 54, 0.4);
    }
}

@keyframes glow {
    0%, 100% {
    box-shadow: 0 8px 25px rgba(169, 166, 175, 0.3);
        filter: brightness(1);
    }
    50% {
        box-shadow: 0 0 40px rgba(197, 48, 54, 0.8), 0 0 60px rgba(197, 48, 54, 0.4);
        filter: brightness(1.2);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Scroll Animation Classes */
.scroll-hidden {
    opacity: 0;
    transform: translateY(60px) scale(0.9);
    filter: blur(5px);
    transition: all 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scroll-visible {
    opacity: 1 !important;
    transform: translateY(0) scale(1) !important;
    filter: blur(0px) !important;
}

/* Enhanced animation variants */
.scroll-hidden.fade-left {
    transform: translateX(-80px) scale(0.8);
    opacity: 0;
}

.scroll-hidden.fade-right {
    transform: translateX(80px) scale(0.8);
    opacity: 0;
}

.scroll-hidden.zoom-in {
    transform: scale(0.5) rotate(10deg);
    opacity: 0;
}

.scroll-hidden.slide-up {
    transform: translateY(100px) rotateX(25deg);
    opacity: 0;
}

/* Fallback: show content if JS doesn't load */
.no-js .scroll-hidden {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0px);
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

.animate-fade-in-left {
    animation: fadeInLeft 0.8s ease-out forwards;
}

.animate-fade-in-right {
    animation: fadeInRight 0.8s ease-out forwards;
}

.animate-slide-in-top {
    animation: slideInFromTop 0.6s ease-out forwards;
}

.animate-slide-in-bottom {
    animation: slideInFromBottom 0.8s ease-out forwards;
}

.animate-zoom-in {
    animation: zoomIn 0.6s ease-out forwards;
}

.animate-bounce-in {
    animation: bounceIn 0.8s ease-out forwards;
}

/* Staggered Animation Delays */
.animate-delay-1 {
    animation-delay: 0.1s;
}

.animate-delay-2 {
    animation-delay: 0.2s;
}

.animate-delay-3 {
    animation-delay: 0.3s;
}

.animate-delay-4 {
    animation-delay: 0.4s;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background: rgba(15, 20, 25, 0.98);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    min-height: 70px;
    z-index: 100;
    animation: slideInFromTop 0.6s ease-out;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 20px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    animation: fadeInLeft 0.8s ease-out;
}

.truck-icon {
    color: #C53036;
    display: flex;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.1) rotate(5deg);
}

.logo-img {
    width: 60px;
    height: 60px;
    border-radius: 50px;
    object-fit: contain;
}

.brand-text {
    line-height: 1.2;
}

.brand-title {
    font-size: 1.0rem;
    font-weight: 500;
    color: #94a3b8;
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
}

.brand-name {
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.025em;
    transition: color 0.3s ease;
}

.nav-brand:hover .brand-title {
    color: #C53036;
}

.nav-menu {
    display: flex !important;
    gap: 2rem;
    animation: fadeInUp 0.8s ease-out 0.2s both;
    visibility: visible !important;
    opacity: 1 !important;
}

.nav-link {
    color: #cbd5e1;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 6px;
}

.nav-link i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.nav-link:hover {
    color: #C53036;
    background: rgba(197, 48, 54, 0.1);
    transform: translateY(-2px);
}

.nav-link:hover i {
    transform: scale(1.2);
}

.nav-link.active {
    color: #C53036;
    background: rgba(124, 58, 237, 0.15);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    animation: fadeInRight 0.8s ease-out 0.4s both;
}

.btn-login, .btn-logout {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    color: #cbd5e1;
    font-weight: 500;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.2s ease;
    font-size: 0.875rem;
    text-decoration: none;
}

.btn-login:hover, .btn-logout:hover {
    background: rgba(124, 58, 237, 0.1);
    color: #C53036;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid rgba(197, 48, 54, 0.3);
    object-fit: cover;
}

.user-name {
    color: #cbd5e1;
    font-weight: 500;
    font-size: 0.875rem;
}

.btn-apply {
    background: linear-gradient(135deg, 
        #c53035a2 60%, 
        #c53035de 80%, 
        #C53036 100%);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(169, 166, 175, 0.3);
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    position: relative;
    overflow: hidden;
}

.btn-apply:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(169, 166, 175, 0.3);
    animation: pulse 2s infinite;
}

.btn-apply:active {
    transform: translateY(0);
}

/* Main Content */
main {
    padding-top: 80px; /* Account for fixed header height */
}

/* Hero Section */
.hero {
    padding: 2rem 0 4rem;
    text-align: left;
    position: relative;
    background-image: url('/images/background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 80vh;
    display: flex;
    align-items: center;
    z-index: 1;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(15, 20, 25, 0.8) 0%, rgba(26, 31, 46, 0.7) 50%, rgba(45, 27, 105, 0.6) 100%);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding-left: 0;
    max-width: none;
    width: 100%;
}

.hero-content {
    max-width: 600px;
    margin: 0;
    position: relative;
    z-index: 3;
    text-align: left;
    margin-left: 60px;
    padding-left: 0;
    animation: fadeInLeft 1s ease-out 0.5s both;
}

.new-badge {
    display: inline-block;
    background: rgba(124, 58, 237, 0.3);
    color: #a855f7;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 2rem;
    border: 1px solid rgba(124, 58, 237, 0.5);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 25px rgba(169, 166, 175, 0.3);
    animation: fadeInUp 0.8s ease-out 0.7s both;
    transition: transform 0.3s ease;
}

.new-badge:hover {
    transform: scale(1.05);
    animation: glow 2s infinite;
}

.hero-title {
    background: linear-gradient(135deg, 
        #ffffff 0%, 
        #e0e7ff 20%, 
        #c7d2fe 40%, 
        #c53035a2 60%, 
        #c53035de 80%, 
        #C53036 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 300% 300%;
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    text-shadow: none;
    animation: fadeInUp 1s ease-out 0.8s both, titleGradientPulse 3s ease-in-out infinite;
    position: relative;
}

@keyframes titleGradientPulse {
    0%, 100% {
        background-position: 0% 50%;
        transform: scale(1);
    }
    25% {
        background-position: 50% 0%;
        transform: scale(1.02);
    }
    50% {
        background-position: 100% 50%;
        transform: scale(1.05);
    }
    75% {
        background-position: 50% 100%;
        transform: scale(1.02);
    }
}

.gradient-text {
    background: linear-gradient(135deg, 
        #ffffff 0%, 
        #e0e7ff 20%, 
        #c7d2fe 40%, 
        #c53035a2 60%, 
        #c53035de 80%, 
        #C53036 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    animation: pulse 3s infinite;
}

.hero-description {
    font-size: 1.25rem;
    color: #e2e8f0;
    margin-bottom: 3rem;
    line-height: 1.6;
    max-width: 600px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    background: rgba(0, 0, 0, 0.2);
    padding: 1rem;
    border-radius: 12px;
    backdrop-filter: blur(5px);
    animation: fadeInUp 1s ease-out 1s both;
}

.hero-actions {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 1.2s both;
}

.btn-primary {
    background: linear-gradient(135deg, 
        #c53035a2 60%, 
        #c53035de 80%, 
        #C53036 100%);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(169, 166, 175, 0.3);
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(169, 166, 175, 0.3);
    animation: pulse 1.5s infinite;
}

.btn-secondary {
    background: linear-gradient(135deg,  
        #c53035a2 60%, 
        #c53035de 80%, 
        #C53036 100%);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 25px rgba(169, 166, 175, 0.3);
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(116, 114, 121, 0.3);
    animation: pulse 1.5s infinite;
}

.trust-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #94a3b8;
    font-size: 0.875rem;
    font-weight: 500;
}

.trust-indicator svg {
    color: #fbbf24;
}

/* About Section */
.about {
    padding: 6rem 0;
    background: linear-gradient(180deg, 
        rgba(15, 20, 25, 0.98) 0%, 
        rgba(15, 20, 25, 0.95) 50%, 
        rgba(15, 20, 25, 0.98) 100%);
    backdrop-filter: blur(20px);
    position: relative;
    z-index: 10;
    margin-top: -1px; /* Eliminate any gap */
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 20, 25, 0.9);
    z-index: -1;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about-header {
    margin-bottom: 3rem;
}

.about-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    transition: all 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: translateY(50px) scale(0.8);
    opacity: 0;
}

.about-title.scroll-visible {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.about-subtitle {
    font-size: 1.25rem;
    color: #C53036;
    font-weight: 600;
    font-style: italic;
    transition: all 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: translateY(40px) scale(0.9);
    opacity: 0;
}

.about-subtitle.scroll-visible {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.about-text {
    margin-bottom: 3rem;
    text-align: left;
}

.about-text p {
    color: #cbd5e1;
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    transition: all 1.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 1; /* Ensure default visibility */
}

.about-text p.scroll-hidden {
    opacity: 0;
    transform: translateX(-60px) scale(0.95);
    filter: blur(3px);
}

.about-text p.scroll-visible {
    opacity: 1;
    transform: translateX(0) scale(1);
    filter: blur(0px);
}

.about-text p:last-child {
    margin-bottom: 0;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.about-feature {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 1rem;
    transition: all 1.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: translateY(40px) scale(0.7) rotate(5deg);
    opacity: 0;
    filter: blur(5px);
}

.about-feature.scroll-visible {
    transform: translateY(0) scale(1) rotate(0deg);
    opacity: 1;
    filter: blur(0px);
}

.about-feature:hover {
    transform: translateY(-8px) scale(1.1) rotate(-2deg);
    animation: float 3s ease-in-out infinite;
    background: rgba(124, 58, 237, 0.15);
    border-color: rgba(124, 58, 237, 0.4);
    box-shadow: 0 8px 25px rgba(169, 166, 175, 0.3);
}

.about-feature i {
    color: #C53036;
    font-size: 1.25rem;
}

.about-feature span {
    color: #ffffff;
    font-weight: 600;
    font-size: 0.875rem;
}

/* Features Section */
.features {
    padding: 6rem 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-4px);
}

.feature-icon {
    color: #C53036;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    width: fit-content;
    font-size: 1.5rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #ffffff;
    line-height: 1.3;
}

.feature-card p {
    color: #94a3b8;
    line-height: 1.6;
}

/* Stats Section */
.stats {
    padding: 4rem 0;
    background: rgba(15, 20, 25, 0.95);
    position: relative;
    z-index: 10;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 1.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform: translateY(80px) scale(0.6) rotateY(45deg);
    opacity: 0;
    filter: blur(8px);
}

.stat-card.scroll-visible {
    transform: translateY(0) scale(1) rotateY(0deg);
    opacity: 1;
    filter: blur(0px);
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-15px) scale(1.08) rotateY(-5deg);
    box-shadow: 0 8px 25px rgba(169, 166, 175, 0.3);
    animation: glow 2s infinite;
    border-color: rgba(154, 150, 160, 0.6);
}

.stat-icon {
    color: #C53036;
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.6s ease;
}

.stat-card:hover .stat-icon {
    transform: scale(1.4) rotate(15deg);
    animation: pulse 1.5s infinite;
    color: #C53036;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #94a3b8;
    font-weight: 500;
}

.live-indicator {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
    color: #22c55e;
    font-weight: 600;
    margin-left: 8px;
    animation: pulse 2s infinite;
}

.live-indicator i {
    font-size: 0.5rem;
    color: #22c55e;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* Events Section */
.events {
    padding: 6rem 0;
    background: rgba(15, 20, 25, 0.98);
    position: relative;
    z-index: 10;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
}

.btn-view-calendar {
    background: linear-gradient(135deg, 
        #c53035a2 60%, 
        #c53035de 80%, 
        #C53036 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-view-calendar:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(169, 166, 175, 0.3);
    animation: pulse 1.5s infinite;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

@media (max-width: 1024px) {
    .events-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .events-grid {
        grid-template-columns: 1fr;
    }
}

.event-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    transition: all 1.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: translateY(100px) scale(0.8) rotateX(20deg);
    opacity: 0;
    filter: blur(10px);
}

.event-card.scroll-visible {
    transform: translateY(0) scale(1) rotateX(0deg);
    opacity: 1;
    filter: blur(0px);
}

.event-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-12px) scale(1.03) rotateX(-2deg);
    box-shadow: 0 8px 25px rgba(169, 166, 175, 0.3);
    animation: float 4s ease-in-out infinite;
}

.event-date {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #C53036;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.event-time {
    color: #94a3b8;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.event-route {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.event-details {
    color: #94a3b8;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.event-detail-item {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 0.5rem;
}

.event-detail-item i {
    width: 16px;
    color: #C53036;
}

.event-route-image {
    margin-bottom: 1rem;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.event-route-image:hover {
    transform: scale(1.02);
}

.route-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    transition: all 0.3s ease;
}

.event-banner {
    margin-bottom: 1rem;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.event-banner:hover {
    transform: scale(1.02);
}

.banner-image {
    width: 100%;
    height: 120px;
    object-fit: cover;
    display: block;
    transition: all 0.3s ease;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: white;
    font-size: 0.875rem;
    gap: 0.5rem;
}

.event-route-image:hover .image-overlay {
    opacity: 1;
}

.image-overlay i {
    font-size: 1.5rem;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(8px);
    overflow: auto;
}

.modal-content {
    margin: 2% auto;
    display: block;
    width: 95%;
    max-width: 1400px;
    position: relative;
    animation: zoom 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@keyframes zoom {
    from { 
        transform: scale(0.7);
        opacity: 0;
    }
    to { 
        transform: scale(1);
        opacity: 1;
    }
}

#modalImage {
    width: 100%;
    height: auto;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(169, 166, 175, 0.3);
    background: #1a1a1a;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

#modalCaption {
    margin: 15px auto 0;
    display: block;
    width: 90%;
    max-width: 800px;
    text-align: center;
    color: #e5e5e5;
    padding: 15px;
    font-size: 1.1rem;
    font-weight: 500;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #ffffff;
    font-size: 35px;
    font-weight: 300;
    transition: all 0.3s ease;
    cursor: pointer;
    z-index: 1001;
    background: rgba(0, 0, 0, 0.5);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.close:hover,
.close:focus {
    color: #ff4444;
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
}

/* Modal Responsive Design */
@media (max-width: 768px) {
    .modal-content {
        width: 98%;
        margin: 5% auto;
    }
    
    #modalImage {
        border-radius: 8px;
        max-height: 85vh;
    }
    
    .close {
        top: 10px;
        right: 15px;
        font-size: 28px;
        width: 35px;
        height: 35px;
    }
    
    #modalCaption {
        font-size: 1rem;
        padding: 12px;
        margin: 10px auto 0;
    }
}

.event-attendance {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.attendance-stats {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.attendance-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
}

.attendance-item i {
    color: #C53036;
}

.attendance-item span {
    color: #cbd5e1;
    font-weight: 500;
}

.event-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.event-buttons {
    display: flex;
    gap: 0.75rem;
}

.btn-view-event, .btn-link-event {
        background: linear-gradient(135deg, 
        #c53035a2 60%, 
        #c53035de 80%, 
        #C53036 100%);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}


.btn-view-event:hover, .btn-link-event:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(169, 166, 175, 0.3);
    animation: pulse 1.5s infinite;
}



.event-badge {
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
}

.event-badge.public {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.btn-book-slot {
    background: rgba(124, 58, 237, 0.2);
    color: #a855f7;
    border: 1px solid rgba(124, 58, 237, 0.3);
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-book-slot:hover {
    background: rgba(124, 58, 237, 0.3);
    color: #ffffff;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header .container {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .nav-menu {
        display: flex !important;
        order: 3;
        flex-basis: 100%;
        justify-content: center;
        gap: 1.5rem;
        padding-top: 1rem;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
        visibility: visible !important;
        opacity: 1 !important;
        flex-wrap: wrap;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1.125rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .section-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .events-grid {
        grid-template-columns: 1fr;
    }
    
    .about-title {
        font-size: 2rem;
    }
    
    .about-subtitle {
        font-size: 1.125rem;
    }
    
    .about-text {
        text-align: center;
    }
    
    .about-text p {
        font-size: 1rem;
    }
    
    .about-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    main {
        padding-top: 120px; /* Increased padding for mobile due to wrapped nav */
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 1rem 0 3rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-actions {
        gap: 1rem;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-menu {
        gap: 1rem !important;
        font-size: 0.9rem;
    }
    
    .nav-link {
        padding: 6px 10px;
        font-size: 0.85rem;
    }
    
    .feature-card, .stat-card, .event-card {
        padding: 1.5rem;
    }
    
    .about-features {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Footer Override Styles - Force Light Background */
.footer {
    background: linear-gradient(135deg, #1a1f2e 0%, #1a1f2e  50%, #1a1f2e 100%) !important;
    position: relative !important;
    z-index: 1000 !important;
}
.footer::before {
    display: none !important;
}

.footer * {
    color: white !important;
}

.footer h3,
.footer h2 {
    color: white !important;
}

.footer a {
    color: #898f97 !important;
    transition: color 0.3s ease !important;
}

.footer a:hover {
    color: #C53036 !important;
}

.footer .footer-bottom {
    border-top-color: rgba(0, 0, 0, 0.1) !important;
}

.footer-brand-text p {
    color: #C53036 !important;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: rgba(15, 20, 25, 0.98);
    position: relative;
    z-index: 10;
}

.contact .section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.contact .section-subtitle {
    color: #94a3b8;
    font-size: 1.125rem;
    margin-top: 1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    padding: 2rem;
    backdrop-filter: blur(20px);
    transition: all 0.4s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(197, 48, 54, 0.1) 0%, 
        transparent 50%, 
        rgba(124, 58, 237, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.contact-card:hover {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
    transform: translateY(-2px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

.contact-card:hover::before {
    opacity: 1;
}

.contact-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #c53035a2 0%, #C53036 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.contact-card:hover .contact-icon {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 15px 30px rgba(197, 48, 54, 0.4);
}

.contact-card h3 {
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.contact-card p {
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.btn-contact-action {
    background: linear-gradient(135deg, #c53035a2 0%, #C53036 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
}

.btn-contact-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(197, 48, 54, 0.3);
    background: linear-gradient(135deg, #C53036 0%, #d63843 100%);
}

.contact-form-container {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    padding: 0;
    backdrop-filter: blur(20px);
    overflow: hidden;
    transition: all 0.4s ease;
    position: relative;
}

.contact-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(197, 48, 54, 0.1) 0%, 
        transparent 50%, 
        rgba(124, 58, 237, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.contact-form-container:hover {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    transform: translateY(-2px);
}

.contact-form-container:hover::before {
    opacity: 1;
}

.contact-form-card {
    padding: 3rem;
    position: relative;
    z-index: 1;
}

.contact-form-card h3 {
    color: #ffffff;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    text-align: center;
    background: linear-gradient(135deg, #ffffff, #e2e8f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-form-card p {
    color: #94a3b8;
    text-align: center;
    margin-bottom: 2.5rem;
    line-height: 1.7;
    font-size: 1.05rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    align-items: start;
}

.form-group {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.form-group label {
    color: #e2e8f0;
    font-weight: 600;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 16px 50px 16px 16px;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #C53036;
    background: linear-gradient(145deg, rgba(197, 48, 54, 0.1), rgba(255, 255, 255, 0.05));
    box-shadow: 0 0 0 4px rgba(197, 48, 54, 0.15), 0 8px 25px rgba(197, 48, 54, 0.1);
    transform: translateY(-1px);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #64748b;
    font-weight: 400;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px;
}

.form-group select option {
    background: #1e293b;
    color: #ffffff;
    padding: 12px;
}

.form-icon {
    position: absolute;
    right: 16px;
    top: calc(50% + 12px);
    transform: translateY(-50%);
    color: #64748b;
    font-size: 1.1rem;
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 2;
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
    padding-right: 16px;
    line-height: 1.6;
}

.form-group:has(textarea) .form-icon {
    top: calc(50px + 12px);
    transform: none;
}

.form-group input:focus + .form-icon,
.form-group select:focus + .form-icon,
.form-group textarea:focus + .form-icon {
    color: #C53036;
    transform: translateY(-50%) scale(1.1);
}

.btn-submit {
    background: linear-gradient(135deg, #C53036 0%, #e53e3e 50%, #C53036 100%);
    color: white;
    border: none;
    padding: 18px 40px;
    border-radius: 16px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 1.5rem;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 8px 25px rgba(197, 48, 54, 0.3);
}

.btn-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.btn-submit:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(197, 48, 54, 0.4);
    background: linear-gradient(135deg, #e53e3e 0%, #C53036 50%, #e53e3e 100%);
}

.btn-submit:hover:not(:disabled)::before {
    left: 100%;
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: 0 4px 15px rgba(197, 48, 54, 0.2);
}

.btn-submit:active {
    transform: translateY(-1px);
}

.loading-spinner {
    display: none;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.btn-submit.loading .loading-spinner {
    display: block;
}

.btn-submit.loading span,
.btn-submit.loading i:not(.loading-spinner i) {
    opacity: 0;
}

/* Form animation enhancements */
.form-group {
    animation: slideInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.form-group:nth-child(1) { animation-delay: 0.1s; }
.form-group:nth-child(2) { animation-delay: 0.2s; }
.form-group:nth-child(3) { animation-delay: 0.3s; }
.form-group:nth-child(4) { animation-delay: 0.4s; }
.form-group:nth-child(5) { animation-delay: 0.5s; }

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hover effects for form groups */
.form-group:hover {
    transform: translateY(-2px);
    transition: transform 0.2s ease;
}

.form-group:hover input,
.form-group:hover select,
.form-group:hover textarea {
    border-color: rgba(255, 255, 255, 0.3);
}

/* Success state styling */
.form-group.success input,
.form-group.success select,
.form-group.success textarea {
    border-color: #22c55e;
    background: linear-gradient(145deg, rgba(34, 197, 94, 0.1), rgba(22, 163, 74, 0.05));
}

.form-group.success .form-icon {
    color: #22c55e;
}

/* Error state styling */
.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border-color: #ef4444;
    background: linear-gradient(145deg, rgba(239, 68, 68, 0.1), rgba(220, 38, 38, 0.05));
}

.form-group.error .form-icon {
    color: #ef4444;
}

.btn-submit .loading-spinner {
    display: none;
}

.btn-submit.loading .loading-spinner {
    display: inline-flex;
}

.btn-submit.loading span {
    display: none;
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    font-weight: 500;
    text-align: center;
}

.form-message.success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #22c55e;
}

.form-message.error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

.form-message.auth-required {
    background: rgba(197, 48, 54, 0.1);
    border: 1px solid rgba(197, 48, 54, 0.3);
    color: #C53036;
}

.form-message.auth-required .auth-link {
    color: #C53036 !important;
    text-decoration: underline;
    margin-top: 10px;
    display: inline-block;
    font-weight: 600;
    transition: all 0.2s ease;
}

.form-message.auth-required .auth-link:hover {
    color: #a02329 !important;
    transform: translateY(-1px);
}

.auth-notice {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: #3b82f6;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.auth-notice .auth-link {
    color: #C53036;
    text-decoration: underline;
    font-weight: 600;
    transition: all 0.2s ease;
}

.auth-notice .auth-link:hover {
    color: #a02329;
}

/* Login Prompt Section */
.login-prompt {
    padding: 80px 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    position: relative;
    overflow: hidden;
}

.login-prompt::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="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.login-prompt-content {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
}

.login-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 3rem;
    text-align: center;
    max-width: 400px;
    backdrop-filter: blur(10px);
    animation: fadeInUp 0.8s ease-out;
}

.login-icon {
    background: linear-gradient(135deg, #C53036, #e53e3e);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
    box-shadow: 0 10px 30px rgba(197, 48, 54, 0.3);
}

.login-card h3 {
    color: white;
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.login-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.btn-login-large {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #4285f4, #1a73e8);
    color: white;
    padding: 14px 24px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(66, 133, 244, 0.3);
}

.btn-login-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(66, 133, 244, 0.4);
    background: linear-gradient(135deg, #1a73e8, #1557b0);
}

/* Pre-filled form fields styling */
.form-group input[readonly] {
    background: linear-gradient(145deg, rgba(34, 197, 94, 0.1), rgba(22, 163, 74, 0.05));
    border: 2px solid rgba(34, 197, 94, 0.3);
    color: rgba(255, 255, 255, 0.95);
    cursor: not-allowed;
    position: relative;
}

.form-group input[readonly]:focus {
    border-color: rgba(34, 197, 94, 0.5);
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.1);
    background: linear-gradient(145deg, rgba(34, 197, 94, 0.15), rgba(22, 163, 74, 0.08));
}

.form-group input[readonly] + .form-icon {
    color: rgba(34, 197, 94, 0.8);
}

/* Auto-filled badge styling */
.auto-filled-badge {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 6px;
    margin-left: 8px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.3);
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0%, 100% {
        box-shadow: 0 2px 8px rgba(34, 197, 94, 0.3);
    }
    50% {
        box-shadow: 0 4px 12px rgba(34, 197, 94, 0.5);
    }
}

/* Contact Section Responsive Design */
@media (max-width: 1024px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-info {
        order: 2;
        flex-direction: row;
        gap: 1.5rem;
    }
    
    .contact-form-container {
        order: 1;
    }
}

@media (max-width: 768px) {
    .contact {
        padding: 4rem 0;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-form-card {
        padding: 2rem;
    }
    
    .contact-card {
        padding: 1.5rem;
    }
    
    .contact-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .contact-form-card {
        padding: 1.5rem;
    }
    
    .btn-submit {
        padding: 14px 28px;
        font-size: 1rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px 35px 10px 10px;
    }
}

/* =================================
   Team Page Styles
   ================================= */

.team-hero {
    padding: 8rem 0 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.team-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 20, 25, 0.7);
    z-index: 1;
}

.team-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(218, 103, 103, 0.1) 0%, 
        rgba(45, 27, 105, 0.2) 50%, 
        rgba(15, 20, 25, 0.3) 100%);
    z-index: 2;
}

.team-hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 3;
    animation: fadeInUp 1s ease-out;
}

.team-hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #ffffff;
    text-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.5),
        0 4px 8px rgba(0, 0, 0, 0.3),
        0 8px 16px rgba(0, 0, 0, 0.2);
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.team-hero-description {
    font-size: 1.25rem;
    color: #94a3b8;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.team-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #0f1419 0%, #1a1f2e 50%, #2d1b69 100%);
}

.team-category-section {
    margin-bottom: 4rem;
}

.category-header {
    text-align: center;
    margin-bottom: 3rem;
}

.category-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    display: inline-block;
}

.category-count {
    font-size: 1.5rem;
    font-weight: 400;
    color: #94a3b8;
    margin-left: 0.5rem;
}

.category-description {
    font-size: 1.1rem;
    color: #94a3b8;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.team-member-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    min-height: 300px;
    display: flex;
    flex-direction: column;
}

.team-member-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #C53036, #8B1E1E);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.team-member-card:hover::before {
    transform: scaleX(1);
}

.team-member-card:hover {
    transform: translateY(-10px);
    border-color: rgba(197, 48, 54, 0.3);
    box-shadow: 0 25px 50px rgba(197, 48, 54, 0.2);
}

.member-avatar {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
}

.avatar-image {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.avatar-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, #C53036, #8B1E1E);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    border: 3px solid rgba(255, 255, 255, 0.2);
}

.member-status {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 20px;
    height: 20px;
    background: #22c55e;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.member-status i {
    font-size: 0.6rem;
    color: white;
}

.member-info {
    color: #ffffff;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.member-name {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    color: #ffffff;
}

.member-role {
    font-size: 0.85rem;
    color: #C53036;
    font-weight: 500;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.member-roles {
    margin-bottom: 1rem;
}

.member-roles .member-role {
    display: inline-block;
    margin-bottom: 0;
    margin-right: 0.5rem;
}

.member-roles .member-role:not(:last-child)::after {
    content: " •";
    color: #999;
    font-weight: normal;
    margin-left: 0.5rem;
}

.member-details {
    margin-bottom: 1rem;
}

.member-detail {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    margin-bottom: 0.3rem;
    font-size: 0.8rem;
    color: #94a3b8;
}

.member-detail i {
    color: #C53036;
    width: 14px;
    text-align: center;
    font-size: 0.8rem;
}

.member-about {
    margin-bottom: 1rem;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border-left: 2px solid #C53036;
}

.member-about p {
    font-size: 0.8rem;
    color: #94a3b8;
    line-height: 1.5;
    margin: 0;
}

.member-actions {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: auto;
}

.btn-member-action {
    padding: 0.5rem 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: #ffffff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    transition: all 0.3s ease;
    cursor: pointer;
    font-family: inherit;
}

.btn-member-action:hover {
    background: rgba(197, 48, 54, 0.2);
    border-color: rgba(197, 48, 54, 0.3);
    transform: translateY(-2px);
}

.no-team-members {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
}

.no-members-content {
    max-width: 400px;
    margin: 0 auto;
}

.no-members-content i {
    font-size: 3rem;
    color: #C53036;
    margin-bottom: 1rem;
}

.no-members-content h3 {
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 1rem;
}

.no-members-content p {
    color: #94a3b8;
    font-size: 1rem;
}

.join-team-cta {
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(197, 48, 54, 0.1), rgba(139, 30, 30, 0.1));
    text-align: center;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.cta-content p {
    font-size: 1.1rem;
    color: #94a3b8;
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* =================================
   Admin Page Styles
   ================================= */

.admin-header {
    padding: 6rem 0 3rem;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
}

.admin-description {
    font-size: 1.1rem;
    color: #94a3b8;
    max-width: 600px;
    margin: 0 auto;
}

.admin-content {
    padding: 4rem 0;
    background: linear-gradient(135deg, #0f1419 0%, #1a1f2e 50%, #2d1b69 100%);
    min-height: 80vh;
}

.admin-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    justify-content: center;
}

.tab-btn {
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #94a3b8;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    font-family: inherit;
}

.tab-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.tab-btn.active {
    background: linear-gradient(135deg, #C53036, #8B1E1E);
    border-color: rgba(197, 48, 54, 0.3);
    color: white;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.admin-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.admin-panel {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2.5rem;
    height: fit-content;
}

.panel-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1.5rem;
    margin-bottom: 2rem;
}

.panel-header h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.panel-header i {
    color: #C53036;
}

.admin-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.admin-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.admin-form .form-group {
    position: relative;
}

.admin-form .form-group label {
    display: block;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.admin-form .form-group input,
.admin-form .form-group select,
.admin-form .form-group textarea {
    width: 100%;
    padding: 12px 40px 12px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #ffffff;
    font-family: inherit;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.admin-form .form-group input:focus,
.admin-form .form-group select:focus,
.admin-form .form-group textarea:focus {
    outline: none;
    border-color: #C53036;
    box-shadow: 0 0 0 3px rgba(197, 48, 54, 0.1);
    background: rgba(255, 255, 255, 0.08);
}

.admin-form .form-group small {
    font-size: 0.8rem;
    color: #94a3b8;
    margin-top: 0.25rem;
    display: block;
}

.members-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-height: 600px;
    overflow-y: auto;
}

.member-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
}

.member-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(197, 48, 54, 0.3);
}

.member-preview {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.member-avatar-small {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, #C53036, #8B1E1E);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.member-avatar-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-avatar-small i {
    color: white;
    font-size: 1.2rem;
}

.member-basic-info .member-name {
    font-size: 1rem;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 0.25rem;
}

.member-role-small {
    font-size: 0.8rem;
    color: #C53036;
    font-weight: 500;
}

.member-actions-admin {
    display: flex;
    gap: 0.5rem;
}

.btn-edit,
.btn-delete {
    padding: 0.5rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.btn-edit:hover {
    background: rgba(59, 130, 246, 0.2);
    border-color: rgba(59, 130, 246, 0.3);
}

.btn-delete:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.3);
}

.no-members-admin {
    text-align: center;
    padding: 3rem 1rem;
    color: #94a3b8;
}

.no-members-admin i {
    font-size: 2.5rem;
    color: #C53036;
    margin-bottom: 1rem;
}

.no-members-admin h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.no-items-admin {
    text-align: center;
    padding: 3rem 1rem;
    color: #94a3b8;
}

.no-items-admin i {
    font-size: 2.5rem;
    color: #C53036;
    margin-bottom: 1rem;
}

.no-items-admin h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.categories-list,
.roles-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-height: 600px;
    overflow-y: auto;
}

.category-item,
.role-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
}

.category-item:hover,
.role-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(197, 48, 54, 0.3);
}

.category-preview,
.role-preview {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.category-color-indicator,
.role-category-indicator {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.category-basic-info,
.role-basic-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.category-name,
.role-name {
    font-size: 1rem;
    font-weight: 500;
    color: #ffffff;
}

.category-description-small,
.role-description-small {
    font-size: 0.8rem;
    color: #94a3b8;
}

.category-order-small,
.role-order-small {
    font-size: 0.75rem;
    color: #64748b;
}

.role-category-small {
    font-size: 0.8rem;
    color: #C53036;
    font-weight: 500;
}

.category-actions-admin,
.role-actions-admin {
    display: flex;
    gap: 0.5rem;
}

.admin-form .form-group input[type="color"] {
    width: 60px;
    height: 40px;
    padding: 2px;
    border-radius: 6px;
    cursor: pointer;
}

/* Admin Modal Styles */
.admin-modal .modal-content {
    background: rgba(15, 20, 25, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
}

.modal-header .close {
    font-size: 1.5rem;
    color: #94a3b8;
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.3s ease;
}

.modal-header .close:hover {
    color: #ffffff;
}

.admin-modal-content .admin-form {
    padding: 1.5rem 2rem 2rem;
}

.modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
}

.btn-cancel {
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #ffffff;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-cancel:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Admin Login Styles */
.admin-login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0f1419 0%, #1a1f2e 50%, #2d1b69 100%);
    padding: 2rem;
}

.admin-login-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 3rem;
    max-width: 400px;
    width: 100%;
    text-align: center;
}

.admin-login-header {
    margin-bottom: 2rem;
}

.admin-login-header .logo-img {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
}

.admin-login-header h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.admin-login-header p {
    color: #94a3b8;
    font-size: 0.9rem;
}

.admin-login-form {
    margin-bottom: 2rem;
}

.btn-admin-login {
    width: 100%;
    padding: 14px 20px;
    background: linear-gradient(135deg, #C53036, #8B1E1E);
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-admin-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(197, 48, 54, 0.3);
}

.btn-admin-login.loading {
    pointer-events: none;
}

.btn-admin-login.loading span {
    opacity: 0;
}

.btn-admin-login.loading .loading-spinner {
    opacity: 1;
}

.btn-logout {
    padding: 0.75rem 1rem;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 8px;
    color: #ef4444;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-logout:hover {
    background: rgba(239, 68, 68, 0.2);
    transform: translateY(-2px);
}

.login-message {
    padding: 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    text-align: center;
    margin-top: 1rem;
}

.login-message.success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #22c55e;
}

.login-message.error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

.admin-message {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    z-index: 10000;
    animation: slideIn 0.3s ease-out;
    min-width: 250px;
}

.admin-message.success {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
}

.admin-message.error {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
}

.back-to-home {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
}

.back-to-home:hover {
    color: #ffffff;
}

/* Responsive Design - Team & Admin */
@media (max-width: 1200px) {
    .admin-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .team-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.2rem;
    }
}

@media (max-width: 768px) {
    .team-hero {
        padding: 6rem 0 3rem;
        min-height: 50vh;
    }
    
    .team-hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
        text-shadow: 
            0 2px 4px rgba(0, 0, 0, 0.6),
            0 4px 8px rgba(0, 0, 0, 0.4);
    }
    
    .team-section {
        padding: 4rem 0;
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .team-member-card {
        padding: 1.2rem;
        min-height: 280px;
    }
    
    .admin-form .form-row {
        grid-template-columns: 1fr;
    }
    
    .admin-panel {
        padding: 2rem;
    }
    
    .admin-login-card {
        padding: 2rem;
        margin: 1rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .team-hero {
        padding: 5rem 0 2.5rem;
        min-height: 45vh;
    }
    
    .team-hero-title {
        font-size: 2rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .team-member-card {
        padding: 1rem;
        min-height: 260px;
    }
    
    .member-avatar {
        width: 70px;
        height: 70px;
    }
    
    .admin-panel {
        padding: 1.5rem;
    }
    
    .admin-login-card {
        padding: 1.5rem;
    }
}