* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #0a0e27;
    --bg-secondary: #151932;
    --bg-card: #1a1f3a;
    --text-primary: #ffffff;
    --text-secondary: #a0a8c8;
    --accent-primary: #00d4ff;
    --accent-secondary: #7b2ff7;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-4: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

body {
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

.bangla-text {
    font-family: 'Hind Siliguri', 'Noto Sans Bengali', sans-serif;
    line-height: 1.9;
    letter-spacing: 0.3px;
}

.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.particle {
    position: absolute;
    background: var(--accent-primary);
    border-radius: 50%;
    opacity: 0.3;
    animation: float 20s infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0);
    }
    25% {
        transform: translateY(-100px) translateX(100px);
    }
    50% {
        transform: translateY(-200px) translateX(-100px);
    }
    75% {
        transform: translateY(-100px) translateX(-200px);
    }
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 14, 39, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    background: var(--gradient-3);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 2px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 1rem;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--accent-primary);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-primary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 120px 2rem 100px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.8;
    }
}

.hero-content {
    text-align: center;
    z-index: 1;
    width: 100%;
    max-width: 1200px;
}

.exam-notice-hero {
    margin-bottom: 3rem;
    padding: 1.5rem 2rem;
    background: rgba(26, 31, 58, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    animation: fadeInDown 1s ease-out;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.exam-notice-hero h2 {
    font-family: 'Hind Siliguri', 'Noto Sans Bengali', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    background: var(--gradient-3);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.exam-notice-hero p {
    font-family: 'Hind Siliguri', 'Noto Sans Bengali', sans-serif;
    font-size: 1.2rem;
    color: var(--text-secondary);
    font-weight: 500;
    line-height: 1.6;
}

.exam-notice-hero strong {
    color: var(--accent-primary);
    font-weight: 700;
}

.hero-title {
    font-size: 6rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.title-line {
    display: block;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: slideIn 1s ease-out forwards;
    opacity: 0;
}

.title-line:nth-child(1) {
    animation-delay: 0.2s;
}

.title-line:nth-child(2) {
    animation-delay: 0.4s;
}

.year {
    display: block;
    font-size: 8rem;
    background: var(--gradient-3);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: slideIn 1s ease-out forwards;
    animation-delay: 0.6s;
    opacity: 0;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    letter-spacing: 4px;
    margin-top: 2rem;
    animation: fadeIn 1s ease-out forwards;
    animation-delay: 0.8s;
    opacity: 0;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    font-size: 0.9rem;
    color: var(--text-secondary);
    letter-spacing: 2px;
}

.scroll-arrow {
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, var(--accent-primary), transparent);
    position: relative;
}

.scroll-arrow::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 8px solid var(--accent-primary);
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

.segments {
    min-height: 100vh;
    padding: 8rem 0;
    position: relative;
    z-index: 1;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title {
    text-align: center;
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 5rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.segments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.segment-card {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 3rem 2rem 2rem;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    transform-style: preserve-3d;
    min-height: 450px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.segment-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    opacity: 0;
    transition: opacity 0.5s ease;
}

.segment-card:hover {
    transform: translateY(-15px) rotateX(5deg);
    border-color: var(--accent-primary);
    box-shadow: 0 20px 60px rgba(0, 212, 255, 0.3);
}

.segment-card:hover::before {
    opacity: 1;
}

.card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-3);
    border-radius: 20px;
    transition: all 0.5s ease;
}

.segment-card:hover .card-icon {
    transform: rotateY(360deg) scale(1.1);
}

.card-icon svg {
    width: 40px;
    height: 40px;
    color: white;
}

.segment-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    text-align: center;
    color: var(--text-primary);
}

.segment-card p {
    color: var(--text-secondary);
    text-align: center;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.segment-card .note {
    font-size: 0.9rem;
    font-style: italic;
    color: var(--accent-primary);
    margin-top: auto;
    padding-top: 1rem;
    margin-bottom: 1.5rem;
}

.card-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--gradient-3);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: auto;
    width: 100%;
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.card-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.card-button:hover::before {
    width: 300px;
    height: 300px;
}

.card-button svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
}

.card-button:hover svg {
    transform: translateX(5px);
}

.card-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.4);
}

.card-button:active {
    transform: translateY(-1px);
}

.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.segment-card:hover .card-glow {
    opacity: 1;
    animation: rotate 10s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.about-hero,
.info-hero,
.help-hero {
    padding: 12rem 0 6rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.page-title {
    font-size: 5rem;
    font-weight: 900;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
    animation: slideIn 1s ease-out;
}

.page-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    animation: fadeIn 1s ease-out;
    animation-delay: 0.2s;
}

.team {
    padding: 4rem 0 8rem;
    position: relative;
    z-index: 1;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
}

.team-member {
    background: var(--bg-card);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.team-member:nth-child(1) { animation-delay: 0.1s; }
.team-member:nth-child(2) { animation-delay: 0.2s; }
.team-member:nth-child(3) { animation-delay: 0.3s; }
.team-member:nth-child(4) { animation-delay: 0.4s; }
.team-member:nth-child(5) { animation-delay: 0.5s; }
.team-member:nth-child(6) { animation-delay: 0.6s; }
.team-member:nth-child(6) { animation-delay: 0.6s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 212, 255, 0.3);
    border-color: var(--accent-primary);
}

.team-member.featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
    padding: 2rem;
}

.member-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
    border-radius: 15px;
}

.team-member.featured .member-image {
    aspect-ratio: auto;
    height: 100%;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-member:hover .member-image img {
    transform: scale(1.1);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.7));
    opacity: 0;
    transition: opacity 0.5s ease;
}

.team-member:hover .image-overlay {
    opacity: 1;
}

.member-info {
    padding: 2rem;
}

.team-member.featured .member-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0;
}

.member-info h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.team-member.featured .member-info h3 {
    font-size: 3rem;
}

.department {
    color: var(--accent-primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.role {
    color: var(--text-secondary);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.affiliation {
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 1.5rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: var(--gradient-3);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.4);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

.info-content,
.help-content {
    padding: 4rem 0 8rem;
    position: relative;
    z-index: 1;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.info-card {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 3rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.5s ease;
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.info-card:nth-child(1) { animation-delay: 0.1s; }
.info-card:nth-child(2) { animation-delay: 0.2s; }
.info-card:nth-child(3) { animation-delay: 0.3s; }
.info-card:nth-child(4) { animation-delay: 0.4s; }

.info-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-primary);
    box-shadow: 0 20px 60px rgba(0, 212, 255, 0.3);
}

.info-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    background: var(--gradient-3);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.info-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

.help-options {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 0 auto 6rem;
    gap: 3rem;
}

.help-card {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 3rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    transition: all 0.5s ease;
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.help-card.single {
    animation-delay: 0.1s;
}

.help-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-primary);
    box-shadow: 0 20px 60px rgba(0, 212, 255, 0.3);
}

.help-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-3);
    border-radius: 20px;
    transition: transform 0.5s ease;
}

.help-card:hover .help-icon {
    transform: rotateY(360deg);
}

.help-icon svg {
    width: 40px;
    height: 40px;
    color: white;
}

.help-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.help-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.help-card a {
    color: var(--accent-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    word-break: break-all;
}

.help-card a:hover {
    color: var(--text-primary);
}

.faq-section {
    max-width: 900px;
    margin: 0 auto;
}

.faq-section h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 3rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.faq-item {
    background: var(--bg-card);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--accent-primary);
}

.faq-question {
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.faq-question h3 {
    font-size: 1.3rem;
    font-weight: 600;
}

.faq-toggle {
    font-size: 2rem;
    color: var(--accent-primary);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 1rem;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0, 1, 0, 1);
}

.faq-item.active .faq-answer {
    max-height: 500px;
    transition: max-height 0.5s cubic-bezier(0.5, 0, 1, 0);
}

.faq-answer p {
    padding: 0 2rem 1.5rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.footer {
    background: var(--bg-secondary);
    padding: 3rem 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1;
}

.footer-content p {
    color: var(--text-secondary);
    margin: 0.5rem 0;
}

.footer-content p:last-child {
    font-weight: 600;
    background: var(--gradient-3);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

@media (max-width: 1024px) {
    .hero-title {
        font-size: 4rem;
    }
    
    .year {
        font-size: 6rem;
    }
    
    .team-member.featured {
        grid-template-columns: 1fr;
    }

    .exam-notice-hero h2 {
        font-size: 1.5rem;
    }

    .exam-notice-hero p {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 1rem 0;
    }

    .logo-text {
        font-size: 1.4rem;
    }

    .nav-menu {
        gap: 1rem;
    }
    
    .nav-menu a {
        padding: 0.5rem;
        font-size: 0.9rem;
    }

    .hero {
        padding: 100px 1.5rem 80px;
    }

    .exam-notice-hero {
        padding: 1rem 1.5rem;
        margin-bottom: 2rem;
    }

    .exam-notice-hero h2 {
        font-size: 1.1rem;
    }

    .exam-notice-hero p {
        font-size: 0.9rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .year {
        font-size: 4rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        letter-spacing: 2px;
    }
    
    .section-title,
    .page-title {
        font-size: 2.5rem;
    }
    
    .segments {
        padding: 4rem 0;
    }
    
    .segments-grid {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }

    .segment-card {
        min-height: auto;
    }
}

@media (max-width: 480px) {
    .logo-text {
        font-size: 1.2rem;
    }

    .nav-menu a {
        font-size: 0.85rem;
        padding: 0.3rem 0.5rem;
    }

    .hero {
        padding: 90px 1rem 60px;
    }

    .exam-notice-hero {
        padding: 0.8rem 1rem;
        margin-bottom: 1.5rem;
    }

    .exam-notice-hero h2 {
        font-size: 0.95rem;
    }

    .exam-notice-hero p {
        font-size: 0.8rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .year {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 0.85rem;
        letter-spacing: 1px;
    }
    
    .section-title,
    .page-title {
        font-size: 2rem;
    }
    
    .segment-card,
    .info-card,
    .help-card {
        padding: 2rem 1.5rem 1.5rem;
    }

    .card-button {
        padding: 0.9rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .member-info {
        padding: 1.5rem;
    }

    .faq-question {
        padding: 1rem 1.5rem;
    }

    .faq-question h3 {
        font-size: 1.1rem;
    }

    .faq-answer p {
        padding: 0 1.5rem 1rem;
    }
}