:root {
    --bg-color: #000000;
    --text-color: #ffffff;
    --header-bg: rgba(30, 30, 30, 0.8);
    --border-color: #2c2c2c;
    --card-bg: rgba(30, 30, 30, 0.8);
    --text-muted: #8e8e93;
    --accent-color: #007AFF;
    --icon-filter: invert(1);
}

[data-theme="light"] {
    --bg-color: #f2f2f7;
    --text-color: #000000;
    --header-bg: rgba(255, 255, 255, 0.8);
    --border-color: #e5e5ea;
    --card-bg: rgba(255, 255, 255, 0.8);
    --text-muted: #8e8e93;
    --accent-color: #007AFF;
    --icon-filter: invert(0);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
}

html {
    font-size: 16px;
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Icons", "Helvetica Neue", Helvetica, Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    transition: all 0.3s ease;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    width: 100%;
    overflow-x: hidden;
}
.about-us {
    padding: 50px;
    text-align: center;
    background-color: var(--card-bg);
    color: var(--text-color);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 0.5px solid var(--border-color);
    margin-top: clamp(16px, 3vw, 32px);
    line-height: 1.6;
    
}

.about-us .header h1 {
    font-size: 36px;
    color: var(--text-color);
    line-height: 1.4;
}

.about-us .header p {
    font-size: 18px;
    color: var(--text-muted);
    line-height: 1.6;
}
.header {
    background-color: var(--header-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: clamp(0.5rem, 2vw, 1rem);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 0.5px solid var(--border-color);
    flex-wrap: wrap;
    gap: 1rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.header .logo {
    font-size: clamp(16px, 4vw, 20px);
    font-weight: 600;
    color: var(--text-color);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.header .logo span {
    font-size: clamp(12px, 3vw, 14px);
    font-weight: normal;
    margin-top: 2px;
    color: var(--text-muted);
}

.header .tabs {
    display: flex;
    gap: clamp(0.5rem, 2vw, 1rem);
    align-items: center;
    flex-wrap: wrap;
}

.header .tabs a {
    text-decoration: none;
    font-size: clamp(14px, 3vw, 17px);
    color: var(--accent-color);
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.2s;
    font-weight: 500;
}

.header .tabs a:hover {
    background-color: rgba(0, 122, 255, 0.1);
}

.theme-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.theme-toggle:hover {
    background-color: rgba(142, 142, 147, 0.1);
}

.theme-toggle img {
    width: clamp(18px, 4vw, 22px);
    height: clamp(18px, 4vw, 22px);
    filter: var(--icon-filter);
}

.container {
    max-width: min(1200px, 95%);
    margin: 0 auto;
    padding: clamp(20px, 4vw, 40px);
    flex: 1;
}

.title {
    text-align: center;
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    font-weight: 700;
    margin-bottom: clamp(1.5rem, 4vw, 3rem);
    color: var(--text-color);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: clamp(1rem, 3vw, 2rem);
    margin-top: clamp(1rem, 3vw, 2rem);
    width: 100%;
}

.team-member {
    background: var(--card-bg);
    border-radius: 20px;
    padding: clamp(1rem, 3vw, 2rem);
    text-align: center;
    transition: transform 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    width: 100%;
}

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

.profile-img {
    width: min(200px, 80%);
    height: auto;
    aspect-ratio: 1;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    object-fit: cover;
    border: 4px solid var(--accent-color);
}

.member-name {
    font-size: clamp(1.2rem, 4vw, 1.5rem);
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.member-role {
    color: var(--accent-color);
    font-size: clamp(0.9rem, 3vw, 1.1rem);
    margin-bottom: 1rem;
}

.member-bio {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    line-height: 1.6;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: clamp(0.5rem, 2vw, 1rem);
    flex-wrap: wrap;
}

.social-links a {
    color: var(--accent-color);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    border: 1px solid var(--accent-color);
    transition: all 0.3s ease;
    font-size: clamp(14px, 2.5vw, 16px);
}

.social-links a:hover {
    background: var(--accent-color);
    color: var(--bg-color);
}

.footer {
    background-color: var(--header-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: clamp(16px, 3vw, 24px) 0;
    margin-top: clamp(16px, 3vw, 32px);
    border-top: 0.5px solid var(--border-color);
    width: 100%;
}

.footer .container-lg {
    max-width: min(1200px, 95%);
    margin: 0 auto;
    padding: 0 clamp(10px, 2vw, 20px);
}

.footer .row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: clamp(8px, 2vw, 16px);
}

.footer .list-inline {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: clamp(8px, 2vw, 16px);
    justify-content: center;
}

.footer .text-muted {
    color: var(--text-muted);
    text-decoration: none;
    font-size: clamp(12px, 2.5vw, 14px);
    transition: color 0.2s;
}

.footer .text-muted:hover {
    color: var(--accent-color);
}

.contact-section {
    text-align: center;
    padding: clamp(20px, 4vw, 40px);
    background: var(--card-bg);
    margin-top: clamp(16px, 3vw, 32px);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 0.5px solid var(--border-color);
    width: 100%;
}

.contact-buttons {
    display: flex;
    justify-content: center;
    gap: clamp(10px, 3vw, 20px);
    margin-top: clamp(10px, 3vw, 20px);
    flex-wrap: wrap;
}

.contact-button {
    padding: clamp(8px, 2vw, 12px) clamp(16px, 3vw, 24px);
    border-radius: 25px;
    border: 1px solid var(--accent-color);
    background: transparent;
    color: var(--accent-color);
    font-size: clamp(14px, 2.5vw, 16px);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    white-space: nowrap;
}

.contact-button:hover {
    transform: translateY(-3px);
    background: var(--accent-color);
    color: var(--bg-color);
    box-shadow: 0 5px 15px rgba(0, 122, 255, 0.3);
}

@media (max-width: 768px) {
    .header {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }

    .footer .row {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .contact-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .contact-button {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .team-member {
        padding: 1rem;
    }

    .profile-img {
        width: 150px;
        height: 150px;
    }

    .social-links {
        flex-direction: column;
    }

    .social-links a {
        width: 100%;
    }
}
