/*!
 * Afreecca Theme - Complete Stylesheet
 * African Educational Electronic Content Creators Association
 * Version: 1.0.0
 */

/* ==========================================================================
   CSS Variables and Reset
   ========================================================================== */

:root {
    /* African Unity Colors */
    --red: #E31B23;      /* Red for struggle and blood shed */
    --black: #000000;    /* Black for the people of Africa */
    --green: #00853F;    /* Green for natural wealth */
    --gold: #FFD700;     /* Gold accent for prosperity */
    
    /* Neutral Colors */
    --light: #F5F5F5;
    --dark: #222222;
    --text: #333333;
    --text-light: #666666;
    --white: #FFFFFF;
    --border: #E5E5E5;
    
    /* Effects */
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
    --border-radius: 10px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--light);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul, ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button, 
input, 
textarea, 
select {
    font-family: inherit;
    font-size: inherit;
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

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

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ==========================================================================
   Typography
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--dark);
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 2rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin-bottom: 1rem;
}

.lead {
    font-size: 1.25rem;
    font-weight: 300;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    border: none;
    font-size: 1rem;
    line-height: 1;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn:focus {
    outline: 2px solid var(--red);
    outline-offset: 2px;
}

.btn-primary {
    background-color: var(--red);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #c0161d;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(227, 27, 35, 0.3);
}

.btn-secondary {
    background-color: var(--green);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: #006b32;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 133, 63, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: var(--red);
    border: 2px solid var(--red);
}

.btn-outline:hover {
    background-color: var(--red);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-white {
    background-color: var(--white);
    color: var(--red);
}

.btn-white:hover {
    background-color: var(--light);
    transform: translateY(-2px);
}

.btn-block {
    width: 100%;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.9rem;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.1rem;
}

/* ==========================================================================
   African Pattern
   ========================================================================== */

.african-pattern {
    height: 20px;
    background: linear-gradient(90deg, 
        var(--red) 0%, 
        var(--black) 33%, 
        var(--green) 66%, 
        var(--red) 100%);
    background-size: 200% 100%;
    animation: patternShift 10s ease infinite;
}

@keyframes patternShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

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

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

.logo-icon {
    width: 50px;
    height: 50px;
    position: relative;
    flex-shrink: 0;
}

.africa-map {
    width: 100%;
    height: 100%;
    fill: var(--green);
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo h1 {
    font-size: 1.8rem;
    color: var(--black);
    line-height: 1;
    margin: 0;
}

.logo .tagline {
    font-size: 0.7rem;
    color: var(--text-light);
    margin-top: 2px;
    letter-spacing: 0.5px;
}

/* Navigation Styles */
nav ul {
    display: flex;
    gap: 30px;
}

nav ul li a {
    font-weight: 500;
    position: relative;
    padding: 8px 0;
}

nav ul li a:hover {
    color: var(--red);
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--red);
    transition: var(--transition);
}

nav ul li a:hover::after {
    width: 100%;
}

.mobile-menu {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark);
}

/* Language Switcher */
.header-language-switcher {
    margin-left: 20px;
}

.language-switcher {
    position: relative;
}

.language-dropdown {
    position: relative;
}

.language-current {
    background: transparent;
    border: 1px solid rgba(0,0,0,0.1);
    color: var(--text);
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    font-weight: 500;
}

.language-current:hover {
    background: rgba(0,0,0,0.05);
}

.language-current i {
    font-size: 0.8rem;
    transition: var(--transition);
}

.language-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    border-radius: 5px;
    box-shadow: var(--shadow-lg);
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 1000;
}

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

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

.language-item {
    border-bottom: 1px solid var(--border);
}

.language-item:last-child {
    border-bottom: none;
}

.language-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    color: var(--text);
    transition: var(--transition);
}

.language-link:hover {
    background: var(--light);
    color: var(--red);
}

.language-link img {
    width: 20px;
    height: 15px;
    object-fit: cover;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
    background: linear-gradient(135deg, var(--black) 0%, var(--green) 100%);
    color: var(--white);
    padding: 180px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,186.7C384,213,480,235,576,213.3C672,192,768,128,864,128C960,128,1056,192,1152,197.3C1248,203,1344,149,1392,122.7L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    background-position: center;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--white);
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-btns {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.featured-image {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.featured-image-placeholder {
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 60px 40px;
    color: var(--white);
    text-align: center;
    backdrop-filter: blur(10px);
}

.featured-image-placeholder i {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.7;
}

/* ==========================================================================
   Section Common Styles
   ========================================================================== */

section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--dark);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--red), var(--black), var(--green));
}

.section-title p {
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* ==========================================================================
   About Section
   ========================================================================== */

.about {
    background-color: var(--white);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--dark);
}

.about-text p {
    margin-bottom: 20px;
    color: var(--text-light);
    line-height: 1.6;
}

.about-features {
    margin: 30px 0;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 25px;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(227, 27, 35, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon i {
    font-size: 1.5rem;
    color: var(--red);
}

.feature-content h4 {
    margin-bottom: 8px;
    color: var(--dark);
}

.feature-content p {
    color: var(--text-light);
    margin: 0;
    line-height: 1.5;
}

.about-image {
    flex: 1;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    position: relative;
}

.about-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(227, 27, 35, 0.2), rgba(0, 133, 63, 0.2));
    z-index: 1;
}

.about-img {
    width: 100%;
    height: auto;
    display: block;
}

.about-image-placeholder {
    background: linear-gradient(135deg, var(--black) 0%, var(--green) 100%);
    color: var(--white);
    padding: 60px 40px;
    text-align: center;
    border-radius: var(--border-radius);
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.about-image-placeholder i {
    font-size: 3rem;
    margin-bottom: 20px;
}

.about-stats {
    display: flex;
    gap: 30px;
    margin-top: 30px;
    justify-content: center;
}

.about-stat {
    text-align: center;
}

.about-stat .stat-number {
    font-size: 2rem;
    color: var(--red);
    font-weight: 700;
}

.about-stat .stat-label {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ==========================================================================
   Services Section
   ========================================================================== */

.services {
    background-color: var(--light);
}

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

.service-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    border-top: 4px solid var(--red);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: var(--transition);
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    border-top-color: var(--green);
    box-shadow: var(--shadow-lg);
}

.service-image {
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
}

.service-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: var(--transition);
}

.service-card:hover .service-img {
    transform: scale(1.05);
}

.service-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(227, 27, 35, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background-color: rgba(0, 133, 63, 0.1);
    transform: scale(1.1);
}

.service-icon i {
    font-size: 1.8rem;
    color: var(--red);
    transition: var(--transition);
}

.service-card:hover .service-icon i {
    color: var(--green);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark);
}

.service-card p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 20px;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    text-align: left;
}

.service-features li {
    padding: 5px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-light);
}

.service-features i {
    color: var(--green);
    font-size: 0.9rem;
}

.service-link {
    margin-top: auto;
}

/* Services CTA */
.services-cta {
    background: linear-gradient(135deg, var(--black) 0%, var(--green) 100%);
    color: var(--white);
    padding: 60px 40px;
    border-radius: 15px;
    margin-top: 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.services-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,186.7C384,213,480,235,576,213.3C672,192,768,128,864,128C960,128,1056,192,1152,197.3C1248,203,1344,149,1392,122.7L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    background-position: center;
}

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

.cta-content h3 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--white);
}

.cta-content p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 25px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* ==========================================================================
   Statistics Section
   ========================================================================== */

.stats-section {
    background: linear-gradient(135deg, var(--green) 0%, var(--black) 100%);
    color: var(--white);
    padding: 80px 0;
    position: relative;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,186.7C384,213,480,235,576,213.3C672,192,768,128,864,128C960,128,1056,192,1152,197.3C1248,203,1344,149,1392,122.7L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    background-position: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 1;
}

.stat-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.stat-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.stat-item:hover .stat-icon {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.2);
}

.stat-icon i {
    font-size: 2rem;
    color: var(--white);
}

.stat-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ==========================================================================
   Membership Section
   ========================================================================== */

.membership {
    background-color: var(--white);
}

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

.membership-intro {
    max-width: 800px;
    margin-bottom: 40px;
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.6;
}

.benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
    width: 100%;
}

.benefit {
    background-color: var(--light);
    padding: 25px;
    border-radius: var(--border-radius);
    transition: var(--transition);
    border-left: 4px solid var(--green);
    text-align: left;
}

.benefit:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-left-color: var(--red);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 133, 63, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    transition: var(--transition);
}

.benefit:hover .benefit-icon {
    background: rgba(227, 27, 35, 0.1);
    transform: scale(1.1);
}

.benefit-icon i {
    font-size: 1.5rem;
    color: var(--green);
    transition: var(--transition);
}

.benefit:hover .benefit-icon i {
    color: var(--red);
}

.benefit h3 {
    margin-bottom: 10px;
    color: var(--dark);
    font-size: 1.3rem;
}

.benefit p {
    color: var(--text-light);
    line-height: 1.5;
    margin: 0;
}

/* Membership Plans */
.membership-plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 50px 0;
    width: 100%;
}

.plan-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 40px 30px;
    box-shadow: var(--shadow);
    text-align: center;
    position: relative;
    transition: var(--transition);
    border: 2px solid transparent;
}

.plan-card.featured {
    transform: scale(1.05);
    border-color: var(--red);
}

.plan-card.featured:hover {
    transform: scale(1.08);
}

.plan-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.plan-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--red);
    color: var(--white);
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.plan-header h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--dark);
}

.plan-price {
    margin-bottom: 30px;
}

.plan-price .price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--red);
}

.plan-price .currency {
    font-size: 1.5rem;
    vertical-align: super;
    color: var(--text-light);
}

.plan-price .period {
    color: var(--text-light);
    font-size: 1rem;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    text-align: left;
}

.plan-features li {
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 10px;
}

.plan-features li:last-child {
    border-bottom: none;
}

.plan-features i.fa-check {
    color: var(--green);
}

.plan-features i.fa-times {
    color: var(--text-light);
}

.membership-cta {
    text-align: center;
    padding: 40px;
    background: var(--light);
    border-radius: var(--border-radius);
    margin-top: 40px;
    width: 100%;
}

.membership-cta h3 {
    margin-bottom: 15px;
    color: var(--dark);
}

.membership-cta p {
    color: var(--text-light);
    margin-bottom: 25px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* ==========================================================================
   Events Section
   ========================================================================== */

.events {
    background-color: var(--light);
}

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

.event-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.event-image {
    height: 200px;
    background: linear-gradient(135deg, var(--black) 0%, var(--green) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

.event-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(227, 27, 35, 0.3), rgba(0, 133, 63, 0.3));
}

.event-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-image-placeholder {
    position: relative;
    z-index: 1;
    text-align: center;
}

.event-image-placeholder i {
    font-size: 3rem;
    margin-bottom: 10px;
    display: block;
}

.event-date {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--red);
    color: var(--white);
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    z-index: 2;
}

.date-day {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
}

.date-month {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.event-category {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--green);
    color: var(--white);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

.event-content {
    padding: 20px;
}

.event-title {
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.event-title a {
    color: var(--dark);
    text-decoration: none;
    transition: var(--transition);
}

.event-title a:hover {
    color: var(--red);
}

.event-excerpt {
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.5;
}

.event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.event-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.event-meta i {
    color: var(--red);
    font-size: 0.8rem;
}

.event-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* Featured Events */
.featured-events {
    padding: 80px 0;
    background: var(--white);
}

.featured-events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.no-events-message {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-light);
    font-size: 1.1rem;
}

.events-cta {
    text-align: center;
}

/* Past Events */
.past-events {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
}

.past-events-title {
    text-align: center;
    margin-bottom: 30px;
    color: var(--dark);
}

.past-events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.past-event-item {
    background: var(--white);
    padding: 20px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.past-event-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.past-event-item .event-date {
    position: static;
    background: var(--light);
    color: var(--red);
    display: inline-block;
    margin-bottom: 10px;
}

.past-event-item h4 {
    margin-bottom: 15px;
    color: var(--dark);
    font-size: 1.1rem;
}

.event-link {
    color: var(--red);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.event-link:hover {
    color: var(--green);
}

/* ==========================================================================
   Testimonials Section
   ========================================================================== */

.testimonials-section {
    padding: 80px 0;
    background: var(--light);
}

.testimonials-slider,
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border-left: 4px solid var(--red);
    transition: var(--transition);
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.testimonial-content {
    margin-bottom: 25px;
}

.testimonial-text p {
    font-style: italic;
    color: var(--text);
    line-height: 1.6;
    margin-bottom: 15px;
    position: relative;
}

.testimonial-text p::before {
    content: '"';
    font-size: 4rem;
    color: var(--red);
    opacity: 0.2;
    position: absolute;
    top: -20px;
    left: -10px;
    font-family: serif;
    line-height: 1;
}

.testimonial-rating {
    color: var(--gold);
    font-size: 0.9rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.author-avatar .avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    margin-bottom: 5px;
    color: var(--dark);
    font-size: 1.1rem;
}

.author-position,
.author-company {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.3;
}

.author-position {
    font-weight: 600;
}

/* ==========================================================================
   Blog Sections
   ========================================================================== */

/* Blog Header */
.blog-header {
    background: linear-gradient(135deg, var(--black) 0%, var(--green) 100%);
    color: var(--white);
    padding: 100px 0 60px;
    margin-bottom: 60px;
    position: relative;
}

.blog-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,186.7C384,213,480,235,576,213.3C672,192,768,128,864,128C960,128,1056,192,1152,197.3C1248,203,1344,149,1392,122.7L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    background-position: center;
}

.blog-header-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.blog-title {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--white);
}

.blog-description {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 30px;
    line-height: 1.6;
}

.blog-search {
    max-width: 500px;
    margin: 0 auto;
}

.blog-search .search-form {
    position: relative;
}

.blog-search .search-field {
    width: 100%;
    padding: 15px 50px 15px 20px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    backdrop-filter: blur(10px);
}

.blog-search .search-field::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.blog-search .search-submit {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--red);
    color: var(--white);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    transition: var(--transition);
}

.blog-search .search-submit:hover {
    background: #c0161d;
    transform: translateY(-50%) scale(1.1);
}

/* Blog Layout */
.blog-content-area {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 50px;
    align-items: start;
}

.blog-main {
    min-height: 500px;
}

/* Posts Grid */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.post-card,
.blog-post-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.post-card:hover,
.blog-post-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.post-thumbnail {
    position: relative;
    overflow: hidden;
}

.post-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: var(--transition);
}

.post-thumbnail-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.post-thumbnail:hover .post-thumbnail-overlay {
    opacity: 1;
}

.post-thumbnail:hover .post-image {
    transform: scale(1.05);
}

.read-more-text {
    color: var(--white);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.post-categories {
    position: absolute;
    top: 15px;
    left: 15px;
}

.post-categories a {
    background: var(--red);
    color: var(--white);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.post-categories a:hover {
    background: var(--green);
}

.post-content {
    padding: 25px;
}

.post-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
    line-height: 1.4;
}

.post-title a {
    color: var(--dark);
    text-decoration: none;
    transition: var(--transition);
}

.post-title a:hover {
    color: var(--red);
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.post-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.post-meta i {
    font-size: 0.8rem;
    color: var(--red);
}

.post-excerpt {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 20px;
}

.post-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    padding: 8px 20px;
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.tag-link {
    background: var(--light);
    color: var(--text-light);
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 0.8rem;
    text-decoration: none;
    transition: var(--transition);
}

.tag-link:hover {
    background: var(--red);
    color: var(--white);
}

/* Blog Sidebar */
.blog-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-widget {
    background: var(--white);
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

.widget-title {
    font-size: 1.2rem;
    color: var(--dark);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--light);
}

.categories-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.categories-list li {
    margin-bottom: 8px;
}

.categories-list a {
    display: flex;
    justify-content: space-between;
    color: var(--text);
    text-decoration: none;
    padding: 8px 0;
    border-bottom: 1px solid var(--light);
    transition: var(--transition);
}

.categories-list a:hover {
    color: var(--red);
    padding-left: 5px;
}

.category-count {
    background: var(--light);
    color: var(--text-light);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.8rem;
}

.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-cloud-link {
    background: var(--light);
    color: var(--text);
    padding: 5px 10px;
    border-radius: 3px;
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.9rem;
}

.tag-cloud-link:hover {
    background: var(--red);
    color: var(--white);
    transform: translateY(-2px);
}

.subscribe-form .form-control {
    margin-bottom: 15px;
}

/* Latest Blog Section */
.latest-blog {
    padding: 80px 0;
    background: var(--white);
}

.blog-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.no-posts-message {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-light);
    font-size: 1.1rem;
}

.blog-cta {
    text-align: center;
}

/* ==========================================================================
   Partners Section
   ========================================================================== */

.partners-section {
    padding: 80px 0;
    background: var(--light);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.partner-item {
    text-align: center;
    padding: 30px 20px;
    border-radius: var(--border-radius);
    transition: var(--transition);
    background: var(--white);
}

.partner-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.partner-logo {
    width: 80px;
    height: 80px;
    background: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.partner-item:hover .partner-logo {
    background: var(--red);
    color: var(--white);
    transform: scale(1.1);
}

.partner-logo i {
    font-size: 2rem;
}

.partner-item h4 {
    color: var(--dark);
    margin: 0;
    font-size: 1.1rem;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */

.contact {
    background-color: var(--white);
}

.contact-content {
    display: flex;
    gap: 50px;
}

.contact-info {
    flex: 1;
}

.contact-form {
    flex: 1;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(227, 27, 35, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
    transition: var(--transition);
}

.contact-item:hover .contact-icon {
    background-color: rgba(227, 27, 35, 0.2);
    transform: scale(1.1);
}

.contact-icon i {
    font-size: 1.2rem;
    color: var(--red);
}

.contact-details h3 {
    margin-bottom: 5px;
    color: var(--dark);
    font-size: 1.2rem;
}

.contact-details p {
    color: var(--text-light);
    margin: 0;
    line-height: 1.5;
}

.contact-social {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid var(--border);
}

.contact-social h3 {
    margin-bottom: 15px;
    color: var(--dark);
}

.contact-social .social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 45px;
    height: 45px;
    background: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    transition: var(--transition);
    text-decoration: none;
}

.social-link:hover {
    background: var(--red);
    color: var(--white);
    transform: translateY(-3px);
}

/* Contact Form */
.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark);
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border);
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--white);
}

.form-control:focus {
    border-color: var(--red);
    outline: none;
    box-shadow: 0 0 0 3px rgba(227, 27, 35, 0.1);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.form-submit {
    margin-top: 30px;
}

.btn-loading {
    display: none;
}

.form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 5px;
    display: none;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

.contact-map {
    margin-top: 60px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.map-placeholder {
    background: var(--light);
    padding: 80px 40px;
    text-align: center;
    color: var(--text-light);
}

.map-placeholder i {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--red);
}

.map-placeholder h4 {
    margin-bottom: 10px;
    color: var(--dark);
}

/* ==========================================================================
   Newsletter Section
   ========================================================================== */

.newsletter-section {
    background: linear-gradient(135deg, var(--black) 0%, var(--green) 100%);
    color: var(--white);
    padding: 80px 0;
    position: relative;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,186.7C384,213,480,235,576,213.3C672,192,768,128,864,128C960,128,1056,192,1152,197.3C1248,203,1344,149,1392,122.7L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    background-position: center;
}

.newsletter-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.newsletter-text h3 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--white);
}

.newsletter-text p {
    font-size: 1.1rem;
    opacity: 0.9;
    line-height: 1.6;
}

.newsletter-form .form-group {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.newsletter-form .form-control {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    backdrop-filter: blur(10px);
}

.newsletter-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.newsletter-form .btn {
    white-space: nowrap;
    border-radius: 50px;
    padding: 15px 30px;
}

.newsletter-notice {
    font-size: 0.8rem;
    opacity: 0.7;
    margin: 0;
    text-align: center;
}

/* ==========================================================================
   Footer
   ========================================================================== */

footer {
    background: linear-gradient(135deg, var(--black) 0%, var(--green) 100%);
    color: var(--white);
    padding: 70px 0 20px;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,186.7C384,213,480,235,576,213.3C672,192,768,128,864,128C960,128,1056,192,1152,197.3C1248,203,1344,149,1392,122.7L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    background-position: center;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.footer-col h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    color: var(--white);
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--red);
}

.footer-col p {
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
    text-decoration: none;
}

.footer-col ul li a:hover {
    color: var(--gold);
    padding-left: 5px;
}

.footer-social .social-links {
    display: flex;
    gap: 15px;
}

.footer-social .social-link {
    background-color: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

.footer-social .social-link:hover {
    background-color: var(--red);
    color: var(--white);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
}

/* ==========================================================================
   Pagination
   ========================================================================== */

.pagination,
.blog-pagination {
    text-align: center;
    margin-top: 50px;
}

.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    margin: 0 5px;
    border: 2px solid var(--light);
    border-radius: 5px;
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.pagination .page-numbers.current {
    background: var(--red);
    color: var(--white);
    border-color: var(--red);
}

.pagination .page-numbers:hover:not(.current) {
    background: var(--light);
    border-color: var(--red);
    color: var(--red);
}

.pagination .prev,
.pagination .next {
    width: auto;
    padding: 0 20px;
}

/* ==========================================================================
   Page Header
   ========================================================================== */

.page-header {
    padding: 100px 0 60px;
    position: relative;
}

.page-header.with-image {
    color: var(--white);
}

.page-header-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.page-header-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.page-header-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.page-title {
    font-size: 3rem;
    margin-bottom: 20px;
    color: inherit;
}

.page-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

.page-breadcrumb {
    margin-top: 20px;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
    color: inherit;
}

.breadcrumb a {
    color: inherit;
    text-decoration: none;
    opacity: 0.8;
    transition: var(--transition);
}

.breadcrumb a:hover {
    opacity: 1;
}

.breadcrumb .breadcrumb-separator {
    opacity: 0.6;
}

/* ==========================================================================
   No Content/404 Styles
   ========================================================================== */

.no-content {
    padding: 80px 0;
    text-align: center;
}

.no-content-inner {
    max-width: 600px;
    margin: 0 auto;
}

.no-content-icon {
    font-size: 4rem;
    color: var(--light);
    margin-bottom: 30px;
}

.no-content-title {
    margin-bottom: 20px;
    color: var(--dark);
}

.no-content-body {
    margin-bottom: 30px;
}

.no-content-body p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
}

.no-content-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ==========================================================================
   Animations
   ========================================================================== */

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

.stat-number.animated {
    animation: countUp 0.6s ease-out;
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

@media (max-width: 1200px) {
    .container {
        width: 95%;
    }
}

@media (max-width: 992px) {
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .about-content,
    .contact-content {
        flex-direction: column;
    }
    
    .newsletter-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .blog-content-area {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .blog-sidebar {
        position: static;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 15px 0;
    }
    
    nav {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 80%;
        height: calc(100vh - 80px);
        background-color: var(--white);
        transition: var(--transition);
        box-shadow: var(--shadow-lg);
        padding: 30px;
        z-index: 999;
    }
    
    nav.active {
        left: 0;
    }
    
    nav ul {
        flex-direction: column;
        gap: 20px;
    }
    
    .mobile-menu {
        display: block;
    }
    
    .header-language-switcher {
        margin-left: 0;
        margin-top: 20px;
    }
    
    .language-dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: transparent;
    }
    
    .language-link {
        color: var(--text);
        padding: 8px 0;
    }
    
    .hero {
        padding: 150px 0 80px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-btns {
        flex-direction: column;
        align-items: center;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-icon {
        width: 60px;
        height: 60px;
    }
    
    .stat-icon i {
        font-size: 1.5rem;
    }
    
    .membership-plans {
        grid-template-columns: 1fr;
    }
    
    .plan-card.featured {
        transform: none;
    }
    
    .plan-card.featured:hover {
        transform: translateY(-10px);
    }
    
    .featured-events-grid,
    .testimonials-grid,
    .blog-posts-grid {
        grid-template-columns: 1fr;
    }
    
    .posts-grid {
        grid-template-columns: 1fr;
    }
    
    .newsletter-form .form-group {
        flex-direction: column;
    }
    
    .newsletter-text h3 {
        font-size: 2rem;
    }
    
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .feature-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .about-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .post-meta {
        flex-direction: column;
        gap: 8px;
    }
    
    .post-footer {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .pagination .prev,
    .pagination .next {
        padding: 0 15px;
        font-size: 0.9rem;
    }
    
    .partners-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-author {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .no-content-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* ==========================================================================
   RTL Support
   ========================================================================== */

.rtl {
    direction: rtl;
    text-align: right;
}

.rtl .header-container {
    flex-direction: row-reverse;
}

.rtl .logo {
    flex-direction: row-reverse;
}

.rtl .logo-icon {
    margin-right: 0;
    margin-left: 12px;
}

.rtl nav ul {
    flex-direction: row-reverse;
}

.rtl nav ul li {
    margin-left: 0;
    margin-right: 30px;
}

.rtl nav ul li:first-child {
    margin-right: 0;
}

.rtl .hero-btns {
    flex-direction: row-reverse;
}

.rtl .about-content {
    flex-direction: row-reverse;
}

.rtl .contact-content {
    flex-direction: row-reverse;
}

.rtl .benefit {
    border-left: none;
    border-right: 4px solid var(--green);
}

.rtl .benefit:hover {
    border-right-color: var(--red);
}

.rtl .service-card {
    border-top: 4px solid var(--red);
}

.rtl .service-card:hover {
    border-top-color: var(--green);
}

.rtl .contact-icon {
    margin-right: 0;
    margin-left: 15px;
}

.rtl .footer-col h3::after {
    left: auto;
    right: 0;
}

.rtl .social-links {
    flex-direction: row-reverse;
}

.rtl .mobile-menu {
    margin-left: 0;
    margin-right: auto;
}

.rtl .language-dropdown .language-current i {
    margin-left: 0;
    margin-right: 8px;
    transform: rotate(180deg);
}

.rtl .language-dropdown-menu {
    left: auto;
    right: 0;
    text-align: right;
}

.rtl .language-item img {
    margin-right: 0;
    margin-left: 8px;
}

.rtl .form-control {
    text-align: right;
}

.rtl textarea.form-control {
    text-align: right;
}

.rtl .pagination .prev,
.rtl .pagination .next {
    transform: rotate(180deg);
}

.rtl .post-navigation .nav-previous {
    float: right;
}

.rtl .post-navigation .nav-next {
    float: left;
}

.rtl .comments .avatar {
    float: right;
    margin-left: 15px;
    margin-right: 0;
}

.rtl .comment-meta {
    text-align: right;
}

.rtl .widget ul {
    padding-right: 0;
}

.rtl .search-form button {
    left: 0;
    right: auto;
    border-radius: 5px 0 0 5px;
}

.rtl .search-form input {
    padding-left: 50px;
    padding-right: 15px;
}

.rtl .testimonial-text p::before {
    left: auto;
    right: -10px;
}

.rtl .testimonial-card {
    border-left: none;
    border-right: 4px solid var(--red);
}

.rtl .newsletter-form .btn i,
.rtl .read-more i {
    transform: rotate(180deg);
}

.rtl .categories-list a:hover {
    padding-left: 0;
    padding-right: 5px;
}

.rtl .footer-col ul li a:hover {
    padding-left: 0;
    padding-right: 5px;
}

@media (max-width: 768px) {
    .rtl nav {
        left: auto;
        right: -100%;
    }
    
    .rtl nav.active {
        left: auto;
        right: 0;
    }
    
    .rtl .hero-btns {
        flex-direction: column-reverse;
    }
}