/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #388636;
    --secondary-color: #32523b;
    --dark-color: #223645;
    --light-color: #f4f4f4;
    --text-color: #424242;
    --text-light: #797979;
    --white: #ffffff;
    --black: #000000;
    --border-color: #c6d0e9;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Jost', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col-md-6 {
    width: 50%;
    padding: 0 15px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 15px;
}

.highlight {
    color: var(--primary-color);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 30px;
    text-align: center;
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 40px;
    text-align: center;
}

/* Header Styles */
.ts-header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.header-container {
    padding: 15px 0;
}

.header-middle {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    max-height: 60px;
    width: auto;
}

/* Navigation */
.main-menu ul.menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.main-menu ul.menu > li {
    position: relative;
}

.main-menu ul.menu > li > a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    text-transform: capitalize;
    padding: 10px 0;
    position: relative;
    transition: var(--transition);
}

.main-menu ul.menu > li > a:hover {
    color: var(--primary-color);
}

.main-menu ul.menu > li.menu-item-has-children > a::after {
    content: '\f107';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-left: 5px;
}

.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    min-width: 200px;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 100;
}

.menu-item-has-children:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sub-menu li {
    list-style: none;
}

.sub-menu li a {
    display: block;
    padding: 10px 20px;
    color: var(--text-color);
    text-decoration: none;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.sub-menu li a:hover {
    background-color: var(--light-color);
    color: var(--primary-color);
}

/* Hero Section */
.hero-section {
    height: 100vh;
    overflow: hidden;
    margin-top: 90px;
}

.hero-section video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* About Section */
.about-section {
    padding: 100px 0;
}

.overview h3 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    color: var(--text-light);
}

.info-box {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-top: 30px;
}

.info-box .icon {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.info-box .content h4 {
    margin-bottom: 5px;
}

.image-gallery {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.image-gallery img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.image-gallery img:hover {
    transform: translateY(-5px);
}

/* Stats Section */
.stats-section {
    background-color: var(--dark-color);
    color: var(--white);
    padding: 80px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item {
    padding: 20px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Elementor Counter Styles */
.elementor-counter {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.elementor-counter-number-wrapper {
    display: flex;
    align-items: baseline;
    justify-content: center;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1;
}

.elementor-counter-number {
    display: inline-block;
}

.elementor-counter-number-suffix {
    display: inline-block;
    margin-left: 2px;
    font-size: 2rem;
}

.elementor-counter-title {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 10px;
}

/* Competitions Section */
.competitions-section {
    padding: 100px 0;
    background-color: var(--light-color);
}

.competitions-list ul {
    list-style: none;
    column-count: 2;
    column-gap: 40px;
}

.competitions-list li {
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
    break-inside: avoid;
}

.competitions-list li i {
    color: var(--primary-color);
    position: absolute;
    left: 0;
    top: 5px;
}

.text-center {
    text-align: center;
    margin-top: 50px;
}

/* Volunteer Section */
.volunteer-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    text-align: center;
}

.volunteer-section .section-title {
    color: var(--white);
}

.animated-headline {
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.rotate-text {
    color: #ffd700;
    position: relative;
    display: inline-block;
}

/* Speakers Section */
.speakers-section {
    padding: 100px 0;
}

.speakers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.speaker-card {
    text-align: center;
}

.speaker-card img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 5px solid var(--light-color);
}

.speaker-card h4 {
    margin-bottom: 5px;
}

.speaker-card p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Partners Section */
.partners-section {
    padding: 80px 0;
    background-color: var(--light-color);
}

.partners-slider {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 50px;
}

.partner-logo {
    flex: 0 0 calc(16.666% - 40px);
    text-align: center;
}

.partner-logo img {
    max-width: 100%;
    height: auto;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--transition);
}

.partner-logo img:hover {
    filter: grayscale(0);
    opacity: 1;
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-logo {
    text-align: center;
    margin-bottom: 30px;
}

.footer-logo img {
    max-height: 60px;
}

.footer-text {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--white);
    color: var(--dark-color);
    border-radius: 50%;
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-menu {
    margin-bottom: 40px;
}

.footer-menu ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    list-style: none;
    gap: 30px;
}

.footer-menu a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.footer-menu a:hover {
    color: var(--primary-color);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn:hover {
    background-color: var(--secondary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-primary {
    background-color: var(--primary-color);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--white);
}

/* Back to Top */
.scroll-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99;
}

.scroll-button a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: var(--secondary-color);
    color: var(--white);
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.2rem;
    transition: var(--transition);
}

.scroll-button a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .speakers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .col-md-6 {
        width: 100%;
        margin-bottom: 30px;
    }
    
    .main-menu ul.menu {
        flex-direction: column;
        gap: 10px;
    }
    
    .hero-section {
        height: 60vh;
        margin-top: 120px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .competitions-list ul {
        column-count: 1;
    }
    
    .speakers-grid {
        grid-template-columns: 1fr;
    }
    
    .partners-slider {
        gap: 20px;
    }
    
    .partner-logo {
        flex: 0 0 calc(33.333% - 20px);
    }
    
    .footer-menu ul {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}