/* Font Face Declarations */
@font-face {
    font-family: 'Codex';
    src: url('path-to-codex-font/Codex-Regular.woff2') format('woff2'),
         url('path-to-codex-font/Codex-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Codex';
    src: url('path-to-codex-font/Codex-Bold.woff2') format('woff2'),
         url('path-to-codex-font/Codex-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    overflow-x: hidden;
}

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

section {
    padding: 80px 0;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

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

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header h2 span {
    color: #4e54c8;
}

.underline {
    height: 4px;
    width: 70px;
    background: linear-gradient(90deg, #4e54c8, #8f94fb);
    margin: 0 auto;
    border-radius: 2px;
}

/* Animation Classes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-text {
    animation: fadeInUp 0.8s ease forwards;
}

.animate-text-delay {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.2s;
}

.animate-text-delay-2 {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.4s;
}

.animate-text-delay-3 {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.6s;
}

.animate-text-delay-4 {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.8s;
}

/* Navbar Styles */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    margin-right: 10px;
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links li {
    margin: 0 15px;
}

.nav-links a {
    font-weight: 500;
    position: relative;
}

.nav-links a:hover {
    color: #4e54c8;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #4e54c8;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.register-btn {
    background: linear-gradient(90deg, #4e54c8, #8f94fb);
    color: white !important;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(78, 84, 200, 0.3);
}

.register-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(78, 84, 200, 0.4);
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 1105px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    background: url('suk.jpeg') no-repeat center center;
    padding-top: 10px; /* Increased from 80px to account for navbar height */
    padding-bottom: 40px; /* Added to ensure bottom content is visible */
    background-size: cover; /* Changed from fixed percentage to cover */
    overflow: hidden; /* Added to contain the background */
}

/* Modified animation for better responsiveness */
@keyframes slowZoom {
    from { transform: scale(1); }
    to { transform: scale(1.1); }
}

/* Add this pseudo-element for the animated background */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('suk.jpeg') no-repeat center center;
    background-size: cover;
    animation: slowZoom 20s infinite alternate;
    z-index: -1;
}

.hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.8));
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1000px; /* Increased from 800px */
    margin: 0 auto;
    margin-top: 50px; /* Added to push content down from navbar */
}

.hero h1 {
    font-family: 'Codex', sans-serif;
    font-weight: 800;
    font-size: 5rem;
    background: linear-gradient(to right, #efc1c1, #f5eaea);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    text-align: center;
    position: relative;
  }
  
  .hero h1::after {
    content: '';
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(to right, #efc1c1, #f5eaea);
    filter: blur(20px);
    opacity: 0.3;
    z-index: 1;
  }
  
  .hero .tagline {
    font-family: 'Codex', sans-serif;
    font-size: 2.2rem;
    font-weight: 600;
    background: linear-gradient(to right, #f1bcbc, #f5f5f5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    margin-bottom: 30px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.2); /* Added subtle glow effect */
    text-align: center;
  }
  
.hero .event-details {
    font-size: 1.4rem; /* Increased from 1.1rem */
    margin-bottom: 25px;
    line-height: 1.8;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.hero .event-date {
    font-size: 1.5rem; /* Increased from 1.2rem */
    margin-bottom: 35px;
    display: inline-block;
    padding: 12px 25px;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.cta-button {
    display: inline-block;
    background: linear-gradient(90deg, #4e54c8, #8f94fb);
    color: white;
    padding: 18px 35px; /* Increased from 15px 30px */
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.3rem; /* Increased from 1.1rem */
    box-shadow: 0 4px 15px rgba(78, 84, 200, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: all 0.6s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(78, 84, 200, 0.5);
}

/* Countdown Timer */
.countdown-container {
    display: flex;
    justify-content: center;
    margin-top: 50px; /* Increased from 40px */
    position: relative;
    z-index: 1;
}

.countdown-item {
    margin: 0 20px; /* Increased from 15px */
    min-width: 100px; /* Increased from 80px */
    text-align: center;
    background-color: rgba(255, 255, 255, 0.15);
    padding: 20px 15px; /* Increased from 15px 10px */
    border-radius: 15px; /* Increased from 10px */
    backdrop-filter: blur(8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: visible; /* Ensure text doesn't get cut off */
}

.countdown-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.countdown-item span {
    font-size: 2.5rem; /* Increased from 2rem */
    font-weight: 700;
    display: block;
    margin-bottom: 8px;
    color: #fff;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    line-height: 1.2; /* Added to improve text spacing */
}

.countdown-item p {
    font-size: 1.1rem; /* Increased from 0.9rem */
    font-weight: 500;
    color: #ddd;
    line-height: 1.2; /* Added to improve text spacing */
}
/* Add this after the countdown-item p styling */
/* Avirat Badge Styles */
.avirat-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 25px auto;
    background-color: rgba(255, 255, 255, 0.15);
    padding: 10px 20px;
    border-radius: 30px;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    max-width: 300px;
}

.avirat-logo {
    height: 100px;
    width: auto;
    margin-right: 10px;
}

.avirat-badge span {
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

/* Make the badge responsive */
@media (max-width: 768px) {
    .avirat-badge {
        padding: 8px 15px;
        max-width: 250px;
    }
    
    .avirat-logo {
        height: 30px;
    }
    
    .avirat-badge span {
        font-size: 0.9rem;
    }
}
/* Highlight items in hero section */
.highlight-container {
    display: flex;
    justify-content: center;
    flex-wrap: nowrap; /* Changed from wrap to nowrap */
    gap: 20px;
    margin-bottom: 35px;
    overflow: hidden; /* Added to prevent overflow */
    white-space: nowrap; /* Keep all content in one line */
}

.highlight-item {
    background: rgba(78, 84, 200, 0.2);
    padding: 10px 20px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(78, 84, 200, 0.3);
    transition: all 0.3s ease;
}

.highlight-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    background: rgba(78, 84, 200, 0.3);
}

.highlight-item i {
    margin-right: 10px;
    font-size: 1.2rem;
    color: #8f94fb;
}

.highlight-item span {
    font-size: 1.1rem;
    font-weight: 500;
}

/* Typing animation */
.typing-text, .typing-text-2, .typing-text-3 {
    position: relative;
    white-space: nowrap;
    border-right: 3px solid #8f94fb;
    overflow: hidden;
}

.typing-text {
    animation: typing 4s steps(25) infinite, blink-caret 0.75s step-end infinite;
}

.typing-text-2 {
    animation: typing 4s steps(30) infinite 1s, blink-caret 0.75s step-end infinite;
}

.typing-text-3 {
    animation: typing 4s steps(20) infinite 2s, blink-caret 0.75s step-end infinite;
}

@keyframes typing {
    0% { width: 0; }
    50% { width: 100%; }
    100% { width: 0; }
}

@keyframes blink-caret {
    from, to { border-color: transparent; }
    50% { border-color: #8f94fb; }
}

/* About Section */
.about {
    background-color: #fff;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-image {
    flex: 1;
    text-align: center;
}

.about-image img {
    max-width: 300px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-text {
    flex: 2;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.05rem;
    color: #555;
}

.about-text span {
    color: #4e54c8;
    font-weight: 600;
}

/* Themes Section */
.themes {
    background-color: #f8f9fa;
}

.themes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.theme-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.theme-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.theme-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #4e54c8, #8f94fb);
    border-radius: 50%;
    color: white;
    font-size: 1.8rem;
}

.theme-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #333;
}

.theme-card p {
    color: #666;
    font-size: 0.95rem;
}

/* Prizes Section */
.prizes {
    background: linear-gradient(135deg, #f5f7fa, #e4e8f0);
}

.prizes-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.prize-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.prize-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.prize-card.first {
    border-top: 5px solid #ffd700;
}

.prize-card.second {
    border-top: 5px solid #c0c0c0;
}

.prize-card.third {
    border-top: 5px solid #cd7f32;
}

.prize-card.participation {
    border-top: 5px solid #4e54c8;
}

.prize-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 50%;
    font-size: 1.8rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.prize-card.first .prize-icon {
    color: #ffd700;
}

.prize-card.second .prize-icon {
    color: #c0c0c0;
}

.prize-card.third .prize-icon {
    color: #cd7f32;
}

.prize-card.participation .prize-icon {
    color: #4e54c8;
}

.prize-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #333;
}

.prize-card p {
    color: #666;
    font-size: 1rem;
    margin-bottom: 15px;
}

.prize-highlight {
    background: linear-gradient(90deg, #4e54c8, #8f94fb);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    display: inline-block;
}

/* Guidelines Section */
.guidelines {
    background-color: #fff;
}

.space{
    margin-top: 6px;
}

.guidelines-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Changed from auto-fit to exactly 2 columns */
    gap: 30px;
}

.guideline-card {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.guideline-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.guideline-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #4e54c8, #8f94fb);
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
}

.guideline-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #333;
}

.guideline-card ul {
    padding-left: 20px;
}

.guideline-card ul li {
    margin-bottom: 10px;
    color: #555;
    position: relative;
    padding-left: 15px;
}

.guideline-card ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #4e54c8;
    font-weight: bold;
}

/* Timeline Section */
.timeline {
    background-color: #f8f9fa;
}

.timeline-container {
    max-width: 800px;
    margin: 0 auto;
}

.timeline-header {
    text-align: center;
    margin-bottom: 30px;
    background: linear-gradient(90deg, #4e54c8, #8f94fb);
    color: white;
    padding: 15px;
    border-radius: 30px;
    box-shadow: 0 5px 15px rgba(78, 84, 200, 0.3);
}

.timeline-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

.timeline-wrapper {
    position: relative;
    padding: 30px 0;
}

.timeline-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, #4e54c8, #8f94fb);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
}

.timeline-dot {
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background-color: #4e54c8;
    border-radius: 50%;
    z-index: 1;
    box-shadow: 0 0 0 4px rgba(78, 84, 200, 0.2);
}

.timeline-content {
    width: 45%;
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: 55%;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 55%;
}

.timeline-content h4 {
    font-size: 1.2rem;
    color: #4e54c8;
    margin-bottom: 10px;
}

.timeline-content p {
    color: #555;
}

/* Sponsors Section */
.sponsors {
    background-color: #fff;
}

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

.sponsor-tier {
    margin-bottom: 50px;
}

.sponsor-tier h3 {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: #333;
    position: relative;
    display: inline-block;
}

.sponsor-tier h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #4e54c8, #8f94fb);
    border-radius: 2px;
}

.sponsor-grid {
    display: grid;
    grid-template-columns: 1fr; /* Changed to 1 column for one sponsor per row */
    gap: 40px; /* Increased gap between sponsors */
    margin-top: 30px;
}

.media-partners {
    grid-template-columns: repeat(3, 1fr); /* Exactly 3 columns for partners with images */
    gap: 30px; /* Increased gap between media partners */
}

.no-image-partners {
    grid-template-columns: repeat(2, 1fr); /* 2 columns for partners without images */
    gap: 30px;
    max-width: 70%; /* Make the row width smaller */
    margin: 30px auto 0; /* Center the row and add top margin */
}

.no-image-partners .sponsor-card {
    padding: 30px; /* Smaller padding for partners without images */
}

.no-image-partners .sponsor-placeholder {
    height: 180px; /* Smaller height for partners without images */
}

.no-image-partners .sponsor-placeholder i {
    font-size: 3.5rem; /* Smaller icon size */
}

/* Make media partners responsive */
@media (max-width: 768px) {
    .media-partners {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on tablets */
    }
}

@media (max-width: 576px) {
    .media-partners {
        grid-template-columns: 1fr; /* Single column on mobile */
    }
}

.sponsor-card {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 50px; /* Increased padding from 40px */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    max-width: 100%;
    margin: 0 auto;
}

.sponsor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.sponsor-image {
    max-width: 100%;
    max-height: 400px; /* Increased height from 200px */
    object-fit: contain;
}

.sponsor-placeholder {
    display: flex;
    max-width: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 400px; /* Increased height from 200px */
    color: #aaa;
}

.sponsor-placeholder i {
    font-size: 5rem; /* Increased from 4rem */
    margin-bottom: 15px;
}

.sponsor-placeholder p {
    font-size: 1.5rem; /* Increased from 1.3rem */
    font-weight: 500;
}

.social-partner-link {
    text-decoration: none;
    color: inherit;
    display: block;
    width: 100%;
    height: 100%;
}

.social-partner-link:hover {
    color: #4e54c8;
}

.social-partner-link .sponsor-placeholder i {
    color: #E1306C; /* Instagram brand color */
    font-size: 2.5rem;
}

/* Problem Statements Section */
.problem-statements {
    background-color: #fff;
}

.problem-content {
    max-width: 900px;
    margin: 0 auto;
}

.problem-category {
    margin-bottom: 40px;
}

.problem-category h3 {
    font-size: 1.5rem;
    color: #4e54c8;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.problem-category h3 i {
    margin-right: 10px;
}

.problem-items {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.problem-item {
    background-color: #f8f9fa;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.problem-question {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.problem-question:hover {
    background-color: #f0f1f7;
}

.problem-question h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.problem-toggle {
    color: #4e54c8;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.problem-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.problem-item.active .problem-answer {
    padding: 0 20px 20px;
    max-height: 1000px;
}

.problem-item.active .problem-toggle i {
    transform: rotate(45deg);
}

/* Detailed Problem Statements Button */
.detailed-problems-btn-container {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 20px;
}

.detailed-problems-btn {
    background: linear-gradient(135deg, #6e8efb, #a777e3);
    color: white;
    font-size: 18px;
    padding: 15px 30px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.detailed-problems-btn i {
    margin-right: 10px;
    font-size: 20px;
}

.detailed-problems-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(0, 0, 0, 0.25);
    background: linear-gradient(135deg, #5d7df9, #9566d9);
}

/* Responsive styles for problem statements */
@media (max-width: 768px) {
    .problem-category h3 {
        font-size: 1.3rem;
    }
    
    .problem-question h4 {
        font-size: 1rem;
    }
    
    .detailed-problems-btn {
        font-size: 16px;
        padding: 12px 25px;
    }
    
    .detailed-problems-btn i {
        font-size: 18px;
    }
}

/* FAQ Section */
.faq {
    background-color: #f8f9fa;
}

.faq-content {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: #fff;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background-color: #f8f9fa;
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
}

.faq-toggle {
    color: #4e54c8;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 20px 20px;
    max-height: 1000px;
}

.faq-item.active .faq-toggle i {
    transform: rotate(45deg);
}

/* Registration Section */
.register {
    background: linear-gradient(135deg, #4e54c8, #8f94fb);
    color: white;
}

.register .section-header h2,
.register .section-header h2 span {
    color: white;
}

.register .underline {
    background-color: white;
}

.register-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.register-text {
    flex: 1;
}

.register-text p {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.register-highlights {
    margin: 30px 0;
}

.register-highlights li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.register-highlights i {
    margin-right: 10px;
    color: #fff;
    font-size: 1.2rem;
}

.register-fee {
    font-size: 1.2rem;
    font-weight: 600;
}

.register-fee span {
    font-size: 1.5rem;
    color: #fff;
}

.register-button-container {
    flex: 1;
    text-align: center;
}

.register-button {
    display: inline-block;
    background-color: white;
    color: #4e54c8;
    padding: 15px 40px;
    border-radius: 30px;
    font-size: 1.2rem;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.register-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.register-deadline {
    font-size: 1rem;
    opacity: 0.9;
}
.team {
    background-color: #f8f9fa;
    padding: 80px 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.team-member {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    padding: 20px;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.member-image {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 5px solid #4e54c8;
    box-shadow: 0 5px 15px rgba(78, 84, 200, 0.3);
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-member:hover .member-image img {
    transform: scale(1.05);
}

.member-info {
    padding: 10px;
}

.member-info h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #333;
}

.member-mobile {
    color: #666;
    font-size: 0.9rem;
}

.member-mobile span {
    font-style: italic;
    color: #999;
}


/* Footer */
.footer {
    background-color: #222;
    color: #fff;
    padding: 70px 0 20px;
}

/* Organizer Statement in Footer */
.organizer-statement {
    text-align: center;
    margin-bottom: 15px;
    font-size: 14px;
    line-height: 1.6;
    color: #e0e0e0;
    padding: 0 15px;
}

@media (max-width: 768px) {
    .organizer-statement {
        font-size: 12px;
    }
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo img {
    height: 60px;
    margin-bottom: 15px;
}

.footer-logo h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
    color: #fff;
}

.footer-logo p {
    color: #aaa;
    font-size: 0.9rem;
}

.footer-links h3,
.footer-contact h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #fff;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h3::after,
.footer-contact h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #4e54c8, #8f94fb);
    border-radius: 2px;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #aaa;
    transition: all 0.3s ease;
}

.footer-links ul li a:hover {
    color: #fff;
    padding-left: 5px;
}

.footer-contact p {
    margin-bottom: 15px;
    color: #aaa;
    display: flex;
    align-items: center;
}

.footer-contact p i {
    margin-right: 10px;
    color: #4e54c8;
}

/* Contact Person Styling */
.contact-person {
    margin-bottom: 15px;
}

.contact-person p {
    margin-bottom: 5px;
}

.contact-role {
    padding-left: 25px;
    font-size: 0.9rem;
    color: #aaa;
    font-style: italic;
}

.social-icons {
    display: flex;
    margin-top: 20px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #333;
    border-radius: 50%;
    margin-right: 10px;
    color: #fff;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: linear-gradient(90deg, #4e54c8, #8f94fb);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    color: #aaa;
    font-size: 0.9rem;
}

/* Improved Responsive Styles */

/* Base responsive adjustments */
html {
    font-size: 16px; /* Base font size for responsive units */
}

/* Responsive images */
.responsive-img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Responsive background images */
@media (max-width: 768px) {
    .hero {
        background-position: center center;
    }
    
    .hero::before {
        background-position: center center;
    }
}

@media (max-width: 1200px) {
    html {
        font-size: 15px;
    }
    
    .container {
        max-width: 95%;
    }
    
    section {
        padding: 60px 0;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
}

/* Tablet Styles */
@media (max-width: 992px) {
    html {
        font-size: 14px;
    }
    
    .themes-grid,
    .prizes-content,
    .guidelines-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .about-image {
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
    }
    
    .about-text {
        width: 100%;
        text-align: center;
    }
    
    .register-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .register-form,
    .register-info {
        width: 100%;
    }
    
    .hero h1 {
        font-size: 3.5rem;
    }
    
    .hero .tagline {
        font-size: 2rem;
    }
    
    .hero .event-details {
        font-size: 1.2rem;
    }
    
    .highlight-container {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        width: 80%;
        margin: 0;
    }
    
    .timeline-wrapper::before {
        left: 0;
    }
    
    .timeline-dot {
        left: 0;
    }
}

/* Mobile Landscape Styles */
@media (max-width: 768px) {
    html {
        font-size: 13px;
    }
    
    .navbar .container {
        padding: 10px 15px;
    }
    
    .logo img {
        height: 40px;
    }
    
    /* Improved Mobile Navigation */
    .nav-links {
        position: fixed;
        top: 70px; /* Match navbar height */
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: #fff;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 30px;
        transition: all 0.3s ease;
        z-index: 999;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        overflow-y: auto;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links li {
        margin: 15px 0;
        width: 80%;
        text-align: center;
    }
    
    .nav-links a {
        display: block;
        padding: 10px;
        font-size: 1.1rem;
    }
    
    .nav-links a.register-btn {
        margin-top: 15px;
        width: 100%;
        text-align: center;
    }
    
    .hamburger {
        display: block;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }
    
    /* Improved section spacing */
    section {
        padding: 50px 0;
    }
    
    /* Responsive grids */
    .themes-grid,
    .prizes-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .theme-card,
    .prize-card {
        max-width: 350px;
        margin: 0 auto;
    }
    
    .guidelines-content {
        grid-template-columns: 1fr; /* Single column on mobile */
    }
    
    /* Improved countdown */
    .countdown-container {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .countdown-item {
        min-width: 70px;
        margin: 5px;
        padding: 15px 10px;
    }
    
    .countdown-item span {
        font-size: 1.5rem;
    }
    
    /* Hero section adjustments */
    .hero {
        height: auto;
        min-height: 100vh;
        padding: 100px 0 50px;
    }
    
    .hero::before {
        background-position: center top;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero .tagline {
        font-size: 1.3rem;
    }
    
    .hero .event-details {
        font-size: 1rem;
    }
    
    .highlight-container {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    
    .highlight-item {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    /* Improved sponsor layout */
    .sponsor-grid {
        gap: 25px;
    }
    
    .sponsor-card {
        padding: 30px;
    }
    
    /* FAQ improvements */
    .faq-item {
        padding: 15px;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        width: 90%;
        margin-left: 30px;
    }
}

/* Mobile Portrait Styles */
@media (max-width: 576px) {
    html {
        font-size: 12px;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .hero {
        padding: 80px 0 40px;
    }
    
    .hero h1 {
        font-size: 2.2rem;
        margin-bottom: 0.5rem;
    }
    
    .hero .tagline {
        font-size: 1.2rem;
        margin-bottom: 20px;
    }
    
    .hero .event-details {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .event-date {
        font-size: 0.9rem;
        padding: 8px 15px;
        margin-bottom: 25px;
    }
    
    .highlight-item {
        padding: 8px 15px;
    }
    
    .highlight-item i {
        font-size: 1rem;
    }
    
    .highlight-item span {
        font-size: 0.9rem;
    }
    
    .cta-button {
        padding: 12px 25px;
        font-size: 1rem;
    }
    
    .countdown-item {
        min-width: 50px;
        padding: 10px 5px;
    }
    
    .countdown-item span {
        font-size: 1.2rem;
    }
    
    .countdown-item p {
        font-size: 0.8rem;
    }
    
    /* Improved social media partners layout */
    .media-partners {
        grid-template-columns: 1fr;
    }
    
    .no-image-partners {
        grid-template-columns: 1fr;
        max-width: 90%;
    }
    
    .theme-card,
    .prize-card,
    .guideline-card,
    .sponsor-card {
        padding: 20px;
    }
    
    .theme-icon,
    .prize-icon,
    .guideline-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    /* Timeline improvements */
    .timeline-content h4 {
        font-size: 1.1rem;
    }
    
    .timeline-content p {
        font-size: 0.9rem;
    }
    
    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        width: calc(100% - 30px);
    }
    
    .register-button {
        padding: 12px 30px;
        font-size: 1.1rem;
    }
}

/* Small Mobile Styles */
@media (max-width: 375px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero .tagline {
        font-size: 1rem;
    }
    
    .countdown-item {
        min-width: 60px;
        padding: 8px 5px;
    }
    
    .countdown-item span {
        font-size: 1.2rem;
    }
    
    .countdown-item p {
        font-size: 0.8rem;
    }
    
    .sponsor-card {
        padding: 20px;
    }
    
    .sponsor-placeholder {
        height: 180px;
    }
}

/* Print styles */
@media print {
    .navbar,
    .cta-button,
    .countdown-container,
    .register-form,
    .footer {
        display: none !important;
    }
    
    body {
        background-color: white;
        color: black;
    }
    
    section {
        page-break-inside: avoid;
        padding: 20px 0;
    }
    
    .hero {
        height: auto;
        min-height: auto;
    }
    
    .hero h1,
    .hero .tagline {
        color: black !important;
        -webkit-text-fill-color: black !important;
    }
    
    a {
        text-decoration: underline;
    }
}

/* Fix for very small devices */
@media (max-width: 320px) {
    .hero h1 {
        font-size: 1.6rem;
    }
    
    .hero .tagline {
        font-size: 0.9rem;
    }
    
    .event-date {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
    
    .cta-button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* Add this media query to handle 100% zoom better */
@media (min-width: 1200px) and (max-width: 1400px) {
    .hero {
        padding-top: 100px;
    }
    
    .hero-content {
        max-width: 800px;
    }
    
    .hero h1 {
        font-size: 4.5rem;
    }
    
    .countdown-item {
        min-width: 90px;
        padding: 15px 10px;
    }
    
    .countdown-item span {
        font-size: 2.2rem;
    }
}

/* Ensure images are responsive */
img {
    max-width: 100%;
    height: auto;
}

/* Improve table responsiveness */
table {
    width: 100%;
    overflow-x: auto;
    display: block;
}

/* Touch feedback styles */
.touch-active {
    opacity: 0.8;
    transform: scale(0.98);
}

/* Improve tap target sizes for mobile */
@media (max-width: 768px) {
    .nav-links a,
    .cta-button,
    .theme-card,
    .prize-card,
    .faq-question,
    .social-partner-link {
        padding: 12px; /* Minimum recommended touch target size */
    }
    
    .hamburger {
        padding: 10px;
    }
    
    .hamburger span {
        margin: 6px 0;
    }
    
    /* Ensure form elements are easily tappable */
    input, 
    select, 
    textarea, 
    button {
        min-height: 44px;
        font-size: 16px; /* Prevents iOS zoom on focus */
    }
}
@media (max-width: 992px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .member-image {
        width: 150px;
        height: 150px;
    }
}

@media (max-width: 576px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .member-image {
        width: 180px;
        height: 180px;
    }
}