/*.responsive-iframe-container {
    position: relative;
    padding-bottom: 60%;
    height: 0;
    overflow: hidden;
} */

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

/* ==================== */
/* Base & Desktop Styles */
/* ==================== */
:root {
    --primary-color: #255C4E;
    --secondary-color: #E7F2E0;
    --text-color: #333;
    --light-text: white;
}

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

body,
html {
    height: 100%;
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
}

/* Header - Desktop */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    width: 100%;
    box-sizing: border-box;
    z-index: 100;
    background-color: var(--primary-color);
}

.home-page .header {
    position: absolute;
    background-color: transparent;
}

.logo {
    margin-right: auto;
}

.logo img {
    height: 100px;
    width: auto;
}

/* Navigation - Desktop */
.navbar {
    display: flex;
    margin-left: auto;
    gap: 10px;
}

.navbar a {
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.navbar a:hover {
    color: #ddd;
    transform: translateY(-2px);
}

.navbar a.active {
    color: white;
    font-weight: bold;
    border-bottom: 2px solid white;
}

/* Menu Toggle Button (Hidden on Desktop) */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 5px 10px;
}

/* Hero Image - Desktop */
.hero-image {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("Images/Homepage/FrontOfCampus.jpeg");
    height: 80vh;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.hero-text {
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
}

.hero-text h1 {
    font-size: 50px;
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 24px;
    margin-bottom: 30px;
}

.hero-text button {
    border: 2px solid white;
    outline: 0;
    display: inline-block;
    padding: 12px 30px;
    color: white;
    background-color: transparent;
    text-align: center;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
}

.hero-text button:hover {
    background-color: white;
    color: black;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    padding: 1rem;
    margin-top: 2rem;
}

.social-media a {
    color: white;
    margin: 0 0.5rem;
    text-decoration: none;
}

/* ===================== */
/* Mobile-Specific Styles */
/* ===================== */
@media (max-width: 767px) {

    /* Header */
    .header {
        padding: 10px;
        flex-wrap: wrap;
        position: relative;
    }

    .home-page .header {
        background-color: var(--primary-color);
    }

    .logo img {
        height: 60px;
    }

    .google-form {
        width: 100%;
        height: 1200px;
        border: none;
        overflow: hidden;
    }

    /* Mobile Menu Button */
    .menu-toggle {
        display: block;
        order: 2;
        margin-left: auto;
    }

    /* Navigation */
    .navbar {
        display: none;
        width: 100%;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: var(--primary-color);
        z-index: 1000;
        padding: 0;
    }

    .navbar.active {
        display: flex;
    }

    .navbar a {
        padding: 12px 20px;
        font-size: 14px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    /* Hero Section */
    .hero-image {
        height: 50vh;
        margin-top: 0;
    }

    .hero-text {
        padding-top: 20px;
        width: 100%;
    }

    .hero-text h1 {
        font-size: 24px;
        padding: 0 10px;
    }

    .hero-text p {
        font-size: 16px;
    }

    /* Content Adjustments */
    .container {
        flex-direction: column;
    }

    .button-container {
        margin-top: 15px;
    }

    .action-button {
        width: 100%;
        padding: 12px;
    }

    /* Team Grid */
    .team-grid {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }

    /* Forms */
    .contact-methods {
        flex-direction: column;
    }

    .contact-form,
    .contact-info {
        width: 100%;
    }

    /* Iframes iframe {
        width: 100% !important;
        min-height: 600px;
    }*/

}

/* ======================== */
/* Existing Content Styles */
/* ======================== */

/* Team Page Styles */
.team {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    max-width: 1200px;
    margin: 0 auto;
}

.team-section {
    margin-bottom: 3rem;
    text-align: center;
}

.team-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 1.5rem;
}

.team-member {
    text-align: center;
    width: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.team-member img {
    width: 150px;
    height: 150px;
    border-radius: 0;
    object-fit: cover;
    margin-bottom: 1rem;
}

.team-member h4 {
    margin: 0.5rem 0;
}

.team-member .role {
    font-weight: bold;
    color: var(--primary-color);
    margin: 0.3rem 0;
}

.team-member .major {
    font-style: italic;
    color: #666;
    font-size: 0.9rem;
}

.join-team {
    background-color: var(--secondary-color);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    margin-top: 2rem;
}

.cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    margin-top: 1rem;
    transition: background-color 0.3s;
}

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

/* ======================== */
/* About Page Styles */
/* ======================== */


.about-content {
    text-align: left;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    line-height: 1.6;
    color: var(--text-color);
}

.about-content h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.about-content h3 {
    color: var(--primary-color);
    margin: 1.5rem 0 1rem;
    font-size: 1.5rem;
}

.about-content p {
    margin-bottom: 1.2rem;
}

.about-content ul,
.about-content ol {
    margin: 1.2rem 0;
    padding-left: 2rem;
    /* Increased from default */
}

.about-content li {
    margin-bottom: 0.5rem;
    padding-left: 0.5rem;
}

/* Adjust bullet points to align better with text */
.about-content ul {
    list-style-position: outside;
    padding-left: 1.5rem;
    /* Better alignment with paragraph text */
}

/* For numbered lists */
.about-content ol {
    list-style-position: outside;
    padding-left: 1.8rem;
}

.about-content iframe {
    width: 100%;
    height: 1500px;
    border: none;
    overflow: hidden;
}



/* Stats section */
.stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    /* Reduced from 10rem for better mobile */
    margin: 2rem 1rem;
    text-align: center;
    flex-wrap: wrap;
    /* Allows stats to wrap on mobile */
}

.stat-item {
    min-width: 120px;
}

.stat-item h4 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin: 0;
}

.stat-item p {
    font-size: 1rem;
    color: var(--text-color);
    margin-top: 0.5rem;
}

/* Responsive adjustments for about section */
@media (max-width: 767px) {
    .about-content {
        padding: 20px 15px;
    }

    .about-content ul,
    .about-content ol {
        padding-left: 1.2rem;
    }

    .stats {
        gap: 1.5rem;
    }

    .stat-item h4 {
        font-size: 2rem;
    }
}

/* Main page button */
.container {
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 800px;
}

.image-container {
    flex: 1;
}

.image-container img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

.button-container {
    flex: 1;
    text-align: center;
}

.action-button {
    padding: 12px 24px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.action-button:hover {
    background-color: #45a049;
}

/* Contact Page Styles */
.contact {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.contact-methods {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.contact-info h3,
.contact-form h3 {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
    margin-top: 0;
}

.social-links a {
    display: inline-block;
    margin-right: 1rem;
    color: var(--primary-color);
    text-decoration: none;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.submit-btn {
    background-color: var(--primary-color);
    color: white;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}

.meeting-times {
    background-color: var(--secondary-color);
    padding: 1.5rem;
    border-radius: 8px;
}

.form-container {
    position: relative;
    width: 100%;
    padding-bottom: 120%;
    /* Adjust based on form length */
    height: 0;
    overflow: hidden;
    margin: 1rem 0;
}

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

.google-form-wrapper {
    width: 100%;
    overflow: hidden;
    margin: 10px 0;
    border: 1px solid #eee;
    border-radius: 8px;
}

#google-form-iframe {
    width: 100%;
    height: 1200px;
    /* Default fallback height */
    border: none;
}