:root {
    --bg-primary: #050505;
    --text-primary: #ffffff;
    --text-secondary: #d4af37;
    --accent: #d4af37;
    --accent-secondary: #4b0082;
    --glass-bg: rgba(20, 20, 20, 0.7);
    --glass-border: rgba(212, 175, 55, 0.2);
    --card-hover: rgba(75, 0, 130, 0.15);
    --cursor-color: #d4af37;
    --overlay-color: rgba(0, 0, 0, 0.75);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    transition: background-color 0.5s ease, color 0.5s ease;
    font-weight: 500;
}

.cursor-dot,
.cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--cursor-color);
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 1px solid var(--cursor-color);
    transition: width 0.2s, height 0.2s, background-color 0.2s;
}

body.hovering .cursor-outline {
    width: 60px;
    height: 60px;
    background-color: rgba(212, 175, 55, 0.2);
    border-color: transparent;
}

.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

#bg-video {
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    filter: brightness(0.6) contrast(1.1);
    transition: filter 0.5s ease;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--overlay-color);
    transition: background 0.5s ease;
}

.glass-nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 100;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.hero-section {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 2rem;
}

.profile-container {
    width: 180px;
    height: 180px;
    margin-bottom: 2rem;
    position: relative;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--glass-border);
    transition: transform 0.5s ease;
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.profile-container:hover .profile-img {
    transform: scale(1.1);
}

.profile-container:hover {
    transform: scale(1.05);
    box-shadow: 0 0 40px rgba(212, 175, 55, 0.5);
    border-color: var(--accent);
}

.hover-effect {
    transition: all 0.3s ease;
}

.hover-effect:hover {
    color: var(--accent);
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
    transform: translateY(-2px);
}

h1.hover-effect:hover {
    text-shadow: 2px 2px 0px var(--accent), -2px -2px 0px rgba(255, 255, 255, 0.1);
    letter-spacing: -2px;
}

.gradient-text {
    background: #ffffff;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: #ffffff;
    transition: all 0.5s ease;
}

.gradient-text:hover {
    background: linear-gradient(45deg, #00ffff, #ff00ff, #ffd700, #00ffff);
    background-size: 300% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 2s linear infinite;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

@keyframes shimmer {
    to {
        background-position: 300% center;
    }
}

h1 {
    font-family: 'Playfair Display', serif;
    font-size: 6rem;
    margin-bottom: 1rem;
    font-weight: 800;
    letter-spacing: -2px;
    text-shadow: 4px 4px 8px rgba(0, 0, 0, 0.8);
}

.subtitle {
    font-size: 1.3rem;
    color: #ffffff;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.institution,
.faculty {
    font-size: 1.1rem;
    color: #f0f0f0;
    opacity: 1;
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    transition: color 0.3s ease;
}

.hero-content:hover .subtitle {
    color: var(--accent);
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.hero-content:hover .institution,
.hero-content:hover .faculty {
    color: #e0e0e0;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.7;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

.content-section {
    padding: 6rem 2rem;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.section-title:hover::after {
    transform: scaleX(1);
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    padding: 2rem;
    border-radius: 16px;
    transition: transform 0.3s, background 0.3s;
}

.glass-card:hover {
    background: var(--card-hover);
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    border-color: var(--accent);
}

.grid-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
}

.text-content p {
    line-height: 1.9;
    font-size: 1.2rem;
    margin-bottom: 2rem;
    font-weight: 400;
}

.skills-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.tag {
    padding: 0.5rem 1rem;
    border: 1px solid var(--accent);
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--accent);
    transition: all 0.3s;
}

.tag:hover {
    background: var(--accent);
    color: var(--bg-primary);
    box-shadow: 0 0 15px var(--accent);
    transform: scale(1.1);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.publication-card {
    text-decoration: none;
    color: var(--text-primary);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.card-icon {
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.read-more {
    margin-top: auto;
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.blog-feature {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    padding: 0.8rem 2rem;
    background: var(--accent);
    color: var(--bg-primary);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: transform 0.2s;
}

.btn-primary:hover {
    transform: scale(1.05);
}

.contact-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: var(--text-primary);
    padding: 1rem 2.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.contact-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.2), transparent);
    transition: 0.5s;
}

.contact-item:hover {
    transform: translateY(-5px);
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--accent);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.contact-item:hover::before {
    left: 100%;
}

.contact-item i {
    color: var(--accent);
    font-size: 1.2rem;
}

footer {
    text-align: center;
    padding: 2rem;
    background: var(--glass-bg);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    .grid-layout {
        grid-template-columns: 1fr;
    }

    .glass-nav {
        padding: 1rem;
    }

    .nav-links {
        display: none;
    }
}