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

body {
    font-family: 'Arial', sans-serif;
    background-color: #121212;
    color: #ffffff;
    line-height: 1.6;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
}

.background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    animation: fadeIn 5s ease-in-out; /* Added animation */
}

.hero-content {
    position: relative;
    z-index: 1;
    animation: fadeIn 2s ease-in-out;
}

.logo {
    max-width: 3000px;
    width: 100%;
    height: auto;
    margin-bottom: 20px;
    animation: fadeIn 1s ease-in-out;
}

.cta-button {
    display: inline-block;
    background-color: #444444;
    color: #ffffff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #666666;
}

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

/* Navbar */
.navbar {
    background-color: #111111;
    color: #ffffff;
    padding: 10px;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar ul {
    list-style: none;
}

.navbar li {
    display: inline;
    margin: 0 15px;
}

.navbar a {
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    position: relative;
    padding: 5px;
    transition: color 0.3s;
}

.navbar a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: #666666;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s;
}

.navbar a:hover {
    color: #cccccc;
}

.navbar a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* About Section */
.about-section {
    padding: 60px 20px;
    text-align: center;
    background-color: #121212;
    color: #ffffff;
    line-height: 1.8;
    border-bottom: 2px solid #333333;
    position: relative;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 80%;
    height: 100%;
    background: url('https://cdn.glitch.global/aef0ccba-6bd8-4c5c-842e-2fb4cccd7854/Tetractys.svg.png?v=1731380421040') center/cover;
    opacity: 0;
    transform: translateX(-50%);
}

.about-section h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    text-transform: uppercase;
    color: #f1f1f1;
    letter-spacing: 1px;
}

.about-section .intro {
    font-size: 1.4em;
    margin-bottom: 20px;
}

.about-section .mission {
    font-size: 1.2em;
    margin-bottom: 30px;
}

.core-values {
    margin: 40px 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.core-values h3 {
    font-size: 1.8em;
    margin-bottom: 15px;
    color: #f1f1f1;
}

.core-values ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.core-values ul li {
    font-size: 1.1rem;
    background-color: #222222;
    padding: 10px 15px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.core-values ul li::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, transparent, #333333);
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s;
}

.core-values ul li:hover::after {
    opacity: 0.1;
}

/* Fellows Section */
.fellows-section {
    padding: 60px;
    background-color: #121212;
    color: #ffffff;
}

.fellows-section h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    text-align: center;
    color: #f1f1f1;
}
.fellows-section .intro {
    font-size: 1.2em; /* Matches the font size of the About section */
    margin-bottom: 20px; /* Adds spacing similar to the About section */
    line-height: 1.8; /* Matches line spacing for better readability */
    color: #ffffff; /* Keeps the text color consistent */
}


.fellow-item {
    cursor: pointer;
    padding: 20px;
    margin-bottom: 10px;
    border: 1px solid #333333;
    background: linear-gradient(145deg, #1d1d1d, #222222);
    border-radius: 10px;
    transition: all 0.3s ease;
    position: relative;
}

.fellow-item::before,
.fellow-item::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: #666666;
    transition: all 0.3s ease;
}

.fellow-item::before {
    top: 0;
    left: 0;
}

.fellow-item::after {
    bottom: 0;
    right: 0;
}

.fellow-item:hover {
    transform: translateY(-5px);
    background: linear-gradient(145deg, #222222, #1d1d1d);
}

.fellow-item.open .fellow-bio {
    display: block;
    margin-top: 10px;
    color: #dddddd;
    border-top: 1px solid #333333;
    padding-top: 10px;
}

.fellow-item.open::before {
    width: 100%;
}

.fellow-item.open::after {
    width: 100%;
}

.fellow-item:hover::before,
.fellow-item:hover::after {
    width: 100%;
}

/* Projects Section */
.projects-section {
    padding: 60px;
    background-color: #1a1a1a;
    text-align: center;
}

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

.project-item {
    background-color: #222222;
    border: 1px solid #444444;
    padding: 20px;
    border-radius: 8px;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.project-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #444444, #222222);
    opacity: 0;
    transition: opacity 0.3s;
}

.project-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.project-item:hover::before {
    opacity: 0.2;
}

/* Footer */
.footer {
    text-align: center;
    padding: 20px;
    background-color: #111111;
    color: #ffffff;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 80%;
    height: 100%;
    background: url('path-to-your-geometric-pattern.png') center/cover;
    opacity: 0.05;
    transform: translateX(-50%);
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-section, .fellows-section, .projects-section {
        padding: 40px 15px;
    }

    .about-section h2, .fellows-section h2, .projects-section h2 {
        font-size: 2rem;
    }

    .core-values ul li {
        font-size: 1rem;
    }
}

/* Blog Section */
.blog-section {
    padding: 60px;
    background-color: #1a1a1a;
    color: #ffffff;
    text-align: center;
}

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



.blog-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.blog-post {
    background: #222222; 
    padding: 20px; 
    border-radius: 8px; 
    border: 1px solid #444444; 
    line-height: 1.6; 
    font-size: 1em; 
    color: #dddddd; 
    margin-bottom: 30px;
}
.blog-post p {
    margin-bottom: 1em;
}
.blog-post blockquote {
    background: rgba(255,255,255,0.1);
    border-left: 4px solid #66ccff;
    padding: 15px;
    margin: 1em 0;
    font-style: italic;
}

.read-more {
    display: inline-block;
    margin-top: 10px;
    color: #ffffff;
    text-decoration: underline;
    transition: color 0.3s;
}

.read-more:hover {
    color: #cccccc;
}

/* Donations Section */
.donations-section {
    padding: 60px;
    background-color: #121212;
    color: #ffffff;
    text-align: center;
}

.donate-button {
    display: inline-block;
    background-color: #222222;
    color: #000000;
    padding: 15px 30px;
    text-decoration: none;
    font-size: 1.2em;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.donate-button:hover {
    background-color: #ff6347;
}

