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

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

.container {
    max-width: 100%;
    margin: 0;
    padding: 0 40px;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 600;
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #EB8822, #946431);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #946431, #EB8822);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 0, 0, 0.3);
}

.btn-secondary {
    background: #EB8822;
    color: white;
}

.btn-secondary:hover {
    background: #946431;
    transform: translateY(-2px);
}

/* Header */
.header {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 1.1rem;
}

.logo i {
    color: #EB8822;
    font-size: 1.5rem;
}

.nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

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

.nav a:hover {
    color: #EB8822;
}

/* Dropdown Menu Styles */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.dropdown-toggle i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-toggle i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    border-radius: 5px;
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

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

.dropdown-item {
    display: block;
    padding: 0.7rem 1.5rem;
    color: #333;
    text-decoration: none;
    transition: background 0.3s ease;
}

.dropdown-item:hover {
    background: #f8f9fa;
    color: #EB8822;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    color: white;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/imgs/hero-s.jpg');
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(235, 136, 34, 0.9) 0%, rgba(165, 42, 42, 0.8) 50%, rgba(0, 0, 0, 0.7) 100%);
    z-index: 2;
}

.hero-container {
    margin: 0;
    text-align: left;
}

.hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.hero-text {
    max-width: 600px;
    margin-left: 0;
    text-align: left;
    align-self: flex-start;
    float: left;
}

.arabic-text {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.english-text {
    font-size: 1rem;
    margin-bottom: 2rem;
    opacity: 0.8;
    font-weight: 300;
}

.hero h1 {
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.location {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.dates {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.date-numbers {
    font-size: 2rem;
    font-weight: 700;
}

.flag {
    font-size: 2rem;
}

.tagline {
    font-size: 2.5rem;
    font-weight: 700;
    color: #FFD700;
}

/* Hero text styling enhancements */
.hero h1 {
    font-size: 3.8rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.tagline {
    font-size: 2.8rem;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
}

/* About Section */
.about {
    background: white;
    padding: 5rem 0;
    text-align: left;
}

.about p {
    max-width: 100%;
    margin: 0 0 3rem 0;
    font-size: 1.2rem;
    line-height: 1.8;
}

.video-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.video-thumbnail {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 0;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease;
    overflow: hidden;
}

.video-thumbnail-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 15px 15px 0 0;
}

.video-thumbnail:hover {
    transform: translateY(-5px);
}

.play-button {
    width: 80px;
    height: 80px;
    background: #EB8822;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 2rem;
    transition: all 0.3s ease;
    z-index: 2;
}

.play-button:hover {
    background: #946431;
    transform: scale(1.1);
}

.video-info {
    padding: 1.5rem;
}

.video-info h4 {
    color: #EB8822;
    margin-bottom: 0.5rem;
}

.live-banner-image {
    margin-bottom: 2rem;
    width: 100%;
}

.full-width-banner {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Photo Gallery Section */
.photo-gallery {
    background: white;
    padding: 5rem 0;
}

.gallery-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.gallery-img, .venue-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.gallery-text {
    text-align: center;
}

.gallery-text h3 {
    margin-bottom: 2rem;
    color: #EB8822;
}

/* Program Section */
.program {
    background: #FFF5EE;
    padding: 5rem 0;
    text-align: center;
}

.program h2 {
    color: #EB8822;
}

/* Statistics Section */
.statistics {
    background: #FFF5EE;
    padding: 5rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 2rem;
}

.stat-item i {
    font-size: 3rem;
    color: #EB8822;
    margin-bottom: 1rem;
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: #EB8822;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 500;
    color: #666;
}

/* Hotels Section */
.hotels {
    background: #fff5ee;
    padding: 5rem 0;
}

.hotels-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hotels-image {
    flex: 1;
    min-width: 300px;
}

.hotels-text {
    flex: 1;
    min-width: 300px;
}

.hotels-img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.hotels h3 {
    color: #EB8822;
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.hotels p {
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Accommodation Section */
.accommodation {
    background: #FFF5EE;
    padding: 5rem 0;
}

.accommodation-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hotel-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(45deg, #f0f0f0, #e0e0e0);
    border-radius: 15px;
    position: relative;
}

.hotel-placeholder::before {
    content: '';
    position: absolute;
    top: 10%;
    left: 10%;
    width: 80%;
    height: 80%;
    background: linear-gradient(45deg, #ddd, #ccc);
    border-radius: 10px;
}

.accommodation-text h3 {
    color: #EB8822;
    margin-bottom: 1.5rem;
}

.accommodation-text p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Organizers Section */
.organizers {
    background: #FFF5EE;
    padding: 5rem 0;
    text-align: center;
}

.organizers h2 {
    color: #EB8822;
    margin-bottom: 3rem;
}

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

.organizer {
    padding: 2rem;
}

.organizer-logo-img {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    border-radius: 15px;
    object-fit: contain;
    background: white;
    padding: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.organizer h4 {
    color: #EB8822;
}

/* Delegates Section */
.delegates {
    background: #EB8822; /* Primary color */
    padding: 5rem 0;
    color: #333;
    text-align: center;
}

.delegates h2 {
    margin-bottom: 3rem;
    color: white;
}

.carousel {
    position: relative;
    margin-bottom: 2rem;
    width: 100%;
    display: flex;
    justify-content: center;
    overflow: visible;
    padding: 0 20px;
}

.carousel-container {
    display: flex;
    gap: 1rem;
    overflow: hidden;
    scroll-behavior: smooth;
    padding: 1rem 0;
    justify-content: center;
    margin: 0 auto;
    max-width: 1100px;
    padding-left: 40px;
    padding-right: 40px;
    position: relative;
}

.delegate-card {
    min-width: 220px;
    max-width: 250px;
    background: rgba(255, 255, 255, 1);
    padding: 0 0 1.5rem 0;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    margin: 0 5px;
    overflow: hidden;
}

.delegate-photo-img {
    width: 100%;
    height: 250px;
    border-radius: 0;
    object-fit: cover;
    margin: 0;
    border: none;
}

.delegate-info {
    padding: 1rem;
}

.delegate-info h4 {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
    color: #333;
}

.delegate-info p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    border: none;
    color: #333;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 5;
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 1);
}

.carousel-btn.prev {
    left: 5px;
    z-index: 10;
}

.carousel-btn.next {
    right: 5px;
    z-index: 10;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: white;
}

/* Moderators Section */
.moderators {
    background: #FFF5EE;
    padding: 5rem 0;
    text-align: center;
}

.moderators h2 {
    color: #EB8822;
    margin-bottom: 3rem;
}

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

.moderator-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.moderator-photo-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1.5rem;
    border: 3px solid #EB8822;
}

.moderator-card h4 {
    color: #EB8822;
    margin-bottom: 0.5rem;
}

/* Plenary Speakers Section */
.plenary-speakers {
    background: #FFF5EE;
    padding: 5rem 0;
    text-align: center;
}

.plenary-speakers h2 {
    color: #EB8822;
    margin-bottom: 3rem;
}

.speaker-card {
    min-width: 250px;
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.speaker-photo-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1.5rem;
    border: 3px solid #EB8822;
}

.speaker-card h4 {
    color: #EB8822;
    margin-bottom: 0.5rem;
}

/* Declaration Section */
.declaration {
    background: #FFF5EE;
    padding: 5rem 0;
    text-align: center;
}

.declaration h2 {
    color: #EB8822;
    margin-bottom: 2rem;
}

/* Partners Section */
.partners {
    background: #FFF5EE;
    padding: 5rem 0;
    text-align: center;
}

.partners h2 {
    color: #EB8822;
    margin-bottom: 3rem;
}

.partner-card {
    min-width: 250px;
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.partner-logo {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    border-radius: 15px;
    background: linear-gradient(45deg, #f0f0f0, #e0e0e0);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #EB8822;
}

.partner-card h4 {
    color: #EB8822;
    font-size: 1rem;
}

/* Sponsors Sections */
.sponsors {
    background: #FFF5EE;
    padding: 5rem 0;
    text-align: center;
}

.sponsors h2 {
    color: #EB8822;
    margin-bottom: 3rem;
}

.sponsor-card {
    min-width: 250px;
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.sponsor-logo {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    border-radius: 15px;
    background: linear-gradient(45deg, #f0f0f0, #e0e0e0);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #EB8822;
}

.sponsor-card h4 {
    color: #EB8822;
    font-size: 1rem;
}

/* Headphones Section */
.headphones {
    background: #FFF5EE;
    padding: 5rem 0;
}

.headphones-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.headphones-icon {
    text-align: center;
}

.headphones-icon i {
    font-size: 8rem;
    color: #EB8822;
}

.headphones-text p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #666;
}

/* Themes Section */
.themes {
    background: white;
    padding: 5rem 0;
    text-align: center;
}

.themes h2 {
    color: #EB8822;
    margin-bottom: 3rem;
}

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

.theme-video {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.theme-video:hover {
    transform: translateY(-5px);
}

.theme-video .video-thumbnail {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 1rem;
    position: relative;
}

.theme-video .play-button {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
}

.theme-video h4 {
    color: #EB8822;
}

/* News Section */
.news {
    background: white;
    padding: 5rem 0;
}

.news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.news-header h2 {
    color: #EB8822;
    margin-bottom: 0;
}

.news-controls {
    display: flex;
    gap: 1rem;
}

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

.news-card {
    background: #f8f9fa;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

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

.news-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-card h4 {
    padding: 1.5rem 1.5rem 1rem;
    color: #EB8822;
}

.news-card .btn {
    margin: 0 1.5rem 1.5rem;
}

/* Footer */
.footer {
    background: #000;
    color: white;
    padding: 3rem 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    align-items: center;
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-links a {
    color: white;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #EB8822;
}

.copyright p {
    margin-bottom: 0;
    opacity: 0.8;
}

.app-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.app-links a {
    color: white;
    font-size: 2rem;
    transition: color 0.3s ease;
}

.app-links a:hover {
    color: #EB8822;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .header .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero-content {
        padding: 0;
        justify-content: flex-start;
    }
    
    .hero-text {
        margin-left: 0;
        text-align: left;
        float: left;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .tagline {
        font-size: 2rem;
    }
    
    .gallery-content,
    .accommodation-content,
    .hotels-content,
    .headphones-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .organizers-grid,
    .moderators-grid,
    .themes-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .carousel-btn {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .tagline {
        font-size: 1.5rem;
    }
    
    .hero-text {
        margin-left: 0;
        text-align: left !important;
        float: left;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .video-section {
        grid-template-columns: 1fr;
    }
}
