/* Carousel Fix - Essential Styles Only */
.banner-carousel {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    margin-bottom: 2rem;
    background: #000;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    z-index: 1;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 2;
}

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

.slide-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.3));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    z-index: 3;
}

.slide-text h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.slide-text p {
    font-size: 20px;
    margin-bottom: 24px;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.cta-btn {
    background: linear-gradient(135deg, #dc2626, #7c3aed);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel-btn:hover {
    background: rgba(0, 0, 0, 0.7);
    transform: translateY(-50%) scale(1.1);
}

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

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

.carousel-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: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active,
.dot:hover {
    background: white;
    transform: scale(1.2);
}

/* Responsive */
@media (max-width: 768px) {
    .banner-carousel {
        height: 300px;
    }
    
    .slide-text h2 {
        font-size: 28px;
    }
    
    .slide-text p {
        font-size: 16px;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
    }
    
    .carousel-btn.prev {
        left: 10px;
    }
    
    .carousel-btn.next {
        right: 10px;
    }
}

@media (max-width: 480px) {
    .banner-carousel {
        height: 250px;
    }
    
    .slide-text h2 {
        font-size: 24px;
    }
    
    .slide-text p {
        font-size: 14px;
    }
    
    .cta-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}/* Cate
gories Section - 4 Columns Layout */
.categories-section {
    padding: 60px 0;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.02), rgba(124, 58, 237, 0.02));
}

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

.category-card {
    background: white;
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #dc2626, #7c3aed);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.category-card:hover::before {
    transform: scaleX(1);
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border-color: rgba(220, 38, 38, 0.1);
}

.category-icon {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.1), rgba(124, 58, 237, 0.1));
    transition: all 0.3s ease;
}

.category-card:hover .category-icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.15), rgba(124, 58, 237, 0.15));
}

.category-card h3 {
    font-size: 24px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.category-card:hover h3 {
    color: #dc2626;
}

.category-card p {
    font-size: 16px;
    color: #6b7280;
    line-height: 1.5;
    margin-bottom: 20px;
}

.category-count {
    display: inline-block;
    background: linear-gradient(135deg, #dc2626, #7c3aed);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Responsive adjustments for categories */
@media (max-width: 1200px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .categories-section {
        padding: 40px 0;
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        margin-top: 30px;
    }
    
    .category-card {
        padding: 30px 20px;
    }
    
    .category-icon {
        width: 60px;
        height: 60px;
    }
    
    .category-card h3 {
        font-size: 20px;
    }
    
    .category-card p {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .categories-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .category-card {
        padding: 25px 15px;
    }
    
    .category-icon {
        width: 50px;
        height: 50px;
    }
    
    .category-card h3 {
        font-size: 18px;
    }
}

/* Section Title */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    text-align: center;
    margin-bottom: 1rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #dc2626, #7c3aed);
    border-radius: 2px;
}/* 
Compact Layout - Reduced Spacing */

/* General section spacing reduction */
section {
    padding: 40px 0 !important; /* Reduced from 60px */
}

/* Specific sections with even less padding */
.compact-sponsor-section {
    padding: 15px 0 !important; /* Reduced from 20px */
}

.integrated-sponsor-section {
    padding: 30px 0 !important; /* Reduced from 40px */
}

.subtle-sponsor-section {
    padding: 20px 0 !important;
}

/* Featured sections with reduced spacing */
.featured-events,
.featured-galleries,
.featured-venues,
.categories-section {
    padding: 45px 0 !important; /* Reduced from 60px */
}

.latest-gallery {
    padding: 35px 0 !important; /* Reduced from 40px */
}

/* Compact CTA sections */
.section-cta {
    text-align: center;
    margin-top: 25px !important; /* Reduced from 40px */
    padding: 20px !important; /* Reduced from 30px */
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.03), rgba(124, 58, 237, 0.03));
    border-radius: 12px; /* Reduced from 16px */
    border: 1px solid rgba(220, 38, 38, 0.1);
}

.section-cta p {
    font-size: 16px !important; /* Reduced from 18px */
    color: #4b5563;
    margin-bottom: 15px !important; /* Reduced from 20px */
    font-weight: 500;
}

.section-cta .cta-btn {
    background: linear-gradient(135deg, #dc2626, #7c3aed);
    color: white;
    border: none;
    padding: 12px 24px !important; /* Reduced from 14px 28px */
    border-radius: 20px; /* Reduced from 25px */
    font-size: 14px !important; /* Reduced from 16px */
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 3px 12px rgba(220, 38, 38, 0.25); /* Reduced shadow */
}

.section-cta .cta-btn:hover {
    transform: translateY(-1px); /* Reduced from -2px */
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.35); /* Reduced shadow */
}

/* Section headers with reduced spacing */
.section-header {
    text-align: center;
    margin-bottom: 30px !important; /* Reduced from 40px */
}

.section-title {
    font-size: 2.2rem !important; /* Reduced from 2.5rem */
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 8px !important; /* Reduced from 1rem */
}

.section-header p {
    font-size: 16px !important; /* Reduced from 18px */
    color: #6b7280;
    margin-bottom: 0;
}

/* Grid spacing reductions */
.events-grid,
.venues-grid,
.featured-galleries-grid {
    gap: 20px !important; /* Reduced from 24px */
    margin-bottom: 15px !important; /* Reduced from 20px */
}

/* Gallery carousel with reduced height */
.gallery-carousel {
    gap: 15px !important; /* Reduced from 1rem */
    padding-bottom: 15px !important; /* Reduced from 1rem */
}

.gallery-photo {
    width: 280px !important; /* Reduced from 320px */
}

.gallery-photo img {
    height: 180px !important; /* Reduced from 200px */
}

/* Venue cards with reduced content padding */
.venue-content,
.event-content,
.gallery-content {
    padding: 18px !important; /* Reduced from 20px */
}

/* Responsive adjustments for compact layout */
@media (max-width: 768px) {
    section {
        padding: 30px 0 !important; /* Reduced from 40px */
    }
    
    .featured-events,
    .featured-galleries,
    .featured-venues,
    .categories-section {
        padding: 35px 0 !important; /* Reduced from 40px */
    }
    
    .section-cta {
        margin-top: 20px !important;
        padding: 15px !important;
    }
    
    .section-cta p {
        font-size: 14px !important;
        margin-bottom: 12px !important;
    }
    
    .section-cta .cta-btn {
        padding: 10px 20px !important;
        font-size: 12px !important;
    }
    
    .section-title {
        font-size: 1.8rem !important;
    }
    
    .events-grid,
    .venues-grid,
    .featured-galleries-grid {
        gap: 15px !important;
    }
}

@media (max-width: 480px) {
    section {
        padding: 25px 0 !important;
    }
    
    .section-cta {
        margin-top: 15px !important;
        padding: 12px !important;
    }
    
    .gallery-photo {
        width: 250px !important;
    }
    
    .gallery-photo img {
        height: 160px !important;
    }
}

/* Search section with reduced negative margin */
.search-section {
    margin-top: -3rem !important; /* Reduced from -5rem */
    padding-bottom: 1.5rem !important; /* Reduced from 2rem */
}

/* Banner carousel with reduced margin */
.banner-carousel {
    margin-bottom: 1.5rem !important; /* Reduced from 2rem */
}/* Additio
nal Compact Optimizations */

/* Reduce card heights and content */
.event-card,
.venue-card,
.gallery-card {
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08) !important; /* Reduced shadow */
}

.event-image,
.venue-image,
.gallery-image {
    height: 180px !important; /* Reduced from 200px */
}

/* Compact category cards */
.category-card {
    padding: 30px 25px !important; /* Reduced from 40px 30px */
}

.category-icon {
    width: 70px !important; /* Reduced from 80px */
    height: 70px !important;
    margin-bottom: 15px !important; /* Reduced from 20px */
}

.category-card h3 {
    font-size: 22px !important; /* Reduced from 24px */
    margin-bottom: 10px !important; /* Reduced from 12px */
}

.category-card p {
    font-size: 15px !important; /* Reduced from 16px */
    margin-bottom: 15px !important; /* Reduced from 20px */
}

/* Compact sponsor banners */
.main-sponsor-image {
    height: 160px !important; /* Reduced from 200px */
}

.main-sponsor-content {
    padding: 15px !important; /* Reduced from 20px */
}

.mini-sponsor-card {
    padding: 10px !important; /* Reduced from 12px */
}

/* Reduce gaps in sponsor grids */
.integrated-sponsor-grid {
    gap: 15px !important; /* Reduced from 20px */
}

.side-sponsors {
    gap: 12px !important; /* Reduced from 15px */
}

/* Compact subtle banner */
.subtle-sponsor-banner {
    padding: 15px 20px !important;
}

/* Reduce footer spacing if present */
.footer {
    padding: 2rem 0 1rem !important; /* Reduced from 3rem */
}

/* Optimize container spacing */
.container {
    padding: 0 1rem !important;
}

/* Reduce margins between elements */
h2.section-title + p {
    margin-top: -5px !important;
}

/* Compact event/venue details */
.event-details,
.venue-rating {
    margin-bottom: 10px !important; /* Reduced from 12px */
}

.event-price,
.venue-location {
    margin-top: 8px !important;
}

/* Reduce gallery overlay spacing */
.gallery-info {
    gap: 12px !important; /* Reduced from 15px */
}

/* Compact photo overlay */
.photo-overlay {
    padding: 12px !important; /* Reduced from 15px */
}

/* Optimize button spacing */
.cta-btn {
    margin: 0 !important;
}

/* Reduce star rating spacing */
.stars {
    gap: 1px !important; /* Reduced from 2px */
}

/* Mobile optimizations */
@media (max-width: 768px) {
    .event-image,
    .venue-image,
    .gallery-image {
        height: 150px !important;
    }
    
    .category-icon {
        width: 55px !important;
        height: 55px !important;
    }
    
    .main-sponsor-image {
        height: 120px !important;
    }
}

@media (max-width: 480px) {
    .event-image,
    .venue-image,
    .gallery-image {
        height: 140px !important;
    }
    
    .container {
        padding: 0 0.75rem !important;
    }
}/* Final
 Compact Layout Optimizations */

/* Override any large paddings */
.featured-events .container,
.featured-galleries .container,
.featured-venues .container,
.categories-section .container,
.latest-gallery .container {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* Ensure consistent section spacing */
section + section {
    margin-top: -10px !important; /* Overlap sections slightly */
}

/* Compact grid layouts */
.events-grid {
    margin-top: 25px !important; /* Reduced from 30px */
}

.venues-grid {
    margin-top: 25px !important;
}

.featured-galleries-grid {
    margin-top: 25px !important;
}

.categories-grid {
    margin-top: 30px !important; /* Reduced from 40px */
}

/* Reduce text spacing */
.event-title,
.venue-name,
.gallery-title {
    margin-bottom: 8px !important; /* Reduced from 10-12px */
}

.event-category,
.venue-category {
    margin-bottom: 6px !important;
}

/* Compact descriptions */
.event-description,
.venue-description,
.gallery-description {
    line-height: 1.4 !important; /* Reduced from 1.5-1.6 */
    margin-bottom: 10px !important;
}

/* Optimize badge spacing */
.event-date-badge {
    padding: 6px 10px !important; /* Reduced from 8px 12px */
}

.category-count {
    padding: 6px 14px !important; /* Reduced from 8px 16px */
    font-size: 13px !important; /* Reduced from 14px */
}

/* Compact rating displays */
.venue-rating,
.rating-text {
    font-size: 13px !important; /* Reduced from 14px */
}

/* Reduce icon sizes slightly */
.event-venue svg,
.venue-location svg {
    width: 14px !important; /* Reduced from 16px */
    height: 14px !important;
}

/* Optimize carousel dots */
.carousel-dots {
    bottom: 15px !important; /* Reduced from 20px */
}

.dot {
    width: 10px !important; /* Reduced from 12px */
    height: 10px !important;
}

/* Final mobile optimizations */
@media (max-width: 768px) {
    section + section {
        margin-top: -5px !important;
    }
    
    .events-grid,
    .venues-grid,
    .featured-galleries-grid {
        margin-top: 20px !important;
    }
    
    .categories-grid {
        margin-top: 25px !important;
    }
}

/* Ensure smooth scrolling with reduced content */
html {
    scroll-behavior: smooth;
}

/* Optimize overall page flow */
body {
    line-height: 1.5 !important; /* Slightly reduced from 1.6 */
}

/* Compact any remaining large margins */
* {
    margin-top: 0 !important;
}

*:not(:last-child) {
    margin-bottom: 0 !important;
}

/* Re-establish necessary margins only where needed */
.section-title {
    margin-bottom: 8px !important;
}

.section-header p {
    margin-bottom: 0 !important;
}

.event-content > *:not(:last-child),
.venue-content > *:not(:last-child),
.gallery-content > *:not(:last-child) {
    margin-bottom: 8px !important;
}/* Visual F
ixes for Layout Issues */

/* Fix subtitle spacing - increase distance between title and subtitle */
.section-header {
    text-align: center;
    margin-bottom: 30px !important;
}

.section-title {
    font-size: 2.2rem !important;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 15px !important; /* Increased from 8px to 15px */
}

.section-header p {
    font-size: 16px !important;
    color: #6b7280;
    margin-bottom: 0;
    line-height: 1.5 !important;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Fix banner carousel image sizing - remove black borders */
.banner-carousel {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    margin-bottom: 1.5rem !important;
    background: #000;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Fix sponsor banner image sizing */
.main-sponsor-image {
    position: relative;
    height: 200px !important; /* Back to original height */
    overflow: hidden;
}

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

/* Fix event cards - reposition date badge and category */
.event-card {
    position: relative;
}

.event-image {
    position: relative;
    height: 200px !important; /* Back to original height */
    overflow: hidden;
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Reposition event date badge to right side */
.event-date-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #7c3aed !important; /* Purple background instead of gradient */
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    text-align: center;
    font-weight: bold;
    box-shadow: 0 2px 10px rgba(124, 58, 237, 0.3);
    z-index: 4;
    min-width: 60px;
}

/* Reposition event category to left side */
.event-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 4;
    backdrop-filter: blur(10px);
}

/* Ensure proper spacing in date badge */
.date-day {
    display: block;
    font-size: 18px;
    line-height: 1;
    font-weight: 700;
}

.date-month {
    display: block;
    font-size: 12px;
    opacity: 0.9;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Fix gallery cards image sizing */
.gallery-image {
    position: relative;
    height: 200px !important; /* Back to original height */
    overflow: hidden;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Fix venue cards image sizing */
.venue-image {
    position: relative;
    height: 200px !important; /* Back to original height */
    overflow: hidden;
}

.venue-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Ensure sponsor overlay covers full image */
.sponsor-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.3));
    display: flex;
    align-items: flex-start;
    padding: 15px;
    z-index: 3;
}

/* Fix gallery overlay sizing */
.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.7));
    display: flex;
    align-items: flex-end;
    padding: 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .banner-carousel {
        height: 300px;
    }
    
    .event-image,
    .gallery-image,
    .venue-image {
        height: 180px !important;
    }
    
    .main-sponsor-image {
        height: 150px !important;
    }
    
    .event-date-badge {
        top: 10px;
        right: 10px;
        padding: 6px 10px;
        min-width: 50px;
    }
    
    .event-category {
        top: 10px;
        left: 10px;
        padding: 4px 8px;
        font-size: 10px;
    }
    
    .date-day {
        font-size: 16px;
    }
    
    .date-month {
        font-size: 10px;
    }
}

@media (max-width: 480px) {
    .banner-carousel {
        height: 250px;
    }
    
    .event-image,
    .gallery-image,
    .venue-image {
        height: 160px !important;
    }
    
    .main-sponsor-image {
        height: 120px !important;
    }
    
    .section-title {
        font-size: 1.8rem !important;
        margin-bottom: 12px !important;
    }
    
    .section-header p {
        font-size: 14px !important;
    }
}

/* Additional fixes for image aspect ratios */
.carousel-slide,
.event-image,
.gallery-image,
.venue-image,
.main-sponsor-image {
    background: #f3f4f6; /* Light gray background as fallback */
}

/* Ensure all images fill their containers properly */
img {
    display: block;
    max-width: 100%;
    height: auto;
}

.event-image img,
.gallery-image img,
.venue-image img,
.main-sponsor-image img,
.carousel-slide img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
}/* 
Override any conflicting styles */

/* Force proper image sizing across all cards */
.event-card .event-image,
.venue-card .venue-image,
.gallery-card .gallery-image {
    height: 200px !important;
    width: 100% !important;
    position: relative !important;
    overflow: hidden !important;
    background: #000 !important;
}

/* Ensure images fill containers without black bars */
.event-card .event-image img,
.venue-card .venue-image img,
.gallery-card .gallery-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
}

/* Fix carousel image sizing specifically */
.carousel-slide {
    background: #000 !important;
}

.carousel-slide img {
    min-width: 100% !important;
    min-height: 100% !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
}

/* Ensure sponsor banner images fill properly */
.main-sponsor-card .main-sponsor-image {
    height: 200px !important;
    background: #000 !important;
}

.main-sponsor-card .main-sponsor-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
}

/* Fix event badge positioning conflicts */
.event-card .event-image .event-date-badge {
    position: absolute !important;
    top: 15px !important;
    right: 15px !important;
    left: auto !important;
    background: #7c3aed !important;
    background-image: none !important;
    z-index: 10 !important;
}

.event-card .event-image .event-category {
    position: absolute !important;
    top: 15px !important;
    left: 15px !important;
    right: auto !important;
    z-index: 10 !important;
}

/* Ensure proper spacing in section headers */
.section-header .section-title {
    margin-bottom: 15px !important;
}

.section-header p {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Fix any remaining image sizing issues */
@media (max-width: 768px) {
    .event-card .event-image,
    .venue-card .venue-image,
    .gallery-card .gallery-image {
        height: 180px !important;
    }
    
    .main-sponsor-card .main-sponsor-image {
        height: 150px !important;
    }
}

@media (max-width: 480px) {
    .event-card .event-image,
    .venue-card .venue-image,
    .gallery-card .gallery-image {
        height: 160px !important;
    }
    
    .main-sponsor-card .main-sponsor-image {
        height: 120px !important;
    }
}

/* Additional carousel fixes */
.banner-carousel .carousel-container {
    height: 100% !important;
    width: 100% !important;
}

.banner-carousel .carousel-slide {
    height: 100% !important;
    width: 100% !important;
}

/* Ensure slide content overlay works properly */
.slide-content {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.3)) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: white !important;
    text-align: center !important;
    z-index: 3 !important;
}/* S
earch Bar Overlay on Banner */
.search-section {
    position: relative;
    margin-top: -80px !important; /* Increased overlap to position over banner */
    z-index: 15; /* Higher z-index to stay above banner */
    padding-bottom: 2rem !important;
}

.search-card {
    background: white;
    border-radius: 16px !important; /* More rounded corners */
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25) !important; /* Enhanced shadow */
    padding: 2rem !important; /* Increased padding */
    max-width: 900px !important; /* Slightly wider */
    margin: 0 auto;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.search-form {
    display: flex;
    gap: 1.5rem !important; /* Increased gap */
    flex-wrap: wrap;
    align-items: center;
}

.search-input {
    flex: 2; /* Takes more space */
    min-width: 300px !important; /* Increased min-width */
    padding: 1rem 1.5rem !important; /* Increased padding */
    border: 2px solid #e5e7eb;
    border-radius: 12px !important; /* More rounded */
    font-size: 16px !important;
    transition: all 0.3s ease;
    background: #fafafa;
}

.search-input:focus {
    outline: none;
    border-color: #dc2626 !important;
    box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.1) !important;
    background: white;
}

.search-select {
    flex: 1;
    min-width: 180px !important;
    padding: 1rem 1.5rem !important; /* Increased padding */
    border: 2px solid #e5e7eb;
    border-radius: 12px !important; /* More rounded */
    font-size: 16px !important;
    background: #fafafa;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-select:focus {
    outline: none;
    border-color: #dc2626 !important;
    box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.1) !important;
    background: white;
}

.search-btn {
    background: linear-gradient(135deg, #dc2626, #7c3aed) !important;
    color: white;
    border: none;
    padding: 1rem 2rem !important; /* Increased padding */
    border-radius: 12px !important; /* More rounded */
    font-size: 16px !important;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 140px;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
}

.search-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.4) !important;
}

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

/* Ensure banner has proper spacing for overlay */
.banner-carousel {
    margin-bottom: 0 !important; /* Remove bottom margin */
}

/* Responsive adjustments for search overlay */
@media (max-width: 768px) {
    .search-section {
        margin-top: -60px !important; /* Reduced overlap on mobile */
        padding-bottom: 1.5rem !important;
    }
    
    .search-card {
        padding: 1.5rem !important;
        margin: 0 1rem; /* Add side margins on mobile */
        border-radius: 12px !important;
    }
    
    .search-form {
        flex-direction: column;
        gap: 1rem !important;
    }
    
    .search-input,
    .search-select {
        min-width: auto !important;
        width: 100%;
        padding: 0.875rem 1.25rem !important;
    }
    
    .search-btn {
        width: 100%;
        padding: 0.875rem 1.5rem !important;
    }
}

@media (max-width: 480px) {
    .search-section {
        margin-top: -50px !important;
    }
    
    .search-card {
        padding: 1.25rem !important;
        margin: 0 0.75rem;
    }
    
    .search-input,
    .search-select,
    .search-btn {
        padding: 0.75rem 1rem !important;
        font-size: 14px !important;
    }
}

/* Additional styling for better integration */
.search-card::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.1), rgba(124, 58, 237, 0.1));
    border-radius: 16px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.search-card:hover::before {
    opacity: 1;
}

/* Ensure proper stacking order */
.banner-carousel .carousel-btn,
.banner-carousel .carousel-dots {
    z-index: 10 !important; /* Below search but above carousel content */
}

.search-section {
    z-index: 15 !important; /* Above everything */
}/*
 About Page - Nossos Números Section Fix */
.about-page .stats-section {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.1), rgba(124, 58, 237, 0.1)) !important;
    padding: 60px 0 !important;
}

.about-page .stats-section .section-title {
    color: white !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7) !important;
    text-align: center !important;
    margin-bottom: 40px !important;
}

.about-page .stat-card {
    background: white !important;
    border-radius: 16px !important;
    padding: 30px 25px !important;
    text-align: center !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    border: 2px solid transparent !important;
}

.about-page .stat-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15) !important;
    border-color: rgba(220, 38, 38, 0.1) !important;
}

/* Fix text colors in stat cards - keep them dark for contrast on white background */
.about-page .stat-card .stat-icon {
    font-size: 48px !important;
    margin-bottom: 20px !important;
}

.about-page .stat-card .stat-number {
    font-size: 36px !important;
    font-weight: 700 !important;
    color: #dc2626 !important;
    margin-bottom: 8px !important;
    text-shadow: none !important;
}

.about-page .stat-card .stat-label {
    font-size: 16px !important;
    font-weight: 500 !important;
    color: #1f2937 !important;
    text-shadow: none !important;
}

/* Stats grid layout */
.about-page .stats-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 30px !important;
    margin-top: 40px !important;
}

/* Services Section - Ensure 4 columns */
.about-page .services-section {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.05), rgba(124, 58, 237, 0.05)) !important;
    padding: 60px 0 !important;
}

.about-page .services-section .section-title {
    color: white !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7) !important;
    text-align: center !important;
    margin-bottom: 40px !important;
}

/* Force 4 columns for services */
.about-page .services-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 25px !important;
    margin-top: 40px !important;
}

.about-page .service-card {
    background: white !important;
    border-radius: 16px !important;
    padding: 25px 20px !important;
    text-align: center !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    border: 2px solid transparent !important;
    position: relative !important;
    overflow: hidden !important;
}

.about-page .service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #dc2626, #7c3aed);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.about-page .service-card:hover::before {
    transform: scaleX(1);
}

.about-page .service-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15) !important;
    border-color: rgba(220, 38, 38, 0.1) !important;
}

.about-page .service-icon {
    margin-bottom: 15px !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 70px !important;
    height: 70px !important;
    margin: 0 auto 15px !important;
    border-radius: 50% !important;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.1), rgba(124, 58, 237, 0.1)) !important;
    transition: all 0.3s ease !important;
}

.about-page .service-card:hover .service-icon {
    transform: scale(1.1) !important;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.15), rgba(124, 58, 237, 0.15)) !important;
}

.about-page .service-card h3 {
    font-size: 18px !important;
    font-weight: 600 !important;
    color: #1f2937 !important;
    margin-bottom: 10px !important;
    transition: color 0.3s ease !important;
    text-shadow: none !important;
}

.about-page .service-card:hover h3 {
    color: #dc2626 !important;
}

.about-page .service-card p {
    font-size: 13px !important;
    color: #6b7280 !important;
    line-height: 1.4 !important;
    margin-bottom: 12px !important;
    text-shadow: none !important;
}

.about-page .service-features {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.about-page .service-features li {
    font-size: 12px !important;
    color: #6b7280 !important;
    padding: 3px 0 !important;
    position: relative !important;
    padding-left: 16px !important;
    text-shadow: none !important;
}

.about-page .service-features li::before {
    content: '✓' !important;
    position: absolute !important;
    left: 0 !important;
    color: #dc2626 !important;
    font-weight: bold !important;
    font-size: 12px !important;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .about-page .stats-grid,
    .about-page .services-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 25px !important;
    }
}

@media (max-width: 768px) {
    .about-page .stats-grid,
    .about-page .services-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }
    
    .about-page .stat-card,
    .about-page .service-card {
        padding: 20px 15px !important;
    }
    
    .about-page .service-icon {
        width: 60px !important;
        height: 60px !important;
    }
    
    .about-page .service-card h3 {
        font-size: 16px !important;
    }
    
    .about-page .service-card p {
        font-size: 12px !important;
    }
}

@media (max-width: 480px) {
    .about-page .stats-grid,
    .about-page .services-grid {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }
    
    .about-page .stat-card,
    .about-page .service-card {
        padding: 18px 12px !important;
    }
    
    .about-page .service-icon {
        width: 50px !important;
        height: 50px !important;
    }
    
    .about-page .service-card h3 {
        font-size: 15px !important;
    }
}