/* Roods Cultural Institutions Section Styles */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700;800&family=Roboto:wght@300;400;500;600&display=swap');

.cultural-section {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%) !important;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    padding: 120px 0 !important;
}

/* Animated background elements */
.bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.floating-shape {
    position: absolute;
    background: linear-gradient(45deg, rgba(19, 76, 55, 0.05), rgba(19, 76, 55, 0.1));
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 200px;
    height: 200px;
    top: 10%;
    left: 85%;
    animation-delay: 0s;
}

.shape-2 {
    width: 150px;
    height: 150px;
    top: 70%;
    left: 5%;
    animation-delay: 2s;
}

.shape-3 {
    width: 100px;
    height: 100px;
    top: 30%;
    left: 10%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg); 
    }
    50% { 
        transform: translateY(-30px) rotate(180deg); 
    }
}

.cultural-section .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 2;
}

/* Header section */
.header-section {
    text-align: center;
    margin-bottom: 80px;
    opacity: 0;
    transform: translateY(50px);
    animation: slideInUp 1s ease-out 0.2s forwards;
}

.main-title {
    font-family: 'Poppins', sans-serif !important;
    font-size: 48px !important;
    font-weight: 800 !important;
    color: #134C37 !important;
    margin-bottom: 24px !important;
    line-height: 1.2 !important;
    position: relative;
}

.main-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #134C37, transparent);
    border-radius: 2px;
}

.intro-text {
    font-family: 'Roboto', sans-serif !important;
    font-size: 20px !important;
    color: #343434 !important;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6 !important;
    font-weight: 400 !important;
}

/* Primary CTA (Orange Button) */
.primary-cta-wrapper {
    margin-top: 40px;
    text-align: center;
}

.primary-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #FF6B35 0%, #FF8C42 100%);
    color: white !important;
    text-decoration: none;
    font-family: 'Poppins', sans-serif !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    padding: 22px 48px;
    border-radius: 60px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(255, 107, 53, 0.35);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.primary-cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s ease;
}

.primary-cta-button:hover::before {
    left: 100%;
}

.primary-cta-button:hover {
    transform: translateY(-6px) scale(1.05);
    box-shadow: 0 20px 60px rgba(255, 107, 53, 0.45);
    background: linear-gradient(135deg, #FF7A47 0%, #FF9D54 100%);
}

.primary-cta-button:active {
    transform: translateY(-3px) scale(1.02);
}

.primary-cta-button svg {
    width: 22px;
    height: 22px;
    fill: white;
    transition: transform 0.3s ease;
}

.primary-cta-button:hover svg {
    transform: translateX(6px);
}

/* Features grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 100px;
}

.feature-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 24px;
    padding: 40px 32px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(19, 76, 55, 0.1);
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(19, 76, 55, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.feature-card:nth-child(1) { 
    animation: slideInUp 1s ease-out 0.4s forwards; 
}

.feature-card:nth-child(2) { 
    animation: slideInUp 1s ease-out 0.6s forwards; 
}

.feature-card:nth-child(3) { 
    animation: slideInUp 1s ease-out 0.8s forwards; 
}

.feature-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 60px rgba(19, 76, 55, 0.15);
    border-color: rgba(19, 76, 55, 0.2);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #134C37, #2d6b4f);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #134C37, #2d6b4f);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
}

.feature-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon::before {
    width: 100px;
    height: 100px;
}

.feature-icon svg {
    width: 40px;
    height: 40px;
    fill: white;
    z-index: 1;
    position: relative;
}

.feature-title {
    font-family: 'Poppins', sans-serif !important;
    font-size: 24px !important;
    font-weight: 700 !important;
    color: #134C37 !important;
    margin-bottom: 16px !important;
    line-height: 1.3 !important;
}

.feature-description {
    font-family: 'Roboto', sans-serif !important;
    font-size: 16px !important;
    color: #343434 !important;
    line-height: 1.6 !important;
    font-weight: 400 !important;
}

/* Secondary CTA Section (Green Button) */
.cta-section {
    text-align: center;
    margin-bottom: 80px;
    opacity: 0;
    transform: translateY(50px);
    animation: slideInUp 1s ease-out 1s forwards;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #134C37 0%, #2d6b4f 100%);
    color: white !important;
    text-decoration: none;
    font-family: 'Poppins', sans-serif !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    padding: 20px 40px;
    border-radius: 60px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(19, 76, 55, 0.3);
}

.cta-button::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.6s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 16px 48px rgba(19, 76, 55, 0.4);
}

.cta-button svg {
    width: 20px;
    height: 20px;
    fill: white;
    transition: transform 0.3s ease;
}

.cta-button:hover svg {
    transform: translateX(4px);
}

/* Logo carousel */
.logo-carousel {
    position: relative;
    overflow: hidden;
    padding: 40px 0;
    opacity: 0;
    transform: translateY(50px);
    animation: slideInUp 1s ease-out 1.2s forwards;
}

.carousel-title {
    font-family: 'Poppins', sans-serif !important;
    font-size: 36px !important;
    font-weight: 700 !important;
    color: #134C37 !important;
    text-align: center;
    margin-bottom: 40px;
}

.carousel-container {
    display: flex;
    animation: scroll 30s linear infinite;
    gap: 80px;
    align-items: center;
}

.logo-item {
    flex-shrink: 0;
    width: 200px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(19, 76, 55, 0.1);
}

.logo-item:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 16px 48px rgba(19, 76, 55, 0.15);
}

.logo-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: all 0.3s ease;
}

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

.logo-item a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.partner-name {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: #134C37;
    font-size: 14px;
    text-align: center;
}

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

@keyframes slideInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Ripple effect keyframe */
@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Intersection Observer animation trigger */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive design */
@media (max-width: 768px) {
    .cultural-section .container {
        padding: 0 20px;
    }
    
    .main-title {
        font-size: 36px !important;
    }
    
    .intro-text {
        font-size: 18px !important;
    }
    
    .primary-cta-button {
        font-size: 16px !important;
        padding: 18px 36px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .feature-card {
        padding: 24px 20px;
    }
    
    .cta-button {
        font-size: 16px !important;
        padding: 16px 32px;
    }
    
    .logo-item {
        width: 160px;
        height: 80px;
    }
    
    .carousel-title {
        font-size: 28px !important;
    }
    
    .cultural-section {
        padding: 80px 0 !important;
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: 28px !important;
    }
    
    .intro-text {
        font-size: 16px !important;
    }
    
    .primary-cta-button {
        font-size: 15px !important;
        padding: 16px 28px;
        gap: 8px;
    }
    
    .primary-cta-button svg {
        width: 18px;
        height: 18px;
    }
    
    .feature-title {
        font-size: 20px !important;
    }
    
    .feature-description {
        font-size: 14px !important;
    }
    
    .carousel-title {
        font-size: 24px !important;
    }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    .floating-shape,
    .carousel-container {
        animation: none !important;
    }
    
    .feature-card,
    .cta-button,
    .primary-cta-button {
        transition: none !important;
    }
}