/**
 * Jameya Theme - Main Stylesheet
 * Theme for Associations and Non-Profit Organizations
 * Based on act2hf.com design
 */

/* ==========================================================================
   1. BASE STYLES & CSS RESET
   ========================================================================== */

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    height: 100%;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--body-bg-color);
    direction: rtl;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Ensure main content grows to push footer down */
.main-content {
    flex: 1 0 auto;
}

.site-footer {
    margin-top: auto;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    color: var(--heading-color);
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-color-light);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-color-hover);
}

img {
    max-width: 100%;
    height: auto;
}

/* ========================================================================== 
   PDF ATTACHMENT CARD
   ========================================================================== */

.pdf-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    align-items: stretch;
    margin: 16px 0;
}

.pdf-card {
    /* Fallback: if cards are not wrapped in .pdf-cards, keep them side-by-side */
    display: inline-flex;
    vertical-align: top;
    margin: 0 8px 16px;
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    padding: 14px;
    width: min(100%, 320px);
    aspect-ratio: 1 / 1;
    flex-direction: column;
}

.pdf-cards .pdf-card {
    /* When wrapped, let the container control spacing */
    display: flex;
    margin: 0;
    flex: 0 1 320px;
    max-width: 320px;
    width: 100%;
}


.pdf-card__header {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pdf-card__title {
    font-weight: 700;
    color: var(--heading-color);
    margin: 0;
    font-size: 15px;
    line-height: 1.35;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1 1 auto;
    min-width: 0;
}

.pdf-card__download {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color-light);
    color: var(--primary-color);
    flex: 0 0 auto;
}

.pdf-card__download:hover {
    color: var(--primary-color);
}

.pdf-card__download i {
    font-size: 18px;
}

.pdf-card__center {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pdf-card__pdf-icon {
    width: 92px;
    height: 92px;
    border-radius: 16px;
    background-color: var(--primary-color-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.pdf-card__pdf-icon i {
    color: var(--primary-color);
    font-size: 42px;
}

.pdf-card__footer {
    margin-top: 10px;
    display: flex;
    gap: 10px;
}

.pdf-card__view {
    border-radius: 10px;
    padding: 10px 12px;
    font-weight: 700;
    flex: 1 1 0;
}

.pdf-card__download-btn {
    border-radius: 10px;
    padding: 10px 12px;
    font-weight: 700;
    flex: 1 1 0;
}

@media (max-width: 575.98px) {
    .pdf-cards {
        gap: 12px;
    }

    .pdf-card {
        width: 100%;
        display: flex;
        margin: 0 0 12px;
    }
}

/* ==========================================================================
   2. UTILITY CLASSES
   ========================================================================== */

.section-padding {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--section-bg-light) !important;
}

.bg-dark {
    background-color: var(--section-bg-dark) !important;
}

.text-primary {
    color: var(--primary-color) !important;
}

.text-white {
    color: #fff !important;
}

.section-header {
    margin-bottom: 50px;
}

.section-subtitle {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    position: relative;
    padding: 5px 15px;
    background-color: var(--primary-color-light);
    border-radius: 30px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 15px;
}

.section-description {
    font-size: 16px;
    color: var(--text-color-light);
    max-width: 600px;
    margin: 0 auto;
}

.section-footer {
    margin-top: 40px;
}

/* ==========================================================================
   3. BUTTONS
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 30px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 8px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--button-primary-bg);
    color: var(--button-primary-text);
    border-color: var(--button-primary-bg);
}

.btn-primary:hover {
    background-color: var(--primary-color-hover);
    border-color: var(--primary-color-hover);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.btn-secondary {
    background-color: var(--button-secondary-bg);
    color: var(--button-secondary-text);
    border-color: var(--button-secondary-bg);
}

.btn-secondary:hover {
    background-color: var(--secondary-color-hover);
    border-color: var(--secondary-color-hover);
    color: #fff;
}

.btn-outline-primary {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: #fff;
}

.btn-light {
    background-color: #fff;
    color: var(--primary-color);
    border-color: #fff;
}

.btn-light:hover {
    background-color: var(--primary-color-light);
    color: var(--primary-color);
}

.btn-lg {
    padding: 15px 40px;
    font-size: 16px;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 14px;
}

/* ==========================================================================
   4. TOP BAR
   ========================================================================== */

.top-bar {
    background-color: var(--section-bg-dark);
    color: #fff;
    padding: 10px 0;
    font-size: 13px;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.top-bar-contact {
    display: flex;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
}

.top-bar-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.9);
}

.top-bar-item a {
    color: rgba(255,255,255,0.9);
}

.top-bar-item a:hover {
    color: var(--secondary-color);
}

.top-bar-item i {
    color: var(--secondary-color);
}

.top-bar-social {
    display: flex;
    align-items: center;
    gap: 15px;
}

.top-bar-social a {
    color: rgba(255,255,255,0.9);
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.1);
    transition: all 0.3s ease;
}

.top-bar-social a:hover {
    background-color: var(--primary-color);
    color: #fff;
}

/* ==========================================================================
   5. HEADER
   ========================================================================== */

.site-header {
    background-color: var(--header-bg-color);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    position: relative;
    z-index: 1000;
    transition: all 0.3s ease;
}

.site-header.sticky-enabled.sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

.header-logo .logo-img {
    max-height: 60px;
    width: auto;
}

.header-logo .logo-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

.main-navigation .main-menu {
    display: flex;
    align-items: center;
    gap: 5px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-navigation .menu-item {
    position: relative;
}

.main-navigation .menu-item > a {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 10px 18px;
    color: var(--header-text-color);
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.main-navigation .menu-item > a:hover,
.main-navigation .menu-item.active > a {
    color: var(--primary-color);
    background-color: var(--primary-color-light);
}

.main-navigation .menu-item.has-children > a .submenu-indicator {
    font-size: 10px;
    margin-right: 5px;
    transition: transform 0.3s ease;
}

.main-navigation .menu-item.has-children:hover > a .submenu-indicator {
    transform: rotate(180deg);
}

/* Sub Menu */
.main-navigation .sub-menu {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 220px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    padding: 10px 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 100;
}

.main-navigation .menu-item:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.main-navigation .sub-menu .menu-item > a {
    padding: 10px 20px;
    border-radius: 0;
}

.main-navigation .sub-menu .menu-item > a:hover {
    background-color: var(--primary-color-light);
    padding-right: 25px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-btn {
    padding: 10px 25px;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    padding: 10px;
    cursor: pointer;
}

.hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--header-text-color);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active .hamburger span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active .hamburger span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* ==========================================================================
   6. HERO SLIDER
   ========================================================================== */

.hero-slider {
    position: relative;
    overflow: hidden;
}

.hero-swiper {
    width: 100%;
    height: 600px;
}

.hero-slider .swiper-slide {
    position: relative;
    overflow: hidden;
}

.hero-slider .slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1);
    transition: transform 8s ease;
}

.hero-slider .swiper-slide-active .slide-bg {
    transform: scale(1.1);
}

.hero-slider .slide-overlay {
    position: absolute;
    inset: 0;
    /* background: linear-gradient(135deg, rgba(26,95,122,0.9) 0%, rgba(26,26,46,0.8) 100%); */
}

.hero-slider .slide-content {
    position: relative;
    z-index: 10;
    color: #fff;
    text-align: center;
    padding-top: 150px;
}

.hero-slider .slide-title {
    font-size: 48px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-slider .slide-description {
    font-size: 18px;
    color: rgba(255,255,255,0.9);
    max-width: 600px;
    margin: 0 auto 30px;
}

.hero-slider .slide-btn {
    padding: 15px 40px;
}

.hero-slider .swiper-button-next,
.hero-slider .swiper-button-prev {
    color: #fff;
    width: 50px;
    height: 50px;
    background-color: rgba(255,255,255,0.2);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.hero-slider .swiper-button-next:hover,
.hero-slider .swiper-button-prev:hover {
    background-color: var(--primary-color);
}

.hero-slider .swiper-button-next::after,
.hero-slider .swiper-button-prev::after {
    font-size: 18px;
}

.hero-slider .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background-color: rgba(255,255,255,0.5);
    opacity: 1;
}

.hero-slider .swiper-pagination-bullet-active {
    background-color: var(--secondary-color);
    width: 30px;
    border-radius: 10px;
}

/* ==========================================================================
   7. ABOUT SECTION
   ========================================================================== */

.about-section {
    overflow: hidden;
}

.about-image-wrapper {
    position: relative;
    padding: 20px;
}

.about-image {
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    width: 100%;
}

.about-image-placeholder {
    width: 100%;
    height: 400px;
    background-color: var(--primary-color-light);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-image-placeholder i {
    font-size: 80px;
    color: var(--primary-color);
    opacity: 0.3;
}

.about-shape {
    position: absolute;
    border-radius: 20px;
    z-index: -1;
}

.about-shape.shape-1 {
    width: 100%;
    height: 100%;
    background-color: var(--primary-color);
    top: 20px;
    right: 0;
    opacity: 0.1;
}

.about-shape.shape-2 {
    width: 100px;
    height: 100px;
    background-color: var(--secondary-color);
    bottom: 0;
    left: 0;
    border-radius: 50%;
    opacity: 0.3;
}

.about-content {
    padding-right: 40px;
}

.about-description {
    margin-bottom: 25px;
}

.about-stats {
    margin-top: 60px;
    padding: 40px;
    background-color: var(--primary-color);
    border-radius: 20px;
}

.about-stats .stat-item {
    text-align: center;
    color: #fff;
}

.about-stats .stat-number {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 5px;
}

.about-stats .stat-label {
    font-size: 14px;
    opacity: 0.9;
}

/* ==========================================================================
   8. NEWS SECTION
   ========================================================================== */

.news-card {
    background-color: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    margin-bottom: 30px;
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.news-card-image {
    position: relative;
    overflow: hidden;
}

.news-card-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-card-image img {
    transform: scale(1.1);
}

.news-card-date {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--primary-color);
    color: #fff;
    padding: 10px 15px;
    border-radius: 10px;
    text-align: center;
    line-height: 1.2;
}

.news-card-date .day {
    display: block;
    font-size: 22px;
    font-weight: 700;
}

.news-card-date .month {
    display: block;
    font-size: 12px;
    opacity: 0.9;
}

.news-card-content {
    padding: 25px;
}

.news-card-category {
    margin-bottom: 10px;
}

.news-card-category a {
    display: inline-block;
    padding: 5px 12px;
    background-color: var(--primary-color-light);
    color: var(--primary-color);
    font-size: 12px;
    font-weight: 600;
    border-radius: 20px;
}

.news-card-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.4;
}

.news-card-title a {
    color: var(--heading-color);
}

.news-card-title a:hover {
    color: var(--primary-color);
}

.news-card-excerpt {
    font-size: 14px;
    color: var(--text-color-light);
    margin-bottom: 15px;
}

.news-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
}

.news-card-link:hover {
    gap: 12px;
}

/* ==========================================================================
   9. GALLERY SECTION
   ========================================================================== */

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    margin-bottom: 20px;
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(26,95,122,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    font-size: 30px;
    color: #fff;
    transform: scale(0);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay i {
    transform: scale(1);
}

/* ==========================================================================
   10. PARTNERS SECTION
   ========================================================================== */

.partner-item {
    text-align: center;
    padding: 30px 20px;
    background-color: #fff;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.partner-item:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.partner-item img {
    max-height: 80px;
    max-width: 150px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.partner-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

.partner-name {
    font-size: 14px;
    color: var(--text-color-light);
    margin-top: 15px;
    margin-bottom: 0;
}

/* ==========================================================================
   11. SERVICES SECTION
   ========================================================================== */

.service-card {
    background-color: #fff;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.service-image {
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.service-icon i {
    font-size: 28px;
    color: #fff;
}

.service-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
}

.service-description {
    font-size: 14px;
    color: var(--text-color-light);
    margin-bottom: 20px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
}

/* ==========================================================================
   12. STATS/COUNTER SECTION
   ========================================================================== */

.stats-section {
    background-color: var(--primary-color);
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 80px 0;
}

.stats-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26,95,122,0.95) 0%, rgba(26,26,46,0.9) 100%);
}

.stats-section .container {
    position: relative;
    z-index: 1;
}

.stats-section .stat-item {
    padding: 30px;
}

.stats-section .stat-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.stats-section .stat-icon i {
    font-size: 24px;
    color: var(--secondary-color);
}

.stats-section .stat-number {
    font-size: 48px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.stats-section .stat-suffix {
    font-size: 24px;
}

.stats-section .stat-label {
    font-size: 16px;
    color: rgba(255,255,255,0.8);
    margin-top: 10px;
}

/* ==========================================================================
   13. CTA SECTION
   ========================================================================== */

.cta-section {
    position: relative;
    padding: 80px 0;
    background-size: cover;
    background-position: center;
}

.cta-section.style-1 {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.cta-section.style-2 .cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26,95,122,0.9) 0%, rgba(26,26,46,0.85) 100%);
}

.cta-section .container {
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: 36px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 15px;
}

.cta-description {
    font-size: 18px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================================================
   14. TEAM SECTION
   ========================================================================== */

.team-card {
    text-align: center;
    margin-bottom: 30px;
}

.team-image {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    margin-bottom: 20px;
}

.team-image img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-card:hover .team-image img {
    transform: scale(1.1);
}

.team-placeholder {
    width: 100%;
    height: 280px;
    background-color: var(--primary-color-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-placeholder i {
    font-size: 60px;
    color: var(--primary-color);
    opacity: 0.3;
}

.team-social {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    transition: bottom 0.3s ease;
}

.team-card:hover .team-social {
    bottom: 20px;
}

.team-social a {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.team-social a:hover {
    background-color: var(--secondary-color);
}

.team-name {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
}

.team-position {
    font-size: 14px;
    color: var(--primary-color);
    margin-bottom: 0;
}

/* ==========================================================================
   15. TESTIMONIALS SECTION
   ========================================================================== */

.testimonial-card {
    background-color: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.08);
    position: relative;
    margin: 20px 0;
}

.testimonial-quote {
    position: absolute;
    top: 30px;
    left: 30px;
}

.testimonial-quote i {
    font-size: 40px;
    color: var(--primary-color);
    opacity: 0.2;
}

.testimonial-content {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-color-light);
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-rating {
    margin-bottom: 20px;
}

.testimonial-rating i {
    color: #ddd;
    font-size: 14px;
}

.testimonial-rating i.active {
    color: #ffc107;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-name {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 3px;
}

.author-position {
    font-size: 13px;
    color: var(--primary-color);
}

/* ==========================================================================
   16. FAQ SECTION
   ========================================================================== */

.faq-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    background-color: #fff;
    border: none !important;
    border-radius: 10px !important;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.05);
}

.accordion-button {
    font-size: 16px;
    font-weight: 600;
    color: var(--heading-color);
    padding: 20px 25px;
    background-color: #fff;
}

.accordion-button:not(.collapsed) {
    background-color: var(--primary-color-light);
    color: var(--primary-color);
    box-shadow: none;
}

.accordion-button::after {
    background-image: none;
    content: '\f067';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 12px;
    transition: transform 0.3s ease;
}

.accordion-button:not(.collapsed)::after {
    content: '\f068';
    transform: rotate(0deg);
}

.accordion-body {
    padding: 0 25px 20px;
    color: var(--text-color-light);
    line-height: 1.8;
}

/* ==========================================================================
   17. CONTACT SECTION
   ========================================================================== */

.contact-info {
    padding: 30px;
    background-color: var(--primary-color);
    border-radius: 15px;
    height: 100%;
}

.contact-info-item {
    display: flex;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.contact-info-item:last-child {
    border-bottom: none;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 18px;
    color: var(--secondary-color);
}

.contact-details h5 {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255,255,255,0.7);
    margin-bottom: 5px;
}

.contact-details p,
.contact-details a {
    font-size: 15px;
    color: #fff;
    margin-bottom: 0;
}

.contact-details a:hover {
    color: var(--secondary-color);
}

.contact-form-wrapper {
    background-color: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.08);
}

.contact-map {
    margin-top: 50px;
    border-radius: 15px;
    overflow: hidden;
}

.contact-map iframe {
    display: block;
}

/* ==========================================================================
   18. EVENTS SECTION
   ========================================================================== */

.event-card {
    background-color: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 30px rgba(0,0,0,0.08);
    margin-bottom: 30px;
    display: flex;
    transition: all 0.3s ease;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.event-image {
    width: 200px;
    flex-shrink: 0;
    position: relative;
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 180px;
}

.event-date-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--primary-color);
    color: #fff;
    padding: 10px 15px;
    border-radius: 10px;
    text-align: center;
}

.event-date-badge .day {
    display: block;
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
}

.event-date-badge .month {
    display: block;
    font-size: 12px;
}

.event-content {
    padding: 25px;
    flex-grow: 1;
}

.event-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 15px;
}

.event-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-color-light);
}

.event-meta i {
    color: var(--primary-color);
}

.event-description {
    font-size: 14px;
    color: var(--text-color-light);
    margin-bottom: 15px;
}

/* ==========================================================================
   19. DONATION SECTION
   ========================================================================== */

.donation-section {
    position: relative;
    background-color: var(--primary-color);
    background-size: cover;
    background-position: center;
}

.donation-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26,95,122,0.95) 0%, rgba(26,26,46,0.9) 100%);
}

.donation-section .container {
    position: relative;
    z-index: 1;
}

.donation-wrapper {
    background-color: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 50px;
    border-radius: 20px;
}

.donation-amounts {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.donation-amount-btn {
    padding: 12px 25px;
    background-color: rgba(255,255,255,0.1);
    color: #fff;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.donation-amount-btn:hover,
.donation-amount-btn.active {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.custom-amount {
    flex-grow: 1;
    max-width: 200px;
}

.custom-amount input {
    width: 100%;
    padding: 12px 15px;
    background-color: rgba(255,255,255,0.1);
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 10px;
    color: #fff;
    font-size: 16px;
}

.custom-amount input::placeholder {
    color: rgba(255,255,255,0.6);
}

.donation-bank-info {
    background-color: rgba(255,255,255,0.1);
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.donation-bank-info h5 {
    color: #fff;
    font-size: 16px;
    margin-bottom: 15px;
}

.bank-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.bank-item:last-child {
    border-bottom: none;
}

.bank-item .label {
    color: rgba(255,255,255,0.7);
    min-width: 100px;
}

.bank-item .value {
    color: #fff;
    font-weight: 600;
}

.bank-item .copyable {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
}

.bank-item .copyable i {
    color: var(--secondary-color);
    font-size: 12px;
}

.bank-item .copyable:hover {
    color: var(--secondary-color);
}

/* ==========================================================================
   20. FOOTER
   ========================================================================== */

.site-footer {
    background-color: var(--footer-bg-color);
    color: var(--footer-text-color);
}

.footer-main {
    padding: 80px 0 50px;
}

.footer-widget {
    margin-bottom: 30px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo img {
    max-height: 60px;
}

.footer-description {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-supervisor {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: rgba(255,255,255,0.6);
}

.footer-supervisor i {
    color: var(--secondary-color);
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.1);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-widget-title {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.footer-widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 3px;
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu-item {
    margin-bottom: 12px;
}

.footer-menu-item a {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.footer-menu-item a::before {
    content: '\f104';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 10px;
    color: var(--primary-color);
}

.footer-menu-item a:hover {
    color: var(--primary-color);
    padding-right: 10px;
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-list li {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 14px;
    color: rgba(255,255,255,0.7);
}

.contact-list li i {
    color: var(--secondary-color);
    width: 20px;
    text-align: center;
    flex-shrink: 0;
    margin-top: 3px;
}

.contact-list li a {
    color: rgba(255,255,255,0.7);
}

.contact-list li a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 25px 0;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.copyright {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
}

.copyright a {
    color: var(--secondary-color);
}

.registration-number {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
}

/* ==========================================================================
   21. SCROLL TO TOP & WHATSAPP BUTTON
   ========================================================================== */

.scroll-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background-color: var(--primary-color-hover);
    transform: translateY(-5px);
}

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    z-index: 999;
    box-shadow: 0 5px 25px rgba(37,211,102,0.4);
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    color: #fff;
    transform: scale(1.1);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37,211,102,0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37,211,102,0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37,211,102,0);
    }
}

/* ==========================================================================
   22. BREADCRUMB
   ========================================================================== */

.breadcrumb-section {
    position: relative;
    background-color: var(--primary-color);
    background-size: cover;
    background-position: center;
    padding: 80px 0;
}

.breadcrumb-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26,95,122,0.9) 0%, rgba(26,26,46,0.85) 100%);
}

.breadcrumb-section .container {
    position: relative;
    z-index: 1;
}

.breadcrumb-content {
    text-align: center;
}

.breadcrumb-title {
    font-size: 36px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 15px;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
    background: none;
}

.breadcrumb-item {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
}

.breadcrumb-item a {
    color: rgba(255,255,255,0.7);
}

.breadcrumb-item a:hover {
    color: var(--secondary-color);
}

.breadcrumb-item + .breadcrumb-item::before {
    content: '/';
    padding: 0 10px;
    color: rgba(255,255,255,0.5);
}

.breadcrumb-item.active {
    color: var(--secondary-color);
}

/* ==========================================================================
   23. POST STYLES
   ========================================================================== */

.post-header {
    margin-bottom: 30px;
}

.post-categories {
    margin-bottom: 15px;
}

.category-badge {
    display: inline-block;
    padding: 5px 15px;
    background-color: var(--primary-color-light);
    color: var(--primary-color);
    font-size: 12px;
    font-weight: 600;
    border-radius: 20px;
    margin-left: 10px;
}

.post-title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 20px;
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 14px;
    color: var(--text-color-light);
}

.post-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.post-meta i {
    color: var(--primary-color);
}

.post-featured-image {
    margin-bottom: 30px;
    border-radius: 15px;
    overflow: hidden;
}

.post-featured-image img {
    width: 100%;
}

.post-body {
    font-size: 16px;
    line-height: 1.9;
    color: var(--text-color);
}

.post-body h2,
.post-body h3,
.post-body h4 {
    margin-top: 30px;
    margin-bottom: 15px;
}

.post-body img {
    border-radius: 10px;
}

.post-body blockquote {
    background-color: var(--primary-color-light);
    padding: 25px 30px;
    border-right: 4px solid var(--primary-color);
    margin: 30px 0;
    font-style: italic;
}

.post-tags {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.tag-link {
    display: inline-block;
    padding: 5px 15px;
    background-color: var(--section-bg-light);
    color: var(--text-color-light);
    font-size: 13px;
    border-radius: 5px;
    margin-left: 10px;
    margin-top: 5px;
    transition: all 0.3s ease;
}

.tag-link:hover {
    background-color: var(--primary-color);
    color: #fff;
}

.post-share {
    margin-top: 30px;
    padding: 25px;
    background-color: var(--section-bg-light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.share-buttons {
    display: flex;
    gap: 10px;
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.3s ease;
}

.share-btn.facebook { background-color: #3b5998; }
.share-btn.twitter { background-color: #1da1f2; }
.share-btn.whatsapp { background-color: #25d366; }
.share-btn.linkedin { background-color: #0077b5; }

.share-btn:hover {
    transform: translateY(-3px);
    color: #fff;
}

/* ==========================================================================
   24. ERROR PAGE
   ========================================================================== */

.error-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 50px 20px;
    background: linear-gradient(135deg, var(--primary-color-light) 0%, #fff 100%);
}

.error-icon {
    margin-bottom: 30px;
}

.error-icon i {
    font-size: 80px;
    color: var(--primary-color);
    opacity: 0.3;
}

.error-title {
    font-size: 120px;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 20px;
}

.error-subtitle {
    font-size: 28px;
    margin-bottom: 15px;
}

.error-message {
    font-size: 16px;
    color: var(--text-color-light);
    max-width: 500px;
    margin: 0 auto 30px;
}

/* ==========================================================================
   25. RESPONSIVE STYLES
   ========================================================================== */

@media (max-width: 1199px) {
    .hero-swiper {
        height: 500px;
    }
    
    .hero-slider .slide-title {
        font-size: 40px;
    }
    
    .hero-slider .slide-content {
        padding-top: 120px;
    }
}

@media (max-width: 991px) {
    .section-padding {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 30px;
    }
    
    .hero-swiper {
        height: 450px;
    }
    
    .hero-slider .slide-title {
        font-size: 32px;
    }
    
    .hero-slider .slide-description {
        font-size: 16px;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .main-navigation {
        position: fixed;
        top: 0;
        right: -300px;
        width: 300px;
        height: 100vh;
        background-color: #fff;
        box-shadow: -5px 0 30px rgba(0,0,0,0.1);
        padding: 80px 20px 20px;
        transition: right 0.3s ease;
        z-index: 1001;
        overflow-y: auto;
    }
    
    .main-navigation.active {
        right: 0;
    }
    
    .main-navigation .main-menu {
        flex-direction: column;
        gap: 0;
    }
    
    .main-navigation .menu-item > a {
        padding: 15px 0;
        border-bottom: 1px solid #eee;
    }
    
    .main-navigation .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding-right: 20px;
    }
    
    .mobile-menu-overlay {
        position: fixed;
        inset: 0;
        background-color: rgba(0,0,0,0.5);
        z-index: 1000;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .mobile-menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }
    
    .about-content {
        padding-right: 0;
        margin-top: 40px;
    }
    
    .event-card {
        flex-direction: column;
    }
    
    .event-image {
        width: 100%;
    }
}

@media (max-width: 767px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    
    .section-padding {
        padding: 50px 0;
    }
    
    .section-title {
        font-size: 26px;
    }
    
    .top-bar-inner {
        justify-content: center;
    }
    
    .top-bar-contact {
        gap: 15px;
    }
    
    .hero-swiper {
        height: 400px;
    }
    
    .hero-slider .slide-title {
        font-size: 26px;
    }
    
    .hero-slider .slide-description {
        font-size: 14px;
    }
    
    .hero-slider .slide-content {
        padding-top: 100px;
    }
    
    .hero-slider .swiper-button-next,
    .hero-slider .swiper-button-prev {
        display: none;
    }
    
    .about-stats .stat-number {
        font-size: 32px;
    }
    
    .stats-section .stat-number {
        font-size: 36px;
    }
    
    .breadcrumb-title {
        font-size: 28px;
    }
    
    .post-title {
        font-size: 24px;
    }
    
    .error-title {
        font-size: 80px;
    }
    
    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }
    
    .donation-wrapper {
        padding: 30px 20px;
    }
    
    .donation-amount-btn {
        padding: 10px 18px;
        font-size: 14px;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 24px;
        bottom: 20px;
        right: 20px;
    }
    
    .scroll-to-top {
        bottom: 20px;
        left: 20px;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 575px) {
    .section-padding {
        padding: 40px 0;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .btn-lg {
        padding: 12px 30px;
    }
    
    .hero-swiper {
        height: 350px;
    }
    
    .hero-slider .slide-title {
        font-size: 22px;
    }
    
    .service-card,
    .news-card,
    .testimonial-card {
        padding: 20px;
    }
}

/* ==========================================================================
   26. LANGUAGE SWITCHER
   ========================================================================== */

.language-switcher .dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: 1px solid rgba(255,255,255,0.3);
    padding: 5px 12px;
    border-radius: 5px;
    color: inherit;
    font-size: 13px;
    cursor: pointer;
}

.language-switcher .dropdown-toggle img {
    border-radius: 2px;
}

.language-switcher .dropdown-toggle .flag {
    display: inline-block;
    border-radius: 2px;
}

.language-switcher .dropdown-menu {
    min-width: 150px;
}

.language-switcher .dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 15px;
}

.language-switcher .dropdown-item img {
    border-radius: 2px;
}

.language-switcher .dropdown-item .flag {
    display: inline-block;
    border-radius: 2px;
}
