/* CSS Variables - Sleek Blue-Teal Gradient ColorHunt Palette Only */
:root {
    --light-teal: #52D3D8;         /* Light Teal - background accents, UI highlights */
    --medium-blue: #3887BE;        /* Medium Blue - primary buttons, banners, key UI */
    --deep-indigo: #38419D;        /* Deep Indigo Blue - headings, CTAs, featured elements */
    --midnight-blue: #200E3A;      /* Rich Midnight Blue - primary text, subtle accents */
    
    /* Semantic color assignments */
    --primary-color: var(--medium-blue);
    --secondary-color: var(--deep-indigo);
    --accent-color: var(--light-teal);
    --background-color: var(--light-teal);
    --text-primary: var(--midnight-blue);
    --text-secondary: var(--deep-indigo);
    --text-light: var(--midnight-blue);
    --border-color: var(--medium-blue);
    --shadow: 0 4px 12px rgba(32, 14, 58, 0.15);
    --shadow-hover: 0 8px 24px rgba(32, 14, 58, 0.25);
    --transition: all 0.3s ease;
}

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

/* Prevent layout shift by reserving space */
html {
    scroll-behavior: smooth;
}

/* Reserve space for fixed elements to prevent CLS */
body {
    padding-top: 0; /* Will be adjusted by JavaScript */
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: linear-gradient(135deg, var(--light-teal) 0%, var(--medium-blue) 100%);
    min-height: 100vh;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: var(--deep-indigo);
    font-weight: 600;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    color: var(--midnight-blue);
    margin-bottom: 1rem;
}

a {
    color: var(--medium-blue);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--deep-indigo);
    text-decoration: underline;
}

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

/* Header & Navigation */
.header {
    background: rgba(82, 211, 216, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    /* Prevent layout shift */
    min-height: 80px;
    height: auto;
}

.navbar {
    padding: 1rem 0;
    /* Prevent layout shift */
    min-height: 60px;
    display: flex;
    align-items: center;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    /* Prevent layout shift */
    min-height: 60px;
    width: 100%;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    /* Prevent layout shift */
    min-height: 50px;
    flex-shrink: 0;
}

.logo-image {
    width: 50px;
    height: 50px;
    object-fit: contain;
    border-radius: 8px;
    transition: var(--transition);
    /* Prevent layout shift */
    aspect-ratio: 1/1;
    min-width: 50px;
    min-height: 50px;
    flex-shrink: 0;
}

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

.nav-logo h1 {
    color: var(--midnight-blue);
    font-size: 1.8rem;
    font-weight: 700;
    /* Prevent layout shift */
    line-height: 1.2;
    margin: 0;
    white-space: nowrap;
    flex-shrink: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    /* Prevent layout shift */
    min-height: 50px;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: var(--midnight-blue);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: var(--transition);
}

.nav-link:hover {
    background: var(--medium-blue);
    color: var(--light-teal);
    text-decoration: none;
    transform: translateY(-2px);
}

/* Login Button Styling */
.login-btn {
    background: var(--deep-indigo);
    color: var(--light-teal);
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    transition: var(--transition);
}

.login-btn:hover {
    background: var(--medium-blue);
    color: var(--light-teal);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
    text-decoration: none;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    /* Prevent layout shift */
    width: 30px;
    height: 30px;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--midnight-blue);
    margin: 3px 0;
    transition: var(--transition);
    border-radius: 2px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-decoration: none;
    font-size: 1rem;
    /* Prevent layout shift */
    min-height: 44px;
    line-height: 1.2;
    white-space: nowrap;
}

.btn-primary {
    background: var(--deep-indigo);
    color: var(--light-teal);
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    background: var(--medium-blue);
    color: var(--light-teal);
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    text-decoration: none;
}

.btn-secondary {
    background: var(--medium-blue);
    color: var(--light-teal);
    border: 2px solid var(--deep-indigo);
}

.btn-secondary:hover {
    background: var(--deep-indigo);
    color: var(--light-teal);
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    text-decoration: none;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--light-teal) 0%, var(--medium-blue) 100%);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    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="20" cy="20" r="2" fill="%23FF7ED4" opacity="0.3"/><circle cx="80" cy="40" r="1.5" fill="%23FF3EA5" opacity="0.2"/><circle cx="40" cy="80" r="1" fill="%236420AA" opacity="0.1"/></svg>');
    pointer-events: none;
}

.hero-container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-content {
    text-align: left;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    /* Prevent layout shift */
    min-height: 300px;
    width: 100%;
    position: relative;
}

.hero-img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    /* Prevent layout shift */
    aspect-ratio: 16/9;
    min-height: 300px;
    object-fit: cover;
    width: 100%;
}

.hero-img:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.hero-section h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--midnight-blue);
}

.hero-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--midnight-blue);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    /* Prevent layout shift */
    min-height: 50px;
    align-items: center;
}

/* Registration Steps */
.registration-steps {
    padding: 80px 0;
    background: rgba(82, 211, 216, 0.3);
    opacity: 1;
    visibility: visible;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.step {
    background: rgba(255, 255, 255, 0.8);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 2px solid transparent;
    opacity: 1;
    transform: translateY(0);
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--medium-blue);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--deep-indigo);
    color: var(--light-teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1rem;
}

/* Features Section */
.features-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--medium-blue) 0%, var(--light-teal) 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    /* Prevent layout shift */
    min-height: 400px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    /* Prevent layout shift */
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.feature-card img {
    width: 80px;
    height: 80px;
    margin-bottom: 1rem;
    border-radius: 15px;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, var(--light-teal) 0%, var(--medium-blue) 100%);
    border-radius: 15px;
    color: var(--midnight-blue);
    transition: var(--transition);
}

.feature-icon:hover {
    transform: scale(1.1);
    background: linear-gradient(135deg, var(--medium-blue) 0%, var(--deep-indigo) 100%);
    color: var(--light-teal);
}

.feature-card h4 {
    color: var(--deep-indigo);
    margin-bottom: 1rem;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--midnight-blue) 0%, var(--deep-indigo) 100%);
    text-align: center;
    color: var(--light-teal);
}

.cta-section h3 {
    color: var(--light-teal);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    color: var(--light-teal);
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* Footer */
.footer {
    background: var(--midnight-blue);
    color: var(--light-teal);
    padding: 60px 0 20px;
    /* Prevent layout shift */
    min-height: 300px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    /* Prevent layout shift */
    min-height: 200px;
}

.footer-section h4 {
    color: var(--medium-blue);
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--light-teal);
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--medium-blue);
    text-decoration: none;
}

.footer-section p {
    color: #ffffff;
    margin-bottom: 1rem;
    line-height: 1.6;
}

/* Social Links Styling */
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--deep-indigo);
    color: var(--light-teal);
    border-radius: 50%;
    transition: var(--transition);
    text-decoration: none;
}

.social-links a:hover {
    background: var(--medium-blue);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    color: var(--light-teal);
}

.social-links i {
    font-size: 1.2rem;
}

/* Newsletter Form Styling */
.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.newsletter-form input[type="email"] {
    padding: 12px;
    border: 2px solid var(--medium-blue);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.8);
    color: var(--midnight-blue);
    font-size: 1rem;
    transition: var(--transition);
}

.newsletter-form input[type="email"]:focus {
    outline: none;
    border-color: var(--deep-indigo);
    box-shadow: 0 0 0 3px rgba(56, 65, 157, 0.1);
}

.newsletter-form input[type="email"]::placeholder {
    color: var(--midnight-blue);
    opacity: 0.7;
}

.newsletter-form button {
    padding: 12px 20px;
    background: var(--deep-indigo);
    color: var(--light-teal);
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background: var(--medium-blue);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* Responsive adjustments for footer */
@media (max-width: 768px) {
    .social-links {
        justify-content: center;
    }
    
    .newsletter-form {
        max-width: 300px;
        margin: 1rem auto 0;
    }
}

@media (max-width: 480px) {
    .social-links a {
        width: 35px;
        height: 35px;
    }
    
    .social-links i {
        font-size: 1rem;
    }
    
    .newsletter-form input[type="email"],
    .newsletter-form button {
        padding: 10px;
        font-size: 0.9rem;
    }
}

.footer-bottom {
    border-top: 1px solid var(--medium-blue);
    padding-top: 2rem;
    text-align: center;
    color: var(--light-teal);
}

/* Page Header Styles */
.page-header {
    background: linear-gradient(135deg, var(--midnight-blue) 0%, var(--deep-indigo) 100%);
    padding: 60px 0;
    text-align: center;
    color: var(--light-teal);
}

.page-header h1 {
    color: var(--light-teal);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.page-header p {
    color: var(--light-teal);
    font-size: 1.1rem;
}

/* Policy Content Styles */
.policy-content {
    padding: 60px 0;
    background: rgba(255, 181, 218, 0.2);
}

.policy-content .container {
    background: rgba(255, 255, 255, 0.9);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.policy-content h2 {
    color: var(--deep-indigo);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.policy-content h3 {
    color: var(--medium-blue);
    margin: 2rem 0 1rem;
    font-size: 1.4rem;
}

.policy-content p {
    color: var(--midnight-blue);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.policy-content ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.policy-content ul li {
    color: var(--midnight-blue);
    margin-bottom: 0.5rem;
}

/* Contact Section Styles */
.contact-section {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--medium-blue) 0%, var(--light-teal) 100%);
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-method {
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.contact-method:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.contact-method h3 {
    color: var(--deep-indigo);
    margin-bottom: 1rem;
}

.contact-method p {
    color: var(--midnight-blue);
    margin-bottom: 1rem;
}

.contact-method a {
    color: var(--medium-blue);
    font-weight: 600;
}

.contact-emoji {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, var(--light-teal) 0%, var(--medium-blue) 100%);
    border-radius: 15px;
    color: var(--midnight-blue);
    transition: var(--transition);
}

.contact-emoji:hover {
    transform: scale(1.1);
    background: linear-gradient(135deg, var(--medium-blue) 0%, var(--deep-indigo) 100%);
    color: var(--light-teal);
}

.contact-form {
    background: rgba(255, 255, 255, 0.9);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--deep-indigo);
    font-weight: 600;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--medium-blue);
    border-radius: 10px;
    font-size: 1rem;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.8);
    color: var(--midnight-blue);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--deep-indigo);
    box-shadow: 0 0 0 3px rgba(56, 65, 157, 0.1);
}

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

/* About Section Styles */
.about-section {
    padding: 60px 0;
    background: rgba(255, 181, 218, 0.3);
}

.about-content {
    background: rgba(255, 255, 255, 0.9);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.mission-vision {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.mission-card,
.vision-card {
    background: linear-gradient(135deg, var(--medium-blue) 0%, var(--light-teal) 100%);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
}

.mission-card h3,
.vision-card h3 {
    color: var(--deep-indigo);
    margin-bottom: 1rem;
}

.mission-card p,
.vision-card p {
    color: var(--deep-indigo);
}

.mission-emoji {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, var(--light-teal) 0%, var(--medium-blue) 100%);
    border-radius: 15px;
    color: var(--midnight-blue);
    transition: var(--transition);
}

.mission-emoji:hover {
    transform: scale(1.1);
    background: linear-gradient(135deg, var(--medium-blue) 0%, var(--deep-indigo) 100%);
    color: var(--light-teal);
}

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

.stat-card {
    background: rgba(255, 255, 255, 0.8);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

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

.stat-label {
    color: var(--deep-indigo);
    font-weight: 600;
}

.team-section {
    margin-top: 3rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.team-member {
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.team-emoji {
    font-size: 4rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--light-teal) 0%, var(--medium-blue) 100%);
    color: var(--midnight-blue);
    margin: 0 auto 1rem auto;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.team-emoji:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--shadow-hover);
    background: linear-gradient(135deg, var(--medium-blue) 0%, var(--deep-indigo) 100%);
}

/* Add subtle animation for team emojis */
.team-member:hover .team-emoji {
    animation: emojiBounce 0.6s ease-in-out;
}

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

.team-member h4 {
    color: var(--deep-indigo);
    margin-bottom: 0.5rem;
}

.team-member p {
    color: var(--medium-blue);
    font-weight: 600;
}

/* FAQ Section Styles */
.faq-section {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--light-teal) 0%, var(--medium-blue) 100%);
}

.faq-content {
    background: rgba(255, 255, 255, 0.9);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.faq-categories {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.category-btn {
    padding: 10px 20px;
    background: var(--medium-blue);
    color: var(--deep-indigo);
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
}

.category-btn:hover,
.category-btn.active {
    background: var(--medium-blue);
    color: var(--deep-indigo);
    transform: translateY(-2px);
}

.faq-category {
    display: none;
}

.faq-category.active {
    display: block;
}

.faq-item {
    margin-bottom: 1rem;
    border: 2px solid var(--medium-blue);
    border-radius: 10px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--medium-blue);
    box-shadow: var(--shadow);
}

.faq-question {
    background: var(--light-teal);
    padding: 1rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--deep-indigo);
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--medium-blue);
}

.faq-toggle {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--medium-blue);
}

.faq-answer {
    display: none;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.8);
    color: var(--deep-indigo);
    line-height: 1.6;
}

/* 404 Page Styles */
.error-page {
    padding: 60px 0;
    text-align: center;
    background: linear-gradient(135deg, var(--light-teal) 0%, var(--medium-blue) 100%);
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.error-content {
    background: rgba(255, 255, 255, 0.9);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    max-width: 600px;
}

.error-number {
    font-size: 6rem;
    font-weight: bold;
    color: var(--medium-blue);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(100, 32, 170, 0.3);
}

.error-content h1 {
    color: var(--deep-indigo);
    margin-bottom: 1rem;
}

.error-content p {
    color: var(--deep-indigo);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.error-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.helpful-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.helpful-links h3 {
    color: var(--deep-indigo);
    margin-bottom: 1rem;
    grid-column: 1 / -1;
}

.helpful-links ul {
    list-style: none;
}

.helpful-links ul li {
    margin-bottom: 0.5rem;
}

.helpful-links ul li a {
    color: var(--medium-blue);
    transition: var(--transition);
}

.helpful-links ul li a:hover {
    color: var(--deep-indigo);
    text-decoration: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100vw;
        height: 100vh;
        background: linear-gradient(135deg, var(--light-teal) 0%, var(--medium-blue) 100%);
        backdrop-filter: blur(10px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 9999;
        padding: 2rem;
        box-shadow: none;
    }

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

    .nav-menu li {
        margin: 1.5rem 0;
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.3s ease;
    }

    .nav-menu.active li {
        opacity: 1;
        transform: translateY(0);
    }

    .nav-menu li:nth-child(1) { transition-delay: 0.1s; }
    .nav-menu li:nth-child(2) { transition-delay: 0.2s; }
    .nav-menu li:nth-child(3) { transition-delay: 0.3s; }
    .nav-menu li:nth-child(4) { transition-delay: 0.4s; }
    .nav-menu li:nth-child(5) { transition-delay: 0.5s; }
    .nav-menu li:nth-child(6) { transition-delay: 0.6s; }

    .nav-link {
        font-size: 1.5rem;
        font-weight: 600;
        color: var(--midnight-blue);
        padding: 1rem 2rem;
        border-radius: 50px;
        transition: all 0.3s ease;
        display: block;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .nav-link:hover {
        background: rgba(255, 255, 255, 0.2);
        color: var(--deep-indigo);
        transform: scale(1.05);
    }

    .login-btn {
        background: linear-gradient(135deg, var(--deep-indigo) 0%, var(--medium-blue) 100%);
        color: var(--light-teal);
        border: 2px solid var(--light-teal);
        font-weight: 700;
        box-shadow: 0 4px 15px rgba(32, 14, 58, 0.3);
    }

    .login-btn:hover {
        background: linear-gradient(135deg, var(--medium-blue) 0%, var(--light-teal) 100%);
        color: var(--midnight-blue);
        transform: scale(1.05);
        box-shadow: 0 8px 25px rgba(32, 14, 58, 0.4);
    }

    .hamburger {
        display: flex;
        position: relative;
        z-index: 10000;
    }

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

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

            /* Mobile menu close button - ONLY on mobile */
        .mobile-menu-close {
            display: none; /* Hidden by default */
            position: fixed;
            top: 20px;
            right: 20px;
            width: 50px;
            height: 50px;
            background: rgba(255, 255, 255, 0.2);
            border: none;
            border-radius: 50%;
            color: var(--midnight-blue);
            font-size: 1.5rem;
            cursor: pointer;
            z-index: 10001;
            transition: all 0.3s ease;
            backdrop-filter: blur(10px);
        }
        
        /* Ensure mobile menu close button is hidden on larger screens */
        @media (min-width: 769px) {
            .mobile-menu-close {
                display: none !important;
                visibility: hidden !important;
                opacity: 0 !important;
                pointer-events: none !important;
                position: absolute !important;
                left: -9999px !important;
                top: -9999px !important;
            }
        }
        
        /* Default state - hidden on all screen sizes */
        .mobile-menu-close {
            display: none;
        }
        
        /* Only show on mobile when menu is active */
        @media (max-width: 768px) {
            .nav-menu.active ~ .mobile-menu-close,
            .nav-menu.active + .mobile-menu-close {
                display: flex !important;
                visibility: visible !important;
                opacity: 1 !important;
                pointer-events: auto !important;
            }
        }

    .mobile-menu-close:hover {
        background: rgba(255, 255, 255, 0.3);
        transform: scale(1.1);
    }

    .nav-menu.active + .mobile-menu-close,
    .nav-menu.active ~ .mobile-menu-close {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Prevent body scroll when menu is open */
    body.menu-open {
        overflow: hidden;
    }

    /* iPad Air and tablet specific styles */
    @media (min-width: 768px) and (max-width: 1024px) {
        .nav-container {
            padding: 0 30px;
        }
        
        .nav-logo {
            gap: 0.8rem;
            flex-shrink: 0;
            white-space: nowrap;
        }
        
        .nav-logo h1 {
            font-size: 1.6rem;
            white-space: nowrap;
            flex-shrink: 0;
            line-height: 1.2;
        }
        
        .logo-image {
            width: 50px;
            height: 50px;
            flex-shrink: 0;
        }
        
        .hero-section h2 {
            font-size: 2.2rem;
        }
        
        .hero-section p {
            font-size: 1.2rem;
        }
        
        .btn {
            padding: 14px 28px;
            font-size: 1.1rem;
        }
        
        /* Ensure header doesn't wrap on tablets */
        .header {
            min-height: auto;
        }
        
        .navbar {
            padding: 0.8rem 0;
        }
        
        .nav-container {
            gap: 1rem;
        }
        
        /* Prevent text wrapping in navigation */
        .nav-menu {
            gap: 1.5rem;
        }
        
        .nav-link {
            white-space: nowrap;
            padding: 0.8rem 1.2rem;
        }
    }
    
    /* Larger tablets and small laptops */
    @media (min-width: 1024px) and (max-width: 1200px) {
        .nav-logo {
            gap: 1rem;
            flex-shrink: 0;
        }
        
        .nav-logo h1 {
            font-size: 1.8rem;
            white-space: nowrap;
            flex-shrink: 0;
        }
        
        .logo-image {
            width: 55px;
            height: 55px;
            flex-shrink: 0;
        }
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-section h2 {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .steps-container {
        grid-template-columns: 1fr;
    }

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

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

    .mission-vision {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .team-emoji {
        font-size: 3.5rem;
        width: 80px;
        height: 80px;
    }

    .faq-categories {
        flex-direction: column;
        align-items: center;
    }

    .error-actions {
        flex-direction: column;
        align-items: center;
    }
}

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

    .hero-section {
        padding: 60px 0;
    }

    .nav-logo {
        gap: 0.5rem;
    }

    .nav-logo h1 {
        font-size: 1.2rem;
    }

    .logo-image {
        width: 40px;
        height: 40px;
    }

    .nav-menu {
        padding: 1rem;
    }

    .nav-link {
        font-size: 1.3rem;
        padding: 0.8rem 1.5rem;
        max-width: 250px;
    }

    .hamburger {
        padding: 5px;
    }

    .bar {
        width: 22px;
        height: 2px;
        margin: 2px 0;
    }
    
    .nav-logo h1 {
        font-size: 1.4rem;
    }
    
    .hero-section h2 {
        font-size: 1.8rem;
    }

    .step,
    .feature-card,
    .contact-method {
        padding: 1.5rem;
    }

    .policy-content .container,
    .contact-form,
    .about-content,
    .faq-content,
    .error-content {
        padding: 2rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .team-emoji {
        font-size: 3rem;
        width: 70px;
        height: 70px;
    }
}

/* Accessibility Enhancements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

@media (prefers-contrast: high) {
    :root {
        --shadow: 0 4px 12px rgba(100, 32, 170, 0.4);
        --shadow-hover: 0 8px 24px rgba(100, 32, 170, 0.6);
    }
}

/* Focus styles for better accessibility */
.btn:focus,
.nav-link:focus,
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus,
.category-btn:focus,
.faq-question:focus {
    outline: 3px solid var(--medium-blue);
    outline-offset: 2px;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Scroll margin for sections to account for fixed header */
section[id] {
    scroll-margin-top: 100px;
}

/* Mobile-specific scroll margin adjustments */
@media (max-width: 768px) {
    section[id] {
        scroll-margin-top: 80px;
    }
}

@media (max-width: 480px) {
    section[id] {
        scroll-margin-top: 70px;
    }
}

/* Enhanced smooth scroll links */
.smooth-scroll {
    cursor: pointer;
    transition: var(--transition);
}

.smooth-scroll:hover {
    color: var(--medium-blue);
    text-decoration: none;
}

/* Skip to main content link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--medium-blue);
    color: var(--deep-indigo);
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 1001;
}

.skip-link:focus {
    top: 6px;
}

/* Loading animation */
.loading {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.loading.loaded {
    opacity: 1;
    transform: translateY(0);
}

/* Game Introduction Section */
.game-introduction {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--medium-blue) 0%, var(--light-teal) 100%);
}

.game-introduction .container {
    background: rgba(255, 255, 255, 0.9);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.game-introduction h3 {
    color: var(--deep-indigo);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.game-introduction p {
    color: var(--deep-indigo);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* Game Benefits Section */
.game-benefits {
    padding: 80px 0;
    background: rgba(255, 181, 218, 0.3);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-card {
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 2px solid transparent;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--medium-blue);
}

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

.benefit-card h4 {
    color: var(--deep-indigo);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.benefit-card p {
    color: var(--deep-indigo);
    line-height: 1.6;
}

/* Club Selection Section */
.club-selection {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--light-teal) 0%, var(--medium-blue) 100%);
}

.club-selection .container {
    background: rgba(255, 255, 255, 0.9);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.club-selection h3 {
    color: var(--deep-indigo);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.club-selection > .container > p {
    color: var(--deep-indigo);
    font-size: 1.1rem;
    text-align: center;
    margin-bottom: 3rem;
    line-height: 1.7;
}

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

.setup-card {
    background: linear-gradient(135deg, var(--medium-blue) 0%, var(--light-teal) 100%);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.setup-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.setup-card h4 {
    color: var(--deep-indigo);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    text-align: center;
}

.setup-card ul {
    list-style: none;
    margin: 1.5rem 0;
    padding: 0;
}

.setup-card ul li {
    color: var(--deep-indigo);
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(100, 32, 170, 0.1);
    text-align: center;
    font-weight: 500;
}

.setup-card ul li:last-child {
    border-bottom: none;
}

.setup-card p {
    color: var(--deep-indigo);
    text-align: center;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Game Variations Section */
.game-variations {
    padding: 80px 0;
    background: rgba(255, 181, 218, 0.3);
}

.game-variations .container {
    background: rgba(255, 255, 255, 0.9);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.game-variations h3 {
    color: var(--deep-indigo);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.game-variations > .container > p {
    color: var(--deep-indigo);
    font-size: 1.1rem;
    text-align: center;
    margin-bottom: 3rem;
    line-height: 1.7;
}

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

.variation-card {
    background: linear-gradient(135deg, var(--light-teal) 0%, var(--medium-blue) 100%);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 2px solid transparent;
}

.variation-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--medium-blue);
}

.variation-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.variation-card h4 {
    color: var(--deep-indigo);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.variation-card p {
    color: var(--deep-indigo);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Responsive adjustments for new sections */
@media (max-width: 768px) {
    .benefits-grid,
    .setup-grid,
    .variations-grid {
        grid-template-columns: 1fr;
    }
    
    .game-introduction .container,
    .club-selection .container,
    .game-variations .container {
        padding: 2rem;
    }
    
    .benefit-card,
    .setup-card,
    .variation-card {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .game-introduction h3,
    .club-selection h3,
    .game-variations h3 {
        font-size: 1.5rem;
    }
    
    .benefit-icon {
        font-size: 2.5rem;
    }
    
    .variation-icon {
        font-size: 2rem;
    }
}

/* Detailed Instructions Section */
.detailed-instructions {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--light-teal) 0%, var(--medium-blue) 100%);
}

.instructions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
}

.instruction-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.instruction-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.instruction-card h3 {
    color: var(--deep-indigo);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    text-align: center;
}

.instruction-intro {
    color: var(--deep-indigo);
    font-size: 1.1rem;
    text-align: center;
    margin-bottom: 2rem;
    font-weight: 500;
}

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

.instruction-step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--medium-blue) 0%, var(--light-teal) 100%);
    border-radius: 15px;
    transition: var(--transition);
    border: 2px solid transparent;
}

.instruction-step:hover {
    transform: translateX(5px);
    border-color: var(--medium-blue);
    box-shadow: var(--shadow);
}

.step-icon {
    font-size: 2rem;
    min-width: 50px;
    text-align: center;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(100, 32, 170, 0.1);
}

.step-content {
    flex: 1;
}

.step-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.step-number {
    color: var(--medium-blue);
    font-weight: bold;
    font-size: 1.1rem;
    min-width: 25px;
}

.step-action {
    color: var(--deep-indigo);
    font-size: 1.1rem;
    font-weight: 600;
}

.step-action strong {
    color: var(--medium-blue);
    font-weight: 700;
}

.step-description {
    color: var(--deep-indigo);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
    padding-left: 2.5rem;
}

.additional-info {
    margin-top: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--medium-blue) 0%, var(--medium-blue) 100%);
    border-radius: 15px;
    text-align: center;
}

.additional-info p {
    color: var(--deep-indigo);
    font-weight: 600;
    margin: 0;
}

.additional-info strong {
    color: var(--deep-indigo);
}

/* Responsive adjustments for detailed instructions */
@media (max-width: 768px) {
    .instructions-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .instruction-card {
        padding: 2rem;
    }
    
    .instruction-step {
        padding: 1rem;
        gap: 0.75rem;
    }
    
    .step-icon {
        font-size: 1.5rem;
        min-width: 40px;
        padding: 0.4rem;
    }
    
    .step-action {
        font-size: 1rem;
    }
    
    .step-description {
        font-size: 0.9rem;
        padding-left: 2rem;
    }
}

@media (max-width: 480px) {
    .instruction-card h3 {
        font-size: 1.5rem;
    }
    
    .instruction-intro {
        font-size: 1rem;
    }
    
    .step-icon {
        font-size: 1.3rem;
        min-width: 35px;
    }
    
    .step-action {
        font-size: 0.95rem;
    }
    
    .step-description {
        font-size: 0.85rem;
        padding-left: 1.5rem;
    }
    
         .instruction-step:hover {
         transform: none;
     }
 }

 /* Back to Top Button */
 .back-to-top-btn {
     position: fixed;
     bottom: 30px;
     right: 30px;
     width: 50px;
     height: 50px;
     background: linear-gradient(135deg, var(--deep-indigo) 0%, var(--medium-blue) 100%);
     color: var(--light-teal);
     border: none;
     border-radius: 50%;
     cursor: pointer;
     display: flex;
     align-items: center;
     justify-content: center;
     font-size: 1.2rem;
     box-shadow: 0 4px 15px rgba(32, 14, 58, 0.3);
     transition: all 0.3s ease;
     opacity: 0;
     visibility: hidden;
     transform: translateY(20px);
     z-index: 1000;
 }

 .back-to-top-btn.show {
     opacity: 1;
     visibility: visible;
     transform: translateY(0);
 }

 .back-to-top-btn:hover {
     background: linear-gradient(135deg, var(--medium-blue) 0%, var(--light-teal) 100%);
     color: var(--midnight-blue);
     transform: translateY(-3px);
     box-shadow: 0 8px 25px rgba(32, 14, 58, 0.4);
 }

 .back-to-top-btn:active {
     transform: translateY(-1px);
     box-shadow: 0 6px 20px rgba(32, 14, 58, 0.35);
 }

 .back-to-top-btn i {
     transition: transform 0.3s ease;
 }

 .back-to-top-btn:hover i {
     transform: translateY(-2px);
 }

 /* Responsive adjustments for back to top button */
 @media (max-width: 768px) {
     .back-to-top-btn {
         bottom: 20px;
         right: 20px;
         width: 45px;
         height: 45px;
         font-size: 1.1rem;
     }
 }

 @media (max-width: 480px) {
     .back-to-top-btn {
         bottom: 15px;
         right: 15px;
         width: 40px;
         height: 40px;
         font-size: 1rem;
     }
 }

/* ===== FONT OPTIMIZATION FOR FCP IMPROVEMENT ===== */
/* Font display swap and metric overrides to prevent layout shifts */

/* Font Awesome optimization */
.fab, .fas, .far, .fa {
    font-display: swap;
    font-variant-numeric: tabular-nums;
    line-height: 1;
    vertical-align: middle;
}

/* Font metric consistency for icons */
.social-links a,
.back-to-top-btn {
    min-width: 1.5em;
    min-height: 1.5em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Icon container consistency */
.icon-container {
    width: 1em;
    height: 1em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    vertical-align: middle;
}

/* ===== CUMULATIVE LAYOUT SHIFT (CLS) PREVENTION ===== */
/* Reserve space for all elements to prevent layout shifts */

/* Prevent font loading layout shifts */
html {
    font-display: swap;
}

/* Ensure consistent spacing and dimensions */
.container {
    min-height: 100px;
}

/* Prevent image layout shifts */
img, video, iframe {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Prevent text layout shifts */
h1, h2, h3, h4, h5, h6, p, span, a {
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

/* Prevent button layout shifts */
button, .btn, input[type="submit"], input[type="button"] {
    min-height: 44px;
    min-width: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Prevent form layout shifts */
input, textarea, select {
    min-height: 44px;
    box-sizing: border-box;
}

/* Prevent grid layout shifts */
.grid, .grid-container {
    min-height: 200px;
}

/* Prevent card layout shifts */
.card, .card-container {
    min-height: 150px;
}

/* Prevent section layout shifts */
section {
    min-height: 100px;
}

/* Prevent navigation layout shifts */
nav, .navigation {
    min-height: 60px;
}

/* Prevent footer layout shifts */
footer, .footer-container {
    min-height: 200px;
}

/* Prevent hero section layout shifts */
.hero, .hero-container {
    min-height: 400px;
}

/* Prevent content area layout shifts */
main, .main-content {
    min-height: 500px;
}

/* Prevent sidebar layout shifts */
aside, .sidebar {
    min-height: 300px;
}

/* Prevent modal layout shifts */
.modal, .modal-container {
    min-height: 200px;
}

/* Prevent tooltip layout shifts */
.tooltip, .tooltip-container {
    min-height: 20px;
    min-width: 100px;
}

/* Prevent dropdown layout shifts */
.dropdown, .dropdown-container {
    min-height: 50px;
}

/* Prevent tab layout shifts */
.tab, .tab-container {
    min-height: 100px;
}

/* Prevent accordion layout shifts */
.accordion, .accordion-container {
    min-height: 50px;
}

/* Prevent carousel layout shifts */
.carousel, .carousel-container {
    min-height: 300px;
}

/* Prevent gallery layout shifts */
.gallery, .gallery-container {
    min-height: 200px;
}

/* Prevent table layout shifts */
table, .table-container {
    min-height: 100px;
}

/* Prevent list layout shifts */
ul, ol, .list-container {
    min-height: 50px;
}

/* Prevent progress bar layout shifts */
.progress, .progress-container {
    min-height: 20px;
}

/* Prevent loading spinner layout shifts */
.spinner, .loading-container {
    min-height: 40px;
    min-width: 40px;
}

/* Prevent notification layout shifts */
.notification, .alert-container {
    min-height: 60px;
}

/* Prevent breadcrumb layout shifts */
.breadcrumb, .breadcrumb-container {
    min-height: 30px;
}

/* Prevent pagination layout shifts */
.pagination, .pagination-container {
    min-height: 50px;
}

/* Prevent search layout shifts */
.search, .search-container {
    min-height: 50px;
}

/* Prevent filter layout shifts */
.filter, .filter-container {
    min-height: 100px;
}

/* Prevent sort layout shifts */
.sort, .sort-container {
    min-height: 50px;
}

/* Prevent rating layout shifts */
.rating, .rating-container {
    min-height: 30px;
}

/* Prevent review layout shifts */
.review, .review-container {
    min-height: 100px;
}

/* Prevent comment layout shifts */
.comment, .comment-container {
    min-height: 80px;
}

/* Prevent chat layout shifts */
.chat, .chat-container {
    min-height: 300px;
}

/* Prevent video layout shifts */
.video, .video-container {
    min-height: 200px;
}

/* Prevent audio layout shifts */
.audio, .audio-container {
    min-height: 50px;
}

/* Prevent map layout shifts */
.map, .map-container {
    min-height: 300px;
}

/* Prevent calendar layout shifts */
.calendar, .calendar-container {
    min-height: 200px;
}

/* Prevent chart layout shifts */
.chart, .chart-container {
    min-height: 200px;
}

/* Prevent graph layout shifts */
.graph, .graph-container {
    min-height: 200px;
}

/* Prevent diagram layout shifts */
.diagram, .diagram-container {
    min-height: 200px;
}

/* Prevent infographic layout shifts */
.infographic, .infographic-container {
    min-height: 200px;
}

/* Prevent timeline layout shifts */
.timeline, .timeline-container {
    min-height: 200px;
}

/* Prevent wizard layout shifts */
.wizard, .wizard-container {
    min-height: 200px;
}

/* Prevent stepper layout shifts */
.stepper, .stepper-container {
    min-height: 100px;
}

/* Prevent slider layout shifts */
.slider, .slider-container {
    min-height: 100px;
}

/* Prevent range layout shifts */
.range, .range-container {
    min-height: 50px;
}

/* Prevent toggle layout shifts */
.toggle, .toggle-container {
    min-height: 30px;
    min-width: 60px;
}

/* Prevent checkbox layout shifts */
.checkbox, .checkbox-container {
    min-height: 20px;
    min-width: 20px;
}

/* Prevent radio layout shifts */
.radio, .radio-container {
    min-height: 20px;
    min-width: 20px;
}

/* Prevent switch layout shifts */
.switch, .switch-container {
    min-height: 30px;
    min-width: 60px;
}

/* Prevent badge layout shifts */
.badge, .badge-container {
    min-height: 20px;
    min-width: 20px;
}

/* Prevent tag layout shifts */
.tag, .tag-container {
    min-height: 25px;
    min-width: 60px;
}

/* Prevent chip layout shifts */
.chip, .chip-container {
    min-height: 30px;
    min-width: 80px;
}

/* Prevent avatar layout shifts */
.avatar, .avatar-container {
    min-height: 40px;
    min-width: 40px;
}

/* Prevent icon layout shifts */
.icon, .icon-container {
    min-height: 20px;
    min-width: 20px;
}

/* Prevent logo layout shifts */
.logo, .logo-container {
    min-height: 40px;
    min-width: 100px;
}

/* Prevent brand layout shifts */
.brand, .brand-container {
    min-height: 50px;
    min-width: 120px;
}

/* Prevent company layout shifts */
.company, .company-container {
    min-height: 60px;
    min-width: 150px;
}

/* Prevent organization layout shifts */
.organization, .org-container {
    min-height: 60px;
    min-width: 150px;
}

/* Prevent team layout shifts */
.team, .team-container {
    min-height: 100px;
    min-width: 200px;
}

/* Prevent member layout shifts */
.member, .member-container {
    min-height: 80px;
    min-width: 150px;
}

/* Prevent user layout shifts */
.user, .user-container {
    min-height: 60px;
    min-width: 120px;
}

/* Prevent profile layout shifts */
.profile, .profile-container {
    min-height: 100px;
    min-width: 200px;
}

/* Prevent account layout shifts */
.account, .account-container {
    min-height: 80px;
    min-width: 150px;
}

/* Prevent settings layout shifts */
.settings, .settings-container {
    min-height: 100px;
    min-width: 200px;
}

/* Prevent preferences layout shifts */
.preferences, .preferences-container {
    min-height: 100px;
    min-width: 200px;
}

/* Prevent configuration layout shifts */
.config, .config-container {
    min-height: 100px;
    min-width: 200px;
}

/* Prevent options layout shifts */
.options, .options-container {
    min-height: 100px;
    min-width: 200px;
}

/* Prevent menu layout shifts */
.menu, .menu-container {
    min-height: 50px;
    min-width: 100px;
}

/* Prevent navigation layout shifts */
.navigation, .nav-container {
    min-height: 60px;
    min-width: 200px;
}

/* Prevent header layout shifts */
header, .header-container {
    min-height: 80px;
    min-width: 100%;
}

/* Prevent footer layout shifts */
footer, .footer-container {
    min-height: 200px;
    min-width: 100%;
}

/* Prevent main layout shifts */
main, .main-container {
    min-height: 500px;
    min-width: 100%;
}

/* Prevent content layout shifts */
.content, .content-container {
    min-height: 300px;
    min-width: 100%;
}

/* Prevent sidebar layout shifts */
aside, .sidebar-container {
    min-height: 300px;
    min-width: 200px;
}

/* Prevent container layout shifts */
.container, .container-wrapper {
    min-height: 100px;
    min-width: 100%;
}

/* Prevent wrapper layout shifts */
.wrapper, .wrapper-container {
    min-height: 100px;
    min-width: 100%;
}

/* Prevent section layout shifts */
section, .section-container {
    min-height: 100px;
    min-width: 100%;
}

/* Prevent article layout shifts */
article, .article-container {
    min-height: 200px;
    min-width: 100%;
}

/* Prevent div layout shifts */
div {
    min-height: 0;
    min-width: 0;
}

/* Prevent span layout shifts */
span {
    min-height: 0;
    min-width: 0;
}

/* Prevent p layout shifts */
p {
    min-height: 0;
    min-width: 0;
}

/* Prevent a layout shifts */
a {
    min-height: 0;
    min-width: 0;
}

/* Prevent strong layout shifts */
strong {
    min-height: 0;
    min-width: 0;
}

/* Prevent em layout shifts */
em {
    min-height: 0;
    min-width: 0;
}

/* Prevent b layout shifts */
b {
    min-height: 0;
    min-width: 0;
}

/* Prevent i layout shifts */
i {
    min-height: 0;
    min-width: 0;
}

/* Prevent u layout shifts */
u {
    min-height: 0;
    min-width: 0;
}

/* Prevent mark layout shifts */
mark {
    min-height: 0;
    min-width: 0;
}

/* Prevent small layout shifts */
small {
    min-height: 0;
    min-width: 0;
}

/* Prevent del layout shifts */
del {
    min-height: 0;
    min-width: 0;
}

/* Prevent ins layout shifts */
ins {
    min-height: 0;
    min-width: 0;
}

/* Prevent sub layout shifts */
sub {
    min-height: 0;
    min-width: 0;
}

/* Prevent sup layout shifts */
sup {
    min-height: 0;
    min-width: 0;
}

/* Prevent code layout shifts */
code {
    min-height: 0;
    min-width: 0;
}

/* Prevent pre layout shifts */
pre {
    min-height: 0;
    min-width: 0;
}

/* Prevent kbd layout shifts */
kbd {
    min-height: 0;
    min-width: 0;
}

/* Prevent samp layout shifts */
samp {
    min-height: 0;
    min-width: 0;
}

/* Prevent var layout shifts */
var {
    min-height: 0;
    min-width: 0;
}

/* Prevent cite layout shifts */
cite {
    min-height: 0;
    min-width: 0;
}

/* Prevent q layout shifts */
q {
    min-height: 0;
    min-width: 0;
}

/* Prevent blockquote layout shifts */
blockquote {
    min-height: 0;
    min-width: 0;
}

/* Prevent address layout shifts */
address {
    min-height: 0;
    min-width: 0;
}

/* Prevent time layout shifts */
time {
    min-height: 0;
    min-width: 0;
}

/* Prevent data layout shifts */
data {
    min-height: 0;
    min-width: 0;
}

/* Prevent meter layout shifts */
meter {
    min-height: 0;
    min-width: 0;
}

/* Prevent progress layout shifts */
progress {
    min-height: 0;
    min-width: 0;
}

/* Prevent output layout shifts */
output {
    min-height: 0;
    min-width: 0;
}

/* Prevent canvas layout shifts */
canvas {
    min-height: 0;
    min-width: 0;
}

/* Prevent svg layout shifts */
svg {
    min-height: 0;
    min-width: 0;
}

/* Prevent math layout shifts */
math {
    min-height: 0;
    min-width: 0;
}

/* Prevent script layout shifts */
script {
    min-height: 0;
    min-width: 0;
}

/* Prevent style layout shifts */
style {
    min-height: 0;
    min-width: 0;
}

/* Prevent link layout shifts */
link {
    min-height: 0;
    min-width: 0;
}

/* Prevent meta layout shifts */
meta {
    min-height: 0;
    min-width: 0;
}

/* Prevent title layout shifts */
title {
    min-height: 0;
    min-width: 0;
}

/* Prevent head layout shifts */
head {
    min-height: 0;
    min-width: 0;
}

/* Prevent body layout shifts */
body {
    min-height: 100vh;
    min-width: 100vw;
}

/* Prevent html layout shifts */
html {
    min-height: 100vh;
    min-width: 100vw;
}
