﻿/* =================================
------------------------------------
  Miss Fair & White 2026 | Official Website
  Version: 2.0
  Color Palette: 
  - Red: #E63946 (primary)
  - Gold: #F4D03F (secondary)
  - Charcoal: #2C3E50 (dark)
  - Off-white: #FAFAFA (background)
------------------------------------
====================================*/

/*----------------------------------------*/
/* Import Fonts
/*----------------------------------------*/
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Playfair+Display:wght@400;500;600;700&display=swap');

/*----------------------------------------*/
/* CSS Variables
/*----------------------------------------*/
:root {
    --primary-red: #E63946;
    --primary-red-dark: #c82333;
    --primary-red-light: #ff6b7b;
    --primary-gold: #F4D03F;
    --primary-gold-dark: #d4ac0d;
    --primary-gold-light: #f9e79f;
    --dark-charcoal: #2C3E50;
    --dark-charcoal-light: #34495e;
    --dark-charcoal-dark: #1e2b37;
    --bg-offwhite: #FAFAFA;
    --text-dark: #2C3E50;
    --text-gray: #636363;
    --text-light: #95a5a6;
    --border-light: #e5e5e5;
    --white: #FFFFFF;
    --black: #000000;
    --shadow-sm: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-md: 0 5px 20px rgba(0,0,0,0.15);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.2);
    --transition: all 0.3s ease;
}

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

html, body {
    height: 100%;
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-offwhite);
    scroll-behavior: smooth;
}

body {
    padding-left: 90px;
}

@media (max-width: 768px) {
    body {
        padding-left: 0;
    }
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    color: var(--dark-charcoal);
    line-height: 1.3;
}

h1 { font-size: 56px; }
h2 { font-size: 42px; }
h3 { font-size: 30px; }
h4 { font-size: 24px; }
h5 { font-size: 18px; }
h6 { font-size: 16px; }

p {
    font-size: 16px;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 15px;
}

a {
    color: var(--primary-red);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-red-dark);
}

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

.row {
    display: flex;
    flex-wrap: wrap;
    margin: -15px;
}

[class*="col-"] {
    padding: 15px;
}

/* Responsive Grid */
@media (min-width: 576px) {
    .col-sm-6 { flex: 0 0 50%; max-width: 50%; }
    .col-sm-12 { flex: 0 0 100%; max-width: 100%; }
}

@media (min-width: 768px) {
    .col-md-4 { flex: 0 0 33.333%; max-width: 33.333%; }
    .col-md-6 { flex: 0 0 50%; max-width: 50%; }
    .col-md-8 { flex: 0 0 66.666%; max-width: 66.666%; }
    .col-md-12 { flex: 0 0 100%; max-width: 100%; }
}

@media (min-width: 992px) {
    .col-lg-3 { flex: 0 0 25%; max-width: 25%; }
    .col-lg-4 { flex: 0 0 33.333%; max-width: 33.333%; }
    .col-lg-6 { flex: 0 0 50%; max-width: 50%; }
    .col-lg-8 { flex: 0 0 66.666%; max-width: 66.666%; }
    .col-lg-9 { flex: 0 0 75%; max-width: 75%; }
    .col-lg-12 { flex: 0 0 100%; max-width: 100%; }
}

/*----------------------------------------*/
/* Preloader
/*----------------------------------------*/
#preloder {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 999999;
    background: var(--dark-charcoal);
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader {
    width: 50px;
    height: 50px;
    border: 4px solid var(--primary-gold);
    border-top: 4px solid var(--primary-red);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/*----------------------------------------*/
/* Navigation Menu - UPDATED
/*----------------------------------------*/
.menu-wrapper {
    position: fixed;
    width: 90px;
    height: 100%;
    left: 0;
    top: 0;
    background: var(--white);
    box-shadow: var(--shadow-md);
    z-index: 1000;
    transition: var(--transition);
}

@media (max-width: 768px) {
    .menu-wrapper {
        transform: translateX(-100%);
    }
    .menu-wrapper.active {
        transform: translateX(0);
    }
}

.menu-switch {
    width: 100%;
    height: 90px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--primary-red);
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
    transition: var(--transition);
}

.menu-switch:hover {
    background: var(--primary-red-dark);
}

.menu-social-warp {
    height: calc(100% - 90px);
    display: flex;
    justify-content: center;
    align-items: center;
}

.menu-social {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.menu-social a {
    color: var(--dark-charcoal);
    font-size: 20px;
    transition: var(--transition);
}

.menu-social a:hover {
    color: var(--primary-red);
    transform: scale(1.2);
}

/* Side Menu - UPDATED */
.side-menu-wrapper {
    position: fixed;
    width: 320px;
    height: 100%;
    left: -320px;
    top: 0;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    z-index: 1001;
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
}

.side-menu-wrapper.active {
    left: 0;
}

.sm-header {
    display: flex;
    height: 90px;
}

.menu-close {
    width: 90px;
    height: 90px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--primary-red);
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
    transition: var(--transition);
}

.menu-close:hover {
    background: var(--primary-red-dark);
}

.site-logo {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--primary-gold);
    padding: 0 20px;
}

.site-logo img {
    max-height: 50px;
    width: auto;
}

/* Main Navigation - UPDATED with modern font and sizing */
.main-menu {
    padding: 40px 0;
}

.main-menu ul {
    list-style: none;
    padding: 0;
}

.main-menu ul li {
    margin-bottom: 15px;
}

.main-menu ul li a {
    display: block;
    padding: 12px 30px;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    transition: var(--transition);
}

.main-menu ul li a:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: var(--primary-red);
    transform: scaleY(0);
    transition: var(--transition);
}

.main-menu ul li a:hover,
.main-menu ul li a.active {
    color: var(--primary-red);
    background: linear-gradient(to right, rgba(230, 57, 70, 0.05), transparent);
}

.main-menu ul li a:hover:before,
.main-menu ul li a.active:before {
    transform: scaleY(1);
}

.sm-footer {
    padding: 30px;
    text-align: center;
    border-top: 1px solid var(--border-light);
}

.sm-footer .sm-socail {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.sm-footer .sm-socail a {
    color: var(--text-gray);
    font-size: 18px;
    transition: var(--transition);
}

.sm-footer .sm-socail a:hover {
    color: var(--primary-red);
    transform: translateY(-3px);
}

.copyright-text {
    font-size: 12px;
    color: var(--text-light);
}

.copyright-text i {
    color: var(--primary-red);
}

/*----------------------------------------*/
/* Hero Section
/*----------------------------------------*/
.hero-section {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.pana-accordion {
    height: 100%;
    width: 100%;
}

.pana-accordion-wrap {
    height: 100%;
    position: relative;
}

.pana-accordion-item {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.pana-accordion-item .pa-text {
    position: absolute;
    bottom: 50px;
    left: 50px;
    right: 50px;
    color: var(--white);
    z-index: 2;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.5s ease 0.3s;
}

.pana-accordion-item.active .pa-text {
    opacity: 1;
    transform: translateY(0);
}

.pa-tag {
    display: inline-block;
    padding: 5px 20px;
    background: var(--primary-red);
    color: var(--white);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 30px;
    margin-bottom: 20px;
}

.pa-text h2 {
    font-size: 48px;
    color: var(--white);
    margin-bottom: 20px;
    max-width: 600px;
}

@media (max-width: 768px) {
    .pa-text h2 {
        font-size: 32px;
    }
}

.pa-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.pa-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--primary-gold);
}

.pa-author h4 {
    color: var(--white);
    font-size: 16px;
    font-weight: 500;
}

.pana-accordion-item:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(44, 62, 80, 0.8), transparent);
    z-index: 1;
}

.hero-slider-warp {
    display: none;
    height: 100%;
}

@media (max-width: 768px) {
    .pana-accordion {
        display: none;
    }
    .hero-slider-warp {
        display: block;
    }
}

.hero-slider {
    height: 100%;
}

.hero-item {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.hero-item:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 62, 80, 0.6);
    z-index: 1;
}

.hero-item .pa-text {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.hero-item h2 {
    font-size: 42px;
    color: var(--white);
    margin: 20px 0;
}

@media (max-width: 576px) {
    .hero-item h2 {
        font-size: 28px;
    }
}

/*----------------------------------------*/
/* Buttons
/*----------------------------------------*/
.btn {
    display: inline-block;
    padding: 12px 35px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid transparent;
    border-radius: 50px;
    transition: var(--transition);
    cursor: pointer;
}

.btn-gold {
    background: var(--primary-gold);
    color: var(--dark-charcoal);
    border-color: var(--primary-gold);
}

.btn-gold:hover {
    background: transparent;
    color: var(--primary-gold);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

.btn-red:hover {
    background: transparent;
    color: var(--primary-red);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline-gold {
    background: transparent;
    border-color: var(--primary-gold);
    color: var(--primary-gold);
}

.btn-outline-gold:hover {
    background: var(--primary-gold);
    color: var(--dark-charcoal);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline-red {
    background: transparent;
    border-color: var(--primary-red);
    color: var(--primary-red);
}

.btn-outline-red:hover {
    background: var(--primary-red);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-lg {
    padding: 15px 45px;
    font-size: 16px;
}

.btn-sm {
    padding: 8px 25px;
    font-size: 12px;
}

/*----------------------------------------*/
/* Section Styles
/*----------------------------------------*/
.section-padding {
    padding: 100px 0;
}

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

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 42px;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary-gold);
}

.section-title p {
    max-width: 600px;
    margin: 0 auto;
    color: var(--text-light);
}

.section-title.text-left h2:after {
    left: 0;
    transform: none;
}

/*----------------------------------------*/
/* About Page - COMPLETELY REDESIGNED
/*----------------------------------------*/
.about-section {
    min-height: 100vh;
    background: var(--white);
}

.about-warp {
    display: flex;
    min-height: 100vh;
}

@media (max-width: 992px) {
    .about-warp {
        flex-direction: column;
    }
}

.about-left {
    flex: 0 0 45%;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-charcoal) 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px;
}

.about-left:after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100%;
    background: var(--white);
    clip-path: polygon(100% 0, 0 0, 100% 100%);
}

@media (max-width: 992px) {
    .about-left:after {
        display: none;
    }
}

.about-img {
    text-align: center;
    position: relative;
    z-index: 2;
}

.about-img img {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    border: 5px solid var(--primary-gold);
    box-shadow: var(--shadow-lg);
    object-fit: cover;
}

@media (max-width: 768px) {
    .about-img img {
        width: 300px;
        height: 300px;
    }
}

.profile-text {
    text-align: center;
    color: var(--white);
    margin-top: 40px;
}

.profile-text h2 {
    color: var(--white);
    font-size: 36px;
    margin-bottom: 20px;
}

.profile-text p {
    color: rgba(255, 255, 255, 0.9);
    max-width: 500px;
    margin: 0 auto 30px;
}

.profile-btn {
    display: inline-block;
    padding: 12px 40px;
    background: var(--primary-gold);
    color: var(--dark-charcoal);
    font-weight: 600;
    border-radius: 50px;
    margin-right: 20px;
    transition: var(--transition);
}

.profile-btn:hover {
    background: var(--white);
    color: var(--primary-red);
    transform: translateY(-2px);
}

.profile-email {
    color: var(--white);
    text-decoration: underline;
    font-size: 14px;
}

.about-right {
    flex: 0 0 55%;
    padding: 100px 50px;
    background: var(--white);
}

@media (max-width: 992px) {
    .about-right {
        padding: 60px 30px;
    }
}

.about-text h2 {
    font-size: 42px;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 20px;
}

.about-text h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background: var(--primary-red);
}

.about-text h3 {
    font-size: 28px;
    margin: 40px 0 20px;
}

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

.about-text ul li {
    margin-bottom: 15px;
    font-size: 16px;
    color: var(--text-gray);
    display: flex;
    align-items: center;
    gap: 10px;
}

.about-text ul li i {
    color: var(--primary-gold);
    font-size: 18px;
}

/* Core Values Cards */
.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 30px 0;
}

@media (max-width: 576px) {
    .values-grid {
        grid-template-columns: 1fr;
    }
}

.value-card {
    background: var(--bg-offwhite);
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(244, 208, 63, 0.2);
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-gold);
}

.value-card i {
    font-size: 36px;
    color: var(--primary-red);
    margin-bottom: 15px;
}

.value-card h4 {
    font-size: 18px;
    margin-bottom: 10px;
}

.value-card p {
    font-size: 14px;
    margin: 0;
}

/* Alternative Metric Cards - Progress Bar Style */
.skill-warp {
    margin-top: 50px;
    padding: 40px 30px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.skill-warp h3 {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
    font-family: 'Playfair Display', serif;
}

.skill-warp h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #D4A017;
    border-radius: 2px;
}

.metric-card {
    background: white;
    padding: 25px 20px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid rgba(230, 57, 70, 0.1);
}

.metric-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(212, 160, 23, 0.1);
    border-color: #D4A017;
}

.metric-header h4 {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
}

.metric-progress {
    margin-bottom: 15px;
}

.progress-bar-container {
    width: 100%;
    height: 30px;
    background: #f0f0f0;
    border-radius: 50px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
}

.progress-bar-fill {
    height: 100%;
    border-radius: 50px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 10px;
    transition: width 1s ease-in-out;
    background: linear-gradient(90deg, #E63946, #D4A017);
}

.progress-value {
    color: white;
    font-weight: 700;
    font-size: 14px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.metric-footer p {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    margin: 15px 0 0;
    text-align: center;
    padding-top: 10px;
    border-top: 1px dashed rgba(0,0,0,0.1);
}

/* Responsive */
@media (max-width: 992px) {
    .skill-warp .row {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .skill-warp .row {
        grid-template-columns: 1fr;
    }
}

/*----------------------------------------*/
/* Registration Page - ENHANCED
/*----------------------------------------*/
.registration-section {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--bg-offwhite) 0%, var(--white) 100%);
    padding: 100px 0;
}

.registration-form-wrap {
    background: var(--white);
    border-radius: 30px;
    padding: 50px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(230, 57, 70, 0.1);
}

@media (max-width: 768px) {
    .registration-form-wrap {
        padding: 30px 20px;
    }
}

.registration-form-wrap h2 {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 20px;
}

.registration-form-wrap h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary-red);
}

/* Steps */
.registration-steps {
    margin-bottom: 50px;
}

.step-card {
    background: var(--bg-offwhite);
    padding: 30px;
    border-radius: 20px;
    height: 100%;
    transition: var(--transition);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.step-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-gold);
    box-shadow: var(--shadow-md);
}

.step-card h5 {
    color: var(--primary-red);
    font-size: 16px;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 10px;
}

.step-card h5:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-gold);
}

.step-card p {
    font-size: 14px;
    margin-bottom: 0;
}

.step-card ul {
    list-style: none;
    margin-top: 15px;
}

.step-card ul li {
    font-size: 13px;
    color: var(--text-gray);
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.step-card ul li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-gold);
    font-weight: bold;
}

/* Form Styles */
.registration-form .form-label {
    font-weight: 500;
    color: var(--dark-charcoal);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.registration-form .form-control,
.registration-form .form-select {
    height: 50px;
    border: 2px solid var(--border-light);
    border-radius: 10px;
    padding: 0 20px;
    font-size: 14px;
    transition: var(--transition);
    background: var(--white);
	width: 100%;
}

.registration-form .form-control:focus,
.registration-form .form-select:focus {
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 3px rgba(244, 208, 63, 0.1);
    outline: none;
}

.registration-form textarea.form-control {
    height: 120px;
    padding: 15px 20px;
    resize: vertical;
}

.registration-form .form-check-input {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    border: 2px solid var(--border-light);
    border-radius: 5px;
    cursor: pointer;
}

.registration-form .form-check-input:checked {
    background-color: var(--primary-red);
    border-color: var(--primary-red);
}

.registration-form .form-check-label {
    color: var(--text-gray);
    font-size: 14px;
    cursor: pointer;
    padding-left: 8px;
}

.registration-form .form-check-label a {
    color: var(--primary-red);
    font-weight: 500;
}

.registration-form h4 {
    font-size: 24px;
    margin: 40px 0 20px;
    color: var(--dark-charcoal);
    position: relative;
    padding-bottom: 10px;
}

.registration-form h4:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--primary-gold);
}

/*----------------------------------------*/
/* Judges Page - ENHANCED
/*----------------------------------------*/
.judge-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    border: 1px solid rgba(230, 57, 70, 0.1);
}

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

.judge-card img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: var(--transition);
}

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

.judge-info {
    padding: 25px;
    background: linear-gradient(to bottom, var(--white), var(--bg-offwhite));
}

.judge-info h4 {
    font-size: 22px;
    margin-bottom: 5px;
}

.judge-title {
    color: var(--primary-red);
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.judge-bio {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 20px;
    line-height: 1.7;
}

.judge-social {
    display: flex;
    gap: 15px;
}

.judge-social a {
    color: var(--text-light);
    font-size: 18px;
    transition: var(--transition);
}

.judge-social a:hover {
    color: var(--primary-red);
    transform: translateY(-3px);
}

/* Audition Info */
.audition-info {
    background: linear-gradient(135deg, var(--dark-charcoal) 0%, var(--primary-red) 100%);
    padding: 50px;
    border-radius: 20px;
    color: var(--white);
    margin-top: 60px;
}

.audition-info h3 {
    color: var(--white);
    text-align: center;
    margin-bottom: 40px;
    font-size: 32px;
}

.audition-info .info-item {
    text-align: center;
}

.audition-info i {
    font-size: 48px;
    color: var(--primary-gold);
    margin-bottom: 15px;
}

.audition-info h5 {
    color: var(--white);
    font-size: 18px;
    margin-bottom: 10px;
}

.audition-info p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

/*----------------------------------------*/
/* Gallery Page - CORRECTED POSITIONING
/*----------------------------------------*/
.gallery-section {
    height: 100vh;
    overflow: hidden;
    position: relative;
    padding-top: 90px;
}

@media only screen and (min-width: 576px) and (max-width: 767px),
(max-width: 576px) {
    .gallery-section {
        padding-top: 0;
        height: auto;
        overflow: visible;
    }
}

.gallery-header {
    position: absolute;
    width: 100%;
    left: 0;
    top: 0;
    overflow: hidden;
    padding-top: 30px;
    padding-right: 74px;
    padding-left: 210px;
    z-index: 99;
}

@media only screen and (min-width: 992px) and (max-width: 1200px),
only screen and (min-width: 768px) and (max-width: 991px),
only screen and (min-width: 576px) and (max-width: 767px),
(max-width: 576px) {
    .gallery-header {
        padding-left: 15px;
        padding-right: 15px;
        position: relative;
        padding-bottom: 20px;
    }
}

.gallery-header h4 {
    float: left;
    margin-bottom: 30px;
    color: var(--dark-charcoal);
    font-size: 24px;
}

@media only screen and (min-width: 576px) and (max-width: 767px),
(max-width: 576px) {
    .gallery-header h4 {
        float: none;
        margin-bottom: 20px;
    }
}

.gallery-filter {
    float: right;
    list-style: none;
}

@media only screen and (min-width: 576px) and (max-width: 767px),
(max-width: 576px) {
    .gallery-filter {
        float: none;
    }
}

.gallery-filter li {
    display: inline-block;
    font-size: 18px;
    font-weight: 500;
    color: var(--dark-charcoal);
    margin-left: 35px;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
    .gallery-filter li {
        margin-left: 20px;
    }
}

@media only screen and (min-width: 576px) and (max-width: 767px),
(max-width: 576px) {
    .gallery-filter li {
        margin-left: 0;
        margin-right: 15px;
        font-size: 16px;
    }
}

.gallery-filter li.active {
    color: var(--primary-red);
}

.gallery-filter li.active:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-gold);
}

.nice-scroll {
    height: 100%;
    overflow: hidden;
}

@media only screen and (min-width: 576px) and (max-width: 767px),
(max-width: 576px) {
    .nice-scroll {
        overflow: visible;
        height: auto;
    }
}

.gallery-warp {
    margin-left: -5px;
    margin-right: -5px;
    position: relative;
}

.grid-sizer,
.gallery-item {
    width: 20%;
}

@media only screen and (min-width: 992px) and (max-width: 1200px) {
    .grid-sizer,
    .gallery-item {
        width: 25%;
    }
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
    .grid-sizer,
    .gallery-item {
        width: 33.333%;
    }
}

@media only screen and (min-width: 576px) and (max-width: 767px) {
    .grid-sizer,
    .gallery-item {
        width: 50%;
    }
}

@media (max-width: 576px) {
    .grid-sizer,
    .gallery-item {
        width: 100%;
    }
}

.gallery-item {
    padding: 0 5px;
    margin-bottom: 10px;
    position: relative;
    float: left;
}

.gallery-item .gi-hover {
    position: absolute;
    left: 30px;
    bottom: 30px;
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 10;
}

.gallery-item .gi-hover h6 {
    color: var(--white);
    font-size: 16px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.gallery-item a {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.gallery-item a:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 50%;
    left: 0;
    bottom: 0;
    background: linear-gradient(0deg, var(--dark-charcoal) 0%, rgba(44, 62, 80, 0) 94%);
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 1;
}

.gallery-item a img {
    min-width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
}

.gallery-item:hover .gi-hover {
    opacity: 1;
    bottom: 40px;
}

.gallery-item:hover a:after {
    opacity: 0.8;
}

.gallery-item:hover a img {
    transform: scale(1.05);
}

.gallery-item.gi-big {
    width: 40%;
}

@media only screen and (min-width: 992px) and (max-width: 1200px) {
    .gallery-item.gi-big {
        width: 50%;
    }
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
    .gallery-item.gi-big {
        width: 66.666%;
    }
}

@media only screen and (min-width: 576px) and (max-width: 767px) {
    .gallery-item.gi-big {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .gallery-item.gi-big {
        width: 100%;
    }
}

/* Fresco Lightbox Customization */
.fr-position-outside {
    left: 0;
    top: 0;
    right: auto;
    bottom: auto;
}

.fr-position-text {
    color: var(--white);
}

.fr-thumbnail-active {
    border: 2px solid var(--primary-red);
}

/*----------------------------------------*/
/* Blog Page - CORRECTED POSITIONING
/*----------------------------------------*/
.blog-section {
    height: 100vh;
    overflow: hidden;
    position: relative;
}

@media only screen and (min-width: 576px) and (max-width: 767px),
(max-width: 576px) {
    .blog-section {
        height: auto;
        overflow: visible;
        padding: 30px 0;
    }
}

.blog-grid-warp {
    margin-left: -5px;
    margin-right: -5px;
    position: relative;
}

.blog-grid-sizer,
.blog-grid {
    width: 20%;
}

@media only screen and (min-width: 1200px) and (max-width: 1440px) {
    .blog-grid-sizer,
    .blog-grid {
        width: 25%;
    }
}

@media only screen and (min-width: 992px) and (max-width: 1200px) {
    .blog-grid-sizer,
    .blog-grid {
        width: 33.333%;
    }
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
    .blog-grid-sizer,
    .blog-grid {
        width: 50%;
    }
}

@media only screen and (min-width: 576px) and (max-width: 767px) {
    .blog-grid-sizer,
    .blog-grid {
        width: 50%;
    }
}

@media (max-width: 576px) {
    .blog-grid-sizer,
    .blog-grid {
        width: 100%;
    }
}

.blog-grid {
    padding: 0 5px;
    margin-bottom: 10px;
    float: left;
}

.blog-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    height: 300px;
}

.blog-item:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 50%;
    left: 0;
    bottom: 0;
    background: linear-gradient(0deg, var(--dark-charcoal) 0%, rgba(44, 62, 80, 0) 94%);
    z-index: 1;
    pointer-events: none;
}

.blog-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.blog-item:hover img {
    transform: scale(1.05);
}

.blog-item .bi-tag {
    position: absolute;
    top: 20px;
    left: 20px;
    display: inline-block;
    padding: 4px 15px;
    font-size: 11px;
    letter-spacing: 1px;
    color: var(--white);
    text-transform: uppercase;
    font-weight: 600;
    border-radius: 30px;
    background: var(--primary-red);
    z-index: 10;
}

.blog-item .bi-text {
    position: absolute;
    left: 0;
    bottom: 0;
    padding: 20px;
    z-index: 10;
    width: 100%;
}

.blog-item .bi-text .bi-date {
    font-size: 12px;
    color: var(--primary-gold);
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.blog-item .bi-text h3 {
    font-size: 18px;
    color: var(--white);
    line-height: 1.4;
    margin: 0;
}

.blog-item .bi-text h3 a {
    color: var(--white);
    transition: var(--transition);
    text-decoration: none;
}

.blog-item .bi-text h3 a:hover {
    color: var(--primary-gold);
}

/* Blog Category Filter */
.blog-category-filter {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
    text-align: center;
}

.blog-category-filter li {
    display: inline-block;
    margin: 0 5px 10px;
    padding: 8px 20px;
    border: 2px solid var(--border-light);
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 14px;
    font-weight: 500;
}

.blog-category-filter li.active,
.blog-category-filter li:hover {
    background: var(--primary-red);
    color: var(--white);
    border-color: var(--primary-red);
}

/* Blog Pagination */
.pagination {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
}

.pagination .page-item {
    margin: 0 3px;
}

.pagination .page-link {
    display: block;
    padding: 8px 15px;
    border: 2px solid var(--border-light);
    border-radius: 5px;
    color: var(--dark-charcoal);
    transition: var(--transition);
    text-decoration: none;
    font-weight: 500;
}

.pagination .page-item.active .page-link,
.pagination .page-link:hover {
    background: var(--primary-red);
    color: var(--white);
    border-color: var(--primary-red);
}

/* Blog Details Page - Keep existing blog details styles */
.blog-details {
    height: 100%;
    background: var(--white);
    overflow-y: auto;
}

.single-blog-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 45px 20px 50px;
}

@media (max-width: 576px) {
    .single-blog-page {
        padding: 30px 15px;
    }
}

.single-blog-page h2 {
    font-size: 42px;
    margin-bottom: 20px;
    line-height: 1.3;
}

@media (max-width: 768px) {
    .single-blog-page h2 {
        font-size: 32px;
    }
}

.blog-metas {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}

.blog-meta {
    color: var(--text-light);
    font-size: 14px;
    position: relative;
}

.blog-meta:not(:last-child):after {
    content: '|';
    margin-left: 20px;
    color: var(--border-light);
}

.blog-thumb {
    margin-bottom: 40px;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
}

.thumb-cata {
    position: absolute;
    top: 30px;
    left: 30px;
    padding: 5px 20px;
    background: var(--primary-red);
    color: var(--white);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 30px;
    z-index: 2;
}

.blog-content {
    margin-bottom: 40px;
}

.post-share {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin: 30px 0;
}

.post-share a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-offwhite);
    color: var(--dark-charcoal);
    border-radius: 50%;
    transition: var(--transition);
}

.post-share a:hover {
    background: var(--primary-red);
    color: var(--white);
    transform: translateY(-3px);
}

/* Blog Navigation */
.blog-navigation {
    margin: 40px 0;
}

.blog-navigation .bn-item {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
}

.blog-navigation .bn-item:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 62, 80, 0.7);
    z-index: 1;
}

.blog-navigation .bn-item h4 {
    color: var(--white);
    position: relative;
    z-index: 2;
    padding: 20px;
    font-size: 18px;
    margin: 0;
}

/* Comments Section */
.comment-option {
    margin: 50px 0;
}

.comment-option h3 {
    margin-bottom: 30px;
    font-size: 28px;
    position: relative;
    padding-bottom: 15px;
}

.comment-option h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--primary-red);
}

.single-comment-item {
    margin-bottom: 30px;
    padding: 25px;
    background: var(--bg-offwhite);
    border-radius: 15px;
}

.single-comment-item.reply-comment {
    margin-left: 50px;
}

@media (max-width: 576px) {
    .single-comment-item.reply-comment {
        margin-left: 20px;
    }
}

.comment-author {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.comment-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid var(--primary-gold);
}

.comment-author-info h5 {
    margin-bottom: 5px;
    font-size: 18px;
}

.comment-author-info span {
    color: var(--text-light);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.comment-actions {
    display: flex;
    gap: 20px;
    margin-top: 15px;
}

.comment-actions button {
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
}

.comment-actions button:hover {
    color: var(--primary-red);
}

/* Comment Form */
.comment-form {
    background: var(--bg-offwhite);
    padding: 40px;
    border-radius: 20px;
    margin-top: 50px;
}

.comment-form h3 {
    margin-bottom: 30px;
    font-size: 28px;
}

.comment-form input,
.comment-form textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid var(--border-light);
    border-radius: 10px;
    transition: var(--transition);
    font-size: 14px;
    margin-bottom: 20px;
}

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

.comment-form textarea {
    height: 150px;
    resize: vertical;
}

/*----------------------------------------*/
/* Contact Page - ENHANCED
/*----------------------------------------*/
.contact-section {
    min-height: 100vh;
    position: relative;
}

.map-warp {
    height: 500px;
    position: relative;
}

.map-warp iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.contact-box {
    max-width: 1000px;
    margin: -100px auto 0;
    background: var(--white);
    border-radius: 30px;
    padding: 50px;
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 10;
}

@media (max-width: 768px) {
    .contact-box {
        margin: -50px 20px 0;
        padding: 30px;
    }
}

.contact-info {
    text-align: center;
    margin-bottom: 30px;
}

.contact-info i {
    font-size: 48px;
    color: var(--primary-red);
    margin-bottom: 15px;
}

.contact-info p {
    margin: 5px 0;
    font-size: 16px;
}

.contact-info p span {
    font-weight: 600;
    color: var(--dark-charcoal);
}

/* Contact Form */
.contact-form-wrap {
    max-width: 800px;
    margin: 0 auto;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid var(--border-light);
    border-radius: 10px;
    transition: var(--transition);
}

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

.contact-form textarea {
    height: 150px;
    resize: vertical;
}

/* Social Links */
.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.social-link {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-offwhite);
    color: var(--dark-charcoal);
    border-radius: 50%;
    transition: var(--transition);
    font-size: 20px;
}

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

/* Instagram Feed */
.instagram-feed {
    margin-top: 50px;
}

.instagram-feed img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
    transition: var(--transition);
}

.instagram-feed img:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
}

/*----------------------------------------*/
/* FAQ Page - ENHANCED
/*----------------------------------------*/
.faq-categories {
    background: var(--white);
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--shadow-sm);
}

.faq-categories h5 {
    margin-bottom: 20px;
    color: var(--dark-charcoal);
}

.faq-cat-link {
    display: block;
    padding: 12px 20px;
    color: var(--text-gray);
    border-radius: 10px;
    transition: var(--transition);
    font-weight: 500;
}

.faq-cat-link:hover {
    background: var(--primary-red);
    color: var(--white);
}

/* Accordion */
.accordion-item {
    border: 2px solid var(--border-light);
    border-radius: 15px !important;
    margin-bottom: 15px;
    overflow: hidden;
}

.accordion-button {
    padding: 20px 25px;
    font-weight: 600;
    color: var(--dark-charcoal);
    background: var(--white);
    font-size: 16px;
}

.accordion-button:not(.collapsed) {
    background: var(--primary-red);
    color: var(--white);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: var(--primary-gold);
}

.accordion-body {
    padding: 25px;
    color: var(--text-gray);
    line-height: 1.8;
}

/* Quick Links */
.quick-links {
    background: var(--bg-offwhite);
    border-radius: 20px;
    padding: 30px;
    margin-top: 50px;
}

.quick-links h4 {
    margin-bottom: 20px;
}

.quick-links a {
    display: block;
    padding: 10px;
    color: var(--text-gray);
    transition: var(--transition);
    border-radius: 10px;
}

.quick-links a:hover {
    background: var(--primary-red);
    color: var(--white);
    transform: translateX(10px);
}

.quick-links a i {
    margin-right: 10px;
    color: var(--primary-gold);
}

/*----------------------------------------*/
/* Countdown Timer
/*----------------------------------------*/
.countdown-timer {
    margin: 40px 0;
}

.timer-box {
    background: var(--primary-red);
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.timer-box h3 {
    font-size: 42px;
    color: var(--white);
    margin-bottom: 5px;
    font-weight: 700;
}

.timer-box span {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.9;
}

/*----------------------------------------*/
/* Sponsors
/*----------------------------------------*/
.sponsor-logo {
    max-height: 80px;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: var(--transition);
}

.sponsor-logo:hover {
    filter: grayscale(0);
    opacity: 1;
    transform: scale(1.1);
}

/*----------------------------------------*/
/* 404 Page
/*----------------------------------------*/
.error-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    text-align: center;
}

.error-content h1 {
    font-size: 150px;
    color: var(--primary-red);
    text-shadow: 10px 10px 0 var(--primary-gold);
    line-height: 1;
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .error-content h1 {
        font-size: 100px;
    }
}

.error-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.error-content p {
    max-width: 500px;
    margin: 0 auto 40px;
}

.helpful-links {
    margin: 40px 0;
}

.helpful-links a {
    display: inline-block;
    padding: 10px 20px;
    color: var(--text-gray);
    transition: var(--transition);
    border-radius: 10px;
}

.helpful-links a:hover {
    background: var(--primary-gold);
    color: var(--dark-charcoal);
    transform: translateY(-3px);
}

/*----------------------------------------*/
/* Search Page
/*----------------------------------------*/
.search-section {
    min-height: 70vh;
    padding: 80px 0;
}

.search-form {
    margin-bottom: 50px;
}

.search-form .input-group {
    box-shadow: var(--shadow-md);
    border-radius: 50px;
    overflow: hidden;
}

.search-form input {
    height: 60px;
    border: none;
    padding: 0 30px;
    font-size: 16px;
}

.search-form .btn {
    height: 60px;
    padding: 0 40px;
    background: var(--primary-red);
    color: var(--white);
    border: none;
    border-radius: 0;
}

.search-form .btn:hover {
    background: var(--primary-red-dark);
}

.search-item {
    transition: var(--transition);
    margin-bottom: 20px;
}

.search-item:hover {
    transform: translateX(10px);
}

.search-item .badge {
    padding: 5px 10px;
    font-size: 11px;
    text-transform: uppercase;
    background: var(--primary-gold);
    color: var(--dark-charcoal);
}

/*----------------------------------------*/
/* Sitemap Page
/*----------------------------------------*/
.sitemap-section {
    padding: 80px 0;
}

.sitemap-card {
    background: var(--white);
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--shadow-sm);
    height: 100%;
    transition: var(--transition);
}

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

.sitemap-title {
    color: var(--primary-red);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-gold);
    font-size: 20px;
}

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

.sitemap-list li {
    margin-bottom: 10px;
}

.sitemap-list a {
    color: var(--text-gray);
    transition: var(--transition);
    display: block;
    padding: 5px 0;
}

.sitemap-list a:hover {
    color: var(--primary-red);
    padding-left: 10px;
}

/*----------------------------------------*/
/* Responsive Utilities
/*----------------------------------------*/
@media (max-width: 768px) {
    h1 { font-size: 42px; }
    h2 { font-size: 32px; }
    h3 { font-size: 24px; }
    h4 { font-size: 20px; }
    
    .section-padding {
        padding: 60px 0;
    }
    
    .section-title h2 {
        font-size: 32px;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }
    
    .btn {
        padding: 10px 25px;
        font-size: 13px;
    }
}

/*----------------------------------------*/
/* Animations
/*----------------------------------------*/
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

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

.fadeIn {
    animation: fadeIn 1s ease;
}

.slideInUp {
    animation: slideInUp 0.8s ease;
}

.slideInLeft {
    animation: slideInLeft 0.8s ease;
}

/*----------------------------------------*/
/* Mobile Navigation Fixes
/*----------------------------------------*/
@media (max-width: 768px) {
    body {
        padding-left: 0;
    }
    
    .menu-wrapper {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 1002;
    }
    
    .menu-wrapper.active {
        transform: translateX(0);
    }
    
    .menu-wrapper.hide-left {
        transform: translateX(-100%);
    }
    
    .side-menu-wrapper {
        width: 280px;
        left: -280px;
        z-index: 1003;
    }
    
    .side-menu-wrapper.active {
        left: 0;
        box-shadow: var(--shadow-lg);
    }
    
    .menu-switch {
        position: fixed;
        left: 0;
        top: 0;
        width: 60px;
        height: 60px;
        z-index: 1001;
        background: var(--primary-red);
        color: var(--white);
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        border-radius: 0 0 10px 0;
    }
    
    .menu-close {
        width: 60px;
        height: 60px;
    }
    
    .site-logo img {
        max-height: 40px;
    }
    
    .main-menu ul li a {
        font-size: 14px;
        padding: 10px 20px;
    }
    
    .sm-footer {
        padding: 20px;
    }
    
    .sm-footer .sm-socail {
        gap: 15px;
    }
    
    .sm-footer .sm-socail a {
        font-size: 16px;
    }
    
    .copyright-text {
        font-size: 10px;
        padding-bottom: 20px;
    }
}

/* Small mobile devices */
@media (max-width: 576px) {
    .menu-switch {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .menu-close {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .side-menu-wrapper {
        width: 250px;
    }
    
    .main-menu ul li a {
        font-size: 13px;
        padding: 8px 15px;
    }
}

/* Menu overlay for mobile */
@media (max-width: 768px) {
    .side-menu-wrapper.active ~ .menu-overlay {
        display: block;
    }
}

.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.menu-overlay.active {
    display: block;
}

/* ===================================
   Mobile Responsive Fixes
   ================================== */

/* Global responsive fixes */
:root {
    --primary-red: #E63946;
    --primary-gold: #D4A017;
    --dark-charcoal: #2C3E50;
    --text-gray: #666;
    --text-light: #999;
    --white: #fff;
    --bg-offwhite: #f9f9f9;
    --shadow-sm: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-md: 0 5px 20px rgba(0,0,0,0.15);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.2);
    --transition: all 0.3s ease;
}

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

html {
    overflow-x: hidden;
    width: 100%;
}

body {
    overflow-x: hidden;
    width: 100%;
    font-family: 'Poppins', sans-serif;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

@media (min-width: 576px) {
    .container {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

/* Section Padding */
.section-padding {
    padding: 80px 0;
}

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

@media (max-width: 768px) {
    .section-padding {
        padding: 50px 0;
    }
}

@media (max-width: 576px) {
    .section-padding {
        padding: 40px 0;
    }
}

/* Hero Section Fixes */
.hero-section {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.hero-section .pana-accordion {
    display: none;
}

.hero-section .hero-slider-warp {
    display: block;
    height: 100%;
}

@media (min-width: 1200px) {
    .hero-section .pana-accordion {
        display: block;
    }
    
    .hero-section .hero-slider-warp {
        display: none;
    }
}

.hero-slider,
.hero-slider .owl-stage-outer,
.hero-slider .owl-stage,
.hero-slider .owl-item,
.hero-item {
    height: 100% !important;
}

.hero-item {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-item .pa-text {
    max-width: 800px;
    padding: 20px;
    color: #fff;
    z-index: 2;
    position: relative;
}

.hero-item .pa-tag {
    font-size: 16px;
    letter-spacing: 3px;
    margin-bottom: 20px;
    text-transform: uppercase;
    background: var(--primary-gold);
    display: inline-block;
    padding: 8px 20px;
    border-radius: 30px;
}

.hero-item h2 {
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-item .pa-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.hero-item .pa-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 3px solid var(--primary-gold);
}

.hero-item .pa-author h4 {
    font-size: 18px;
    font-weight: 500;
    margin: 0;
}

@media (max-width: 992px) {
    .hero-item h2 {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .hero-item h2 {
        font-size: 28px;
    }
    
    .hero-item .pa-tag {
        font-size: 14px;
        padding: 6px 15px;
    }
    
    .hero-item .pa-author img {
        width: 40px;
        height: 40px;
    }
    
    .hero-item .pa-author h4 {
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .hero-item h2 {
        font-size: 22px;
    }
    
    .hero-item .pa-tag {
        font-size: 12px;
        padding: 4px 12px;
    }
}

/* About Page Scroll Fix */
.about-section {
    height: 100vh;
    overflow: hidden;
}

.about-warp {
    display: flex;
    height: 100vh;
    overflow: hidden;
}

.about-left {
    flex: 0 0 45%;
    overflow-y: auto;
    height: 100vh;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-gold) #f1f1f1;
}

.about-right {
    flex: 0 0 55%;
    overflow-y: auto;
    height: 100vh;
    padding: 40px 40px;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-gold) #f1f1f1;
}

/* Custom scrollbar */
.about-left::-webkit-scrollbar,
.about-right::-webkit-scrollbar {
    width: 8px;
}

.about-left::-webkit-scrollbar-track,
.about-right::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.about-left::-webkit-scrollbar-thumb,
.about-right::-webkit-scrollbar-thumb {
    background: var(--primary-gold);
    border-radius: 10px;
}

@media (max-width: 1200px) {
    .about-section,
    .about-warp {
        height: auto;
        min-height: 100vh;
        overflow: visible;
    }
    
    .about-left,
    .about-right {
        flex: 0 0 100%;
        height: auto;
        overflow: visible;
        padding: 40px 20px;
    }
    
    .about-left {
        position: relative;
    }
    
    .about-left:after {
        display: none;
    }
}

@media (max-width: 768px) {
    .about-left,
    .about-right {
        padding: 30px 15px;
    }
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    aspect-ratio: 1/1;
}

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

.gallery-item:hover img {
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 15px;
    }
}

@media (max-width: 576px) {
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
}

/* Blog Cards */
.blog-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card .card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card .card-body {
    flex: 1;
}

.blog-card .card-img-top {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

@media (max-width: 768px) {
    .blog-card .card-img-top {
        height: 200px;
    }
}

/* Countdown Timer */
.countdown-timer .timer-box {
    text-align: center;
    padding: 20px;
}

.countdown-timer .timer-box h3 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 5px;
}

.countdown-timer .timer-box span {
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .countdown-timer .timer-box {
        padding: 15px;
    }
    
    .countdown-timer .timer-box h3 {
        font-size: 32px;
    }
    
    .countdown-timer .timer-box span {
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .countdown-timer .timer-box h3 {
        font-size: 24px;
    }
    
    .countdown-timer .timer-box span {
        font-size: 12px;
    }
}

/* Step Cards */
.step-card {
    background: white;
    padding: 30px 20px;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    height: 100%;
    transition: var(--transition);
}

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

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary-gold);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin: 0 auto 20px;
}

@media (max-width: 768px) {
    .step-card {
        padding: 25px 15px;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}

/* Judge Cards */
.judge-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
}

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

.judge-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.judge-card .card-body {
    padding: 25px;
}

@media (max-width: 768px) {
    .judge-card img {
        height: 250px;
    }
    
    .judge-card .card-body {
        padding: 20px;
    }
}

/* Responsive Tables */
.table-responsive {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Admin Dashboard Mobile Fixes */
@media (max-width: 768px) {
    .admin-wrapper {
        flex-direction: column;
    }
    
    .admin-sidebar {
        width: 100%;
        position: static;
        min-height: auto;
    }
    
    .admin-content {
        margin-left: 0;
        padding: 15px;
    }
    
    .stats-widget {
        margin-bottom: 15px;
    }
    
    .admin-table {
        font-size: 14px;
    }
    
    .admin-table td,
    .admin-table th {
        padding: 8px;
        white-space: nowrap;
    }
    
    .btn-group {
        flex-direction: column;
        gap: 5px;
    }
    
    .btn-group .btn {
        width: 100%;
        margin: 0 !important;
    }
}

/* Form Responsiveness */
.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

@media (max-width: 576px) {
    .form-control {
        font-size: 14px;
        padding: 10px 12px;
    }
}

/* Modal Responsiveness */
.modal-dialog {
    max-width: 500px;
    margin: 30px auto;
}

@media (max-width: 576px) {
    .modal-dialog {
        margin: 10px;
    }
    
    .modal-content {
        padding: 15px;
    }
}

/* Helper Classes */
.text-center {
    text-align: center;
}

.d-none {
    display: none;
}

.d-block {
    display: block;
}

@media (min-width: 768px) {
    .d-md-block {
        display: block;
    }
    
    .d-md-none {
        display: none;
    }
}

/* Fix for 100vh on mobile */
@supports (-webkit-touch-callout: none) {
    .hero-section,
    .about-section,
    .about-warp,
    .about-left,
    .about-right {
        height: -webkit-fill-available;
    }
}

/*----------------------------------------*/
/* Helper Classes
/*----------------------------------------*/
.text-red { color: var(--primary-red) !important; }
.text-gold { color: var(--primary-gold) !important; }
.text-charcoal { color: var(--dark-charcoal) !important; }
.text-white { color: var(--white) !important; }
.text-gray { color: var(--text-gray) !important; }

.bg-red { background: var(--primary-red) !important; }
.bg-gold { background: var(--primary-gold) !important; }
.bg-charcoal { background: var(--dark-charcoal) !important; }
.bg-white { background: var(--white) !important; }
.bg-offwhite { background: var(--bg-offwhite) !important; }

.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 10px !important; }
.mt-2 { margin-top: 20px !important; }
.mt-3 { margin-top: 30px !important; }
.mt-4 { margin-top: 40px !important; }
.mt-5 { margin-top: 50px !important; }

.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 10px !important; }
.mb-2 { margin-bottom: 20px !important; }
.mb-3 { margin-bottom: 30px !important; }
.mb-4 { margin-bottom: 40px !important; }
.mb-5 { margin-bottom: 50px !important; }

.p-0 { padding: 0 !important; }
.p-1 { padding: 10px !important; }
.p-2 { padding: 20px !important; }
.p-3 { padding: 30px !important; }
.p-4 { padding: 40px !important; }
.p-5 { padding: 50px !important; }