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

:root {
    --primary: #1a237e; /* Deep Indigo */
    --secondary: #00c853; /* Vibrant Emerald */
    --accent: #ffd600;
    --dark: #0f172a;
    --light: #f8fafc;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.8);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--light);
    background-image: radial-gradient(var(--primary) 0.5px, transparent 0.5px);
    background-size: 30px 30px;
    color: var(--dark);
    line-height: 1.7;
}

h1, h2, h3, .navbar-brand {
    font-family: 'Playfair Display', serif;
}

/* Navbar Upgrade */
.navbar {
    background: var(--glass) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 10px 40px -10px rgba(0,0,0,0.1);
    padding: 1.2rem 0;
    transition: var(--transition);
    z-index: 2000;
}

.navbar-brand img {
    height: 60px;
}

/* Custom Utilities */
.text-primary { color: var(--primary) !important; }
.text-secondary { color: var(--secondary) !important; }
.bg-primary { background-color: var(--primary) !important; }
.bg-secondary { background-color: var(--secondary) !important; }

.nav-link {
    font-weight: 500;
    color: var(--dark) !important;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    position: relative;
    padding: 0.5rem 1rem !important;
}

/* Slider Overhaul */
.carousel-item {
    height: 80vh; 
    min-height: 500px;
    background: #000;
    transition: transform 1.2s cubic-bezier(0.7, 0, 0.3, 1), opacity 1.2s ease-in-out;
    overflow: hidden;
}

@media (max-width: 1200px) {
    .carousel-item {
        height: 70vh;
        min-height: 450px;
    }
}

@media (max-width: 992px) {
    .carousel-item {
        height: auto;
        min-height: 350px;
    }
    .carousel-item video {
        object-fit: contain !important;
        height: auto !important;
    }
}

@media (max-width: 768px) {
    .carousel-item {
        min-height: 250px;
    }
}

@media (max-width: 576px) {
    .carousel-item {
        min-height: 200px;
    }
}

.carousel-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.8);
    transition: var(--transition);
}

/* Enhanced Fade Animation */
.carousel-fade .carousel-item {
    opacity: 0;
    transition-property: opacity;
    transform: scale(1.1); /* Slight zoom out during transition */
}

.carousel-fade .carousel-item.active {
    opacity: 1;
    transform: scale(1);
    transition: opacity 1.2s ease-in-out, transform 1.2s ease-in-out;
}

.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 8px;
    background-color: var(--secondary);
    border: 2px solid white;
}

.carousel-caption {
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    bottom: 0;
    left: 0;
    right: 0;
    padding: 100px 10%;
    text-align: left;
}

.carousel-caption h2 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
}

/* Video Section */
.video-section {
    margin: 80px 0;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    position: relative;
    background: #000;
}

.video-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(26, 35, 126, 0.7), rgba(0, 0, 0, 0.3));
    z-index: 1;
}

.video-section video {
    width: 100%;
    height: auto;
    display: block;
}

.video-section .position-absolute {
    z-index: 2;
}

/* Organizing Committee Premium Cards */
.committee-section {
    padding: 100px 0;
    background: white;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 60px;
    color: var(--primary);
}

.committee-card {
    background: var(--white);
    border-radius: 24px;
    padding: 40px 30px;
    border: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.committee-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transition: var(--transition);
}

.committee-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px -12px rgba(26, 35, 126, 0.15);
}

.committee-card:hover::before {
    transform: scaleX(1);
}

.committee-card img {
    width: 140px;
    height: 140px;
    border-radius: 20px;
    margin-bottom: 25px;
    filter: grayscale(100%);
    transition: var(--transition);
    object-fit: cover;
    object-position: top;
}

.committee-card:hover img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.committee-card h4 {
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}

.committee-card p {
    color: var(--secondary);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Contact Page Enhanced Styles */
.contact-card {
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important;
}

.icon-box {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-btn {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--transition);
    font-size: 1.2rem;
}

.social-btn:hover {
    transform: translateY(-5px);
    color: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.social-btn.facebook { background-color: #3b5998; }
.social-btn.instagram { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.social-btn.linkedin { background-color: #0077b5; }
.social-btn.twitter { background-color: #000000; }

.rotate-15 {
    transform: rotate(15deg);
}

.form-control {
    padding: 15px 20px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
}

.form-control:focus {
    box-shadow: 0 0 0 4px rgba(0, 200, 83, 0.1);
    border-color: var(--secondary);
}

.btn-primary {
    background: var(--primary);
    border: none;
    padding: 15px 40px;
    border-radius: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: var(--transition);
}

.btn-primary:hover {
    background: var(--dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(26, 35, 126, 0.2);
}

/* Sponsorship Comparison Grid - Premium Design */
.comparison-grid-wrapper {
    overflow-x: auto;
    padding: 20px 5px 60px 5px;
    margin-top: 30px;
}

.comparison-grid {
    min-width: 900px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 40px;
    box-shadow: 0 30px 100px rgba(0,0,0,0.08);
    border: 1px solid rgba(255,255,255,0.5);
    overflow: hidden;
}

.grid-row {
    display: grid;
    grid-template-columns: 280px repeat(4, 1fr);
    border-bottom: 1px solid rgba(0,0,0,0.04);
    transition: all 0.3s ease;
}

.grid-row:not(.header-row):hover {
    background: rgba(0, 200, 83, 0.02);
}

.grid-cell {
    padding: 30px 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 0.95rem;
    color: #475569;
}

.benefit-label-cell {
    justify-content: flex-start;
    text-align: left;
    font-weight: 700;
    color: var(--primary);
    background: rgba(248, 250, 252, 0.5);
    border-right: 1px solid rgba(0,0,0,0.04);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    position: sticky;
    left: 0;
    z-index: 10;
}

.header-row {
    background: var(--primary);
    border-bottom: none;
}

.header-row .grid-cell {
    padding: 20px 25px;
    flex-direction: column;
}

.header-row .benefit-label-cell {
    background: #161d66;
    color: rgba(255,255,255,0.8);
    border-right: 1px solid rgba(255,255,255,0.1);
}

.tier-cell {
    color: white;
}

.tier-icon {
    font-size: 1.4rem;
    margin-bottom: 8px;
    opacity: 0.9;
}

.tier-name {
    font-size: 1.3rem;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    margin-bottom: 3px;
}

.tier-price {
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.8;
    background: rgba(255,255,255,0.1);
    padding: 4px 15px;
    border-radius: 50px;
}

/* Tier Specific Header Colors */
.platinum-tier { background: linear-gradient(135deg, #1e293b 0%, #334155 100%); }
.gold-tier { background: linear-gradient(135deg, #b45309 0%, #d97706 100%); }
.silver-tier { background: linear-gradient(135deg, #475569 0%, #64748b 100%); }
.bronze-tier { background: linear-gradient(135deg, #9a3412 0%, #c2410c 100%); }

.platinum-value { font-weight: 600; color: #1e293b; }
.gold-value { font-weight: 600; color: #92400e; }
.silver-value { font-weight: 500; color: #475569; }
.bronze-value { font-weight: 500; color: #9a3412; }

.last-row {
    border-bottom: none;
}

@media (max-width: 992px) {
    .comparison-grid-wrapper {
        margin: 20px -15px 40px -15px;
        padding: 10px 15px 40px 15px;
    }
}

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

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

/* Footer Premium */
footer {
    background: var(--dark);
    border-top-left-radius: 50px;
    border-top-right-radius: 50px;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .section-title { font-size: 2.5rem; }
    .display-3 { font-size: 3.5rem; }
    .display-4 { font-size: 3rem; }
    .display-5 { font-size: 2.5rem; }
}

@media (max-width: 768px) {
    .section-title { font-size: 2rem; margin-bottom: 40px; }
    .display-3 { font-size: 2.75rem; }
    .display-4 { font-size: 2.5rem; }
    .display-5 { font-size: 2.25rem; }
    .navbar { padding: 0.8rem 0; }
    .navbar-brand img { height: 30px; }
    .committee-section { padding: 60px 0; }
    .committee-card { padding: 30px 20px; border-radius: 20px; }
    .committee-card img { width: 120px; height: 120px; border-radius: 16px; margin-bottom: 20px; }
    .video-section { margin: 40px 0; border-radius: 20px; }
    footer { border-top-left-radius: 30px; border-top-right-radius: 30px; }
    .carousel-indicators [data-bs-target] { width: 8px; height: 8px; margin: 0 5px; }
}

@media (max-width: 576px) {
    .section-title { font-size: 1.75rem; }
    .committee-card { padding: 25px 15px; }
    .committee-card img { width: 100px; height: 100px; }
    .navbar-brand img { height: 28px; }
}

/* New Video-Menu Section */
.video-menu-section {
    margin: 60px 0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    display: flex;
    min-height: 600px;
}

.video-menu-section.full-width {
    margin: 0;
    border-radius: 0;
    width: 100%;
}

.video-menu-container {
    display: flex;
    width: 100%;
    height: 100%;
    flex-wrap: wrap;
}

.video-menu-left {
    flex: 0 0 50%;
    max-width: 50%;
    background: #0288d1; /* Matching the tab container background */
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-menu-left video {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Changed to contain to show the full video without cutting */
    display: block;
}

.video-menu-right {
    flex: 0 0 50%;
    max-width: 50%;
    background: #0288d1; /* Darker blue background to make boxes pop */
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(4, 1fr);
    min-height: 600px;
    padding: 8px;
}

.menu-box {
    padding: 15px 5px;
    text-align: center;
    color: #1e293b; /* Darker blue-slate text */
    background: #ffffff;
    background-image: 
        linear-gradient(rgba(79, 195, 247, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(79, 195, 247, 0.05) 1px, transparent 1px);
    background-size: 10px 10px; /* Subtle grid lining like professional equipment */
    border: 4px solid #4fc3f7;
    border-radius: 18px;
    margin: 8px;
    box-shadow: 
        0 8px 0 #0288d1,
        0 15px 25px rgba(0,0,0,0.1);
    transition: all 0.15s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    position: relative;
    top: 0;
    overflow: hidden;
}

.menu-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.4) 0%, transparent 50%, rgba(0,0,0,0.05) 100%);
    pointer-events: none;
    z-index: 1;
}

.menu-box::after {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    height: 15px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 10px;
    pointer-events: none;
    z-index: 2;
}

.menu-box:hover {
    background: #f8fbff;
    color: var(--primary);
    transform: translateY(2px);
    box-shadow: 
        0 4px 0 #0288d1,
        0 8px 15px rgba(0,0,0,0.2);
}

.menu-box i {
    font-size: 2.2rem;
    margin-bottom: 8px;
    color: #1a237e; /* Match counter number color */
    filter: drop-shadow(0 2px 2px rgba(0,0,0,0.1));
    position: relative;
    z-index: 3;
}

.menu-box:active {
    transform: translateY(6px); /* Push down further */
    box-shadow: 
        0 2px 0 #0288d1,
        0 5px 10px rgba(0,0,0,0.2);
    top: 2px;
}

.menu-box span {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.1;
    padding: 0 3px;
    word-wrap: break-word;
    display: block;
    width: 100%;
    position: relative;
    z-index: 3;
}

@media (max-width: 991px) {
    .video-menu-left, .video-menu-right {
        flex: 0 0 100%;
        max-width: 100%;
        min-height: 300px;
    }
    .video-menu-section {
        flex-direction: column;
        min-height: auto;
    }
    .video-menu-right {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(4, 1fr);
    }
}

@media (max-width: 576px) {
    .video-menu-right {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(6, 1fr);
    }
    .menu-box i {
        font-size: 1.6rem;
    }
    .menu-box span {
        font-size: 0.9rem;
    }
}

/* Logos Slider Styles */
.logos-slider-section {
    padding: 40px 0;
    background: #fff;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    overflow: hidden;
    width: 100%;
}

.logos-slider-container {
    width: 100%;
    position: relative;
}

.logos-track {
    display: flex;
    width: calc(250px * 12); /* Based on logo-slide width */
    animation: scroll 30s linear infinite;
}

.logo-slide {
    width: 250px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
}

.logo-placeholder {
    width: 100%;
    height: 60px;
    background: #f1f5f9;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-weight: 700;
    font-size: 1.1rem;
    border: 1px dashed rgba(0,0,0,0.1);
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-250px * 6)); }
}
