img {
    pointer-events: none;
}

html {
    scroll-behavior: smooth;
}

.lazy-img {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.lazy-img.loaded {
    opacity: 1;
}


body {
    font-family: 'Cairo', sans-serif;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    background: #f9f9f9;
    color: #333;
    line-height: 1.6;
}

.navbar {
    position: sticky;
    z-index: 1000;
    top: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: white;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.nav-links {
    display: flex;
    gap: 1rem;
}

.nav-links a {
    font-weight: 700;
    text-decoration: none;
    color: #EDA135;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

.nav-links a:hover {
    background-color: #efe7d9;
}

.hero {
    font-weight: 800;
    background-color: #007E7A;
    color: #EDA135;
    text-align: center;
    padding: 2rem;
}

.hero h1,
.hero p,
.hero img {
    display: block;
    margin: 10px auto;
}

.hero h1 {
    width: 330px;
    border-radius: 5px;
    margin-bottom: 0.5rem;
}

.hero img {
    width: 100%;
    height: auto;
}

@media (min-width: 768px) {
    .hero img {
        height: 200px;
        width: auto;
        max-width: 100%;
        object-fit: cover;
        margin: 1rem auto;
    }
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    background: none;
    border: none;
    color: #007E7A;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        background-color: white;
        position: absolute;
        top: 85px;
        left: 0;
        right: 0;
        padding: 1.5rem 2.5rem;
        border-top: 1px solid #eee;
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }
}

.logo:hover {
    transform: scale(1.03);
    transition: transform 0.5s ease;
}

section {
    padding: 2rem;
    max-width: 900px;
    margin: auto;
}

h2 {
    font-weight: 900;
    font-size: 1.7rem;
    color: #84BA57;
    margin-top: 0.5rem;
}

.agenda,
.teams,
.sponsers,
.contact-form,
.organizer,
.spekers {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

form input,
form textarea {
    width: 90%;
    padding: 0.8rem;
    margin: 0.5rem 0;
    border-radius: 5px;
    border: 1px solid #ccc;
}

form button {
    font-weight: 800;
    background: #EDA135;
    color: white;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
    justify-items: center;
}

.team-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 1.3rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.team-card:hover {
    transform: scale(1.05);
}

.team-card img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin-bottom: 0.3rem;
}

footer {
    margin-bottom: 40px;
}

.speakers-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.speaker-card {
    width: 200px;
    margin: 15px 20px;
    text-align: center;
}

@media (max-width: 768px) {
    .speaker-card {
        width: 65%;
    }
}

@media (max-width: 480px) {
    .speaker-card {
        width: 130%;
    }
}

.speaker-card:hover {
    transform: translateY(-5px);
}

.speaker-card img {
    margin-top: 15px;
    border-radius: 10px;
    width: 110%;
    padding: 5px 2px;
    height: 240px;
    object-fit: cover;
    border-bottom: 3px solid #ffa200d0;
}

.speaker-info {
    padding: 15px;
}

.speaker-info h3 {
    margin: 10px 0 5px;
    font-size: 20px;
    color: #005b96;
}

.speaker-info p {
    margin: 0;
    font-size: 16px;
    color: #666;
}

.eventlogo {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 0.3rem;
}

.about-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-bottom: 0.7rem;
}

@media (max-width: 600px) {

    .about-header {
        flex-direction: column;
    }
}

.hero {
    position: relative;
    background:
        linear-gradient(rgba(255, 255, 255, 0.383), rgba(255, 255, 255, 0.674)),
        url('https://metras.co/wp-content/uploads/2018/08/IMG_6971.jpg') center/cover no-repeat;
    color: #EDA135;
    padding: 4rem 1rem;
    text-align: center;
}

.logo-overlay {
    margin-top: 0px;
    left: 10px;
    width: 60px;
    height: auto;
    z-index: 2;
    background-color: rgba(255, 9, 9, 0.6);
    padding: 5px;
}

@media (max-width: 600px) {
    .logo-overlay {
        width: 50px;
        left: 5px;
    }
}

@keyframes slideInFromLeft {
    0% {
        opacity: 0;
        transform: translateX(-100px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.logo-anim {
    opacity: 0;
    animation: slideInFromLeft 0.9s ease-out forwards;
}

.accordion-item {
    border: 1px solid #ddd;
    border-radius: 6px;
    margin-bottom: 10px;
    overflow: hidden;
}

.accordion-header {
    background-color: #f9f9f9;
    cursor: pointer;
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-header:hover {
    background-color: #eee;
}

.accordion-time {
    font-weight: bold;
    color: #333;
}

.accordion-title {
    flex: 1;
    margin: 0 10px;
    text-align: right;
}

.accordion-icon {
    font-size: 18px;
    transition: transform 0.2s;
}

.accordion-body {
    display: none;
    padding: 10px 15px;
    background-color: #fff;
    border-top: 1px solid #ddd;
    color: #444;
}

.accordion-item.active .accordion-body {
    display: block;
}

.accordion-item.active .accordion-icon {
    transform: rotate(45deg);
}