:root {
    --primary-color: #b80b3c;
    --primary-dark: #8a0829;
    --primary-light: #e8c5d0;
    --secondary-color: #6c757d;
    --accent-color: #2c3e50;
    --text-dark: #2c3e50;
    --text-light: #6c757d;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #dee2e6;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.15);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--bg-white);
}

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

/* Header Styles */
.header {
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    background: var(--primary-color);
    color: white;
    padding: 8px 0;
    font-size: 14px;
}

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

.contact-info {
    display: flex;
    gap: 20px;
}

.contact-info span,
.contact-info .contact-phone {
    display: flex;
    align-items: center;
    gap: 5px;
    color: inherit;
    text-decoration: none;
}

.contact-info .contact-phone:hover {
    color: var(--primary-light);
    text-decoration: underline;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: white;
    font-size: 16px;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--primary-light);
}

.navbar {
    padding: 20px 0;
}

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

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

.logo-img {
    height: 60px;
    max-width: 250px;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 35px;
}

.nav-menu > li {
    position: relative;
}

.nav-menu a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    padding: 5px 0;
    position: relative;
    display: block;
}

.nav-menu > li > a {
    padding: 5px 0;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

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

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
}

/* Dropdown Menu */
.dropdown-item {
    position: relative;
}

.dropdown-arrow {
    font-size: 10px;
    margin-left: 5px;
    display: inline-block;
    transition: transform 0.2s ease;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 250px;
    background: white;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border-radius: 6px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-5px);
    transition: all 0.2s ease;
    margin-top: 10px;
    z-index: 1000;
    list-style: none;
    padding: 8px 0;
}

.dropdown-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 14px;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.2s ease;
}

.dropdown-menu a:hover {
    background: var(--bg-light);
    color: var(--primary-color);
    padding-left: 25px;
}

.dropdown-menu li:last-child a {
    border-bottom: none;
}

/* Hero Section with Slider */
.hero {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.0);
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    text-align: center;
    width: 90%;
    max-width: 1200px;
    color: white;
}

.hero-content-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    text-align: center;
    width: 90%;
    max-width: 1200px;
    color: white;
    padding: 40px;
}

.hero-content-overlay h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-content-overlay .subtitle {
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 20px;
    opacity: 0.95;
}

.hero-content-overlay .description {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.slider-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 5;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.slider-dot.active {
    background: white;
    width: 30px;
    border-radius: 6px;
}

.slider-arrows {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
    z-index: 5;
    pointer-events: none;
}

.slider-arrow {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    color: white;
    font-size: 20px;
    pointer-events: all;
}

.slider-arrow:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: white;
}

.hero h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
    animation: fadeInUp 0.8s ease;
}

.hero .subtitle {
    font-size: 24px;
    margin-bottom: 30px;
    color: white;
    opacity: 0.95;
    animation: fadeInUp 1s ease;
}

.hero .description {
    font-size: 18px;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: white;
    opacity: 0.9;
    animation: fadeInUp 1.2s ease;
}

.btn-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    animation: fadeInUp 1.4s ease;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    text-align: center;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

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

/* Stats Section */
.stats {
    padding: 80px 0;
    background: var(--bg-light);
}

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

.stat-item {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

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

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 18px;
    color: var(--text-light);
    font-weight: 500;
}

/* About Section */
.about {
    padding: 80px 0;
}

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

.section-header h2 {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.section-header p {
    font-size: 18px;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 60px 0;
}

.about-text h3 {
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.about-text p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.feature-item {
    display: flex;
    align-items: start;
    gap: 12px;
}

.feature-icon {
    width: 24px;
    height: 24px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
    margin-top: 2px;
}

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

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.about-badge {
    position: absolute;
    top: 30px;
    right: 30px;
    background: var(--primary-color);
    color: white;
    padding: 15px 25px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
}

/* Conference Section */
.conferences {
    padding: 80px 0;
    background: var(--bg-light);
}

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

.conference-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

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

.conference-image {
    position: relative;
    height: 200px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
}

.conference-year {
    font-size: 64px;
    font-weight: 700;
    color: white;
    opacity: 0.9;
}

.conference-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: white;
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.conference-content {
    padding: 30px;
}

.conference-content h3 {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.conference-meta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    font-size: 14px;
}

.conference-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.conference-link:hover {
    gap: 12px;
    color: var(--primary-dark);
}

/* Speakers Section */
.speakers {
    padding: 80px 0;
}

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

.speaker-card {
    text-align: center;
    transition: var(--transition);
}

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

.speaker-image {
    width: 200px;
    height: 200px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.speaker-card:hover .speaker-image {
    box-shadow: var(--shadow-lg);
}

.speaker-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.speaker-name {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.speaker-title {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 3px;
}

.speaker-company {
    font-size: 13px;
    color: var(--primary-color);
    font-weight: 500;
}

/* Sponsors Section */
.sponsors-section {
    background: var(--bg-light);
    padding: 65px 0;
    overflow: hidden;
}

.sponsors-wrapper {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    cursor: grab;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.sponsors-wrapper::-webkit-scrollbar {
    display: none;
}

.sponsors-wrapper:active {
    cursor: grabbing;
}

.sponsors-track {
    display: flex;
    animation: sponsorScroll 30s linear infinite;
    gap: 60px;
    align-items: center;
    width: max-content;
    will-change: transform;
}

.sponsor-item {
    flex-shrink: 0;
    width: 160px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.sponsor-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.7);
    transition: filter 0.3s ease;
}

.sponsor-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.sponsor-item:hover img {
    filter: grayscale(0%) opacity(1);
}

@keyframes sponsorScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.sponsors-track:hover {
    animation-play-state: paused;
}

@media (max-width: 768px) {
    .sponsors-section {
        padding: 40px 0;
    }
    
    .sponsors-track {
        gap: 25px;
        animation: sponsorScroll 20s linear infinite;
    }
    
    .sponsor-item {
        width: 140px;
        height: 70px;
        padding: 15px;
        min-width: 140px;
    }
    
    .sponsor-item img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
    }
}

@media (max-width: 480px) {
    .sponsors-section {
        padding: 30px 0;
    }
    
    .sponsors-wrapper {
        padding: 0 10px;
    }
    
    .sponsors-track {
        gap: 20px;
        animation: sponsorScroll 15s linear infinite;
    }
    
    .sponsor-item {
        width: 120px;
        height: 60px;
        padding: 12px;
        min-width: 120px;
        border-radius: 8px;
    }
}

/* CTA Section */
.cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    text-align: center;
}

.cta h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.cta p {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.95;
}

/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    padding: 60px 0 30px;
}

.footer-umbrella {
    text-align: center;
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: center;
}

.umbrella-logo {
    margin: 0;
}

.umbrella-logo img {
    height: 80px;
    transition: transform 0.3s ease;
}

.footer-brand {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 40px;
}

.eflatun-link {
    color: rgba(255,255,255,0.4);
    font-size: 14px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    position: relative;
    user-select: none;
}

/* Protection against removal attempts */
.eflatun-link::before {
    content: '';
    position: absolute;
    inset: -5px;
    pointer-events: none;
}

.footer-bottom::after {
    content: "/* Developer credits - License required */";
    position: absolute;
    left: -9999px;
    opacity: 0;
    font-size: 0;
}

.eflatun-link:hover {
    color: white;
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

.umbrella-logo a:hover img {
    transform: scale(1.05);
}

.umbrella-text {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    font-weight: 500;
}

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

.footer-column h3 {
    margin-bottom: 20px;
    color: white;
    opacity: 0.95;
}

.footer-column p {
    line-height: 1.8;
    opacity: 0.9;
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: white;
    text-decoration: none;
    opacity: 0.9;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
    color: var(--primary-color);
}

.footer-contact div {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    text-align: center;
    opacity: 0.8;
}

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

/* Responsive */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hero h2 {
        font-size: 32px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .btn-group {
        flex-direction: column;
        align-items: stretch;
    }
}

/* Mobile Menu Styles */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    gap: 4px;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background-color: var(--text-dark);
    transition: var(--transition);
    transform-origin: center;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex !important;
    }
    
    .nav-menu {
        display: none;
        position: fixed;
        top: 140px;
        left: 0;
        width: 100%;
        background: var(--bg-white);
        flex-direction: column;
        box-shadow: var(--shadow-lg);
        z-index: 999;
        padding: 10px 0;
    }
    
    .nav-menu.active {
        display: flex !important;
    }
    
    .nav-menu > li {
        width: 100%;
        border-bottom: 1px solid rgba(0,0,0,0.05);
        margin: 0;
    }
    
    .nav-menu > li:last-child {
        border-bottom: none;
    }
    
    .nav-menu > li > a {
        display: block;
        padding: 6px 20px;
        font-size: 16px;
    }
    
    .dropdown-menu {
        position: static;
        width: 100%;
        background: var(--bg-light);
        box-shadow: none;
        border-radius: 0;
        padding: 0;
        margin: 0;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
    }
    
    /* Mobile dropdown toggle */
    .dropdown-item > a {
        position: relative;
        display: flex;
        justify-content: space-between;
        align-items: center;
        cursor: pointer;
        -webkit-tap-highlight-color: rgba(0,0,0,0.1);
    }
    
    .dropdown-item.active .dropdown-menu {
        display: block;
    }
    
    .dropdown-item.active .dropdown-arrow {
        transform: rotate(180deg);
    }
    
    .dropdown-menu li a {
        padding: 6px 40px;
        font-size: 14px;
        border-bottom: 1px solid rgba(0,0,0,0.05);
        min-height: 40px;
        display: flex;
        align-items: center;
        -webkit-tap-highlight-color: rgba(0,0,0,0.1);
    }
    
    .dropdown-arrow {
        float: right;
        transition: transform 0.3s ease;
    }
    
    /* Better touch targets */
    .nav-menu li a {
        min-height: 40px;
        display: flex;
        align-items: center;
        -webkit-tap-highlight-color: rgba(0,0,0,0.1);
        touch-action: manipulation;
    }
}