/* Home Page CSS */
.main-content {
    margin-top: 80px;
}

/* Hero Slideshow Section */
.hero-slideshow {
    position: relative;
    height: 85vh;
    min-height: 600px;
    overflow: hidden;
}

.slideshow-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.7) 100%);
}

.slide-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.slide-control:hover {
    background-color: var(--secondary-color);
    transform: translateY(-50%) scale(1.1);
}

.slide-control.prev {
    left: 20px;
}

.slide-control.next {
    right: 20px;
}

.slideshow-dots {
    position: absolute;
    bottom: 30px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 12px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: var(--secondary-color);
    transform: scale(1.2);
}

.dot:hover {
    background-color: white;
}

.hero-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    z-index: 5;
}

.hero-text {
    text-align: center;
    color: white;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.hero-text h2 {
    font-size: 3.2rem;
    margin-bottom: 20px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 20px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-description {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 auto 30px;
    color: #f0f0f0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Highlights Section */
.highlights {
    padding: 80px 0;
    background-color: var(--bg-secondary);
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.highlight-card {
    background-color: var(--bg-color);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-top: 4px solid var(--secondary-color);
}

.highlight-card:hover {
    transform: translateY(-10px);
}

.highlight-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(255, 140, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--secondary-color);
    font-size: 1.8rem;
}

.highlight-card h3 {
    margin-bottom: 15px;
    color: var(--text-color);
}

/* Countdown Section */
.countdown {
    padding: 80px 0;
    background-color: var(--bg-color);
    text-align: center;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.countdown-item {
    background-color: var(--bg-secondary);
    padding: 30px 20px;
    border-radius: 8px;
    min-width: 130px;
    box-shadow: var(--shadow);
    border-top: 4px solid var(--secondary-color);
}

.countdown-item span {
    font-size: 3rem;
    font-weight: 700;
    color: var(--secondary-color);
    display: block;
    line-height: 1;
}

.countdown-item p {
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 10px;
    margin-bottom: 0;
    color: var(--text-light);
}

/* Featured Groups */
.featured-groups {
    padding: 80px 0;
    background-color: var(--bg-secondary);
}

.groups-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.group-card {
    background-color: var(--bg-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.group-card:hover {
    transform: translateY(-10px);
}

.group-image {
    height: 250px;
    overflow: hidden;
}

.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-info {
    padding: 25px;
}

.group-info h3 {
    color: var(--text-color);
    margin-bottom: 10px;
}

.group-info p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.section-footer {
    text-align: center;
}

/* =========================================== */
/* 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;
    }
}