/* Cultural Groups Page CSS */
.main-content {
    margin-top: 80px;
}

/* Page Header */
.page-header {
    background-color: var(--primary-color);
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('/images/boyo.jpg');
    color: white;
    padding: 80px 0 60px;
    text-align: center;
}

.page-header h1 {
    color: white;
    margin-bottom: 15px;
    font-size: 2.8rem;
}

.page-subtitle {
    font-size: 1.4rem;
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 20px;
}

.page-description {
    max-width: 800px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Filter Section */
.filter-section {
    padding: 40px 0;
    background-color: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
}

.filter-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.search-box {
    flex: 1;
    min-width: 300px;
    position: relative;
}

.search-box i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
}

.search-box input {
    width: 100%;
    padding: 14px 15px 14px 45px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background-color: var(--bg-color);
    color: var(--text-color);
    font-size: 1rem;
    transition: var(--transition);
}

.search-box input:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(255, 140, 0, 0.1);
}

.filter-options {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.filter-dropdown select {
    padding: 14px 20px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background-color: var(--bg-color);
    color: var(--text-color);
    font-size: 1rem;
    cursor: pointer;
    min-width: 200px;
    transition: var(--transition);
}

.filter-dropdown select:focus {
    outline: none;
    border-color: var(--secondary-color);
}

#resetFilters {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 20px;
}

.filter-info {
    text-align: center;
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Cultural Groups Grid */
.cultural-groups {
    padding: 60px 0;
    background-color: var(--bg-color);
}

.groups-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.group-card {
    background-color: var(--bg-secondary);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.group-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--secondary-color);
}

.dark-theme .group-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.group-card-header {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.group-image {
    width: 100%;
    height: 100%;
}

.group-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.group-card:hover .group-image img {
    transform: scale(1.05);
}

.group-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--secondary-color);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.group-card-body {
    padding: 25px;
    flex-grow: 1;
}

.group-name {
    color: var(--text-color);
    margin-bottom: 5px;
    font-size: 1.4rem;
}

.group-region {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.group-region::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    margin-right: 5px;
}

.group-description {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
}

.group-description p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

.group-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background-color: rgba(255, 140, 0, 0.08);
    border-radius: 20px;
    color: var(--secondary-color);
    font-size: 0.85rem;
    font-weight: 500;
}

.highlight-item i {
    font-size: 0.8rem;
}

.group-card-footer {
    padding: 0 25px 25px;
}

.btn-view-details {
    width: 100%;
    padding: 12px;
    background-color: transparent;
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-view-details:hover {
    background-color: var(--secondary-color);
    color: white;
}

/* No Results Message */
.no-results {
    text-align: center;
    padding: 60px 20px;
    display: none;
}

.no-results-content i {
    font-size: 4rem;
    color: var(--text-light);
    margin-bottom: 20px;
}

.no-results-content h3 {
    color: var(--text-color);
    margin-bottom: 10px;
}

.no-results-content p {
    color: var(--text-light);
    margin-bottom: 25px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 20px;
}

.modal-content {
    background-color: var(--bg-secondary);
    border-radius: 12px;
    width: 100%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.2);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background-color: var(--secondary-color);
    transform: rotate(90deg);
}

.modal-body {
    padding: 40px;
}

/* Region Statistics */
.region-stats {
    padding: 80px 0;
    background-color: var(--bg-secondary);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.stat-card {
    background-color: var(--bg-color);
    padding: 30px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--secondary-color);
    box-shadow: var(--shadow);
}

.stat-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
}

.stat-info h3 {
    color: var(--text-color);
    margin-bottom: 5px;
    font-size: 1.3rem;
}

.stat-count {
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 1.5rem;
    margin: 0;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .groups-container {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    }
}

@media (max-width: 992px) {
    .page-header h1 {
        font-size: 2.4rem;
    }
    
    .page-subtitle {
        font-size: 1.2rem;
    }
    
    .filter-container {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-box {
        min-width: 100%;
    }
    
    .filter-options {
        width: 100%;
        justify-content: space-between;
    }
    
    .groups-container {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .main-content {
        margin-top: 70px;
    }
    
    .page-header {
        padding: 60px 0 40px;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .page-subtitle {
        font-size: 1.1rem;
    }
    
    .page-description {
        font-size: 1rem;
    }
    
    .groups-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .filter-options {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-dropdown select {
        width: 100%;
    }
    
    #resetFilters {
        justify-content: center;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .modal-body {
        padding: 30px 20px;
    }
}

@media (max-width: 576px) {
    .page-header h1 {
        font-size: 1.8rem;
    }
    
    .group-card-header {
        height: 180px;
    }
    
    .group-card-body {
        padding: 20px;
    }
    
    .group-card-footer {
        padding: 0 20px 20px;
    }
    
    .group-name {
        font-size: 1.3rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-card {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
}



/* =========================================== */
/* MODERN PROFESSIONAL FOOTER STYLES */
/* =========================================== */

.main-footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    position: relative;
    padding-top: 60px;
}

/* Footer Top Section */
.footer-top {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-bottom: 50px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Brand Section */
.footer-brand {
    max-width: 400px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-logo-image {
    width: 70px;
    height: 70px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-logo-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.footer-logo-text h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 5px;
    font-weight: 700;
}

.footer-tagline {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.footer-description {
    color: var(--footer-text);
    margin-bottom: 30px;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Newsletter */
.footer-newsletter h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    color: white;
    font-size: 0.9rem;
    transition: var(--transition);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--secondary-color);
    background-color: rgba(255, 255, 255, 0.1);
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.btn-newsletter {
    padding: 12px 20px;
    background-color: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
    white-space: nowrap;
}

.btn-newsletter:hover {
    background-color: var(--secondary-dark);
    transform: translateY(-2px);
}

/* Footer Links Grid */
.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-column-title {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
}

.footer-column-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--secondary-color);
}

.footer-menu {
    list-style: none;
}

.footer-menu li {
    margin-bottom: 12px;
}

.footer-menu a {
    color: var(--footer-text);
    transition: var(--transition);
    font-size: 0.95rem;
    display: inline-block;
    padding: 4px 0;
}

.footer-menu a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

/* Contact Info */
.contact-info {
    margin-top: 5px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
}

.contact-icon {
    width: 36px;
    height: 36px;
    background-color: rgba(255, 140, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    flex-shrink: 0;
}

.contact-text p {
    margin: 0;
    color: var(--footer-text);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Footer Middle Section (Social Media) */
.footer-middle {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.social-media h4 {
    text-align: center;
    color: white;
    font-size: 1.2rem;
    margin-bottom: 25px;
    font-weight: 600;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.social-icon {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 50px;
    color: white;
    transition: var(--transition);
    text-decoration: none;
    font-size: 0.9rem;
}

.social-icon:hover {
    transform: translateY(-3px);
    background-color: rgba(255, 140, 0, 0.2);
    color: var(--secondary-color);
}

.social-icon.facebook:hover {
    background-color: rgba(24, 119, 242, 0.2);
    color: #1877F2;
}

.social-icon.instagram:hover {
    background-color: rgba(225, 48, 108, 0.2);
    color: #E1306C;
}

.social-icon.tiktok:hover {
    background-color: rgba(0, 0, 0, 0.2);
    color: orange;
}

.social-icon.youtube:hover {
    background-color: rgba(255, 0, 0, 0.2);
    color: #FF0000;
}

.social-icon i {
    font-size: 1.1rem;
}

.social-icon span {
    font-weight: 500;
}

/* Footer Bottom Section */
.footer-bottom {
    padding: 25px 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.copyright {
    color: var(--footer-text);
    font-size: 0.9rem;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-legal a {
    color: var(--footer-text);
    font-size: 0.85rem;
    transition: var(--transition);
}

.footer-legal a:hover {
    color: var(--secondary-color);
}

.divider {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.85rem;
}

/* Design Credit */
.design-credit {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--footer-text);
    font-size: 0.9rem;
}

.design-credit i {
    color: #ff4757;
    margin: 0 5px;
}

.designer {
    color: var(--secondary-color);
    font-weight: 700;
    letter-spacing: 1px;
    padding-left: 5px;
}

/* Back to Top Button */
.back-to-top {
    position: absolute;
    right: 30px;
    bottom: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    opacity: 0.8;
    z-index: 100;
}

.back-to-top:hover {
    opacity: 1;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* =========================================== */
/* RESPONSIVE STYLES FOR FOOTER */
/* =========================================== */

@media (max-width: 1100px) {
    .footer-top {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-brand {
        max-width: 100%;
    }
    
    .footer-links-grid {
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .hero-slideshow {
        height: 65vh;
        min-height: 450px;
    }
    
    .hero-text h2 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-description {
        font-size: 1.3rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .countdown-item {
        min-width: 100px;
        padding: 20px 10px;
    }
    
    .countdown-item span {
        font-size: 2.5rem;
    }
    
    .slide-control {
        width: 40px;
        height: 40px;
    }
    
    /* Footer Responsive */
    .footer-top {
        gap: 30px;
        margin-bottom: 40px;
        padding-bottom: 40px;
    }
    
    .footer-links-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 30px;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .footer-legal {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .social-icons {
        gap: 15px;
    }
    
    .social-icon {
        padding: 10px 15px;
    }
    
    .back-to-top {
        right: 20px;
        bottom: 20px;
        width: 45px;
        height: 45px;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input,
    .btn-newsletter {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .hero-slideshow {
        height: 60vh;
        min-height: 400px;
    }
    
    .hero-text h2 {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-description {
        font-size: 1.2rem;
    }
    
    .countdown-item {
        min-width: 80px;
    }
    
    .countdown-item span {
        font-size: 2rem;
    }
    
    .highlight-card, .group-card {
        padding: 20px;
    }
    
    .group-image {
        height: 200px;
    }
    
    .slideshow-dots {
        bottom: 20px;
    }
    
    .dot {
        width: 10px;
        height: 10px;
    }
    
    /* Footer Responsive */
    .footer-links-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-column {
        margin-bottom: 20px;
    }
    
    .social-icons {
        flex-direction: column;
        align-items: center;
    }
    
    .social-icon {
        width: 200px;
        justify-content: center;
    }
    
    .footer-logo {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .footer-logo-image {
        margin: 0 auto;
    }
    
    .back-to-top {
        right: 15px;
        bottom: 15px;
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .hero-slideshow {
        height: 55vh;
        min-height: 350px;
    }
    
    .hero-text h2 {
        font-size: 1.6rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
        margin-bottom: 20px;
    }
    
    .hero-buttons .btn {
        padding: 10px 18px;
        font-size: 0.9rem;
    }
}