/* ========================================
   RESET E BASE STYLES
======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

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

/* ========================================
   HEADER & NAVIGATION
======================================== */
header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo Styles */
.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.logo h1 {
    color: #512bd4;
    font-size: 1.5rem;
    margin: 0;
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #512bd4;
}

/* ========================================
   HERO SECTION
======================================== */
.hero {
    background: linear-gradient(135deg, #512bd4 0%, #6f42c1 100%);
    color: white;
    padding: 150px 0 100px;
    text-align: center;
    margin-top: 80px;
}

.hero-logo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    border: 4px solid rgba(255,255,255,0.2);
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========================================
   BUTTONS
======================================== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.btn-primary {
    background: #fff;
    color: #512bd4;
}

.btn-primary:hover {
    background: transparent;
    color: #fff;
    border-color: #fff;
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border-color: #fff;
}

.btn-secondary:hover {
    background: #fff;
    color: #512bd4;
}

.btn-large {
    padding: 15px 40px;
    font-size: 1.1rem;
}

/* ========================================
   ABOUT SECTION
======================================== */
.about {
    padding: 100px 0;
    background: #f8f9fa;
}

.about h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #512bd4;
}

.about-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text {
    font-size: 1.1rem;
}

.about-text p {
    margin-bottom: 1.5rem;
}

.about-text ul {
    list-style: none;
    margin-top: 2rem;
}

.about-text li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.about-text li i {
    color: #28a745;
    margin-right: 10px;
}

.about-stats {
    display: grid;
    gap: 2rem;
}

.stat-item {
    text-align: center;
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.stat-item h3 {
    font-size: 2.5rem;
    color: #512bd4;
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: #666;
    font-weight: 600;
}

/* ========================================
   FEATURED EVENT SECTION
======================================== */
.featured-event {
    padding: 100px 0;
    background: white;
}

.featured-event h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #512bd4;
}

.event-card {
    background: linear-gradient(135deg, #512bd4 0%, #6f42c1 100%);
    color: white;
    border-radius: 15px;
    padding: 3rem;
    box-shadow: 0 20px 40px rgba(81, 43, 212, 0.3);
}

.event-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.event-header h3 {
    font-size: 2rem;
}

.event-date {
    background: rgba(255,255,255,0.2);
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
}

.event-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.highlight {
    text-align: center;
}

.highlight i {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #ffd700;
}

.highlight h4 {
    margin-bottom: 0.5rem;
}

.event-topics {
    margin: 2rem 0;
}

.topics-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
}

.topic-tag {
    background: rgba(255,255,255,0.2);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* ========================================
   TECHNOLOGIES SECTION
======================================== */
.technologies {
    padding: 100px 0;
    background: #f8f9fa;
}

.technologies h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #512bd4;
}

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

.tech-item {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.tech-item:hover {
    transform: translateY(-5px);
}

.tech-item i {
    font-size: 3rem;
    color: #512bd4;
    margin-bottom: 1rem;
}

.tech-item h3 {
    margin-bottom: 1rem;
    color: #333;
}

.tech-item p {
    color: #666;
}

/* ========================================
   CONTACT SECTION
======================================== */
.contact {
    padding: 100px 0;
    background: #512bd4;
    color: white;
    text-align: center;
}

.contact h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact p {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.contact-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.1);
    color: white;
    padding: 15px 25px;
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s;
    font-weight: 600;
}

.contact-btn:hover {
    background: white;
    color: #512bd4;
    transform: translateY(-3px);
}

.contact-btn i {
    font-size: 1.2rem;
}

/* ========================================
   FOOTER
======================================== */
footer {
    background: #333;
    color: white;
    padding: 2rem 0;
    text-align: center;
}

footer p {
    margin-bottom: 0.5rem;
}

/* ========================================
   RESPONSIVE DESIGN
======================================== */
@media (max-width: 768px) {
    .logo-img {
        width: 40px;
        height: 40px;
    }
    
    .logo h1 {
        font-size: 1.2rem;
    }
    
    .hero-logo {
        width: 100px;
        height: 100px;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .event-header {
        flex-direction: column;
        gap: 1rem;
    }
    
    .event-highlights {
        grid-template-columns: 1fr;
    }
    
    .contact-links {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        display: none;
    }
    
    .logo-img {
        width: 45px;
        height: 45px;
    }
    
    .hero {
        padding: 120px 0 80px;
    }
    
    .about, .featured-event, .technologies, .contact {
        padding: 60px 0;
    }
    
    .event-card {
        padding: 2rem;
    }
    
    .topics-grid {
        justify-content: center;
    }
}

/* ================================
   ANIMATIONS & EFFECTS
================================ */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scroll animations */
.about, .featured-event, .technologies, .contact {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease;
}

.show {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* Navbar shadow when scrolling */
header.scrolled {
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  transition: box-shadow 0.3s ease;
}
.legal {
    background-color: #f9f9f9;
    border-top: 1px solid #ddd;
    padding: 30px 0;
}

.legal a {
    color: #512bd4;
    text-decoration: none;
}

.legal a:hover {
    text-decoration: underline;
}
/* End of style.css */