* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: #f0f2f5;
    overflow-x: hidden;
}

.hero-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    background: linear-gradient(135deg, #ffffff 0%, #f0f2f5 100%);
    position: relative;
    overflow: hidden;
    flex-direction: row;
}

.hero-content {
    flex: 1;
    z-index: 2;
    padding: 1rem;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    color: #1a237e;
    margin-bottom: 1rem;
    transform: translateY(0);
    animation: float 6s ease-in-out infinite;
}

.hero-slogan {
    font-size: 2rem;
    color: #455a64;
    font-weight: 500;
}

.lottie-container {
    flex: 1;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

dotlottie-player {
    width: 80%;
    height: 80%;
    max-width: 100%;
}

.activities-section {
    padding: 5rem 5%;
    background: #ffffff;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #1a237e;
    margin-bottom: 3rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.5rem;
    color: #455a64;
    margin-bottom: 2rem;
}

.animal-friends-section {
    padding: 5rem 5%;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
    margin: 0;
    box-sizing: border-box;
}

.animal-friends-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="%231a237e" opacity="0.1"/><circle cx="80" cy="80" r="2" fill="%231a237e" opacity="0.1"/><circle cx="50" cy="10" r="1" fill="%233949ab" opacity="0.1"/><circle cx="10" cy="90" r="1" fill="%233949ab" opacity="0.1"/><circle cx="90" cy="30" r="1" fill="%233949ab" opacity="0.1"/></svg>') repeat;
    background-size: 100px 100px;
    opacity: 0.3;
    z-index: 0;
}

.animal-friends-section > * {
    position: relative;
    z-index: 1;
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.activity-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.activity-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.activity-icon {
    width: 120px;
    height: 120px;
    margin-bottom: 1.5rem;
    border-radius: 12px;
    overflow: hidden;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    box-sizing: border-box;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.activity-icon img,
.activity-icon dotlottie-player {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center;
    display: block;
    margin: auto;
    border-radius: 8px;
    transition: none;
}

.activity-card:hover .activity-icon img,
.activity-card:hover .activity-icon dotlottie-player {
    transform: none;
    box-shadow: none;
}

.activity-title {
    font-size: 1.2rem;
    color: #1a237e;
    margin-bottom: 1rem;
}

.activity-description {
    color: #455a64;
    line-height: 1.6;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

.background-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hidden {
    display: none;
}

/* Activities Gallery Section Styles */
.activities-gallery-section {
    padding: 5rem 5%;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.activities-gallery-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1a237e, #3949ab, #5c6bc0, #1a237e);
    background-size: 200% 100%;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.gallery-header {
    text-align: center;
    margin-bottom: 3rem;
}

.gallery-title {
    font-size: 2.8rem;
    color: #1a237e;
    margin-bottom: 1rem;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.gallery-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #1a237e, #3949ab);
    border-radius: 2px;
}

.gallery-subtitle {
    font-size: 1.3rem;
    color: #455a64;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Gallery Controls */
.gallery-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.search-container {
    position: relative;
    flex: 1;
    max-width: 400px;
}

.search-input {
    width: 100%;
    padding: 0.8rem 1rem 0.8rem 3rem;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.search-input:focus {
    outline: none;
    border-color: #1a237e;
    box-shadow: 0 0 0 3px rgba(26, 35, 126, 0.1);
}

.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #757575;
    font-size: 1rem;
}

.filter-container {
    min-width: 220px;
    position: relative;
}

.filter-select {
    width: 100%;
    padding: 0.9rem 1.2rem 0.9rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    font-size: 1rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    color: #333;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a237e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 18px;
    padding-right: 3rem;
}

.filter-select:focus {
    outline: none;
    border-color: #1a237e;
    box-shadow: 0 0 0 3px rgba(26, 35, 126, 0.1), 0 4px 12px rgba(26, 35, 126, 0.15);
    background: linear-gradient(135deg, #ffffff 0%, #ffffff 100%);
    transform: translateY(-1px);
}

.filter-select:hover {
    border-color: #3949ab;
    box-shadow: 0 4px 12px rgba(26, 35, 126, 0.1);
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.filter-select option {
    background: white;
    color: #333;
    padding: 0.8rem;
    font-weight: 500;
    border-bottom: 1px solid #e0e0e0;
}

.filter-select option:hover {
    background: linear-gradient(135deg, #1a237e 0%, #3949ab 100%);
    color: white;
}

.filter-select option:first-child {
    font-weight: 600;
    color: #1a237e;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

/* Loading State */
.gallery-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    text-align: center;
}

.loading-spinner {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.spinner-circle {
    width: 12px;
    height: 12px;
    background: #1a237e;
    border-radius: 50%;
    animation: bounce 1.4s ease-in-out infinite both;
}

.spinner-circle:nth-child(1) { animation-delay: -0.32s; }
.spinner-circle:nth-child(2) { animation-delay: -0.16s; }
.spinner-circle:nth-child(3) { animation-delay: 0; }

@keyframes bounce {
    0%, 80%, 100% {
        transform: scale(0);
        opacity: 0.5;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

.gallery-loading p {
    color: #455a64;
    font-size: 1.1rem;
    margin: 0;
}

/* Error State */
.gallery-error {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    text-align: center;
    background: #ffebee;
    border-radius: 15px;
    margin: 2rem 0;
}

.error-icon {
    font-size: 3rem;
    color: #f44336;
    margin-bottom: 1rem;
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

.gallery-error h3 {
    color: #c62828;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.gallery-error p {
    color: #757575;
    margin-bottom: 1.5rem;
    max-width: 400px;
    text-align: center;
}

.gallery-error .retry-button {
    background: linear-gradient(135deg, #1a237e 0%, #3949ab 100%);
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 25px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.gallery-error .retry-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(26, 35, 126, 0.3);
}

/* No Results State */
.gallery-no-results {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    text-align: center;
    background: white;
    border-radius: 20px;
    margin: 2rem 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.gallery-no-results .no-results-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    color: #757575;
}

.gallery-no-results h3 {
    color: #455a64;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.gallery-no-results p {
    color: #757575;
    max-width: 300px;
    line-height: 1.5;
}

/* Gallery Container */
.gallery-container {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 2rem 0;
}

/* Gallery Grid - Horizontal Scrolling */
.gallery-grid {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 1rem 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
    flex: 1;
    scroll-behavior: smooth;
}

.gallery-grid::-webkit-scrollbar {
    display: none;
}

/* Scroll Buttons */
.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1a237e 0%, #3949ab 100%);
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(26, 35, 126, 0.3);
    transition: all 0.3s ease;
    opacity: 0.9;
}

.scroll-btn:hover {
    background: linear-gradient(135deg, #3949ab 0%, #1a237e 100%);
    transform: translateY(-50%) scale(1.1);
    opacity: 1;
    box-shadow: 0 6px 20px rgba(26, 35, 126, 0.4);
}

.scroll-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.scroll-left {
    left: -25px;
}

.scroll-right {
    right: -25px;
}

/* Hide scroll buttons on mobile - Fixed positioning */
@media (max-width: 768px) {
    .scroll-btn {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
        opacity: 1;
        background: linear-gradient(135deg, #1a237e 0%, #3949ab 100%);
        box-shadow: 0 4px 15px rgba(26, 35, 126, 0.4);
        z-index: 20;
    }
    
    .scroll-left {
        left: 15px;
    }
    
    .scroll-right {
        right: 15px;
    }
    
    /* Ensure gallery grid has symmetrical padding for proper centering */
    .gallery-grid {
        gap: 1.5rem;
        padding: 1rem 4rem; /* Symmetrical padding to center cards */
    }
    
    /* Adjust gallery container for mobile */
    .gallery-container {
        margin: 1rem 0;
    }
}

/* Additional fixes for smaller mobile screens */
@media (max-width: 480px) {
    .scroll-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .scroll-left {
        left: 10px;
    }
    
    .scroll-right {
        right: 10px;
    }
    
    .gallery-grid {
        gap: 1rem;
        padding: 1rem 3rem; /* Symmetrical padding for smaller screens */
    }
    
    .gallery-container {
        margin: 0.5rem 0;
    }
}

.gallery-grid::-webkit-scrollbar {
    height: 8px;
}

.gallery-grid::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 4px;
}

.gallery-grid::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #1a237e 0%, #3949ab 100%);
    border-radius: 4px;
}

.gallery-grid::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #3949ab 0%, #1a237e 100%);
}

.gallery-item {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    flex: 0 0 calc(100vw - 4rem);
    max-width: 400px;
    opacity: 0;
    animation: slideInRight 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    cursor: pointer;
    position: relative;
    transform-origin: center bottom;
    margin: 0 1rem;
}

.gallery-item:nth-child(1) { animation-delay: 0.1s; }
.gallery-item:nth-child(2) { animation-delay: 0.2s; }
.gallery-item:nth-child(3) { animation-delay: 0.3s; }
.gallery-item:nth-child(4) { animation-delay: 0.4s; }
.gallery-item:nth-child(5) { animation-delay: 0.5s; }
.gallery-item:nth-child(6) { animation-delay: 0.6s; }

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

.gallery-item:hover {
    transform: translateY(-8px) scale(1.02) rotate(0.5deg);
    box-shadow: 0 12px 40px rgba(26, 35, 126, 0.2);
    z-index: 10;
}

.gallery-item-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 16px 16px 0 0;
}

.gallery-item-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
    object-position: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(0.95);
    transform-origin: center;
    display: block;
    background: #f0f0f0;
    border-radius: 0;
}

.gallery-item-photo-count {
    position: absolute;
    bottom: 0.8rem;
    left: 0.8rem;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.3rem 0.7rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    backdrop-filter: blur(4px);
    z-index: 5;
    transition: all 0.3s ease;
}

.gallery-item:hover .gallery-item-photo-count {
    background: rgba(26, 35, 126, 0.85);
    transform: scale(1.05);
}

.gallery-item:hover .gallery-item-image {
    transform: scale(1.08);
    filter: brightness(1.05);
}

.gallery-item-content {
    padding: 1.5rem 1.2rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-top: 1px solid rgba(26, 35, 126, 0.1);
    position: relative;
    overflow: hidden;
}

.gallery-item-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #1a237e, #3949ab, #1a237e);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-item-content::before {
    transform: scaleX(1);
}

.gallery-item-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.8rem;
}

.gallery-item-category {
    background: linear-gradient(135deg, #1a237e 0%, #3949ab 100%);
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.gallery-item-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a237e 0%, #3949ab 100%);
    border-radius: 50%;
    font-size: 1rem;
    color: white;
}

.gallery-item-title {
    font-size: 1.1rem;
    color: #1a237e;
    margin-bottom: 0.4rem;
    font-weight: 700;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.gallery-item-quote {
    color: #666;
    font-style: italic;
    margin-bottom: 0.6rem;
    font-size: 0.85rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.gallery-item-date {
    color: #757575;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-weight: 500;
}

.gallery-item-date::before {
    content: '📅';
    font-size: 0.9rem;
}

/* View More Indicator */
.gallery-item::after {
    content: '📷 View Photos →';
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, #1a237e 0%, #3949ab 100%);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.gallery-item:hover::after {
    opacity: 1;
    transform: translateY(0);
}

/* Modal Styles */
.activity-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    display: none;
    z-index: 1000;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(0.95);
    padding: 3rem 2rem;
    box-sizing: border-box;
    overflow-y: auto;
}

.activity-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.modal-content {
    background: white;
    border-radius: 20px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.15);
    max-width: 90vw;
    max-height: 85vh;
    width: min(90vw, 900px);
    height: min(85vh, 900px);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.1);
    margin: 1rem 0;
}

.activity-modal.active .modal-content {
    transform: scale(1) rotate(0deg);
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #333;
    z-index: 20;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.modal-close:hover {
    background: #ff4444;
    color: white;
    transform: rotate(90deg);
}

.modal-body {
    display: flex;
    height: 100%;
    gap: 0;
}

.modal-images {
    flex: 1.5;
    position: relative;
    overflow: hidden;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0 0 0 20px;
    min-height: 400px;
}

.modal-image-container {
    display: flex;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.modal-image {
    min-width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    transition: filter 0.3s ease;
    padding: 1rem;
    box-sizing: border-box;
}

.modal-image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center;
    display: block;
    margin: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.modal-image-container:hover .modal-image img {
    transform: scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.modal-image-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.1);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(10px);
}

.modal-image-nav:hover {
    background: white;
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.18);
    border-color: rgba(0, 0, 0, 0.15);
}

.modal-image-nav.prev {
    left: 1.5rem;
}

.modal-image-nav.next {
    right: 1.5rem;
}

.modal-image-counter {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 10;
    backdrop-filter: blur(4px);
    letter-spacing: 0.5px;
}

.modal-image-indicators {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    z-index: 10;
    background: rgba(255, 255, 255, 0.9);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.modal-image-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.modal-image-indicator.active {
    background: #333;
    transform: scale(1.2);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    border-color: rgba(0, 0, 0, 0.2);
}

/* Responsive Design for Modal */
@media (max-width: 1024px) {
    .modal-content {
        width: min(95vw, 800px);
        height: min(95vh, 800px);
    }
}

@media (max-width: 768px) {
    .activity-modal {
        padding: 1rem;
    }
    
    .modal-content {
        width: 95vw;
        height: auto;
        max-height: 95vh;
        flex-direction: column;
        border-radius: 16px;
    }
    
    .modal-body {
        flex-direction: column;
        height: auto;
    }
    
    .modal-images {
        flex: none;
        height: 50vh;
        min-height: 300px;
        border-radius: 16px 16px 0 0;
    }
    
    .modal-info {
        flex: none;
        border-left: none;
        border-top: 1px solid rgba(0, 0, 0, 0.08);
        border-radius: 0 0 16px 16px;
        padding: 2rem;
    }
    
    .modal-image-nav {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
    
    .modal-image-nav.prev {
        left: 1rem;
    }
    
    .modal-image-nav.next {
        right: 1rem;
    }
    
    .modal-image-indicators {
        bottom: 1rem;
        padding: 0.4rem 0.8rem;
        gap: 0.5rem;
    }
    
    .modal-image-indicator {
        width: 8px;
        height: 8px;
    }
    
    .modal-title {
        font-size: 1.5rem;
    }
    
    .modal-category {
        font-size: 0.85rem;
    }
    
    .modal-quote {
        font-size: 1rem;
        margin: 1rem 0;
    }
    
    .modal-description {
        font-size: 0.95rem;
    }
    
    .modal-stats {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
        margin-top: 1.5rem;
    }
    
    .modal-stat {
        padding: 0.8rem;
    }
    
    .modal-stat-label {
        font-size: 0.75rem;
    }
    
    .modal-stat-value {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .activity-modal {
        padding: 0.5rem;
    }
    
    .modal-content {
        width: 98vw;
        border-radius: 12px;
    }
    
    .modal-images {
        height: 40vh;
        min-height: 250px;
        border-radius: 12px 12px 0 0;
    }
    
    .modal-info {
        padding: 1.5rem;
        border-radius: 0 0 12px 12px;
    }
    
    .modal-image-nav {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }
    
    .modal-image-nav.prev {
        left: 0.5rem;
    }
    
    .modal-image-nav.next {
        right: 0.5rem;
    }
    
    .modal-image-indicators {
        bottom: 0.8rem;
        padding: 0.3rem 0.6rem;
        gap: 0.4rem;
    }
    
    .modal-image-indicator {
        width: 6px;
        height: 6px;
    }
    
    .modal-title {
        font-size: 1.3rem;
        margin-bottom: 0.8rem;
    }
    
    .modal-category {
        font-size: 0.8rem;
        padding: 0.3rem 0.8rem;
    }
    
    .modal-quote {
        font-size: 0.95rem;
        margin: 0.8rem 0;
        padding-left: 1rem;
    }
    
    .modal-description {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .modal-date {
        font-size: 0.85rem;
    }
    
    .modal-stats {
        grid-template-columns: 1fr;
        gap: 0.8rem;
        margin-top: 1rem;
    }
    
    .modal-stat {
        padding: 0.6rem;
    }
    
    .modal-stat-label {
        font-size: 0.7rem;
    }
    
    .modal-stat-value {
        font-size: 0.85rem;
    }
}

.modal-info {
    flex: 1;
    padding: 2.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    overflow-y: auto;
    position: relative;
    border-left: 1px solid rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 0 20px 20px 0;
}

.modal-title {
    font-size: 2rem;
    color: #1a237e;
    margin-bottom: 1.2rem;
    font-weight: 700;
    line-height: 1.2;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    max-width: 100%;
}

.modal-category {
    background: linear-gradient(135deg, #1a237e 0%, #3949ab 100%);
    color: white;
    padding: 0.4rem 1.5rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    margin-bottom: 1rem;
}

.modal-quote {
    color: #666;
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    padding-left: 1rem;
    border-left: 3px solid #1a237e;
}

.modal-description {
    color: #455a64;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.modal-date {
    color: #757575;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.modal-date::before {
    content: '📅';
}

.modal-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.modal-stat {
    text-align: center;
    padding: 1rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    transition: transform 0.3s ease;
    min-height: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.modal-stat:hover {
    transform: translateY(-2px);
}

.modal-stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a237e;
    display: block;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    line-height: 1.1;
}

.modal-stat-label {
    font-size: 0.8rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 0.3rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    line-height: 1.2;
}


/* Pagination */
.gallery-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.pagination-button {
    background: white;
    border: 2px solid #e0e0e0;
    color: #455a64;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.pagination-button:hover:not(:disabled) {
    background: #1a237e;
    color: white;
    border-color: #1a237e;
}

.pagination-button.active {
    background: #1a237e;
    color: white;
    border-color: #1a237e;
}

.pagination-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-info {
    color: #455a64;
    font-size: 0.9rem;
    margin: 0 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .activities-gallery-section {
        padding: 3rem 1rem;
    }
    
    .gallery-title {
        font-size: 2.2rem;
    }
    
    .gallery-subtitle {
        font-size: 1.1rem;
    }
    
    .gallery-controls {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-container {
        max-width: none;
    }
    
    .filter-container {
        min-width: auto;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Center gallery items on mobile */
    .gallery-item {
        flex: 0 0 calc(100vw - 8rem); /* Adjust width for better centering */
        max-width: 320px; /* Set max width for mobile */
        margin: 0 auto; /* Center the items */
    }
    
    .gallery-pagination {
        flex-wrap: wrap;
        gap: 0.3rem;
    }
    
    .pagination-button {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .gallery-title {
        font-size: 1.8rem;
    }
    
    .gallery-item-content {
        padding: 1rem;
    }
    
    .gallery-item-title {
        font-size: 1.1rem;
    }
    
    .gallery-item-description {
        font-size: 0.9rem;
    }
    
    .gallery-item-image {
        height: 200px;
    }
    
    /* Further adjust gallery items for smaller mobile screens */
    .gallery-item {
        flex: 0 0 calc(100vw - 6rem); /* Adjust width for smaller screens */
        max-width: 280px; /* Set smaller max width */
        margin: 0 auto; /* Keep items centered */
    }
}


.animal-world-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.animal-friend-card {
    background: white;
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.animal-friend-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.animal-animation-container {
    width: 200px;
    height: 200px;
    margin-bottom: 1rem;
}

.animal-animation {
    width: 100%;
    height: 100%;
}

.speech-bubble {
    background: #e3f2fd;
    border-radius: 20px;
    padding: 1rem;
    margin-bottom: 1rem;
    position: relative;
    width: 90%;
    text-align: center;
}

.speech-bubble:after {
    content: '';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 0 15px 15px;
    border-style: solid;
    border-color: #e3f2fd transparent;
}

.speech-bubble p {
    margin: 0;
    font-size: 1rem;
    color: #455a64;
}

.interaction-area {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.happiness-meter {
    width: 80%;
    height: 15px;
    background: #eceff1;
    border-radius: 10px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.happiness-fill {
    height: 100%;
    background: linear-gradient(90deg, #ffb74d, #ff9800);
    transition: width 0.5s ease;
}

.interactive-elements {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.help-button {
    background: #26a69a;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.2s ease;
}

.help-button:hover {
    background: #00897b;
    transform: scale(1.05);
}

.fact-bubble {
    background: #fff9c4;
    border-radius: 10px;
    padding: 0.8rem;
    margin-top: 1rem;
    font-size: 0.9rem;
    width: 90%;
    text-align: center;
    transition: all 0.3s ease;
}

.water-drops {
    display: flex;
    gap: 1rem;
}

.water-drop {
    width: 40px;
    height: 40px;
    background: #b3e5fc;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.water-drop:before {
    content: '💧';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20px;
}

.water-drop.found {
    background: #29b6f6;
    transform: scale(1.1);
}

.letter-content {
    background: #fff9c4;
    border-radius: 10px;
    padding: 1rem;
    margin-top: 1rem;
    width: 90%;
    text-align: center;
    font-style: italic;
    line-height: 1.5;
}

.badges-container {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.badges-container h3 {
    color: #1a237e;
    margin-bottom: 1.5rem;
}

.badges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1.5rem;
}

.badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.badge.earned {
    opacity: 1;
}

.badge-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.badge p {
    font-size: 0.9rem;
    color: #455a64;
}

.celebration {
    animation: celebrate 3s ease;
}

.happy-animation {
    animation: bounce 1s ease;
}

.all-complete {
    position: relative;
}

.all-complete:after {
    content: '🎉 You\'re a true Animal Hero! 🎉';
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    background: #ffcc80;
    padding: 0.5rem;
    border-radius: 10px;
    font-weight: bold;
    color: #e65100;
    animation: fadeIn 1s ease;
}

@keyframes celebrate {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.3) rotate(10deg);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes bounce {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Eco-Friendly Products Section Styles */
.eco-products-section {
    padding: 5rem 5%;
    background: linear-gradient(135deg, #e8f5e8 0%, #f0f8f0 100%);
    position: relative;
}

.eco-products-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 8px;
    background: linear-gradient(90deg, #4a7c59, #2d5016);
    border-radius: 0 0 4px 4px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.product-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(26, 55, 9, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    position: relative;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(26, 55, 9, 0.15);
    border-color: #4a7c59;
}

.product-image {
    width: 100%;
    height: 250px;
    object-fit: contain;
    transition: transform 0.3s ease;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 15px 15px 0 0;
}

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

.product-info {
    padding: 1.5rem;
}

.product-name {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1a237e;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #4a7c59;
    margin-bottom: 0.5rem;
}

.product-category {
    background: linear-gradient(135deg, #90EE90, #98FB98);
    color: #2d5016;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    display: inline-block;
    margin-bottom: 1rem;
    font-weight: 500;
}

.product-description-short {
    color: #455a64;
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 1rem;
}

.view-more-btn {
    background: linear-gradient(135deg, #4a7c59, #2d5016);
    color: white;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(74, 124, 89, 0.3);
}

.view-more-btn:hover {
    background: linear-gradient(135deg, #2d5016, #1a3009);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 124, 89, 0.4);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(26, 55, 9, 0.5);
    animation: fadeIn 0.3s;
}

.modal-content {
    background-color: white;
    margin: 2% auto;
    padding: 0;
    border-radius: 20px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideIn 0.3s;
    border: 2px solid #4a7c59;
    box-shadow: 0 20px 40px rgba(26, 55, 9, 0.2);
}

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

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

.modal-header {
    padding: 1.5rem;
    border-bottom: 2px solid #e8f5e8;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #f0f8f0, #e8f5e8);
    border-radius: 20px 20px 0 0;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a237e;
}

.close {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #4a7c59;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close:hover {
    color: #2d5016;
    background: rgba(74, 124, 89, 0.1);
    transform: scale(1.1);
}

.modal-body {
    padding: 2rem;
}

.product-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.product-main-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.product-image-large {
    width: 100%;
    height: 500px;
    object-fit: contain;
    border-radius: 15px;
    border: 2px solid #e8f5e8;
    box-shadow: 0 5px 15px rgba(26, 55, 9, 0.1);
    background: #f8f9fa;
    padding: 1rem;
}

.product-details-text h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #1a237e;
}

.product-price-large {
    font-size: 2.5rem;
    font-weight: 700;
    color: #4a7c59;
    margin-bottom: 1rem;
}

.product-description-full {
    color: #455a64;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 10px;
}

.product-description-full h3 {
    color: #1a237e;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.product-description-full p,
.product-description-full ul,
.product-description-full ol {
    padding: 0.5rem 0;
    margin-left: 1.2rem;
}

.product-description-full li {
    margin-bottom: 0.8rem;
    padding-left: 0.5rem;
}

.product-info-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e8f5e8;
}

.product-description-container,
.product-suggestion-container {
    flex: 1;
}

.product-suggestion {
    background: linear-gradient(135deg, #f0f8f0, #e8f5e8);
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid #d4edda;
    border-left: 4px solid #4a7c59;
    height: 100%;
}

.product-suggestion h4 {
    color: #1a237e;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.product-suggestion p {
    color: #455a64;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0 0 0.8rem 0;
    padding-left: 0.5rem;
}

.product-suggestion ul,
.product-suggestion ol {
    margin: 0.8rem 0;
    padding-left: 2rem;
}

.product-suggestion li {
    color: #455a64;
    margin-bottom: 0.6rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.product-dimensions {
    margin: 2rem 0;
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

.product-dimensions h4 {
    color: #1a237e;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.dimensions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.dimension-item {
    background: white;
    padding: 1.2rem;
    border-radius: 10px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.dimension-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.dimension-title {
    font-weight: 600;
    color: #2d3748;
    font-size: 1.1rem;
}

.unit-toggle {
    display: inline-flex;
    background: #e8f5e9;
    border-radius: 6px;
    padding: 2px;
    border: 1px solid #4a7c59;
}

.unit-toggle button {
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    background: transparent;
    color: #4a7c59;
}

.unit-toggle button.active {
    background: #4a7c59;
    color: white;
}

.dimension-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a237e;
    text-align: center;
}

.dimension-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-color: #4a7c59;
}

.dimension-label {
    font-size: 0.8rem;
    color: #455a64;
    margin-bottom: 0.3rem;
}

.dimension-value {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1.1rem;
    padding: 8px 0;
}

.color-picker-section {
    margin-bottom: 1.5rem;
}

.color-picker-section h4 {
    color: #1a237e;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.color-options {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.color-option {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 3px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.color-option:hover,
.color-option.selected {
    border-color: #4a7c59;
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(74, 124, 89, 0.3);
}

/* Responsive Design for Products */
@media (max-width: 768px) {
    .product-details {
        grid-template-columns: 1fr;
    }

    .modal-content {
        width: 95%;
        margin: 5% auto;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .product-image-large {
        height: 400px;
    }
}

@media (max-width: 480px) {
    .eco-products-section {
        padding: 3rem 3%;
    }

    .modal-body {
        padding: 1rem;
    }

    .product-details-text h2 {
        font-size: 1.5rem;
    }

    .product-price-large {
        font-size: 2rem;
    }
}

        /* Image Carousel Section Styles */
        .image-carousel-section {
            padding: 4rem 2rem;
            background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .carousel-container {
            max-width: 1200px;
            width: 100%;
            margin: 0 auto;
        }

        .carousel-image-wrapper {
            position: relative;
            width: 100%;
            max-width: 900px;
            margin: 0 auto;
            border-radius: 16px;
            overflow: hidden;
            transition: all 0.3s ease;
        }

        .carousel-image {
            width: 100%;
            height: auto;
            border-radius: 16px;
            object-fit: cover;
            transition: all 0.5s ease-in-out;
            display: block;
        }

        /* Responsive design for mobile */
        @media (max-width: 768px) {
            .image-carousel-section {
                padding: 3rem 1rem;
            }

            .carousel-image-wrapper {
                max-width: 100%;
                border-radius: 12px;
            }

            .carousel-image {
                border-radius: 12px;
            }
        }

        @media (max-width: 480px) {
            .image-carousel-section {
                padding: 2rem 0.5rem;
            }

            .carousel-image-wrapper {
                border-radius: 10px;
            }

            .carousel-image {
                border-radius: 10px;
            }
        }

        /* Footer Section Styles */
        .footer-section {
            background: linear-gradient(135deg, #1a237e 0%, #283593 100%);
            color: white;
            padding: 3rem 0 1rem;
            position: relative;
            overflow: hidden;
        }

        .footer-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, #4caf50, #66bb6a, #81c784);
        }

        .footer-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 5%;
        }

        .footer-content {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr;
            gap: 3rem;
            margin-bottom: 2rem;
        }

        .footer-brand {
            display: flex;
            align-items: flex-start;
            gap: 1.5rem;
        }

        .footer-logo {
            width: 130px;
            height: 130px;
            border-radius: 50%;
            transition: all 0.3s ease;
        }

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

        .footer-brand-text {
            flex: 1;
        }

        .footer-title {
            font-size: 2rem;
            font-weight: 800;
            margin-bottom: 0.5rem;
            color: #ffffff;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
        }

        .footer-subtitle {
            font-size: 1.1rem;
            font-weight: 600;
            margin-bottom: 0.3rem;
            color: #e8eaf6;
        }

        .footer-tagline {
            font-size: 1rem;
            color: #c5cae9;
            margin: 0;
        }

        .footer-section-title {
            font-size: 1.2rem;
            font-weight: 600;
            margin-bottom: 1rem;
            color: #ffffff;
            padding-bottom: 0.5rem;
            position: relative;
            display: inline-block;
        }
        
        .footer-section-title::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 2px;
            background: #4caf50;
        }

        .footer-contact {
            text-align: left;
            position: relative;
        }

        /* Bird Phone Illustration Styles */
        .contact-header {
            display: flex;
            align-items: center;
            gap: 0.8rem;
            margin-bottom: 1rem;
        }

        @keyframes gentle-float {
            0%, 100% {
                transform: translateY(0px);
            }
            50% {
                transform: translateY(-5px);
            }
        }

        .contact-item {
            margin: 0;
        }

        .whatsapp-link {
            display: flex;
            align-items: center;
            gap: 0.8rem;
            color: #ffffff;
            text-decoration: none;
            padding: 0.8rem 1.2rem;
            background: linear-gradient(135deg, #25d366, #128c7e);
            border-radius: 25px;
            transition: all 0.3s ease;
            font-weight: 500;
            box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
        }

        .whatsapp-link:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
            background: linear-gradient(135deg, #128c7e, #075e54);
        }

        .whatsapp-icon {
            font-size: 1.3rem;
            animation: pulse 2s infinite;
        }

        @keyframes pulse {
            0% {
                transform: scale(1);
            }
            50% {
                transform: scale(1.1);
            }
            100% {
                transform: scale(1);
            }
        }

        .footer-social {
            text-align: left;
        }

        .social-links {
            display: flex;
            gap: 1rem;
            flex-wrap: wrap;
            margin-top: 14px;
        }

        .social-link {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 45px;
            height: 45px;
            border-radius: 50%;
            color: white;
            text-decoration: none;
            transition: all 0.3s ease;
            font-size: 1.2rem;
            position: relative;
            overflow: hidden;
        }

        .social-link::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            border-radius: 50%;
            transition: all 0.3s ease;
            z-index: -1;
        }

        .social-link.facebook::before {
            background: linear-gradient(135deg, #1877f2, #42a5f5);
        }

        .social-link.instagram::before {
            background: linear-gradient(135deg, #e4405f, #f77737, #fccc63);
        }

        .social-link.twitter::before {
            background: linear-gradient(135deg, #1da1f2, #42a5f5);
        }

        .social-link.youtube::before {
            background: linear-gradient(135deg, #ff0000, #ff4444);
        }

        .social-link.linkedin::before {
            background: linear-gradient(135deg, #0077b5, #42a5f5);
        }

        .social-link:hover {
            transform: translateY(-3px) scale(1.1);
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
        }

        .social-link:hover::before {
            transform: scale(1.1);
        }

        .footer-bottom {
            text-align: center;
            padding-top: 2rem;
        }

        .footer-divider {
            height: 1px;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
            margin-bottom: 1.5rem;
        }

        .footer-copyright {
            color: #c5cae9;
            font-size: 0.9rem;
            margin: 0;
            line-height: 1.6;
        }

        /* Responsive Design for Footer */
        @media (max-width: 768px) {
            .footer-content {
                grid-template-columns: 1fr;
                gap: 2rem;
                text-align: center;
            }

            .footer-brand {
                flex-direction: column;
                align-items: center;
                text-align: center;
            }

            .footer-logo {
                width: 110px;
                height: 110px;
            }

            .footer-title {
                font-size: 1.8rem;
            }

            .footer-social {
                text-align: center;
            }

            .footer-section-title {
                position: relative;
                display: inline-block;
                text-align: center;
            }
            
            .footer-section-title::after {
                content: '';
                position: absolute;
                bottom: 0;
                left: 50%;
                transform: translateX(-50%);
                width: 100%;
                max-width: fit-content;
                height: 2px;
                background: #4caf50;
            }

            .social-links {
                justify-content: center;
            }

            .whatsapp-link {
                justify-content: center;
                max-width: 250px;
                margin: 0 auto;
            }

            .contact-header {
                justify-content: center;
            }

        }

        @media (max-width: 480px) {
            .footer-section {
                padding: 2rem 0 1rem;
            }

            .footer-content {
                gap: 1.5rem;
            }

            .footer-logo {
                width: 60px;
                height: 60px;
            }

            .footer-title {
                font-size: 1.5rem;
            }

            .footer-subtitle {
                font-size: 1rem;
            }

            .social-link {
                width: 40px;
                height: 40px;
                font-size: 1rem;
            }

            .whatsapp-link {
                padding: 0.6rem 1rem;
                font-size: 0.9rem;
            }

            .footer-copyright {
                font-size: 0.8rem;
                padding: 0 1rem;
            }
        }

/* Enhanced Thoughts Section */
.thoughts-section {
    padding: 5rem 2rem;
    background: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.thoughts-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1a237e, #3f51b5, #1a237e);
    z-index: 1;
}

.thoughts-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.thoughts-intro {
    margin-bottom: 4rem;
    color: #2c3e50;
}

.thoughts-header-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 3rem;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.thoughts-text {
    text-align: left;
}

.thoughts-text h2 {
    font-size: 3.5rem;
    font-weight: 800;
    color: #1a237e;
    margin-bottom: 1.5rem;
    position: relative;
}

.thoughts-text .tagline {
    font-size: 1.4rem;
    color: #3f51b5;
    font-weight: 500;
    margin-bottom: 1rem;
}

.thoughts-text p {
    font-size: 1.1rem;
    color: #455a64;
    line-height: 1.8;
    margin-bottom: 0.5rem;
    max-width: 500px;
}

.thoughts-animation {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 70px;
}

.parrot-animation {
    width: 300px;
    height: 300px;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
    transition: all 0.3s ease;
}

.parrot-animation:hover {
    transform: scale(1.05) rotate(2deg);
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.3));
}

.parrot-speech-bubble {
    position: relative;
    background: white;
    border-radius: 20px;
    padding: 1rem 1.5rem;
    max-width: 220px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border: 2px solid #e9ecef;
}

.parrot-speech-bubble::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-bottom: 15px solid white;
}

.parrot-speech-bubble p {
    margin: 0;
    color: #2c3e50;
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.4;
}



.thoughts-form-container {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    margin-bottom: 4rem;
    border: 1px solid #e9ecef;
    position: relative;
    overflow: hidden;
}

.thoughts-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1a237e, #3f51b5, #1a237e);
}

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

.form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.form-header h3 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.form-header p {
    color: #7f8c8d;
    font-size: 1rem;
    margin: 0 auto;
    line-height: 1.6;
}

.form-message {
    padding: 1.2rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    font-weight: 500;
    display: none;
    position: relative;
    overflow: hidden;
}

.form-message::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
}

.form-message.success {
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.form-message.success::before {
    background: #28a745;
}

.form-message.error {
    background: linear-gradient(135deg, #f8d7da, #f5c6cb);
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

.form-message.error::before {
    background: #dc3545;
}

.anonymous-toggle {
    margin-bottom: 2rem;
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 12px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
    display: flex;           /* NEW — align horizontally */
    align-items: center;     /* NEW — vertically center */
}

.anonymous-toggle:hover {
    border-color: #1a237e;
    background: rgba(26, 35, 126, 0.05);
}

.anonymous-toggle input[type="checkbox"] {
    margin-right: 0.8rem;
    transform: scale(1.2);
    cursor: pointer;
}

.anonymous-toggle label {
    color: #495057;
    cursor: pointer;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.anonymous-toggle label::before {
    content: '🔒';
    margin-right: 0.5rem;
    font-size: 1.1rem;
}

.form-row {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.form-group {
    flex: 1;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 600;
    color: #2c3e50;
    font-size: 1rem;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fff;
    font-family: inherit;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #1a237e;
    box-shadow: 0 0 0 3px rgba(26, 35, 126, 0.1);
    transform: translateY(-1px);
}

.form-textarea {
    min-height: 140px;
    resize: vertical;
    line-height: 1.6;
}

.char-counter {
    text-align: right;
    font-size: 0.85rem;
    color: #6c757d;
    margin-top: 0.5rem;
}

.submit-btn {
    background: linear-gradient(135deg, #1a237e 0%, #3f51b5 100%);
    color: white;
    padding: 1.2rem 2.5rem;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 0.5rem;
}

.submit-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;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(26, 35, 126, 0.3);
}

.submit-btn:hover::before {
    left: 100%;
}

.submit-btn:disabled {
    background: #6c757d;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.submit-btn:disabled::before {
    display: none;
}

.recent-thoughts {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    border: 1px solid #e9ecef;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.recent-thoughts h3 {
    font-size: 2.2rem;
    color: #2c3e50;
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 700;
    position: relative;
}

.recent-thoughts h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #1a237e, #3f51b5);
    border-radius: 2px;
}

.thoughts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.thought-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid #e9ecef;
    overflow: hidden;
}

.thought-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #1a237e, #3f51b5);
}

.thought-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(26, 35, 126, 0.1);
}

.thought-content {
    position: relative;
    margin-bottom: 1.5rem;
}

.thought-content::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: -5px;
    font-size: 3rem;
    color: #1a237e;
    opacity: 0.3;
    font-family: serif;
}

.thought-content p {
    font-style: italic;
    color: #495057;
    line-height: 1.7;
    margin: 0;
    padding-left: 1rem;
    font-size: 1rem;
}

.thought-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: #6c757d;
    border-top: 1px solid #f1f3f4;
    padding-top: 1rem;
}

.thought-author {
    font-weight: 600;
    color: #1a237e;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.thought-author::before {
    content: '👤';
    font-size: 0.9rem;
}

.thought-date {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.thought-date::before {
    content: '📅';
    font-size: 0.8rem;
}

.no-thoughts,
.error-message {
    text-align: center;
    padding: 3rem;
    grid-column: 1 / -1;
    border-radius: 15px;
    font-style: italic;
}

.no-thoughts {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    color: #6c757d;
    border: 2px dashed #dee2e6;
}

.error-message {
    background: linear-gradient(135deg, #f8d7da, #f5c6cb);
    color: #721c24;
    border: 2px solid #f5c6cb;
}

/* Responsive Design */
@media (max-width: 768px) {
    .thoughts-section {
        padding: 3rem 1rem;
    }

    .thoughts-header-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .thoughts-text {
        text-align: center;
    }

    .thoughts-text h2 {
        font-size: 2.5rem;
    }

    .thoughts-text p {
        max-width: 100%;
    }

    .parrot-animation {
        width: 200px;
        height: 200px;
    }

    .parrot-speech-bubble {
        max-width: 200px;
        padding: 0.8rem 1.2rem;
    }

    .parrot-speech-bubble p {
        font-size: 0.9rem;
    }

    .thoughts-form-container,
    .recent-thoughts {
        padding: 2rem;
        border-radius: 20px;
    }

    .form-row {
        flex-direction: column;
        gap: 1rem;
    }

    .thoughts-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .thought-card {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .thoughts-header-content {
        gap: 1.5rem;
    }

    .thoughts-text h2 {
        font-size: 2rem;
    }

    .thoughts-text h2::after {
        font-size: 1.5rem;
        top: -5px;
        right: -15px;
    }

    .thoughts-text .tagline {
        font-size: 1.2rem;
    }

    .thoughts-text p {
        font-size: 1rem;
    }

    .parrot-animation {
        width: 220px;
        height: 220px;
    }

    .parrot-speech-bubble {
        max-width: 190px;
        padding: 0.7rem 1rem;
        border-radius: 15px;
    }

    .parrot-speech-bubble p {
        font-size: 0.85rem;
    }

    .thoughts-form-container,
    .recent-thoughts {
        padding: 1.5rem;
    }

    .submit-btn {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}

@media (max-width: 320px) {
    .parrot-animation {
        width: 120px;
        height: 120px;
    }

    .parrot-speech-bubble {
        max-width: 140px;
        padding: 0.6rem 0.8rem;
    }

    .parrot-speech-bubble p {
        font-size: 0.75rem;
    }

    .thoughts-text h2 {
        font-size: 1.8rem;
    }
}

/* Language Switcher Styles */
.language-switcher {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    font-family: 'Arial', sans-serif;
}

.language-button {
    display: flex;
    align-items: center;
    padding: 8px 15px;
    background: linear-gradient(145deg, #4527a0, #311b92);
    border-radius: 30px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    color: white;
    transition: all 0.3s ease;
}

.language-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.3);
}

.current-language {
    font-weight: bold;
}

.language-options {
    position: absolute;
    bottom: 60px;
    right: 0;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    overflow: hidden;
    width: 120px;
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: all 0.3s ease;
}

.language-options.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.language-option {
    padding: 12px 15px;
    cursor: pointer;
    transition: background 0.2s;
}

.language-option:hover {
    background: #f0f0f0;
}

/* Language Prompt Styles */
.language-prompt {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    width: 280px;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transform: translateX(50px);
    transition: all 0.5s ease;
}

.language-prompt.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.prompt-content {
    padding: 15px;
    text-align: center;
}

.prompt-content p {
    margin: 0 0 15px 0;
    font-size: 14px;
    color: #333;
}

.prompt-actions {
    display: flex;
    justify-content: space-between;
}

.prompt-actions button {
    padding: 8px 12px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.2s;
}

#prompt-switch {
    background: #4527a0;
    color: white;
    flex-grow: 1;
    margin-right: 8px;
}

#prompt-close {
    background: #f0f0f0;
    color: #333;
    flex-grow: 0.5;
}

.prompt-actions button:hover {
    opacity: 0.9;
    transform: scale(1.05);
}

/* Pulse animation for language switcher */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(69, 39, 160, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(69, 39, 160, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(69, 39, 160, 0);
    }
}

.pulse {
    animation: pulse 1.5s infinite;
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
    .hero-section {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        padding-top: 2rem;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-slogan {
        font-size: 1.5rem;
    }

    dotlottie-player {
        width: 250px;
        height: 250px;
    }

    .section-title {
        font-size: 2rem;
    }

    .animal-world-container {
        grid-template-columns: 1fr;
    }

    .badges-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .animal-animation-container {
        width: 150px;
        height: 150px;
    }
}

@media (max-width: 480px) {
    .hero-content{
        margin-top: 8rem;
    }
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-slogan {
        font-size: 1.2rem;
    }

    dotlottie-player {
        width: 300px;
        height: 300px;
        margin-bottom: 8rem;
    }

    .activities-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 1.75rem;
        margin-bottom: 2rem;
    }

    .interactive-elements {
        flex-direction: column;
        gap: 0.5rem;
    }

    .badges-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .section-subtitle {
        font-size: 1.2rem;
    }
}

/* Rich Text Content Styles */
.rich-text-content {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.5;
    color: #333;
}

.rich-text-content h1, 
.rich-text-content h2, 
.rich-text-content h3, 
.rich-text-content h4, 
.rich-text-content h5, 
.rich-text-content h6 {
    margin: 1em 0 0.5em;
    color: #2d3748;
}

.rich-text-content p {
    margin-bottom: 1em;
}

.rich-text-content ul, 
.rich-text-content ol {
    margin: 1em 0;
    padding-left: 2em;
}

.rich-text-content li {
    margin-bottom: 0.5em;
}

.rich-text-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1em 0;
}

.rich-text-content table {
    border-collapse: collapse;
    width: 100%;
    margin: 1em 0;
}

.rich-text-content th,
.rich-text-content td {
    border: 1px solid #e2e8f0;
    padding: 8px;
    text-align: left;
}

.rich-text-content th {
    background-color: #f7fafc;
}

.rich-text-content blockquote {
    border-left: 4px solid #667eea;
    margin: 1em 0;
    padding-left: 1em;
    color: #4a5568;
}

/* Dimension Unit Toggle Styles */
.unit-toggle {
    display: inline-flex;
    align-items: center;
    background: #e8f5e9;
    border-radius: 30px;
    padding: 3px;
    margin-left: 12px;
    border: 2px solid #4a7c59;
    box-shadow: 0 2px 8px rgba(74, 124, 89, 0.15);
    transition: all 0.3s ease;
}

.unit-toggle:hover {
    box-shadow: 0 4px 12px rgba(74, 124, 89, 0.25);
}

.unit-toggle button {
    border: none;
    padding: 6px 12px;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    background: transparent;
    color: #4a7c59;
}

.unit-toggle button.active {
    background: #4a7c59;
    color: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transform: scale(1.05);
}

.dimension-value {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1.1rem;
    padding: 8px 0;
}

.dimension-item {
    background: #f8f9fa;
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.dimension-item:hover {
    border-color: #4a7c59;
    background: #fff;
    box-shadow: 0 4px 12px rgba(74, 124, 89, 0.1);
}

.dimension-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
    font-weight: 500;
    color: #2d3748;
}

.dimension-value .value-display {
    font-weight: 600;
    color: #1a237e;
}

/* ========================================
   Activities Gallery (ag-) Styles
   Nature/Conservation Color Palette
   ======================================== */

:lang(hi) { font-family: 'Noto Sans Devanagari', 'Segoe UI', sans-serif; }
:lang(gu) { font-family: 'Noto Sans Gujarati', 'Segoe UI', sans-serif; }

.ag-section {
    padding: 5rem 5%;
    background: linear-gradient(135deg, #f1f8e9 0%, #e8f5e9 50%, #fafafa 100%);
    position: relative;
    overflow: hidden;
}

.ag-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2e7d32, #66bb6a, #a5d6a7, #2e7d32);
    background-size: 200% 100%;
    animation: agGradientShift 4s ease infinite;
}

@keyframes agGradientShift {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Header */
.ag-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.ag-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: #1b5e20;
    margin-bottom: 0.8rem;
    position: relative;
    display: inline-block;
}

.ag-title::after {
    content: '';
    position: absolute;
    bottom: -8px; left: 50%;
    transform: translateX(-50%);
    width: 70px; height: 4px;
    background: linear-gradient(90deg, #2e7d32, #66bb6a);
    border-radius: 2px;
}

.ag-subtitle {
    font-size: 1.15rem;
    color: #5d4037;
    max-width: 550px;
    margin: 0.8rem auto 0;
    line-height: 1.6;
}

/* Category Filter Bar */
.ag-filter-bar {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 2.5rem;
}

.ag-filter-btn {
    padding: 0.5rem 1.4rem;
    border: 2px solid #c8e6c9;
    border-radius: 25px;
    background: #fff;
    color: #2e7d32;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.ag-filter-btn:hover {
    background: #e8f5e9;
    border-color: #66bb6a;
    transform: translateY(-1px);
}

.ag-filter-btn.active {
    background: linear-gradient(135deg, #2e7d32, #43a047);
    color: #fff;
    border-color: #2e7d32;
    box-shadow: 0 4px 12px rgba(46, 125, 50, 0.3);
}

/* Loading Skeleton */
.ag-skeleton-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.ag-skeleton-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.ag-skeleton-img {
    width: 100%; height: 220px;
    background: linear-gradient(90deg, #e0e0e0 25%, #f5f5f5 50%, #e0e0e0 75%);
    background-size: 200% 100%;
    animation: agShimmer 1.5s infinite;
}

.ag-skeleton-body {
    padding: 1.2rem;
}

.ag-skeleton-line {
    height: 14px;
    border-radius: 7px;
    background: linear-gradient(90deg, #e0e0e0 25%, #f5f5f5 50%, #e0e0e0 75%);
    background-size: 200% 100%;
    animation: agShimmer 1.5s infinite;
    margin-bottom: 0.7rem;
}

.ag-skeleton-line.w60 { width: 60%; }
.ag-skeleton-line.w90 { width: 90%; }
.ag-skeleton-line.w40 { width: 40%; }

@keyframes agShimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Empty State */
.ag-empty {
    text-align: center;
    padding: 4rem 2rem;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

.ag-empty-icon {
    width: 80px; height: 80px;
    background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem; color: #2e7d32;
}

.ag-empty h3 {
    color: #2e7d32;
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.ag-empty p {
    color: #795548;
    font-size: 1rem;
}

/* Gallery Grid */
.ag-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* Card */
.ag-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    cursor: pointer;
    transition: transform 0.35s cubic-bezier(.4,0,.2,1), box-shadow 0.35s ease;
    position: relative;
    opacity: 0;
    animation: agFadeUp 0.5s ease forwards;
}

.ag-card:nth-child(1) { animation-delay: 0.05s; }
.ag-card:nth-child(2) { animation-delay: 0.1s; }
.ag-card:nth-child(3) { animation-delay: 0.15s; }
.ag-card:nth-child(4) { animation-delay: 0.2s; }
.ag-card:nth-child(5) { animation-delay: 0.25s; }
.ag-card:nth-child(6) { animation-delay: 0.3s; }

@keyframes agFadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

.ag-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 16px 40px rgba(46, 125, 50, 0.18);
}

.ag-card-img-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
}

.ag-card-img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease, filter 0.5s ease;
    filter: brightness(0.95);
}

.ag-card:hover .ag-card-img {
    transform: scale(1.08);
    filter: brightness(1.05);
}

.ag-card-gradient {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 80px;
    background: linear-gradient(transparent, rgba(0,0,0,0.45));
    pointer-events: none;
}

.ag-card-badge {
    position: absolute;
    top: 0.8rem; left: 0.8rem;
    background: linear-gradient(135deg, #2e7d32, #43a047);
    color: #fff;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(4px);
    z-index: 2;
}

.ag-card-body {
    padding: 1.3rem 1.2rem 1.4rem;
}

.ag-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1b5e20;
    margin-bottom: 0.4rem;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ag-card-date {
    font-size: 0.8rem;
    color: #8d6e63;
    margin-bottom: 0.5rem;
    display: flex; align-items: center; gap: 0.35rem;
}

.ag-card-date::before { content: '📅'; font-size: 0.85rem; }

.ag-card-quote {
    font-size: 0.85rem;
    color: #6d4c41;
    font-style: italic;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
}

/* ===== Modal / Lightbox ===== */
.ag-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 1.5rem;
}

.ag-modal-overlay.open {
    opacity: 1;
    visibility: visible;
}

.ag-modal {
    background: #fff;
    border-radius: 20px;
    max-width: 960px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 80px rgba(0,0,0,0.25);
    transform: scale(0.92) translateY(20px);
    transition: transform 0.35s cubic-bezier(.4,0,.2,1);
    position: relative;
}

.ag-modal-overlay.open .ag-modal {
    transform: scale(1) translateY(0);
}

.ag-modal-close {
    position: absolute;
    top: 1rem; right: 1rem;
    width: 42px; height: 42px;
    background: rgba(255,255,255,0.95);
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 50%;
    font-size: 1.4rem;
    color: #333;
    cursor: pointer;
    z-index: 20;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.ag-modal-close:hover {
    background: #ef5350;
    color: #fff;
    transform: rotate(90deg);
}

.ag-modal-body {
    display: flex;
    flex-direction: row;
    height: 100%;
}

.ag-modal-gallery {
    flex: 1.4;
    position: relative;
    background: #f5f5f5;
    min-height: 400px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ag-modal-slides {
    display: flex;
    height: 100%;
    transition: transform 0.5s cubic-bezier(.4,0,.2,1);
    will-change: transform;
}

.ag-modal-slide {
    min-width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    box-sizing: border-box;
}

.ag-modal-slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.ag-modal-slide img:hover {
    transform: scale(1.02);
}

.ag-modal-nav {
    position: absolute;
    top: 50%; transform: translateY(-50%);
    width: 42px; height: 42px;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    border: 1px solid rgba(0,0,0,0.1);
    cursor: pointer;
    font-size: 0.95rem;
    color: #333;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.ag-modal-nav:hover {
    background: #fff;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

.ag-modal-prev { left: 1rem; }
.ag-modal-next { right: 1rem; }

.ag-modal-counter {
    position: absolute;
    top: 1rem; left: 1rem;
    background: rgba(0,0,0,0.6);
    color: #fff;
    padding: 0.35rem 0.85rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 10;
    backdrop-filter: blur(4px);
}

.ag-modal-dots {
    position: absolute;
    bottom: 1.2rem;
    left: 50%; transform: translateX(-50%);
    display: flex; gap: 0.6rem;
    z-index: 10;
    background: rgba(255,255,255,0.85);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    backdrop-filter: blur(6px);
}

.ag-modal-dot {
    width: 9px; height: 9px;
    border-radius: 50%;
    background: rgba(0,0,0,0.25);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    padding: 0;
}

.ag-modal-dot.active {
    background: #2e7d32;
    transform: scale(1.3);
}

.ag-modal-info {
    flex: 1;
    padding: 2.5rem 2rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-left: 1px solid rgba(0,0,0,0.06);
}

.ag-modal-category {
    display: inline-block;
    background: linear-gradient(135deg, #2e7d32, #43a047);
    color: #fff;
    padding: 0.3rem 1.2rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
    width: fit-content;
}

.ag-modal-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1b5e20;
    line-height: 1.3;
    margin-bottom: 0.8rem;
}

.ag-modal-date {
    font-size: 0.9rem;
    color: #8d6e63;
    margin-bottom: 1.2rem;
    display: flex; align-items: center; gap: 0.4rem;
}

.ag-modal-date::before { content: '📅'; }

.ag-modal-quote {
    font-style: italic;
    color: #5d4037;
    font-size: 1.05rem;
    line-height: 1.65;
    border-left: 3px solid #66bb6a;
    padding: 0.8rem 0 0.8rem 1.2rem;
    margin: 0 0 1.5rem;
    background: linear-gradient(135deg, #f1f8e9, transparent);
    border-radius: 0 8px 8px 0;
}

.ag-modal-desc {
    color: #4e342e;
    line-height: 1.75;
    font-size: 1rem;
    margin: 0;
}

/* Modal Responsive */
@media (max-width: 768px) {
    .ag-modal {
        max-height: 92vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .ag-modal-body {
        flex-direction: column;
        height: auto;
    }

    .ag-modal-gallery {
        flex: none;
        min-height: 250px;
        height: 40vh;
        position: relative;
    }

    .ag-modal-info {
        border-left: none;
        border-top: 1px solid rgba(0,0,0,0.06);
        padding: 1.5rem;
        overflow-y: visible;
    }

    .ag-modal-title {
        font-size: 1.4rem;
    }

    .ag-modal-nav {
        width: 36px; height: 36px;
        font-size: 0.85rem;
    }

    .ag-modal-close {
        position: sticky;
        top: 0.8rem;
        align-self: flex-end;
        margin: 0.8rem 0.8rem 0 0;
        z-index: 25;
        flex-shrink: 0;
    }
}

@media (max-width: 480px) {
    .ag-modal-overlay { padding: 0.5rem; }

    .ag-modal {
        border-radius: 14px;
        max-height: 95vh;
    }

    .ag-modal-gallery {
        min-height: 200px;
        height: 35vh;
    }

    .ag-modal-info { padding: 1.2rem; }

    .ag-modal-title { font-size: 1.2rem; }

    .ag-modal-quote { font-size: 0.95rem; }
}

/* Grid Responsive */
@media (max-width: 1024px) {
    .ag-grid,
    .ag-skeleton-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .ag-grid,
    .ag-skeleton-grid {
        grid-template-columns: 1fr;
    }

    .ag-section {
        padding: 3rem 4%;
    }

    .ag-title {
        font-size: 2rem;
    }

    .ag-subtitle {
        font-size: 1rem;
    }

    .ag-card-img {
        height: 200px;
    }

    .ag-filter-bar {
        gap: 0.4rem;
    }

    .ag-filter-btn {
        padding: 0.4rem 1rem;
        font-size: 0.82rem;
    }
}
