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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #ffffff; /* Clean white background */
    min-height: 100vh;
}

.container {
    min-height: 100vh;
}

/* Header and logo positioning */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(30, 58, 138, 0.1);
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Navigation and dropdown styles */
.navigation {
    display: flex;
    gap: 30px;
    align-items: center;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-btn {
    background: none;
    border: none;
    color: #1e3a8a;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    padding: 10px 15px;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
}

.dropdown-btn:hover {
    background-color: rgba(30, 58, 138, 0.1);
    color: #1e40af;
}

.dropdown-btn::after {
    content: '▼';
    margin-left: 8px;
    font-size: 12px;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-btn::after {
    transform: rotate(180deg);
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: white;
    min-width: 300px;
    max-height: 400px;
    overflow-y: auto;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    z-index: 1001;
    border: 1px solid rgba(30, 58, 138, 0.1);
}

.dropdown:hover .dropdown-content {
    display: block;
    animation: fadeInDown 0.3s ease;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-content a {
    color: #1e3a8a;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    transition: background-color 0.2s ease;
    border-bottom: 1px solid rgba(30, 58, 138, 0.05);
}

.dropdown-content a:last-child {
    border-bottom: none;
}

.dropdown-content a:hover {
    background-color: rgba(30, 58, 138, 0.1);
    color: #1e40af;
}

/* Subject item styling */
.subject-item {
    position: relative;
}

.subject-item > a {
    display: block;
    padding: 12px 16px;
    color: #1e3a8a;
    text-decoration: none;
    transition: background-color 0.2s ease;
    border-bottom: 1px solid rgba(30, 58, 138, 0.05);
    position: relative;
}

.subject-item > a:hover {
    background-color: rgba(30, 58, 138, 0.1);
    color: #1e40af;
}

.subject-item > a::after {
    content: '▶';
    float: right;
    font-size: 12px;
    transition: transform 0.2s ease;
}

.subject-item:hover > a::after {
    transform: rotate(90deg);
}

/* Subject levels (HL/SL) styling */
.subject-levels {
    display: none;
    position: absolute;
    left: 100%;
    top: 0;
    background-color: #f8f9fa;
    min-width: 120px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    border: 1px solid rgba(30, 58, 138, 0.1);
    z-index: 1002;
    overflow: visible;
    padding: 8px;
}

/* Make sure folders are visible when shown */
.subject-levels[style*="display: block"] {
    display: block !important;
}

.level-folder {
    margin-bottom: 4px;
}

.level-folder:last-child {
    margin-bottom: 0;
}

.level-folder a {
    display: flex;
    align-items: center;
    padding: 8px 10px;
    color: #1e3a8a;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease;
    border-radius: 4px;
    background-color: white;
    border: 1px solid rgba(30, 58, 138, 0.1);
}

.level-folder a:hover {
    background-color: rgba(30, 58, 138, 0.1);
    color: #1e40af;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.folder-icon {
    font-size: 16px;
    margin-right: 8px;
    opacity: 0.8;
}

.level-folder a:hover .folder-icon {
    opacity: 1;
}

/* Grade Tracker dropdown styling */
.grade-tracker-item {
    padding: 0;
}

.grade-tracker-link {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    color: #1e3a8a;
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(30, 58, 138, 0.05);
}

.grade-tracker-link:hover {
    background-color: rgba(30, 58, 138, 0.1);
    color: #1e40af;
    text-decoration: none;
}

.grade-tracker-icon {
    font-size: 24px;
    margin-right: 15px;
    opacity: 0.8;
}

.grade-tracker-link:hover .grade-tracker-icon {
    opacity: 1;
    transform: scale(1.1);
}

.grade-tracker-text h4 {
    margin: 0 0 5px 0;
    font-size: 16px;
    font-weight: 600;
    color: inherit;
}

.grade-tracker-text p {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
    color: #666;
}

.grade-tracker-link:hover .grade-tracker-text p {
    color: #555;
}

/* Forms dropdown styling */
.dropdown-separator {
    height: 1px;
    background-color: rgba(30, 58, 138, 0.2);
    margin: 8px 0;
}

.nested-dropdown {
    position: relative;
}

.nested-dropdown-btn {
    background: none;
    border: none;
    color: #1e3a8a;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    padding: 8px 16px;
    width: 100%;
    text-align: left;
    transition: background-color 0.2s ease;
    position: relative;
}

.nested-dropdown-btn:hover {
    background-color: rgba(30, 58, 138, 0.1);
    color: #1e40af;
}

.nested-dropdown-btn::after {
    content: '▶';
    float: right;
    font-size: 10px;
    transition: transform 0.2s ease;
}

.nested-dropdown:hover .nested-dropdown-btn::after {
    transform: rotate(90deg);
}

.nested-dropdown-content {
    display: none;
    position: absolute;
    left: 100%;
    top: 0;
    background-color: #f8f9fa;
    min-width: 150px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    border: 1px solid rgba(30, 58, 138, 0.1);
    z-index: 1003;
    overflow: hidden;
}

.nested-dropdown:hover .nested-dropdown-content {
    display: block;
    animation: fadeInRight 0.3s ease;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.nested-dropdown-content a {
    display: block;
    padding: 8px 12px;
    color: #1e3a8a;
    text-decoration: none;
    font-size: 13px;
    transition: background-color 0.2s ease;
    border-bottom: 1px solid rgba(30, 58, 138, 0.05);
}

.nested-dropdown-content a:last-child {
    border-bottom: none;
}

.nested-dropdown-content a:hover {
    background-color: rgba(30, 58, 138, 0.1);
    color: #1e40af;
}

/* Subject teams section styling */
.subject-teams-section {
    margin: 40px 0;
    padding: 30px;
    background-color: #f8f9fa;
    border-radius: 12px;
    border-left: 4px solid #1e3a8a;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

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

.subject-team-card {
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e7ff;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.subject-team-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(30, 58, 138, 0.15);
}

.subject-team-card h3 {
    color: #1e3a8a;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 0 15px 0;
    text-align: center;
    padding-bottom: 10px;
    border-bottom: 2px solid #e0e7ff;
}

.team-positions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.position {
    font-size: 0.95rem;
    color: #333;
    padding: 8px 12px;
    background-color: #f8f9fa;
    border-radius: 6px;
    border-left: 3px solid #1e3a8a;
}

.position .name {
    font-weight: 500;
    color: #1e3a8a;
}

/* Updates section styling */
.updates-section {
    margin: 40px 0;
    padding: 30px;
    background-color: #f8f9fa;
    border-radius: 12px;
    border-left: 4px solid #1e3a8a;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.updates-content {
    margin-top: 20px;
}

.updates-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.update-category {
    background-color: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e7ff;
}

.update-category h3 {
    color: #1e3a8a;
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0 0 20px 0;
    text-align: center;
    padding-bottom: 15px;
    border-bottom: 2px solid #e0e7ff;
}

.update-item {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 18px;
    margin-bottom: 15px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
    border: 1px solid #e0e7ff;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.update-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(30, 58, 138, 0.15);
}

.update-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e0e7ff;
}

.update-header h4 {
    color: #1e3a8a;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.update-date {
    color: #666;
    font-size: 0.9rem;
    font-weight: 500;
    background-color: #e0e7ff;
    padding: 4px 8px;
    border-radius: 4px;
}

.update-body {
    margin-bottom: 15px;
}

.update-body p {
    color: #333;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

.update-author {
    text-align: right;
}

.author-name {
    color: #1e3a8a;
    font-size: 0.9rem;
    font-weight: 500;
    font-style: italic;
}

/* Benefits section styling */
.benefits-section {
    margin: 40px 0;
    padding: 30px;
    background-color: #f8f9fa;
    border-radius: 12px;
    border-left: 4px solid #1e3a8a;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.benefits-content {
    margin-top: 20px;
}

.benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.benefits-list li {
    background-color: #e0e7ff;
    margin: 15px 0;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #1e3a8a;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #333;
    box-shadow: 0 2px 8px rgba(30, 58, 138, 0.1);
    position: relative;
}

.benefits-list li::before {
    content: "✓";
    color: #1e3a8a;
    font-weight: bold;
    font-size: 1.2rem;
    position: absolute;
    left: -15px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #f8f9fa;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #1e3a8a;
}

/* Forms section styling */
.forms-section {
    margin: 40px 0;
    padding: 30px;
    background-color: #f8f9fa;
    border-radius: 12px;
    border-left: 4px solid #1e3a8a;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.forms-content {
    margin-top: 20px;
}

.apply-text {
    font-size: 1.1rem;
    color: #1e3a8a;
    font-weight: 500;
    text-align: center;
    padding: 20px;
    background-color: #e0e7ff;
    border-radius: 8px;
    border: 2px solid #1e3a8a;
    margin: 0 0 20px 0;
    box-shadow: 0 2px 8px rgba(30, 58, 138, 0.1);
}

.apply-link-container {
    text-align: center;
    margin-top: 20px;
}

.apply-link {
    display: inline-block;
    background-color: #1e3a8a;
    color: white;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3);
    border: 2px solid #1e3a8a;
}

.apply-link:hover {
    background-color: #1e40af;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(30, 58, 138, 0.4);
    color: white;
}

/* Subject page styling */
.subject-page {
    margin: 40px 0;
    padding: 30px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #1e3a8a;
}

.subject-page h2 {
    color: #1e3a8a;
    font-size: 2rem;
    margin-bottom: 30px;
    font-weight: 600;
    text-align: center;
}

.level-selection {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.level-option {
    text-align: center;
}

.level-card {
    display: block;
    padding: 30px 20px;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(30, 58, 138, 0.1);
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.level-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: #1e3a8a;
    text-decoration: none;
    color: inherit;
}

.level-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    opacity: 0.8;
}

.level-card:hover .level-icon {
    opacity: 1;
    transform: scale(1.1);
}

.level-card h3 {
    color: #1e3a8a;
    font-size: 1.5rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.level-card p {
    color: #666;
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
}

/* Logo icon - 2x2 grid of squares */
.logo-icon {
    width: 40px;
    height: 40px;
}

.grid-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 3px;
    width: 100%;
    height: 100%;
}

.grid-square {
    background-color: #1e3a8a; /* Dark blue color */
    border-radius: 4px; /* Rounded corners */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3); /* Soft dark shadow */
}

/* Logo text */
.logo-text {
    font-size: 28px;
    font-weight: 600;
    color: #1e3a8a; /* Dark blue color matching the icon */
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3); /* Soft dark shadow */
    letter-spacing: -0.5px;
}

/* Main content */
.main-content {
    padding: 120px 20px 20px; /* Add top padding to account for fixed header */
    max-width: 1200px;
    margin: 0 auto;
}

.main-content h1 {
    color: #333;
    margin-bottom: 20px;
    font-size: 2.5rem;
}

.main-content p {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
}


/* Mission section styling */
.mission-section {
    margin: 40px 0;
    padding: 30px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #1e3a8a;
}

.mission-section h2 {
    color: #1e3a8a;
    font-size: 2rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.mission-content p {
    color: #333;
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: justify;
    margin: 0;
}

.founder-info {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(30, 58, 138, 0.2);
    text-align: center;
}

.founder-info p {
    color: #1e3a8a;
    font-size: 1rem;
    margin: 0;
    font-style: italic;
}

/* Founder message content within mission section */
.founder-message-content {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid rgba(30, 58, 138, 0.2);
}

.founder-message-content h3 {
    color: #1e3a8a;
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.founder-message-content blockquote {
    margin: 0;
    padding: 0;
    border: none;
    position: relative;
}

.founder-message-content blockquote p {
    color: #333;
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: justify;
    margin: 0 0 20px 0;
    font-style: italic;
    position: relative;
    padding-left: 20px;
}

.founder-message-content blockquote p::before {
    content: '"';
    font-size: 3rem;
    color: #1e3a8a;
    position: absolute;
    left: -10px;
    top: -10px;
    font-family: serif;
    opacity: 0.3;
}

.founder-message-content blockquote footer {
    text-align: right;
    color: #1e3a8a;
    font-size: 1rem;
    font-weight: 600;
    font-style: italic;
    margin: 0;
    padding-right: 20px;
}

/* Team section styling */
.team-section {
    margin: 40px 0;
    padding: 30px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #1e3a8a;
}

.team-section h2 {
    color: #1e3a8a;
    font-size: 2rem;
    margin-bottom: 30px;
    font-weight: 600;
    text-align: center;
}

.team-members {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 400px;
    margin: 0 auto;
}

.team-member {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(30, 58, 138, 0.1);
    text-align: center;
}

.member-role {
    color: #1e3a8a;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.member-name {
    color: #333;
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 5px;
}

.member-position {
    color: #666;
    font-size: 0.9rem;
    font-weight: 400;
    font-style: italic;
    margin-bottom: 8px;
    line-height: 1.3;
}

.member-email {
    margin-top: 5px;
}

.member-email a {
    color: #1e3a8a;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 4px 8px;
    border-radius: 4px;
    display: inline-block;
}

.member-email a:hover {
    color: #1e40af;
    background-color: rgba(30, 58, 138, 0.1);
    text-decoration: none;
    transform: translateY(-1px);
}

/* Footer and Instagram link */
.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(30, 58, 138, 0.1);
}

.footer-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.instagram-link {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cas-link {
    display: flex;
    align-items: center;
    gap: 10px;
}

.instagram-icon {
    width: 24px;
    height: 24px;
    color: #E4405F; /* Instagram brand color */
    transition: transform 0.2s ease, color 0.2s ease;
}

.instagram-text {
    color: #1e3a8a;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.2s ease;
}

.instagram-text:hover {
    color: #E4405F;
}

.instagram-link:hover .instagram-icon {
    transform: scale(1.1);
    color: #C13584;
}

.cas-icon {
    width: 24px;
    height: 24px;
    background-color: #1e3a8a;
    color: white;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.cas-text {
    color: #1e3a8a;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.2s ease;
}

.cas-text:hover {
    color: #1e40af;
}

.founder-credit {
    text-align: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(30, 58, 138, 0.2);
}

.founder-credit p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
    font-weight: 500;
}

.cas-link:hover .cas-icon {
    transform: scale(1.1);
    background-color: #1e40af;
}

/* Add bottom padding to main content to account for fixed footer */
.main-content {
    padding: 120px 20px 100px; /* Increased bottom padding */
}

/* Responsive design */
@media (max-width: 768px) {
    .header {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }
    
    .navigation {
        gap: 20px;
    }
    
    .dropdown-btn {
        font-size: 14px;
        padding: 8px 12px;
    }
    
    .dropdown-content {
        min-width: 180px;
    }
    
    .logo-text {
        font-size: 24px;
    }
    
    .logo-icon {
        width: 35px;
        height: 35px;
    }
    
    .main-content {
        padding-top: 140px;
        padding-bottom: 80px;
    }
    
    .main-content h1 {
        font-size: 2rem;
    }
    
    .mission-section {
        margin: 30px 0;
        padding: 20px;
    }
    
    .mission-section h2 {
        font-size: 1.5rem;
    }
    
    .mission-content p {
        font-size: 1rem;
    }
    
    .founder-message-content h3 {
        font-size: 1.3rem;
    }
    
    .founder-message-content blockquote p {
        font-size: 1rem;
        padding-left: 15px;
    }
    
    .founder-message-content blockquote p::before {
        font-size: 2.5rem;
        left: -5px;
        top: -5px;
    }
    
    .level-selection {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .level-card {
        padding: 20px 15px;
    }
    
    .level-icon {
        font-size: 2.5rem;
    }
    
    .level-card h3 {
        font-size: 1.3rem;
    }
    
    .subject-page h2 {
        font-size: 1.5rem;
    }
    
    .team-section h2 {
        font-size: 1.5rem;
    }
    
    .team-member {
        padding: 15px;
    }
    
    .member-role {
        font-size: 0.9rem;
    }
    
    .member-name {
        font-size: 1.1rem;
    }
    
    .member-position {
        font-size: 0.8rem;
    }
    
    .member-email a {
        font-size: 0.9rem;
        padding: 3px 6px;
    }
    
    .nested-dropdown-btn {
        font-size: 13px;
        padding: 6px 12px;
    }
    
    .nested-dropdown-content {
        min-width: 130px;
    }
    
    .nested-dropdown-content a {
        font-size: 12px;
        padding: 6px 10px;
    }
    
    .subject-teams-section {
        margin: 20px 0;
        padding: 20px;
    }
    
    .subject-teams-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .subject-team-card {
        padding: 15px;
    }
    
    .subject-team-card h3 {
        font-size: 1.1rem;
    }
    
    .position {
        font-size: 0.9rem;
        padding: 6px 10px;
    }
    
    .updates-section {
        margin: 20px 0;
        padding: 20px;
    }
    
    .updates-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .update-category {
        padding: 20px;
    }
    
    .update-category h3 {
        font-size: 1.2rem;
    }
    
    .update-item {
        padding: 15px;
        margin-bottom: 12px;
    }
    
    .update-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .update-header h4 {
        font-size: 1rem;
    }
    
    .update-date {
        font-size: 0.8rem;
        padding: 3px 6px;
    }
    
    .update-body p {
        font-size: 0.95rem;
    }
    
    .author-name {
        font-size: 0.8rem;
    }
    
    .benefits-section {
        margin: 20px 0;
        padding: 20px;
    }
    
    .benefits-list li {
        font-size: 1rem;
        padding: 15px;
        margin: 12px 0;
    }
    
    .benefits-list li::before {
        width: 25px;
        height: 25px;
        font-size: 1rem;
        left: -12px;
    }
    
    .forms-section {
        margin: 20px 0;
        padding: 20px;
    }
    
    .apply-text {
        font-size: 1rem;
        padding: 15px;
    }
    
    .apply-link {
        font-size: 0.9rem;
        padding: 10px 20px;
    }
    
    .footer {
        padding: 15px;
    }
    
    .founder-credit p {
        font-size: 0.8rem;
    }
    
    .instagram-icon {
        width: 20px;
        height: 20px;
    }
    
    .instagram-text {
        font-size: 14px;
    }
    
    .footer-links {
        gap: 20px;
        flex-direction: column;
    }
    
    .cas-icon {
        width: 20px;
        height: 20px;
        font-size: 10px;
    }
    
    .cas-text {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .navigation {
        flex-direction: column;
        gap: 10px;
    }
    
    .main-content {
        padding-top: 180px;
    }
}
