/* Global Styles */
:root {
    --primary-color: #D4AF37;
    /* Golden */
    --secondary-color: #333333;
    /* Dark Grey */
    --text-color: #2c2c2c;
    --bg-color: #ffffff;
    --footer-bg: #1a1a1a;
    --navbar-bg: #ffffff;
    /* White Navbar */
    --light-grey: #f8f9fa;
    --border-color: #e9ecef;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    overflow-x: hidden;
    line-height: 1.7;
    /* Increased line height for readability */
}

h1,
h2,
h3,
h4,
h5,
h6,
.hero-title,
.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    /* Consistent bottom margin for headings */
}

p {
    margin-bottom: 1rem;
    /* Consistent bottom margin for paragraphs */
}

a {
    text-decoration: none !important;
    /* No default underline */
    color: inherit;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-color) !important;
}

/* Page Header */
.page-header {
    background-color: var(--footer-bg);
    color: #ffffff;
    padding: 4rem 0;
    text-align: center;
}

.page-header h1 {
    color: #ffffff !important;
    font-weight: 700;
}

.breadcrumb {
    justify-content: center;
    margin-bottom: 0;
}

.breadcrumb-item a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: #ffffff;
}

.breadcrumb-item.active {
    color: #ffffff;
}

.breadcrumb-item+.breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
    content: "/";
}

/* Custom Utilities */
.text-gold {
    color: var(--primary-color) !important;
}

.bg-gold {
    background-color: var(--primary-color) !important;
}

.border-gold {
    border-color: var(--primary-color) !important;
}

/* Navbar */
.navbar {
    background-color: var(--navbar-bg);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.5rem;
    color: #000000 !important;
    margin: 0 !important;
}

.nav-link {
    font-weight: 500;
    color: #000000 !important;
    /* Black text */
    margin: 0 10px;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color) !important;
}

/* Hover Dropdown */
@media (min-width: 992px) {
    .dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0;
    }
}

.dropdown-menu {
    border: none;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    border-radius: 0.5rem;
}

.dropdown-item {
    font-weight: 500;
    padding: 0.5rem 1.5rem;
}

.dropdown-item:active {
    background-color: var(--primary-color);
}

/* Buttons */
.btn-gold {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #000;
    /* Dark text for contrast on Gold */
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.btn-gold:hover {
    background-color: #b39028;
    /* Darker Gold */
    border-color: #b39028;
    color: #000 !important;
    /* Maintain dark text */
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.btn-outline-gold {
    color: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.btn-outline-gold:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #000 !important;
    /* Fix invisible text on hover */
}

/* Hero Section */
.hero-section {
    background: #080808;
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 100px 0 100px;
    text-align: center;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    color: #fff;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 40px;
    font-weight: 300;
}

/* Countdown Timer */
#countdown {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
}

.countdown-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    min-width: 100px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.countdown-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
}

.countdown-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Sections */
.section-padding {
    padding: 80px 0;
    /* Consistent top/bottom padding */
}

.section-title {
    text-align: center;
    margin-bottom: 46px;
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

/* Cards & Features */
.feature-box {
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.05);
    /* Subtle shadow */
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 4px solid var(--primary-color);
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 25px;
}

.card {
    border: none;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.1);
}

/* Forms */
.form-control,
.form-select {
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(255, 165, 0, 0.25);
}

.form-label {
    font-weight: 600;
    margin-bottom: 8px;
}

/* Tabs */
.nav-tabs .nav-link {
    color: var(--secondary-color);
    font-weight: 600;
    border: none;
    border-bottom: 3px solid transparent;
    padding: 1rem 1.5rem;
}

.nav-tabs .nav-link:hover {
    color: var(--primary-color);
}

.nav-tabs .nav-link.active {
    color: var(--primary-color);
    border-bottom: 3px solid var(--primary-color);
    background: transparent;
}

/* Video Containers */
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-container-vertical {
    position: relative;
    padding-bottom: 177.78%;
    /* 9:16 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.video-container-vertical iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Contact Cards */
.contact-card {
    height: 100%;
    transition: transform 0.3s ease;
    border-top: 4px solid var(--primary-color);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15) !important;
}

/* Judge Cards */
.judge-card {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid #eee;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.judge-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--primary-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.judge-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: transparent;
}

.judge-card:hover::before {
    transform: scaleX(1);
}

.judge-img-wrapper {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    background-color: var(--light-grey);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    border: 2px solid transparent;
}

.judge-card:hover .judge-img-wrapper {
    background-color: #fff;
    border-color: var(--primary-color);
    transform: scale(1.1);
}

.judge-img-wrapper i {
    font-size: 3rem;
    color: var(--secondary-color);
    transition: color 0.4s ease;
}

.judge-card:hover .judge-img-wrapper i {
    color: var(--primary-color);
}

.judge-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

/* Footer */
footer {
    background-color: var(--footer-bg);
    color: #fff;
    padding: 80px 0 0;
}

footer h5 {
    color: var(--primary-color);
    margin-bottom: 25px;
    font-size: 1.2rem;
    font-weight: 700;
}

footer p {
    color: #cccccc;
    font-size: 0.95rem;
}

footer ul li {
    margin-bottom: 10px;
}

footer a {
    color: #cccc;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--primary-color);
}

.social-icons a {
    font-size: 1.5rem;
    margin-right: 20px;
    color: #fff;
}

.social-icons a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    background-color: #111;
    padding: 20px 0;
    margin-top: 60px;
    color: #777;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    #countdown {
        gap: 15px;
    }

    .countdown-item {
        min-width: 70px;
        padding: 10px;
    }

    .countdown-number {
        font-size: 1.8rem;
    }
}

/* Panel Discussion Cards */
.panel-card {
    background: #fff;
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    height: 100%;
    position: relative;
}

.panel-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.panel-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.panel-card:hover::before {
    transform: scaleX(1);
}

.panel-title {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 15px;
}

.panel-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.panelist-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1.5rem;
}

.panelist-img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--border-color);
    padding: 3px;
    transition: all 0.3s ease;
    background-color: #fff;
    object-position: top;
}

.panelist-item:hover .panelist-img {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.panelist-name {
    margin-top: 10px;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--secondary-color);
    font-family: 'Playfair Display', serif;
}

@media (max-width:768px) {
    .card-img-top {
        height: auto !important;
        max-width: 100%;
    }
}

.supporters-logo{
    width: 250px;
}