/* General Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* General Styles */
body {
    font-family: 'Roboto', sans-serif;
    background-color: #0a0a0a;
    color: #E0E0E0;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header Section */
header.hero-section {
    min-height: 10vh;
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #1a1f25, #0a0a0a);
    position: relative;
    overflow: hidden;
}

/* Animated background elements */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(58, 154, 217, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(127, 255, 0, 0.1) 0%, transparent 50%);
    animation: pulse 8s infinite alternate;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(1.2); opacity: 0.8; }
}

header.hero-section h1 {
    font-size: 4.5em;
    font-weight: 800;
    background: linear-gradient(45deg, #00F2FF, #8A2BE2); /* Vibrant gradient */
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 20px;
    position: relative;
    animation: slideDown 1s ease-out;
}

header.hero-section p {
    font-size: 1.5em;
    color: #E0E0E0;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0;
    animation: fadeIn 1s ease-out forwards;
    animation-delay: 0.5s;
}

/* Research Section */
.research-section {
    padding: 100px 20px;
    text-align: center;
    background: linear-gradient(180deg, #0a0a0a 0%, #111111 100%);
}

.research-section h2 {
    font-size: 2.5em;
    margin-bottom: 50px;
    color: #00F2FF;
    position: relative;
    display: inline-block;
}

.research-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #00F2FF, transparent);
}

.research-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.card {
    background: linear-gradient(145deg, #1a1f25, #141414);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(0, 242, 255, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(0, 242, 255, 0.2);
}

.card:hover::before {
    transform: translateX(100%);
}

.card h3 {
    font-size: 1.5em;
    color: #00F2FF;
    margin-bottom: 15px;
}

.card p {
    color: #b0b0b0;
    font-size: 1.1em;
    line-height: 1.6;
}

/* Publications Section */
.publications-section {
    padding: 100px 20px;
    text-align: center;
    background: linear-gradient(0deg, #0a0a0a 0%, #111111 100%);
}

.publications-section h2 {
    font-size: 2.5em;
    margin-bottom: 30px;
    color: #00F2FF; /* Updated color for the title */
}

.publications-section p {
    font-size: 1.2em;
    color: #888;
    position: relative;
    display: inline-block;
}

.publications-section p::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: #00F2FF; /* Updated color for the underline */
    transition: width 0.3s;
    margin: 10px auto 0;
}

.publications-section p:hover::after {
    width: 100%;
}

/* Footer */
footer {
    text-align: center;
    padding: 30px 0;
    background: #0a0a0a;
    color: #666;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Animations */
@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Responsive Design */
@media (max-width: 768px) {
    header.hero-section h1 {
        font-size: 3em;
    }

    header.hero-section p {
        font-size: 1.2em;
    }

    .research-grid {
        grid-template-columns: 1fr;
        padding: 10px;
    }
}