/* ==========================================================================
   APPLE-INSPIRED SPACING AND TYPOGRAPHY SYSTEM
   ========================================================================== */

:root {
    /* Font Weights */
    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-extrabold: 800;
    
    /* Font Sizes - Apple-inspired scale */
    --font-size-xs: 0.75rem;     /* 12px */
    --font-size-sm: 0.875rem;    /* 14px */
    --font-size-base: 1rem;      /* 16px */
    --font-size-lg: 1.125rem;    /* 18px */
    --font-size-xl: 1.25rem;     /* 20px */
    --font-size-2xl: 1.5rem;     /* 24px */
    --font-size-3xl: 2rem;       /* 32px */
    --font-size-4xl: 2.5rem;     /* 40px */
    --font-size-5xl: 3.5rem;     /* 56px */
    --font-size-6xl: 4.5rem;     /* 72px */
    --font-size-7xl: 6rem;       /* 96px */
    
    /* Line Heights */
    --line-height-tight: 1.1;
    --line-height-snug: 1.2;
    --line-height-normal: 1.4;
    --line-height-relaxed: 1.6;
    --line-height-loose: 1.8;
    
    /* Apple-style Spacing */
    --spacing-xs: 0.5rem;    /* 8px */
    --spacing-sm: 1rem;      /* 16px */
    --spacing-md: 1.5rem;    /* 24px */
    --spacing-lg: 2rem;      /* 32px */
    --spacing-xl: 3rem;      /* 48px */
    --spacing-2xl: 4rem;     /* 64px */
    --spacing-3xl: 6rem;     /* 96px */
    --spacing-4xl: 8rem;     /* 128px */
    --spacing-5xl: 12rem;    /* 192px */
    
    /* Section Padding */
    --section-padding-mobile: var(--spacing-2xl);     /* 64px mobile */
    --section-padding-tablet: var(--spacing-3xl);     /* 96px tablet */
    --section-padding-desktop: var(--spacing-4xl);    /* 128px desktop */
    
    /* Animation Variables */
    --animation-duration: 0.6s;
    --animation-delay: 0.1s;
    --animation-easing: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    
    /* Container Max Widths */
    --container-sm: 640px;
    --container-md: 768px;
    --container-lg: 1024px;
    --container-xl: 1280px;
    --container-2xl: 1440px;
}

body {
    font-family: "Open Sans", sans-serif !important;
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-normal);
    line-height: var(--line-height-relaxed);
    margin: 0;
    padding: 0;
    color: #1d1d1f;
}

/* ==========================================================================
   APPLE-INSPIRED HEADING HIERARCHY
   ========================================================================== */

h1 {
    font-size: var(--font-size-5xl);
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-tight);
    margin-bottom: var(--spacing-lg);
    letter-spacing: -0.02em;
}

h2 {
    font-size: var(--font-size-4xl);
    font-weight: var(--font-weight-semibold);
    line-height: var(--line-height-snug);
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.01em;
}

h3 {
    font-size: var(--font-size-3xl);
    font-weight: var(--font-weight-semibold);
    line-height: var(--line-height-snug);
    margin-bottom: var(--spacing-sm);
    letter-spacing: -0.01em;
}

h4 {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-medium);
    line-height: var(--line-height-normal);
    margin-bottom: var(--spacing-sm);
}

h5 {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-medium);
    line-height: var(--line-height-normal);
    margin-bottom: var(--spacing-xs);
}

h6 {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-semibold);
    line-height: var(--line-height-normal);
    margin-bottom: var(--spacing-xs);
}

p {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-normal);
    line-height: var(--line-height-relaxed);
    margin-bottom: var(--spacing-md);
    color: #6e6e73;
}

/* Apple-style Large Display Text */
.display-xl {
    font-size: var(--font-size-7xl);
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-tight);
    letter-spacing: -0.03em;
}

.display-lg {
    font-size: var(--font-size-6xl);
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-tight);
    letter-spacing: -0.025em;
}

/* Apple-style Subtitle */
.subtitle {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-normal);
    line-height: var(--line-height-relaxed);
    color: #6e6e73;
}

/* Apple-style Caption */
.caption {
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-normal);
    line-height: var(--line-height-normal);
    color: #86868b;
}

/* Section Subtitle Styling */
.sectionSubtitle {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-medium);
    color: #6e6e73;
    margin-bottom: var(--spacing-xs);
    text-align: center;
    letter-spacing: 0.05em;
}

.sectionSubtitle a {
    color: var(--color-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.sectionSubtitle a:hover {
    color: #6e6e73
}


/* ==========================================================================
   APPLE-INSPIRED RESPONSIVE TYPOGRAPHY
   ========================================================================== */

@media (max-width: 767px) {
    h1 {
        font-size: var(--font-size-4xl);
    }
    
    h2 {
        font-size: var(--font-size-3xl);
    }
    
    h3 {
        font-size: var(--font-size-2xl);
    }
    
    .display-xl {
        font-size: var(--font-size-5xl);
    }
    
    .display-lg {
        font-size: var(--font-size-4xl);
    }
    
    .subtitle {
        font-size: var(--font-size-xl);
    }
}

/* ==========================================================================
   APPLE-INSPIRED SECTION LAYOUTS
   ========================================================================== */

.section {
    padding: var(--section-padding-mobile) 0;
    max-width: var(--container-xl);
    margin: 0 auto;
}

@media (min-width: 768px) {
    .section {
        padding: var(--section-padding-tablet) 0;
    }
}

@media (min-width: 1024px) {
    .section {
        padding: var(--section-padding-desktop) 0;
    }
}

/* Hero Section - Apple style */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--spacing-3xl) var(--spacing-sm);
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

/* Feature Section - Apple style */
.feature-section {
    padding: var(--spacing-4xl) 0;
    background: #ffffff;
}

.feature-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-3xl);
    max-width: var(--container-lg);
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

@media (min-width: 768px) {
    .feature-grid {
        grid-template-columns: 1fr 1fr;
        align-items: center;
        padding: 0 var(--spacing-lg);
    }
}

@media (min-width: 1024px) {
    .feature-grid {
        padding: 0 var(--spacing-xl);
    }
}

#intro {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh; /* Dynamic viewport height for mobile devices */
    display: flex;
    justify-content: center;
    align-items: center;
    color: #1d1d1f;
    padding: 0;
    text-align: center;
}

#intro .container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    margin: 0 auto;
    padding: 0;
}

#intro #container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

/* Responsive adjustments for cube container */
@media (max-width: 1024px) {
    #intro #container {
        max-width: 600px;
    }
}

/* Tablet landscape optimization (iPad, Surface, etc.) */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
    #intro {
        min-height: 100vh;
        min-height: 100dvh;
        padding: 40px 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    #intro .container {
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 20px;
    }
    
    #intro #container {
        max-width: 80%;
        height: 75vh;
        height: 75dvh;
        min-height: 400px;
        max-height: 500px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* Tablet portrait optimization */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
    #intro {
        min-height: calc(100vh - 100px);
        min-height: calc(100dvh - 100px);
        padding: 60px 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    #intro .container {
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 30px;
    }
    
    #intro #container {
        max-width: 70%;
        height: 65vh;
        height: 65dvh;
        min-height: 450px;
        max-height: 600px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* Special handling for foldable phones and tablets */
@media (max-width: 900px) and (max-height: 1200px) {
    #intro {
        min-height: calc(100vh - 80px); /* Account for navbar */
        min-height: calc(100dvh - 80px);
        padding: 40px 0;
    }
    
    #intro #container {
        max-width: 70%;
        height: auto;
        min-height: 300px;
    }
}

/* Mobile phone optimization (smaller than tablet) */
@media (max-width: 767px) {
    #intro {
        min-height: calc(100vh - 60px); /* Reduced navbar height */
        min-height: calc(100dvh - 60px);
        padding: var(--spacing-lg) 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    #intro .container {
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 15px;
    }
    
    #intro #container {
        max-width: 100%;
        width: 95%;
        height: calc(60vh - 30px); /* Account for smaller navbar */
        height: calc(60dvh - 30px);
        min-height: 350px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* Specific optimization for Galaxy Z Fold and similar devices */
@media (min-width: 344px) and (max-width: 375px) and (min-height: 800px) {
    #intro {
        min-height: calc(100vh - 100px);
        min-height: calc(100dvh - 100px);
        padding: 60px 20px;
    }
    
    #intro #container {
        max-width: 85%;
        height: auto;
        min-height: 350px;
    }
}

/* Square aspect ratio optimization (foldable phones in square mode) */
@media (max-width: 500px) and (max-height: 600px) and (orientation: portrait) {
    #intro {
        min-height: 100vh;
        min-height: 100dvh;
        padding: 20px 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    #intro .container {
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 10px;
    }
    
    #intro #container {
        width: 90%;
        max-width: 90%;
        height: 70vh;
        height: 70dvh;
        min-height: 300px;
        max-height: 400px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* Extra square screen optimization */
@media (max-width: 450px) and (max-height: 450px) {
    #intro {
        min-height: 100vh;
        min-height: 100dvh;
        padding: 10px 0;
    }
    
    #intro #container {
        width: 85%;
        height: 80vh;
        height: 80dvh;
        min-height: 250px;
        max-height: 350px;
    }
}

@media (max-width: 480px) {
    #intro {
        min-height: calc(100vh - 60px); /* Match mobile navbar height */
        min-height: calc(100dvh - 60px);
        padding: var(--spacing-md) 0;
    }
    
    #intro #container {
        height: calc(50vh - 30px); /* Account for compact navbar */
        height: calc(50dvh - 30px);
        min-height: 320px;
        max-width: 95%;
    }
}

#intro::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/images/background.png?v=1.0.1') no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Enable parallax effect for performance */
    z-index: 0;
    /* Add will-change for better performance on animations */
    will-change: transform;
}


#intro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgb(245,245,247, 0.95);
    z-index: 1;
}

#intro > * {
    position: relative;
    z-index: 2;
}

#intro img {
    min-width: 60%;
    max-width: 75%;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

#intro h1,
#intro p {
    color: #1d1d1f;
}

#intro h1 {
    font-size: var(--font-size-6xl);
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-tight);
    margin-bottom: var(--spacing-lg);
    letter-spacing: -0.025em;
}

#intro p {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-normal);
    line-height: var(--line-height-relaxed);
    color: #6e6e73;
    max-width: 800px;
    margin: 0 auto var(--spacing-xl) auto;
}

/* ==========================================================================
   APPLE-INSPIRED BUTTON STYLES
   ========================================================================== */

#intro button {
    background-color: #007AFF;
    color: #ffffff;
    border-radius: 12px;
    padding: var(--spacing-sm) var(--spacing-lg);
    border: none;
    cursor: pointer;
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-medium);
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px 0 rgba(0, 122, 255, 0.39);
}

#intro button:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px 0 rgba(0, 122, 255, 0.5);
}

.btn-primary {
    color: #ffffff;
    border-radius: 12px;
    border: none;
    padding: var(--spacing-sm) var(--spacing-lg);
    cursor: pointer;
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-medium);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    color: #ffffff;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: #007AFF;
    border: 2px solid #007AFF;
    border-radius: 12px;
    padding: var(--spacing-sm) var(--spacing-lg);
    cursor: pointer;
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-medium);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: #007AFF;
    color: #ffffff;
    transform: translateY(-2px);
}

#backToSchool {
    background: linear-gradient(135deg, #e18080, #3f67a8);
    color: #2d676f;
    height: 100vh;
    padding: 0px;
}

#backToSchool h1,
#backToSchool p {
    color: #2d676f;
}

#backToSchool button {
    background-color: #f0e68c;
    color: #2d676f;
    border-radius: 10px;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

#backToSchool button:hover {
    background-color: #e6d8a5;
    transform: translateY(-2px);
}

#about {
    background: #ffffff;
    color: #1d1d1f;
    padding: var(--section-padding-desktop) 0;
}

#about h1 {
    color: #1d1d1f;
    font-size: var(--font-size-5xl);
    font-weight: var(--font-weight-bold);
    text-align: center;
    margin-bottom: var(--spacing-3xl);
    letter-spacing: -0.02em;
}

#about h3 {
    color: #1d1d1f;
    font-size: var(--font-size-3xl);
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--spacing-xs);
    letter-spacing: -0.01em;
}

#about p {
    font-size: var(--font-size-lg);
    color: #6e6e73;
    line-height: var(--line-height-relaxed);
    margin-bottom: var(--spacing-lg);
}


#course .contact-zalo {
    text-align: center;
   
}

#course .zalo-link {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    background: linear-gradient(135deg, #007AFF 0%, #00C7FF 100%);
    color: #ffffff;
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: 20px;
    text-decoration: none;
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-bold);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 32px rgba(0, 122, 255, 0.25);
    position: relative;
    overflow: hidden;
    border: none;
    backdrop-filter: blur(10px);
}

#course .zalo-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    z-index: 0;
}


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

#course .zalo-link:hover {
    background: linear-gradient(135deg, #0056CC 0%, #007AFF 100%);
    color: #ffffff;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0, 122, 255, 0.35);
    text-decoration: none;
}

#course .zalo-link:active {
    transform: translateY(-1px) scale(1.01);
    box-shadow: 0 6px 24px rgba(0, 122, 255, 0.3);
}

#course .zalo-link span {
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

#course .zalo-icon {
    width: 48px;
    height: 48px;
    object-fit: contain;
    transition: transform 0.3s ease;
    z-index: 1;
    position: relative;
}

@media (max-width: 1024px) {
    #course .zalo-icon {
        width: 60px;
        height: 60px;
    }
    
}

#course .zalo-link:hover .zalo-icon {
    transform: scale(1.1) rotate(5deg);
}

#shopee {
    background: linear-gradient(135deg, #f5d5b1, #e18080);
    color: #2d676f;
    padding: 0px;
    text-align: center;
}

#shopee h1 {
    color: #2d676f;
    font-size: var(--font-size-4xl);
    font-weight: var(--font-weight-bold);
}

#shopee h3 {
    color: #2d676f;
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-semibold);
}

#shopee p {
    color: #2d676f;
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-normal);
}

#shopee h1,
#shopee p {
    color: #2d676f;
}

#shopee button {
    background-color: #f0e68c;
    color: #2d676f;
    border-radius: 10px;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

#shopee button:hover {
    background-color: #e6d8a5;
    transform: translateY(-2px);
}

.circle-image {
    width: 200px;
    height: 200px;
    margin: 0 auto;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid #ffffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#social-media {
    background: #f5f5f7;
    padding: var(--section-padding-desktop) 0;
}

#social-media h1 {
    font-size: var(--font-size-5xl);
    font-weight: var(--font-weight-bold);
    color: #1d1d1f;
    text-align: center;
    margin-bottom: var(--spacing-3xl);
    letter-spacing: -0.02em;
}

/* #social-media h1 {
    color: #2d676f;
}

#social-media .card-title {
    color: #024057;
    margin: 0;
    display: flex;
    align-items: center;
    height: 50px;
    text-align: center;
} */

#social-media .card-text {
    color: #4D4D4D;
    margin: 0;
    text-align: center;
}

#social-media .card {
    background-color: #ffffff;
    border-radius: 18px;

    /* padding: var(--spacing-xs); */
    transition: all 0.3s ease;
    transform: translateY(0);
    border: none;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

#social-media .card:hover{
    background-color: #ffffff;
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

#social-media .card-title {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-semibold);
    color: #1d1d1f;
    margin-bottom: var(--spacing-xs);
    line-height: var(--line-height-snug);
}

#social-media .card:hover > a{
    text-decoration: none;
}

#social-media .icon {
    width: 120px;
    height: 120px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

#social-media .card:hover .icon {
    transform: scale(1.1);
}

#social-media a {
    text-decoration: none;
    color: #4D4D4D;
    transition: color 0.3s ease;
}

#social-media a:hover {
    text-decoration: underline;
    color: #1d1d1f;
}

#footer {
    background: rgb(245,245,247);
    color: #495057;
}

#footer .text-primary {
    color: #1d1d1f !important;
    font-weight: 600;
}

#footer .py-4 {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
}

#footer .form-control {
    border: none;
    border-radius: 0;
    box-shadow: none;
}

#footer .form-control:focus {
    box-shadow: none;
}

#footer .text-decoration-none {
    text-decoration: none !important;
    color: #6c757d;
}

#footer .text-decoration-none:hover {
    color: #007AFF;
}

#footer .me-3 {
    margin-right: 1rem !important;
}

#footer .bi-facebook, 
#footer .bi-youtube {
    transition: color 0.3s ease;
    color: #6c757d;
}

#footer .bi-facebook:hover {
    color: #1877f2;
}

#footer .bi-youtube:hover {
    color: #ff0000;
}

#footer h3 {
    color: #343a40 !important;
    display: flex;
    align-items: center;
}

.image-container img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    object-fit: cover;
}

a {
    text-decoration: none !important;
}

.info {
    display: inline-block;
    width: auto;
    transition: all 0.3s ease;
}

.info:hover {
    transform: scale(1.08);
    filter: brightness(1.1);
}
.dialog-overlay {
    position: fixed; /* Thêm dòng này */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.dialog {
    background-color: white;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    width: 100%;
    position: relative;
}

.dialog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.dialog-header h2 {
    margin: 0;
    font-size: var(--font-size-3xl);
    font-weight: var(--font-weight-semibold);
    color: #2d676f;
}

.dialog-close {
    cursor: pointer;
    font-size: var(--font-size-xl);
}

.dialog-content {
    font-size: var(--font-size-base);
    line-height: 1.5;
}

#mentors h3 {
    color: #2d676f;
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-semibold);
}

#mentors p {
    color: #2d676f;
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-normal);
}
#mentors {
    background: linear-gradient(135deg, #f0f4f9, #f7e7e1);
    color: #2d676f;
    padding: 0px;
    text-align: center;
}

#mentors h1 {
    color: #2d676f;
    font-size: var(--font-size-4xl);
    font-weight: var(--font-weight-bold);
}

#mentors h3 {
    color: #2d676f;
    font-weight: bold;
}

.mentor-image {
    max-width: 90%;
    max-height: 100%;
    height: auto;
    width: auto;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.mentor-image:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}
.home-logo {
    width: 55vh;
}

@media (max-width: 1024px) {
    .home-logo {
        width: 30vh; /* Giảm chiều cao trên màn hình nhỏ hơn */
    }
}
@media (max-width: 767px) {
    .home-logo {
        width: 35vh; /* Giảm chiều cao trên màn hình nhỏ hơn */
    }
}

/*@media (max-width: 991px) {*/
/*    .mentor-image {*/
/*        max-width: 50%;*/
/*    }*/
/*}*/
/*@media (max-width: 767px) {*/
/*    .mentor-image {*/
/*        width: 32vh; !* Giảm chiều cao trên màn hình nhỏ hơn *!*/
/*    }*/
/*}*/
dialog {
    border: none;
    border-radius: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    max-width: 300px;
    text-align: center;
    color: #1d1d1f !important;
}
dialog::backdrop {
    background: rgba(0, 0, 0, 0.5);
}
.dialog-button {
    background-color: #f0e68c;
    color: #1d1d1f;
    padding: 10px 20px;
    border: 0px;
    border-radius: 20px;
    cursor: pointer;
    margin-top: 20px;
}
.dialog-button:hover {
    background-color: #e6d8a5;
}

.btn-primary {
    background-color: #f0e68c;
    color: #2d676f;
    border-radius: 10px;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.btn-primary:hover {
    background-color: #e6d8a5;
    color: #2d676f;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-reply {
    background-color: #2d9ed9;
    color: white;
    border-radius: 10px;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.btn-reply:hover {
    background-color: #3480a8;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

#ranking {
    background: #235234;
    color: #2d676f;
    height: auto;
}

#ranking h1 {
    font-size: var(--font-size-4xl);
    font-weight: var(--font-weight-bold);
    color: white;
}

#ranking p {
    color: white;
}

#ranking button {
    background-color: #235234;
    color: white;
    border: #235234 solid;
    border-radius: 10px;
    padding: 10px 20px;
    margin-right: 5px;
    white-space: nowrap;
}
#ranking button.outline-button {
    background-color: #f5f8f6;
    color: #235234;
    border: #235234 solid;
    border-radius: 10px;
    padding: 10px 20px;
    margin-right: 5px;
    margin-bottom: 5px;
}
#ranking button.active {
    margin-right: 5px;
    margin-bottom: 5px;
}

#ranking button:hover {
    background-color: #61836d;
}

#result {
    display: flex;
    flex-wrap: nowrap; /* Để button tự xuống dòng nếu không đủ không gian */
    gap: 5px; /* Khoảng cách giữa các button */
}

.event-item {
    display: inline-block;
}

/* Style cho các hình ảnh */
/* Sắp xếp các hình ảnh thành một hàng và sát nhau */
.d-flex {
    display: flex;
    gap: 0; /* Loại bỏ khoảng cách giữa các hình ảnh */
}

.img-button {
    width: 30px;
    height: 30px;
    cursor: pointer;
    margin: 5px;
    transition: transform 0.3s ease, filter 0.3s ease;
    opacity: 0.5;
}

/* Khi được chọn (active) */
.img-button.active {
    transform: scale(1.1);
    filter: hue-rotate(90deg); /* Thay đổi màu sắc của ảnh bằng cách xoay màu */
    opacity: 1;
}
.table > :not(caption) > .rank-1 > * {
    background-color: #e5d08f; /* Màu cho rank 1 */
}

.table > :not(caption) > .rank-2 > * {
    background-color: #cacbce; /* Màu cho rank 2 */
}

.table > :not(caption) > .rank-3 > * {
    background-color: #cec2ae; /* Màu đồng cho rank 3 */
}

.table > :not(caption) > .nextRound > * {
    background-color: rgba(242, 218, 195, 0.34); /* Màu đồng cho rank 3 */
}

.nav-logo {
    border-radius: 0 !important;
}
.thumbnail-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 15px;
}

.thumbnail-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.small-thumbnail-container {
    position: relative;
    width: 100%;
    height: 60px;
    overflow: hidden;
    border-radius: 15px;
}

.small-thumbnail-container img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: auto;
    min-height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
}
#blog {
   background: rgb(245,245,247);
    color: #1d1d1f;
    padding: var(--section-padding-desktop) 0;
    line-height: var(--line-height-relaxed);
}

#blog * {
    color: #1d1d1f;
}

#blog h1 {
    font-size: var(--font-size-5xl);
    font-weight: var(--font-weight-bold);
    color: #1d1d1f;
    text-align: center;
    margin-bottom: var(--spacing-3xl);
    letter-spacing: -0.02em;
}

#blog h3 {
    font-size: var(--font-size-3xl);
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--spacing-md);
}

#blog h6 {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-semibold);
    line-height: var(--line-height-snug);
    margin-bottom: var(--spacing-sm);
}

#blog p {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-normal);
    color: #6e6e73;
    line-height: var(--line-height-relaxed);
    margin-bottom: var(--spacing-md);
    text-align: start;
}

#blog a {
    color: #1d1d1f;
    transition: color 0.1s ease, transform 0.3s ease, filter 0.3s ease !important;
}

#blog .first-article:hover {
    color: #f7d31d;
}

#blog .article-container {
    margin: 0 auto;
    /* background-color: white; */
    /* padding: 20px; */
    /* border-radius: 15px; */
    /* box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); */
}

#blog .more {
    color: #6e6e73;
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    text-transform: uppercase;
    align-items: center;
    text-align: right;
    display: block;
}

#blog .more i {
    color: #6e6e73;
}
#blog .more:hover i {
    color: #6e6e73;
}

#blog .first-article a h6,
#blog .first-article a p,
#blog .first-article a span {
    transition: color 0.2s ease; /* Chuyển màu nền mượt mà */
}


#blog .first-article a:hover h6,
#blog .first-article a:hover p,
#blog .first-article a:hover span {
    color: #6e6e73;
}

#blog .first-article a img {
    transition: background-color 0.3s ease; /* Chuyển màu nền mượt mà */
}
#blog .first-article a:hover img {
    background-color: rgba(0, 0, 0, 0.2); /* Làm tối ảnh khi hover */;
}


#blog .row a:hover span {
    color: #6e6e73; /* Đổi màu cho title các bài viết khác */
}

#blog .more:hover {
    color: #6e6e73;
}



#blog .small-thumbnail-container {
    position: relative;
    overflow: hidden;
}

#blog .small-thumbnail-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0); /* Không tối khi không hover */
    transition: background-color 0.3s ease; /* Chuyển màu nền mượt mà */
    z-index: 1;
}

#blog .small-thumbnail-container:hover::before {
    background-color: rgba(0, 0, 0, 0.2); /* Làm tối ảnh khi hover */
}

#blog .small-thumbnail-container img {
    position: relative;
    z-index: 0; /* Đảm bảo ảnh ở phía dưới lớp tối */
}

#blog h6{
    line-height: var(--line-height-normal);
}

/* Article Title Styling */
.article-title {
    font-size: var(--font-size-3xl) !important;
    font-weight: var(--font-weight-bold) !important;
    margin: 0 !important;
    display: flex !important;
    align-items: start !important;
    justify-content: start !important;
    text-align: start !important;
    margin-bottom: var(--spacing-sm) !important;
}

.article-title img {
    flex-shrink: 0;
}

/* Title span styling for smaller articles */
.article-subtitle {
    display: flex !important;
    line-height: 1.4 !important;
    font-weight: 500 !important;
    align-items: start !important;
    justify-content: start !important;
    text-align: start !important;
    font-size: var(--font-size-lg) !important;
}

.article-subtitle img {
    flex-shrink: 0;
}

/* ==========================================================================
   APPLE-INSPIRED ACTIVITY SECTION
   ========================================================================== */

#activities {
    background: #ffffff;
    color: #1d1d1f;
    padding: var(--section-padding-desktop) 0;
    text-align: center;
}

#activities h1 {
    font-size: var(--font-size-5xl);
    font-weight: var(--font-weight-bold);
    color: #1d1d1f;
    text-align: center;
    margin-bottom: var(--spacing-3xl);
    letter-spacing: -0.02em;
}

#activities .activity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-lg);
    max-width: var(--container-xl);
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

#activities .activity-card {
    background: linear-gradient(135deg, #e8c1c1 0%, #f4e4e4 100%);
    border-radius: 20px;
    padding: 0;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    position: relative;
}

#activities .activity-card:nth-child(2) {
    background: linear-gradient(135deg, #c8e6c9 0%, #e8f5e8 100%);
}

#activities .activity-card:nth-child(3) {
    background: linear-gradient(135deg, #b3d9ff 0%, #e1f0ff 100%);
}
#activities .activity-card:nth-child(4) {
    background: linear-gradient(135deg, #ffe0b2 0%, #fff3e0 100%);
}
#activities .activity-card:nth-child(5) {
    background: linear-gradient(135deg, #d1c4e9 0%, #ede7f6 100%);
}
#activities .activity-card:nth-child(6) {
    background: linear-gradient(135deg, #b2dfdb 0%, #e0f7fa 100%);
}

#activities .activity-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

#activities .activity-image {
    width: calc(100% + 40px);
    height: 280px;
    border-radius: 15px 15px 0 0;
    margin: -20px -20px var(--spacing-lg) -20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

#activities .activity-content {
    padding: 0 var(--spacing-lg) var(--spacing-lg) var(--spacing-lg);
}

#activities .activity-category {
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    color: #6e6e73;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--spacing-xs);
}

#activities .activity-title {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-bold);
    color: #1d1d1f;
    margin-bottom: var(--spacing-sm);
    line-height: var(--line-height-tight);
}

#activities .activity-subtitle {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-medium);
    color: #1d1d1f;
    margin-bottom: var(--spacing-xs);
    line-height: var(--line-height-snug);
}

#activities .activity-description {
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-normal);
    color: #6e6e73;
    line-height: var(--line-height-relaxed);
    margin-bottom: var(--spacing-md);
}

@media (max-width: 768px) {
    #activities {
        padding: var(--section-padding-mobile) 0;
    }
    
    #activities .activity-grid {
        grid-template-columns: 1fr;
        padding: 0 var(--spacing-sm);
        gap: var(--spacing-md);
    }
    
    #activities .activity-card {
        padding: 0;
    }
    
    #activities .activity-image {
        width: calc(100% + 32px);
        height: 240px;
        margin: -16px -16px var(--spacing-md) -16px;
    }
    
    #activities .activity-content {
        padding: 0 var(--spacing-lg) var(--spacing-lg) var(--spacing-lg);
    }
    
    #activities h1 {
        font-size: var(--font-size-4xl);
    }
}

.section {
    padding: var(--section-padding-mobile) 0;
    max-width: var(--container-xl);
    margin: 0 auto;
}

@media (min-width: 768px) {
    .section {
        padding: var(--section-padding-tablet) 0;
    }
}

@media (min-width: 1024px) {
    .section {
        padding: var(--section-padding-desktop) 0;
    }
}

.descriptionSection {

    padding: var(--section-padding-desktop) 0;
}
.descriptionSection h2 {

    font-size: var(--font-size-5xl);

}

.imageWrapper {
    position: relative;
    padding: var(--spacing-lg);
    display: flex;
    justify-content: center;
    align-items: center;
}

.descriptionImage {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease;
}

.descriptionImage:hover {
    transform: scale(1.02);
}

.textContent {
    padding: var(--spacing-xl) 0;
    max-width: 600px;
    margin: 0 auto;
}

.sectionTitle {
    font-size: var(--font-size-5xl);
    font-weight: var(--font-weight-bold);
    color: #1d1d1f;
    margin-bottom: var(--spacing-xl) !important; 
    line-height: var(--line-height-tight);
    letter-spacing: -0.025em;
    text-align: center;
}

.sectionDescription {
    font-size: var(--font-size-2xl);
    line-height: var(--line-height-relaxed);
    color: #6e6e73;
    font-weight: var(--font-weight-normal);
    margin-bottom: var(--spacing-xl);
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================================================
   TABLET RESPONSIVE DESIGN
   ========================================================================== */

@media (min-width: 768px) and (max-width: 1024px) {
    .section {
        padding: var(--section-padding-tablet) 0;
    }

    .imageWrapper {
        padding: var(--spacing-md);
    }

    .sectionTitle {
        font-size: var(--font-size-4xl);
        margin-bottom: var(--spacing-lg);
    }

    .sectionDescription {
        font-size: var(--font-size-xl);
        margin-bottom: var(--spacing-lg);
    }
    
    #about {
        padding: var(--section-padding-tablet) 0;
    }
    
    #social-media {
        padding: var(--section-padding-tablet) 0;
    }
    
    #blog {
        padding: var(--section-padding-tablet) 0;
    }
    
    #intro h1 {
        font-size: var(--font-size-5xl);
    }
    
    #intro p {
        font-size: var(--font-size-xl);
    }
}

/* ==========================================================================
   APPLE-INSPIRED RESPONSIVE DESIGN - MOBILE ONLY
   ========================================================================== */

@media (max-width: 767px) {
    .section {
        padding: var(--section-padding-mobile) 0;
    }

    .imageWrapper {
        margin-bottom: var(--spacing-xl);
        text-align: center;
        padding: var(--spacing-sm);
    }

    .descriptionImage {
        max-width: 90%;
    }

    .sectionTitle {
        font-size: var(--font-size-4xl);
        text-align: center;
        margin-bottom: var(--spacing-lg);
    }

    .sectionDescription {
        font-size: var(--font-size-xl);
        text-align: center;
        margin-bottom: var(--spacing-lg);
    }
    
    .textContent {
        padding: var(--spacing-lg) 0;
    }
    
    #about {
        padding: var(--section-padding-mobile) 0;
    }
    
    #social-media {
        padding: var(--section-padding-mobile) 0;
    }
    
    #blog {
        padding: var(--section-padding-mobile) 0;
    }
    
    #intro {
        padding: var(--spacing-lg) 0;
        min-height: calc(100dvh - 60px); /* Account for compact mobile navbar */
        height: calc(100dvh - 60px);
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    #intro .container {
        margin: 0 auto;
        padding: var(--spacing-sm);
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100%;
        width: 100%;
    }
    
    #intro #container {
        width: 100%;
        max-width: 100%;
        height: calc(100dvh - 120px); /* Account for navbar and padding */
        min-height: 320px;
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
    }
    
    #intro h1 {
        font-size: var(--font-size-4xl);
    }
    
    #intro p {
        font-size: var(--font-size-xl);
    }
}

/* Animation enhancement */
.imageWrapper::before {
  content: '';
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  border-radius: 25px;
  background: linear-gradient(135deg, rgba(0, 85, 255, 0.1), rgba(0, 153, 255, 0.1));
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.imageWrapper:hover::before {
  opacity: 1;
}

/* ==========================================================================
   SCROLL ANIMATIONS AND PAGE LOAD ANIMATIONS
   ========================================================================== */

/* Performance optimization for smooth scrolling */
* {
  box-sizing: border-box;
}

/* Enable hardware acceleration for smooth animations */
.animate-on-scroll,
.activity-card,
.card,
img {
  will-change: transform;
  backface-visibility: hidden;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

/* Optimize image loading and rendering */
img {
  display: block;
  max-width: 100%;
  height: auto;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  transform: translateZ(0);
}

/* Keyframes for animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate3d(0, 40px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translate3d(-40px, 0, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translate3d(40px, 0, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale3d(0.9, 0.9, 1);
  }
  to {
    opacity: 1;
    transform: scale3d(1, 1, 1);
  }
}

@keyframes slideInFromTop {
  from {
    opacity: 0;
    transform: translate3d(0, -30px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/* Base classes for animated elements - Optimized for performance */
.animate-on-scroll {
  opacity: 0;
  transform: translate3d(0, 40px, 0);
  transition: opacity var(--animation-duration) var(--animation-easing),
              transform var(--animation-duration) var(--animation-easing);
  will-change: opacity, transform;
}

.animate-on-scroll.animate {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* Loading animations for page elements */
.page-loading #intro {
  animation: fadeIn 1s var(--animation-easing) 0.2s both;
}

.page-loading #description {
  animation: fadeInUp var(--animation-duration) var(--animation-easing) 0.4s both;
}

.page-loading #blog {
  animation: fadeInUp var(--animation-duration) var(--animation-easing) 0.6s both;
}

.page-loading #activities {
  animation: fadeInUp var(--animation-duration) var(--animation-easing) 0.8s both;
}

.page-loading #social-media {
  animation: fadeInUp var(--animation-duration) var(--animation-easing) 1s both;
}

.page-loading #about {
  animation: fadeInUp var(--animation-duration) var(--animation-easing) 1.2s both;
}

.page-loading #course {
  animation: fadeInUp var(--animation-duration) var(--animation-easing) 0.4s both;
}


/* Enhanced scroll animations for specific elements - Hardware accelerated */
.activity-card {
  transition: transform 0.3s var(--animation-easing), 
              box-shadow 0.3s var(--animation-easing);
  will-change: transform;
  backface-visibility: hidden;
}

.activity-card:hover {
  transform: translate3d(0, -5px, 0);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.card {
  transition: transform 0.3s var(--animation-easing), 
              box-shadow 0.3s var(--animation-easing);
  will-change: transform;
  backface-visibility: hidden;
}

.card:hover {
  transform: translate3d(0, -3px, 0);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Staggered animations for grid items */
.activity-grid .activity-card:nth-child(1) {
  animation-delay: 0.1s;
}

.activity-grid .activity-card:nth-child(2) {
  animation-delay: 0.2s;
}

.activity-grid .activity-card:nth-child(3) {
  animation-delay: 0.3s;
}

/* Social media icons staggered animation */
#social-media .col-lg-4:nth-child(1) {
  animation-delay: 0.1s;
}

#social-media .col-lg-4:nth-child(2) {
  animation-delay: 0.2s;
}

#social-media .col-lg-4:nth-child(3) {
  animation-delay: 0.3s;
}

/* Navbar animation */
.navbar {
  animation: slideInFromTop 0.8s var(--animation-easing) both;
}

/* Initial hidden state for elements that will animate - DISABLED FOR DEBUGGING */
body:not(.loaded) section {
  /* opacity: 0; */
  opacity: 1 !important;
  /* will-change: opacity, transform; */
}

body.loaded section {
  /* animation: fadeInUp var(--animation-duration) var(--animation-easing) both; */
  animation: none !important;
  opacity: 1 !important;
  /* will-change: auto; */
}

/* Smooth scrolling for the page with performance optimization */
html {
  scroll-behavior: smooth;
}

/* Optimize scroll performance */
body {
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
}

/* Reduce animation on mobile for better performance */
@media (max-width: 767px) {
  .animate-on-scroll {
    transform: translate3d(0, 20px, 0);
  }
  
  .activity-card:hover,
  .card:hover {
    transform: translate3d(0, -2px, 0);
  }
  
  /* Disable hover effects on touch devices */
  @media (hover: none) {
    .activity-card:hover,
    .card:hover {
      transform: none;
      box-shadow: inherit;
    }
  }
}

/* ==========================================================================
   LINEUP SECTION STYLES
   ========================================================================== */

#lineup {
    background: #f5f5f7;
    padding: var(--section-padding-desktop) 0;
    text-align: center;
}

#lineup h1 {
    font-size: var(--font-size-5xl);
    font-weight: var(--font-weight-bold);
    color: #1d1d1f;
    margin-bottom: var(--spacing-xl);
    text-align: center;
}

#lineup .lineup-container {
    max-width: var(--container-2xl);
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
    position: relative;
}

#lineup .lineup-container::before,
#lineup .lineup-container::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 60px;
    z-index: 5;
    pointer-events: none;
}

#lineup .lineup-container::before {
    left: 0;
    background: linear-gradient(to right, #f5f5f7, rgba(245, 245, 247, 0));
}

#lineup .lineup-container::after {
    right: 0;
    background: linear-gradient(to left, #f5f5f7, rgba(245, 245, 247, 0));
}

#lineup .lineup-scroll {
    display: flex;
    gap: var(--spacing-lg);
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: var(--spacing-md) 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* Internet Explorer 10+ */
}

/* Completely hide scrollbar for all browsers */
#lineup .lineup-scroll::-webkit-scrollbar {
    display: none;
}

/* Navigation buttons */
#lineup .lineup-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1d1d1f;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    z-index: 10;
    backdrop-filter: blur(10px);
}

#lineup .lineup-nav:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

#lineup .lineup-nav:active {
    transform: translateY(-50%) scale(0.95);
}

#lineup .lineup-nav-prev {
    left: -24px;
}

#lineup .lineup-nav-next {
    right: -24px;
}

#lineup .lineup-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

#lineup .lineup-card {
    flex: 0 0 240px;
    height: 320px;
    border-radius: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    position: relative;
}

#lineup .lineup-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    transition: transform 0.3s ease;
}

#lineup .lineup-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

#lineup .lineup-card:hover img {
    transform: scale(1.05);
}

#lineup .lineup-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Responsive adjustments for LineUp section */
@media (max-width: 768px) {
    #lineup {
        padding: var(--section-padding-mobile) 0;
    }
    
    #lineup .lineup-container {
        padding: 0 var(--spacing-sm);
    }
    
    #lineup .lineup-container::before,
    #lineup .lineup-container::after {
        width: 40px;
    }
    
    #lineup .lineup-card {
        flex: 0 0 200px;
        height: 280px;
    }
    
    #lineup h1 {
        font-size: var(--font-size-4xl);
        margin-bottom: var(--spacing-lg);
    }
    
    /* Adjust navigation buttons for mobile */
    #lineup .lineup-nav {
        width: 40px;
        height: 40px;
    }
    
    #lineup .lineup-nav-prev {
        left: -20px;
    }
    
    #lineup .lineup-nav-next {
        right: -20px;
    }
}

@media (max-width: 480px) {
    #lineup .lineup-container::before,
    #lineup .lineup-container::after {
        width: 30px;
    }
    
    #lineup .lineup-card {
        flex: 0 0 180px;
        height: 240px;
    }
    
    /* Hide navigation buttons on very small screens */
    #lineup .lineup-nav {
        width: 36px;
        height: 36px;
    }
    
    #lineup .lineup-nav-prev {
        left: -18px;
    }
    
    #lineup .lineup-nav-next {
        right: -18px;
    }
}

/* ==========================================================================
   SOCIAL MEDIA GRID LAYOUT - Similar to Activities Grid
   ========================================================================== */

#social-media .social-media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-lg);
    max-width: var(--container-xl);
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

#social-media .social-media-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

#social-media .social-media-card:hover {
    transform: translateY(-8px);
}

/* Responsive adjustments for social media grid */
@media (max-width: 768px) {
    #social-media .social-media-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
        padding: 0 var(--spacing-md);
    }
}
