@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

/* General font and body styles */
.font-inter {
    font-family: 'Inter', sans-serif;
}

.homepage-content {
    background: linear-gradient(135deg, #f0f0f0, #e6e6e6);
}

/* Home Page Specific Styles */
.banner {
    background-color: #5a2d82;
    color: white;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    margin: 1.5rem 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.committee-member {
    border: 1px solid #d1d5db;
    border-radius: 0.75rem;
    padding: 1rem;
    text-align: center;
    background-color: #ffffff;
    transition: transform 0.2s ease-in-out;
    width: 180px;
}

.committee-member:hover {
    transform: translateY(-5px);
}

.committee-member img {
    border-radius: 0.75rem;
    width: 100%;
    height: 180px;
    object-fit: contain;
    margin: 0 auto 1rem;
}

/* Fix for mobile layout of committee members */
@media (max-width: 767px) {
    .flex.justify-center {
        flex-wrap: wrap;
    }
    .committee-member {
        width: 48%; /* Adjust based on desired layout, e.g., 2 per row */
        margin-bottom: 1rem;
    }
}

/* Quiz and Memory Verse Page Specific Styles */
.content-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
}

@media (min-width: 768px) {
    .content-container {
        flex-direction: row;
        gap: 2rem;
        padding: 2rem;
    }
}

.sidebar {
    width: 100%;
    background-color: #e6e6e6;
    padding: 1rem;
    border-radius: 0.5rem;
}

@media (min-width: 768px) {
    .sidebar {
        width: 250px;
        flex-shrink: 0;
    }
}

.sidebar h2 {
    font-weight: 600;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.sidebar ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.sidebar ul li a {
    display: block;
    padding: 0.75rem 1rem;
    background-color: #fff;
    border-radius: 0.5rem;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: background-color 0.2s;
}

.sidebar ul li a:hover {
    background-color: #f0f0f0;
}

.main-content {
    flex-grow: 1;
    width: 100%;
}

#contentFrame, #epaper-frame {
    width: 100%;
    height: 80vh;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    transition: opacity 0.3s ease;
}

.iframe-container {
    width: 100%;
    height: 800px;
    border: 1px solid #ddd;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* 3D Button Styles */
.btn-3d {
    background-color: #6a0dad;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: bold;
    box-shadow: 0 5px 0 #4a007f;
    transition: transform 0.1s ease-in-out, box-shadow 0.1s ease-in-out;
    cursor: pointer;
    display: inline-block;
}

.btn-3d:active {
    transform: translateY(5px);
    box-shadow: 0 0 0 #4a007f;
}
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

/* General font and body styles */
.font-inter {
    font-family: 'Inter', sans-serif;
}

.homepage-content {
    background: linear-gradient(135deg, #f0f0f0, #e6e6e6);
}

/* Home Page Specific Styles */
.banner {
    background-color: #5a2d82;
    color: white;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    margin: 1.5rem 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.committee-member {
    border: 1px solid #d1d5db;
    border-radius: 0.75rem;
    padding: 1rem;
    text-align: center;
    background-color: #ffffff;
    transition: transform 0.2s ease-in-out;
    width: 180px;
}

.committee-member:hover {
    transform: translateY(-5px);
}

.committee-member img {
    border-radius: 0.75rem;
    width: 100%;
    height: 180px;
    object-fit: contain;
    margin: 0 auto 1rem;
}

/* Fix for mobile layout of committee members */
@media (max-width: 767px) {
    .flex.justify-center {
        flex-wrap: wrap;
    }
    .committee-member {
        width: 48%; /* Adjust based on desired layout, e.g., 2 per row */
        margin-bottom: 1rem;
    }
}

/* Quiz and Memory Verse Page Specific Styles */
.content-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
}

@media (min-width: 768px) {
    .content-container {
        flex-direction: row;
        gap: 2rem;
        padding: 2rem;
    }
}

.sidebar {
    width: 100%;
    background-color: #e6e6e6;
    padding: 1rem;
    border-radius: 0.5rem;
}

@media (min-width: 768px) {
    .sidebar {
        width: 250px;
        flex-shrink: 0;
    }
}

.sidebar h2 {
    font-weight: 600;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.sidebar ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.sidebar ul li a {
    display: block;
    padding: 0.75rem 1rem;
    background-color: #fff;
    border-radius: 0.5rem;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: background-color 0.2s;
}

.sidebar ul li a:hover {
    background-color: #f0f0f0;
}

.main-content {
    flex-grow: 1;
    width: 100%;
}

#contentFrame, #epaper-frame {
    width: 100%;
    height: 80vh;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    transition: opacity 0.3s ease;
}

.iframe-container {
    width: 100%;
    height: 800px;
    border: 1px solid #ddd;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* 3D Button Styles */
.btn-3d {
    background-color: #6a0dad;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: bold;
    box-shadow: 0 5px 0 #4a007f;
    transition: transform 0.1s ease-in-out, box-shadow 0.1s ease-in-out;
    cursor: pointer;
    display: inline-block;
}

.btn-3d:active {
    transform: translateY(5px);
    box-shadow: 0 0 0 #4a007f;
}

/* New responsive styles for training.html */
/* Two-column layout on larger screens */
.training-container {
    display: flex;
    flex-direction: row;
    gap: 2rem;
}

/* Single-column layout on smaller screens */
@media (max-width: 767px) {
    .training-container {
        flex-direction: column;
    }
}

/* Styles for the video list sidebar */
.video-sidebar {
    width: 100%;
    background-color: #e6e6e6;
    padding: 1rem;
    border-radius: 0.5rem;
}

@media (min-width: 768px) {
    .video-sidebar {
        width: 250px;
        flex-shrink: 0;
    }
}

.video-sidebar ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.video-sidebar ul li a {
    display: block;
    padding: 0.75rem 1rem;
    background-color: #fff;
    border-radius: 0.5rem;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: background-color 0.2s;
}

.video-sidebar ul li a:hover {
    background-color: #f0f0f0;
}

/* Styles for the video player section */
.video-player-section {
    flex-grow: 1;
    width: 100%;
    background-color: #fff;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    min-height: 400px; /* Ensures a good height even with no video */
}

/* Responsive iframe for 16:9 aspect ratio */
.responsive-iframe-container {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 aspect ratio */
}

.responsive-iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 0.5rem;
}
/* New CSS for responsive video player */
.video-player-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* This maintains a 16:9 aspect ratio */
}

.video-player {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 0.5rem;
}