/* CSS Custom Properties (Variables) for Theme Colors */
:root {
    /* Primary Colors */
    --primary-color: #4a90e2;
    --primary-light: #7cb9e8;
    --primary-dark: #357abd;
    --primary-transparent: rgba(74, 144, 226, 0.1);
    --primary-light-transparent: rgba(124, 185, 232, 0.1);
    
    /* Secondary Colors */
    --secondary-color: #ff6b6b;
    --secondary-light: #ff8a80;
    --secondary-dark: #ff5252;
    
    /* Text Colors */
    --text-primary: #333;
    --text-secondary: #666;
    --text-light: #999;
    --text-dark: #2c3e50;
    --text-white: #ffffff;
    
    /* Background Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-tertiary: #e9ecef;
    --bg-dark: #2c3e50;
    
    /* Border Colors */
    --border-light: #e1e8ed;
    --border-primary: var(--primary-color);
    --border-white: rgba(255, 255, 255, 0.2);
    
    /* Shadow Colors */
    --shadow-light: rgba(0, 0, 0, 0.08);
    --shadow-medium: rgba(0, 0, 0, 0.15);
    --shadow-dark: rgba(0, 0, 0, 0.3);
    --shadow-primary: rgba(74, 144, 226, 0.3);
    --shadow-secondary: rgba(255, 107, 107, 0.25);
    --shadow-secondary-35: rgba(255, 107, 107, 0.35);
    --shadow-secondary-40: rgba(255, 107, 107, 0.4);
    --shadow-secondary-20: rgba(255, 107, 107, 0.2);
    
    /* Overlay Colors */
    --overlay-light: rgba(255, 255, 255, 0.1);
    --overlay-medium: rgba(255, 255, 255, 0.2);
    --overlay-white-30: rgba(255, 255, 255, 0.3);
    --overlay-white-80: rgba(255, 255, 255, 0.8);
    --overlay-white-90: rgba(255, 255, 255, 0.9);
    --overlay-dark: rgba(0, 0, 0, 0.5);
    --overlay-dark-70: rgba(0, 0, 0, 0.7);
    --overlay-darker: rgba(0, 0, 0, 0.8);
    --overlay-darkest: rgba(0, 0, 0, 0.9);
    --overlay-black-10: rgba(0, 0, 0, 0.1);
    --overlay-black-05: rgba(0, 0, 0, 0.05);
    
    /* Gradient Colors */
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    --gradient-secondary: linear-gradient(135deg, #5dade2 0%, #85c1e9 100%);
    --gradient-light-blue: linear-gradient(135deg, #5dade2 0%, #85c1e9 100%);
    --gradient-overlay: linear-gradient(to bottom, transparent 0%, var(--overlay-black-10) 30%, var(--overlay-darker) 100%);
    
    /* Success/Error Colors */
    --success-color: #28a745;
    --error-color: var(--secondary-color);
    --warning-color: #ffc107;
    --info-color: var(--primary-color);
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

/* Header */
.header {
    background: var(--gradient-primary);
    color: var(--text-white);
    box-shadow: 0 2px 5px var(--shadow-light);
    position: relative;
    z-index: 10;
}

/* Header Top Section */
.header-top {
    background: var(--overlay-light);
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--border-white);
    min-height: 80px;
}

.header-top-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    min-height: inherit;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-image {
    width: 90px;
    height: 90px;
    border-radius: 8px;
    object-fit: cover;
}

.logo-text h1 {
    font-size: 1.3rem;
    font-weight: bold;
    margin: 0;
    line-height: 1.1;
}

.logo-text .ministry-line {
    font-size: 1.0rem;
    font-weight: 400;
    color: var(--text-color);
    opacity: 0.8;
    line-height: 1.2;
    margin-bottom: 0.2rem;
}

.logo-text .main-title {
    font-size: 1.2rem;
    font-weight: bold;
    margin: 0;
    line-height: 1.1;
    color: inherit;
}

/* Show full text by default, hide abbreviated */
.logo-text-abbreviated {
    display: none;
}

.logo-text-full {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

/* Switch to abbreviated text on smaller screens where space is limited */
@media (max-width: 1130px) {
    .logo-text-full {
        display: none;
    }
    
    .logo-text-abbreviated {
        display: block;
    }
}

.logo-text p {
    font-size: 0.8rem;
    margin: 0;
    opacity: 0.9;
    font-weight: 300;
}

.header-contact {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    flex-wrap: nowrap;
}

.contact-info-header {
    display: flex;
    gap: 1.5rem;
}

.contact-item-header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.9rem;
    padding: 0.8rem 0.8rem;
    background: var(--overlay-light);
    border-radius: 20px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.contact-item-header:hover {
    background: var(--overlay-medium);
    transform: translateY(-1px);
}

.contact-item-header i {
    font-size: 1.2rem;
    color: var(--overlay-white-80);
    min-width: 20px;
}

.contact-item-header div {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.contact-item-header span {
    font-size: 0.65rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1px;
}

.contact-item-header a {
    color: var(--text-white);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.8rem;
    transition: opacity 0.3s;
}

.contact-item-header a:hover {
    opacity: 0.8;
}

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

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--overlay-light);
    border-radius: 50%;
    color: var(--text-white);
    text-decoration: none;
    transition: all 0.3s;
    font-size: 0.85rem;
}

.social-link:hover {
    background: var(--overlay-medium);
    transform: translateY(-2px);
}

/* Donate Section */
.donate-section {
    margin-left: 0.8rem;
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.donate-btn, .audio-btn, .lyrics-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--secondary-color);
    color: var(--text-white);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px var(--shadow-secondary);
    position: relative;
}

.donate-btn:hover, .audio-btn:hover, .lyrics-btn:hover {
    background: var(--secondary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px var(--shadow-secondary-35);
}

.donate-btn i {
    font-size: 1.1rem;
    animation: heartbeat 2s ease-in-out infinite;
}

.audio-btn {
    background: var(--primary-color);
    box-shadow: 0 2px 8px var(--shadow-primary);
}

.audio-btn:hover {
    background: var(--primary-dark);
    box-shadow: 0 4px 15px var(--shadow-primary);
}

.audio-btn i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.lyrics-btn {
    background: var(--info-color);
    box-shadow: 0 2px 8px rgba(74, 144, 226, 0.3);
}

.lyrics-btn:hover {
    background: var(--primary-dark);
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.4);
}

.lyrics-btn i {
    font-size: 0.9rem;
}

.donate-btn span, .audio-btn span, .lyrics-btn span {
    display: none;
}

@keyframes heartbeat {
    0%, 50%, 100% { transform: scale(1); }
    25%, 75% { transform: scale(1.1); }
}

/* Language Selector */
.language-selector {
    position: relative;
    display: inline-block;
    margin-left: 1rem;
}

.language-toggle {
    background: var(--overlay-white-30);
    border: 1px solid var(--border-white);
    color: var(--text-white);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    min-width: 60px;
    justify-content: space-between;
}

.language-toggle:hover {
    background: var(--overlay-white-80);
    color: var(--text-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow-medium);
}

.language-toggle i:first-child {
    font-size: 1rem;
    color: var(--primary-color);
}

.language-toggle i:last-child {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.language-selector.active .language-toggle i:last-child {
    transform: rotate(180deg);
}

.language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    box-shadow: 0 8px 24px var(--shadow-medium);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    min-width: 150px;
    overflow: hidden;
}

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

.language-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--border-light);
}

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

.language-option:hover {
    background: var(--primary-transparent);
    color: var(--primary-color);
}

.language-option.active {
    background: var(--primary-color);
    color: var(--text-white);
}

.language-option.active:hover {
    background: var(--primary-dark);
}

.language-option .flag {
    font-size: 1.2rem;
    min-width: 20px;
}

.language-option .name {
    flex: 1;
    font-weight: 500;
}

.language-option i {
    font-size: 0.9rem;
    color: var(--primary-color);
}

.language-option.active i {
    color: var(--text-white);
}

/* Navigation Section */
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 2rem;
    min-height: 50px;
    position: relative;
}

.logo-mobile {
    display: none;
    align-items: center;
    font-size: 1.2rem;
    font-weight: bold;
    position: absolute;
    left: 2rem;
    min-width: 0;
}

.logo-mobile i {
    margin-right: 0.5rem;
    font-size: 1.8rem;
    flex-shrink: 0;
}

.logo-mobile span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    color: var(--text-white);
    text-decoration: none;
    transition: opacity 0.3s;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
}

.nav-menu a:hover {
    opacity: 0.8;
}

/* Dropdown styles */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
}

.dropdown-toggle i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

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

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-primary);
    min-width: 220px;
    border-radius: 8px;
    box-shadow: 0 4px 20px var(--shadow-medium);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    padding: 0.5rem 0;
    list-style: none;
}

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

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    color: var(--text-primary);
    padding: 0.75rem 1.5rem;
    display: block;
    transition: background-color 0.3s ease;
    border-radius: 0;
}

.dropdown-menu a:hover {
    background-color: var(--bg-secondary);
    opacity: 1;
}

/* Nested dropdown styles */
.dropdown-nested {
    position: relative;
}

.dropdown-toggle-nested {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.dropdown-toggle-nested i {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.dropdown-nested:hover .dropdown-toggle-nested i {
    transform: rotate(90deg);
}

.dropdown-menu-nested {
    position: absolute;
    top: 0;
    left: 100%;
    background: var(--bg-primary);
    min-width: 200px;
    border-radius: 8px;
    box-shadow: 0 4px 20px var(--shadow-medium);
    opacity: 0;
    visibility: hidden;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
    padding: 0.5rem 0;
    list-style: none;
    margin: 0;
}

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

.dropdown-menu-nested li {
    margin: 0;
}

.dropdown-menu-nested a {
    color: var(--text-primary);
    padding: 0.75rem 1.5rem;
    display: block;
    transition: background-color 0.3s ease;
    border-radius: 0;
}

.dropdown-menu-nested a:hover {
    background-color: var(--bg-secondary);
    opacity: 1;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-white);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.mobile-menu-btn:hover {
    background-color: var(--overlay-light);
}

/* Hero Section - Updated for slideshow */

.cta-button {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--text-white);
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: transform 0.3s, box-shadow 0.3s;
    animation: pulse 2s infinite;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--shadow-secondary-40);
    animation: none;
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
    box-sizing: border-box;
}

.container h2 {
    text-align: center;
}

/* Services Section */
.services {
    padding: 4rem 0;
    background: var(--bg-secondary);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 3rem;
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.service-card {
    background: var(--bg-primary);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px var(--shadow-light);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    flex: 0 0 300px;
    min-width: 350px;
    max-width: 400px;
}

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

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

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px var(--shadow-medium);
    text-decoration: none;
    color: inherit;
}

.service-card h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.service-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.service-card:hover h3,
.service-card:hover p {
    color: inherit;
}

.service-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    position: relative; /* Added for logo overlay positioning */
}

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

/* Logo overlay for service images */
.service-image::after {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    width: 40px;
    height: 40px;
    background-image: url('images/logo.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    padding: 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    z-index: 2;
    transition: all 0.3s ease;
}

.service-card:hover .service-image::after {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

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

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.mobile-action-buttons {
    display: none;
}

/* Hide mobile action row in desktop mode */
.mobile-action-row {
    display: none;
}

/* Services Grid Responsive Styles */
@media (max-width: 930px) {
    .service-card {
        flex: 0 0 280px;
        min-width: 280px;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .services-grid {
        justify-content: center;
    }
    
    .service-card {
        flex: 0 0 100%;
        min-width: 0;
        max-width: 350px;
        margin: 0 auto;
    }
}

/* About Section */
.about {
    padding: 4rem 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 450px; /* Updated to match the new image width */
    gap: 3rem;
    align-items: stretch; /* Changed from center to stretch to ensure equal heights */
}

.about-left {
    display: flex;
    min-height: 400px;
}

/* About Tabs */
.about-tabs {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
    min-width: 180px;
    background: var(--bg-secondary);
    border: 2px solid var(--border-light);
    border-right: none;
    border-radius: 15px 0 0 15px;
    padding: 2rem 1rem;
    align-self: stretch; /* Match the height of the text container */
}

.about-tab-btn {
    background: transparent;
    border: none;
    color: var(--text-primary);
    padding: 1.2rem 1.5rem;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 8px;
    position: relative;
    text-align: left;
    display: flex;
    align-items: center;
}

.about-tab-btn:hover {
    background: var(--primary-light-transparent);
    color: var(--primary-color);
    transform: translateX(5px);
}

.about-tab-btn.active {
    background: var(--bg-primary);
    color: var(--primary-color);
    box-shadow: 0 2px 8px var(--shadow-light);
}

/* About Text Container */
.about-text-container {
    flex: 1;
    background: var(--bg-primary);
    border: 2px solid var(--border-light);
    border-left: none;
    border-radius: 0 15px 15px 0;
    padding: 2rem;
    min-height: 400px;
    display: flex;
    align-items: center;
    box-shadow: 0 5px 15px var(--shadow-light);
    margin-left: -2px; /* Overlap to create seamless connection */
}

.about-text {
    font-size: 1.2rem;
    line-height: 1.8;
    width: 100%;
}

.about-text p {
    text-align: justify;
}

/* About Tab Content */
.about-tab-content {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.about-tab-content.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.about-image {
    border-radius: 15px;
    width: 450px; /* Increased from 400px */
    height: 338px; /* Increased proportionally to maintain 4:3 aspect ratio (450 * 3/4 = 337.5) */
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow-light);
    position: relative;
    justify-self: center;
    align-self: center;
}

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

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

@media (max-width: 768px) {

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-left {
        flex-direction: column;
        min-height: auto;
    }
    
    .about-tabs {
        flex-direction: column;
        gap: 0.3rem;
        padding: 0.8rem;
    }
    
    .about-tab-btn {
        padding: 0.6rem 0.8rem;
        font-size: 0.85rem;
        margin-bottom: 0.2rem;
    }
    
    .about-text-container {
        padding: 1rem;
        min-height: 250px;
    }
    
    .about-text {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    .about-image {
        height: 200px;
        max-width: 350px;
    }
}

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

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item h3 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

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

/* Gallery Section */
.gallery {
    padding: 4rem 0;
    background: var(--bg-secondary);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.gallery-categories {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

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

.filter-btn {
    background: var(--bg-primary);
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: var(--text-white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--shadow-primary);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
    justify-content: center;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 5px 15px var(--shadow-light);
    transition: all 0.3s ease;
    background: var(--bg-primary);
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px var(--shadow-medium);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item video {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
    cursor: pointer;
}

/* Video playing state */
.gallery-item video:not([muted]) {
    box-shadow: 0 0 20px rgba(74, 144, 226, 0.5);
}

/* Video loading state */
.gallery-item video:not([poster]) {
    background: #f0f0f0;
    background-image: 
        linear-gradient(45deg, transparent 35%, rgba(255,255,255,.5) 35%, rgba(255,255,255,.5) 65%, transparent 65%),
        linear-gradient(-45deg, transparent 35%, rgba(0,0,0,.1) 35%, rgba(0,0,0,.1) 65%, transparent 65%);
    background-size: 20px 20px;
}

/* Video play icon overlay */
.gallery-item[data-type="video"] {
    position: relative;
}

.gallery-item[data-type="video"]::after {
    content: '\f04b'; /* FontAwesome play icon */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    color: white;
    background: var(--overlay-dark);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    opacity: 0.9;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    text-align: justify;
    line-height: 60px;
}

.gallery-item[data-type="video"]:hover::after {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
    background: var(--primary-color);
}

/* YouTube video styling */
.gallery-item[data-type="youtube"] {
    position: relative;
}

.gallery-item[data-type="youtube"]:hover::after {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
    background: #cc0000;
}

.gallery-item:hover img,
.gallery-item:hover video {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-overlay);
    color: var(--text-white);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.overlay-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--overlay-white-30);
    border: 2px solid var(--text-white);
    color: var(--text-white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.gallery-item:hover .overlay-icon {
    transform: translate(-50%, -50%) scale(1.1);
    background: var(--overlay-white-50);
}

.gallery-overlay h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-white);
    z-index: 2;
    position: relative;
}

.gallery-overlay p {
    font-size: 0.9rem;
    color: var(--overlay-white-90);
    line-height: 1.4;
    z-index: 2;
    position: relative;
}

.gallery-expand {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--overlay-medium);
    border: none;
    color: var(--text-white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.gallery-expand:hover {
    background: var(--overlay-white-30);
    transform: scale(1.1);
}

.gallery-expand i {
    font-size: 1rem;
}

/* Gallery Modal */
.gallery-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
}

.gallery-modal.active {
    display: flex;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--overlay-darkest);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    background: var(--bg-primary);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 60px var(--shadow-dark);
    display: flex;
    flex-direction: column;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--overlay-dark);
    border: none;
    color: var(--text-white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1001;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.modal-close:hover {
    background: var(--overlay-dark-70);
    transform: scale(1.1);
}

.modal-image-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #000;
    min-height: 300px;
}

.modal-image-container img {
    width: 100%;
    max-height: 80vh;
    object-fit: contain;
    transition: opacity 0.3s ease;
}

.modal-image-container video {
    width: 100%;
    height: 60vh;
    object-fit: contain;
    background: #000;
}

.modal-image-container iframe {
    width: 80vw;
    height: 60vh;
    border: none;
    background: #000;
}

/* Video controls styling */
.modal-image-container video::-webkit-media-controls-panel {
    background-color: rgba(0, 0, 0, 0.8);
}

.modal-image-container video::-webkit-media-controls-play-button,
.modal-image-container video::-webkit-media-controls-volume-slider,
.modal-image-container video::-webkit-media-controls-timeline {
    filter: brightness(1.2);
}

/* Video responsive adjustments */
@media (max-width: 768px) {
    .modal-image-container video,
    .modal-image-container iframe {
        height: 40vh;
    }
}

.modal-info {
    padding: 2rem;
    background: var(--bg-primary);
}

.modal-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.modal-info p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--overlay-dark);
    border: none;
    color: var(--text-white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    z-index: 1001;
}

.modal-prev {
    left: 1rem;
}

.modal-next {
    right: 1rem;
}

.modal-nav:hover {
    background: var(--overlay-dark-70);
    transform: translateY(-50%) scale(1.1);
}

.modal-nav i {
    font-size: 1.2rem;
}

.modal-nav-btn {
    background: var(--overlay-dark);
    border: none;
    color: var(--text-white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    pointer-events: all;
}

.modal-nav-btn:hover {
    background: var(--overlay-dark-70);
    transform: scale(1.1);
}

.modal-nav-btn i {
    font-size: 1.2rem;
}

/* Gallery Responsive */
@media (max-width: 930px) {
    .gallery-filters {
        justify-content: center;
        gap: 0.5rem;
    }
    
    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1rem;
        margin: 0 auto;
        padding: 0;
        justify-content: center;
    }
    
    .gallery-item img {
        height: 200px;
    }
    
    .gallery-item video {
        height: 200px;
    }
    
    .modal-content {
        max-width: 95vw;
        max-height: 95vh;
    }
    
    .modal-image-container img {
        max-height: 50vh;
    }
    
    .modal-image-container video {
        height: 50vh;
    }
    
    .video-controls {
        padding: 0.5rem;
        gap: 0.5rem;
    }
    
    .video-control-btn {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .video-time {
        font-size: 0.8rem;
    }
    
    .modal-info {
        padding: 1rem;
    }
    
    .modal-nav {
        padding: 0 0.5rem;
    }
    
    .modal-nav-btn {
        width: 40px;
        height: 40px;
    }
}

/* Contact Section */
.contact {
    padding: 4rem 0;
    background: var(--bg-secondary);
}

.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
    align-items: start;
}

.contact-form-container {
    grid-column: 1 / -1;
    width: 100%; /* Full width to match contact grid */
}

.contact-info {
    background: var(--bg-primary);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px var(--shadow-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 464px; /* Match map container height: 400px + 32px padding + 32px heading space */
    display: flex;
    flex-direction: column;
}

.contact-info:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px var(--shadow-medium);
}

/* Contact items grid layout */
.contact-items-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    flex: 1; /* Take up remaining space */
    align-content: start;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: 10px;
    transition: background-color 0.3s ease;
}

.contact-item:hover {
    background: var(--bg-tertiary);
}

.contact-item.full-width {
    grid-column: 1 / -1;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 1rem;
    min-width: 30px;
    margin-top: 0.2rem;
}

.contact-form {
    background: var(--bg-primary);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px var(--shadow-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    /* max-width: 1000px; */
    margin: 0 auto;
}

.contact-form:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px var(--shadow-medium);
}

.contact-map {
    background: var(--bg-primary);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px var(--shadow-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 464px; /* Match contact info height */
    display: flex;
    flex-direction: column;
}

.contact-map:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px var(--shadow-medium);
}

.map-container {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px var(--shadow-light);
    transition: box-shadow 0.3s ease;
}

.map-container:hover {
    box-shadow: 0 6px 20px var(--shadow-medium);
}

.map-container iframe {
    width: 100%;
    height: 100%;
}

.map-directions {
    margin-top: 1.5rem;
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: 10px;
}

.map-directions h4 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.map-directions ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.map-directions li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    font-size: 0.9rem;
}

.map-directions li:last-child {
    margin-bottom: 0;
}

.map-directions i {
    color: var(--primary-color);
    margin-right: 0.5rem;
    min-width: 20px;
}

.form-group {
    margin-bottom: 1rem;
}

/* Form row layout for horizontal arrangement */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.form-row .form-group {
    margin-bottom: 0;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border-light);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group select {
    cursor: pointer;
    background-color: var(--bg-primary);
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
    padding-right: 2.5rem;
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

.submit-btn {
    background: var(--primary-color);
    color: var(--text-white);
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    min-width: 200px;
    position: relative;
    overflow: hidden;
}

.submit-btn:hover:not(:disabled) {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow-primary);
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.submit-btn i {
    margin-right: 0.5rem;
}

/* Enhanced form styles */
.form-group input.error,
.form-group textarea.error {
    border-color: var(--error-color);
    box-shadow: 0 0 0 2px var(--shadow-secondary-20);
}

.error-message {
    color: var(--error-color);
    font-size: 0.9rem;
    margin-top: 0.25rem;
    display: block;
}

/* Footer Analytics Stats (integrated in footer) */
.footer-stats {
    margin-top: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
}

.stats-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.stats-title {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stats-item {
    color: var(--text-white);
    font-size: 0.75rem;
}

.stats-item strong {
    color: var(--primary-light);
    font-weight: 600;
}

.stats-separator {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
}

@media (max-width: 768px) {
    .footer-stats {
        margin-top: 0.75rem;
        padding-top: 0.5rem;
    }
    
    .stats-content {
        flex-direction: column;
        gap: 0.25rem;
    }
    
    .stats-separator {
        display: none;
    }
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: var(--text-white);
    padding: 1rem 0;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.footer-main {
    margin-bottom: 0.25rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    align-items: center;
}

.footer-links a {
    color: var(--text-white);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.footer-links a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--primary-light);
}

.footer-link-btn {
    background: none;
    border: none;
    color: var(--text-white);
    cursor: pointer;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-family: inherit;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-link-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--primary-light);
    text-decoration: none;
}

.footer-link-btn i {
    font-size: 0.8rem;
}

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

/* Subpage Styles */
.main-content {
    min-height: calc(100vh - 200px);
}

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

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.content-section {
    padding: 4rem 0;
    background: var(--bg-secondary);
}

.content-wrapper {
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px var(--overlay-black-10);
    margin: 0 auto;
    width: 100%;
}

.content-wrapper h2 {
    color: #333;
    margin-bottom: 2rem;
    font-size: 2rem;
    border-bottom: 3px solid var(--primary-color);
    padding-bottom: 1rem;
}

.content-wrapper p {
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #666;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s, transform 0.6s;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Hero Slideshow */
.hero {
    min-height: 50vh;
    position: relative;
    overflow: hidden;
    width: 100%;
    display: block;
}

.hero-slideshow {
    position: relative;
    height: 100%;
    min-height: 65vh;   
    width: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 40vh;
    background: var(--gradient-light-blue);
    display: flex;
    align-items: center;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    padding: 4rem 0;
}

.slide.active {
    opacity: 1;
}

.slide-content {
    flex: 1;
    color: white;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    gap: 4rem;
    z-index: 2;
    position: relative;
    width: 100%;
    height: auto;
}

.slide-text {
    flex: 1;
}

.slide-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.slide-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.slide-image {
    flex: 0 0 450px;
    height: 350px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    position: relative;
    margin-right: 2rem;
}

.slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    transition: transform 0.3s ease;
    /* Prevent layout shift during image loading */
    aspect-ratio: 1.3;
    background: var(--bg-secondary);
}

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

.slideshow-nav {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
}

.slide-btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid white;
    background: transparent;
    cursor: pointer;
    transition: background 0.3s;
}

.slide-btn.active,
.slide-btn:hover {
    background: white;
}

/* Hero Section Responsive Styles */
@media (min-width: 1400px) {
    .slide-content {
        max-width: 1300px;
        gap: 5rem;
    }
    
    .slide-image {
        flex: 0 0 500px;
        height: 400px;
    }
    
    .slide-content h1 {
        font-size: 3.5rem;
    }
    
    .slide-content p {
        font-size: 1.3rem;
    }
}

@media (max-width: 1200px) {
    .slide-content {
        gap: 2rem;
        padding: 0 1.5rem;
    }
    
    .slide-image {
        flex: 0 0 380px;
        height: 300px;
        margin-right: 1rem;
    }
    
    .slide-content h1 {
        font-size: 2.5rem;
    }
    
    .slide-content p {
        font-size: 1.1rem;
    }
}

@media (max-width: 930px) {
    .hero {
        min-height: 60vh;
    }
    
    .hero-slideshow {
        min-height: 60vh;
    }
    
    .slide {
        min-height: 40vh;
        padding: 2rem 0;
    }
    
    .slide-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
        padding: 0 1rem;
        max-width: 100%;
    }
    
    .slide-text {
        order: 2;
    }
    
    .slide-image {
        order: 1;
        flex: none;
        width: 100%;
        max-width: 400px;
        height: 250px;
        margin: 0 auto;
    }
    
    .slide-content h1 {
        font-size: 2.2rem;
        margin-bottom: 1rem;
        text-align: center;
    }
    
    .slide-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
        display: block !important;
        margin: 0 auto !important;
        text-align: center;
        width: fit-content;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 50vh;
    }
    
    .hero-slideshow {
        min-height: 50vh;
    }
    
    .slide {
        min-height: 40vh;
        padding: 1.5rem 0;
    }
    
    .slide-content {
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .slide-image {
        max-width: 320px;
        height: 200px;
    }
    
    .slide-text h1 {
        font-size: 1.8rem;
        line-height: 1.3;
        margin-bottom: 0.8rem;
        text-align: center;
    }
    
    .slide-content p {
        font-size: 0.95rem;
        margin-bottom: 1.2rem;
        line-height: 1.5;
    }
    
    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
        display: block !important;
        margin: 0 auto !important;
        text-align: center;
        width: fit-content;
    }
    
    .slideshow-nav {
        bottom: 1rem;
        gap: 0.8rem;
    }
    
    .slide-btn {
        width: 10px;
        height: 10px;
        border-width: 1.5px;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 45vh;
    }
    
    .hero-slideshow {
        min-height: 45vh;
    }
    
    .slide {
        min-height: 40vh;
        padding: 1rem 0;
    }
    
    .slide-content {
        gap: 1rem;
        padding: 0 0.8rem;
    }
    
    .slide-image {
        max-width: 280px;
        height: 180px;
        border-radius: 10px;
    }
    
    .slide-content h1 {
        font-size: 1.5rem;
        line-height: 1.4;
        margin-bottom: 0.6rem;
        text-align: center;
    }
    
    .slide-content p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
        line-height: 1.4;
    }
    
    .cta-button {
        padding: 0.7rem 1.2rem;
        font-size: 0.85rem;
        border-radius: 6px;
        display: block !important;
        margin: 0 auto !important;
        text-align: center;
        width: fit-content;
    }
    
    .slideshow-nav {
        bottom: 0.8rem;
        gap: 0.6rem;
    }
    
    .slide-btn {
        width: 8px;
        height: 8px;
        border-width: 1px;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .slide-btn {
        width: 16px;
        height: 16px;
        border-width: 2px;
    }
    
    .slideshow-nav {
        gap: 1.2rem;
        padding: 1rem;
        background: rgba(0, 0, 0, 0.3);
        border-radius: 25px;
        backdrop-filter: blur(10px);
    }
    
    .slide-image:hover img {
        transform: none; /* Disable hover effects on touch devices */
    }
    
    .cta-button {
        min-height: 44px; /* Ensure minimum touch target size */
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}

/* Landscape orientation on mobile */
@media (max-width: 930px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
    }
    
    .hero-slideshow {
        min-height: 100vh;
    }
    
    .slide {
        min-height: 100vh;
        padding: 1rem 0;
    }
    
    .slide-content {
        flex-direction: row;
        text-align: left;
        gap: 2rem;
    }
    
    .slide-text {
        order: 1;
        flex: 1;
    }
    
    .slide-image {
        order: 2;
        flex: 0 0 300px;
        height: 220px;
        margin: 0;
    }
    
    .slide-content h1 {
        font-size: 1.8rem;
    }
    
    .slide-content p {
        font-size: 0.9rem;
    }
    
    /* About section - force mobile layout in landscape */
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-left {
        flex-direction: column;
        min-height: auto;
    }
    
    .about-tabs {
        flex-direction: row;
        justify-content: center;
        gap: 0.5rem;
        padding: 1rem;
        border-radius: 15px;
        border-right: 2px solid var(--border-light);
        min-width: auto;
    }
    
    .about-tab-btn {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
        margin-bottom: 0;
        flex: 1;
        text-align: center;
    }
    
    .about-text-container {
        padding: 1.5rem;
        min-height: 200px;
        border-radius: 0 0 15px 15px;
        border-left: 2px solid var(--border-light);
        margin-left: 0;
    }
    
    .about-text {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .about-image {
        height: 200px;
        max-width: 350px;
        width: 100%;
        margin: 0 auto;
    }
}

@media (max-width: 360px) {
    .slide-content h1 {
        font-size: 1.3rem;
    }
    
    .slide-content p {
        font-size: 0.85rem;
    }
    
    .slide-image {
        max-width: 250px;
        height: 160px;
    }
    
    .cta-button {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
        display: block !important;
        margin: 0 auto !important;
        text-align: center;
        width: fit-content;
    }
}

/* Programs Section */
.programs {
    padding: 4rem 0;
    background: var(--bg-secondary);
}

.programs-slideshow {
    position: relative;
    margin: 3rem 0;
    min-height: 400px;
}

.program-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.program-slide.active {
    opacity: 1;
}

.program-content {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 3rem;
    min-height: 400px;
}

.program-image {
    flex: 1;
    max-width: 45%;
}

.program-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.program-image img:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.program-info {
    flex: 1;
    text-align: justify;
}

.program-icon {
    width: 60px;
    height: 60px;
    margin: 0 0 1.5rem 0;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    animation: float 3s ease-in-out infinite;
}

.program-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.program-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.program-content ul {
    list-style: none;
    max-width: 600px;
    margin: 0 auto;
}

.program-content li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 2rem;
}

.program-content li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.programs-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.program-btn {
    padding: 0.8rem 2rem;
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: bold;
}

.program-btn.active,
.program-btn:hover {
    background: var(--primary-color);
    color: white;
}

/* Mobile responsive for programs */
@media (max-width: 930px) {
    .program-content {
        flex-direction: column;
        text-align: justify;
        gap: 2rem;
    }
    
    .program-image {
        max-width: 100%;
    }
    
    .program-image img {
        height: 200px;
    }
    
    .program-info {
        text-align: justify;
    }
    
    .program-icon {
        margin: 0 auto 1.5rem;
    }
    
    /* Keep hero slideshow navigation controls at original size */
    .slideshow-nav {
        bottom: 2rem;
        gap: 1rem;
        padding: 0.5rem;
        z-index: 1;
    }
    
    .slide-btn {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        border: 2px solid white;
        background: transparent;
        cursor: pointer;
        transition: background 0.3s ease;
        touch-action: manipulation;
    }
    
    .slide-btn.active,
    .slide-btn:hover {
        background: white;
    }
    
    .slide-btn:focus {
        outline: 2px solid rgba(255, 255, 255, 0.8);
        outline-offset: 2px;
    }
}

/* Testimonials Section */
.testimonials {
    padding: 4rem 0;
    background: var(--gradient-light-blue);
    color: white;
}

.testimonials-slideshow {
    position: relative;
    margin: 3rem 0;
    min-height: 350px;
}

.testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.testimonial-slide.active {
    opacity: 1;
}

.testimonial-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.quote-icon {
    font-size: 3rem;
    margin-bottom: 2rem;
    opacity: 0.7;
}

.testimonial-content p {
    font-size: 1.3rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-author {
    margin-top: 2rem;
}

.testimonial-author strong {
    display: block;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.testimonial-author span {
    opacity: 0.8;
    font-size: 0.9rem;
}

.testimonials-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 3rem;
}

.testimonial-btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid white;
    background: transparent;
    cursor: pointer;
    transition: background 0.3s;
}

.testimonial-btn.active,
.testimonial-btn:hover {
    background: white;
}

/* Partners Section */
.partners {
    padding: 4rem 0;
    background: var(--bg-secondary);
    overflow: hidden;
}

.partners-slider {
    margin-top: 3rem;
    position: relative;
    overflow: hidden;
    width: 100%;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 20px;
    padding: 1rem 0;
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}

.partners-track {
    display: flex;
    align-items: center;
    gap: 5rem;
    animation: partnersSlide 35s linear infinite;
    width: max-content;
}

.partners-track:hover {
    animation-play-state: paused;
}

.partner-slide {
    flex-shrink: 0;
    width: 280px;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, opacity 0.3s ease;
    text-decoration: none;
    cursor: pointer;
    opacity: 0.85;
    padding: 15px;
}

.partner-slide:hover {
    transform: scale(1.15);
    text-decoration: none;
    opacity: 1;
}

.partner-slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: all 0.3s ease;
    filter: grayscale(10%) brightness(0.95);
}

.partner-slide:hover img {
    filter: grayscale(0%) brightness(1);
}

@keyframes partnersSlide {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .partners-slider {
        padding: 0.8rem 0;
    }
    
    .partners-track {
        gap: 3.5rem;
        animation: partnersSlide 28s linear infinite;
    }
    
    .partner-slide {
        width: 220px;
        height: 130px;
        padding: 12px;
    }
}

@media (max-width: 480px) {
    .partners-slider {
        padding: 0.6rem 0;
        border-radius: 15px;
    }
    
    .partners-track {
        gap: 3rem;
        animation: partnersSlide 22s linear infinite;
    }
    
    .partner-slide {
        width: 180px;
        height: 110px;
        padding: 10px;
    }
}

/* Float animation for icons */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Accessibility */
.skip-links {
    position: absolute;
    top: -40px;
    left: 6px;
    z-index: 1000;
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--bg-dark);
    color: white;
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 6px;
}

/* Enhanced loading states */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.5s ease-out;
}

.loading-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid var(--bg-tertiary);
    border-top: 5px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Quick fix for subpages - hide loading overlay faster */
body:not(.index-page) .loading-overlay {
    animation: hideLoading 0.5s ease-out 0.1s forwards;
}

@keyframes hideLoading {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
        pointer-events: none;
    }
}

/* Improved mobile responsiveness */
@media (max-width: 480px) {
    .slide-content h1 {
        font-size: 1.8rem;
    }
    
    .slide-content p {
        font-size: 1rem;
    }
    
    .program-content {
        padding: 2rem 1rem;
    }
    
    .testimonial-content p {
        font-size: 1rem;
    }
}

/* Extra large header styles for desktop */
@media (min-width: 1200px) {
    .header-top-container {
        padding: 0;
    }
    
    .logo-text h1 {
        font-size: 1.2rem;
    }
    
    .contact-info-header {
        gap: 3rem;
    }
    
    .nav-container {
        padding: 0 3rem;
    }
}

/* Print styles */
@media print {
    .slideshow-nav,
    .programs-nav,
    .testimonials-nav,
    .mobile-menu-btn {
        display: none;
    }
    
    .slide:not(.active) {
        display: none;
    }
    
    .hero {
        background: none;
        color: black;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-form-container {
        grid-column: 1;
    }

    .contact-items-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .form-row .form-group {
        margin-bottom: 1rem;
    }
}

/* Header expand button for mobile */
.header-expand-btn {
    display: none;
    position: absolute;
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
    background: var(--overlay-light);
    border: none;
    color: var(--text-white);
    width: 32px;
    height: 32px;
        border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 20;
    }

    .header-expand-btn:hover {
    background: var(--overlay-medium);
    transform: translateY(-50%) scale(1.1);
}

.header-expand-btn i {
        font-size: 0.9rem;
        transition: transform 0.3s ease;
}

.header-expand-btn.expanded i {
    transform: rotate(180deg);
    }

    @media (max-width: 930px) {
    /* Header responsive styles - Hide collapsible header completely on mobile */
    .header-top {
        display: none;
    }
    
    .header-expand-btn {
        display: none;
    }
    
    .logo-text h1 {
        font-size: 1.2rem;
    }
    
    .logo-text p {
        font-size: 0.8rem;
    }
    
    .header-contact {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        }
    
    .contact-info-header {
        justify-content: center;
        gap: 1.5rem;
        flex-wrap: wrap;
    }
    
    .contact-item-header {
        font-size: 0.85rem;
        padding: 0.4rem 0.8rem;
        gap: 0.5rem;
        }
    
    .contact-item-header i {
        font-size: 1.2rem;
        min-width: 20px;
    }
    
    .contact-item-header span {
        font-size: 0.65rem;
    }

    .contact-item-header a {
        font-size: 0.8rem;
    }
    
    .social-links {
        justify-content: center;
        gap: 0.3rem;
    }
    
    .social-link {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }
    
    .donate-section {
        margin: 0;
        gap: 0.3rem;
    }

    .donate-btn, .audio-btn, .lyrics-btn {
        width: 36px;
        height: 36px;
    }
    
    .donate-btn i, .audio-btn i, .lyrics-btn i {
        font-size: 1rem;
    }
    
    /* Language selector responsive styles */
    .language-selector {
        display: block; /* Show on mobile */
        margin-left: 0.5rem;
}

    .language-toggle {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
        min-width: 100px;
    }
    
    .language-dropdown {
        right: 0;
        min-width: 120px;
    }
    
    .language-option {
        padding: 0.6rem 0.8rem;
        font-size: 0.85rem;
}

    /* Navigation responsive styles */
    .nav-container {
        padding: 0 1rem;
        position: relative;
        min-height: 45px;
    }
    
    .logo-mobile {
    display: flex;
        font-size: 1rem;
        position: absolute;
        left: 1rem;
        top: 50%;
        transform: translateY(-50%);
        min-width: 0;
    align-items: center;
    }
    
    .logo-mobile .logo-mobile-image {
        width: 40px;
        height: 40px;
        border-radius: 6px;
        object-fit: cover;
        margin-right: 0.5rem;
        flex-shrink: 0;
}

    .logo-mobile i {
        font-size: 1.5rem;
        margin-right: 0.5rem;
        flex-shrink: 0;
        display: none; /* Hide heart icon on mobile */
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--primary-color);
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 2px 5px var(--shadow-light);
        z-index: 100;
        gap: 0;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu a {
        padding: 0.75rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    /* Mobile dropdown styles */
    .dropdown-menu {
        position: static;
        background: rgba(255, 255, 255, 0.1);
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        margin-top: 0;
    padding: 0;
        display: none;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    .dropdown-menu a {
        color: rgba(255, 255, 255, 0.9);
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .dropdown-menu a:hover {
        background-color: rgba(255, 255, 255, 0.1);
    }

    /* Mobile nested dropdown styles */
    .dropdown-menu-nested {
        position: static;
        background: rgba(255, 255, 255, 0.15);
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
    margin: 0;
        padding: 0;
        display: none;
        left: 0;
        top: auto;
        width: calc(100% - 1rem); /* Prevent overflow beyond parent */
        max-width: 100%;
        border-radius: 0;
        margin-left: 1rem;
        border-left: 2px solid rgba(255, 255, 255, 0.2);
        overflow: hidden; /* Prevent text overflow */
    }

    .dropdown-nested.active .dropdown-menu-nested {
        display: block;
    }

    .dropdown-menu-nested a {
        color: rgba(255, 255, 255, 0.85);
        padding: 0.4rem 1.5rem;
        font-size: 0.85rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.03);
        word-wrap: break-word;
        overflow-wrap: break-word;
        white-space: normal;
        line-height: 1.4;
    }

    .dropdown-menu-nested a:hover {
        background-color: rgba(255, 255, 255, 0.1);
    }

    .dropdown-toggle-nested i {
        transform: rotate(90deg);
    }

    .dropdown-nested.active .dropdown-toggle-nested i {
        transform: rotate(-90deg);
    }

    .dropdown-toggle i {
        margin-left: auto;
    }

    .mobile-menu-btn {
        display: flex;
        flex-shrink: 0;
        position: absolute;
        right: 1rem;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1001;
    }
    
    /* Mobile action buttons container */
    .mobile-action-buttons {
        display: flex;
        gap: 0.5rem;
        align-items: center;
        position: absolute;
        right: 4rem;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .mobile-action-buttons .donate-btn,
    .mobile-action-buttons .audio-btn,
    .mobile-action-buttons .lyrics-btn {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Mobile language selector in action buttons */
    .mobile-action-buttons .language-selector {
        margin-left: 0;
    position: relative;
    }
    
    .mobile-action-buttons .language-toggle {
        width: 32px;
        height: 32px;
        min-width: 32px;
        padding: 0;
        font-size: 0.7rem;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0;
    }
    
    .mobile-action-buttons .language-toggle .current-lang {
    font-weight: bold;
        text-transform: uppercase;
    }
    
    .mobile-action-buttons .language-toggle i {
        display: none; /* Hide chevron in mobile compact view */
    }
    
    .mobile-action-buttons .language-dropdown {
        right: 0;
        top: calc(100% + 0.5rem);
        min-width: 100px;
        z-index: 1001;
    }

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

    .hero {
        min-height: 40vh;
        overflow: hidden;
        position: relative;
    }

    .hero-slideshow {
        min-height: 65vh;
    }

    .slide {
        min-height: 40vh;
        padding: 0.5rem 0 2rem 0; /* Added bottom padding to prevent covering navigation */
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .slide-content {
        flex-direction: column;
    text-align: justify;
        gap: 1.5rem;
        padding: 0 1rem;
        max-width: 100%;
        width: 100%;
        overflow: hidden; /* Prevent text overflow */
        order: 2; /* Place content below image on mobile */
        margin-bottom: 1rem; /* Extra spacing from navigation */
    }
    
    .slide-text {
        order: 2;
        width: 100%;
    }
    
    .slide-content h1 {
        font-size: 2rem;
        line-height: 1.2;
        word-wrap: break-word;
        overflow-wrap: break-word;
        max-width: 100%;
        hyphens: auto;
        text-align: justify;
}

    .slide-content p {
        font-size: 1rem;
        line-height: 1.4;
        word-wrap: break-word;
        overflow-wrap: break-word;
        max-width: 100%;
        hyphens: auto;
        text-align: justify;
    }
    
    .slide-image {
        flex: none;
        max-width: 100%;
        height: 250px;
        width: 100%;
        order: 1; /* Place image above content on mobile */
    margin-bottom: 1rem;
        margin-right: 0; /* Remove right margin on mobile */
    }

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

    /* Fix CTA button sizing on mobile */
    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
        display: inline-block;
        white-space: normal;
        max-width: 90%;
        text-align: justify;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        line-height: 1.3;
        margin: 0 auto;
    }
    
    .programs-nav {
        flex-direction: column;
        align-items: center;
    }
    
    .program-btn {
        width: 200px;
    }
    
    .testimonial-content p {
    font-size: 1.1rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        max-width: 100%;
        line-height: 1.6;
    }

    .testimonials {
        padding: 3rem 0 2rem;
        margin-top: 2rem;
        overflow: hidden;
    }

    .testimonial-content {
        padding: 0 1rem;
        overflow: hidden;
    }

    .testimonials-slideshow {
        min-height: 350px;
        overflow: hidden;
    }
    
    .testimonial-author {
        margin-top: 1.5rem;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .testimonial-author strong {
        word-wrap: break-word;
        overflow-wrap: break-word;
        display: block;
        max-width: 100%;
}

    /* Improve testimonial navigation accessibility */
    .testimonials-nav {
        margin-top: 2rem;
        gap: 0.8rem;
    }
    
    .testimonial-btn {
        width: 14px;
        height: 14px;
        border: 2px solid white;
        background: transparent;
        cursor: pointer;
        transition: all 0.3s ease;
        border-radius: 50%;
        position: relative;
    }
    
    .testimonial-btn:focus,
    .testimonial-btn.active,
    .testimonial-btn:hover {
        background: white;
        transform: scale(1.2);
        outline: 2px solid rgba(255, 255, 255, 0.5);
        outline-offset: 2px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-left {
        flex-direction: column;
        min-height: auto;
    }
    
    .about-tabs {
        flex-direction: row;
        min-width: auto;
        width: 100%;
        justify-content: center;
        border-radius: 15px;
        border-right: 2px solid var(--border-light); /* Add right border for mobile */
        padding: 1rem;
        gap: 0.5rem;
        overflow-x: auto;
        white-space: nowrap;
    }
    
    .about-tab-btn {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
        min-width: auto;
        flex: 1;
        text-align: center;
        margin: 0;
        border-radius: 8px;
        white-space: nowrap;
        justify-content: center;
    }
    
    .about-tab-btn:hover {
        transform: translateY(-2px);
    }
    
    .about-text-container {
        border-left: 2px solid var(--border-light);
        border-radius: 15px;
        margin-left: 0;
        min-height: 300px;
        padding: 1.5rem;
    }
    
    .about-text {
        font-size: 1rem;
        line-height: 1.6;
        text-align: justify;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
    
    .about-image {
        width: 100%;
        height: 250px;
        justify-self: stretch;
        margin: 0 auto;
        max-width: 400px;
    }

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

    .contact-form-container {
        grid-column: 1;
    }

    .contact-items-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .form-row .form-group {
        margin-bottom: 1rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .container h2 {
        text-align: center;
    }
    
    /* About section mobile padding adjustments */
    .about {
        padding: 3rem 0;
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    .header-top-container {
        padding: 0 0.5rem;
    }

    .logo-image {
        width: 50px;
        height: 50px;
    }

    .logo-text h1 {
        font-size: 1rem;
    }

    .logo-text p {
        font-size: 0.75rem;
    }
    
    .contact-info-header {
        flex-direction: column;
        gap: 1rem;
    }
    
    .contact-item-header {
        justify-content: center;
    }
    
    .nav-container {
        padding: 0 0.5rem;
    }
    
    .logo-mobile {
        font-size: 0.9rem;
    }
    
    .logo-mobile i {
        font-size: 1.3rem;
        margin-right: 0.3rem;
    }

    .slide-content h1 {
        font-size: 1.8rem;
        text-align: center;
    }
    
    .slide-content p {
        font-size: 1rem;
    }
    
    .slide-image {
        height: 200px;
    }
    
    .program-content {
        padding: 2rem 1rem;
    }
    
    .testimonial-content p {
        font-size: 1rem;
    }

    .testimonials {
        padding: 2rem 0 1.5rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 0.5rem;
    }

    .gallery-item img {
        height: 180px;
    }
    
    .gallery-item video {
        height: 180px;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .partner-content {
        padding: 1.5rem;
    }
    
    /* About section styles for small mobile screens */
    .about-tabs {
        flex-direction: column;
        gap: 0.3rem;
        padding: 0.8rem;
        overflow-x: visible;
        border: 2px solid var(--border-light); /* Full border for vertical stacked tabs */
        border-radius: 15px;
    }
    
    .about-tab-btn {
        padding: 0.6rem 0.8rem;
        font-size: 0.85rem;
        margin-bottom: 0.2rem;
        white-space: normal;
    }
    
    .about-text-container {
        padding: 1rem;
        min-height: 250px;
    }
    
    .about-text {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    .about-image {
        height: 200px;
        max-width: 350px;
    }
    
    /* Additional mobile padding adjustments */
    .about {
        padding: 2rem 0;
    }
}

/* Smooth animations for player state changes */
.floating-audio-player {
    transform-origin: bottom right;
}

.floating-audio-player.collapsed {
    animation: collapsePlayer 0.3s ease-out;
}

.floating-audio-player:not(.collapsed) {
    animation: expandPlayer 0.3s ease-out;
}

@keyframes collapsePlayer {
    from {
        transform: scale(1);
    }
    50% {
        transform: scale(0.95);
    }
    to {
        transform: scale(1);
    }
}

@keyframes expandPlayer {
    from {
        transform: scale(0.95);
    }
    to {
        transform: scale(1);
    }
}

/* Smooth scrolling for the entire document */
html {
    scroll-behavior: smooth;
}

/* Reduced motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .slide {
        transition: none;
    }
    
    .fade-in {
        transition: none;
        opacity: 1;
        transform: none;
    }
}

/* Desktop-specific hero styles */
@media (min-width: 769px) {
    .hero {
        min-height: 50vh;
    }
    
    .slide {
        min-height: 40vh;
        flex-direction: row;
        align-items: center;
        justify-content: center;
    }
    
    .slide-content {
        flex-direction: row;
        text-align: justify;
        gap: 4rem;
        order: initial;
    }
    
    .slide-text {
        flex: 1;
        order: initial;
    }
    
    .slide-image {
        flex: 0 0 450px;
        height: 350px;
        order: initial;
        margin-bottom: 0;
        margin-right: 2rem;
    }
}

/* Gallery Preview Section Styles */
.gallery-preview {
    padding: 4rem 0;
    background: var(--bg-secondary);
}

.gallery-slideshow {
    position: relative;
    max-width: 800px;
    margin: 3rem auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow-medium);
    background: var(--bg-primary);
}

/* Gallery Navigation Buttons */
.gallery-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    opacity: 0.8;
    backdrop-filter: blur(10px);
}

.gallery-nav-btn:hover {
    background: var(--primary-color);
    color: var(--text-white);
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.gallery-nav-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.gallery-prev-btn {
    left: 20px;
}

.gallery-next-btn {
    right: 20px;
}

/* Hide navigation buttons on very small screens when not needed */
@media (max-width: 320px) {
    .gallery-nav-btn {
        display: none;
    }
}

.gallery-slide {
    position: relative;
        display: none;
    width: 100%;
    height: 400px;
}

.gallery-slide.active {
    display: block;
}

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

.gallery-slide:hover img {
    transform: scale(1.05);
}

.gallery-slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--gradient-overlay);
    color: var(--text-white);
    padding: 2rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-slide:hover .gallery-slide-content {
    transform: translateY(0);
}

.gallery-slide-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-white);
}

.gallery-slide-content p {
    font-size: 1rem;
    line-height: 1.4;
    color: var(--overlay-white-90);
}

.gallery-slideshow-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.gallery-slide-btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-slide-btn.active,
.gallery-slide-btn:hover {
    background: var(--primary-color);
    transform: scale(1.2);
}

.gallery-cta {
    text-align: center;
    margin-top: 3rem;
}

.gallery-view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary-color);
    color: var(--text-white);
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px var(--shadow-primary);
}

.gallery-view-all-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--shadow-primary);
    text-decoration: none;
    color: var(--text-white);
}

.gallery-view-all-btn i {
    font-size: 1.2rem;
}

/* Gallery Preview Responsive Styles */
@media (max-width: 930px) {
    .gallery-slideshow {
        margin: 2rem 1rem;
        max-width: none;
    }
    
    .gallery-slide {
        height: 300px;
    }
    
    .gallery-slide-content {
        padding: 1.5rem;
    }
    
    .gallery-slide-content h3 {
        font-size: 1.25rem;
    }
    
    .gallery-slide-content p {
        font-size: 0.9rem;
    }
    
    .gallery-slideshow-nav {
        gap: 0.5rem;
    }
    
    .gallery-slide-btn {
        width: 10px;
        height: 10px;
    }
    
    .gallery-view-all-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    /* Responsive navigation buttons */
    .gallery-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .gallery-prev-btn {
        left: 10px;
    }
    
    .gallery-next-btn {
        right: 10px;
    }
}

@media (max-width: 480px) {
    .gallery-slide {
        height: 250px;
    }
    
    /* Smaller navigation buttons for mobile */
    .gallery-nav-btn {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .gallery-prev-btn {
        left: 5px;
    }
    
    .gallery-next-btn {
        right: 5px;
    }
    
    .gallery-slide-content {
        padding: 1rem;
    }
    
    .gallery-slide-content h3 {
        font-size: 1.1rem;
    }
}

/* Gallery filtering animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Service Pages Styling */

/* Service Hero Section */
.service-hero {
    display: grid;
        grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 3rem;
    padding: 2rem 0;
}

.service-hero-content h2 {
    color: var(--text-dark);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.service-hero-content p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
}

.service-extra-info p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
}

.service-hero-image {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow-light);
}

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

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

/* Services List */
.services-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 2rem;
    margin: 2rem 0;
}

.service-item {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-primary);
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow-light);
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px var(--shadow-medium);
}

.service-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.service-content h4 {
    color: var(--text-dark);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.service-content p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Service Gallery */
.service-gallery {
    margin: 3rem 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    height: 200px;
    max-width: 360px;
    box-shadow: 0 5px 15px var(--shadow-light);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.02);
}

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

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, var(--overlay-darker));
    color: white;
    padding: 1rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h4 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Info Cards */
.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.info-card {
    text-align: justify;
    padding: 2rem 1.5rem;
    background: var(--bg-secondary);
    border-radius: 10px;
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

.info-card:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-5px);
}

.info-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.8rem;
    color: white;
    transition: all 0.3s ease;
}

.info-card:hover .info-icon {
    background: white;
    color: var(--primary-color);
}

.info-card h4 {
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
    transition: color 0.3s ease;
    text-align: center;
}

.info-card:hover h4 {
    color: white;
}

.info-card p {
    margin: 0;
    color: var(--text-secondary);
    transition: color 0.3s ease;
    text-align: center;
}

.info-card:hover p {
    color: white;
}

/* Process Steps */
.process-steps {
    display: grid;
    gap: 2rem;
    margin: 2rem 0;
}

.step {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.step-number {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.step-content h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.step-content p {
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.benefit-item {
    padding: 2rem;
    background: var(--bg-primary);
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow-light);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.benefit-item h4 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 600;
}

.benefit-item ul {
    list-style: none;
    padding: 0;
}

.benefit-item li {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.benefit-item li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Criteria List */
.criteria-list {
    display: grid;
    gap: 1rem;
    margin: 2rem 0;
}

.criteria-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.criteria-item:hover {
    background: var(--primary-transparent);
}

.criteria-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.criteria-item p {
    margin: 0;
    color: var(--text-secondary);
}

/* Groups Organization */
.groups-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.group-card {
    padding: 2rem;
    background: var(--bg-primary);
    border-radius: 15px;
    box-shadow: 0 5px 15px var(--shadow-light);
    text-align: justify;
    transition: all 0.3s ease;
}

.group-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px var(--shadow-medium);
}

.group-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
}

.group-card h4 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 600;
}

.group-card p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.group-card ul {
    list-style: none;
    padding: 0;
    text-align: justify;
}

.group-card li {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.group-card li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Beneficiaries Grid */
.beneficiaries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.beneficiary-card {
    text-align: justify;
    padding: 2rem 1.5rem;
    background: var(--bg-primary);
    border-radius: 15px;
    box-shadow: 0 5px 15px var(--shadow-light);
    transition: all 0.3s ease;
}

.beneficiary-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px var(--shadow-medium);
}

.beneficiary-icon {
    width: 70px;
    height: 70px;
    background: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Audio player styles moved to header - floating player removed */

/* Lyrics Modal Styles */
.lyrics-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--overlay-darker);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 20px;
}

.lyrics-modal.active {
    opacity: 1;
    visibility: visible;
}

.lyrics-modal-content {
    background: var(--bg-primary);
    border-radius: 20px;
    max-width: 500px;
    width: 100%;
    max-height: 80vh;
    overflow: hidden;
    box-shadow: 0 20px 60px var(--shadow-dark);
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.lyrics-modal.active .lyrics-modal-content {
    transform: scale(1);
}

.lyrics-header {
    padding: 20px 25px;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-secondary);
}

.lyrics-header h3 {
    margin: 0;
    color: var(--text-dark);
    font-size: 18px;
    font-weight: 600;
}

.lyrics-close-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
}

.lyrics-close-btn:hover {
    background: var(--border-light);
    color: var(--text-dark);
}

.lyrics-body {
    padding: 25px;
    max-height: calc(80vh - 100px);
    overflow-y: auto;
}

.lyrics-body h4 {
    margin: 0 0 20px 0;
    color: var(--primary-color);
    font-size: 16px;
    font-weight: 600;
    text-align: justify;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary-transparent);
}

.lyrics-text {
    line-height: 1.8;
    color: var(--text-primary);
}

.lyrics-text p {
    margin: 0 0 20px 0;
    padding: 15px 0;
    border-left: 3px solid var(--primary-color);
    padding-left: 20px;
    background: var(--primary-transparent);
    border-radius: 0 10px 10px 0;
}

.lyrics-text p:last-child {
    margin-bottom: 0;
}

.about-text #pin::before {
    content: '📍';
}

.about-text #target::before {
    content: '🎯';
}

.about-text #capacity::before {
    content: '👥';
}

/* Documents Grid Styling - Simple and Clean */
.documents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.2rem;
    margin: 2rem 0;
}

.document-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: 4px;
    padding: 1.5rem;
    transition: all 0.2s ease;
    position: relative;
}

.document-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 2px 8px var(--shadow-light);
}

.document-card.featured {
    border-left: 4px solid var(--primary-color);
}

.document-icon {
    margin-bottom: 1rem;
}

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

.document-content h3 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 0.8rem;
    line-height: 1.4;
}

.document-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1.2rem;
    line-height: 1.5;
}

.document-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.document-link:hover {
    color: var(--primary-dark);
}

.document-link i {
        font-size: 0.8rem;
}

/* Document Details (for internal documents) */
.document-details {
    margin: 1rem 0;
    padding: 0.8rem 0;
    border-top: 1px solid var(--border-light);
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.4rem;
    font-size: 0.85rem;
    color: var(--text-light);
}

.detail-item:last-child {
    margin-bottom: 0;
}

.detail-item i {
    font-size: 0.7rem;
    color: var(--primary-color);
    width: 12px;
}

/* Info Note Styling */
.info-note {
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: 4px;
    padding: 1.5rem;
    margin: 2rem 0;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.info-icon {
    flex-shrink: 0;
    color: var(--text-white);
    font-size: 1.2rem;
    margin-top: 0.2rem;
}

.info-content h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.info-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

/* Administration Team Grid Styles */
.admin-team-container {
    width: 100%;
    margin: 3rem 0;
}

.admin-team-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.5rem;
    width: 100%;
}

.admin-staff-card {
    background: var(--bg-primary);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    border: 2px solid var(--border-light);
    width: 100%;
    display: flex;
    flex-direction: column;
    image-rendering: auto;
}

.admin-staff-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: var(--primary-color);
}

.admin-staff-image {
    width: 100%;
    height: 400px;
    overflow: hidden;
    position: relative;
}

.admin-staff-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    image-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

.admin-staff-info {
    padding: 1.8rem;
    text-align: justify;
    background: var(--bg-primary);
    border-top: 5px solid var(--primary-color);
}

.admin-staff-info h3 {
    color: var(--text-dark);
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.admin-staff-position {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 500;
}

/* Responsive styles for admin team grid */
@media (max-width: 1100px) {
    .admin-team-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2rem;
    }
}

@media (max-width: 930px) {
    .admin-team-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 2rem;
    }
    
    .admin-staff-image {
        height: 380px;
    }
    
    .admin-staff-card {
        max-width: 450px;
        margin: 0 auto;
        width: 100%;
    }
    
    .content-wrapper {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .admin-staff-image {
        height: 300px;
    }
    
    .admin-staff-info {
        padding: 1.5rem;
    }
    
    .admin-staff-info h3 {
        font-size: 1.2rem;
    }
    
    .admin-staff-position {
        font-size: 1rem;
    }
}

/* Responsive Design for Documents */
@media (max-width: 930px) {
    .documents-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .document-card {
        padding: 1.2rem;
    }
    
    .info-note {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .info-icon {
        align-self: flex-start;
    }
}

/* Job Vacancies Page Styles */
.intro-text {
    text-align: justify;
    margin-bottom: 3rem;
}

.intro-text h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.intro-text p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
}

.job-section {
    margin: 4rem 0;
}

.job-section h3 {
    color: var(--text-dark);
    font-size: 1.8rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.job-section h3 i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.job-card {
    background: var(--bg-primary);
    border-radius: 12px;
    box-shadow: 0 5px 15px var(--shadow-light);
    margin-bottom: 2rem;
    transition: all 0.3s ease;
    border-left: 4px solid var(--primary-color);
}

.job-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px var(--shadow-medium);
}

.job-header {
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.job-header h4 {
    color: var(--text-dark);
    font-size: 1.5rem;
    margin: 0;
    font-weight: 600;
}

.job-type {
    background: var(--primary-color);
    color: var(--text-white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.job-details {
    padding: 2rem;
}

.job-details p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.job-details strong {
    color: var(--text-dark);
    font-weight: 600;
}

.job-details ul {
    margin: 1rem 0 1.5rem 0;
    padding-left: 1.5rem;
}

.job-details li {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.job-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-light);
}

.apply-btn {
    background: var(--primary-color);
    color: var(--text-white);
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px var(--shadow-primary);
}

.apply-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--shadow-primary);
}

.job-date {
    color: var(--text-light);
    font-size: 0.9rem;
    font-style: italic;
}

.benefits-section {
    margin: 4rem 0;
    padding: 3rem 0;
    background: var(--bg-secondary);
    border-radius: 15px;
}

.benefits-section h3 {
    color: var(--text-dark);
    font-size: 1.8rem;
    margin-bottom: 2rem;
    text-align: justify;
    display: flex;
    align-items: center;
        justify-content: center;
    gap: 0.5rem;
}

.benefits-section h3 i {
    color: var(--secondary-color);
    font-size: 1.5rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.benefit-item {
    text-align: justify;
    padding: 2rem 1.5rem;
    background: var(--bg-primary);
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow-light);
    transition: all 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px var(--shadow-medium);
}

.benefit-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.benefit-item h4 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 600;
}

.benefit-item p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.application-section {
    margin: 4rem 0;
}

.application-section h3 {
    color: var(--text-dark);
    font-size: 1.8rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.application-section h3 i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.application-steps {
    display: grid;
    gap: 2rem;
    margin: 2rem 0;
}

.step {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    padding: 2rem;
    background: var(--bg-primary);
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow-light);
    transition: all 0.3s ease;
}

.step:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px var(--shadow-medium);
}

.step-number {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.step-content h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.step-content p {
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
}

.contact-hr {
    margin: 4rem 0;
    padding: 3rem;
    background: var(--bg-primary);
    border-radius: 15px;
    box-shadow: 0 5px 15px var(--shadow-light);
    text-align: justify;
}

.contact-hr h3 {
    color: var(--text-dark);
    font-size: 1.8rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.contact-hr h3 i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.hr-contact p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.6;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.hr-contact p i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.hr-contact p strong {
    color: var(--text-dark);
    font-weight: 600;
}

/* Responsive Design for Job Vacancies */
@media (max-width: 930px) {
    .job-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .job-header h4 {
        font-size: 1.3rem;
    }
    
    .job-details {
        padding: 1.5rem;
    }
    
    .job-actions {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .apply-btn {
        text-align: justify;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .step {
        padding: 1.5rem;
    }
    
    .contact-hr {
        padding: 2rem;
    }
    
    .hr-contact p {
        justify-content: flex-start;
        text-align: justify;
    }
}

@media (max-width: 480px) {
    .intro-text h2 {
        font-size: 1.8rem;
    }
    
    .job-section h3,
    .benefits-section h3,
    .application-section h3,
    .contact-hr h3 {
        font-size: 1.5rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .job-header {
        padding: 1.5rem 1.5rem 1rem;
    }
    
    .job-details {
        padding: 1rem;
    }
    
    .step {
        padding: 1rem;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .contact-hr {
        padding: 1.5rem;
    }
}

/* Mobile Responsive Styles for Service Pages */
@media (max-width: 930px) {
    /* Service Hero Section - Stack vertically on mobile */
    .service-hero {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: justify;
    }
    
    .service-hero-content h2 {
        font-size: 2rem;
    }
    
    .service-hero-image {
        order: -1; /* Image appears before text on mobile */
    }
    
    /* Services List - Single column on mobile */
    .services-list {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-item {
        padding: 1.2rem;
    }
    
    /* Info Grid - Single column on mobile */
    .info-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    
    .info-card {
        padding: 1.5rem 1.2rem;
    }
    
    /* Gallery Grid - 2 columns on tablet, 1 on mobile */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    /* Benefits Grid - Single column */
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Groups Grid - Single column */
    .groups-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Reduce minimum widths for mobile */
    .services-list {
        grid-template-columns: 1fr;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    /* Even smaller screens adjustments */
    .service-hero-content h2 {
        font-size: 1.8rem;
    }
    
    .service-hero-content p {
        font-size: 1rem;
    }
    
    .service-item {
        padding: 1rem;
        flex-direction: column;
        text-align: justify;
        gap: 1rem;
    }
    
    .service-icon {
        align-self: center;
    }
    
    .info-card {
        padding: 1.2rem 1rem;
    }
    
    .info-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    /* Gallery Grid - Single column on very small screens */
    .gallery-grid {
        grid-template-columns: 1fr;
        margin: 0 auto;
        padding: 0;
        justify-content: center;
    }
    
    /* Container padding adjustments */
    .container {
        padding: 0 1rem;
    }
    
    .content-wrapper {
        padding: 1.5rem 1rem;
    }
}


/* Documents Section Styling */
.documents-section {
    margin: 3rem 0;
    padding: 2rem 0;
    background: var(--bg-secondary);
    border-radius: 15px;
}

.documents-section h2 {
    color: var(--text-dark);
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: justify;
        position: relative;
    padding-bottom: 1rem;
}

.documents-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.documents-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
    padding: 0 2rem;
}

.document-item {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    padding: 1.8rem;
    background: var(--bg-primary);
    border-radius: 12px;
    box-shadow: 0 5px 15px var(--shadow-light);
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
    position: relative;
    overflow: hidden;
}

.document-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-transparent), var(--secondary-transparent));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.document-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px var(--shadow-medium);
    border-left-color: var(--primary-color);
}

.document-item:hover::before {
    opacity: 1;
}

.document-icon {
    flex-shrink: 0;
    width: 55px;
    height: 55px;
    background: var(--primary-color);
    border-radius: 12px;
        display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.4rem;
    box-shadow: 0 4px 12px var(--shadow-primary);
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.document-item:hover .document-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 18px var(--shadow-primary);
}

.document-content {
        flex: 1;
    position: relative;
    z-index: 2;
}

.document-content h5 {
    color: var(--text-dark);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.document-item:hover .document-content h5 {
    color: var(--primary-color);
}

.document-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
    transition: color 0.3s ease;
}

.document-item:hover .document-content p {
    color: var(--text-primary);
}

/* Different colors for different document types */
.document-item:nth-child(7n+1) .document-icon {
    background: var(--primary-color);
}

.document-item:nth-child(7n+2) .document-icon {
    background: var(--primary-color);
}

.document-item:nth-child(7n+3) .document-icon {
    background: var(--primary-color);
}

.document-item:nth-child(7n+4) .document-icon {
    background: var(--primary-color);
}

.document-item:nth-child(7n+5) .document-icon {
    background: var(--primary-color);
}

.document-item:nth-child(7n+6) .document-icon {
    background: var(--primary-color);
}

.document-item:nth-child(7n+7) .document-icon {
    background: var(--primary-color);
}

/* Animation for icons */
.document-icon i {
    transition: transform 0.3s ease;
}

.document-item:hover .document-icon i {
    transform: scale(1.1);
}

/* Responsive design for documents section */
@media (max-width: 930px) {
    .documents-list {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.2rem;
        padding: 0 1rem;
    }
    
    .document-item {
        padding: 1.5rem;
        gap: 1rem;
    }
    
    .document-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .document-content h5 {
        font-size: 1.1rem;
    }
    
    .document-content p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .documents-section {
        margin: 2rem 0;
    }
    
    .documents-list {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0;
    }
    
    .document-item {
        padding: 1.2rem;
        margin: 0 0.5rem;
    }
    
    .documents-section h2 {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }
}

/* Intro text for documents section */
.documents-intro {
    text-align: justify;
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Documents Note Section */
.documents-note {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin: 2.5rem 2rem 0;
    padding: 1.5rem;
    background: var(--bg-primary);
    border-radius: 12px;
    border-left: 4px solid var(--info-color);
    box-shadow: 0 3px 10px var(--shadow-light);
}

.note-icon {
        flex-shrink: 0;
    width: 45px;
    height: 45px;
    background: var(--info-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.note-content h4 {
    color: var(--text-dark);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.note-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 930px) {
    .documents-note {
        margin: 2rem 1rem 0;
        padding: 1.2rem;
        flex-direction: column;
        text-align: justify;
        gap: 1rem;
    }
    
    .note-icon {
        align-self: center;
    }
}

@media (max-width: 480px) {
    .documents-intro {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .documents-note {
        margin: 1.5rem 0.5rem 0;
        padding: 1rem;
    }
    
    .note-content h4 {
        font-size: 1rem;
    }
    
    .note-content p {
        font-size: 0.9rem;
    }
}


/* Organigrama specific styles */
.organigrama-container {
    text-align: justify;
    margin: 3rem 0;
    padding: 2rem;
    background: var(--bg-primary);
    border-radius: 15px;
    box-shadow: 0 10px 30px var(--shadow-light);
}

.organigrama-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px var(--shadow-medium);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.organigrama-image:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 40px var(--shadow-medium);
}

.organigrama-info {
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

.organigrama-info p {
    color: var(--text-secondary);
    font-style: italic;
    line-height: 1.6;
    margin: 0;
}

/* Organigrama Modal Styles */
.organigrama-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.organigrama-modal.active {
    display: flex;
}

.organigrama-modal .modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--overlay-darkest);
}

.organigrama-modal-content {
    position: relative;
    max-width: 95vw;
    max-height: 95vh;
    background: var(--bg-primary);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 60px var(--shadow-dark);
    display: flex;
        flex-direction: column;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.organigrama-modal .modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--overlay-dark);
    border: none;
    color: var(--text-white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2001;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.organigrama-modal .modal-close:hover {
    background: var(--overlay-dark-70);
    transform: scale(1.1);
}

.organigrama-modal-header {
    padding: 1.5rem 2rem 1rem;
    background: var(--gradient-primary);
    color: var(--text-white);
    text-align: justify;
}

.organigrama-modal-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.organigrama-modal-image-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f8f9fa;
    flex: 1;
    min-height: 400px;
    overflow: auto;
        padding: 1rem;
}

.organigrama-modal-image-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 8px 25px var(--shadow-medium);
    transition: opacity 0.3s ease;
}

.organigrama-modal-footer {
    padding: 1rem 2rem;
    background: var(--bg-secondary);
    text-align: justify;
    border-top: 1px solid var(--border-light);
}

.organigrama-modal-footer p {
    margin: 0;
    color: var(--text-secondary);
    font-style: italic;
    line-height: 1.6;
}

/* Responsive design for organigrama modal */
@media (max-width: 930px) {
    .organigrama-modal-content {
        max-width: 98vw;
        max-height: 98vh;
        border-radius: 10px;
    }
    
    .organigrama-modal-header {
        padding: 1rem 1.5rem 0.8rem;
    }
    
    .organigrama-modal-header h3 {
        font-size: 1.3rem;
    }
    
    .organigrama-modal-image-container {
        padding: 0.5rem;
        min-height: 300px;
    }
    
    .organigrama-modal-footer {
        padding: 0.8rem 1.5rem;
    }
    
    .organigrama-modal .modal-close {
        top: 0.5rem;
        right: 0.5rem;
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 480px) {
    .organigrama-modal-content {
        margin: 1rem;
        max-width: calc(100vw - 2rem);
        max-height: calc(100vh - 2rem);
    }
    
    .organigrama-modal-header {
        padding: 0.8rem 1rem 0.6rem;
    }
    
    .organigrama-modal-header h3 {
        font-size: 1.1rem;
    }
    
    .organigrama-modal-image-container {
        min-height: 250px;
    }
    
    .organigrama-modal-footer {
        padding: 0.6rem 1rem;
    }
    
    .organigrama-modal-footer p {
        font-size: 0.9rem;
    }
}

/* ==============================================
   PETITION FORM STYLES
   ============================================== */

.petition-info {
    margin-bottom: 2rem;
}

.requirements-box {
    background: linear-gradient(135deg, var(--primary-transparent), var(--primary-light-transparent));
    border: 1px solid var(--primary-color);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.requirements-box h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.requirements-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.requirements-box li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(74, 144, 226, 0.2);
    position: relative;
    padding-left: 1.5rem;
}

.requirements-box li:last-child {
    border-bottom: none;
}

.requirements-box li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* No vacancies message */
.no-vacancies {
    text-align: justify;
    padding: 3rem 2rem;
    background: var(--bg-secondary);
    border-radius: 12px;
    border: 2px dashed var(--border-light);
    margin: 2rem 0;
}

.no-vacancies i {
    font-size: 3rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    display: block;
}

.no-vacancies p {
    color: var(--text-light);
    font-size: 1.1rem;
    margin: 0;
    font-style: italic;
}

@media (max-width: 480px) {
    /* Mobile Action Row Styles */
    .mobile-action-row {
        display: flex !important;
        justify-content: space-around;
        align-items: center;
        padding: 1rem 0;
        margin: 0.5rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        background: rgba(255, 255, 255, 0.05);
        gap: 0.5rem;
    }

    .mobile-action-row button {
        flex: 1;
        min-width: 0;
        max-width: 70px;
        height: 45px;
        border: none;
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.1);
        color: var(--text-white);
        font-size: 1.1rem;
        cursor: pointer;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }

    .mobile-action-row button:hover {
        background: rgba(255, 255, 255, 0.2);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

    .mobile-action-row button:active {
        transform: translateY(0);
    }

    .mobile-action-row .donate-btn {
        background: rgba(255, 107, 107, 0.2);
        border: 1px solid rgba(255, 107, 107, 0.3);
    }

    .mobile-action-row .donate-btn:hover {
        background: rgba(255, 107, 107, 0.3);
        box-shadow: 0 4px 12px rgba(255, 107, 107, 0.25);
    }

    .mobile-action-row .audio-btn {
        background: rgba(74, 144, 226, 0.2);
        border: 1px solid rgba(74, 144, 226, 0.3);
    }

    .mobile-action-row .audio-btn:hover {
        background: rgba(74, 144, 226, 0.3);
        box-shadow: 0 4px 12px rgba(74, 144, 226, 0.25);
    }

    .mobile-action-row .lyrics-btn {
        background: rgba(124, 185, 232, 0.2);
        border: 1px solid rgba(124, 185, 232, 0.3);
    }

    .mobile-action-row .lyrics-btn:hover {
        background: rgba(124, 185, 232, 0.3);
        box-shadow: 0 4px 12px rgba(124, 185, 232, 0.25);
    }

    /* Update mobile action buttons to only show language selector */
    .mobile-action-buttons {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        gap: 0.5rem;
        padding: 0.5rem 1rem;
    }

    .mobile-action-buttons .language-selector {
        display: block;
    }

    /* Mobile Action Row Styles */
    .mobile-action-row {
        display: flex !important;
        justify-content: space-around;
        align-items: center;
        padding: 0.25rem 0;
        margin: 0.5rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        background: rgba(255, 255, 255, 0.05);
        gap: 0.5rem;
    }

    .mobile-action-row button {
        flex: 1;
        min-width: 0;
        max-width: 70px;
        height: 45px;
        border: none;
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.1);
        color: var(--text-white);
        font-size: 1.1rem;
        cursor: pointer;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }

    .mobile-action-row button:hover {
        background: rgba(255, 255, 255, 0.2);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

    .mobile-action-row button:active {
        transform: translateY(0);
    }

    .mobile-action-row .donate-btn {
        background: rgba(255, 107, 107, 0.2);
        border: 1px solid rgba(255, 107, 107, 0.3);
    }

    .mobile-action-row .donate-btn:hover {
        background: rgba(255, 107, 107, 0.3);
        box-shadow: 0 4px 12px rgba(255, 107, 107, 0.25);
    }

    .mobile-action-row .audio-btn {
        background: rgba(74, 144, 226, 0.2);
        border: 1px solid rgba(74, 144, 226, 0.3);
    }

    .mobile-action-row .audio-btn:hover {
        background: rgba(74, 144, 226, 0.3);
        box-shadow: 0 4px 12px rgba(74, 144, 226, 0.25);
    }

    .mobile-action-row .lyrics-btn {
        background: rgba(124, 185, 232, 0.2);
        border: 1px solid rgba(124, 185, 232, 0.3);
    }

    .mobile-action-row .lyrics-btn:hover {
        background: rgba(124, 185, 232, 0.3);
        box-shadow: 0 4px 12px rgba(124, 185, 232, 0.25);
    }

    .hero h1 {
        font-size: 2rem;
    }
}
/* ============================================
   NEWS SECTION STYLES
   ============================================ */

/* News Section */
.news {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.news-grid {
    display: grid;
    justify-items: center;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.news-grid-page {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin: 40px auto;
    max-width: 1400px;
    justify-items: center;
}

.news-card {
    background: var(--bg-primary);
    width: 100%;
    max-width: 420px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px var(--shadow-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 400px;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px var(--shadow-medium);
}

.news-image {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
    flex-shrink: 0;
}

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

.news-card:hover .news-image img {
    transform: scale(1.1);
}

.news-date {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-color);
    color: var(--text-white);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.news-content {
    padding: 18px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.news-content h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--text-dark);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 3.4em;
    flex-shrink: 0;
}

.news-content p {
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 12px;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 0;
    font-size: 0.95rem;
}

.news-read-more {
    color: var(--primary-color);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s ease;
    flex-shrink: 0;
    margin-top: auto;
}

.news-card:hover .news-read-more {
    gap: 12px;
}

.no-news {
    text-align: center;
    padding: 40px;
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.news-cta {
    text-align: center;
    margin-top: 50px;
}

.news-view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
    background: var(--primary-color);
    color: var(--text-white);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px var(--shadow-primary);
}

.news-view-all-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--shadow-primary);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 50px;
}

.pagination-btn {
    padding: 10px 15px;
    background: var(--bg-primary);
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 8px;
    border: 2px solid var(--border-light);
    transition: all 0.3s ease;
    min-width: 45px;
    text-align: center;
}

.pagination-btn:hover {
    background: var(--primary-color);
    color: var(--text-white);
    border-color: var(--primary-color);
}

.pagination-btn.active {
    background: var(--primary-color);
    color: var(--text-white);
    border-color: var(--primary-color);
}

/* Article Page */
.article-header {
    padding: 60px 0 30px;
    background: var(--bg-secondary);
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    text-decoration: none;
    margin-bottom: 20px;
    font-weight: 600;
    transition: gap 0.3s ease;
}

.back-link:hover {
    gap: 12px;
}

.article-meta {
    margin-bottom: 15px;
}

.article-date {
    color: var(--text-secondary);
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.article-header h1 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 15px;
    line-height: 1.3;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.article-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.6;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.article-content-section {
    padding: 50px 0;
}

.article-main-image {
    width: 100%;
    max-height: 500px;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 40px;
}

.article-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-body {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-primary);
    margin-bottom: 40px;
}

.article-attachments {
    margin-top: 50px;
    padding-top: 50px;
    border-top: 2px solid var(--border-light);
}

.article-attachments h2 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 30px;
}

.attachments-section {
    margin-bottom: 40px;
}

.attachments-section h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.attachment-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.attachment-item {
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.attachment-item:hover {
    transform: scale(1.05);
}

.attachment-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.attachment-videos {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 20px;
}

.video-item video {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 15px var(--shadow-light);
}

.article-footer {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px solid var(--border-light);
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    background: var(--primary-color);
    color: var(--text-white);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* Image Modal */
.image-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.image-modal-content {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.image-modal-close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

/* No Content Message */
.no-content {
    text-align: center;
    padding: 60px 20px;
}

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

.no-content p {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

/* Responsive News Styles */
@media (max-width: 768px) {
    .news-grid,
    .news-grid-page {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
    }
    
    .news-card {
        max-width: 100%;
        height: auto;
        min-height: 360px;
    }
    
    .news-image {
        height: 160px;
    }
    
    .news-content {
        padding: 16px;
    }
    
    .news-content h3 {
        font-size: 1.1rem;
        max-height: auto;
        min-height: auto;
    }
    
    .news-content p {
        font-size: 0.9rem;
    }
    
    .article-header h1 {
        font-size: 1.8rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .article-subtitle {
        font-size: 1rem;
    }
    
    .attachment-gallery {
        grid-template-columns: 1fr;
    }
    
    .attachment-videos {
        grid-template-columns: 1fr;
    }
    
    .pagination {
        flex-wrap: wrap;
    }
}
