/* Reset default browser styles */
body, h1, h2, h3, h4, p, ul {
    margin: 0;
    padding: 0;
    list-style: none;
    box-sizing: border-box;
}

/* Global Settings */
body {
    font-family: 'Arial', sans-serif;
    color: #ffffff;
    background-color: #0d0d0d;
    line-height: 1.6;
    font-size: 16px; /* Adjust the base font size */
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

/* Container */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header */
.site-header {
    background-color: #1a1a1a;
    padding: 15px 0;
    border-bottom: 1px solid #333;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #0fffff;
}

.nav-menu {
    display: flex;
    gap: 15px;
}

.nav-menu ul {
    display: flex;
    gap: 15px;
    flex-wrap: wrap; /* Adjust for smaller screens */
}

.nav-menu a {
    text-decoration: none;
    color: #0fffff;
    transition: color 0.3s ease;
    font-size: 18px; /* Increase link size for readability */
}

.nav-menu a:hover {
    color: #66ffff;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 60px 20px; /* Reduced padding for better spacing */
    background: linear-gradient(135deg, #1a1a1a, #333333);
}

.hero-title {
    font-size: 36px; /* Adjusted for mobile readability */
    color: #0fffff;
    margin-bottom: 15px; /* Space between title and subtitle */
}

.hero-subtitle {
    font-size: 20px;
    color: #cccccc;
    margin: 0 auto 20px;
    max-width: 800px; /* Limit paragraph width for readability */
    line-height: 1.8;
}

/* CTA Button */
.cta-button {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 25px;
    background-color: #0fffff;
    color: #0d0d0d;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-size: 18px;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #66ffff;
}

/* About Section */
.about-section {
    padding: 60px 20px;
    background-color: #121212;
}

.about-section h3 {
    font-size: 30px;
    color: #0fffff;
    margin-bottom: 20px;
    text-align: center;
}

.about-section p {
    font-size: 18px; /* Slightly larger font size for readability */
    color: #cccccc;
    max-width: 800px;
    margin: 0 auto 20px;
    line-height: 1.8;
}

/* Research Highlights */
.research-highlights {
    padding: 60px 20px;
    background-color: #121212;
}

.research-highlights h3 {
    font-size: 30px;
    color: #0fffff;
    margin-bottom: 30px;
    text-align: center;
}

.research-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.research-card {
    background-color: #1f1f1f;
    padding: 20px;
    border: 1px solid #333;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.research-card h4 {
    font-size: 24px;
    color: #0fffff;
    margin-bottom: 10px;
}

.research-card p {
    color: #cccccc;
    font-size: 16px; /* Standard text size */
}

.research-card:hover {
    transform: translateY(-10px);
}

/* Footer */
.site-footer {
    padding: 20px;
    background-color: #1a1a1a;
    text-align: center;
    border-top: 1px solid #333;
}

.site-footer p {
    color: #cccccc;
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .cta-button {
        font-size: 16px;
        padding: 8px 20px;
    }

    .about-section p {
        font-size: 16px;
    }

    .nav-menu ul {
        flex-direction: column;
        gap: 10px;
        align-items: center; /* Center-align links on small screens */
    }
}
/* Research Page Styling */
.research-page {
    padding: 60px 20px;
    background-color: #121212;
}

.research-title {
    font-size: 36px;
    color: #0fffff;
    text-align: center;
    margin-bottom: 40px;
}

.research-topic {
    margin-bottom: 40px;
    padding: 20px;
    background-color: #1f1f1f;
    border: 1px solid #333;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.1);
}

.research-topic h3 {
    font-size: 28px;
    color: #0fffff;
    margin-bottom: 20px;
}

.research-topic p {
    font-size: 18px;
    color: #cccccc;
    line-height: 1.8;
}

/* Call to Researchers Section */
.call-to-researchers {
    padding: 60px 20px;
    background: linear-gradient(135deg, #1a1a1a, #333333);
    text-align: center;
}

.call-to-researchers h2 {
    font-size: 32px;
    color: #0fffff;
    margin-bottom: 20px;
}

.call-to-researchers p {
    font-size: 18px;
    color: #cccccc;
    max-width: 800px;
    margin: 0 auto 20px;
    line-height: 1.8;
}

.cta-button {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 25px;
    background-color: #0fffff;
    color: #0d0d0d;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-size: 18px;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #66ffff;
}

/* Responsive Design */
@media (max-width: 768px) {
    .research-title {
        font-size: 28px;
    }

    .research-topic h3 {
        font-size: 24px;
    }

    .call-to-researchers h2 {
        font-size: 28px;
    }

    .cta-button {
        font-size: 16px;
        padding: 10px 20px;
    }
}

/* Archived Research Section */
.archived-research {
    padding: 60px 20px;
    background-color: #1a1a1a;
    text-align: center;
    color: #ffffff;
}

.archived-research h2 {
    font-size: 32px;
    color: #0fffff;
    margin-bottom: 20px;
}

.archived-research p {
    font-size: 18px;
    color: #cccccc;
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

/* Professor Image Styling */
.professor-image {
    max-width: 600px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.2);
}

.professor-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .archived-research h2 {
        font-size: 28px;
    }

    .archived-research p {
        font-size: 16px;
    }

    .professor-image {
        max-width: 90%;
    }
}

/* Open Projects Section */
.open-projects {
    padding: 60px 20px;
    background-color: #1a1a1a;
    color: #ffffff;
}

.open-projects h2 {
    font-size: 32px;
    color: #0fffff;
    text-align: center;
    margin-bottom: 40px;
}

/* Project Section Styling */
.project-section {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 60px;
    padding: 20px;
    background-color: #1f1f1f;
    border: 1px solid #333;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.1);
}

.project-text {
    flex: 1;
    max-width: 600px;
}

.project-text h3 {
    font-size: 28px;
    color: #0fffff;
    margin-bottom: 20px;
}

.project-text p {
    font-size: 18px;
    color: #cccccc;
    line-height: 1.8;
}

/* Project Image Styling */
.project-image {
    flex: 1;
    max-width: 400px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.2);
}

.project-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .project-section {
        flex-direction: column;
        align-items: center;
    }

    .project-text, .project-image {
        max-width: 100%;
        text-align: center;
    }

    .open-projects h2 {
        font-size: 28px;
    }

    .project-text h3 {
        font-size: 24px;
    }

    .project-text p {
        font-size: 16px;
    }
}

/* Contact Page Section */
.contact-page {
    padding: 60px 20px;
    background-color: #1a1a1a;
    color: #ffffff;
}

.contact-page h2 {
    font-size: 32px;
    color: #0fffff;
    text-align: center;
    margin-bottom: 20px;
}

.contact-page p {
    font-size: 18px;
    color: #cccccc;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

/* Contact Form Styling */
.contact-form-container {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.contact-form {
    width: 100%;
    max-width: 600px;
    padding: 20px;
    background-color: #1f1f1f;
    border-radius: 8px;
    border: 1px solid #333;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.1);
}

.contact-form label {
    display: block;
    font-size: 16px;
    margin-bottom: 8px;
    color: #0fffff;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #333;
    border-radius: 5px;
    background-color: #2a2a2a;
    color: #ffffff;
    font-size: 16px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #888;
}

.contact-form button {
    width: 100%;
    padding: 12px;
    background-color: #0fffff;
    color: #0d0d0d;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-form button:hover {
    background-color: #66ffff;
}

/* Contact Information Styling */
.contact-info {
    text-align: center;
    margin-top: 40px;
}

.contact-info h3 {
    font-size: 24px;
    color: #0fffff;
    margin-bottom: 20px;
}

.contact-info p {
    font-size: 18px;
    color: #cccccc;
    margin-bottom: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-page h2 {
        font-size: 28px;
    }

    .contact-form label,
    .contact-info h3 {
        font-size: 18px;
    }

    .contact-form button {
        font-size: 16px;
        padding: 10px;
    }
}

/* Banner Section */
#banner {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.banner-container {
    position: relative;
    width: 100%;
    height: 60vh; /* Adjust height as needed */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Makes sure the image covers the container */
}

.banner-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #ffffff;
    background-color: rgba(0, 0, 0, 0.5); /* Darken overlay for readability */
    padding: 20px;
    border-radius: 8px;
}

/* Banner Text */
.banner-overlay h1 {
    font-size: 36px;
    margin-bottom: 10px;
    color: #0fffff;
}

.banner-overlay p {
    font-size: 20px;
    color: #cccccc;
}

/* Responsive Design */
@media (max-width: 768px) {
    .banner-overlay h1 {
        font-size: 28px;
    }

    .banner-overlay p {
        font-size: 16px;
    }

    .banner-container {
        height: 40vh; /* Adjust for mobile view */
    }
}

a[aria-label="Follow us on X"] img {
    display: inline-block;
    border-radius: 50%; /* Optional: make it circular */
    transition: transform 0.3s ease, opacity 0.3s ease;
}

a[aria-label="Follow us on X"]:hover img {
    transform: scale(1.1); /* Slight zoom on hover */
    opacity: 0.8; /* Reduce opacity on hover */
}
