/* ==========================================
   NIGER STATE 2025 TRADE FAIR - PREMIUM DESIGN
   ========================================== */

/* Modern Design System Variables */
:root {
    /* Primary Color Palette - Rich Navy & Gold Theme */
    --primary-color: #1a365d;
    --primary-light: #2c5282;
    --primary-dark: #0f2340;
    --secondary-color: #c9a227;
    --secondary-light: #e8c547;
    --accent-color: #38b2ac;
    --accent-light: #4fd1c5;

    /* Text Colors */
    --text-color: #2d3748;
    --text-light: #718096;
    --light-text: #ffffff;

    /* Background Colors */
    --background-light: #f7fafc;
    --background-white: #ffffff;
    --background-dark: #1a202c;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #1a365d 0%, #2c5282 50%, #1a365d 100%);
    --gradient-gold: linear-gradient(135deg, #c9a227 0%, #e8c547 50%, #c9a227 100%);
    --gradient-hero: linear-gradient(135deg, rgba(26, 54, 93, 0.9) 0%, rgba(44, 82, 130, 0.8) 100%);
    --gradient-overlay: linear-gradient(180deg, rgba(26, 54, 93, 0.4) 0%, rgba(26, 54, 93, 0.9) 100%);

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.2);
    --shadow-glow: 0 0 30px rgba(201, 162, 39, 0.3);

    /* Border Radius */
    --border-radius-sm: 8px;
    --border-radius: 12px;
    --border-radius-lg: 20px;
    --border-radius-xl: 30px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

    /* Typography */
    --font-primary: 'Inter', 'Open Sans', sans-serif;
    --font-heading: 'Playfair Display', Georgia, serif;
}

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@400;500;600;700&display=swap');

/* Reset & Base Styles */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--background-light);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    width: 90%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================
   HEADER - Premium Glassmorphism Design
   ========================================== */
header {
    background: linear-gradient(135deg, rgba(26, 54, 93, 0.98) 0%, rgba(44, 82, 130, 0.98) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: var(--light-text);
    padding: 16px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.icon {
    display: flex;
    align-items: center;
    gap: 12px;
}

.icon img {
    height: 55px;
    width: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.icon img:hover {
    transform: scale(1.05);
}

/* Navigation */
.mobile-menu-toggle {
    display: none;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 26px;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: var(--border-radius-sm);
    transition: var(--transition);
}

.mobile-menu-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 8px;
}

.nav-list li {
    margin: 0;
}

.nav-list a {
    color: var(--light-text);
    text-decoration: none;
    padding: 10px 18px;
    border-radius: var(--border-radius);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.nav-list a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-list a:hover::before,
.nav-list a.active::before {
    width: 60%;
}

.nav-list a:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.nav-list a.active {
    background: rgba(201, 162, 39, 0.2);
    border: 1px solid rgba(201, 162, 39, 0.3);
}

/* ==========================================
   HERO SECTION - Stunning Visual Impact
   ========================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
    margin-top: 0;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease;
    transform: scale(1.05);
}

.slide.active {
    opacity: 1;
    animation: slowZoom 10s ease-in-out infinite alternate;
}

@keyframes slowZoom {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.08);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    text-align: center;
    color: var(--light-text);
    background: var(--gradient-overlay);
    padding: 100px 20px 40px;
}

.hero-content::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(201, 162, 39, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 4px 20px rgba(0, 0, 0, 0.4);
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.hero-content h1 span {
    color: var(--secondary-color);
}

.hero-content p {
    font-size: clamp(1rem, 2vw, 1.35rem);
    margin-bottom: 20px;
    max-width: 750px;
    opacity: 0.95;
    font-weight: 300;
    line-height: 1.8;
}

.hero-content p strong {
    color: var(--secondary-color);
    font-weight: 600;
}

/* ==========================================
   BUTTONS - Modern & Interactive
   ========================================== */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--gradient-gold);
    color: var(--primary-dark);
    padding: 16px 36px;
    text-decoration: none;
    border-radius: var(--border-radius-xl);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow), var(--shadow-glow);
    position: relative;
    overflow: hidden;
}

.button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: 0.6s;
}

.button:hover::before {
    left: 100%;
}

.button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg), 0 0 40px rgba(201, 162, 39, 0.5);
}

.button.secondary {
    background: transparent;
    color: var(--light-text);
    border: 2px solid rgba(255, 255, 255, 0.5);
    box-shadow: none;
}

.button.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--light-text);
    box-shadow: var(--shadow);
}

/* ==========================================
   SECTION TITLES - Elegant Typography
   ========================================== */
.section-title {
    text-align: center;
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 50px;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 20px;
    font-weight: 600;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-gold);
    border-radius: 2px;
}

/* ==========================================
   STATS SECTION - Animated Cards
   ========================================== */
.stats-section {
    background: var(--gradient-primary);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.stats-section .section-title {
    color: var(--light-text);
}

.stats-section .section-title::after {
    background: var(--secondary-color);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
    position: relative;
    z-index: 1;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--border-radius-lg);
    padding: 40px 25px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.stat-card:hover::before {
    transform: scaleX(1);
}

.stat-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: var(--shadow-xl);
}

.stat-card h3 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 10px;
    text-shadow: 0 2px 10px rgba(201, 162, 39, 0.3);
}

.stat-card p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

/* ==========================================
   CONNECTING SECTION - Parallax Gallery
   ========================================== */
.connecting-section {
    position: relative;
    padding: 120px 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--light-text);
    text-align: center;
}

.connecting-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 54, 93, 0.85) 0%, rgba(15, 35, 64, 0.9) 100%);
}

.connecting-section .container {
    position: relative;
    z-index: 2;
}

.connecting-section .section-title {
    color: var(--light-text);
}

.connecting-section .section-title::after {
    background: var(--secondary-color);
}

.connecting-images {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 50px;
}

.connecting-images img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--border-radius);
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
    border: 3px solid rgba(255, 255, 255, 0.1);
}

.connecting-images img:hover {
    transform: scale(1.05) rotate(1deg);
    border-color: var(--secondary-color);
    box-shadow: var(--shadow-xl), 0 0 30px rgba(201, 162, 39, 0.3);
}

/* ==========================================
   FLYER MARQUEE - Smooth Infinite Scroll
   ========================================== */
.related-exhibitions {
    padding: 100px 0;
    background: var(--background-white);
    overflow: hidden;
}

.flyer-marquee {
    overflow: hidden;
    position: relative;
    padding: 20px 0;
}

.flyer-marquee::before,
.flyer-marquee::after {
    content: '';
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
}

.flyer-marquee::before {
    left: 0;
    background: linear-gradient(90deg, var(--background-white), transparent);
}

.flyer-marquee::after {
    right: 0;
    background: linear-gradient(-90deg, var(--background-white), transparent);
}

.marquee-content {
    display: flex;
    animation: scroll 40s linear infinite;
}

.flyer {
    height: 350px;
    margin: 0 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    flex-shrink: 0;
}

.flyer:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-xl);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ==========================================
   ABOUT SECTION - Clean & Informative
   ========================================== */
.about-section {
    padding: 100px 0;
    background: var(--background-light);
}

.about-section p {
    max-width: 850px;
    margin: 0 auto 40px;
    text-align: center;
    font-size: 1.2rem;
    line-height: 1.9;
    color: var(--text-light);
}

/* ==========================================
   SECTIONS - Exhibitors & Visitors
   ========================================== */
.exhibitors-section,
.visitors-section {
    padding: 100px 0;
}

.exhibitors-section {
    background: var(--background-white);
}

.visitors-section {
    background: var(--background-light);
}

.exhibitors-section p.text-center,
.visitors-section p.text-center {
    max-width: 700px;
    margin: 0 auto 30px;
    font-size: 1.15rem;
    color: var(--text-light);
}

.text-center {
    text-align: center;
    margin-top: 40px;
}

/* ==========================================
   CONTACT SECTION
   ========================================== */
.contact-section {
    padding: 100px 0;
    background: var(--background-white);
}

.contact-section p.text-center {
    max-width: 600px;
    margin: 0 auto 30px;
    font-size: 1.15rem;
    color: var(--text-light);
}

/* ==========================================
   FOOTER - Modern & Comprehensive
   ========================================== */
footer {
    background: var(--gradient-primary);
    color: var(--light-text);
    padding: 80px 0 0;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-gold);
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    margin-bottom: 50px;
    padding: 0 20px;
}

.footer-info h4,
.footer-menu h4,
.footer-social h4 {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-info p {
    margin-bottom: 12px;
    opacity: 0.9;
    line-height: 1.7;
}

.footer-info p strong {
    color: var(--secondary-color);
    font-size: 1.1rem;
}

.footer-menu a {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    margin-bottom: 12px;
    transition: var(--transition);
    padding-left: 0;
    position: relative;
}

.footer-menu a::before {
    content: '→';
    position: absolute;
    left: -20px;
    opacity: 0;
    transition: var(--transition);
}

.footer-menu a:hover {
    color: var(--secondary-color);
    padding-left: 15px;
}

.footer-menu a:hover::before {
    opacity: 1;
    left: 0;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--light-text);
    font-size: 1.3rem;
    text-decoration: none;
}

.social-icons a:hover {
    background: var(--secondary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(201, 162, 39, 0.3);
    color: var(--primary-dark);
    border-color: var(--secondary-color);
}

.social-icons a i {
    transition: var(--transition);
}

/* Keep img styles for backward compatibility */
.social-icons img {
    width: 22px;
    height: 22px;
    filter: brightness(0) invert(1);
    transition: var(--transition);
}

.footer-copyright {
    text-align: center;
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.95rem;
    opacity: 0.8;
}

/* ==========================================
   ANIMATIONS
   ========================================== */
.slide-in {
    animation: slideIn 1s ease-out;
}

.fade-in {
    animation: fadeIn 1.5s ease-in;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Scroll Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition-slow);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */
@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .connecting-images {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    header {
        padding: 12px 0;
    }

    header .container {
        flex-direction: row;
        justify-content: space-between;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .nav-list {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--primary-dark);
        flex-direction: column;
        padding: 20px;
        gap: 5px;
        box-shadow: var(--shadow-lg);
    }

    .nav-list.active {
        display: flex;
    }

    .nav-list li {
        margin: 0;
    }

    .nav-list a {
        display: block;
        padding: 15px 20px;
        border-radius: var(--border-radius-sm);
    }

    .hero {
        height: 90vh;
        min-height: 600px;
    }

    .hero-content {
        padding: 120px 20px 40px;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .stat-card {
        padding: 30px 20px;
    }

    .connecting-images {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }

    .connecting-images img {
        height: 150px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }

    .social-icons {
        justify-content: center;
    }

    .footer-menu a::before {
        display: none;
    }

    .footer-menu a:hover {
        padding-left: 0;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 85vh;
        min-height: 550px;
    }

    .hero-content {
        padding: 100px 15px 30px;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-content p {
        font-size: 0.95rem;
    }

    .button {
        padding: 14px 28px;
        font-size: 0.95rem;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 35px;
    }

    .connecting-images {
        grid-template-columns: 1fr;
    }

    .flyer {
        height: 220px;
    }

    .stat-card h3 {
        font-size: 2.5rem;
    }
}

/* ==========================================
   UTILITY CLASSES
   ========================================== */
.text-gold {
    color: var(--secondary-color);
}

.bg-gradient {
    background: var(--gradient-primary);
}

.glass-effect {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
}