/* ===================================
   VARIABLES & RESET
   =================================== */
:root {
    --bg-dark: #020c1b;
    --card-bg: rgba(17, 34, 64, 0.7);
    --accent-blue: #00d2ff;
    --accent-glow: #64ffda;
    --text-white: #e6f1ff;
    --text-muted: #8892b0;
    --nav-height: 80px;
    --border-glow: 1px solid rgba(0, 210, 255, 0.3);
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    width: 100%;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body.dark-tech-theme {
    background-color: var(--bg-dark);
    color: var(--text-white);
    font-family: 'Open Sans', sans-serif;
    overflow-x: hidden;
    width: 100%;
    background-image:
        radial-gradient(circle at 50% 50%, rgba(0, 210, 255, 0.05) 0%, transparent 100%),
        linear-gradient(rgba(2, 12, 27, 0.95), rgba(2, 12, 27, 0.95));
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ===================================
   HEADER & NAVIGATION
   =================================== */
.main-header {
    height: var(--nav-height);
    background: rgba(2, 12, 27, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: var(--border-glow);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: height 0.3s ease, background 0.3s ease;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1.5rem;
    gap: 1rem;
}

.header-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.school-logo-img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    flex-shrink: 0;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-main {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(0.85rem, 2.5vw, 1.4rem);
    color: var(--accent-blue);
    letter-spacing: 1.5px;
    white-space: nowrap;
}

.school-name {
    font-size: clamp(0.65rem, 1.5vw, 0.8rem);
    color: var(--text-muted);
    font-weight: 600;
    white-space: nowrap;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    z-index: 1100;
    flex-shrink: 0;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--accent-blue);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Nav */
.navbar {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1.6rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-white);
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    padding: 5px 0;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-blue);
    border-bottom-color: var(--accent-blue);
}

/* ===================================
   HERO
   =================================== */
.contact-hero {
    text-align: center;
    padding: clamp(2.5rem, 6vw, 5rem) 1.5rem 2rem;
}

.hero-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2rem, 7vw, 3.5rem);
    background: linear-gradient(to bottom, #fff, var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    letter-spacing: clamp(2px, 1.5vw, 5px);
    line-height: 1.2;
}

.hero-subtitle {
    color: var(--text-muted);
    font-size: clamp(0.88rem, 2.5vw, 1.1rem);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ===================================
   INFO GRID
   =================================== */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1.5rem;
}

.info-card {
    background: var(--card-bg);
    border: var(--border-glow);
    padding: 2rem 1.2rem;
    text-align: center;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.info-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-blue);
}

.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--accent-blue), transparent);
}

.card-icon {
    font-size: 1.8rem;
    color: var(--accent-blue);
    margin-bottom: 1.2rem;
}

.info-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--text-white);
}

.info-card p {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.5;
    word-break: break-word;
}

/* ===================================
   QUERIES SECTION
   =================================== */
.queries-section {
    padding: 2rem 1.5rem;
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.queries-container {
    background: rgba(20, 27, 58, 0.6);
    border: 1px solid var(--accent-blue);
    border-radius: 15px;
    padding: 2.5rem 2rem;
    max-width: 1000px;
    width: 100%;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.1);
}

.queries-title {
    text-align: center;
    color: var(--accent-blue);
    font-family: 'Orbitron', sans-serif;
    margin-bottom: 2rem;
    font-size: clamp(1.1rem, 3vw, 1.8rem);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    line-height: 1.3;
}

.queries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.2rem;
}

.query-card {
    background: rgba(5, 8, 18, 0.8);
    padding: 1.3rem;
    border-radius: 10px;
    border-left: 4px solid var(--accent-blue);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-left-color 0.3s ease;
}

.query-card:hover {
    transform: translateX(5px);
    box-shadow: 5px 5px 15px rgba(0, 212, 255, 0.15);
    border-left-color: #ff6b35;
}

.query-card h4 {
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    margin-bottom: 0.7rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.query-card .position {
    color: var(--text-muted);
    font-size: 0.82rem;
    font-weight: 500;
    font-family: 'Open Sans', sans-serif;
}

.query-card p {
    color: var(--accent-blue);
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.query-card p i {
    font-size: 0.85rem;
    flex-shrink: 0;
}

/* ===================================
   COORDINATORS / MENTORS
   =================================== */
.coordinators-section {
    padding: 3rem 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-family: 'Orbitron', sans-serif;
    text-align: center;
    margin-bottom: 2.5rem;
    color: var(--accent-blue);
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    letter-spacing: 2px;
}

.coordinators-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.coord-card {
    background: rgba(17, 34, 64, 0.4);
    border: var(--border-glow);
    padding: 1.8rem;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.3s ease;
    max-width: 420px;
    width: 100%;
}

.coord-card:hover {
    background: rgba(17, 34, 64, 0.8);
    box-shadow: 0 0 20px rgba(0, 210, 255, 0.1);
}

.coord-img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent-blue);
    flex-shrink: 0;
}

.coord-info h3 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
    color: var(--text-white);
}

.coord-info .role {
    color: var(--accent-blue);
    font-weight: 600;
    font-size: 0.82rem;
    margin-bottom: 0.2rem;
}

.coord-info .email {
    color: var(--text-muted);
    font-size: 0.78rem;
    word-break: break-word;
}

/* ===================================
   REGISTER CTA
   =================================== */
.cheat-code-section {
    text-align: center;
    padding: 4rem 1.5rem;
    background: rgba(0, 210, 255, 0.03);
    border-top: 1px solid rgba(0, 210, 255, 0.1);
}

.future-text {
    font-family: 'Orbitron', sans-serif;
    margin-bottom: 2rem;
    font-size: clamp(1rem, 3vw, 1.5rem);
    letter-spacing: 2px;
    line-height: 1.4;
}

.cheat-code-btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: transparent;
    color: var(--accent-blue);
    border: 2px solid var(--accent-blue);
    text-decoration: none;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    letter-spacing: 2px;
    border-radius: 50px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    font-size: clamp(0.85rem, 2vw, 1rem);
}

.cheat-code-btn:hover {
    background: var(--accent-blue);
    color: var(--bg-dark);
    box-shadow: 0 0 30px var(--accent-blue);
    transform: scale(1.05);
}

/* ===================================
   FOOTER
   =================================== */
.main-footer {
    padding: 2.5rem 1.5rem;
    border-top: var(--border-glow);
    background: var(--bg-dark);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
}

.social-links {
    display: flex;
    gap: 2rem;
}

.social-icon {
    color: var(--text-white);
    font-size: 1.4rem;
    transition: all 0.3s ease;
}

.social-icon:hover {
    color: var(--accent-blue);
    transform: translateY(-5px);
}

.copyright {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ===================================
   TABLETS (max 768px)
   =================================== */
@media (max-width: 768px) {

    /* --- HEADER --- */
    .main-header {
        height: auto;
        min-height: 64px;
    }

    .header-content {
        flex-wrap: nowrap;
        padding: 0.8rem 1rem;
        height: auto;
    }

    /* --- HAMBURGER --- */
    .hamburger {
        display: flex;
    }

    /* --- MOBILE NAV OVERLAY --- */
    .navbar {
        display: block;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(2, 12, 27, 0.99);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2.5rem;
        z-index: 999;
        padding: 2rem;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-link {
        font-size: 1.1rem;
        letter-spacing: 2px;
    }

    /* --- INFO GRID --- */
    .contact-info-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1rem;
        padding: 0 1rem;
    }

    .info-card {
        padding: 1.5rem 1rem;
    }

    /* --- QUERIES --- */
    .queries-section {
        padding: 1.5rem 1rem;
    }

    .queries-container {
        padding: 2rem 1.2rem;
    }

    .queries-grid {
        grid-template-columns: 1fr;
    }

    /* --- COORD CARDS --- */
    .coord-card {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
        max-width: 360px;
    }

    .coord-img {
        width: 80px;
        height: 80px;
    }

    /* --- CTA --- */
    .cheat-code-section {
        padding: 3rem 1.2rem;
    }
}

/* ===================================
   MOBILE (max 480px)
   =================================== */
@media (max-width: 480px) {

    /* --- HERO --- */
    .contact-hero {
        padding: 2.5rem 1rem 1.5rem;
    }

    /* --- INFO GRID --- */
    .contact-info-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.9rem;
        padding: 0 1rem;
    }

    .info-card {
        padding: 1.2rem 0.8rem;
    }

    .card-icon {
        font-size: 1.5rem;
        margin-bottom: 0.8rem;
    }

    .info-card h3 {
        font-size: 0.88rem;
    }

    .info-card p {
        font-size: 0.8rem;
    }

    /* --- QUERIES --- */
    .queries-container {
        padding: 1.5rem 1rem;
        border-radius: 12px;
    }

    .query-card {
        padding: 1rem;
    }

    .query-card h4 {
        font-size: 0.92rem;
    }

    .query-card p {
        font-size: 0.9rem;
    }

    /* --- MENTORS --- */
    .coordinators-section {
        padding: 2rem 1rem;
    }

    .coordinators-grid {
        gap: 1.2rem;
    }

    .coord-card {
        padding: 1.2rem;
        gap: 1rem;
    }

    /* --- CTA BUTTON --- */
    .cheat-code-btn {
        padding: 0.9rem 2rem;
        font-size: 0.82rem;
    }

    /* --- FOOTER --- */
    .main-footer {
        padding: 2rem 1rem;
    }
}

/* ===================================
   ULTRA SMALL (max 360px)
   =================================== */
@media (max-width: 360px) {

    .contact-info-grid {
        grid-template-columns: 1fr;
    }

    .logo-main {
        font-size: 0.8rem;
    }

    .school-name {
        font-size: 0.6rem;
    }

    .school-logo-img {
        width: 34px;
        height: 34px;
    }

    .nav-link {
        font-size: 0.95rem;
    }

    .cheat-code-btn {
        padding: 0.8rem 1.5rem;
    }
}