/* Base Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Orbitron', sans-serif;
    background-color: #0a0a14;
    color: #e0e0ff;
    overflow-x: hidden;
    position: relative;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: rgba(0, 245, 255, 0.3);
    border: 2px solid #00f5ff;
    border-radius: 50%;
    color: #00f5ff;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(0, 245, 255, 0.3);
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: rgba(0, 245, 255, 0.5);
    transform: translateY(-5px);
}

/* Desktop Navbar */
.desktop-only { 
    display: flex; 
    position: relative;
    z-index: 1000;
}
.neon-nav { padding: 1rem; }

/* Scroll Navbar */
.scroll-navbar {
    position: fixed;
    top: -80px;
    left: 0;
    width: 100%;
    background: rgba(10,10,20,0.95);
    padding: 0.5rem 1rem;
    display: flex;
    flex-direction: column;
    transition: top 0.4s ease-in-out;
    z-index: 1000;
    backdrop-filter: blur(10px);
    justify-content: center;
}

.scroll-navbar.show { top: 0; }
.scroll-navbar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.scroll-logo { 
    height: 40px;
    filter: drop-shadow(0 0 5px #00f5ff);
}

.menu-toggle {
    display: none; /* Hide by default on all screens */
    position: relative;
    width: 30px;
    height: 30px;
    background: none;
    border: none;
    color: #00f5ff;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1001;
}

.menu-toggle .fa-bars,
.menu-toggle .fa-times {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
}

.menu-toggle .fa-times {
    opacity: 0;
}

.menu-toggle.active .fa-bars {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(90deg);
}

.menu-toggle.active .fa-times {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(0deg);
}

.menu-toggle:hover {
    transform: scale(1.1);
}

.mobile-menu {
    display: none;
    flex-direction: column;
    background: rgba(10,10,20,0.95);
    padding: 1rem;
    border-top: 1px solid rgba(0, 245, 255, 0.2);
    text-align: center;
    align-items: center;
    width: 100%;
}

.mobile-menu a {
    padding: 0.8rem;
    color: #b0b0ff;
    text-decoration: none;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 245, 255, 0.1);
    width: 100%;
    box-sizing: border-box;
}

.mobile-menu a:hover {
    color: #00f5ff;
    background: rgba(0, 245, 255, 0.1);
}

.mobile-menu a:last-child {
    border-bottom: none;
}

.mobile-menu.show { 
    display: flex;
}

/* Offline Message */
.offline-message {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #0a0a14;
    z-index: 9999;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
}

.offline-message img {
    width: 200px;
    height: auto;
    margin-bottom: 2rem;
    filter: drop-shadow(0 0 10px #ff0000);
}

.offline-message h2 {
    color: #ff0000;
    margin-bottom: 1rem;
    font-size: 2rem;
}

.offline-message p {
    color: #b0b0ff;
    font-family: 'Rajdhani', sans-serif;
    max-width: 500px;
    line-height: 1.6;
}

#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    background-color: #0a0a14;
}

/* Main Container */
.main-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
}

/* Glitch Header */
.glitch-header {
    text-align: center;
    margin: 3rem 0;
    position: relative;
}

.logo-container {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
}

.holographic-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 15px #00f5ff);
    animation: float 6s ease-in-out infinite;
    position: relative;
    z-index: 1;
    background: url('image/logo.png') no-repeat center center;
    background-size: contain;
}

.logo-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle at center, #00f5ff, transparent 70%);
    opacity: 0.3;
    z-index: 0;
    animation: pulse 4s ease-in-out infinite;
}

.glitch {
    font-size: 4rem;
    font-weight: 900;
    text-transform: uppercase;
    position: relative;
    color: #00f5ff;
    letter-spacing: 0.5rem;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 10px #00f5ff;
    filter: drop-shadow(2px 2px 0px #ff00ff);
}

.subtitle {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.2rem;
    letter-spacing: 0.3rem;
    color: #b0b0ff;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

/* Neon Navigation */
.neon-nav {
    margin: 3rem 0;
    position: relative;
}

.nav-container {
    display: flex;
    justify-content: center; 
    gap: 2rem;
    position: relative;
    margin: 0 auto; 
    width: fit-content; 
    padding: 0 1rem; 
}

.nav-link {
    position: relative;
    color: #b0b0ff;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.1rem;
    padding: 0.5rem 1rem;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: #00f5ff;
    text-shadow: 0 0 10px rgba(0, 245, 255, 0.7);
}

.nav-link:hover::before {
    width: 100%;
}

.nav-indicator {
    position: absolute;
    bottom: -10px;
    height: 2px;
    background: #00f5ff;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 245, 255, 0.7), 
                0 0 20px rgba(0, 245, 255, 0.5), 
                0 0 30px rgba(0, 245, 255, 0.3);
}

.menu-button.desktop-only {
    position: fixed;
    top: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: rgba(0, 245, 255, 0.3);
    border: 2px solid #00f5ff;
    border-radius: 50%;
    color: #00f5ff;
    font-size: 1.5rem;
    cursor: pointer;
    display: none; /* Hidden by default */
    align-items: center;
    justify-content: center;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(0, 245, 255, 0.3);
}

.menu-button.desktop-only.show {
    opacity: 1;
    visibility: visible;
}

.menu-button.desktop-only:hover {
    background: rgba(0, 245, 255, 0.5);
    transform: translateY(-5px);
}

/* Desktop Menu */
.desktop-menu {
    position: fixed;
    top: 90px; /* Adjusted to appear below the menu button */
    right: 30px;
    background: rgba(10, 10, 20, 0.95);
    border-radius: 12px;
    padding: 1.5rem;
    display: none;
    flex-direction: column;
    gap: 1rem;
    z-index: 998;
    border: 1px solid rgba(0, 245, 255, 0.3);
    box-shadow: 0 0 20px rgba(0, 245, 255, 0.2);
    backdrop-filter: blur(10px);
}

.desktop-menu.show {
    display: flex;
}

.desktop-menu a {
    color: #b0b0ff;
    text-decoration: none;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

.desktop-menu a:hover {
    color: #00f5ff;
    background: rgba(0, 245, 255, 0.1);
    transform: translateX(5px);
}

/* Hero Section */
.hero-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin: 5rem 0;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.scanline-text {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    position: relative;
    background: linear-gradient(90deg, #00f5ff, #ff00ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: scanline 8s linear infinite;
}

.text-gradient {
    background: linear-gradient(90deg, #00ff9d, #9d00ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.typewriter-text {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.2rem;
    line-height: 1.6;
    color: #b0b0ff;
    margin-bottom: 2rem;
    border-left: 3px solid #00f5ff;
    padding-left: 1rem;
    position: relative;
    overflow: hidden;
    text-align: justify;
}

/* New typewriter animation for paragraphs */
.typewriter-text::after {
    content: "|";
    position: absolute;
    right: 0;
    bottom: 0;
    color: #00f5ff;
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    from, to { opacity: 1; }
    50% { opacity: 0; }
}

.cyber-countdown {
    margin: 3rem 0;
}

.countdown-title {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem;
    letter-spacing: 0.2rem;
    color: #b0b0ff;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.countdown-display {
    display: flex;
    gap: 1rem;
}

.countdown-segment {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(15, 15, 30, 0.8);
    border: 1px solid rgba(0, 245, 255, 0.2);
    border-radius: 5px;
    padding: 1rem;
    min-width: 80px;
    box-shadow: 0 0 15px rgba(0, 245, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.countdown-segment::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #00f5ff, #ff00ff);
}

.countdown-number {
    font-size: 2rem;
    font-weight: 700;
    color: #00f5ff;
    margin-bottom: 0.3rem;
}

.countdown-label {
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.8rem;
    color: #b0b0ff;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
}

.hero-image {
    position: relative;
    height: 500px;
}

.hologram-container {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    perspective: 1000px;
    z-index: 1;
}

.hologram {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 245, 255, 0.2), rgba(157, 0, 255, 0.2));
    border-radius: 50%;
    position: relative;
    animation: rotate 20s linear infinite;
    box-shadow: 0 0 50px rgba(0, 245, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hologram::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 2px solid rgba(0, 245, 255, 0.5);
    border-radius: 50%;
    animation: rotate 15s linear infinite reverse;
}

.hologram-icon {
    font-size: 8rem;
    color: rgba(0, 245, 255, 0.5);
    animation: pulse 3s ease-in-out infinite;
    display: block;
}

.hologram-reflection {
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    height: 20px;
    background: linear-gradient(to top, rgba(0, 245, 255, 0.3), transparent);
    border-radius: 50%;
    filter: blur(10px);
}

/* Events Section */
.events-section {
    margin: 1rem 0;
    position: relative;
}

.events-section::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 0;
    width: 100%;
    height: 150px;
    pointer-events: none;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 4rem;
    position: relative;
    display: inline-block;
    padding-left: 5rem;
    text-shadow: 0 0 15px rgba(0, 245, 255, 0.5);
}

.title-number {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 4rem;
    opacity: 0.15;
    color: #00f5ff;
    text-shadow: 0 0 20px #00f5ff;
}

.event-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.event-card {
    position: relative;
    background: rgba(10, 10, 20, 0.9);
    border-radius: 12px;
    padding: 2.5rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    height: 100%;
    border: 1px solid rgba(0, 245, 255, 0.1);
}

.card-border {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    background: linear-gradient(135deg, 
                rgba(0, 245, 255, 0.3) 0%, 
                rgba(157, 0, 255, 0.3) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.event-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 245, 255, 0.3);
    border-color: rgba(0, 245, 255, 0.3);
}

.event-card:hover .card-border {
    opacity: 1;
}

/* Event Logo Styles */
.event-logo-container {
    width: 100%;
    height: 100%;
    margin: 0 auto 1rem;
    position: relative;
    z-index: 3;
}

.event-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 245, 255, 0.1);
    border-radius: 12px;
}

.event-card:hover .event-logo {
    filter: drop-shadow(0 0 15px rgba(0, 245, 255, 0.8));
    transform: scale(1.05);
}

.card-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.event-card h3 {
    font-size: 1.7rem;
    margin-bottom: 1.2rem;
    color: #00f5ff;
    text-shadow: 0 0 10px rgba(0, 245, 255, 0.3);
}

.event-card p {
    font-family: 'Rajdhani', sans-serif;
    color: #c0c0ff;
    margin-bottom: 2rem;
    flex-grow: 1;
    line-height: 1.7;
}

.event-card .neon-button {
    margin-top: auto;
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    border: none;
    background: linear-gradient(90deg, 
                rgba(0, 245, 255, 0.2) 0%, 
                rgba(157, 0, 255, 0.2) 100%);
    color: #e0e0ff;
    box-shadow: 0 0 15px rgba(0, 245, 255, 0.3),
                0 0 30px rgba(157, 0, 255, 0.2);
    position: relative;
    overflow: hidden;
    z-index: 1;
    cursor: pointer;
    transition: all 0.3s ease;
}

.event-card .neon-button::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: all 0.6s ease;
    z-index: -1;
}

.event-card .neon-button:hover {
    background: linear-gradient(90deg, 
                rgba(0, 245, 255, 0.3) 0%, 
                rgba(157, 0, 255, 0.3) 100%);
    box-shadow: 0 0 20px rgba(0, 245, 255, 0.5),
                0 0 40px rgba(157, 0, 255, 0.3);
    color: #fff;
    transform: translateY(-2px);
}

.event-card .neon-button:hover::before {
    left: 100%;
}

.card-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle at center, 
                rgba(0, 245, 255, 0.15) 0%, 
                transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    transform: translate(-50%, -50%);
    z-index: 0;
    filter: blur(20px);
}

.event-card:hover .card-glow {
    opacity: 1;
}

/* Coordinators Section */
.coordinators-section {
    margin: 8rem 0;
    position: relative;
}

.coordinators-section::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 0;
    width: 100%;
    height: 150px;
    pointer-events: none;
}

.coordinators-rows {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-top: 4rem;
}

.coordinator-row {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.president-row {
    justify-content: center;
}

.president-card {
    max-width: 500px;
    position: relative;
}

.coordinator-card {
    background: rgba(10, 10, 20, 0.9);
    border-radius: 12px;
    padding: 2.5rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 245, 255, 0.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    min-width: 320px;
    max-width: 380px;
    text-align: center;
}

.coordinator-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
                rgba(0, 245, 255, 0.1) 0%, 
                rgba(157, 0, 255, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.coordinator-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 15px 35px rgba(157, 0, 255, 0.25);
    border-color: rgba(157, 0, 255, 0.3);
}

.coordinator-card:hover::before {
    opacity: 1;
}

.coordinator-img {
    width: 160px;
    height: 160px;
    margin: 0 auto 1.8rem;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
    border: 3px solid rgba(0, 245, 255, 0.4);
    box-shadow: 0 0 20px rgba(157, 0, 255, 0.3);
    transition: all 0.4s ease;
    z-index: 2;
}

.coordinator-card:hover .coordinator-img {
    border-color: rgba(157, 0, 255, 0.6);
    box-shadow: 0 0 30px rgba(0, 245, 255, 0.4);
}

.coordinator-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(20%);
    transition: filter 0.4s ease;
}

.coordinator-card:hover .coordinator-img img {
    filter: grayscale(0%);
}

.coordinator-icon {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #00f5ff, #9d00ff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #0a0a14;
    box-shadow: 0 0 15px rgba(0, 245, 255, 0.5);
    transition: all 0.3s ease;
    z-index: 3;
}

.coordinator-card:hover .coordinator-icon {
    transform: scale(1.1);
}

.coordinator-card h3 {
    color: #00f5ff;
    margin-bottom: 0.7rem;
    font-size: 1.5rem;
    text-shadow: 0 0 10px rgba(0, 245, 255, 0.3);
    position: relative;
    z-index: 2;
}

.coordinator-card p {
    font-family: 'Rajdhani', sans-serif;
    color: #c0c0ff;
    margin-bottom: 1.8rem;
    font-weight: 600;
    font-size: 1.1rem;
    position: relative;
    z-index: 2;
}

.coordinator-contact {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem;
    color: #b0b0ff;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.coordinator-contact span {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
}

.coordinator-card .social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
    position: relative;
    z-index: 2;
}

.coordinator-card .social-links a {
    color: #b0b0ff;
    font-size: 1.3rem;
    transition: all 0.3s ease;
    text-shadow: 0 0 10px rgba(157, 0, 255, 0.3);
}

.coordinator-card .social-links a:hover {
    color: #00f5ff;
    transform: translateY(-5px) scale(1.2);
    text-shadow: 0 0 15px rgba(0, 245, 255, 0.5);
}

.coordinator-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle at center, 
                rgba(157, 0, 255, 0.15) 0%, 
                transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    transform: translate(-50%, -50%);
    z-index: 1;
    filter: blur(20px);
}

.coordinator-card:hover .coordinator-glow {
    opacity: 0.8;
}

.president-card .coordinator-card {
    border: 1px solid rgba(0, 245, 255, 0.2);
    box-shadow: 0 0 30px rgba(0, 245, 255, 0.2);
}

.president-card .coordinator-card:hover {
    box-shadow: 0 0 50px rgba(0, 245, 255, 0.4);
}

.president-card .coordinator-img {
    border: 3px solid rgba(0, 245, 255, 0.6);
    box-shadow: 0 0 30px rgba(0, 245, 255, 0.4);
}

.president-card .coordinator-icon {
    background: linear-gradient(135deg, #00f5ff, #00ff9d);
    box-shadow: 0 0 20px rgba(0, 245, 255, 0.7);
}

/* Contact Section */
.contact-section {
    margin: 5rem 0;
    position: relative;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 100px;
    pointer-events: none;
    z-index: -1;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: stretch;
}

.contact-cards {
    display: grid;
    grid-template-rows: repeat(3, 1fr);
    gap: 1.5rem;
    height: 550px;
}

.contact-card {
    position: relative;
    background: rgba(15, 15, 30, 0.8);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    border: 1px solid rgba(0, 245, 255, 0.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.map-container {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(0, 245, 255, 0.2);
    border: 1px solid rgba(0, 245, 255, 0.3);
    height: 550px;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
                rgba(0, 245, 255, 0.1) 0%, 
                rgba(157, 0, 255, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.contact-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 30px rgba(0, 245, 255, 0.25);
    border-color: rgba(0, 245, 255, 0.3);
}

.contact-card:hover .card-border {
    opacity: 1;
}

.contact-icon {
    font-size: 2rem;
    color: #00f5ff;
    margin-bottom: 1rem;
}

.contact-card h3 {
    color: #00f5ff;
    margin-bottom: 1rem;
    text-shadow: 0 0 8px rgba(0, 245, 255, 0.3);
}

.contact-card p {
    font-family: 'Rajdhani', sans-serif;
    color: #c0c0ff;
    margin-bottom: 0.6rem;
    line-height: 1.5;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.social-links a {
    color: #b0b0ff;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: #00f5ff;
    transform: translateY(-3px);
}

/* Footer */
.cyber-footer {
    margin-top: 8rem;
    padding: 4rem 2rem 0;
    border-top: 1px solid rgba(0, 245, 255, 0.2);
    position: relative;
    overflow: hidden;
    background-color: #0a0a14;
}

/* Grid Layout */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin: 0 auto 3rem;
    max-width: 1200px;
    padding: 0 2rem;
    align-items: start;
}

/* Brand */
.footer-brand {
    text-align: center;
}

.footer-brand img {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    animation: float 6s ease-in-out infinite;
    transition: all 0.4s ease;
    display: block;
}

.footer-brand h3 {
    color: #00f5ff;
    margin-bottom: 0.8rem;
    font-size: 1.5rem;
    text-shadow: 0 0 8px rgba(0, 245, 255, 0.4);
    letter-spacing: 1px;
}

.footer-brand p {
    font-family: 'Rajdhani', sans-serif;
    color: #b0b0ff;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Social Links */
.footer-brand .social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: auto;
}

.footer-brand .social-links a {
    color: #00f5ff;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.footer-brand .social-links a:hover {
    color: #00ff9d;
    transform: scale(1.2);
}

/* Section Titles */
.footer-links h4, 
.footer-contact h4 {
    color: #00f5ff;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 0 6px rgba(0, 245, 255, 0.3);
    position: relative;
    display: inline-block;
}

/* Quick Links */
.footer-links ul {
    list-style: none;
    padding-left: 0;
}

.footer-links li {
    margin-bottom: 1rem;
    position: relative;
    padding-left: 1rem;
}

.footer-links li::before {
    content: '>';
    position: absolute;
    left: 0;
    color: #00ff9d;
    font-weight: bold;
}

.footer-links a {
    color: #b0b0ff;
    text-decoration: none;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #00ff9d;
    padding-left: 5px;
}

/* Contact */
.footer-contact p {
    font-family: 'Rajdhani', sans-serif;
    color: #b0b0ff;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1rem;
    line-height: 1.6;
}

/* Copyright */
.footer-copyright {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 1rem;
    border-top: 1px solid rgba(0, 245, 255, 0.15);
    font-family: 'Rajdhani', sans-serif;
    color: #b0b0ff;
    font-size: 0.85rem;
    text-align: center;
}


/* Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

@keyframes scanline {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 100% 100%;
    }
}

@keyframes typewriter {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Hide scroll navbar in desktop view */
@media (min-width: 769px) {
    .scroll-navbar {
        display: none;
    }
    
    .menu-button.desktop-only {
        display: flex;
    }
    
    .desktop-menu {
        display: none; /* Initially hidden, will be toggled by button */
    }
}

/* ============================= */
/* CYBORG 2K25 TABLET VIEW (max-width: 768px) */
/* ============================= */
@media (max-width: 768px) {
    /* General */
    body {
        font-size: 15px;
        padding: 0;
        overflow-x: hidden;
    }

    .scroll-navbar {
        top: 0;
        padding: 0.5rem 1rem;
        display: flex;
    }
    
    .scroll-navbar.show {
        top: 0;
    }
    
    .menu-toggle {
        display: block;
        position: relative;
        width: 30px;
        height: 30px;
    }
    
    .menu-toggle .fa-bars,
    .menu-toggle .fa-times {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        transition: all 0.3s ease;
    }
    
    .menu-toggle .fa-times {
        opacity: 0;
    }
    
    .menu-toggle.active .fa-bars {
        opacity: 0;
        transform: translate(-50%, -50%) rotate(90deg);
    }
    
    .menu-toggle.active .fa-times {
        opacity: 1;
        transform: translate(-50%, -50%) rotate(0deg);
    }

    .desktop-only {
        display: none;
    }

    .menu-button.desktop-only {
        display: none;
    }
    
    .menu-button.desktop-only {
        display: flex;
    }
    
    .mobile-menu {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
    }
    
    .mobile-menu.show {
        max-height: 500px;
        display: flex;
    }

    .logo-container {
        margin-top: 70px;
    }

    /* Navigation */
    .nav-container {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .nav-link {
        font-size: 0.95rem;
        padding: 0.4rem 0.8rem;
    }

    /* Hero Section */
    .hero-section {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        margin-top: -10px;
    }

    .glitch {
        font-size: 2.5rem;
    }

    .hero-image {
        height: 350px;
    }

    .hologram-container {
        display: none;
        width: 250px;
        height: 250px;
    }

    .scanline-text {
        font-size: 2.2rem;
    }

    .typewriter-text {
        font-size: 1rem;
        white-space: normal;
    }

    .events-section {
        margin-top: -300px;
    }

    .cyber-countdown {
        margin-top: 0px;
    }

    /* Events Section */
    .event-cards {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }

    /* Coordinators Section */
    .coordinator-row {
        gap: 1.5rem;
    }

    .section-title {
        font-size: 30px;
    }

    .coordinator-card {
        min-width: 280px;
    }

    .coordinator-card .president-card {
        margin-top: -50px;
    }

    /* Contact Section */
    .contact-container {
        grid-template-columns: 1fr;
    }

    .contact-cards, .map-container {
        height: auto;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }

    .hero-content h2 { 
        font-size: 1.4rem; 
    }

    .typewriter-text { 
        font-size: 0.85rem; 
    }

    .cyber-countdown span { 
        font-size: 1.2rem; 
    }

    .event-card h3 { 
        font-size: 1rem; 
    }

    
    .footer-brand {
        align-items: flex-start; /* Changed from center to flex-start */
        text-align: left; /* Changed from center to left */
    }

    .footer-links {
        margin-left: 0; /* Removed the left margin */
        text-align: left; /* Align text to left */
    }

    .footer-contact {
        margin-left: 0; /* Removed the left margin */
        text-align: left; /* Align text to left */
    }

    .footer-links ul {
        padding-left: 1rem; /* Add some padding for the bullet points */
    }

    .footer-contact p {
        justify-content: flex-start; /* Align contact items to left */
    }

}

/* ============================= */
/* CYBORG 2K25 MOBILE VIEW (max-width: 480px) */
/* ============================= */
@media (max-width: 480px) {
    /* General */
    body {
        font-size: 14px;
        padding: 0;
        margin: 0;
        overflow-x: hidden;
        width: 100%;
    }

    .main-container {
        padding: 1rem;
        width: 100%;
        box-sizing: border-box;
    }

    .mobile-menu {
        width: 100vw;
        position: relative;
        left: 0;
        right: 0;
    }

    /* Navigation */
    .nav-container {
        flex-direction: column;
        gap: 0.5rem;
    }

    .nav-link {
        display: block;
        text-align: center;
        width: 100%;
    }

    .glitch {
        font-size: 2rem;
        letter-spacing: 0.2rem;
    }

    .subtitle {
        font-size: 1rem;
        letter-spacing: 0.1rem;
    }

    /* Hero Section */
    .hero-section {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }

    .hero-image {
        height: 250px;
    }

    .hologram-container {
        width: 200px;
        height: 200px;
    }

    .hologram-icon {
        display: none;
    }

    .scanline-text {
        font-size: 1.8rem;
    }

    .typewriter-text {
        font-size: 0.95rem;
        animation: none;
        white-space: normal;
    }

    .countdown-display {
        gap: 0.5rem;
    }

    .countdown-segment {
        min-width: 60px;
        padding: 0.8rem;
    }

    .countdown-number {
        font-size: 1.5rem;
    }

    /* Events Section */
    .event-cards {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .event-card {
        padding: 1.2rem;
    }

    .event-card h3 {
        font-size: 1.3rem;
    }

    /* Coordinators Section */
    .coordinator-row {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .coordinator-card {
        width: 100%;
        max-width: 300px;
    }

    /* Contact Section */
    .contact-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .contact-cards {
        grid-template-rows: auto;
        height: auto;
    }

    .map-container {
        height: 300px;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-brand {
        align-items: center;
        text-align: center;
    }

    .hero-content h2 {
        font-size: 1.2rem; 
    }

    .typewriter-text { 
        font-size: 0.8rem; 
    }

    .cyber-countdown { 
        gap: 0.3rem; 
    }

    .cyber-countdown span { 
        font-size: 1rem; 
    }
}