:root {
    --primary: #1a237e;
    --secondary: #4fc3f7;
    --accent: #ff4081;
    --light: #e3f2fd;
    --dark: #0d1b2a;
    --university: #e65100;
    --card-bg: #17223b;
    --footer-bg: #10192f;
    --ad-bg: #f7f8fa;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(135deg, var(--white) 0%, #96e78b 100%);
    color: var(--light);
    min-height: 100vh;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(13, 27, 42, 0.96);
    padding: 1.2rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid rgba(79, 195, 247, 0.18);
    box-shadow: 0 2px 10px 0 rgba(30, 60, 120, 0.08);
}
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}
.logo-icon {
    font-size: 2.2rem;
    color: var(--secondary);
    text-shadow: 0 0 10px rgba(10, 10, 9, 0.5);
}
.logo-text {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    background: linear-gradient(to right, var(--secondary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: 1.5px;
}
nav ul {
    display: flex;
    list-style: none;
    gap: 1.6rem;
}
nav a {
    color: var(--light);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.07rem;
    padding: 0.5rem 1rem;
    border-radius: 30px;
    transition: all 0.2s;
    position: relative;
}
nav a:hover {
    color: var(--secondary);
    background: rgba(79, 195, 247, 0.08);
}
nav a.active {
    color: var(--accent);
}

/* Responsive Nav */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--secondary);
    font-size: 2rem;
    margin-left: 1rem;
    cursor: pointer;
}
@media (max-width: 800px) {
    nav ul {
        flex-direction: column;
        background: rgba(13, 27, 42, 0.98);
        position: absolute;
        top: 100%;
        right: 5%;
        width: 210px;
        border-radius: 12px;
        box-shadow: 0 6px 24px 0 rgba(30, 60, 120, 0.18);
        display: none;
    }
    nav ul.open {
        display: flex;
    }
    .menu-toggle {
        display: block;
    }
}

/* Hero */
.hero {
    text-align: center;
    padding: 5.5rem 5% 3.3rem;
    background: linear-gradient(120deg, rgba(74, 144, 226, 0.10) 0%, rgba(237, 33, 124, 0.10) 100%);
     background-image: url("https://raiganjuniversity.ac.in/wp-content/uploads/2024/11/slider7.jpg");
}
.hero.news-hero h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1.1rem;
    text-transform: uppercase;
    background: linear-gradient(to right, var(--light), var(--secondary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: 2px;
    line-height: 1.1;
}
.hero.news-hero p {
    max-width: 680px;
    margin: auto;
    font-size: 1.16rem;
    margin-bottom: 2.1rem;
    color: rgba(7, 9, 10, 0.92);
}

/* Ad Slot */
.ad-slot {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ad-bg);
    min-height: 100px;
    margin: 3rem auto 1.5rem auto;
    max-width: 970px;
    border-radius: 14px;
    box-shadow: 0 2px 16px 0 rgba(30, 60, 120, 0.07);
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
}
.ad-label {
    position: absolute;
    top: 10px;
    right: 22px;
    background: var(--secondary);
    color: #fff;
    font-size: 0.9rem;
    padding: 2px 10px;
    border-radius: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
    opacity: 0.9;
}
.ad-content {
    width: 100%;
    text-align: center;
    font-size: 1.1rem;
    color: #333;
    font-family: 'Montserrat', sans-serif;
    padding: 38px 0;
    font-weight: 600;
    letter-spacing: 1px;
}

/* Section Title */
.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.3rem;
    text-align: center;
    margin: 3.7rem 0 2.4rem;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
}
.section-title::after {
    content: '';
    display: block;
    width: 82px;
    height: 4px;
    background: linear-gradient(to right, var(--primary), var(--accent));
    margin: 0.8rem auto 0;
    border-radius: 2px;
}

/* News Grid */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.2rem;
    padding: 0 5% 4rem;
    max-width: 1320px;
    margin: 0 auto;
}
.news-card {
    background: var(--card-bg);
    border-radius: 18px;
    overflow: hidden;
    transition: box-shadow 0.28s, transform 0.18s;
    box-shadow: 0 8px 24px rgba(30,60,100,0.13);
    border: 1.5px solid rgba(79, 195, 247, 0.23);
    position: relative;
}
.news-card:hover {
    box-shadow: 0 14px 40px 0 rgba(79, 195, 247, 0.18);
    transform: scale(1.025) translateY(-4px);
}
.card-image {
    height: 200px;
    overflow: hidden;
}
.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.news-card:hover .card-image img {
    transform: scale(1.07);
}
.card-content {
    padding: 1.5rem;
}
.card-category {
    display: inline-block;
    padding: 0.36rem 1.1rem;
    background: var(--accent);
    color: white;
    font-size: 0.93rem;
    font-weight: 600;
    border-radius: 30px;
    margin-bottom: 1.1rem;
    letter-spacing: 0.3px;
}
.card-title {
    font-size: 1.28rem;
    margin-bottom: 0.8rem;
    color: white;
    font-weight: 700;
    line-height: 1.3;
}
.card-excerpt {
    color: rgba(227, 242, 253, 0.84);
    margin-bottom: 1.2rem;
    font-size: 1.01rem;
}
.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(227, 242, 253, 0.74);
    font-size: 0.94rem;
    border-top: 1px solid rgba(79, 195, 247, 0.14);
    padding-top: 0.9rem;
    margin-top: 0.9rem;
}

/* Footer */
footer {
    background: var(--footer-bg);
    padding: 3.3rem 5% 1.7rem;
    border-top: 1.5px solid rgba(79, 195, 247, 0.19);
}
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.2rem;
    max-width: 1120px;
    margin: 0 auto 2.2rem;
}
.footer-column h3 {
    font-size: 1.15rem;
    margin-bottom: 1.1rem;
    color: var(--secondary);
    position: relative;
    padding-bottom: 0.6rem;
    font-weight: 700;
}
.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 36px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
}
.footer-column p, .footer-column a {
    color: rgba(227, 242, 253, 0.7);
    margin-bottom: 0.8rem;
    display: block;
    text-decoration: none;
    transition: color 0.2s;
    font-size: 1rem;
}
.footer-column a:hover {
    color: var(--secondary);
}
.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1.1rem;
}
.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 39px;
    height: 39px;
    border-radius: 50%;
    background: rgba(79, 195, 247, 0.1);
    color: var(--secondary);
    font-size: 1.15rem;
    transition: all 0.16s;
}
.social-icons a:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-2px) scale(1.09);
}
.copyright {
    text-align: center;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(227, 242, 253, 0.57);
    font-size: 0.97rem;
}

/* Responsive Design */
@media (max-width: 1100px) {
    .news-grid, .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 870px) {
    .news-grid, .footer-content {
        grid-template-columns: 1fr;
        gap: 1.7rem;
        padding: 0 3% 2rem;
    }
    .hero.news-hero h1 {
        font-size: 1.9rem;
    }
}
@media (max-width: 600px) {
    header, .hero, footer {
        padding-left: 3%;
        padding-right: 3%;
    }
    .news-grid, .footer-content {
        grid-template-columns: 1fr;
        gap: 1.2rem;
        padding: 0 2% 2rem;
    }
    .ad-slot {
        min-height: 70px;
        font-size: 0.97rem;
        padding: 0;
    }
}
@media (max-width: 420px) {
    .hero.news-hero h1 { font-size: 1.1rem; }
    .section-title { font-size: 1.1rem; }
}

a{
    text-decoration: none;
}









