@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

:root {
    --bg-main: #121212;
    --bg-secondary: #1a1a1a;
    --grad-dark: #3E0A0F;
    --grad-light: #7B0D12;
    --neon-red: #FF4B4B;
    --text-main: #ffffff;
    --text-muted: #fef4f4;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(20, 20, 20, 0.9);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    z-index: 1000;
    transition: 0.3s ease-in-out;
    border-bottom: 1px solid rgba(123, 13, 18, 0.3);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--neon-red);
    text-shadow: 0 0 10px var(--neon-red);
}

/* Hero Slider */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    background-color: var(--bg-main);
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.slide.active {
    opacity: 1 !important;
    z-index: 3;
}

.slide.outgoing {
    opacity: 1 !important;
    z-index: 2;
    transition: none !important;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.3) 60%, transparent 100%);
    display: flex;
    align-items: center;
    padding-left: 5%;
}

.hero-content {
    max-width: 700px;
    transform: translateY(20px);
    opacity: 0;
    transition: all 1s ease 0.5s;
}

.slide.active .hero-content {
    transform: translateY(0);
    opacity: 1;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.2rem;
    color: #eee;
    max-width: 80%;
}

/* Support Hub Section Redesign */
.features {
    padding: 8rem 8% 5rem;
    text-align: center;
    background: radial-gradient(circle at top right, rgba(123, 13, 18, 0.05), transparent);
}

.section-title {
    font-size: 2.8rem;
    margin-bottom: 0.5rem;
    color: var(--neon-red);
}

.section-subtitle {
    color: var(--text-muted);
    margin-bottom: 4rem;
    font-size: 1.1rem;
    font-weight: 300;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.card {
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: left;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(5px);
    cursor: pointer;
}

.card:hover {
    transform: translateY(-12px);
    border-color: rgba(255, 75, 75, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 75, 75, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    margin-bottom: 1.5rem;
    transition: 0.3s;
}

.card:hover .card-icon {
    background: var(--neon-red);
    transform: rotateY(360deg);
}

.card-icon i {
    font-size: 1.8rem;
    color: var(--neon-red);
}

.card:hover .card-icon i {
    color: white;
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
}

.card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 2rem;
    line-height: 1.7;
    flex-grow: 1;
}

.card-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--neon-red);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card-link i {
    transition: transform 0.3s;
}

.card:hover .card-link i {
    transform: translateX(5px);
}

.contribute-card {
    background: linear-gradient(135deg, rgba(123, 13, 18, 0.15), rgba(26, 26, 26, 0.8));
    border: 1px dashed rgba(255, 75, 75, 0.3);
}

/* Footer */
footer {
    background: var(--bg-secondary);
    padding: 3rem 5% 1rem;
    border-top: 2px solid var(--grad-light);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-col h3 {
    color: var(--neon-red);
    margin-bottom: 1rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul a {
    color: var(--text-muted);
    text-decoration: none;
    transition: 0.3s;
}

.footer-col ul a:hover {
    color: var(--neon-red);
}

.socials {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.socials a {
    color: white;
    font-size: 1.5rem;
    transition: 0.3s;
}

.socials a:hover {
    color: var(--neon-red);
}

.footer-bottom {
    text-align: center;
    grid-column: 1 / -1;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #333;
    color: var(--text-muted);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.appear {
    opacity: 1;
    transform: translateY(0);
}





/* Academic Page Specifics */
.btn-outline {
    display: inline-block;
    margin-top: 15px;
    padding: 8px 20px;
    border: 1px solid var(--neon-red);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: 0.3s;
    font-size: 0.9rem;
}

.btn-outline:hover {
    background: var(--neon-red);
    box-shadow: 0 0 10px var(--neon-red);
}

.transparent-panel h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

/* Ensure the cards look uniform */
#dept-selection .card,
#sem-selection .card {
    text-align: center;
    justify-content: center;
    min-height: 150px;
}

#dept-selection .card i {
    font-size: 3rem;
    margin-bottom: 15px;
}

/* Animation trigger for JS show/hide */
.appear {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* --- Academic Page Professional UI --- */

.academic-body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.wrapper {
    flex: 1;
    /* Pushes footer to bottom */
}

.academic-hero {
    height: 60vh;
    background-image: url('https://images.unsplash.com/photo-1562774053-701939374585?q=80&w=2000');
    background-size: cover;
    background-position: center;
    transition: background-image 0.8s ease-in-out;
    position: relative;
}

.hero-quote {
    font-style: italic;
    font-weight: 300;
    margin-top: 10px;
    opacity: 0.9;
}

/* Dept Grid Styling */
.dept-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.dept-card {
    background: var(--bg-secondary);
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.dept-card:hover {
    transform: translateY(-10px);
    border-color: var(--neon-red);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.dept-img {
    height: 150px;
    background-size: cover;
    background-position: center;
    filter: grayscale(40%);
    transition: 0.4s;
}

.dept-card:hover .dept-img {
    filter: grayscale(0%);
}

.dept-info {
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 15px;
}

.dept-info i {
    font-size: 1.5rem;
    color: var(--neon-red);
}

/* Semester Grid */
.sem-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    padding: 2rem 0;
}

.sem-card {
    height: 100px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 1.5rem;
    font-weight: 700;
    cursor: pointer;
    border: 1px solid transparent;
    transition: 0.3s;
}

.sem-card:hover {
    background: var(--neon-red);
    color: white;
    box-shadow: 0 0 20px rgba(255, 75, 75, 0.3);
}

/* Back Navigation */
.back-nav:hover {
    padding-left: 5px;
}

/* --- Premium Glossy Back Button --- */
.btn-glossy-back {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 2rem;
    padding: 12px 25px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    backdrop-filter: blur(15px);
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-glossy-back::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: 0.5s;
    z-index: -1;
}

.btn-glossy-back:hover::before {
    left: 100%;
}

.btn-glossy-back:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 20px rgba(255, 255, 255, 0.05);
}

.btn-glossy-back i {
    font-size: 1rem;
    transition: 0.3s;
}

.btn-glossy-back:hover i {
    transform: translateX(-5px);
}

/* Resources Window */
.resource-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.card-item {
    padding: 2.5rem;
    text-align: center;
    animation: slideUp 0.5s ease forwards;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.sticky-footer {
    margin-top: auto;
    width: 100%;
}

/* Responsive for Semesters */
@media (max-width: 768px) {
    .sem-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* --- High-End Semester Selection --- */

#sem-selection {
    padding-bottom: 50px;
}

.selection-header {
    margin-bottom: 3rem;
}

.sem-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* 2 columns for a clean look */
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.sem-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 15px;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    gap: 20px;
    cursor: pointer;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);

    /* Staggered Animation Logic */
    opacity: 0;
    transform: translateX(-20px);
    animation: slideInLeft 0.5s ease forwards;
    animation-delay: calc(var(--i) * 0.08s);
}

.sem-card:hover {
    background: rgba(255, 75, 75, 0.1);
    border-color: var(--neon-red);
    transform: scale(1.03) translateX(10px);
    box-shadow: -10px 0 20px rgba(255, 75, 75, 0.1);
}

.sem-number {
    font-size: 2rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.1);
    transition: 0.3s;
}

.sem-card:hover .sem-number {
    color: var(--neon-red);
    text-shadow: 0 0 15px var(--neon-red);
}

.sem-label {
    flex-grow: 1;
}

.sem-label h3 {
    font-size: 1.2rem;
    margin: 0;
    color: white;
}

.sem-label span {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sem-card i.fa-chevron-right {
    font-size: 1rem;
    color: var(--text-muted);
    opacity: 0;
    transform: translateX(-10px);
    transition: 0.3s;
}

.sem-card:hover i.fa-chevron-right {
    opacity: 1;
    transform: translateX(0);
    color: var(--neon-red);
}

/* Animations */
@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .sem-grid {
        grid-template-columns: 1fr;
        /* Single column on mobile */
    }
}

/* --- Academic Page Layout Fixes --- */
.academic-body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.wrapper {
    flex: 1 0 auto;
    /* Pushes footer down */
    padding-bottom: 50px;
}

.sticky-footer {
    flex-shrink: 0;
    width: 100%;
    margin-top: auto;
}

/* --- Professional Semester Grid --- */
.sem-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.sem-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 15px;
    padding: 1.2rem 2rem;
    display: flex;
    align-items: center;
    gap: 20px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateX(-20px);
    animation: slideInSem 0.5s ease forwards;
    animation-delay: calc(var(--i) * 0.1s);
}

.sem-card:hover {
    background: rgba(255, 75, 75, 0.1);
    border-color: var(--neon-red);
    transform: scale(1.02) translateX(10px);
}

.sem-number {
    font-size: 2rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.1);
    min-width: 50px;
}

.sem-card:hover .sem-number {
    color: var(--neon-red);
}

.sem-label h3 {
    margin: 0;
    font-size: 1.1rem;
}

.sem-label span {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

@keyframes slideInSem {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@media (max-width: 768px) {
    .sem-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Career Hub Specifics --- */

.filter-bar {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 8px 25px;
    border-radius: 30px;
    cursor: pointer;
    transition: 0.3s;
    font-size: 0.9rem;
    font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--neon-red);
    border-color: var(--neon-red);
    box-shadow: 0 0 15px rgba(255, 75, 75, 0.4);
}

/* Animations for resource loading */
#career-resources .card-item {
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments for Career categories */
@media (max-width: 768px) {
    .filter-bar {
        gap: 10px;
    }

    .filter-btn {
        padding: 6px 15px;
        font-size: 0.8rem;
    }
}

/* --- Scholarship Table Styling --- */
.table-container {
    overflow-x: auto;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 1rem;
}

.professional-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    color: white;
}

.professional-table th {
    background: rgba(255, 75, 75, 0.1);
    padding: 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    border-bottom: 2px solid var(--neon-red);
}

.professional-table td {
    padding: 1.2rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.95rem;
}

.professional-table tr:hover {
    background: rgba(255, 255, 255, 0.03);
}

/* Responsive Table */
@media (max-width: 768px) {

    .professional-table th,
    .professional-table td {
        padding: 1rem;
        font-size: 0.85rem;
    }
}


/* --- High-End Support Cards --- */

.support-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.pro-support-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    position: relative;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    overflow: hidden;

    /* Staggered Entrance */
    opacity: 0;
    transform: translateY(30px);
    animation: proSlideUp 0.6s ease forwards;
    animation-delay: calc(var(--i) * 0.15s);
}

.pro-support-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--neon-red), transparent);
    transform: translateX(-100%);
    transition: 0.6s;
}

.pro-support-card:hover {
    transform: translateY(-12px);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 75, 75, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.pro-support-card:hover::before {
    transform: translateX(100%);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 75, 75, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--neon-red);
    font-size: 1.5rem;
    transition: 0.3s;
}

.pro-support-card:hover .card-icon {
    background: var(--neon-red);
    color: white;
    transform: rotateY(360deg);
}

.card-tag {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--neon-red);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.pro-support-card h3 {
    margin: 0.5rem 0;
    font-size: 1.4rem;
}

.sub-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.desc-text {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.7);
}

.contact-btn {
    display: inline-block;
    padding: 12px 30px;
    background: transparent;
    border: 1px solid var(--neon-red);
    color: white;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: 0.3s;
}

.contact-btn:hover {
    background: var(--neon-red);
    box-shadow: 0 0 20px rgba(255, 75, 75, 0.4);
}

@keyframes proSlideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- High-End Tools Grid --- */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    padding: 2rem 0;
}

.pro-tool-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 24px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: background 0.4s ease, border-color 0.4s ease, transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
    position: relative;
    overflow: hidden;

    /* Animation */
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    animation: toolFadeUp 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    animation-delay: calc(var(--i) * 0.1s);
}

.pro-tool-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.08) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-25deg);
    transition: 0.75s ease;
    pointer-events: none;
    z-index: 5;
}

.pro-tool-card:hover::after {
    left: 125%;
}

.pro-tool-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--neon-red);
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 20px 40px rgba(255, 75, 75, 0.15);
}

.tool-img {
    width: calc(100% + 5rem);
    height: 160px;
    margin: -2.5rem -2.5rem 1.5rem -2.5rem;
    background-size: cover;
    background-position: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    filter: brightness(0.8) contrast(1.1);
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.5s ease;
    will-change: transform;
}

.pro-tool-card:hover .tool-img {
    filter: brightness(1.05) contrast(1.15);
    transform: scale(1.08);
}

.tool-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 75, 75, 0.1);
    color: var(--neon-red);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.4s ease, color 0.4s ease, box-shadow 0.4s ease;
}

.pro-tool-card:hover .tool-icon {
    background: var(--neon-red);
    color: white;
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 0 15px rgba(255, 75, 75, 0.4);
}

.pro-tool-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.pro-tool-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.tool-tags {
    display: flex;
    gap: 10px;
    margin-bottom: 2rem;
}

.tool-tags span {
    font-size: 0.7rem;
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    color: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.tool-btn {
    margin-top: auto;
    width: 100%;
    padding: 12px;
    text-align: center;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: 0.3s;
}

.tool-btn:hover, .pro-tool-card:hover .tool-btn {
    background: var(--neon-red);
    color: white;
    border-color: var(--neon-red);
    box-shadow: 0 4px 15px rgba(255, 75, 75, 0.3);
}

@keyframes toolFadeUp {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* --- CAREER ROADMAP VISUALS --- */
.roadmap-visual-path {
    border-left: 2px solid rgba(255, 75, 75, 0.3);
    /* Faded neon red line */
    margin: 20px 0 40px 20px;
    padding-left: 35px;
    position: relative;
}

.milestone-block {
    position: relative;
    margin-bottom: 40px;
    background: rgba(255, 255, 255, 0.03);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.milestone-block:hover {
    transform: translateX(10px);
    border-color: var(--neon-red);
}

/* The Glowing Dot on the line */
.milestone-block::before {
    content: '';
    position: absolute;
    left: -44px;
    top: 25px;
    width: 16px;
    height: 16px;
    background: var(--neon-red);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--neon-red);
    z-index: 2;
}

.year-tag {
    color: var(--neon-red);
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 5px;
}

/* --- ADMIN DASHBOARD UTILITIES --- */
.admin-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: start;
}

@media (max-width: 900px) {
    .admin-container {
        grid-template-columns: 1fr;
    }
}

.live-card {
    background: #111;
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 12px;
    border-left: 4px solid var(--neon-red);
    display: flex;
    justify-content: space-between;
    align-items: center;
    animation: slideInRight 0.4s ease forwards;
}

/* --- ANIMATIONS --- */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fade-in {
    animation: fadeIn 0.8s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}