/* research.css */

/* Importing variables and global styles */
@import url('css/global/reset.css');
@import url('css/global/variables.css');
@import url('css/global/global.css');
@import url('css/layout/layout.css');
@import url('css/components/header.css');
@import url('css/components/footer.css');
@import url('css/components/buttons.css');
@import url('css/components/forms.css');
@import url('css/components/cards.css');
@import url('css/utilities/utilities.css');
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

/* Custom Styles for Research Page */
body {
    background: var(--color-background);
    color: var(--color-text-primary);
    font-family: var(--font-family-sans);
    margin: 0;
    padding: 0;
}

header {
    background-color: var(--color-primary);
    color: var(--color-text-light);
    padding: var(--spacing-md) var(--spacing-lg);
    box-shadow: var(--shadow-md);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: background-color var(--transition-fast);
}

header nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

header nav ul li {
    margin-right: var(--spacing-md);
}

header nav ul li a {
    color: var(--color-text-light);
    text-decoration: none;
    transition: color var(--transition-fast);
    font-family: var(--font-family-futuristic);
    font-weight: 700;
}

header nav ul li a:hover, header nav ul li a:focus {
    color: var(--color-accent);
}

#hero {
    position: relative;
    width: 100%;
    height: 85vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

#hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

.hero-text {
    color: var(--color-text-light);
    text-shadow: 0 0 10px var(--color-accent);
}

.hero-text h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 5em;
    margin: 0;
    animation: glow 1.5s ease-in-out infinite alternate;
    color: var(--color-text-light); /* Ensuring the text is white */
}

main {
    padding: var(--spacing-lg) var(--spacing-md);
    margin-top: var(--spacing-xxl);
}

section#researchs {
    margin-bottom: var(--spacing-xl);
    text-align: center; /* Centering the Research Summaries section */
}

section#researchs h2 {
    font-family: var(--font-family-futuristic);
    font-size: var(--font-size-h2);
    color: var(--color-secondary);
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

section#researchs article {
    background: var(--color-background);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    margin-bottom: var(--spacing-lg);
    padding: var(--spacing-md);
    transition: box-shadow var(--transition-fast), transform var(--transition-fast);
    max-width: 800px; /* Center the articles */
    margin-left: auto;
    margin-right: auto;
}

section#researchs article:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

section#researchs h3 {
    font-family: var(--font-family-futuristic);
    font-size: var(--font-size-h3);
    color: var (--color-primary);
    margin-top: 0;
}

section#researchs p {
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
}

section#research-collaboration {
    text-align: center;
    padding: var(--spacing-lg) var(--spacing-md);
    background: var(--gradient-secondary);
    color: var(--color-text-light);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
    margin-bottom: var(--spacing-xl);
}

section#research-collaboration h2 {
    font-family: var(--font-family-futuristic);
    font-size: var(--font-size-h2);
    margin-bottom: var(--spacing-md);
}

section#research-collaboration p {
    font-size: var(--font-size-base);
    margin-bottom: var(--spacing-md);
}

section#research-collaboration .collaboration {
    background: rgba(255, 255, 255, 0.1);
    padding: var(--spacing-md);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    margin-bottom: var(--spacing-lg);
    transition: box-shadow var(--transition-fast), transform var(--transition-fast);
}

section#research-collaboration .collaboration:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

section#research-collaboration h3 {
    font-family: var(--font-family-futuristic);
    font-size: var(--font-size-h3);
    margin-bottom: var(--spacing-sm);
    color: var(--color-text-light);
}

section#research-collaboration p {
    font-family: var(--font-family-sans);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
}

footer {
    background: var(--gradient-primary);
    color: var(--color-text-light);
    text-align: center;
    padding: var(--spacing-md);
    box-shadow: var(--shadow-md);
    position: fixed;
    bottom: 0;
    width: 100%;
}

footer p {
    margin: 0;
}

/* Animations */
@keyframes glow {
    0% { text-shadow: 0 0 5px var(--color-accent); }
    100% { text-shadow: 0 0 20px var(--color-accent); }
}

.collaboration h3 a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.collaboration h3 a:hover {
    color: var(--color-highlight);
}
