/**
 * Main Stylesheet for South African Muslim Council Website
 * 
 * Theme Colors:
 * - Gold: #d4af37 (Primary) - Pan-African and Islamic harmony
 * - Gold Accent: #b89726 (Secondary) - Pan-African and Islamic harmony
 * - Black: #000000
 * - White: #ffffff
 * - Light Gray: #f8f9fa
 * - Dark Gray: #343a40
 */

/* Global Styles */
:root {
    --primary: #d4af37;
    --primary-dark: #b89726;
    --primary-light: #e6c44d;
    --secondary: #b89726;
    --secondary-dark: #a17b1f;
    --secondary-light: #d4af37;
    --black: #000000;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --dark-gray: #343a40;
    --body-bg: #ffffff;
    --body-color: #212529;
}

body {
    font-family: 'Open Sans', 'Lato', sans-serif;
    background-color: var(--body-bg);
    color: var(--body-color);
    line-height: 1.6;
    position: relative;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Amiri', serif; /* Arabic-style headline font */
    font-weight: 700;
}

a {
    color: var(--primary);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-dark);
    text-decoration: none;
}

.bg-primary {
    background-color: var(--primary) !important;
}

.bg-secondary {
    background-color: var(--secondary) !important;
}

.text-primary {
    color: var(--primary) !important;
}

.text-secondary {
    color: var(--secondary) !important;
}

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

.btn-primary:hover, .btn-primary:focus {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

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

.btn-secondary:hover, .btn-secondary:focus {
    background-color: var(--secondary-dark);
    border-color: var(--secondary-dark);
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline-primary:hover, .btn-outline-primary:focus {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.btn-outline-secondary {
    color: var(--secondary);
    border-color: var(--secondary);
}

.btn-outline-secondary:hover, .btn-outline-secondary:focus {
    background-color: var(--secondary);
    border-color: var(--secondary);
    color: var(--white);
}

/* Top Bar */
.top-bar {
    font-size: 0.8rem;
}

.top-bar .social-links a {
    font-size: 0.9rem;
}

/* Header */
.main-header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 100;
}

.navbar-light .navbar-nav .nav-link {
    color: var(--dark-gray);
    font-weight: 600;
    padding: 0.5rem 1rem;
}

.navbar-light .navbar-nav .nav-link:hover, 
.navbar-light .navbar-nav .nav-item.active .nav-link {
    color: var(--primary);
}

.navbar-light .navbar-nav .dropdown-menu {
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.navbar-light .navbar-nav .dropdown-item:hover, 
.navbar-light .navbar-nav .dropdown-item:focus {
    background-color: var(--primary);
    color: var(--white);
}

.logo-text {
    color: var(--primary);
    font-family: 'Amiri', serif;
    font-size: 1.8rem;
    font-weight: 700;
}

/* Navbar Logo Styles */
.navbar-brand {
    display: flex;
    align-items: center;
    padding: 0.5rem 0;
}

.navbar-logo {
    height: 60px;
    width: auto;
    margin-right: 0;
    object-fit: contain;
    transition: all 0.3s ease;
}

.navbar-logo:hover {
    transform: scale(1.05);
}

.logo-text-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo-text-container .logo-text {
    line-height: 1.2;
    margin-bottom: 2px;
}

.logo-text-container small {
    font-size: 0.75rem;
    line-height: 1;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .navbar-logo {
        height: 45px;
        margin-right: 0;
    }
}

/* Modern Hero Banner */
.hero-banner {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    margin-top: -20px;
}

.hero-slider {
    height: 100%;
    position: relative;
}

.hero-slide {
    height: 100vh;
    min-height: 600px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slide .container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.4) 0%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    text-align: center !important;
    color: #ffffff;
    z-index: 2;
    max-width: 900px;
    width: 100%;
    padding: 2rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-badge {
    display: inline-block;
    background: rgba(212, 175, 55, 0.9);
    color: #000;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-title {
    font-family: 'Amiri', serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
    text-align: center;
    position: relative;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    font-weight: 300;
    text-align: center;
    position: relative;
    line-height: 1.6;
}

.mission-statement {
    background: rgba(0, 0, 0, 0.6);
    border: 2px solid #d4af37;
    padding: 1.5rem 2rem;
    margin: 2rem auto;
    border-radius: 8px;
    font-style: italic;
    font-size: 1.1rem;
    max-width: 700px;
    backdrop-filter: blur(10px);
    text-align: center;
    display: block;
    width: fit-content;
}

.mission-statement i {
    color: #d4af37;
    margin: 0 0.5rem;
}

.hero-buttons {
    margin-top: 2.5rem;
    text-align: center;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-buttons .btn {
    margin: 0.5rem;
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
    border-radius: 30px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.hero-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-family: 'Amiri', serif;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.mission-statement {
    font-size: 1.1rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    border-left: 3px solid var(--primary);
    color: var(--white);
    font-family: 'Amiri', serif;
    line-height: 1.6;
}

.hero-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: var(--primary);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: bold;
    z-index: 3;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    animation: fadeInRight 1s ease-out;
}

/* Hero animations */
@keyframes fadeInUp {
    0% { opacity: 0; transform: translate(-50%, -40%); }
    100% { opacity: 1; transform: translate(-50%, -50%); }
}

@keyframes fadeInRight {
    0% { opacity: 0; transform: translateX(30px); }
    100% { opacity: 1; transform: translateX(0); }
}

@media (max-width: 768px) {
    .hero-section, .hero-slide {
        height: 500px;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* Hero GIF Styles */
.hero-gif {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.hero-gif-image {
    max-width: 100%;
    height: auto;
    max-height: 300px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    opacity: 0.9;
    transition: all 0.3s ease;
}

.hero-gif-image:hover {
    opacity: 1;
    transform: scale(1.05);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.4);
}

/* Responsive adjustments for hero GIF */
@media (max-width: 768px) {
    .hero-gif-image {
        max-height: 200px;
        margin-top: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-gif-image {
        max-height: 150px;
        margin-top: 1.5rem;
    }
}

/* Home page specific hero adjustments */
.min-vh-75 {
    min-height: 75vh;
}

/* Ensure mission statement styling on home page */
.mission-statement {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 10px;
    margin: 2rem 0;
    font-style: italic;
    border-left: 4px solid rgba(255, 255, 255, 0.3);
}

/* Full Background GIF Hero Styles */
.hero-gif-background {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-gif-background .hero-content {
    text-align: center;
    padding: 2rem 0;
}

.hero-gif-background .hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-gif-background .hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-gif-background .mission-statement {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-gif-background .hero-buttons {
    margin-top: 2rem;
}

/* Mobile adjustments for full GIF background */
@media (max-width: 768px) {
    .hero-gif-background {
        min-height: 80vh;
    }
    
    .hero-gif-background .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-gif-background .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-gif-background .mission-statement {
        margin: 1.5rem 0;
        padding: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-gif-background .hero-title {
        font-size: 2rem;
    }
    
    .hero-gif-background .hero-subtitle {
        font-size: 1rem;
    }
}

/* Hero Video Background Styles */
.hero-video-background {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
}

/* Video styles for all screens */
.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}

/* Hero overlay styles */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

/* Hero content styles */
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
}

/* Mobile optimizations - adapt container to video size */
@media (max-width: 768px) {
    .hero-video-background {
        min-height: auto; /* Let container adapt to video */
        height: auto;
        background: transparent; /* No gray background */
        display: block; /* Remove flex to prevent extra space */
    }
    
    .hero-video {
        /* Show full video without cropping on mobile */
        position: relative;
        width: 100%;
        height: auto;
        display: block;
        object-fit: contain;
        object-position: center;
    }
    
    .hero-overlay {
        display: none; /* Hide overlay on mobile for cleaner look */
    }
}

@media (max-width: 576px) {
    .hero-video-background {
        min-height: auto;
        height: auto;
        background: transparent;
    }
}

/* Clean mobile video display - no conflicts */

/* Quick Access Buttons */
.quick-access {
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

.quick-access .card {
    border: none;
    border-radius: 5px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    position: relative;
}

/* Remove any decorative streaks or lines */
.quick-access .card::before,
.quick-access .card::after,
.quick-access .card-body::before,
.quick-access .card-body::after {
    display: none !important;
    content: none !important;
}

/* Ensure clean borders */
.quick-access .card {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    background: #ffffff;
    border-left: none !important;
    border-right: none !important;
    border-top: none !important;
    border-bottom: none !important;
}

/* Remove any potential decorative elements from Bootstrap or other sources */
.quick-access .card *::before,
.quick-access .card *::after {
    display: none !important;
    content: none !important;
}

/* Ensure card body has no decorative elements */
.quick-access .card-body {
    position: relative;
    background: transparent;
    border: none !important;
}

.quick-access .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.quick-access .card-body {
    text-align: center;
    padding: 1.5rem;
    position: relative;
    background: transparent;
    border: none !important;
}

.quick-access .card-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.quick-access .card-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.quick-access-card {
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-radius: 10px;
}

.quick-access-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

/* Donation Projects Section */
.donation-projects {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.project-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.project-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.project-category {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 3;
}

.urgent-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 3;
}

.badge-food-security {
    background-color: #28a745;
    color: white;
}

.badge-education {
    background-color: #007bff;
    color: white;
}

.badge-water-&-sanitation {
    background-color: #17a2b8;
    color: white;
}

.badge-child-welfare {
    background-color: #ffc107;
    color: #212529;
}

.badge-emergency-relief {
    background-color: #dc3545;
    color: white;
}

.badge-healthcare {
    background-color: #6f42c1;
    color: white;
}

.progress-section {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin: 15px 0;
}

.progress-label {
    font-weight: 600;
    color: #495057;
}

.progress-percentage {
    font-weight: 700;
    color: #28a745;
}

.progress {
    height: 8px;
    border-radius: 10px;
    background-color: #e9ecef;
}

.progress-bar {
    border-radius: 10px;
    transition: width 0.6s ease;
}

.project-actions .btn {
    border-radius: 25px;
    font-weight: 600;
    padding: 10px 20px;
    transition: all 0.3s ease;
}

.project-actions .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.section-subtitle {
    color: #6c757d;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* Section Styling */
.section {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary);
}

/* About Preview Section */
.about-preview {
    background-color: var(--light-gray);
    padding: 4rem 0;
}

/* News & Events Section */
.news-card, .event-card {
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card:hover, .event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.news-card .card-img-top, .event-card .card-img-top {
    height: 180px;
    object-fit: cover;
}

.news-card .card-title, .event-card .card-title {
    font-size: 1.1rem;
}

.news-card .date, .event-card .date {
    font-size: 0.8rem;
    color: #6c757d;
}

/* Community Highlights */
.community-highlight {
    margin-bottom: 2rem;
}

.community-card {
    height: 100%;
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

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

.community-card .card-img-top {
    height: 200px;
    object-fit: cover;
}

/* Newsletter Section */
.newsletter-section {
    background-color: var(--primary);
    padding: 3rem 0;
    color: var(--white);
}

.newsletter-section .form-control {
    border-radius: 30px 0 0 30px;
    height: 50px;
}

.newsletter-section .btn {
    border-radius: 0 30px 30px 0;
    height: 50px;
    padding-left: 25px;
    padding-right: 25px;
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

/* Footer Styling */
.footer {
    width: 100%;
    padding-top: 50px;
}

.footer .mini-calendar {
    background-color: rgba(255,255,255,0.1);
    padding: 15px;
    border-radius: 5px;
}

/* Prayer Times Page */
.prayer-times-card {
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    padding: 2rem;
    margin-bottom: 2rem;
}

.prayer-time-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.prayer-time-row:last-child {
    border-bottom: none;
}

.prayer-name {
    font-weight: 600;
}

.prayer-time {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
}

/* Islamic Calendar */
.islamic-calendar {
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    padding: 2rem;
    margin-bottom: 2rem;
}

.calendar-day {
    text-align: center;
    padding: 10px;
    border: 1px solid #eee;
    margin: 2px;
    border-radius: 5px;
}

.calendar-day.special-day {
    background-color: rgba(212, 175, 55, 0.1);
    border-color: var(--primary);
    color: var(--primary);
    font-weight: 600;
}

/* About Page */
.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 100%;
    width: 4px;
    background-color: var(--primary);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
}

.timeline-content {
    padding: 1.5rem;
    background-color: var(--white);
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    position: relative;
    max-width: 45%;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: auto;
}

.timeline-date {
    display: inline-block;
    background-color: var(--primary);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    margin-bottom: 1rem;
    font-weight: 600;
}

/* Community Map */
.interactive-map {
    height: 500px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    margin-bottom: 2rem;
}

.map-filters {
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

/* Resources Page */
.resource-card {
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.resource-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.resource-icon {
    font-size: 2.5rem;
    color: var(--primary);
}

.tag-filter {
    margin: 0 5px 10px 0;
    display: inline-block;
}

/* Fatwa Section */
.fatwa-question {
    background-color: var(--light-gray);
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    position: relative;
}

.fatwa-question::before {
    content: '\f128';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 1rem;
    color: var(--primary);
    background-color: var(--white);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fatwa-answer {
    background-color: rgba(212, 175, 55, 0.05);
    padding: 1.5rem;
    border-radius: 10px;
    margin-left: 2rem;
    border-left: 4px solid var(--primary);
    margin-bottom: 2rem;
    position: relative;
}

.fatwa-answer::before {
    content: '\f129';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 1rem;
    color: var(--white);
    background-color: var(--primary);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Forum Styles */
.forum-category {
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.forum-category:hover {
    transform: translateY(-5px);
}

.forum-category h4 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.forum-topic {
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
}

.forum-topic:last-child {
    border-bottom: none;
}

.forum-reply {
    padding: 1.5rem;
    background-color: var(--light-gray);
    border-radius: 10px;
    margin-bottom: 1rem;
    border-left: 4px solid var(--primary);
}

/* Membership & Donation Pages */
.pricing-table {
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    margin-bottom: 2rem;
}

.pricing-table:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.pricing-header {
    background-color: var(--primary);
    color: var(--white);
    padding: 2rem;
    text-align: center;
}

.pricing-features {
    padding: 2rem;
}

.pricing-features ul {
    list-style-type: none;
    padding-left: 0;
    margin-bottom: 2rem;
}

.pricing-features ul li {
    padding: 5px 0;
    border-bottom: 1px solid #eee;
}

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

.pricing-price {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

/* Zakaat Calculator */
.calculator-form {
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    padding: 2rem;
    margin-bottom: 2rem;
}

.calculator-result {
    background-color: rgba(212, 175, 55, 0.05);
    border-radius: 10px;
    padding: 2rem;
    border: 1px solid var(--primary);
    margin-top: 2rem;
}

.calculator-result .total {
    font-size: 2rem;
    color: var(--primary);
    font-weight: 700;
}

/* Hide elements on mobile */
@media (max-width: 767.98px) {
    .hide-mobile {
        display: none !important;
    }
}

/* Mobile Responsiveness */
@media (max-width: 991.98px) {
    body {
        font-size: 14px;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-content {
        max-width: 100%;
        margin-left: 60px;
    }
    
    .timeline-item:nth-child(odd) .timeline-content {
        margin-left: 60px;
    }
    
    .prayer-time-row {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 767.98px) {
    body {
        font-size: 13px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .quick-access {
        margin-top: 20px;
    }
}

/* Print Styles */
@media print {
    .main-header,
    .top-bar,
    .footer,
    .newsletter-section {
        display: none;
    }
    
    body {
        padding-bottom: 0;
    }
    
    a[href]:after {
        content: none !important;
    }
}

/* Header Search Form Styles */
.header-search-form {
    margin-left: 1rem;
}

.header-search-input {
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px 0 0 20px;
    padding: 0.4rem 0.8rem;
    font-size: 0.9rem;
    width: 180px;
    transition: all 0.3s ease;
}

.header-search-input:focus {
    border-color: var(--secondary);
    background: var(--white);
    box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.25);
    outline: none;
}

.header-search-input::placeholder {
    color: #6c757d;
    font-size: 0.85rem;
}

.header-search-btn {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border: 2px solid var(--primary);
    color: var(--white);
    border-radius: 0 20px 20px 0;
    padding: 0.4rem 0.8rem;
    transition: all 0.3s ease;
    border-left: none;
}

.header-search-btn:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    border-color: var(--primary-dark);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 115, 77, 0.3);
}

.header-search-btn:focus {
    box-shadow: 0 0 0 0.2rem rgba(0, 115, 77, 0.25);
    color: var(--white);
}

/* Responsive Search */
@media (max-width: 991.98px) {
    .header-search-form {
        margin-left: 0;
        margin-top: 0.5rem;
        width: 100%;
    }
    
    .header-search-input {
        width: 100%;
        border-radius: 20px 0 0 20px;
    }
}

@media (max-width: 767.98px) {
    .header-search-input {
        font-size: 0.85rem;
        padding: 0.35rem 0.7rem;
    }
    
    .header-search-btn {
        padding: 0.35rem 0.7rem;
    }
}

/* Mission Statement Section */
.mission-statement {
    background: linear-gradient(135deg, var(--light-gray) 0%, rgba(248, 249, 250, 0.8) 100%);
    position: relative;
    overflow: hidden;
}

.mission-statement::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    opacity: 0.05;
    border-radius: 50%;
    transform: translate(50%, -50%);
}

.mission-content {
    position: relative;
    z-index: 2;
}

.mission-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    box-shadow: 0 3px 10px rgba(0, 115, 77, 0.2);
}

.mission-badge i {
    color: var(--secondary);
}

.mission-statement h2 {
    color: var(--primary);
    font-family: 'Amiri', serif;
    font-weight: 700;
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.mission-text {
    color: var(--dark-gray);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    font-weight: 400;
}

.mission-statement .btn {
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 25px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.mission-statement .btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border: none;
    box-shadow: 0 4px 15px rgba(0, 115, 77, 0.3);
}

.mission-statement .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 115, 77, 0.4);
}

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

.mission-statement .btn-outline-primary:hover {
    background-color: var(--primary);
    color: var(--white);
}

/* Compact Donation Project Cards */
.project-card {
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.project-card .project-image {
    position: relative;
    height: 200px !important;
    overflow: hidden;
    background-color: #f8f9fa;
}

.project-card .project-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.3s ease;
    display: block;
}

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

.project-card .card-body {
    padding: 1rem;
}

.project-card .card-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.project-card .card-text {
    font-size: 0.875rem;
    color: #6c757d;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.project-card .progress-section {
    margin-bottom: 1rem;
}

.project-card .progress {
    height: 6px;
    border-radius: 3px;
}

.project-card .progress-label,
.project-card .progress-percentage {
    font-size: 0.75rem;
    font-weight: 600;
}

.project-card .project-category {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
}

.project-card .urgent-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    animation: pulse 2s infinite;
}

.project-card .urgent-badge .badge {
    background: linear-gradient(45deg, #dc3545, #c82333) !important;
    color: white !important;
    font-weight: 700;
    font-size: 0.8rem;
    padding: 8px 16px;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid rgba(255, 255, 255, 0.9);
}

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

.project-card .btn {
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .project-card .project-image {
        height: 180px !important;
    }
    
    .project-card .card-title {
        font-size: 0.95rem;
    }
    
    .project-card .card-text {
        font-size: 0.8rem;
    }
    
    .project-card .urgent-badge .badge {
        font-size: 0.7rem;
        padding: 6px 12px;
    }
}

@media (max-width: 576px) {
    .project-card .project-image {
        height: 160px !important;
    }
}

/* Modern News Page Styles */
.news-hero {
    min-height: 400px;
    display: flex;
    align-items: center;
}

.news-hero .hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.section-badge {
    display: inline-block;
    background: linear-gradient(45deg, var(--primary), var(--primary-light));
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto;
}

/* Premium News Cards */
.featured-news-premium {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
}

.featured-news-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23000" opacity="0.02"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>') repeat;
    pointer-events: none;
}

.premium-badge {
    display: inline-block;
    background: linear-gradient(45deg, var(--primary), var(--primary-light));
    color: white;
    padding: 10px 24px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    margin-bottom: 1.5rem;
}

.premium-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--dark-gray);
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.premium-subtitle {
    font-size: 1.2rem;
    color: #6c757d;
    max-width: 650px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.premium-news-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.premium-news-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.premium-news-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.premium-news-card:hover::before {
    opacity: 1;
}

.card-header-premium {
    padding: 1.5rem 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.category-tag {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.category-events {
    background: linear-gradient(45deg, #e74c3c, #c0392b);
    color: white;
}

.category-community {
    background: linear-gradient(45deg, #3498db, #2980b9);
    color: white;
}

.category-education {
    background: linear-gradient(45deg, #2ecc71, #27ae60);
    color: white;
}

.category-youth {
    background: linear-gradient(45deg, #9b59b6, #8e44ad);
    color: white;
}

.category-halal {
    background: linear-gradient(45deg, #f39c12, #e67e22);
    color: white;
}

.category-interfaith {
    background: linear-gradient(45deg, #1abc9c, #16a085);
    color: white;
}

.news-date {
    background: var(--light-gray);
    color: var(--primary);
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.card-body-premium {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.premium-news-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 1rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.premium-news-excerpt {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-meta-premium {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: var(--light-gray);
    border-radius: 12px;
}

.author-info, .reading-time {
    display: flex;
    align-items: center;
    color: #6c757d;
    font-size: 0.85rem;
    font-weight: 500;
}

.premium-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.premium-tag {
    background: linear-gradient(45deg, var(--primary), var(--primary-light));
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-footer-premium {
    padding: 0 1.5rem 1.5rem;
}

.premium-read-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 12px 20px;
    background: linear-gradient(45deg, var(--primary), var(--primary-dark));
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.premium-read-btn:hover {
    background: linear-gradient(45deg, var(--primary-dark), var(--primary));
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.premium-read-btn i {
    transition: transform 0.3s ease;
}

.premium-read-btn:hover i {
    transform: translateX(5px);
}

/* Modern News Cards (Latest Updates Section) */
.modern-news-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
    border: 2px solid #e9ecef;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.modern-news-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--primary);
}

.modern-card-header {
    padding: 1.25rem 1.25rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.category-modern {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-date-small {
    background: var(--light-gray);
    color: var(--primary);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
}

.modern-card-body {
    padding: 1.25rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.modern-news-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 0.75rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.modern-news-excerpt {
    color: #6c757d;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.modern-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    padding: 0.5rem;
    background: rgba(248, 249, 250, 0.8);
    border-radius: 10px;
}

.author-small, .read-time-small {
    display: flex;
    align-items: center;
    color: #6c757d;
    font-size: 0.8rem;
    font-weight: 500;
}

.modern-tags-small {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
    margin-bottom: 0.75rem;
}

.tag-small {
    background: linear-gradient(45deg, var(--primary), var(--primary-light));
    color: white;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.modern-card-footer {
    padding: 0 1.25rem 1.25rem;
}

.modern-read-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 10px 16px;
    background: linear-gradient(45deg, var(--secondary), var(--secondary-light));
    color: white;
    text-decoration: none;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    box-shadow: 0 3px 12px rgba(0, 115, 77, 0.3);
}

.modern-read-btn:hover {
    background: linear-gradient(45deg, var(--secondary-dark), var(--secondary));
    color: white;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 5px 16px rgba(0, 115, 77, 0.4);
}

.modern-read-btn i {
    transition: transform 0.3s ease;
}

.modern-read-btn:hover i {
    transform: translateX(3px);
}

/* Responsive adjustments for modern cards */
@media (max-width: 768px) {
    .modern-card-body {
        padding: 1rem;
    }
    
    .modern-news-title {
        font-size: 1rem;
    }
    
    .modern-news-excerpt {
        font-size: 0.85rem;
    }
}

/* Premium Events Cards */
.events-hero {
    min-height: 400px;
    display: flex;
    align-items: center;
}

.events-hero .hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.premium-event-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.premium-event-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary), var(--secondary-light));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.premium-event-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.premium-event-card:hover::before {
    opacity: 1;
}

.event-card-header {
    padding: 1.5rem 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.event-date-premium {
    position: relative;
}

.date-circle {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 115, 77, 0.3);
}

.date-circle .day {
    font-size: 1.4rem;
    font-weight: 800;
    line-height: 1;
}

.date-circle .month {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.event-category-premium {
    margin-top: 5px;
}

.category-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--dark-gray);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.event-card-body {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.premium-event-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 1rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.premium-event-excerpt {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.event-meta-premium {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding: 1rem;
    background: var(--light-gray);
    border-radius: 12px;
}

.event-meta-premium .meta-item {
    display: flex;
    align-items: center;
    color: #6c757d;
    font-size: 0.85rem;
    font-weight: 500;
}

.event-organizer {
    display: flex;
    align-items: center;
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.event-card-footer {
    padding: 0 1.5rem 1.5rem;
}

.event-actions {
    display: flex;
    gap: 0.75rem;
}

.premium-event-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 12px 16px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.premium-event-btn.primary {
    background: linear-gradient(45deg, var(--secondary), var(--secondary-light));
    color: white;
    box-shadow: 0 4px 15px rgba(0, 115, 77, 0.3);
}

.premium-event-btn.primary:hover {
    background: linear-gradient(45deg, var(--secondary-dark), var(--secondary));
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 115, 77, 0.4);
}

.premium-event-btn.secondary {
    background: linear-gradient(45deg, var(--primary), var(--primary-light));
    color: white;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.premium-event-btn.secondary:hover {
    background: linear-gradient(45deg, var(--primary-dark), var(--primary));
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.premium-event-btn i {
    transition: transform 0.3s ease;
}

.premium-event-btn:hover i {
    transform: translateX(3px);
}

/* Responsive adjustments for events */
@media (max-width: 768px) {
    .events-hero {
        min-height: 300px;
        text-align: center;
    }
    
    .event-card-header {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .date-circle {
        width: 60px;
        height: 60px;
    }
    
    .date-circle .day {
        font-size: 1.2rem;
    }
    
    .event-card-body {
        padding: 1rem;
    }
    
    .premium-event-title {
        font-size: 1.1rem;
    }
    
    .event-actions {
        flex-direction: column;
    }
}

/* Modern Filter Sidebar */
.modern-filter-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    margin-bottom: 2rem;
}

.filter-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    padding: 1.5rem;
    text-align: center;
}

.filter-header h5 {
    margin: 0;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

.filter-body {
    padding: 1.5rem;
}

.filter-group {
    margin-bottom: 1.5rem;
}

.filter-group label {
    display: block;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.modern-select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    background: white;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23666"><path d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 20px;
}

.modern-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.modern-filter-btn {
    width: 100%;
    padding: 12px 20px;
    background: linear-gradient(45deg, var(--secondary), var(--secondary-light));
    color: white;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 115, 77, 0.3);
}

.modern-filter-btn:hover {
    background: linear-gradient(45deg, var(--secondary-dark), var(--secondary));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 115, 77, 0.4);
}

/* Modern Calendar Sync Card */
.modern-calendar-card {
    background: linear-gradient(135deg, var(--light-gray), white);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.calendar-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.calendar-header i {
    font-size: 1.5rem;
    color: var(--primary);
}

.calendar-header h5 {
    margin: 0;
    color: var(--dark-gray);
    font-weight: 600;
}

.modern-calendar-card p {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.calendar-sync-buttons {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}

.sync-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 8px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    flex: 1;
    max-width: 70px;
}

.sync-btn.google {
    background: rgba(219, 68, 55, 0.1);
    color: #db4437;
}

.sync-btn.apple {
    background: rgba(0, 0, 0, 0.1);
    color: #333;
}

.sync-btn.outlook {
    background: rgba(0, 120, 215, 0.1);
    color: #0078d7;
}

.sync-btn:hover {
    transform: translateY(-2px);
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.sync-btn.google:hover {
    background: rgba(219, 68, 55, 0.2);
    color: #db4437;
}

.sync-btn.apple:hover {
    background: rgba(0, 0, 0, 0.2);
    color: #333;
}

.sync-btn.outlook:hover {
    background: rgba(0, 120, 215, 0.2);
    color: #0078d7;
}

.sync-btn i {
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
}

.sync-btn span {
    font-size: 0.7rem;
    font-weight: 600;
}

/* Modern Events List */
.modern-event-list-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.modern-event-list-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.event-list-header {
    padding: 1.5rem 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.event-date-modern {
    flex-shrink: 0;
}

.date-display {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
    color: white;
    padding: 1rem;
    border-radius: 12px;
    text-align: center;
    min-width: 80px;
    box-shadow: 0 4px 15px rgba(0, 115, 77, 0.3);
}

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

.date-display .month {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 0.25rem;
}

.date-display .year {
    display: block;
    font-size: 0.7rem;
    opacity: 0.8;
    margin-top: 0.25rem;
}

.event-category-modern {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
}

.category-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--dark-gray);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.registration-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: 600;
    background: linear-gradient(45deg, var(--primary), var(--primary-light));
    color: white;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
}

.event-list-body {
    padding: 1.5rem;
}

.modern-event-list-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.modern-event-list-excerpt {
    color: #6c757d;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.event-meta-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.meta-list-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #6c757d;
    font-size: 0.9rem;
    font-weight: 500;
}

.meta-list-item i {
    color: var(--primary);
    width: 16px;
    text-align: center;
}

.event-list-footer {
    padding: 0 1.5rem 1.5rem;
}

.event-list-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.modern-event-list-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 10px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modern-event-list-btn.primary {
    background: linear-gradient(45deg, var(--secondary), var(--secondary-light));
    color: white;
    box-shadow: 0 3px 12px rgba(0, 115, 77, 0.3);
    flex: 1;
}

.modern-event-list-btn.primary:hover {
    background: linear-gradient(45deg, var(--secondary-dark), var(--secondary));
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 5px 16px rgba(0, 115, 77, 0.4);
}

.modern-event-list-btn.secondary {
    background: linear-gradient(45deg, var(--primary), var(--primary-light));
    color: white;
    box-shadow: 0 3px 12px rgba(212, 175, 55, 0.3);
    flex: 1;
}

.modern-event-list-btn.secondary:hover {
    background: linear-gradient(45deg, var(--primary-dark), var(--primary));
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 16px rgba(212, 175, 55, 0.4);
}

.modern-event-list-btn.tertiary {
    background: rgba(108, 117, 125, 0.1);
    color: #6c757d;
    width: 40px;
    height: 40px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
}

.modern-event-list-btn.tertiary:hover {
    background: rgba(108, 117, 125, 0.2);
    color: #495057;
    transform: translateY(-2px);
}

.modern-dropdown {
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border: none;
    padding: 0.5rem 0;
}

.modern-dropdown .dropdown-item {
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.modern-dropdown .dropdown-item:hover {
    background: var(--light-gray);
    color: var(--dark-gray);
}

/* Responsive adjustments for events list */
@media (max-width: 768px) {
    .event-list-header {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        text-align: center;
    }
    
    .event-category-modern {
        align-items: center;
    }
    
    .event-meta-list {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .event-list-actions {
        flex-direction: column;
    }
    
    .modern-event-list-btn {
        width: 100%;
        justify-content: center;
    }
    
    .calendar-sync-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .sync-btn {
        flex-direction: row;
        max-width: none;
        padding: 12px 16px;
    }
    
    .sync-btn i {
        margin-bottom: 0;
        margin-right: 0.5rem;
    }
}

/* Modal Event Cards */
.modern-events-modal-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.modal-event-card {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.modal-event-card:hover {
    border-color: var(--primary);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.modal-event-header {
    padding: 1rem 1rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-category-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--dark-gray);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.modal-event-time {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
}

.modal-event-body {
    padding: 1rem;
}

.modal-event-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.modal-event-description {
    color: #6c757d;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.modal-event-location {
    display: flex;
    align-items: center;
    color: var(--secondary);
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.modal-event-footer {
    padding: 0 1rem 1rem;
    display: flex;
    gap: 0.75rem;
}

.modal-event-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 10px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-event-btn.primary {
    background: linear-gradient(45deg, var(--secondary), var(--secondary-light));
    color: white;
    box-shadow: 0 3px 12px rgba(0, 115, 77, 0.3);
}

.modal-event-btn.primary:hover {
    background: linear-gradient(45deg, var(--secondary-dark), var(--secondary));
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 5px 16px rgba(0, 115, 77, 0.4);
}

.modal-event-btn.secondary {
    background: linear-gradient(45deg, var(--primary), var(--primary-light));
    color: white;
    box-shadow: 0 3px 12px rgba(212, 175, 55, 0.3);
}

.modal-event-btn.secondary:hover {
    background: linear-gradient(45deg, var(--primary-dark), var(--primary));
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 16px rgba(212, 175, 55, 0.4);
}

/* Responsive modal events */
@media (max-width: 768px) {
    .modal-event-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .modal-event-footer {
        flex-direction: column;
    }
    
    .modal-event-btn {
        width: 100%;
    }
}

.news-image-placeholder {
    height: 200px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-icon {
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.3);
}

.news-category-modern {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 2;
}

.news-category-modern .badge {
    background: rgba(255, 255, 255, 0.9) !important;
    color: var(--dark-gray) !important;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-content {
    padding: 1.5rem;
}

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

.meta-item {
    color: #6c757d;
    font-size: 0.85rem;
    font-weight: 500;
}

.news-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.news-excerpt {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.news-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.news-tags .tag {
    background: var(--light-gray);
    color: var(--primary);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-decoration: none;
}

.btn-read-more {
    display: inline-flex;
    align-items: center;
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-read-more:hover {
    color: var(--primary-dark);
    text-decoration: none;
    transform: translateX(5px);
}

.btn-read-more i {
    transition: transform 0.3s ease;
}

.btn-read-more:hover i {
    transform: translateX(3px);
}

/* Responsive adjustments for news */
@media (max-width: 768px) {
    .news-hero {
        min-height: 300px;
        text-align: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .news-image-placeholder {
        height: 160px;
    }
    
    .news-content {
        padding: 1rem;
    }
    
    .news-title {
        font-size: 1.1rem;
    }
}

/* Responsive adjustments for mission statement */
@media (max-width: 991.98px) {
    .mission-statement h2 {
        font-size: 2rem;
    }
    
    .mission-text {
        font-size: 1rem;
    }
    
    .mission-statement .btn {
        display: block;
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .mission-statement .btn.ml-2 {
        margin-left: 0 !important;
    }
}

@media (max-width: 767.98px) {
    .mission-statement {
        padding: 3rem 0;
    }
    
    .mission-statement h2 {
        font-size: 1.8rem;
    }
    
    .mission-badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
}
