/* ================= GLOBAL ================= */

body {
    margin: 0;
    font-family: 'poppins', sans-serif;
    background: linear-gradient(to bottom, #0d0d0d, #000);
    color: white;
    text-align: center;
    overflow-x: hidden;
    padding-bottom: 120px;
}

/* ================= DRAGON BACKGROUND ================= */

.dragon-bg {
    position: fixed;
    top: 45%;
    left: 50%;
    width: 1100px;
    height: 1000px;
    background: url("dragon.png") no-repeat center;
    background-size: contain;
    transform: translate(-50%, -50%);
    opacity: 0.40;
    z-index: 0;
    pointer-events: none;
    filter: drop-shadow(0 0 40px rgba(255,215,0,0.4));
    animation: floatDragon 6s ease-in-out infinite alternate;
}

@keyframes floatDragon {
    from { transform: translate(-50%, -46%); }
    to   { transform: translate(-50%, -54%); }
}

/* ================= HEADER ================= */

.college-header {
    padding: 30px 20px 10px;
    position: relative;
    z-index: 2;
}

.college-name {
    color: #ffd700;
    font-size: 28px;
    letter-spacing: 2px;
}

.college-header p {
    font-size: 13px;
    color: #cccccc;
    margin: 3px 0;
}

.divider {
    width: 80%;
    height: 2px;
    background: linear-gradient(to right, transparent, #ffd700, transparent);
    margin: 20px auto 40px;
    position: relative;
    z-index: 2;
}

/* ================= MAIN TITLE ================= */

.main-title {
    font-family: 'Orbitron', sans-serif;
}
    font-size: 70px;
    color: #ffd700;
    margin-bottom: 10px;
    position: relative;
    z-index: 2;
    animation: glow 3s infinite alternate ease-in-out;
}

@keyframes glow {
    from { text-shadow: 0 0 8px rgba(255,215,0,0.5); }
    to   { text-shadow: 0 0 25px rgba(255,215,0,0.9); }
}

.subtitle {
    color: #cccccc;
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}

/* ================= PREMIUM GOLD STRIP ================= */

/* ================= PREMIUM ANIMATED GOLD STRIP ================= */

.news-ticker {
    width: 100%;
    position: relative;
    overflow: hidden;
    background: linear-gradient(90deg, #b8860b, #ffd700, #b8860b);
    padding: 16px 10px;
    margin: 30px 0 40px 0;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
}

/* Shine animation overlay */
.news-ticker::before {
    content: "";
    position: absolute;
    top: 0;
    left: -50%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255,255,255,0.6),
        transparent
    );
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        left: -50%;
    }
    100% {
        left: 120%;
    }
}

/* Text styling */
.ticker-line {
    display: block;
    color: #000;
    font-weight: 700;
    font-size: 16px;
    margin: 4px 0;
    letter-spacing: 1px;
}

.main-line {
    font-size: 18px;
    font-weight: 800;
}

.highlight-line {
    font-size: 15px;
    font-weight: 600;
}
/* ================= SECTION TITLE ================= */

.section-title {
    color: #ffd700;
    margin: 50px 0 30px;
    position: relative;
    z-index: 2;
}

/* ================= DESKTOP GRID ================= */

.grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding: 0 60px 60px;
    position: relative;
    z-index: 2;
}

/* Technical Layout */

.grid .card:nth-child(1) { grid-column: 1; }
.grid .card:nth-child(2) { grid-column: 2; }
.grid .card:nth-child(3) { grid-column: 3; }
.grid .card:nth-child(4) { grid-column: 4; }

.grid .card:nth-child(5) { grid-column: 1; }
.grid .card:nth-child(6) { grid-column: 2 / 4; }
.grid .card:nth-child(7) { grid-column: 4; }

/* ================= CARD ================= */

.card {
    background: #111;
    padding: 30px 20px;
    border-radius: 18px;
    box-shadow: 0 0 15px rgba(255,215,0,0.1);
    transition: 0.3s ease;
}

.card:hover {
    transform: translateY(-12px);
    box-shadow: 
        0 0 35px rgba(255,215,0,0.6),
        0 15px 30px rgba(0,0,0,0.6);
}
}

.card h3 {
    font-size: 18px;
    margin-bottom: 20px;
}

/* ================= BUTTON ================= */

.card a {
    display: inline-block;
    padding: 10px 25px;
    background: #ffd700;
    color: black;
    text-decoration: none;
    border-radius: 10px;
    font-weight: bold;
    transition: 0.3s;
}

.card a:hover {
    background: #ffcc00;
}

/* ================= FOOTER ================= */

footer {
    width: 100%;
    text-align: center;
    padding: 25px 10px 50px;
    margin-top: 60px;
    background: #0a0a0a;
    border-top: 1px solid rgba(255, 215, 0, 0.3);
    font-size: 14px;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 5;
}

footer span {
    color: #ffd700;
    font-weight: 600;
}

.designer-name {
    color: #ffd700;
    font-weight: bold;
    animation: nameGlow 3s infinite alternate;
}

@keyframes nameGlow {
    from { text-shadow: 0 0 5px rgba(255,215,0,0.4); }
    to   { text-shadow: 0 0 15px rgba(255,215,0,0.8); }
}

/* ================= MOBILE RESPONSIVE ================= */

@media (max-width: 768px) {

    .grid {
        display: flex;
        flex-direction: column;
        gap: 50px;
        padding: 30px 20px 70px;
    }

    .card {
        width: 100%;
        padding: 35px 20px;
        border-radius: 20px;
    }

    .card h3 {
        margin-bottom: 25px;
        font-size: 19px;
    }

    .card a {
        padding: 14px 30px;
        font-size: 15px;
    }

    .section-title {
        margin: 60px 0 35px;
    }

    .main-title {
        font-size: 38px;
        margin-bottom: 20px;
    }

    .dragon-bg {
        width: 480px;
        height: 480px;
        opacity: 0.50;
    }
}
/* ===== GOLD STRIP TEXT GLOW ===== */

.news-ticker span {
    color: #000;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 1px;
    animation: goldTextGlow 1.9s ease-in-out infinite alternate;
}

@keyframes goldTextGlow {
    from {
        text-shadow: 0 0 5px rgba(0,0,0,0.2);
    }
    to {
        text-shadow: 
            0 0 10px rgba(255,255,255,0.6),
            0 0 20px rgba(255,215,0,0.7);
    }
}





