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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background-color: #fff;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* Top Header */
.top-header {
    background-color: #6c757d;
    padding: 8px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.top-header-left {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.top-header-right {
    display: flex;
    align-items: center;
}

.header-item {
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
}

.social-media {
    display: flex;
    gap: 10px;
}

.social-icon {
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    opacity: 0.8;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
}

.social-icon:hover {
    opacity: 1;
    transform: scale(1.1);
    background-color: rgba(255, 255, 255, 0.2);
}

.social-icon svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* Main Header */
.main-header {
    background-color: #fff;
    padding: 24px 20px;
    border-bottom: 1px solid #e9ecef;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.header-left {
    flex: 1;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo-placeholder {
    flex-shrink: 0;
}

.logo-image {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

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

.organization-info {
    flex: 1;
}

.org-name {
    color: #009900;
    font-size: 28px;
    font-weight: bold;
    margin: 0 0 8px 0;
    line-height: 1.2;
}

.org-subtitle {
    color: #009900;
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    letter-spacing: 1px;
}

.header-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.info-cards {
    display: flex;
    gap: 20px;
}

.info-card {
    background-color: #FFD700;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 140px;
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.info-icon {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(52, 152, 219, 0.1);
    border-radius: 50%;
}

.info-content h4 {
    color: #2c3e50;
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 8px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-content p {
    color: #555;
    font-size: 13px;
    margin: 0;
    line-height: 1.4;
}

/* Navigation Bar */
.navigation-bar {
    background-color: #009900;
    position: sticky;
    top: 0;
    z-index: 99;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid #007700;
}

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

.navigation-bar ul {
    display: flex;
    list-style: none;
    gap: 15px;
    margin: 0;
    padding: 20px 0;
    flex: 1;
}

.search-container {
    display: flex;
    align-items: center;
    margin-left: 20px;
}

.search-btn {
    background-color: #000;
    color: #fff;
    border: none;
    padding: 12px 20px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.search-btn:hover {
    background-color: #333;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.search-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.search-btn svg {
    flex-shrink: 0;
}

.navigation-bar a {
    text-decoration: none;
    background-color: #000;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    padding: 12px 24px;
    display: block;
    transition: all 0.3s ease;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.navigation-bar a:hover {
    background-color: #333;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.navigation-bar a:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Search Modal */
.search-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.search-modal-content {
    background-color: #fff;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease;
}

.search-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #e9ecef;
}

.search-modal-header h3 {
    margin: 0;
    color: #2c3e50;
    font-size: 20px;
}

.search-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.search-modal-close:hover {
    background-color: #f8f9fa;
    color: #333;
}

.search-modal-body {
    padding: 24px;
}

.search-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 16px;
    margin-bottom: 16px;
    transition: border-color 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: #3498db;
}

.search-submit-btn {
    background-color: #000;
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.search-submit-btn:hover {
    background-color: #333;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.search-results {
    padding: 20px 24px;
    border-top: 1px solid #e9ecef;
}

.search-results-header h4 {
    margin: 0 0 16px 0;
    color: #2c3e50;
    font-size: 16px;
}

.search-result-item {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 12px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.search-result-item:hover {
    border-color: #3498db;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.search-result-type {
    background-color: #3498db;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.search-result-title {
    color: #2c3e50;
    font-size: 16px;
    margin: 0 0 8px 0;
}

.search-result-content {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    margin: 0 0 8px 0;
}

.search-result-content mark {
    background-color: #FFD700;
    color: #2c3e50;
    padding: 1px 2px;
    border-radius: 2px;
}

.search-result-section {
    color: #999;
    font-size: 12px;
    font-style: italic;
}

.search-message {
    text-align: center;
    color: #666;
    font-style: italic;
    padding: 20px;
}

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

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

/* News Ticker */
.news-ticker {
    background-color: #2c3e50;
    padding: 12px 0;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
}

.ticker-header {
    background-color: #FFD700;
    padding: 12px 20px;
    position: relative;
    z-index: 10;
    clip-path: polygon(0 0, 100% 0, 85% 100%, 0 100%);
    margin-right: -20px;
}

.breaking-news-label {
    color: #2c3e50;
    font-weight: bold;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}

.ticker-content {
    display: flex;
    animation: scroll-left 60s linear infinite;
    white-space: nowrap;
    flex: 1;
    padding-left: 30px;
}

.ticker-item {
    color: #fff;
    font-size: 16px;
    padding: 0 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ticker-icon {
    font-size: 18px;
    flex-shrink: 0;
}

.ticker-text {
    white-space: nowrap;
}

.ticker-item:hover {
    color: #FFD700;
    text-decoration: underline;
}

.ticker-item:hover .ticker-icon {
    transform: scale(1.2);
    transition: transform 0.3s ease;
}

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

.ticker-item:hover::after {
    width: 100%;
}

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

/* News Detail Modal */
.news-detail-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.news-detail-content {
    background-color: #fff;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease;
}

.news-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #e9ecef;
    background-color: #009900;
    color: #fff;
    border-radius: 12px 12px 0 0;
}

.news-detail-header h3 {
    margin: 0;
    font-size: 20px;
}

.news-detail-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #fff;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.news-detail-close:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.news-detail-body {
    padding: 24px;
}

.news-detail-item {
    text-align: center;
}

.news-detail-date {
    color: #666;
    font-size: 14px;
    font-style: italic;
    margin-bottom: 12px;
}

.news-detail-title {
    color: #009900;
    font-size: 24px;
    margin: 0 0 16px 0;
}

.news-detail-text {
    color: #333;
    font-size: 16px;
    line-height: 1.6;
    margin: 0 0 24px 0;
}

.news-detail-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.news-detail-btn {
    background-color: #009900;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-detail-btn:hover {
    background-color: #007700;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Find Out More Button */
.find-out-more-btn {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
    padding: 14px 35px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 6px;
    overflow: hidden;
    margin-top: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.find-out-more-btn:hover {
    background-color: #fff;
    color: #2c3e50;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.btn-active-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: #FFD700;
    transition: width 0.3s ease;
}

.find-out-more-btn:hover .btn-active-line {
    width: 100%;
}

.find-out-more-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.find-out-more-btn:hover::before {
    left: 100%;
}

/* Slide Detail Modal */
.slide-detail-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(110, 19, 19, 0.8);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.slide-detail-content {
    background-color: #fff;
    border-radius: 12px;
    width: 90%;
    max-width: 700px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease;
}

.slide-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #0678eb;
    background-color: #009900;
    color: #fff;
    border-radius: 12px 12px 0 0;
}

.slide-detail-header h3 {
    margin: 0;
    font-size: 20px;
}

.slide-detail-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #fff;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.slide-detail-close:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.slide-detail-body {
    padding: 24px;
}

.slide-detail-image {
    text-align: center;
    margin-bottom: 20px;
}

.slide-detail-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.slide-detail-info {
    text-align: center;
}

.slide-detail-description {
    color: #333;
    font-size: 16px;
    line-height: 1.6;
    margin: 0 0 24px 0;
}

.slide-detail-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.slide-detail-btn {
    background-color: #009900;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.slide-detail-btn:hover {
    background-color: #007700;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 500px;
    overflow: hidden;
    background-color: #f8f9fa;
}

.slider-container {
    position: relative;
    height: 100%;
    overflow: hidden;
}

.slider-wrapper {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease-in-out;
    will-change: transform;
}

.slide {
    min-width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    color: #fff;
    position: relative;
    background: none;
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
    width: min(92%, 1100px);
    padding: 40px 50px;
    background: transparent;
    border-radius: 15px;
    backdrop-filter: none;
}

.slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.slide h2 {
    font-size: 42px;
    margin-bottom: 25px;
    text-shadow: 
        3px 3px 6px rgba(0, 0, 0, 0.8),
        0 0 20px rgba(255, 215, 0, 0.5),
        0 0 40px rgba(255, 215, 0, 0.3);
    background: linear-gradient(135deg, #fff 0%, #FFD700 50%, #fff 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: titleGlow 3s ease-in-out infinite alternate;
    position: relative;
    white-space: nowrap;
}

.slide p {
    font-size: 20px;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    margin-bottom: 25px;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.slider-arrow:hover {
    background-color: #fff;
    transform: translateY(-50%) scale(1.1);
}

.slider-arrow.prev {
    left: 20px;
}

.slider-arrow.next {
    right: 20px;
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px solid #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: #fff;
    transform: scale(1.2);
}

/* Main Content */
.main-content {
    padding: 60px 20px;
}

.content-card {
    background-color: #fff;
    border-radius: 15px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.content-card h2 {
    color: #2c3e50;
    font-size: 32px;
    margin-bottom: 20px;
    text-align: center;
}

.content-card h3 {
    color: #3498db;
    font-size: 24px;
    margin-bottom: 15px;
}

.content-card p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

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

/* About Section */
.about-columns {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-bottom: 40px;
}

.about-left {
    flex: 1;
}

.about-left h2 {
    color: #2c3e50;
    font-size: 32px;
    margin-bottom: 20px;
}

.about-left p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 30px;
}

.read-message-btn {
    background-color: #3498db;
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
    text-decoration: none;
    display: inline-block;
}

.read-message-btn:hover {
    background-color: #2980b9;
}

.about-right {
    flex: 1;
    display: flex;
    justify-content: center;
}

.chairman-card {
    background-color: #fff;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 300px;
}

.chairman-image {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.chairman-image svg {
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.chairman-image img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

.chairman-card h3 {
    color: #2c3e50;
    font-size: 24px;
    margin-bottom: 10px;
}

.chairman-card p {
    color: #555;
    font-size: 16px;
}

/* Message Section */
.message-section .content-card p {
    margin-bottom: 15px;
    line-height: 1.6;
    text-align: justify;
}

/* Contact Form */
.contact-form-section .content-card h2 {
    margin-bottom: 20px;
}

#contactForm {
    max-width: 600px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #2c3e50;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    box-sizing: border-box;
}

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

.submit-btn {
    background-color: #3498db;
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: #2980b9;
}

/* Social Media Section */
.social-media-large {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 20px;
    background-color: #f8f9fa;
    border-radius: 10px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s;
    border: 1px solid #e9ecef;
}

.social-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-color: #3498db;
}

.social-link svg {
    flex-shrink: 0;
}

/* Leadership Section */
.leadership-section {
    padding: 60px 20px;
    background-color: #008000;
}

.leadership-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.leader-card {
    background-color: #FFD700;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.leader-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: #3498db;
}

.leader-image {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.leader-image svg {
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.leader-image img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

.leader-info h3 {
    color: #fff;
    font-size: 24px;
    margin-bottom: 8px;
}

.leader-title {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
}

.leader-bio {
    color: #fff;
}

.leader-bio {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* Publications Section */
.publications-section {
    padding: 60px 20px;
    background-color: #f8f9fa;
}

.publications-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    margin-top: 30px;
}

.publications-left {
    text-align: center;
    padding: 30px;
    background-color: #fff;
    border-radius: 10px;
    border: 1px solid #e9ecef;
}

.publications-left h3 {
    color: #2c3e50;
    font-size: 24px;
    margin-bottom: 20px;
}

.document-icon {
    margin: 20px 0;
    color: #3498db;
}

.publications-left p {
    color: #666;
    font-size: 16px;
    line-height: 1.6;
}

.publications-right {
    padding: 30px;
    background-color: #fff;
    border-radius: 10px;
    border: 1px solid #e9ecef;
}

#categorySelect {
    width: 100%;
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid #ddd;
    background-color: #fff;
    font-size: 16px;
    margin-bottom: 20px;
    cursor: pointer;
}

#documentsList {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.document-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.document-info h4 {
    color: #2c3e50;
    font-size: 18px;
    margin: 0 0 5px 0;
}

.document-info p {
    color: #666;
    font-size: 14px;
    margin: 0;
}

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

.btn-view,
.btn-download {
    padding: 8px 16px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-view {
    background-color: #3498db;
    color: #fff;
}

.btn-view:hover {
    background-color: #2980b9;
}

.btn-download {
    background-color: #27ae60;
    color: #fff;
}

.btn-download:hover {
    background-color: #229954;
}

.no-documents {
    text-align: center;
    color: #666;
    font-style: italic;
    padding: 20px;
}

/* Hajj Section */
.hajj-section {
    padding: 60px 20px;
}

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

.hajj-info h3,
.hajj-timeline h3 {
    color: #2c3e50;
    font-size: 24px;
    margin-bottom: 20px;
}

.hajj-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}

.hajj-link {
    display: inline-block;
    background-color: #f8f9fa;
    color: #2c3e50;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    font-weight: 500;
}

.hajj-link:hover {
    background-color: #3498db;
    color: #fff;
    transform: translateX(5px);
}

.hajj-timeline {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
    border: 1px solid #e9ecef;
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e9ecef;
}

.timeline-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.timeline-date {
    background-color: #FFD700;
    color: #2c3e50;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
    min-width: 100px;
    text-align: center;
    margin-right: 20px;
}

.timeline-event {
    color: #555;
    font-size: 14px;
    flex: 1;
}

/* News Section */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.news-item {
    background-color: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    border-left: 4px solid #3498db;
    transition: all 0.3s ease;
}

.news-item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.news-item h3 {
    color: #2c3e50;
    font-size: 20px;
    margin-bottom: 10px;
}

.news-item p {
    color: #666;
    font-size: 14px;
    margin-bottom: 10px;
}

.news-date {
    color: #3498db;
    font-size: 12px;
    font-weight: 600;
}

/* Contact Section */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.contact-item {
    text-align: center;
    padding: 25px;
    background-color: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background-color: #3498db;
    color: #fff;
    transform: translateY(-5px);
}

.contact-item h3 {
    margin-bottom: 15px;
    color: #2c3e50;
}

.contact-item:hover h3 {
    color: #fff;
}

/* Footer */
.footer {
    background-color: #2c3e50;
    color: #fff;
    padding: 50px 20px 30px;
}

.main-footer {
    display: grid;
    grid-template-columns: repeat(4, minmax(180px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-column h3 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 15px;
}

.footer-logo img {
    width: 120px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.footer-motto {
    color: #f1f1f1;
    font-size: 14px;
    line-height: 1.7;
    max-width: 240px;
}

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

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

.footer-links a {
    color: #f1f1f1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ffd700;
}

.footer-column p {
    margin-bottom: 10px;
    color: #f1f1f1;
    line-height: 1.7;
}

.footer-social-icons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.footer-social-icon {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    transition: transform 0.2s ease, background-color 0.2s ease;
    text-decoration: none;
}

.footer-social-icon:hover {
    background-color: #ffd700;
    color: #2c3e50;
    transform: translateY(-2px);
}

.footer-subscribe-form {
    display: grid;
    gap: 10px;
}

.footer-subscribe-form input {
    width: 100%;
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.2);
    background-color: rgba(255,255,255,0.08);
    color: #fff;
}

.footer-subscribe-form input::placeholder {
    color: rgba(255,255,255,0.7);
}

.footer-subscribe-form button {
    padding: 12px 15px;
    border: none;
    border-radius: 8px;
    background-color: #ffd700;
    color: #2c3e50;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.footer-subscribe-form button:hover {
    background-color: #e6c200;
}

.footer-credits {
    color: #ccc;
}

.footer-divider {
    height: 1px;
    background-color: rgba(255,255,255,0.15);
    margin-bottom: 20px;
}

.footer-credit-columns {
    display: grid;
    grid-template-columns: repeat(3, minmax(120px, 1fr));
    gap: 20px;
    align-items: center;
    font-size: 14px;
}

.footer-credit-columns span:last-child {
    justify-self: end;
    text-align: right;
}

.footer-credit-columns a {
    color: #ffd700;
    text-decoration: none;
}

.footer-credit-columns a:hover {
    text-decoration: underline;
}

.back-to-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 45px;
    height: 45px;
    background-color: #ffd700;
    color: #2c3e50;
    border: none;
    border-radius: 50%;
    font-size: 22px;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
    z-index: 1000;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .top-header {
        flex-direction: column;
        gap: 10px;
        padding: 10px 15px;
    }
    
    .top-header-left {
        justify-content: center;
        gap: 15px;
    }
    
    .header-item {
        font-size: 11px;
    }
    
    .social-icon {
        width: 28px;
        height: 28px;
    }
    
    .social-icon svg {
        width: 16px;
        height: 16px;
    }
    
    .main-header {
        padding: 20px 15px;
    }
    
    .header-content {
        flex-direction: column;
        gap: 30px;
        align-items: center;
        text-align: center;
    }
    
    .logo-section {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .org-name {
        font-size: 24px;
    }
    
    .org-subtitle {
        font-size: 14px;
    }
    
    .logo-image {
        width: 60px;
        height: 60px;
    }
    
    .header-right {
        width: 100%;
        justify-content: center;
    }
    
    .info-cards {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .info-card {
        min-width: 120px;
        padding: 15px;
    }
    
    .info-icon {
        width: 35px;
        height: 35px;
    }
    
    .info-content h4 {
        font-size: 13px;
    }
    
    .info-content p {
        font-size: 12px;
    }
    
    .navigation-bar ul {
        flex-direction: column;
        gap: 10px;
        text-align: center;
        padding: 20px 0;
        flex: none;
    }
    
    .nav-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .search-container {
        margin-left: 0;
        justify-content: center;
    }
    
    .navigation-bar a {
        padding: 10px 20px;
        font-size: 13px;
        display: inline-block;
        width: auto;
    }
    
    .search-btn {
        padding: 10px 16px;
        font-size: 13px;
    }
    
    .news-ticker {
        flex-direction: column;
        align-items: stretch;
    }
    
    .ticker-header {
        clip-path: none;
        margin-right: 0;
        text-align: center;
        padding: 8px 20px;
    }
    
    .breaking-news-label {
        font-size: 12px;
    }
    
    .ticker-content {
        padding-left: 0;
        padding-top: 8px;
    }
    
    .ticker-item {
        padding: 0 30px;
        font-size: 14px;
    }
    
    .ticker-icon {
        font-size: 16px;
    }
    
    .hero-section {
        height: 400px;
    }
    
    .slide {
        padding: 0;
        flex-direction: column;
        text-align: center;
    }
    
    .slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
    width: min(92%, 1100px);
    padding: 40px 50px;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 15px;
    backdrop-filter: blur(10px);
}    
    .slide-image {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        z-index: 1;
    }
    
    .slide h2 {
        font-size: 32px;
        letter-spacing: 1px;
        margin-bottom: 20px;
    }
    
    .slide p {
        font-size: 18px;
        margin-bottom: 20px;
    }
    
    .slider-arrow {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .slider-arrow.prev {
        left: 10px;
    }
    
    .slider-arrow.next {
        right: 10px;
    }
    
    .main-content {
        padding: 30px 15px;
    }
    
    .content-card {
        padding: 25px;
    }
    
    .content-card h2 {
        font-size: 28px;
    }
    
    .content-cards-grid {
        grid-template-columns: 1fr;
    }
    
    .about-columns {
        flex-direction: column;
        gap: 20px;
    }
    
    .about-left, .about-right {
        flex: none;
    }
    
    .chairman-card {
        max-width: 100%;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .publications-grid {
        grid-template-columns: 1fr;
    }
    
    .publication-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .publications-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .publications-left,
    .publications-right {
        padding: 20px;
    }
    
    .document-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .document-actions {
        align-self: stretch;
        justify-content: center;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .top-header {
        padding: 8px 10px;
    }
    
    .top-header-left {
        gap: 10px;
    }
    
    .header-item {
        font-size: 10px;
    }
    
    .social-icon {
        width: 24px;
        height: 24px;
    }
    
    .social-icon svg {
        width: 14px;
        height: 14px;
    }
    
    .main-header {
        padding: 15px 10px;
    }
    
    .header-content {
        gap: 20px;
    }
    
    .logo-section {
        gap: 10px;
    }
    
    .org-name {
        font-size: 20px;
    }
    
    .org-subtitle {
        font-size: 12px;
    }
    
    .logo-image {
        width: 50px;
        height: 50px;
    }
    
    .info-cards {
        gap: 10px;
    }
    
    .info-card {
        min-width: 100px;
        padding: 12px;
    }
    
    .info-icon {
        width: 30px;
        height: 30px;
    }
    
    .info-icon svg {
        width: 18px;
        height: 18px;
    }
    
    .info-content h4 {
        font-size: 11px;
    }
    
    .info-content p {
        font-size: 10px;
    }
    
    .search-btn {
        padding: 8px 12px;
        font-size: 12px;
    }
    
    .search-btn svg {
        width: 16px;
        height: 16px;
    }
    
    .news-ticker {
        flex-direction: column;
        align-items: stretch;
    }
    
    .ticker-header {
        clip-path: none;
        margin-right: 0;
        text-align: center;
        padding: 6px 15px;
    }
    
    .breaking-news-label {
        font-size: 11px;
    }
    
    .ticker-content {
        padding-left: 0;
        padding-top: 6px;
    }
    
    .ticker-item {
        padding: 0 20px;
        font-size: 13px;
    }
    
    .ticker-icon {
        font-size: 14px;
    }
    
    .logo h1 {
        font-size: 24px;
    }
    
    .hero-section {
        height: 350px;
    }
    
    .slide h2 {
        font-size: 24px;
        letter-spacing: 0.5px;
        margin-bottom: 15px;
    }
    
    .slide p {
        font-size: 16px;
        margin-bottom: 18px;
    }
    
    .find-out-more-btn {
        padding: 10px 20px;
        font-size: 14px;
        margin-top: 12px;
    }
    
    .slider-nav {
        bottom: 10px;
    }
    
    .slider-dots {
        bottom: 40px;
    }
    
    .content-card {
        padding: 20px;
    }
    
    .content-card h2 {
        font-size: 24px;
    }
}
