/* ================= BODY ================= */
body {
    background: #ffffff;
    margin: 0;
    font-family: Arial, sans-serif;
}

/* ================= HEADER ================= */
.top-header {
    background: #ffffff;
    border-bottom: 5px solid #b30000;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    max-width: 1300px;
    margin: auto;
}

/* LOGO */
.logo {
    position: absolute;
    left: 10px;
    top: 58%;
    transform: translateY(-50%);
    width: 160px;
}

/* TITLE */
.title-section {
    text-align: center;
}

.title-section h1 {
    color: #b30000;
    font-size: 46px;
    margin: 0;
    font-weight: 900;
    letter-spacing: 2px;
    line-height: 1.2;
}

/* FIRST TITLE IN ONE LINE */
.title-section h1:first-child {
    white-space: nowrap;
    font-size: 35px;
}

/* SUBTITLE */
.subtitle {
    font-family: "Noto Sans Oriya", "Kalinga", sans-serif;
}

/* DETAILS */
.details {
    font-size: 17px;
    margin-top: 10px;
    font-weight: 700;
}

/* ================= NAVBAR ================= */
.navbar {
    background: linear-gradient(to right, #4a79a8, #ff4b2b);
    text-align: center;
    padding: 10px 0;
}

.navbar a {
    display: inline-block;
    margin: 5px 6px;
    padding: 10px 18px;
    border-radius: 25px;
    font-weight: bold;
    font-size: 14px;
    text-decoration: none;
    color: #fff;
    transition: 0.3s;
}

.navbar a:nth-child(3n+1) {
    background: linear-gradient(90deg, #ff4b2b, #ff416c);
}

.navbar a:nth-child(3n+2) {
    background: linear-gradient(90deg, #396afc, #2948ff);
}

.navbar a:nth-child(3n+3) {
    background: linear-gradient(90deg, #f7971e, #ffd200);
    color: #333;
}

.navbar a:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.2);
}

/* ================= SLIDER ================= */
.slider img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* ================= LAYOUT ================= */
.page-wrapper {
    width: 1000px;
    margin: 30px auto;
}

.content-wrapper {
    display: flex;
    align-items: stretch;
    gap: 20px;
    padding: 30px;
}

/* ================= LEFT ================= */
.left-content {
    flex: 3;
    display: flex;
}

/* CONTENT BOX */
.content-box {
    background: #ffffff;
    padding: 20px;
    border-radius: 20px;
    width: 100%;
    position: relative;
    box-shadow:
        10px 10px 25px rgba(0,0,0,0.12),
        -5px -5px 15px rgba(255,255,255,0.6);
}

/* GRADIENT BORDER */
.content-box::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg, #ff6a00, #ffd200, #3f51b5);
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

/* ================= TEAM ================= */
.team-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.team-card {
    width: 90px;
    text-align: center;
}

.team-card img {
    width: 90px;
    height: 100px;
    object-fit: cover;
}

.team-info h4 {
    font-size: 11px;
    margin: 0;
}

.team-info p {
    font-size: 10px;
    margin: 0;
}

/* ================= SIDEBAR ================= */
.sidebar {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* CARD */
.box {
    border-radius: 20px;
    background: linear-gradient(145deg, #fdfdfd, #e6e6e6);
    box-shadow:
        10px 10px 25px rgba(0,0,0,0.12),
        -5px -5px 15px rgba(255,255,255,0.6);
    position: relative;
    overflow: hidden;
}

/* GRADIENT BORDER */
.box::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg, #ff6a00, #ffd200, #3f51b5);
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

/* TITLE */
.circular-title {
    background: linear-gradient(90deg, #ff7e5f, #feb47b);
    padding: 15px;
    text-align: center;
    font-weight: bold;
}

/* ================= LIST ================= */
.circular-list {
    padding: 12px;
}

.circular-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* 🔥 ADVANCED LIST ITEM */
.circular-list li {
    background: #fff;
    margin: 10px 0;
    padding: 12px 14px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* LEFT GLOW STRIP */
.circular-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, #ff512f, #dd2476);
    opacity: 0;
    transition: 0.3s;
    border-radius: 12px 0 0 12px;
}

/* SHINE EFFECT */
.circular-list li::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.6), transparent);
    opacity: 0;
    transition: 0.5s;
}

/* HOVER */
.circular-list li:hover {
    transform: translateX(10px) scale(1.02);
    background: linear-gradient(90deg, #ffffff, #f9f9f9);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.circular-list li:hover::before {
    opacity: 1;
}

.circular-list li:hover::after {
    opacity: 1;
}

/* ================= FEATURE BOX ================= */
.box.blue {
    padding: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: 0.3s;
}

.box.blue:hover {
    transform: translateY(-5px);
}

/* ================= ICON ================= */
.icon {
    color: #ff512f;
    transition: 0.3s;
}

.circular-list li:hover .icon,
.box.blue:hover .icon {
    color: #2948ff;
    transform: scale(1.3) rotate(5deg);
}

/* REMOVE EXTRA BG */
.yellow {
    background: transparent;
    box-shadow: none;
}

/* ================= EVENT SLIDER ================= */
.event-slider {
    overflow: hidden;
    position: relative;
    width: 100%;
    margin-top: 20px;
}

/* TRACK */
.event-track {
    display: flex;
    gap: 15px;
    width: max-content;
    animation: scrollEvents 20s linear infinite;
}

/* CARD */
.event-card {
    min-width: 220px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: 0.3s;
}

.event-card img {
    width: 100%;
    height: 140px;
    object-fit: cover;
}

.event-card p {
    text-align: center;
    padding: 8px;
    font-weight: bold;
}

/* HOVER */
.event-card:hover {
    transform: scale(1.05);
}

/* 🔥 ANIMATION (RIGHT → LEFT) */
@keyframes scrollEvents {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}
/* ================= MOBILE FIX ================= */
@media (max-width: 768px) {

    /* NAVBAR SINGLE LINE */
    .navbar {
        display: flex;
        flex-wrap: nowrap;        /* 🔥 prevent wrapping */
        overflow-x: auto;         /* 🔥 allow horizontal scroll */
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        padding: 10px;
    }

    /* NAV ITEMS */
    .navbar a {
        flex: 0 0 auto;           /* don't shrink */
        font-size: 12px;
        padding: 8px 12px;
        margin: 0 5px;
    }

    /* OPTIONAL: hide scrollbar */
    .navbar::-webkit-scrollbar {
        display: none;
    }
}
