/* Star World Technology - Main CSS Entry Point */
/* Complete CSS with modular components integrated */

/* LINE Seed TW Font Faces */
@font-face {
    font-family: 'LINE Seed TW';
    src: url('../fonts/line-seed/LINESeedTW_OTF_Th.woff2') format('woff2'),
         url('../fonts/line-seed/LINESeedTW_OTF_Th.woff') format('woff');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'LINE Seed TW';
    src: url('../fonts/line-seed/LINESeedTW_OTF_Rg.woff2') format('woff2'),
         url('../fonts/line-seed/LINESeedTW_OTF_Rg.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'LINE Seed TW';
    src: url('../fonts/line-seed/LINESeedTW_OTF_Bd.woff2') format('woff2'),
         url('../fonts/line-seed/LINESeedTW_OTF_Bd.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'LINE Seed TW';
    src: url('../fonts/line-seed/LINESeedTW_OTF_Eb.woff2') format('woff2'),
         url('../fonts/line-seed/LINESeedTW_OTF_Eb.woff') format('woff');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Prevent horizontal overflow on all elements */
*, *::before, *::after {
    max-width: 100%;
}

/* Additional safety for specific elements that commonly cause overflow */
img, video, canvas, iframe, svg {
    max-width: 100%;
    height: auto;
}

:root {
    /* Colors - Star World Theme */
    --primary-color: #CFBE9C;
    --primary-light: #E5D4B1;
    --primary-dark: #B8A584;
    --secondary-color: #f59e0b;
    --accent-color: #06b6d4;
    --text-primary: #ffffff;
    --text-secondary: #Cccccc;
    --text-light: #9ca3af;
    --bg-primary: #0a1428;
    --bg-secondary: rgba(15, 25, 40, 0.8);
    --bg-dark: #0f172a;
    --bg-gradient: linear-gradient(135deg, #0a1428 0%, #1a2642 50%, #2a4065 100%);
    --border-color: rgba(207, 190, 156, 0.2);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);

    /* Typography */
    --font-sans: 'LINE Seed TW', 'Inter', 'Noto Sans TC', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'SF Mono', Monaco, 'Inconsolata', 'Fira Code', 'Droid Sans Mono', 'Source Code Pro', monospace;

    /* Spacing */
    --container-max-width: 1200px;
    --section-padding: 5rem 0;
    --section-padding-mobile: 3rem 0;

    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    max-width: 100vw;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-gradient) center center fixed;
    background-size: cover;
    background-attachment: fixed;
    overflow-x: hidden;
    position: relative;
    max-width: 100vw;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-gradient);
    opacity: 0.8;
    z-index: -1;
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 1rem;
    width: 100%;
    box-sizing: border-box;
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-content {
    text-align: center;
    color: white;
}

.loading-logo img {
    width: 80px;
    height: auto;
    margin-bottom: 1rem;
    animation: pulse 2s infinite;
}

.loading-text {
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: 0.1em;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.05); }
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(15, 25, 40, 0.9);
    backdrop-filter: blur(20px);
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid rgba(207, 190, 156, 0.3);
}

.header.scrolled {
    background: rgba(15, 25, 40, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(0);
}

.navbar {
    padding: 1rem 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.header.scrolled .navbar {
    padding: 0.5rem 0;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 1rem;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.25rem;
    color: white;
    text-decoration: none;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: var(--transition);
}

.logo-link:hover {
    transform: scale(1.05);
}

.logo-img {
    width: 250px;
    height: auto;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.header.scrolled .logo-img {
    width: 180px;
}

.logo-text {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: auto;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0.5rem 0;
    font-size: 1rem;
}

.header.scrolled .nav-link {
    font-size: 0.9rem;
    padding: 0.3rem 0;
}

.nav-link:hover {
    color: var(--primary-color);
}

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

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-cta {
    background: var(--primary-color);
    color: white !important;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.header.scrolled .nav-cta {
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.nav-toggle-line {
    width: 25px;
    height: 3px;
    background: white;
    transition: var(--transition);
    border-radius: 2px;
}

/* Language Switcher */
.language-switcher {
    position: relative;
    margin-left: 1rem;
}

.language-dropdown {
    position: relative;
}

.language-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
}

.language-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--primary-color);
}

.language-btn .flag-icon {
    font-size: 1rem;
}

.language-btn i {
    transition: var(--transition);
    font-size: 0.8rem;
}

.language-btn.active i {
    transform: rotate(180deg);
}

.language-options {
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(15, 25, 40, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 0.5rem 0;
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    z-index: 1000;
    box-shadow: var(--shadow-lg);
}

.language-options.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.9rem;
}

.language-option:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--primary-color);
}

.language-option.active {
    background: rgba(207, 190, 156, 0.2);
    color: var(--primary-color);
}

.language-option .flag-icon {
    font-size: 1rem;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: transparent;
    color: white;
    scroll-margin-top: 0; /* Hero doesn't need offset */
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.hero-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23CFBE9C" fill-opacity="0.3"><circle cx="7" cy="7" r="1"/><circle cx="27" cy="7" r="1"/><circle cx="47" cy="7" r="1"/><circle cx="7" cy="27" r="1"/><circle cx="27" cy="27" r="1"/><circle cx="47" cy="27" r="1"/><circle cx="7" cy="47" r="1"/><circle cx="27" cy="47" r="1"/><circle cx="47" cy="47" r="1"/></g></g></svg>');
    animation: float 20s infinite linear;
}

/* Shooting Stars / Meteors */
.shooting-stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    pointer-events: none; /* Allow clicks to pass through */
}

.shooting-star {
    position: absolute;
    width: 120px;
    height: 2px;
    background: linear-gradient(45deg, transparent 0%, rgba(255, 255, 255, 0.1) 40%, rgba(255, 255, 255, 0.8) 80%, #ffffff 100%);
    transform-origin: right center;
    transform: rotate(45deg);
    animation: meteor 2.5s linear infinite;
    will-change: transform, opacity;
    border-radius: 0 2px 2px 0;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.shooting-star:nth-child(1) {
    top: 5%;
    left: -200px;
    animation-delay: 0s;
    width: 100px;
}

.shooting-star:nth-child(2) {
    top: 35%;
    left: -250px;
    animation-delay: 3s;
    width: 90px;
}

.shooting-star:nth-child(3) {
    top: 65%;
    left: -200px;
    animation-delay: 6s;
    width: 110px;
}

@keyframes meteor {
    0% {
        transform: rotate(45deg) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    70% {
        opacity: 1;
    }
    100% {
        transform: rotate(45deg) translateX(min(800px, 100vw));
        opacity: 0;
    }
}

@keyframes float {
    0% { transform: translateY(0); }
    100% { transform: translateY(-60px); }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 1rem;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.title-line {
    display: block;
    background: linear-gradient(135deg, #ffffff 0%, #CFBE9C 50%, #E5D4B1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-primary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    transform: translateY(-2px);
}

.hero-image {
    position: relative;
    height: 500px;
}

.floating-elements {
    position: relative;
    width: 100%;
    height: 100%;
}

.floating-element {
    position: absolute;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    animation: floatUpDown 6s ease-in-out infinite;
}

.floating-element:nth-child(1) {
    top: 10%;
    left: 20%;
    animation-delay: 0s;
}

.floating-element:nth-child(2) {
    top: 20%;
    right: 10%;
    animation-delay: -2s;
}

.floating-element:nth-child(3) {
    bottom: 30%;
    left: 10%;
    animation-delay: -4s;
}

.floating-element:nth-child(4) {
    bottom: 10%;
    right: 30%;
    animation-delay: -1s;
}

@keyframes floatUpDown {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

/* Section Styles */
section {
    padding: var(--section-padding);
    scroll-margin-top: 80px; /* Offset for fixed header - matches scroll-snap-margin-top */
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    position: relative;
}

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

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    background: var(--bg-secondary);
    backdrop-filter: blur(10px);
}

.about-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

.stat-card:nth-child(1) { animation-delay: 0.1s; }
.stat-card:nth-child(2) { animation-delay: 0.2s; }
.stat-card:nth-child(3) { animation-delay: 0.3s; }

.stat-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--primary-color);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    transition: var(--transition);
}

.stat-card:hover .stat-icon {
    background: var(--primary-light);
    transform: scale(1.1);
}

.stat-icon i {
    font-size: 1.5rem;
    color: white;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.about-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-intro {
    text-align: left;
}

.about-intro h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.about-description {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    transition: var(--transition);
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(10px);
}

.feature-item i {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
    transition: var(--transition);
}

.feature-item:hover i {
    background: var(--primary-light);
    transform: rotate(5deg);
}

.feature-item h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.feature-item p {
    color: var(--text-secondary);
    margin: 0;
}


/* Services Section */
.services {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    border-radius: 20px;
    transition: var(--transition);
}

.service-icon:hover {
    background: var(--primary-light);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-icon i {
    font-size: 2.5rem;
    color: white;
}

.service-icon img {
    width: 50px;
    height: 50px;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    text-align: center;
}

.service-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.service-features {
    list-style: none;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
}

.service-features i {
    color: var(--primary-color);
    font-size: 0.875rem;
}

/* Team Section */
.team {
    background: var(--bg-secondary);
    backdrop-filter: blur(10px);
}


/* Team Introduction */
.team-introduction {
    margin: 3rem 0;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 25px;
    padding: 3rem;
    border: 2px solid var(--border-color);
    backdrop-filter: blur(15px);
    opacity: 0;
    transform: translateY(40px);
    animation: fadeInUp 0.8s ease forwards 0.4s;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.team-introduction:hover {
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.team-introduction:active {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 4px rgba(207, 190, 156, 0.3), 0 15px 35px rgba(0, 0, 0, 0.2);
    transform: translateY(-3px);
}

.team-intro-content {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.team-intro-text {
    flex: 1;
}

.team-intro-text h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.team-intro-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.team-stats {
    display: flex;
    gap: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

.team-intro-image {
    flex: 0 0 450px;
    position: relative;
}

.team-intro-image img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    transition: all 0.6s ease;
    filter: brightness(0.95);
}

.team-intro-image:hover img {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    filter: brightness(1);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.team-member {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 1.5rem;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 0.6s ease forwards;
}

.team-member:nth-child(1) { animation-delay: 0.1s; }
.team-member:nth-child(2) { animation-delay: 0.2s; }
.team-member:nth-child(3) { animation-delay: 0.3s; }
.team-member:nth-child(4) { animation-delay: 0.4s; }

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.08);
}

.member-photo {
    width: 120px;
    height: 120px;
    margin: 0 auto 1rem;
    position: relative;
    overflow: hidden;
    border-radius: 50%;
    border: 3px solid var(--primary-color);
    transition: var(--transition);
}

.member-photo:hover {
    border-color: var(--primary-light);
    transform: scale(1.05);
}

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

.member-photo:hover img {
    transform: scale(1.1);
}

.member-info {
    text-align: center;
}

.member-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.4rem;
}

.member-role {
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.member-experience {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 0.8rem;
}

.member-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    justify-content: center;
    margin-bottom: 0.8rem;
}

.skill-tag {
    background: var(--primary-color);
    color: var(--bg-dark);
    padding: 0.2rem 0.6rem;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: 500;
    transition: var(--transition);
}

.skill-tag:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
}

.member-description {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.4;
    margin: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Old team styles for backward compatibility */
.team-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.team-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
}

.team-text h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.team-text p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.team-values {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.value-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.value-item i {
    width: 50px;
    height: 50px;
    background: var(--secondary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.value-item h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.value-item p {
    color: var(--text-secondary);
    margin: 0;
}

/* Contact Section */
.contact {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-details h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.contact-details p {
    color: var(--text-secondary);
    margin: 0;
}

.contact-form {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    padding: 3rem 2rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
}

.form-group {
    position: relative;
    margin-bottom: 2rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    background: white;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group label {
    position: absolute;
    top: 1rem;
    left: 1rem;
    color: var(--text-light);
    font-size: 1rem;
    pointer-events: none;
    transition: var(--transition);
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group select:focus + label,
.form-group select:not([value=""]) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: -0.5rem;
    left: 0.75rem;
    font-size: 0.875rem;
    color: var(--primary-color);
    background: white;
    padding: 0 0.5rem;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Careers Section */
.careers {
    background: rgba(207, 190, 156, 0.12);
    backdrop-filter: blur(15px);
    color: white;
}

.careers-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.careers-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.careers-text p {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.careers-text .btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.careers-text .btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.careers-details {
    margin: 2rem 0;
}

.careers-details h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

.careers-highlights {
    list-style: none;
    margin: 0 0 2rem 0;
    padding: 0;
}

.careers-highlights li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    padding: 0.5rem 0;
}

.careers-highlights li i {
    width: 20px;
    height: 20px;
    color: var(--primary-color);
    font-size: 1rem;
    flex-shrink: 0;
}

.careers-highlights li span {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

.careers-hero-image {
    margin-bottom: 2rem;
    position: relative;
}

.hr-image-wrapper {
    position: relative;
    display: inline-block;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

.hr-image-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

.hr-team-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
}

.hr-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, 
        rgba(255, 255, 255, 1) 0%, 
        rgba(255, 255, 255, 0.8) 30%, 
        rgba(255, 255, 255, 0.4) 60%, 
        transparent 100%);
    pointer-events: none;
    z-index: 1;
}


.career-benefits {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.benefit-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(10px);
}

.benefit-item i {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.benefit-item span {
    font-size: 1.125rem;
    font-weight: 500;
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: white;
    padding: 2rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 1rem;
    align-items: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-logo img {
    width: 150px;
    height: auto;
}

.footer-company-name h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    line-height: 1.3;
}

.footer-company-name p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin: 0;
    font-weight: 400;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
}

.footer-social {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}

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

.social-link:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.footer-attribution {
    text-align: center;
    margin-top: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(207, 190, 156, 0.2);
}

.footer-attribution p {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    line-height: 1.2;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
}

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

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Scroll Animations */
.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.scroll-reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-reveal-left.revealed {
    opacity: 1;
    transform: translateX(0);
}

.scroll-reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-reveal-right.revealed {
    opacity: 1;
    transform: translateX(0);
}

.scroll-reveal-fade {
    opacity: 0;
    transition: all 1s ease-out;
}

.scroll-reveal-fade.revealed {
    opacity: 1;
}

.scroll-reveal-scale {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-reveal-scale.revealed {
    opacity: 1;
    transform: scale(1);
}

/* Stagger Animation Delays */
.scroll-reveal-delay-1 { transition-delay: 0.1s; }
.scroll-reveal-delay-2 { transition-delay: 0.2s; }
.scroll-reveal-delay-3 { transition-delay: 0.3s; }
.scroll-reveal-delay-4 { transition-delay: 0.4s; }
.scroll-reveal-delay-5 { transition-delay: 0.5s; }

/* Parallax Elements */
.parallax-element {
    will-change: transform;
}

/* Smooth scroll behavior for better animation */
html {
    scroll-behavior: smooth;
}

/* Enhanced animations for specific elements */
.section-header {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.section-header.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Progressive reveal animation */
.progressive-reveal {
    animation: progressiveReveal 0.8s ease-out forwards;
}

@keyframes progressiveReveal {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Enhanced hover states for animated elements */
.scroll-reveal.revealed:hover,
.progressive-reveal:hover {
    transform: translateY(-5px);
    transition: transform 0.3s ease;
}

/* Scroll Snap with proper header offset */
html {
    scroll-snap-type: y proximity;
}

.hero {
    scroll-snap-align: start;
}

.about,
.services, 
.team, 
.careers {
    scroll-snap-align: start;
    scroll-snap-margin-top: 80px; /* Offset for header */
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

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

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-fade-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

.animate-fade-left {
    animation: fadeInLeft 0.8s ease-out forwards;
}

.animate-fade-right {
    animation: fadeInRight 0.8s ease-out forwards;
}

.animate-fade-scale {
    animation: fadeInScale 0.8s ease-out forwards;
}

.animate-slide-left {
    animation: slideInLeft 0.8s ease-out forwards;
}

.animate-slide-right {
    animation: slideInRight 0.8s ease-out forwards;
}

/* Responsive Design */
@media (max-width: 1024px) {
    :root {
        --section-padding: 4rem 0;
    }
    
    .about,
    .services, 
    .team, 
    .careers {
        scroll-snap-margin-top: 70px; /* Smaller offset for tablet */
    }
    
    section {
        scroll-margin-top: 70px;
    }

    .hero-content,
    .about-main,
    .team-content,
    .contact-content,
    .careers-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .careers-hero-image {
        margin-bottom: 1.5rem;
    }

    .hr-team-image {
        border-radius: 15px;
    }

    .hr-image-wrapper {
        border-radius: 15px;
    }

    .hr-team-image {
        border-radius: 15px;
    }

    .hr-gradient-overlay {
        width: 45%;
    }

    .about-stats-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 3rem;
    }

    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }

    .team-introduction {
        padding: 2rem;
        margin: 2rem 0;
    }

    .team-intro-content {
        flex-direction: column;
        gap: 2rem;
    }

    .team-intro-image {
        flex: none;
        max-width: 400px;
    }

    .team-stats {
        gap: 1.5rem;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: var(--section-padding-mobile);
    }
    
    .about,
    .services, 
    .team, 
    .careers {
        scroll-snap-margin-top: 60px; /* Smaller offset for mobile */
    }
    
    section {
        scroll-margin-top: 60px;
    }

    .container {
        padding: 0 1.5rem;
    }

    .nav-container {
        padding: 0 1.5rem;
        justify-content: space-between;
        align-items: center;
    }
    
    /* Mobile right side container */
    .nav-right {
        display: flex;
        align-items: center;
        gap: 1rem;
        margin-left: 0;
    }
    
    /* Mobile Language Switcher - Keep in header */
    .language-switcher {
        position: relative;
        z-index: 1003;
    }
    
    .language-btn {
        padding: 0.4rem 0.6rem;
        font-size: 0.8rem;
        min-width: auto;
        background: rgba(255, 255, 255, 0.1);
        border-color: rgba(255, 255, 255, 0.2);
        border-radius: 20px;
    }
    
    .language-btn .language-text {
        display: none;
    }
    
    .language-btn .fas {
        display: none;
    }
    
    .language-options {
        position: absolute;
        top: 100%;
        right: 0;
        width: 120px;
        margin-top: 0.5rem;
        background: rgba(15, 25, 40, 0.95);
        backdrop-filter: blur(20px);
    }
    
    .language-options.show {
        opacity: 1 !important;
        visibility: visible !important;
        transform: none;
    }

    .logo-img {
        width: 120px;
    }
    
    .header.scrolled .logo-img {
        width: 100px;
    }

    .footer-logo {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .footer-logo img {
        width: 100px !important;
        height: auto !important;
    }
    
    .footer-company-name h3 {
        font-size: 0.9rem;
    }
    
    .footer-company-name p {
        font-size: 0.75rem;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: min(300px, 80vw);
        max-width: 300px;
        height: 100vh;
        background: rgba(15, 25, 40, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        gap: 2rem;
        transition: var(--transition);
        box-shadow: var(--shadow-xl);
        z-index: 1001;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-toggle {
        display: flex;
        z-index: 1002;
    }

    .nav-toggle.active .nav-toggle-line:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active .nav-toggle-line:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .nav-toggle-line:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-image {
        height: 300px;
    }

    .floating-element {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    /* Adjust shooting stars for mobile */
    .shooting-star {
        height: 1px;
        box-shadow: 0 0 5px rgba(255, 255, 255, 0.8);
        animation-duration: 2s;
    }
    
    .shooting-star:nth-child(1) { width: 60px; left: -100px; }
    .shooting-star:nth-child(2) { width: 50px; left: -100px; }
    .shooting-star:nth-child(3) { width: 70px; left: -100px; }
    
    @keyframes meteor {
        0% {
            transform: rotate(45deg) translateX(0);
            opacity: 0;
        }
        10% {
            opacity: 1;
        }
        70% {
            opacity: 1;
        }
        100% {
            transform: rotate(45deg) translateX(min(400px, 90vw));
            opacity: 0;
        }
    }

    .hero-buttons {
        justify-content: center;
    }

    .about-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .team-member {
        padding: 1.5rem;
    }

    .member-photo {
        width: 120px;
        height: 120px;
    }

    .member-name {
        font-size: 1.25rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-attribution {
        margin-top: 0.75rem;
        padding-top: 0.5rem;
    }

    .footer-attribution p {
        font-size: 0.65rem;
        line-height: 1.3;
    }

    .back-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 45px;
        height: 45px;
    }

    .team-introduction {
        padding: 1.5rem;
        margin: 1.5rem 0;
    }

    .team-intro-text h3 {
        font-size: 1.5rem;
    }

    .team-intro-text p {
        font-size: 1rem;
    }

    .team-stats {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .stat-item {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 1rem;
    }

    .stat-number {
        font-size: 1.5rem;
        margin-bottom: 0;
    }

    .team-intro-image img {
        height: 200px;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .team-member {
        padding: 1.2rem;
    }

    .member-photo {
        width: 100px;
        height: 100px;
        border-width: 2px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
        margin: 0 auto;
        max-width: calc(100vw - 2rem);
    }

    .nav-container {
        padding: 0 1rem;
        max-width: calc(100vw - 2rem);
    }

    .logo-img {
        width: 100px;
    }
    
    .header.scrolled .logo-img {
        width: 80px;
    }

    .footer-logo {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .footer-logo img {
        width: 80px !important;
        height: auto !important;
    }
    
    .footer-company-name h3 {
        font-size: 0.8rem;
    }
    
    .footer-company-name p {
        font-size: 0.7rem;
    }

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

    .footer-info {
        text-align: center !important;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .service-card {
        padding: 2rem 1.5rem;
    }

    .team-member {
        padding: 1.25rem;
    }

    .member-photo {
        width: 100px;
        height: 100px;
        border-width: 3px;
    }

    .member-name {
        font-size: 1.125rem;
    }

    .member-skills {
        gap: 0.25rem;
    }

    .skill-tag {
        font-size: 0.75rem;
        padding: 0.2rem 0.6rem;
    }

    .contact-form {
        padding: 2rem 1.5rem;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

    .team-member {
        padding: 1rem;
    }

    .member-photo {
        width: 80px;
        height: 80px;
        margin-bottom: 0.8rem;
    }

    .member-name {
        font-size: 1rem;
    }

    .member-role {
        font-size: 0.8rem;
    }
}