/* Global Styles - Mobile First Approach */
:root {
    --primary-color: #FF6B00; /* African sunset orange */
    --secondary-color: #00843D; /* African green */
    --accent-color: #FFC72C; /* Gold */
    --dark-color: #1A1A1A;
    --light-color: #F8F9FA;
    --text-color: #333;
    --text-light: #6C757D;
    --white: #ffffff;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Poppins', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .container {
        padding: 0 2rem;
    }
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h4 { font-size: clamp(1.1rem, 2.5vw, 1.5rem); }

p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

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

a:hover {
    color: var(--accent-color);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
    text-align: center;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-text {
    position: relative;
    z-index: 1;
}

.btn-icon {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
}

.btn-primary:hover .btn-icon {
    transform: translateX(3px);
}

.btn-outline:hover .btn-icon {
    transform: translateY(3px);
    animation: bounce 0.6s ease;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(5px); }
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.05rem;
}

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

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

.btn-outline {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid white;
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background-color: white;
    color: var(--primary-color);
    border-color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.3);
}

@media (max-width: 576px) {
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .btn-lg {
        padding: 0.875rem 1.75rem;
        font-size: 0.95rem;
    }
}

.section {
    padding: 3rem 0;
}

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

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    position: relative;
    display: inline-block;
    margin-bottom: 1rem;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.section-subtitle {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.bg-light {
    background-color: #fafafa;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background-color: rgba(26, 26, 26, 0.97);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1rem 0;
    z-index: 1000;
    transition: var(--transition);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar.scrolled {
    padding: 0.75rem 0;
    background-color: rgba(26, 26, 26, 0.98);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
    transition: var(--transition);
    z-index: 1001;
}

.nav-logo:hover {
    color: var(--primary-color);
    transform: translateY(-1px);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: white;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 0.875rem;
    border-radius: 6px;
    position: relative;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary-color);
    background-color: rgba(255, 107, 0, 0.1);
}

.nav-link.active {
    color: var(--primary-color);
}

.btn-nav {
    padding: 0.625rem 1.25rem;
    font-size: 0.9rem;
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 22px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger .bar {
    display: block;
    width: 100%;
    height: 3px;
    background-color: white;
    border-radius: 2px;
    transition: var(--transition);
}

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

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

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

/* Mobile Navigation */
@media (max-width: 992px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: rgba(26, 26, 26, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 1.5rem;
        padding: 2rem;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.3);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-link {
        font-size: 1.1rem;
        padding: 0.75rem 1.5rem;
        width: 100%;
        text-align: center;
    }
    
    .nav-cta {
        width: 100%;
    }
    
    .btn-nav {
        width: 100%;
        justify-content: center;
    }
    
    .hamburger {
        display: flex;
    }
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 6rem 1rem 4rem;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.85), rgba(255, 107, 0, 0.15)), 
                url('../images/hero-bg.jpg') no-repeat center center/cover;
    background-attachment: fixed;
}

@media (max-width: 768px) {
    .hero {
        background-attachment: scroll;
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6), rgba(255, 107, 0, 0.1));
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: rgba(255, 107, 0, 0.2);
    border: 1px solid rgba(255, 107, 0, 0.4);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: clamp(2rem, 6vw, 4rem);
    margin-bottom: 1rem;
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.1;
    text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: clamp(1.1rem, 3vw, 1.5rem);
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.95);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
}

.hero-theme {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    margin-bottom: 2rem;
    color: var(--accent-color);
    font-weight: 500;
}

/* Countdown in Hero */
.countdown {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin: 2.5rem 0;
    flex-wrap: wrap;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 90px;
    padding: 1.25rem 1rem;
    background: #FF6B00;
    border: 2px solid #e05d00;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.countdown-item:hover {
    transform: translateY(-5px);
    background: #e05d00;
    border-color: #FFC72C;
    box-shadow: 0 8px 20px rgba(255, 107, 0, 0.6);
}

.countdown-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    line-height: 1;
    margin-bottom: 0.5rem;
    font-variant-numeric: tabular-nums;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.countdown-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.95;
}

@media (max-width: 768px) {
    .countdown {
        gap: 0.75rem;
    }
    
    .countdown-item {
        min-width: 75px;
        padding: 1rem 0.75rem;
    }
    
    .countdown-number {
        font-size: 2rem;
    }
    
    .countdown-label {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .countdown {
        gap: 0.5rem;
    }
    
    .countdown-item {
        min-width: 65px;
        padding: 0.875rem 0.5rem;
    }
    
    .countdown-number {
        font-size: 1.75rem;
    }
    
    .countdown-label {
        font-size: 0.7rem;
    }
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2.5rem;
}

@media (max-width: 576px) {
    .hero {
        min-height: 90vh;
        padding: 5rem 1rem 3rem;
        background-attachment: scroll;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 0.875rem;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-top: 2rem;
    align-items: center;
}

@media (min-width: 768px) {
    .about-content {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

.about-text p {
    margin-bottom: 1.25rem;
    font-size: clamp(1rem, 2vw, 1.1rem);
    line-height: 1.8;
    color: var(--text-color);
}

.about-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.about-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-image:hover img {
    transform: scale(1.08);
}

/* Hackathon Section */
.hackathon-details {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

@media (min-width: 640px) {
    .hackathon-details {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .hackathon-details {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

.detail-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.detail-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.detail-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.25rem;
}

.detail-card h3 {
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-size: clamp(1.15rem, 2.5vw, 1.35rem);
}

.detail-card p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* Categories Section */
.categories-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

@media (min-width: 768px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (min-width: 1200px) {
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.category-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-top: 4px solid var(--primary-color);
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-top-width: 6px;
}

.category-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(255, 107, 0, 0.1), rgba(255, 199, 44, 0.1));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.category-icon i {
    font-size: 1.75rem;
    color: var(--primary-color);
}

.category-card h3 {
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-size: clamp(1.15rem, 2.5vw, 1.35rem);
    line-height: 1.3;
}

.category-card h4 {
    font-size: 1rem;
    color: var(--dark-color);
    margin-top: 1.25rem;
    margin-bottom: 0.75rem;
}

.category-card > p {
    color: var(--text-light);
    margin-bottom: 1.25rem;
    line-height: 1.7;
    font-size: 0.95rem;
}

.category-topics {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem 0;
}

.category-topics li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.625rem;
    color: var(--text-color);
    font-size: 0.9rem;
    line-height: 1.5;
}

.category-topics li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.1rem;
}

.challenge-examples {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.challenge-examples h5 {
    font-size: 0.9rem;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.challenge-examples p {
    font-size: 0.875rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 0;
}

/* Featured Challenge Styling */
.featured-challenge {
    border-top: 4px solid var(--accent-color);
    background: linear-gradient(135deg, rgba(255, 199, 44, 0.05), rgba(255, 107, 0, 0.05));
}

.featured-challenge:hover {
    border-top-width: 6px;
    box-shadow: 0 12px 35px rgba(255, 199, 44, 0.2);
}

.startup-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.startup-badge i {
    font-size: 1rem;
}

.challenge-partner {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid rgba(255, 199, 44, 0.3);
}

.challenge-partner p {
    font-size: 0.95rem;
    color: var(--dark-color);
    margin: 0;
}

.challenge-partner strong {
    color: var(--primary-color);
}

/* Speakers Section */
.speakers-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

@media (min-width: 640px) {
    .speakers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .speakers-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.speaker-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

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

.speaker-image {
    position: relative;
    height: 280px;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f5f5, #e0e0e0);
}

.speaker-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.speaker-card:hover .speaker-image img {
    transform: scale(1.08);
}

/* Featured speaker image adjustments */
.featured-speaker .speaker-image {
    height: 400px;
}

.featured-speaker .speaker-image img {
    object-fit: contain;
    object-position: center center;
    background: white;
}

.speaker-image .social-links {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 1.25rem;
    display: flex;
    justify-content: center;
    gap: 0.875rem;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
}

.speaker-card:hover .social-links {
    opacity: 1;
    transform: translateY(0);
}

.speaker-image .social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    transition: var(--transition);
}

.speaker-image .social-links a:hover {
    background: var(--accent-color);
    transform: translateY(-3px) scale(1.1);
}

.speaker-info {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.speaker-info h3 {
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    font-size: clamp(1.15rem, 2.5vw, 1.3rem);
}

.speaker-title {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.speaker-bio {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0;
}

.text-center {
    text-align: center;
}

.text-large {
    font-size: clamp(1.05rem, 2vw, 1.2rem);
    color: var(--dark-color);
    margin-bottom: 1.25rem;
    font-weight: 500;
}

/* Schedule Section */
.schedule-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

@media (min-width: 768px) {
    .schedule-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

.day {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.day:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.day h3 {
    color: var(--primary-color);
    text-align: center;
    padding-bottom: 1rem;
    margin-bottom: 0.75rem;
    border-bottom: 2px solid rgba(255, 107, 0, 0.2);
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
}

.day-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 0.95rem;
    font-style: italic;
    margin-bottom: 0.5rem;
}

.day ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.day li {
    margin-bottom: 0.875rem;
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.95rem;
    line-height: 1.6;
}

.day li:before {
    content: "●";
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.day li strong {
    color: var(--primary-color);
    margin-right: 0.5rem;
    font-weight: 600;
}

.venue-highlight {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(255, 107, 0, 0.1), rgba(255, 199, 44, 0.1));
    border-radius: 8px;
    border: 2px solid rgba(255, 107, 0, 0.3);
}

.venue-highlight i {
    font-size: 1.25rem;
    color: var(--primary-color);
}

.venue-highlight span {
    font-size: 1rem;
    color: var(--dark-color);
}

.venue-highlight strong {
    color: var(--primary-color);
}

/* Participation Perks */
.participation-perks {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

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

.participation-perks span {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 107, 0, 0.08), rgba(255, 199, 44, 0.08));
    padding: 0.875rem 1.25rem;
    border-radius: 10px;
    color: var(--dark-color);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    border: 1px solid rgba(255, 107, 0, 0.15);
    text-align: center;
}

.participation-perks i {
    margin-right: 0.625rem;
    color: var(--primary-color);
    font-size: 1.25em;
}

.participation-perks span:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    background: linear-gradient(135deg, rgba(255, 107, 0, 0.12), rgba(255, 199, 44, 0.12));
    border-color: var(--primary-color);
}

/* Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-top: 2rem;
}

@media (min-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr 1.5fr;
        gap: 3rem;
    }
}

.contact-info h3 {
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    font-size: clamp(1.25rem, 3vw, 1.5rem);
}

.contact-info p {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.875rem;
    font-size: 1rem;
}

.contact-info i {
    color: var(--primary-color);
    font-size: 1.25rem;
    width: 28px;
    text-align: center;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    margin-bottom: 1.25rem;
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    transition: var(--transition);
    background-color: #fafafa;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: white;
    box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.1);
}

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

/* Footer */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (min-width: 640px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .footer-content {
        grid-template-columns: repeat(3, 1fr);
        gap: 3rem;
    }
}

.footer-logo h3 {
    color: white;
    margin-bottom: 1rem;
    font-size: clamp(1.25rem, 3vw, 1.5rem);
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    font-size: 0.95rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links .logo {
    display: none;
}

.footer-links h4 {
    color: white;
    margin-bottom: 1.25rem;
    font-size: 1.15rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-links h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    transition: var(--transition);
    padding: 0.25rem 0;
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 0.5rem;
}

.social-links h4 {
    color: white;
    margin-bottom: 1.25rem;
    font-size: 1.15rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.social-links h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    margin-right: 0.625rem;
    margin-bottom: 0.625rem;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-4px);
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* Utility Classes */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

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

.fadeInUp {
    animation: fadeInUp 0.8s ease forwards;
}

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

/* Featured Speaker Badge */
.speaker-badge {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
}

.featured-speaker {
    grid-column: 1 / -1;
    max-width: 700px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .featured-speaker .speaker-image {
        height: 450px;
    }
}

@media (max-width: 576px) {
    .featured-speaker .speaker-image {
        height: 350px;
    }
}

/* Judges & Sponsors Announcement Sections */
.judges-announcement,
.sponsors-announcement {
    max-width: 900px;
    margin: 0 auto;
}

.announcement-card {
    background: white;
    border-radius: 16px;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

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

.announcement-card > i {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.announcement-card h3 {
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-size: clamp(1.5rem, 3vw, 2rem);
}

.announcement-card > p {
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto 2rem;
}

/* Announcement Features */
.announcement-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}
.confirmed-sponsors {
    text-align: center;
    margin-top: 60px;
}

.sponsor-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
}

.sponsor-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    padding: 30px 25px;
    max-width: 340px;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sponsor-card:hover {
    transform: translateY(-5px);
}


/* --- TEXT STYLING --- */
.sponsor-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: #333;
}

.sponsor-card p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.5;
}

.sponsor-card a {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
}

.sponsor-card a:hover {
    text-decoration: underline;
}


.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-color);
    font-weight: 500;
}

.feature-item i {
    color: var(--secondary-color);
    font-size: 1.25rem;
}

@media (max-width: 576px) {
    .announcement-features {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Sponsor Tiers */
.sponsor-tiers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.tier-item {
    background: linear-gradient(135deg, rgba(255, 107, 0, 0.05), rgba(255, 199, 44, 0.05));
    border: 2px solid rgba(255, 107, 0, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    transition: var(--transition);
}

.tier-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(255, 107, 0, 0.1), rgba(255, 199, 44, 0.1));
}

.tier-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.tier-item h4 {
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    font-size: 1.15rem;
}

.tier-item p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
}

@media (max-width: 576px) {
    .sponsor-tiers {
        grid-template-columns: 1fr;
    }
    
    .announcement-card {
        padding: 2rem 1.5rem;
    }
}

/* Smooth Scrolling */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
/* --- FIXED SPONSOR LOGO SIZING --- */
.sponsor-logo {
    width: 100%;
    height: 120px; /* uniform visible height */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    background: #f9f9f9;
    border-radius: 8px;
    overflow: hidden;
    padding: 8px;
  }
  
  .sponsor-logo img {
    width: auto;
    height: auto;
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    object-position: center center;
    display: block;
    margin: 0 auto;
    /* Remove grayscale to show logos in color */
    filter: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
  
  .sponsor-logo img:hover {
    transform: scale(1.05);
    opacity: 0.9; /* optional subtle hover effect */
  }
  
  
  /* --- OVERRIDE ANY PREVIOUS RULES --- */
  .sponsor-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
  }

  .judges-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 2.5rem;
}

.judge-profile {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    padding: 2rem 1.5rem;
    max-width: 320px;
    text-align: center;
    transition: transform 0.3s ease;
}

.judge-profile:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

/* --- SMALLER UNIFORM IMAGE AREA --- */
.judge-photo {
    width: 120px;
    height: 120px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    overflow: hidden;
    background: #f9f9f9;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px; /* Adds breathing room so image isn’t cropped tightly */
  }


/* --- IMAGE SCALING --- */
.judge-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%; /* shift view slightly downward */
    border-radius: 50%;
    display: block;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
  

.judge-photo img:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.judge-profile h4 {
    margin-bottom: 0.4rem;
    color: var(--dark-color);
    font-size: 1.2rem;
    font-weight: 700;
}

.judge-role {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.judge-bio {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Responsive layout */
@media (max-width: 768px) {
    .judges-grid {
        flex-direction: column;
        align-items: center;
    }

    .judge-profile {
        max-width: 100%;
    }
}

  
