/* Kurdistan Flag Colors (Modern Palette) - COLORS INVERTED:
   Yellow/Gold (now main): #DC143C (previously was Red #FFD700)
   Red (now accent): #FFD700 (previously was Yellow #DC143C)
   Dark Gold: #D4AF37
   White: #FFFFFF
   Dark: #1a1a1a

   NOTE: Red and Yellow colors have been swapped throughout the entire stylesheet
*/

/* Rudaw Font for Kurdish Text */
@font-face {
    font-family: 'Rudaw';
    src: url('../rudaw.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background: #ffffff;
    overflow-x: hidden;
}

/* Language Transition Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-10px);
    }
}

.lang-fade-in {
    animation: fadeIn 0.4s ease-out forwards;
}

.lang-fade-out {
    animation: fadeOut 0.3s ease-in forwards;
}

/* Kurdish Language Styles - RTL and Rudaw Font */
.lang-ku {
    font-family: 'Rudaw', 'Arial', sans-serif;
    direction: rtl !important;
    transition: opacity 0.3s ease;
}

/* Kurdish Headings - Centered with RTL */
h1.lang-ku,
h2.lang-ku,
h3.lang-ku,
h4.lang-ku,
h5.lang-ku,
h6.lang-ku {
    text-align: center;
    direction: rtl;
}

/* Kurdish Paragraphs - Fully Justified on Both Sides */
p.lang-ku {
    text-align: justify !important;
    text-justify: inter-word !important;
    direction: rtl !important;
    unicode-bidi: isolate !important;
}

/* English Paragraphs - Fully Justified on Both Sides */
p.lang-en {
    text-align: justify !important;
    text-justify: inter-word !important;
    direction: ltr !important;
}

/* English Language Styles */
.lang-en {
    transition: opacity 0.3s ease;
}

/* Keep English Headings Centered */
h1.lang-en,
h2.lang-en,
h3.lang-en,
h4.lang-en,
h5.lang-en,
h6.lang-en {
    text-align: center;
}

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

/* Header & Navigation - Modern Glass Effect */
header {
    background: rgba(220, 20, 60, 0.95);
    backdrop-filter: blur(10px);
    color: white;
    padding: 1.2rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    border-bottom: 3px solid #FFD700;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 1001;
    text-decoration: none;
    color: white;
    cursor: pointer;
}

.logo img {
    height: 55px;
    width: 55px;
    border-radius: 50%;
    border: 3px solid #DC143C;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: rotate(5deg) scale(1.05);
}

.logo h1 {
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: white;
}

.logo:hover h1 {
    color: white;
}

.logo:visited h1 {
    color: white;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

/* Reverse navigation order for Kurdish (RTL) */
body[data-lang="ku"] .nav-links,
.nav-links.rtl {
    flex-direction: row-reverse;
}

.nav-links a {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #FFD700;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: #FFD700;
}

/* Navigation Container */
.nav-container {
    display: flex;
    align-items: center;
    gap: 2rem;
}

/* Language Switcher */
.language-switcher {
    margin-left: 1rem;
}

.lang-toggle-btn {
    background: #FFD700;
    color: #1a1a1a;
    border: 2px solid #FFD700;
    padding: 0.6rem 1.5rem;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.lang-toggle-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.5);
    background: #FFC700;
}

.lang-toggle-btn:active {
    transform: translateY(0);
}

/* Mobile Menu Toggle */
/* Mobile Controls Container */
.mobile-controls {
    display: none;
    align-items: center;
    gap: 10px;
}

/* Mobile Language Toggle */
.mobile-lang-toggle {
    display: none;
    background: #DC143C;
    color: #FFD700;
    border: none;
    border-radius: 6px;
    padding: 0.5rem 0.9rem;
    font-weight: bold;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1001;
}

.mobile-lang-toggle:hover {
    background: #FFC700;
    transform: scale(1.05);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 28px;
    height: 3px;
    background: #FFD700;
    border-radius: 3px;
    transition: all 0.3s ease;
}

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

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

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

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

/* Hero Section - Modern Gradient */
.hero {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: white;
    padding: 120px 40px 80px;
    text-align: center;
    margin-top: 70px;
    position: relative;
    overflow: hidden;
}

/* Hero Background Slideshow */
.hero-background-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

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

.hero-bg-slide.active {
    opacity: 0.15;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-content h2 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    letter-spacing: -2px;
    color: white;
    text-transform: uppercase;
    animation: fadeInUp 0.8s ease;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.4);
}

.hero-content > p {
    font-size: 1.6rem;
    margin-bottom: 3rem;
    font-weight: 300;
    letter-spacing: 0.5px;
    animation: fadeInUp 1s ease;
    text-align: center !important;
}

.hero-content > p.lang-ku,
.hero-content > p.lang-en {
    text-align: center !important;
}

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

.vote-counter {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    padding: 3rem 4rem;
    border-radius: 25px;
    display: inline-flex;
    align-items: center;
    gap: 3rem;
    margin-bottom: 3rem;
    border: 4px solid white;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
}

.president-image {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid white;
    box-shadow: 0 10px 40px rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.president-image:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 50px rgba(255, 255, 255, 0.7);
}

.counter-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.vote-counter span {
    font-size: 5.5rem;
    font-weight: 900;
    display: block;
    color: white;
    text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.5);
    letter-spacing: -3px;
    min-width: 400px;
    text-align: center;
}

.vote-counter p {
    font-size: 1.3rem;
    margin: 0;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.vote-counter p.lang-ku {
    letter-spacing: normal;
    text-transform: none;
}

.celebration-message {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    padding: 3rem;
    border-radius: 20px;
    max-width: 900px;
    margin: 3rem auto 0;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.celebration-message h3 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: white;
    font-weight: 700;
}

.celebration-message p {
    font-size: 1.3rem;
    line-height: 2;
    font-weight: 300;
}

/* About Section - Modern Cards */
.about {
    padding: 120px 40px;
    background: linear-gradient(to bottom, #ffffff 0%, #fffbf0 100%);
}

.about h2 {
    text-align: center;
    font-size: 3.5rem;
    margin-bottom: 4rem;
    color: #DC143C;
    font-weight: 800;
    letter-spacing: -1px;
}

.about-content {
    max-width: 1000px;
    margin: 0 auto 4rem;
}

.about-text p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: #444;
    line-height: 2;
    font-weight: 400;
}

.stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin-top: 4rem;
}

.stat-item {
    background: white;
    padding: 3rem 4rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(255, 215, 0, 0.1);
    min-width: 240px;
    text-align: center;
    border: 3px solid #DC143C;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: #FFD700;
}

.stat-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(255, 215, 0, 0.2);
}

.stat-item h3 {
    font-size: 4rem;
    color: #FFD700;
    margin-bottom: 1rem;
    font-weight: 900;
    letter-spacing: -2px;
    min-width: 250px;
    text-align: center;
}

.stat-item p {
    font-size: 1.1rem;
    color: #666;
    margin: 0;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Speeches Section - Modern Design */
.speeches {
    padding: 120px 40px;
    background: #f8f8f8;
}

.speeches h2 {
    text-align: center;
    font-size: 3.5rem;
    margin-bottom: 4rem;
    color: #DC143C;
    font-weight: 800;
    letter-spacing: -1px;
}

.speeches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.speech-item {
    background: white;
    padding: 0;
    border-radius: 20px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.15);
    color: #333;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    min-height: 450px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    text-decoration: none;
    display: block;
    cursor: pointer;
}

.speech-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.92) 0%, rgba(255, 165, 0, 0.95) 100%);
    z-index: 1;
    transition: all 0.4s ease;
}

.speech-item:hover .speech-overlay {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.88) 0%, rgba(255, 165, 0, 0.92) 100%);
}

.speech-content-wrapper {
    position: relative;
    z-index: 2;
    padding: 2.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.speech-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(255, 215, 0, 0.3);
}

.speech-item h3 {
    color: #DC143C;
    margin-bottom: 1.5rem;
    font-size: 1.6rem;
    font-weight: 700;
    position: relative;
    z-index: 2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.speech-date {
    color: #DC143C;
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.speech-item p {
    font-style: italic;
    line-height: 1.9;
    color: #ffffff;
    font-size: 1.05rem;
    position: relative;
    z-index: 2;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    flex-grow: 1;
}

/* Gallery Section - Modern Grid */
.gallery {
    padding: 120px 40px;
    background: white;
}

.gallery h2 {
    text-align: center;
    font-size: 3.5rem;
    margin-bottom: 3rem;
    color: #DC143C;
    font-weight: 800;
    letter-spacing: -1px;
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: white;
    color: #FFD700;
    border: 3px solid #DC143C;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

.filter-btn:hover {
    background: #DC143C;
    color: #FFD700;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(220, 20, 60, 0.4);
}

.filter-btn.active {
    background: #FFD700;
    color: #DC143C;
    border-color: #FFD700;
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.4);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    max-width: 1400px;
    margin: 0 auto 3rem;
}

.gallery-item {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease, opacity 0.5s ease, transform 0.5s ease;
    position: relative;
    cursor: pointer;
    border: 3px solid #DC143C;
    opacity: 1;
    transform: scale(1);
    animation: fadeInScale 0.5s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 2;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.city-name {
    font-size: 2.5em;
    font-weight: bold;
    color: #DC143C;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.gallery-item.hiding {
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
}

.gallery-item.hidden {
    display: none;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 60px rgba(255, 215, 0, 0.3);
    border-color: #FFD700;
}

.gallery-item img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
    transition: all 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
    filter: blur(8px);
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.lightbox-content {
    position: relative;
    margin: auto;
    padding: 0;
    width: 90%;
    max-width: 1200px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-content img {
    width: 100%;
    height: auto;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 10px 50px rgba(220, 20, 60, 0.3);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: #DC143C;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
    transition: all 0.3s ease;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: #FFD700;
    transform: scale(1.2);
}

.lightbox-prev,
.lightbox-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 20px;
    color: #DC143C;
    font-weight: bold;
    font-size: 40px;
    transition: all 0.3s ease;
    user-select: none;
    background: rgba(255, 215, 0, 0.5);
    border-radius: 10px;
    z-index: 10000;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 215, 0, 0.8);
    color: white;
}

.lightbox-caption {
    text-align: center;
    padding: 20px;
    color: #DC143C;
    font-size: 1.2rem;
    font-weight: bold;
}

/* Responsive Lightbox */
@media (max-width: 768px) {
    .lightbox-close {
        top: 10px;
        right: 20px;
        font-size: 40px;
    }

    .lightbox-prev,
    .lightbox-next {
        font-size: 30px;
        padding: 15px;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }

    .lightbox-content {
        width: 95%;
    }
}

/* Achievements Section - Modern Cards */
.achievements {
    padding: 120px 40px;
    background: linear-gradient(to bottom, #fffbf0 0%, #ffffff 100%);
}

.achievements h2 {
    text-align: center;
    font-size: 3.5rem;
    margin-bottom: 4rem;
    color: #DC143C;
    font-weight: 800;
    letter-spacing: -1px;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.achievement-item {
    background: white;
    padding: 3rem;
    border-radius: 25px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    text-align: center;
    border-top: 5px solid #DC143C;
    transition: all 0.4s ease;
}

.achievement-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(255, 215, 0, 0.15);
    border-top-color: #FFD700;
}

.achievement-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    filter: grayscale(0);
}

.achievement-item h3 {
    color: #DC143C;
    margin-bottom: 1.5rem;
    font-size: 1.7rem;
    font-weight: 700;
}

.achievement-item p {
    color: #666;
    line-height: 1.9;
    font-size: 1.05rem;
}

/* Hashtags / Social Media Section - Modern */
.hashtags {
    padding: 120px 40px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.hashtags::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(220, 20, 60, 0.2) 0%, transparent 70%);
    border-radius: 50%;
}

.hashtags h2 {
    text-align: center;
    font-size: 3.5rem;
    margin-bottom: 4rem;
    color: #DC143C;
    font-weight: 800;
    letter-spacing: -1px;
    position: relative;
    z-index: 1;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hashtags-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hashtag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 4rem;
}

.hashtag {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    border-radius: 30px;
    font-size: 1.15rem;
    font-weight: 700;
    border: 2px solid rgba(220, 20, 60, 0.7);
    transition: all 0.3s ease;
    cursor: pointer;
}

.hashtag:hover {
    background: #DC143C;
    color: #FFD700;
    transform: scale(1.08);
    border-color: #DC143C;
}

.social-message {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    padding: 3.5rem;
    border-radius: 25px;
    text-align: center;
    border: 2px solid rgba(220, 20, 60, 0.5);
}

.social-message h3 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #DC143C;
    font-weight: 700;
}

.social-message p {
    font-size: 1.3rem;
    line-height: 2;
    font-weight: 300;
}

/* Full Speech Page */
.speech-full {
    padding: 120px 40px 80px;
    background: linear-gradient(to bottom, #f9f9f9 0%, white 50%);
}

.speech-header {
    max-width: 1200px;
    margin: 0 auto 4rem;
}

.back-link {
    display: inline-block;
    color: #FFD700;
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 2rem;
    padding: 0.8rem 1.5rem;
    border: 2px solid #DC143C;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.back-link:hover {
    background: #FFD700;
    color: #DC143C;
    border-color: #FFD700;
    transform: translateX(-5px);
}

.speech-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 3px solid #DC143C;
}

.speech-hero-images {
    position: relative;
}

.speech-flag {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100px;
    height: 100px;
    object-fit: contain;
    background: white;
    border-radius: 50%;
    padding: 15px;
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.3);
    border: 3px solid #DC143C;
    z-index: 2;
}

.speech-main-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
    border: 3px solid #DC143C;
}

.speech-hero-text h1 {
    font-size: 3rem;
    color: #DC143C;
    margin-bottom: 1rem;
    font-weight: 800;
    line-height: 1.2;
}

.speech-hero-text .speech-date {
    font-size: 1.2rem;
    color: #666;
    font-weight: 600;
    margin-bottom: 1.5rem;
    display: block;
}

.speech-highlights {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.highlight-badge {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #DC143C;
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 2px solid #DC143C;
}

.speech-intro {
    max-width: 1000px;
    margin: 3rem auto;
}

.speech-quote {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    padding: 3rem;
    border-radius: 15px;
    border-left: 8px solid #DC143C;
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.2);
}

.speech-quote p {
    font-size: 1.8rem;
    color: #DC143C;
    font-style: italic;
    font-weight: 600;
    line-height: 1.6;
    margin: 0;
    text-align: center;
}

/* Speech Video Container */
.speech-video-container {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 2rem;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 15px;
}

/* YouTube Link Button */
.youtube-link-button {
    display: block;
    background: linear-gradient(135deg, #DC143C 0%, #8B0000 100%);
    border-radius: 20px;
    padding: 3rem 2rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 40px rgba(220, 20, 60, 0.3);
}

.youtube-link-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(220, 20, 60, 0.5);
    background: linear-gradient(135deg, #FF1744 0%, #DC143C 100%);
}

.youtube-button-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.youtube-button-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .youtube-button-content {
        flex-direction: column;
        gap: 1rem;
    }

    .youtube-button-text {
        font-size: 1.3rem;
        text-align: center;
    }

    .youtube-link-button {
        padding: 2rem 1rem;
    }
}

.speech-content {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
    font-size: 1.1rem;
    color: #333;
}

.speech-content p {
    margin-bottom: 1.5rem;
}

.speech-content h2 {
    font-size: 2rem;
    color: #DC143C;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    border-left: 5px solid #DC143C;
    padding-left: 1rem;
}

.speech-content strong {
    color: #FFD700;
    font-weight: 700;
}

.speech-image-section {
    margin: 3rem 0;
    text-align: center;
}

.content-image {
    width: 100%;
    max-width: 800px;
    height: 450px;
    object-fit: cover;
    border-radius: 15px;
    border: 4px solid #DC143C;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    margin-bottom: 1rem;
}

.image-caption {
    font-size: 0.95rem;
    color: #666;
    font-style: italic;
    margin-top: 0.5rem;
}

.speech-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 3rem 0;
}

.speech-gallery img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 12px;
    border: 3px solid #DC143C;
    transition: all 0.3s ease;
}

.speech-gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
    border-color: #FFD700;
}

.speech-call-to-action {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    padding: 3rem;
    border-radius: 20px;
    margin: 4rem 0;
    display: flex;
    align-items: center;
    gap: 2rem;
    border: 4px solid #DC143C;
    box-shadow: 0 15px 50px rgba(255, 215, 0, 0.3);
}

.cta-flag {
    flex-shrink: 0;
}

.cta-flag img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    background: white;
    border-radius: 50%;
    padding: 20px;
    border: 4px solid #DC143C;
}

.cta-content {
    flex: 1;
    color: white;
}

.cta-content h3 {
    font-size: 2rem;
    color: #DC143C;
    margin-bottom: 1rem;
    font-weight: 800;
}

.cta-text {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.cta-badge {
    display: inline-block;
    background: #DC143C;
    color: #FFD700;
    padding: 1rem 2rem;
    border-radius: 30px;
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 2px;
    box-shadow: 0 5px 20px rgba(220, 20, 60, 0.4);
}

.speech-closing {
    font-style: italic;
    text-align: center;
    font-size: 1.3rem;
    margin-top: 3rem;
    color: #FFD700;
    font-weight: 600;
}

.speech-footer {
    max-width: 900px;
    margin: 3rem auto 0;
    text-align: center;
}

/* Responsive Speech Page */
@media (max-width: 768px) {
    .speech-hero {
        grid-template-columns: 1fr;
        padding: 2rem;
    }

    .speech-flag {
        width: 70px;
        height: 70px;
        top: -15px;
        left: -15px;
    }

    .speech-main-image {
        height: 300px;
    }

    .speech-hero-text h1 {
        font-size: 2rem;
    }

    .speech-quote p {
        font-size: 1.3rem;
    }

    .speech-gallery {
        grid-template-columns: 1fr;
    }

    .speech-call-to-action {
        flex-direction: column;
        text-align: center;
    }

    .cta-content h3 {
        font-size: 1.5rem;
    }
}

/* Footer - Modern Design */
footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: white;
    padding: 4rem 0 0;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px 4rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.footer-section h4 {
    color: #DC143C;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    font-weight: 700;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.footer-logo img {
    height: 55px;
    width: 55px;
    border-radius: 50%;
    border: 3px solid #DC143C;
}

.footer-logo h3 {
    font-size: 1.3rem;
    color: #DC143C;
    font-weight: 700;
}

/* Footer logo language direction support */
.footer-logo h3 {
    text-align: left;
}

body[data-lang="ku"] .footer-logo {
    flex-direction: row-reverse;
}

body[data-lang="ku"] .footer-logo h3 {
    text-align: right;
}

.footer-section p {
    color: #bbb;
    line-height: 1.8;
    font-size: 1rem;
    text-align: left;
    direction: ltr;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
    text-align: left;
    direction: ltr;
}

.footer-section h4 {
    text-align: left;
    direction: ltr;
}

.footer-section a {
    color: #ddd;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
    display: block;
}

.footer-section a:hover {
    color: #FFD700;
    padding-left: 5px;
}

/* Footer Kurdish RTL Support */
body[data-lang="ku"] .footer-section a:hover {
    padding-left: 0;
    padding-right: 5px;
}

body[data-lang="ku"] .footer-section ul li {
    text-align: right;
    direction: rtl;
}

body[data-lang="ku"] .footer-section h4 {
    text-align: right;
    direction: rtl;
}

body[data-lang="ku"] .footer-section p {
    text-align: right;
    direction: rtl;
}

.social-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-icon {
    background: #FFD700;
    padding: 0.8rem 1.5rem;
    border-radius: 10px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    font-weight: 600;
}

.social-icon:hover {
    background: #DC143C;
    color: #1a1a1a;
    transform: translateY(-3px);
}

.footer-bottom {
    background: #0a0a0a;
    padding: 2rem 0;
    text-align: center;
    border-top: 3px solid #DC143C;
}

.footer-bottom p {
    margin: 0.5rem 0;
    color: #999;
    font-size: 0.95rem;
    direction: ltr;
}

/* Footer bottom Kurdish RTL Support */
body[data-lang="ku"] .footer-bottom p {
    direction: rtl;
}

.footer-flag {
    color: #DC143C;
    font-weight: 700;
    font-size: 1.05rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    nav {
        padding: 0 20px;
    }

    .hero-content h2 {
        font-size: 3rem;
    }

    .vote-counter span {
        font-size: 4rem;
        min-width: 300px;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    /* Header & Navigation */
    header {
        padding: 1rem 0;
    }

    nav {
        flex-direction: row;
        justify-content: space-between;
        padding: 0 20px;
    }

    .logo {
        flex-direction: row;
        gap: 0.8rem;
    }

    .logo h1 {
        font-size: 0.95rem;
    }

    .logo img {
        height: 45px;
        width: 45px;
    }

    /* Show mobile controls */
    .mobile-controls {
        display: flex;
    }

    .mobile-lang-toggle {
        display: block;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    /* Hide desktop navigation */
    .nav-container {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
        flex-direction: column;
        gap: 0;
        padding: 100px 0 2rem 0;
        transition: right 0.3s ease;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.3);
        overflow-y: auto;
    }

    .nav-container.active {
        right: 0;
    }

    .nav-links {
        flex-direction: column;
        gap: 0;
        width: 100%;
        padding: 0;
    }

    .nav-links li {
        width: 100%;
        border-bottom: 1px solid rgba(220, 20, 60, 0.2);
    }

    .nav-links a {
        display: block;
        padding: 1.2rem 2rem;
        font-size: 1rem;
        width: 100%;
    }

    .nav-links a::after {
        display: none;
    }

    .nav-links a:hover {
        background: rgba(220, 20, 60, 0.1);
    }

    .language-switcher {
        margin: 2rem 2rem 1rem 2rem;
        width: calc(100% - 4rem);
    }

    .lang-toggle-btn {
        width: 100%;
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    /* Hero Section */
    .hero {
        padding: 80px 15px 50px;
        margin-top: 65px;
    }

    .hero-content h2 {
        font-size: 2.2rem;
        letter-spacing: -1px;
    }

    .hero-content > p {
        font-size: 1.1rem;
    }

    .vote-counter {
        padding: 2rem 1.5rem;
        flex-direction: column;
        gap: 1.5rem;
        width: 95%;
    }

    .vote-counter span {
        font-size: 3rem;
        min-width: auto;
        letter-spacing: -2px;
    }

    .vote-counter p {
        font-size: 1rem;
        letter-spacing: 2px;
    }

    .president-image {
        width: 120px;
        height: 120px;
    }

    .celebration-message {
        padding: 2rem 1.5rem;
        margin: 2rem auto 0;
    }

    .celebration-message h3 {
        font-size: 1.6rem;
    }

    .celebration-message p {
        font-size: 1.1rem;
        line-height: 1.8;
    }

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

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

    .stats {
        gap: 1.5rem;
        flex-direction: column;
    }

    .stat-item {
        padding: 2rem 1.5rem;
        min-width: auto;
        width: 100%;
    }

    .stat-item h3 {
        font-size: 3rem;
        min-width: auto;
    }

    /* Speeches Section */
    .speeches {
        padding: 80px 20px;
    }

    .speeches-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .speech-item {
        padding: 2rem 1.5rem;
    }

    .speech-item h3 {
        font-size: 1.4rem;
    }

    /* Gallery Section */
    .gallery {
        padding: 80px 20px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .gallery-item img {
        height: 280px;
    }

    .filter-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.95rem;
    }

    /* Achievements Section */
    .achievements {
        padding: 80px 20px;
    }

    .achievements-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .achievement-item {
        padding: 2rem 1.5rem;
    }

    /* Hashtags Section */
    .hashtags {
        padding: 80px 20px;
    }

    .hashtag {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }

    .social-message {
        padding: 2rem 1.5rem;
    }

    .social-message h3 {
        font-size: 2rem;
    }

    .social-message p {
        font-size: 1.1rem;
        line-height: 1.8;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 0 20px 3rem;
    }

    .footer-logo {
        justify-content: center;
        flex-direction: column;
    }

    .social-links {
        justify-content: center;
    }

    /* Section Headings */
    section h2,
    .about h2,
    .speeches h2,
    .gallery h2,
    .achievements h2,
    .hashtags h2 {
        font-size: 2.5rem;
    }

    /* Speech Page */
    .speech-full {
        padding: 100px 20px 60px;
    }

    .speech-content {
        font-size: 1.05rem;
    }

    .content-image {
        height: 300px;
    }

    .cta-flag img {
        width: 80px;
        height: 80px;
    }

    .cta-content h3 {
        font-size: 1.5rem;
    }

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

    .cta-badge {
        font-size: 1.2rem;
        padding: 0.8rem 1.5rem;
    }
}

@media (max-width: 480px) {
    /* Header & Navigation */
    header {
        padding: 0.8rem 0;
    }

    nav {
        padding: 0 15px;
    }

    .logo h1 {
        font-size: 0.8rem;
    }

    .logo img {
        height: 38px;
        width: 38px;
    }

    .nav-container {
        width: 100%;
    }

    .mobile-menu-toggle span {
        width: 25px;
        height: 2.5px;
    }

    /* Hero Section */
    .hero {
        padding: 75px 10px 40px;
        margin-top: 55px;
    }

    .hero-content h2 {
        font-size: 1.6rem;
        letter-spacing: 0;
    }

    .hero-content > p {
        font-size: 0.95rem;
    }

    .vote-counter {
        padding: 1.5rem 1rem;
        gap: 1rem;
        width: 98%;
    }

    .vote-counter span {
        font-size: 2.2rem;
        letter-spacing: -1px;
    }

    .vote-counter p {
        font-size: 0.85rem;
        letter-spacing: 1px;
    }

    .president-image {
        width: 90px;
        height: 90px;
        border: 3px solid #DC143C;
    }

    .celebration-message {
        padding: 1.5rem 1rem;
    }

    .celebration-message h3 {
        font-size: 1.3rem;
    }

    .celebration-message p {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    /* About Section */
    .about {
        padding: 60px 15px;
    }

    .about-text p {
        font-size: 1rem;
        line-height: 1.7;
    }

    .stat-item {
        padding: 1.5rem 1rem;
    }

    .stat-item h3 {
        font-size: 2.5rem;
    }

    .stat-item p {
        font-size: 0.95rem;
    }

    /* Speeches Section */
    .speeches {
        padding: 60px 15px;
    }

    .speech-item {
        padding: 1.5rem 1rem;
    }

    .speech-item h3 {
        font-size: 1.2rem;
    }

    .speech-item p {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    /* Gallery Section */
    .gallery {
        padding: 60px 15px;
    }

    .gallery-item img {
        height: 240px;
    }

    .filter-btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.85rem;
    }

    /* Achievements Section */
    .achievements {
        padding: 60px 15px;
    }

    .achievement-item {
        padding: 1.5rem 1rem;
    }

    .achievement-item h3 {
        font-size: 1.4rem;
    }

    .achievement-item p {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    /* Hashtags Section */
    .hashtags {
        padding: 60px 15px;
    }

    .hashtag {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }

    .social-message {
        padding: 1.5rem 1rem;
    }

    .social-message h3 {
        font-size: 1.6rem;
    }

    .social-message p {
        font-size: 1rem;
        line-height: 1.7;
    }

    /* Footer */
    .footer-content {
        padding: 0 15px 2rem;
        gap: 2rem;
    }

    .footer-section h4 {
        font-size: 1.2rem;
    }

    .footer-logo img {
        height: 45px;
        width: 45px;
    }

    .footer-logo h3 {
        font-size: 1.1rem;
    }

    .social-icon {
        padding: 0.7rem 1.2rem;
        font-size: 0.85rem;
    }

    /* Section Headings */
    section h2,
    .about h2,
    .speeches h2,
    .gallery h2,
    .achievements h2,
    .hashtags h2 {
        font-size: 2rem;
    }

    /* Speech Page */
    .speech-full {
        padding: 90px 15px 50px;
    }

    .speech-hero-text h1 {
        font-size: 1.5rem;
    }

    .speech-hero-text .speech-date {
        font-size: 0.95rem;
    }

    .highlight-badge {
        font-size: 0.75rem;
        padding: 0.5rem 1rem;
    }

    .speech-quote p {
        font-size: 1.1rem;
    }

    .speech-content {
        font-size: 0.95rem;
    }

    .speech-content h2 {
        font-size: 1.5rem;
    }

    .content-image {
        height: 220px;
    }

    .speech-call-to-action {
        padding: 2rem 1.5rem;
    }

    .cta-flag img {
        width: 70px;
        height: 70px;
    }

    .cta-content h3 {
        font-size: 1.3rem;
    }

    .cta-text {
        font-size: 1rem;
    }

    .cta-badge {
        font-size: 1rem;
        padding: 0.7rem 1.2rem;
        letter-spacing: 1px;
    }

    .speech-closing {
        font-size: 1.1rem;
    }

    .back-link {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
}

/* Extra Small Phones */
@media (max-width: 360px) {
    .hero-content h2 {
        font-size: 1.4rem;
    }

    .vote-counter span {
        font-size: 1.8rem;
    }

    .vote-counter p {
        font-size: 0.75rem;
    }

    .president-image {
        width: 75px;
        height: 75px;
    }

    section h2,
    .about h2,
    .speeches h2,
    .gallery h2,
    .achievements h2,
    .hashtags h2 {
        font-size: 1.7rem;
    }
}

/* Landscape Orientation on Mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        padding: 120px 20px 60px;
    }

    .vote-counter {
        flex-direction: row;
        gap: 2rem;
    }

    .vote-counter span {
        font-size: 2.5rem;
    }
}

/* Touch-friendly improvements */
@media (hover: none) and (pointer: coarse) {
    /* Increase tap targets for mobile */
    .nav-links a,
    .filter-btn,
    .lang-toggle-btn,
    .speech-link {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    /* Disable hover effects on touch devices */
    .gallery-item:hover img,
    .speech-item:hover,
    .achievement-item:hover {
        transform: none;
    }
}

/* Campaign Slogan Animation - One word at a time loop */
.slogan-animated {
    position: relative;
    min-height: 2em;
}

.slogan-animated span {
    display: inline-block;
    opacity: 0;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    animation: fadeInOutWord 6s ease-in-out infinite;
}

.slogan-animated .word-1 {
    animation-delay: 0s;
}

.slogan-animated .word-2 {
    animation-delay: 2s;
}

.slogan-animated .word-3 {
    animation-delay: 4s;
}

@keyframes fadeInOutWord {
    0% {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
    10% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    30% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    40% {
        opacity: 0;
        transform: translateX(-50%) translateY(-20px);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(-20px);
    }
}

/* Mobile responsive adjustments for slogan animation */
@media (max-width: 768px) {
    .slogan-animated {
        font-size: 1.5em !important;
        position: relative;
        min-height: 2em;
    }
}
