/* Reset default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Global styles */
:root {
    --primary-color: #edce34;
    --secondary-color: #333;
    --light-color: #f8f8f8;
    --white-color: #fdfdfd;
    --accent-color: #d2a126;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--secondary-color);
    overflow-x: hidden;
}

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

.section-padding {
    padding: 100px 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    font-weight: 600;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.bg-light {
    background-color: var(--light-color);
}

/* Header styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--primary-color);
    box-shadow: var(--box-shadow);
    z-index: 1000;
    transition: var(--transition);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links li a {
    text-decoration: none;
    color: var(--secondary-color);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 5px 0;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--white-color);
    transition: var(--transition);
}

.nav-links li a:hover {
    color: var(--white-color);
}

.nav-links li a:hover::after {
    width: 100%;
}

/* Hero section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--white-color);
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    overflow: hidden;
    white-space: nowrap;
    border-right: 0.15em solid var(--accent-color);
    letter-spacing: 0.1em;
    animation: typing 3.5s steps(40, end), blink-caret 0.75s step-end infinite;
    max-width: 100%;
    margin: 0 auto;
}

@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: var(--accent-color) }
}

/* Hero Video Section */
.hero-video {
    padding: 80px 0;
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Interviews Section */
.interview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 30px;
}

.interview-item {
    margin-bottom: 30px;
    transition: var(--transition);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    background-color: var(--white-color);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 ratio */
    height: 0;
    overflow: hidden;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.interview-item h3 {
    padding: 20px;
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
}

/* Accordion Section */
.accordion {
    max-width: 1000px;
    margin: 0 auto;
}

.accordion-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    background-color: var(--white-color);
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: var(--white-color);
    cursor: pointer;
    transition: var(--transition);
}

.accordion-header h3 {
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0;
}

.accordion-icon {
    font-size: 1.2rem;
    transition: var(--transition);
}

.accordion-content {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-content p {
    padding: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.accordion-item.active .accordion-icon {
    transform: rotate(45deg);
}

.accordion-item.active .accordion-content {
    max-height: 1000px;
}

/* Members Section */
.member-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.member-card {
    background-color: var(--white-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.member-card:hover {
    transform: translateY(-10px);
}

.member-img {
    position: relative;
    overflow: hidden;
    height: 300px;
}

.member-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.member-card:hover .member-img img {
    transform: scale(1.05);
}

.member-info {
    padding: 20px;
}

.member-info h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
    font-weight: 600;
}

.member-major {
    color: var(--accent-color);
    font-weight: 500;
    margin-bottom: 15px;
    font-size: 1rem;
}

.member-desc {
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Resources Section */
.resource-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.resource-card {
    background-color: var(--white-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    text-decoration: none;
    color: var(--secondary-color);
    display: block;
}

.resource-card:hover {
    transform: translateY(-10px);
}

.resource-img {
    height: 180px;
    overflow: hidden;
}

.resource-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.resource-card:hover .resource-img img {
    transform: scale(1.05);
}

.resource-content {
    padding: 20px;
}

.resource-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.resource-link {
    color: var(--accent-color);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background-color: var(--white-color);
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    text-decoration: none;
    color: var(--secondary-color);
}

.contact-card:hover {
    transform: translateY(-5px);
    background-color: var(--primary-color);
}

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

/* Footer */
footer {
    background-color: var(--secondary-color);
    padding: 30px 0;
    color: var(--white-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white-color);
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 99;
    box-shadow: var(--box-shadow);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--accent-color);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1001;
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 800px;
    width: 90%;
    background-color: var(--white-color);
    padding: 20px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

.close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--secondary-color);
    transition: var(--transition);
}

.close:hover {
    color: var(--accent-color);
}

#modal-video {
    width: 100%;
    max-height: 70vh;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .section-title {
        font-size: 2.2rem;
    }
    
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .interview-grid {
        grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    }
}

@media (max-width: 768px) {
    .header-container {
        position: relative;
        padding: 20px 20px;
    }
    
    .menu-toggle {
        display: block;
    }
    
    nav {
        position: absolute;
        top: 100%;
        right: 0;
        background-color: var(--primary-color);
        width: 100%;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        box-shadow: var(--box-shadow);
    }
    
    nav.active {
        max-height: 400px;
    }
    
    .nav-links {
        flex-direction: column;
        gap: 0;
    }
    
    .nav-links li {
        width: 100%;
    }
    
    .nav-links li a {
        display: block;
        padding: 15px 20px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
        white-space: normal;
        border-right: none;
        animation: none;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .interview-grid {
        grid-template-columns: 1fr;
    }
    
    .accordion-header h3 {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .section-padding {
        padding: 70px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .member-grid, .resource-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .back-to-top {
        width: 40px;
        height: 40px;
        bottom: 20px;
        right: 20px;
    }
}