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

:root {
    --primary-color: #2563eb;
    --secondary-color: #7c3aed;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--white);
    box-shadow: var(--shadow);
    z-index: 1000;
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-logo {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.nav-text h2 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin: 0;
    line-height: 1.2;
}

.nav-brand-title {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin: 0;
    line-height: 1.2;
    font-weight: 700;
}

.nav-subtitle {
    color: var(--text-light);
    font-size: 0.85rem;
    margin: 0;
    font-weight: 500;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
}

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

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Home Section */
.home-section {
    position: relative;
    min-height: 100vh;
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f0f4ff 0%, #e8eeff 100%);
    overflow: hidden;
}

.home-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(37, 99, 235, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(124, 58, 237, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.home-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="10" cy="10" r="1" fill="%232563eb" opacity="0.1"/><circle cx="90" cy="90" r="1" fill="%237c3aed" opacity="0.1"/></svg>');
    background-size: 50px 50px;
    opacity: 0.3;
}

.home-content {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    z-index: 1;
}

.home-image {
    position: relative;
    animation: floatImage 3s ease-in-out infinite;
}

@keyframes floatImage {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.team-hero-image {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(37, 99, 235, 0.3);
    border: 5px solid white;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.team-hero-image:hover {
    transform: scale(1.02);
}

.image-badge {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.4);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.1rem;
    white-space: nowrap;
}

.badge-icon {
    font-size: 1.5rem;
}

.home-text {
    animation: fadeInRight 1s ease;
}

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

.home-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.title-line {
    display: block;
    font-weight: 700;
}

.title-highlight {
    display: block;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 900;
    font-size: 4rem;
}

.home-description {
    font-size: 1.2rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.home-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.stat-box {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.2);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 0.5rem;
}

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

.home-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-home {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.btn-home-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.btn-home-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.3);
}

.btn-home-secondary {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-home-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.btn-icon {
    font-size: 1.3rem;
}

/* Responsive for Home Section */
@media (max-width: 768px) {
    .home-section {
        padding: 100px 0 60px;
    }

    .home-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .home-image {
        order: 1;
    }

    .home-text {
        order: 2;
        text-align: center;
    }

    .home-title {
        font-size: 2.5rem;
    }

    .title-highlight {
        font-size: 3rem;
    }

    .home-description {
        font-size: 1.1rem;
    }

    .home-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    .stat-box {
        padding: 1rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.85rem;
    }

    .home-actions {
        justify-content: center;
    }

    .image-badge {
        font-size: 0.95rem;
        padding: 12px 24px;
    }
}

@media (max-width: 480px) {
    .home-title {
        font-size: 2rem;
    }

    .title-highlight {
        font-size: 2.5rem;
    }

    .home-description {
        font-size: 1rem;
    }

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

    .btn-home {
        width: 100%;
        justify-content: center;
        padding: 12px 24px;
        font-size: 1rem;
    }

    .image-badge {
        font-size: 0.85rem;
        padding: 10px 20px;
        bottom: -15px;
    }

    .badge-icon {
        font-size: 1.2rem;
    }
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
}


/* Introduction Section */
.introduction {
    padding: 5rem 0;
    background: var(--bg-light);
}

.intro-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

/* Old slideshow styles - commented out for Bootstrap Carousel */
/*
.slideshow-container {
    position: relative;
    max-width: 100%;
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.slide {
    display: none;
    position: relative;
}

.slide.active {
    display: block;
}

.slide img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 3/4;
    object-fit: cover;
}

.prev-slide, .next-slide {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: var(--white);
    padding: 1rem 1.5rem;
    font-size: 1.5rem;
    cursor: pointer;
    border-radius: 5px;
    user-select: none;
    transition: background 0.3s;
    text-decoration: none;
}

.prev-slide:hover, .next-slide:hover {
    background: rgba(0, 0, 0, 0.8);
}

.prev-slide {
    left: 10px;
}

.next-slide {
    right: 10px;
}

.slide-dots {
    text-align: center;
    padding: 1rem 0;
    background: var(--white);
}

.dot {
    height: 15px;
    width: 15px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: background-color 0.3s;
}

.dot.active, .dot:hover {
    background-color: var(--primary-color);
}

.fade {
    animation: fadeEffect 0.5s;
}

@keyframes fadeEffect {
    from { opacity: 0.4; }
    to { opacity: 1; }
}
*/

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

.intro-description p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1rem;
    text-align: justify;
}

.intro-highlight {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    margin-top: 2rem;
}

.intro-highlight h4 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.intro-highlight p {
    font-style: italic;
    font-size: 1.1rem;
    margin: 0;
    color: var(--white);
}

.intro-slogan {
    background: var(--white);
    border-left: 4px solid var(--primary-color);
    padding: 1rem 1.5rem;
    margin-top: 1.5rem;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.intro-slogan p {
    color: var(--primary-color);
    font-size: 1.15rem;
    margin: 0;
    text-align: center;
}

/* Bootstrap Carousel Styles for Introduction */
.introduction .carousel {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.introduction .carousel-inner {
    border-radius: 15px;
}

.introduction .carousel-item img {
    width: 100%;
    height: auto;
    aspect-ratio: 3/4;
    object-fit: cover;
    display: block;
}

.introduction .carousel-indicators {
    margin-bottom: 1rem;
}

.introduction .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.8);
    margin: 0 5px;
}

.introduction .carousel-indicators button.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.introduction .carousel-control-prev,
.introduction .carousel-control-next {
    width: 50px;
    height: 50px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    opacity: 0.8;
}

.introduction .carousel-control-prev {
    left: 15px;
}

.introduction .carousel-control-next {
    right: 15px;
}

.introduction .carousel-control-prev:hover,
.introduction .carousel-control-next:hover {
    background: rgba(0, 0, 0, 0.8);
    opacity: 1;
}

.introduction .carousel-control-prev-icon,
.introduction .carousel-control-next-icon {
    width: 20px;
    height: 20px;
}

/* Intro Section Styles */
.intro {
    background: 
        linear-gradient(135deg, rgba(37, 99, 235, 0.85) 0%, rgba(124, 58, 237, 0.85) 100%),
        url('https://www.viengping.com/images/bg.jpg') center/cover no-repeat fixed;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.intro::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.intro::after {
    content: '';
    position: absolute;
    bottom: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(120deg); }
    66% { transform: translate(-20px, 20px) rotate(240deg); }
}

.intro-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 0 20px;
}

.intro-title {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    color: white;
    animation: fadeInUp 1s ease;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    position: relative;
    display: inline-block;
}

.intro-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 5px;
    background: linear-gradient(90deg, #fbbf24, #f59e0b);
    border-radius: 3px;
    animation: expandWidth 1.5s ease;
}

@keyframes expandWidth {
    from { width: 0; }
    to { width: 120px; }
}

.intro-subtitle {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.8;
    margin-bottom: 3rem;
    animation: fadeInUp 1s ease 0.2s both;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.intro-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.4s both;
}

/* Responsive for Intro Section */
@media (max-width: 768px) {
    .intro {
        padding: 80px 0;
    }

    .intro-title {
        font-size: 2.8rem;
    }

    .intro-title::after {
        width: 80px;
    }

    .intro-subtitle {
        font-size: 1.2rem;
        margin-bottom: 2rem;
    }

    .intro-buttons {
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .intro {
        padding: 60px 0;
    }

    .intro-title {
        font-size: 2.2rem;
    }

    .intro-title::after {
        width: 60px;
        height: 4px;
    }

    .intro-subtitle {
        font-size: 1.1rem;
    }

    .intro-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .intro-buttons .btn {
        width: 100%;
    }
}

.hero-content {
    max-width: 800px;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    animation: fadeInUp 1s ease 0.4s both;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    color: #ffffff;
    font-weight: 700;
    font-size: 1.2rem;
    padding: 16px 40px;
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.6);
    border: 3px solid rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 6px 20px rgba(37, 99, 235, 0.6);
    }
    50% {
        box-shadow: 0 6px 30px rgba(37, 99, 235, 0.9);
    }
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #7c3aed, #2563eb);
    transition: left 0.3s ease;
    z-index: 0;
}

.btn-primary:hover::before {
    left: 0;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 35px rgba(37, 99, 235, 0.8);
    animation: none;
}

.btn-primary .btn-text,
.btn-primary .btn-loading {
    position: relative;
    z-index: 1;
}

.btn-secondary {
    background: var(--primary-color);
    color: var(--white);
}

.btn-secondary:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Section Styles */
section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-dark);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    margin: 1rem auto 0;
    border-radius: 2px;
}

/* About Section */
.about {
    background: var(--bg-light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: center;
}

.about-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-list {
    list-style: none;
}

.about-list li {
    padding: 0.5rem 0;
    color: var(--text-dark);
    font-weight: 500;
}

.about-text h4.position {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.website-link {
    margin-top: 1.5rem;
}

.website-link .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.obt-banner {
    margin-top: 1.5rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.obt-banner:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.obt-banner img {
    width: 100%;
    height: auto;
    display: block;
}

/* Portfolio Section */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.portfolio-item {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.portfolio-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.portfolio-info {
    padding: 1.5rem;
}

.portfolio-info h3 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.portfolio-info p {
    color: var(--text-light);
}

/* Project Development Grid */
.project-development {
    padding: 80px 0;
    background: var(--bg-light);
    display: block !important;
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
}

.project-development * {
    opacity: 1 !important;
    transform: none !important;
}

.project-development-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
}

.project-development-item {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}

.project-development-item:hover {
    transform: translateY(-10px) !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.project-development-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block !important;
    background: #f3f4f6;
    opacity: 1 !important;
}

.project-development-info {
    padding: 1.5rem;
}

.project-development-info h3 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.project-development-info p {
    color: var(--text-light);
}

/* Campaign Section */
.campaign {
    background: var(--bg-light);
}

.campaign-intro {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    font-style: italic;
}

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

.campaign-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.campaign-card:hover {
    transform: translateY(-10px);
}

.campaign-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.campaign-card h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.campaign-card p {
    color: var(--text-light);
}

/* Stats Section */
.stats {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item h3 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Gallery Section */
.gallery {
    background: var(--bg-light);
    padding: 5rem 0;
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
}

.gallery .section-title {
    margin-top: 3rem;
    margin-bottom: 1.5rem;
}

.gallery .section-title:first-of-type {
    margin-top: 0;
}

/* Gallery Grid - Mobile First with 3 columns on all devices */
.simple-gallery {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 10px;
    margin-bottom: 2rem;
    width: 100%;
    max-width: 100%;
}

.simple-gallery img {
    width: 100% !important;
    height: auto !important;
    min-height: 100px;
    max-height: 250px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    /* Progressive Loading */
    background: linear-gradient(110deg, #ececec 8%, #f5f5f5 18%, #ececec 33%);
    background-size: 200% 100%;
    animation: shimmer 1.5s linear infinite;
}

.simple-gallery img[loading="lazy"]:not([src]) {
    opacity: 0;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.simple-gallery img:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* Tablet - slightly larger images */
@media (min-width: 481px) {
    .simple-gallery {
        gap: 12px;
    }
    
    .simple-gallery img {
        min-height: 150px;
        max-height: 300px;
    }
}

/* Desktop - larger images */
@media (min-width: 769px) {
    .simple-gallery {
        gap: 15px;
    }
    
    .simple-gallery img {
        min-height: 200px;
        max-height: 400px;
    }
}

.gallery-load-more {
    text-align: center;
    margin-top: 2rem;
}

/* Lightbox for gallery */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    position: relative;
}

.lightbox-content img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: var(--white);
    cursor: pointer;
    z-index: 10000;
    background: none;
    border: none;
    transition: transform 0.3s;
}

.lightbox-close:hover {
    transform: scale(1.2);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 50px;
    color: var(--white);
    cursor: pointer;
    background: rgba(0, 0, 0, 0.5);
    padding: 10px 20px;
    border: none;
    transition: background 0.3s;
    user-select: none;
}

.lightbox-nav:hover {
    background: rgba(0, 0, 0, 0.8);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.contact-item .icon {
    font-size: 1.5rem;
}

.social-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin: 2rem auto;
    max-width: 1200px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--white);
    color: var(--text-color);
    text-decoration: none;
    border-radius: 12px;
    border: 2px solid #e5e7eb;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.social-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(41, 128, 185, 0.15);
    border-color: var(--primary-color);
}

.social-icon {
    font-size: 2rem;
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: 10px;
}

.social-info {
    flex: 1;
    text-align: left;
}

.social-label {
    font-size: 0.75rem;
    color: #6b7280;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
}

.social-value {
    font-size: 0.95rem;
    color: var(--text-color);
    font-weight: 600;
}

.contact-form {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 15px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
}

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

.contact-form button {
    width: 100%;
}

/* Music Control */
.music-control {
    position: fixed;
    bottom: 30px;
    right: 33px !important;
    z-index: 999;
}

.music-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.music-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.music-btn:active {
    transform: scale(0.85);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    background: linear-gradient(135deg, #ef4444, #dc2626) !important;
}

@keyframes tap {
    0% { transform: scale(1); }
    50% { transform: scale(0.85); }
    100% { transform: scale(0.9); }
}

.music-icon {
    font-size: 24px;
    animation: pulse 2s infinite;
}

.music-btn.muted .music-icon {
    animation: none;
    opacity: 0.5;
}

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

/* Music Change Button */
.music-change {
    position: fixed;
    bottom: 100px;
    right: 30px;
    z-index: 999;
}

.music-change-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
    transition: transform 0.3s, box-shadow 0.3s, background 0.3s, opacity 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.music-change-btn.muted {
    background: linear-gradient(135deg, #9ca3af, #6b7280);
    box-shadow: 0 4px 15px rgba(156, 163, 175, 0.3);
    opacity: 0.6;
}

.music-change-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.6);
}

.music-change-btn.muted:hover {
    box-shadow: 0 6px 20px rgba(156, 163, 175, 0.4);
}

.music-change-btn:active {
    transform: scale(0.85);
    box-shadow: 0 2px 10px rgba(59, 130, 246, 0.8);
    background: linear-gradient(135deg, #3b82f6, #2563eb) !important;
}

.music-change-btn.muted:active {
    box-shadow: 0 2px 10px rgba(59, 130, 246, 0.8);
    background: linear-gradient(135deg, #3b82f6, #2563eb) !important;
}

.music-change-icon {
    font-size: 24px;
    animation: spin 3s linear infinite;
}

.music-change-btn.muted .music-change-icon {
    animation: none;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Call Button */
.call-button {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 999;
}

.call-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #5c06ce, #ae04e2);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(81, 16, 185, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}



.call-icon {
    font-size: 28px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

@keyframes callPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 25px rgba(16, 185, 129, 0.6);
    }
}

/* LINE Button */
.line-button {
    position: fixed;
    bottom: 100px;
    left: 30px;
    z-index: 999;
}

.line-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #06C755, #00B900);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(6, 199, 85, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 0;
}



.line-icon {
    width: 39px;
    height: 39px;
}

/* Facebook Button */
.facebook-button {
    position: fixed;
    bottom: 170px;
    left: 30px;
    z-index: 999;
}

.facebook-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #071e3d, #040c30);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(24, 119, 242, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 0;
}

.facebook-icon {
    width: 39px;
    height: 39px;
}

@keyframes linePulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(6, 199, 85, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 25px rgba(6, 199, 85, 0.6);
    }
}

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

/* Mobile-First Responsive Design */
@media (max-width: 768px) {
    /* Better touch targets */
    .navbar {
        padding: 0.8rem 0;
    }

    .nav-logo {
        height: 40px;
    }

    .nav-text h2 {
        font-size: 1.1rem;
    }

    .nav-subtitle {
        font-size: 0.75rem;
    }

    .nav-brand h2 {
        font-size: 1.3rem;
    }

    .nav-menu {
        position: fixed;
        top: 60px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 60px);
        background: var(--white);
        flex-direction: column;
        gap: 0;
        padding: 2rem 0;
        box-shadow: var(--shadow);
        transition: left 0.3s ease;
        overflow-y: auto;
    }

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

    .nav-menu li {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid #e5e7eb;
    }

    .nav-menu a {
        display: block;
        padding: 1.2rem 2rem;
        font-size: 1.1rem;
        font-weight: 600;
    }

    /* Larger hero for mobile */
    .hero {
        margin-top: 60px;
        min-height: calc(100vh - 60px);
        padding: 2rem 1.5rem;
    }

    .hero-title {
        font-size: 2.2rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        padding: 1.2rem 2rem;
        font-size: 1.1rem;
    }

    /* Better mobile sections */
    section {
        padding: 3rem 0;
    }

    .container {
        padding: 0 1.5rem;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }

    /* About section mobile */
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .prev-slide, .next-slide {
        padding: 0.8rem 1rem;
        font-size: 1.2rem;
    }

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

    .about-text p {
        font-size: 1rem;
        line-height: 1.8;
    }

    /* Portfolio mobile - 1 column for easier viewing */
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .portfolio-item img {
        height: 300px;
    }

    .portfolio-info {
        padding: 1.5rem;
    }

    .portfolio-info h3 {
        font-size: 1.3rem;
    }

    .portfolio-info p {
        font-size: 1rem;
    }

    /* Campaign cards mobile */
    .campaign-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

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

    .campaign-icon {
        font-size: 3.5rem;
    }

    .campaign-card h3 {
        font-size: 1.4rem;
    }

    .campaign-card p {
        font-size: 1rem;
        line-height: 1.7;
    }

    /* Stats mobile */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    /* Gallery mobile */
    .gallery-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }

    .gallery-item {
        height: 300px;
    }

    .stat-item h3 {
        font-size: 2.5rem;
    }

    .stat-item p {
        font-size: 1rem;
    }

    .gallery-tabs {
        gap: 0.5rem;
    }

    .gallery-tab {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }

    /* Contact mobile */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-info h3 {
        font-size: 1.4rem;
    }

    .contact-item {
        font-size: 1rem;
    }

    .social-links {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .social-link {
        padding: 1rem;
    }

    .social-icon {
        width: 45px;
        height: 45px;
        font-size: 1.75rem;
    }

    .social-label {
        font-size: 0.7rem;
    }

    .social-value {
        font-size: 0.9rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .contact-form input,
    .contact-form textarea {
        font-size: 1rem;
        padding: 1rem;
    }

    /* Music button mobile */
    .music-control {
        bottom: 20px;
        right: 20px;
    }

    .music-btn {
        width: 55px;
        height: 55px;
    }

    .music-icon {
        font-size: 22px;
    }

    /* Lightbox mobile */
    .lightbox-content {
        max-width: 95%;
        max-height: 95%;
    }

    .lightbox-close {
        top: 10px;
        right: 10px;
        font-size: 35px;
    }

    .lightbox-nav {
        font-size: 35px;
        padding: 8px 15px;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }

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

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

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

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

/* Application Criteria Section */
.application-criteria {
    padding: 80px 0;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

.application-criteria .section-title {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.criteria-intro {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

.criteria-intro p {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.criteria-content {
    max-width: 900px;
    margin: 0 auto 3rem;
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.criteria-content h3 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
    font-size: 1.5rem;
}

.criteria-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.criteria-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 12px;
    transition: transform 0.3s, box-shadow 0.3s;
    border-left: 4px solid var(--primary-color);
}

.criteria-item:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 20px rgba(37, 99, 235, 0.2);
}

.criteria-number {
    min-width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    flex-shrink: 0;
}

.criteria-text {
    flex: 1;
    font-size: 1.05rem;
    line-height: 1.6;
}

.criteria-text strong {
    color: var(--primary-color);
    display: block;
    margin-bottom: 0.3rem;
}

.criteria-reference {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border-top: 3px solid var(--secondary-color);
}

.criteria-reference p {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.criteria-reference ul {
    list-style: none;
    padding-left: 0;
}

.criteria-reference ul li {
    padding: 0.8rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text-light);
    line-height: 1.6;
}

.criteria-reference ul li::before {
    content: "📖";
    position: absolute;
    left: 0;
    top: 0.8rem;
}

/* Responsive adjustments for Application Criteria */
@media (max-width: 768px) {
    .application-criteria {
        padding: 60px 0;
    }

    .criteria-content,
    .criteria-reference {
        padding: 1.5rem;
    }

    .criteria-item {
        flex-direction: column;
        gap: 1rem;
        padding: 1.2rem;
    }

    .criteria-number {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }

    .criteria-text {
        font-size: 1rem;
    }

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

@media (max-width: 480px) {
    .criteria-content h3 {
        font-size: 1.2rem;
    }

    .criteria-item {
        padding: 1rem;
    }

    .criteria-number {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

/* Team Section */
.team-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 50%, #fcd34d 100%);
    position: relative;
    overflow: hidden;
}

.team-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
    z-index: 0;
}

.team-section .container {
    position: relative;
    z-index: 1;
}

.team-section .section-title {
    text-align: center;
    margin-bottom: 1rem;
    color: #92400e;
}

.team-intro {
    text-align: center;
    font-size: 1.2rem;
    color: #78350f;
    margin-bottom: 3rem;
    font-weight: 500;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.team-member {
    background: var(--white);
    padding: 2.5rem 1.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
    border: 3px solid transparent;
}

.team-member::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

/* Leader (นายก) */
.team-member.leader {
    border-color: #fbbf24;
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
}

.team-member.leader::before {
    background: linear-gradient(90deg, #f59e0b, #d97706);
}

.team-member.leader .team-icon {
    font-size: 4rem;
    animation: bounce 2s infinite;
}

/* Highlighted (เวียงพิงค์) */
.team-member.highlighted {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    box-shadow: 0 15px 40px rgba(37, 99, 235, 0.3);
}

.team-member.highlighted::before {
    background: linear-gradient(90deg, #2563eb, #7c3aed);
    height: 8px;
}

/* Advisor */
.team-member.advisor {
    border-color: #10b981;
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
}

.team-member.advisor::before {
    background: linear-gradient(90deg, #10b981, #059669);
}

.team-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: bold;
    margin-bottom: 1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.team-member.leader .team-badge {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.team-member.advisor .team-badge {
    background: linear-gradient(135deg, #10b981, #059669);
}

.team-icon {
    font-size: 3rem;
    margin: 1rem 0;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.team-image {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    margin: 1rem 0;
    border: 5px solid var(--primary-color);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s, box-shadow 0.3s;
}

.team-member:hover .team-image {
    transform: scale(1.05);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.team-member.highlighted .team-image {
    border-color: var(--secondary-color);
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.3);
}

.team-member.leader .team-image {
    border-color: #f59e0b;
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.3);
}

.team-member.advisor .team-image {
    border-color: #10b981;
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
}

.team-member h3 {
    color: var(--text-dark);
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.team-position {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.team-member.leader .team-position {
    color: #d97706;
}

.team-member.advisor .team-position {
    color: #059669;
}

.team-experience {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 2px dashed #e5e7eb;
}

.team-number {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
    color: var(--text-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Responsive for Team Section */
@media (max-width: 768px) {
    .team-section {
        padding: 60px 0;
    }

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

    .team-member {
        padding: 2rem 1.5rem;
    }

    .team-member h3 {
        font-size: 1.2rem;
    }

    .team-image {
        width: 150px;
        height: 150px;
        border-width: 4px;
    }

    .team-intro {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .team-icon {
        font-size: 2.5rem;
    }

    .team-member h3 {
        font-size: 1.1rem;
    }

    .team-image {
        width: 120px;
        height: 120px;
        border-width: 3px;
    }

    .team-position {
        font-size: 1rem;
    }

    .team-badge {
        font-size: 0.85rem;
        padding: 0.4rem 1.2rem;
    }
}
