/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    text-align: center;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.btn-primary {
    background: #2563eb;
    color: white;
}

.btn-primary:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
}

/* Impressive Header Styles */
.top-bar {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    background-size: 300% 300%;
    animation: gradientShift 8s ease infinite;
    color: white;
    text-align: center;
    padding: 12px 0;
    font-size: 14px;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.top-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: shimmerSlide 3s infinite;
}

.top-bar span {
    position: relative;
    z-index: 2;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

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

@keyframes shimmerSlide {
    0% { left: -100%; }
    100% { left: 100%; }
}

.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    overflow: hidden;
}

/* Dynamic Scroll Effects */
.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border-bottom: 1px solid rgba(102, 126, 234, 0.1);
}

.header.scrolled .navbar {
    padding: 15px 0;
}

.header.scrolled .logo h2 {
    font-size: 32px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1)) drop-shadow(0 0 15px rgba(102, 126, 234, 0.2));
}

/* Floating Background Elements */
.header::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    animation: floatAnimation 20s ease-in-out infinite;
    pointer-events: none;
}

@keyframes floatAnimation {
    0%, 100% { 
        transform: translate(0, 0) rotate(0deg);
        opacity: 0.3;
    }
    33% { 
        transform: translate(-30px, -30px) rotate(120deg);
        opacity: 0.6;
    }
    66% { 
        transform: translate(30px, -20px) rotate(240deg);
        opacity: 0.4;
    }
}

.navbar {
    padding: 20px 0;
    position: relative;
}

.navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 49%, rgba(102, 126, 234, 0.02) 50%, transparent 51%);
    pointer-events: none;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.logo {
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.logo h2 {
    font-size: 36px;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
    margin-bottom: 4px;
    position: relative;
    animation: logoGlow 4s ease-in-out infinite;
    text-shadow: 0 0 30px rgba(102, 126, 234, 0.3);
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.logo h2::before {
    content: 'AMWORLD';
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: blur(8px);
    opacity: 0.7;
    z-index: -1;
    animation: pulseGlow 3s ease-in-out infinite;
}

@keyframes logoGlow {
    0%, 100% { 
        background-position: 0% 50%;
        filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1)) drop-shadow(0 0 20px rgba(102, 126, 234, 0.3));
    }
    50% { 
        background-position: 100% 50%;
        filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1)) drop-shadow(0 0 30px rgba(118, 75, 162, 0.4));
    }
}

@keyframes pulseGlow {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.05); }
}

.logo .tagline {
    font-size: 12px;
    background: linear-gradient(90deg, #6b7280 0%, #9ca3af 50%, #6b7280 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: taglineShimmer 6s ease-in-out infinite;
    margin: 0;
    letter-spacing: 1.2px;
    font-weight: 500;
    text-transform: uppercase;
    position: relative;
    opacity: 0.9;
}

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

.logo .tagline em {
    font-style: italic;
    font-family: 'Georgia', 'Times New Roman', serif;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0.8px;
    font-size: 13px;
    background: linear-gradient(90deg, #8b5cf6 0%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 35px;
    padding: 0;
    margin: 0;
}

.nav-link {
    text-decoration: none;
    color: #374151;
    font-weight: 500;
    padding: 10px 0;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-link:hover {
    color: #2563eb;
}

.nav-item {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    padding: 15px 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 8px 20px;
    color: #374151;
    text-decoration: none;
    font-weight: 400;
    transition: background 0.2s ease;
}

.dropdown-menu a:hover {
    background: #f3f4f6;
    color: #2563eb;
}

.nav-icons {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Search button styles - Disabled (button removed from header) */
/*
.search-btn {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border: 2px solid transparent;
    background-clip: padding-box;
    color: #667eea;
    cursor: pointer;
    padding: 12px 16px;
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    font-size: 18px;
    backdrop-filter: blur(10px);
}

.search-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 10px;
}

.search-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255,255,255,0.8) 0%, transparent 70%);
    transition: all 0.4s ease;
    transform: translate(-50%, -50%);
    border-radius: 50%;
}

.search-btn i {
    position: relative;
    z-index: 2;
    transition: all 0.4s ease;
}

.search-btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
    border: 2px solid rgba(102, 126, 234, 0.3);
}

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

.search-btn:hover::after {
    width: 30px;
    height: 30px;
}

.search-btn:hover i {
    color: white;
    transform: rotate(90deg) scale(1.1);
}

.search-btn:active {
    transform: translateY(-1px) scale(1.02);
}
*/

.cart-btn {
    position: relative;
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ef4444;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border: 2px solid rgba(102, 126, 234, 0.2);
    border-radius: 10px;
    cursor: pointer;
    padding: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.mobile-menu-toggle::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.1), transparent);
    transition: left 0.5s ease;
}

.mobile-menu-toggle:hover::before {
    left: 100%;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 3px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    margin: 2px 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
    position: relative;
    z-index: 2;
}

.mobile-menu-toggle:hover {
    transform: scale(1.05);
    border-color: rgba(102, 126, 234, 0.4);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.2);
}

.mobile-menu-toggle:hover span {
    background: linear-gradient(90deg, #764ba2 0%, #f093fb 100%);
    transform: scale(1.1);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-6px, -6px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 25px 0;
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    max-width: 800px;
    margin: 0 auto;
}

.feature {
    text-align: center;
    padding: 15px 10px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(5px);
    transition: all 0.2s ease;
}

.feature:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.12);
}

.feature i {
    font-size: 24px;
    margin-bottom: 8px;
    color: #93c5fd;
}

.feature h3 {
    font-size: 14px;
    margin-bottom: 4px;
    font-weight: 600;
    line-height: 1.2;
}

.feature p {
    font-size: 12px;
    opacity: 0.85;
    line-height: 1.3;
}

/* Categories Section */
.categories {
    padding: 50px 0 80px 0;
    background: #f9fafb;
}

.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 50px;
    color: #1f2937;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.category-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.category-card:hover {
    transform: translateY(-5px);
}

.category-card.bestsellers {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
}

.category-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.category-info {
    padding: 20px;
}

.category-info h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 5px;
}

.category-info span {
    color: #6b7280;
    font-size: 14px;
}

/* Dynamic Categories Loading States */
.loading-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px;
    color: #6b7280;
}

.no-categories-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
}

.empty-state {
    max-width: 500px;
    margin: 0 auto;
}

.empty-state h3 {
    font-size: 24px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 15px;
}

.empty-state p {
    color: #6b7280;
    font-size: 16px;
    margin-bottom: 30px;
    line-height: 1.6;
}

.upload-instructions {
    background: #f3f4f6;
    border-radius: 12px;
    padding: 25px;
    text-align: left;
    margin-top: 20px;
}

.upload-instructions h4 {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 15px;
}

.upload-instructions ol {
    color: #6b7280;
    line-height: 1.6;
    padding-left: 20px;
}

.upload-instructions ol li {
    margin-bottom: 8px;
}

.upload-instructions code {
    background: #e5e7eb;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    color: #1f2937;
}

/* Product Sections */
.new-arrivals, .best-deals {
    padding: 80px 0;
}

.best-deals {
    background: #f9fafb;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
}

.view-all {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.view-all:hover {
    color: #1d4ed8;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.product-card {
    background: white;
    border-radius: 10px;
    overflow: visible;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.25s ease;
    cursor: pointer;
    border: 1px solid #f0f0f0;
    height: 320px;
}

.product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
    border-color: #e0e0e0;
}

.product-image {
    position: relative;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.product-badges {
    position: absolute;
    top: 15px;
    left: 15px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.badge {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
}

.badge.new {
    background: #10b981;
    color: white;
}

.badge.bestseller {
    background: #f59e0b;
    color: white;
}

.badge.sale {
    background: #ef4444;
    color: white;
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-info {
    padding: 12px 15px 20px 15px;
    height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: visible;
}

.product-info h3 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 2px;
    color: #1f2937;
    line-height: 1.1;
}

.rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.stars {
    color: #fbbf24;
    font-size: 14px;
}

.rating span:last-child {
    color: #6b7280;
    font-size: 12px;
}

.product-info p {
    color: #6b7280;
    font-size: 14px;
    margin-bottom: 15px;
}

/* New Product Card Enhancements */
.product-image-container {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.product-image-container img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.bestseller-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(45deg, #ff6b6b, #ee5a52);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

.product-description {
    display: none;
}

.price-section {
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.current-price {
    font-size: 15px;
    font-weight: 700;
    color: #059669;
}

.original-price {
    font-size: 12px;
    color: #9ca3af;
    text-decoration: line-through;
}

.retailer-icons {
    display: flex;
    gap: 6px;
    align-items: center;
    justify-content: flex-start;
    margin-top: 8px;
    margin-bottom: 5px;
    overflow: visible;
    min-height: 35px;
}

.retailer-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 4px;
    background: transparent;
    border: none;
    text-decoration: none;
    transition: all 0.2s ease;
    position: relative;
    overflow: visible;
    flex-shrink: 0;
}

.retailer-icon:hover {
    transform: translateY(-2px) scale(1.1);
    filter: brightness(1.1);
}

.retailer-icon img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    border-radius: 4px;
}

/* Clean retailer icons without borders - authentic brand representation */

.no-purchase-links {
    font-size: 12px;
    color: #9ca3af;
    font-style: italic;
    padding: 8px 0;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 10px;
}

.price {
    font-size: 20px;
    font-weight: 700;
    color: #1f2937;
}

.original-price {
    font-size: 16px;
    color: #6b7280;
    text-decoration: line-through;
}

/* Testimonials Carousel */
.testimonials {
    padding: 30px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
}

.testimonials .container {
    max-width: 966.4px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.testimonials .section-title {
    text-align: center;
    margin-bottom: 25px;
    font-size: 32px;
    font-weight: 700;
    color: #1f2937;
}

.testimonials-carousel-wrapper {
    position: relative;
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
    flex: 1;
}

.testimonials-carousel-container {
    position: relative;
    overflow: hidden;
    height: 100%;
    max-height: 350px;
}

.testimonials-carousel {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    width: 800%; /* 8 slides × 100% */
    height: 100%;
}

.testimonial-slide {
    /* Layout is now controlled by JavaScript */
    min-width: 12.5%; /* 100% / 8 slides */
    width: 12.5%;
    flex-shrink: 0;
    padding: 50px 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.testimonial-slide.active {
    /* Active slide styling - no opacity/transform conflicts */
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 20px 25px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.4);
    position: relative;
    overflow: hidden;
    max-width: 700px;
    width: 100%;
    text-align: center;
    height: fit-content;
    max-height: 280px;
    display: flex;
    align-items: center;
    margin: 0 auto;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    border-radius: 16px 16px 0 0;
}

.testimonial-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.02) 0%, transparent 60%);
    pointer-events: none;
    animation: shimmer 6s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { opacity: 0.1; transform: rotate(0deg); }
    50% { opacity: 0.3; transform: rotate(180deg); }
}

.testimonial-content {
    position: relative;
    z-index: 2;
}

.quote-icon {
    margin: 0 auto 15px auto;
    font-size: 24px;
    color: #667eea;
    opacity: 0.8;
    display: block;
    width: fit-content;
}

.testimonial-content p {
    font-size: 16px;
    line-height: 1.5;
    color: #374151;
    margin: 15px 0 20px 0;
    font-style: italic;
    font-weight: 400;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.testimonial-author {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.author-info {
    text-align: center;
}

.author-info h4 {
    font-size: 18px;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 6px 0;
}

.author-info span {
    font-size: 15px;
    color: #6b7280;
    font-weight: 500;
}

.rating .stars {
    color: #fbbf24;
    font-size: 20px;
    filter: drop-shadow(0 2px 4px rgba(251, 191, 36, 0.3));
}

/* Carousel Navigation Buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(102, 126, 234, 0.2);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.carousel-btn:hover {
    background: rgba(102, 126, 234, 0.9);
    color: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 12px 30px rgba(102, 126, 234, 0.3);
}

.carousel-btn i {
    font-size: 20px;
    color: #667eea;
    transition: color 0.3s ease;
}

.carousel-btn:hover i {
    color: white;
}

.carousel-prev {
    left: -30px;
}

.carousel-next {
    right: -30px;
}

/* Carousel Dots */
.carousel-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 40px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(102, 126, 234, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.dot:hover {
    background: rgba(102, 126, 234, 0.6);
    transform: scale(1.2);
}

.dot.active {
    background: #667eea;
    transform: scale(1.3);
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.2);
}

.dot.active::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 50%;
}

/* Research & Education Section */
.blog.research-section {
    padding: 80px 0;
    background: white;
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: #6b7280;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.research-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 30px;
}

.research-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}

.research-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.research-card a {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.research-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.research-card:hover img {
    transform: scale(1.05);
}

.blog-content {
    padding: 25px;
    position: relative;
}

.source-badge {
    display: inline-block;
    background: linear-gradient(45deg, #2563eb, #1d4ed8);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
}

.blog-content h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #1f2937;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.research-card:hover .blog-content h3 {
    color: #2563eb;
}

.blog-description {
    color: #6b7280;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.read-more {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #2563eb;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.read-more i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.research-card:hover .read-more {
    color: #1d4ed8;
}

.research-card:hover .read-more i {
    transform: translateX(3px);
}

/* Newsletter Section */
.newsletter {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.newsletter h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
}

.newsletter p {
    font-size: 16px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 16px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
}

.newsletter-disclaimer {
    font-size: 12px;
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.5;
}

/* Footer */
.footer {
    background: #1f2937;
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #f9fafb;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #60a5fa;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #374151;
    border-radius: 8px;
    color: #d1d5db;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #60a5fa;
    color: white;
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 30px;
    text-align: center;
}

.footer-info {
    margin-bottom: 20px;
    color: #d1d5db;
    line-height: 1.6;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.payment-methods {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.payment-methods i {
    font-size: 32px;
    color: #9ca3af;
    transition: color 0.3s ease;
}

.payment-methods i:hover {
    color: #60a5fa;
}

.copyright {
    color: #9ca3af;
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar .container {
        flex-wrap: wrap;
    }
    
    .logo h2 {
        font-size: 28px;
    }
    
    .logo .tagline {
        font-size: 10px;
    }
    
    .header.scrolled .logo h2 {
        font-size: 26px;
    }
    
    .nav-menu {
        display: none;
        width: 100%;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        box-shadow: 0 10px 30px rgba(102, 126, 234, 0.15);
        border-radius: 16px;
        border: 1px solid rgba(255, 255, 255, 0.2);
        padding: 25px;
        margin-top: 20px;
        animation: slideDown 0.3s ease;
    }
    
    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    /* .search-btn {
        padding: 10px 12px;
        font-size: 16px;
    } */
    
    .header::after {
        width: 200px;
        height: 200px;
        right: -30%;
    }
    
    .hero-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .categories-grid,
    .products-grid,
    .blog-grid,
    .research-grid {
        grid-template-columns: 1fr;
    }
    
    /* Testimonials Carousel Mobile */
    .testimonials {
        padding: 20px 0;
        height: 400px;
    }
    
    .testimonials .container {
        max-width: 100%;
        padding: 0 20px;
    }
    
    .testimonials .section-title {
        font-size: 24px;
        margin-bottom: 20px;
    }
    
    .testimonials-carousel-wrapper {
        margin: 0;
    }
    
    .testimonials-carousel-container {
        max-height: 280px;
    }
    
    .testimonial-slide {
        padding: 15px 10px;
        /* Width controlled by JavaScript */
    }
    
    .testimonial-card {
        padding: 15px 20px;
        max-height: 220px;
        border-radius: 12px;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    }
    
    .testimonial-card::before {
        border-radius: 12px 12px 0 0;
        height: 2px;
    }
    
    .testimonial-content p {
        font-size: 14px;
        line-height: 1.4;
        margin: 10px 0 15px 0;
    }
    
    .carousel-btn {
        width: 50px;
        height: 50px;
    }
    
    .carousel-btn i {
        font-size: 16px;
    }
    
    .carousel-prev {
        left: -10px;
    }
    
    .carousel-next {
        right: -10px;
    }
    
    .testimonial-author {
        flex-direction: column;
        gap: 15px;
    }
    
    .product-info h3 {
        font-size: 13px;
    }
    
    .current-price {
        font-size: 14px;
    }
    
    .original-price {
        font-size: 11px;
    }
    
    .newsletter-form {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .payment-methods {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 20px 0;
    }
    
    .hero-features {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .feature {
        padding: 12px 8px;
    }
    
    .feature i {
        font-size: 20px;
        margin-bottom: 6px;
    }
    
    .feature h3 {
        font-size: 13px;
        margin-bottom: 3px;
    }
    
    .feature p {
        font-size: 11px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .new-arrivals,
    .best-deals,
    .blog,
    .research-section {
        padding: 60px 0;
    }
    
    .categories {
        padding: 30px 0 60px 0;
    }
    
    .newsletter {
        padding: 40px 0;
    }
    
    .footer {
        padding: 40px 0 20px;
    }
}

/* Policy Pages Styles */
.policy-content {
    padding: 50px 0 80px 0;
    background: #f9fafb;
}

.policy-header {
    text-align: center;
    margin-bottom: 60px;
    padding-bottom: 30px;
    border-bottom: 2px solid #e5e7eb;
}

.policy-header h1 {
    font-size: 42px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.last-updated {
    color: #6b7280;
    font-size: 16px;
    font-style: italic;
}

.policy-body {
    max-width: 1000px;
    margin: 0 auto;
}

.policy-section {
    background: white;
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.policy-section h2 {
    font-size: 28px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.policy-section h2 i {
    color: #667eea;
    font-size: 24px;
}

.policy-section h3 {
    font-size: 22px;
    font-weight: 600;
    color: #374151;
    margin: 30px 0 15px 0;
}

.policy-section h4 {
    font-size: 18px;
    font-weight: 600;
    color: #4b5563;
    margin: 20px 0 10px 0;
}

.policy-section p {
    font-size: 16px;
    line-height: 1.7;
    color: #4b5563;
    margin-bottom: 16px;
}

.policy-section ul, .policy-section ol {
    margin: 16px 0;
    padding-left: 24px;
}

.policy-section li {
    font-size: 16px;
    line-height: 1.6;
    color: #4b5563;
    margin-bottom: 8px;
}

.policy-section strong {
    color: #1f2937;
    font-weight: 600;
}

/* Navigation Active State */
.nav-link.active {
    color: #667eea;
    font-weight: 600;
    position: relative;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
}

/* Special Policy Components */
.delivery-timeline, .return-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.timeline-item, .timeline-card {
    background: #f8fafc;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    border: 2px solid #e5e7eb;
    transition: all 0.3s ease;
}

.timeline-item:hover, .timeline-card:hover {
    border-color: #667eea;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
}

.timeline-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px auto;
    color: white;
    font-size: 20px;
}

.timeline-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px auto;
    color: white;
    font-size: 24px;
    font-weight: 700;
}

.timeline-content h4 {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 8px;
}

.timeline-content p {
    font-size: 14px;
    color: #6b7280;
}

/* Shipping Charges Table */
.shipping-charges-table {
    margin: 25px 0;
    overflow-x: auto;
}

.shipping-charges-table table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.shipping-charges-table th,
.shipping-charges-table td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}

.shipping-charges-table th {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-weight: 600;
    font-size: 16px;
}

.shipping-charges-table tr.highlight {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
}

.shipping-charges-table tr.highlight td {
    font-weight: 600;
    color: #1f2937;
}

.shipping-note {
    background: #f0f9ff;
    border: 1px solid #0ea5e9;
    border-radius: 8px;
    padding: 15px;
    margin-top: 20px;
    color: #0c4a6e;
}

/* Important Notes Grid */
.important-notes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.note-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #fef3c7;
    border: 1px solid #f59e0b;
    border-radius: 8px;
    padding: 15px;
}

.note-item i {
    color: #d97706;
    font-size: 20px;
    flex-shrink: 0;
}

.note-item p {
    margin: 0;
    color: #92400e;
}

/* Contact Info */
.contact-info, .contact-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.contact-item, .contact-method {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #f8fafc;
    border-radius: 8px;
    padding: 20px;
    border: 1px solid #e5e7eb;
}

.contact-item i, .contact-method i {
    color: #667eea;
    font-size: 20px;
    width: 30px;
    text-align: center;
    flex-shrink: 0;
}

.contact-method div h4 {
    margin: 0 0 5px 0;
    color: #1f2937;
}

.contact-method div p {
    margin: 0 0 5px 0;
    color: #4b5563;
    font-weight: 500;
}

.contact-method div span {
    font-size: 14px;
    color: #6b7280;
}

/* Refund Policy Specific Styles */
.eligible-list, .non-eligible-list {
    list-style: none;
    padding: 0;
}

.eligible-list li, .non-eligible-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #f3f4f6;
}

.eligible-list li i {
    color: #10b981;
    width: 20px;
    flex-shrink: 0;
}

.non-eligible-list li i {
    color: #ef4444;
    width: 20px;
    flex-shrink: 0;
}

.conditions-grid, .usage-grid, .security-measures {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 25px 0;
}

.condition-card, .usage-card, .security-item {
    background: #f8fafc;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.condition-card:hover, .usage-card:hover, .security-item:hover {
    border-color: #667eea;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
}

.condition-card i, .usage-card i, .security-item i {
    font-size: 32px;
    color: #667eea;
    margin-bottom: 15px;
}

.condition-card h4, .usage-card h4, .security-item h4 {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 10px;
}

/* Process Steps */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.step, .process-step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: white;
    border-radius: 12px;
    padding: 25px;
    border: 2px solid #e5e7eb;
    transition: all 0.3s ease;
}

.step:hover, .process-step:hover {
    border-color: #667eea;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.15);
}

.step-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 18px;
    flex-shrink: 0;
}

.step-content h4 {
    margin: 0 0 8px 0;
    color: #1f2937;
    font-size: 16px;
    font-weight: 600;
}

.step-content p {
    margin: 0;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.5;
}

/* Refund Methods */
.refund-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.method-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #f8fafc;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.method-item:hover {
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.15);
}

.method-item i {
    font-size: 24px;
    color: #667eea;
    width: 40px;
    text-align: center;
    flex-shrink: 0;
}

.method-item div h4 {
    margin: 0 0 5px 0;
    color: #1f2937;
    font-size: 16px;
}

.method-item div p {
    margin: 0;
    color: #6b7280;
    font-size: 14px;
}

/* Shipping Info Cards */
.shipping-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 25px 0;
}

.shipping-card {
    background: #f8fafc;
    border-radius: 12px;
    padding: 25px;
    border: 1px solid #e5e7eb;
}

.shipping-card h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: #1f2937;
}

.shipping-card h4 i {
    color: #667eea;
}

.shipping-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.shipping-card ul li {
    padding: 5px 0;
    color: #4b5563;
}

/* Special Cases */
.special-cases {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.case-item {
    background: #fef3c7;
    border: 1px solid #f59e0b;
    border-radius: 12px;
    padding: 20px;
}

.case-item h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: #92400e;
}

.case-item h4 i {
    color: #d97706;
}

.case-item p {
    margin: 0;
    color: #92400e;
    font-size: 14px;
    line-height: 1.5;
}

/* Contact Options */
.contact-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.contact-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    border: 2px solid #e5e7eb;
    transition: all 0.3s ease;
}

.contact-card:hover {
    border-color: #667eea;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
}

.contact-card i {
    font-size: 32px;
    color: #667eea;
    margin-bottom: 15px;
}

.contact-card h4 {
    margin: 0 0 10px 0;
    color: #1f2937;
    font-size: 18px;
}

.contact-card p {
    margin: 0 0 5px 0;
    color: #4b5563;
    font-weight: 500;
}

.contact-card span {
    font-size: 14px;
    color: #6b7280;
}

/* Important Note Box */
.important-note {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border: 2px solid rgba(102, 126, 234, 0.3);
    border-radius: 16px;
}

.important-note h2 {
    color: #667eea;
}

/* Disclaimer and Liability Boxes */
.disclaimer-box, .liability-box {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
}

.disclaimer-box p, .liability-box p {
    color: #7f1d1d;
    margin-bottom: 10px;
}

.disclaimer-box ul, .liability-box ul {
    color: #7f1d1d;
}

/* Privacy Policy Specific */
.cookie-types, .rights-grid, .definitions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.cookie-type, .right-item, .definition-item {
    background: #f8fafc;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.cookie-type:hover, .right-item:hover, .definition-item:hover {
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.15);
}

.cookie-type h4, .right-item h4, .definition-item h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: #1f2937;
    font-size: 16px;
}

.cookie-type h4 i, .right-item i {
    color: #667eea;
    font-size: 18px;
}

.cookie-type p, .right-item p, .definition-item p {
    margin: 0;
    color: #4b5563;
    font-size: 14px;
    line-height: 1.5;
}

.cookie-control {
    background: #f0f9ff;
    border: 1px solid #0ea5e9;
    border-radius: 8px;
    padding: 15px;
    margin-top: 20px;
}

.cookie-control p {
    margin: 0;
    color: #0c4a6e;
}

/* Retention Timeline */
.retention-timeline {
    display: grid;
    gap: 15px;
    margin: 25px 0;
}

.retention-item {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 20px;
    background: #f8fafc;
    border-radius: 8px;
    padding: 15px 20px;
    border: 1px solid #e5e7eb;
    align-items: center;
}

.retention-period {
    font-weight: 600;
    color: #1f2937;
}

.retention-duration {
    color: #4b5563;
    font-size: 14px;
}

/* Terms of Service Specific */
.account-requirements {
    margin: 25px 0;
}

.order-process {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.pricing-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 25px 0;
}

.pricing-card {
    background: #f8fafc;
    border-radius: 12px;
    padding: 25px;
    border: 1px solid #e5e7eb;
}

.pricing-card h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: #1f2937;
}

.pricing-card h4 i {
    color: #667eea;
    font-size: 20px;
}

.prohibited-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.prohibited-item {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
}

.prohibited-item i {
    font-size: 24px;
    color: #ef4444;
    margin-bottom: 15px;
}

.prohibited-item h4 {
    color: #7f1d1d;
    margin-bottom: 10px;
}

.prohibited-item p {
    margin: 0;
    color: #7f1d1d;
    font-size: 14px;
}

.general-provisions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.provision-item {
    background: #f8fafc;
    border-radius: 8px;
    padding: 20px;
    border: 1px solid #e5e7eb;
}

.provision-item h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: #1f2937;
}

.provision-item h4 i {
    color: #667eea;
}

.provision-item p {
    margin: 0;
    color: #4b5563;
    font-size: 14px;
}

.sharing-scenarios {
    margin: 25px 0;
}

.scenario {
    margin-bottom: 30px;
    background: #f8fafc;
    border-radius: 12px;
    padding: 25px;
    border: 1px solid #e5e7eb;
}

.scenario h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: #1f2937;
}

.scenario h4 i {
    color: #667eea;
}

.no-sharing-note {
    background: #ecfdf5;
    border: 1px solid #10b981;
    border-radius: 8px;
    padding: 15px;
    margin-top: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.no-sharing-note i {
    color: #059669;
    font-size: 18px;
}

.no-sharing-note strong {
    color: #064e3b;
}

/* Mobile Responsive for Policy Pages */
@media (max-width: 768px) {
    .policy-content {
        padding: 30px 0 50px 0;
    }
    
    .policy-header h1 {
        font-size: 32px;
    }
    
    .policy-section {
        padding: 25px 20px;
        margin-bottom: 20px;
    }
    
    .policy-section h2 {
        font-size: 24px;
    }
    
    .delivery-timeline, .return-timeline {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .conditions-grid, .usage-grid, .security-measures {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .step, .process-step {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .shipping-info, .special-cases, .contact-options {
        grid-template-columns: 1fr;
    }
    
    .shipping-charges-table {
        font-size: 14px;
    }
    
    .shipping-charges-table th,
    .shipping-charges-table td {
        padding: 10px 8px;
    }
    
    .retention-item {
        grid-template-columns: 1fr;
        gap: 10px;
        text-align: center;
    }
    
    .order-process, .pricing-info {
        grid-template-columns: 1fr;
    }
    
    .prohibited-grid, .general-provisions {
        grid-template-columns: 1fr;
    }
    
    .cookie-types, .rights-grid, .definitions-grid {
        grid-template-columns: 1fr;
    }
}

/* About Us Page Styles */
.about-hero {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    padding: 80px 0 60px 0;
}

.about-hero .hero-content {
    text-align: center;
}

.about-hero .hero-title {
    font-size: 48px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-hero .hero-subtitle {
    font-size: 20px;
    color: #6b7280;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
    background: white;
    padding: 30px 20px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 16px;
    color: #6b7280;
    font-weight: 500;
}

/* Our Story Section */
.our-story {
    padding: 80px 0;
    background: white;
}

.story-content {
    display: grid;
    grid-template-columns: 1fr 500px;
    gap: 60px;
    align-items: center;
}

.story-text h2 {
    font-size: 32px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.story-text h2 i {
    color: #667eea;
    font-size: 28px;
}

.story-text .lead {
    font-size: 20px;
    line-height: 1.6;
    color: #4b5563;
    margin-bottom: 25px;
    font-weight: 500;
}

.story-text p {
    font-size: 16px;
    line-height: 1.7;
    color: #6b7280;
    margin-bottom: 20px;
}

.story-image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.story-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.story-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(102, 126, 234, 0.9);
    color: white;
    padding: 20px 30px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.story-overlay:hover {
    background: rgba(118, 75, 162, 0.9);
    transform: translate(-50%, -50%) scale(1.05);
}

.story-overlay i {
    font-size: 24px;
}

/* Mission & Vision Section */
.mission-vision {
    padding: 80px 0;
    background: #f9fafb;
}

.mv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 40px;
}

.mv-card {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.mv-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    margin-bottom: 20px;
}

.mv-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 15px;
}

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

.mv-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mv-card li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 14px;
    color: #4b5563;
}

.mv-card li i {
    color: #10b981;
    font-size: 16px;
    width: 20px;
    flex-shrink: 0;
}

/* Values Section */
.values-section {
    padding: 80px 0;
    background: white;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.value-card {
    background: white;
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    border: 2px solid #e5e7eb;
    transition: all 0.3s ease;
}

.value-card:hover {
    border-color: #667eea;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.15);
}

.value-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    margin: 0 auto 20px auto;
}

.value-card h4 {
    font-size: 20px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 15px;
}

.value-card p {
    font-size: 14px;
    line-height: 1.6;
    color: #6b7280;
    margin: 0;
}

/* Team Section - Removed */
/*
.team-section {
    padding: 80px 0;
    background: #f9fafb;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.team-member {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.member-image {
    position: relative;
    overflow: hidden;
}

.member-image img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.member-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.9) 0%, rgba(118, 75, 162, 0.9) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.member-image:hover .member-overlay {
    opacity: 1;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.member-info {
    padding: 25px;
    text-align: center;
}

.member-info h4 {
    font-size: 20px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 8px;
}

.member-role {
    font-size: 14px;
    color: #667eea;
    font-weight: 500;
    margin-bottom: 15px;
}

.member-bio {
    font-size: 14px;
    line-height: 1.6;
    color: #6b7280;
    margin: 0;
}
*/

/* Awards Section - Removed */
/*
.awards-section {
    padding: 80px 0;
    background: white;
}

.awards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.award-card {
    background: white;
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    border: 2px solid #e5e7eb;
    transition: all 0.3s ease;
}

.award-card:hover {
    border-color: #f59e0b;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.15);
}

.award-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    margin: 0 auto 20px auto;
}

.award-card h4 {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 10px;
}

.award-org {
    font-size: 14px;
    color: #f59e0b;
    font-weight: 500;
    margin-bottom: 15px;
}

.award-desc {
    font-size: 14px;
    line-height: 1.5;
    color: #6b7280;
    margin: 0;
}
*/

/* Impact Section */
.impact-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.impact-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.impact-item {
    text-align: center;
}

.impact-number {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 10px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 15px;
}

.impact-label {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.impact-desc {
    font-size: 14px;
    opacity: 0.8;
}

/* Contact CTA */
.contact-cta {
    padding: 80px 0;
    background: #f9fafb;
}

.cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 36px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 18px;
    color: #6b7280;
    margin-bottom: 30px;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 30px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: 2px solid transparent;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.btn-secondary {
    background: white;
    color: #667eea;
    border: 2px solid #667eea;
}

.btn-secondary:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

/* Worldwide Shipping Page Styles */
.shipping-hero {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(5, 150, 105, 0.1) 100%);
    padding: 80px 0 60px 0;
}

.shipping-hero .hero-content {
    text-align: center;
}

.shipping-hero h1 {
    font-size: 48px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.shipping-hero h1 i {
    color: #10b981;
    font-size: 42px;
}

.shipping-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.stat-card {
    background: white;
    padding: 25px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    margin: 0 auto 15px auto;
}

.stat-card .stat-number {
    font-size: 28px;
    font-weight: 700;
    color: #10b981;
    margin-bottom: 8px;
}

/* Global Coverage */
.global-coverage {
    padding: 80px 0;
    background: white;
}

.coverage-content {
    display: grid;
    grid-template-columns: 1fr 500px;
    gap: 60px;
    align-items: center;
}

.coverage-text h2 {
    font-size: 32px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.coverage-text h2 i {
    color: #10b981;
    font-size: 28px;
}

.coverage-features {
    margin-top: 30px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.feature-item i {
    color: #10b981;
    font-size: 20px;
    width: 25px;
    flex-shrink: 0;
    margin-top: 3px;
}

.feature-item h4 {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 5px 0;
}

.feature-item p {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
}

.coverage-image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
}

.world-map img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 16px;
}

.map-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 20px;
}

.region-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.region-stat {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: #4b5563;
}

.region-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.region-dot.asia { background: #ef4444; }
.region-dot.europe { background: #3b82f6; }
.region-dot.americas { background: #10b981; }
.region-dot.others { background: #f59e0b; }

/* Shipping Zones */
.shipping-zones {
    padding: 80px 0;
    background: #f9fafb;
}

.zones-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.zone-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.zone-header {
    padding: 25px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.zone-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin: 0 auto 15px auto;
}

.zone-header h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}

.zone-timeline {
    font-size: 16px;
    opacity: 0.9;
    font-weight: 500;
}

.zone-countries {
    padding: 25px;
    border-bottom: 1px solid #e5e7eb;
}

.zone-countries h4 {
    font-size: 14px;
    font-weight: 600;
    color: #4b5563;
    margin-bottom: 15px;
}

.country-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.country-tag {
    background: #f3f4f6;
    color: #4b5563;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.zone-pricing {
    padding: 25px;
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-size: 14px;
}

.price-item.highlight {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(5, 150, 105, 0.1) 100%);
    padding: 8px 15px;
    border-radius: 8px;
    margin: 0 -15px 10px -15px;
}

.price-item strong {
    color: #10b981;
    font-weight: 700;
}

/* Shipping Partners */
.shipping-partners {
    padding: 80px 0;
    background: white;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.partner-card {
    background: white;
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    border: 2px solid #e5e7eb;
    transition: all 0.3s ease;
}

.partner-card:hover {
    border-color: #667eea;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
}

.partner-logo {
    margin-bottom: 20px;
}

.partner-logo i {
    font-size: 36px;
    color: #667eea;
    margin-bottom: 10px;
}

.partner-logo h4 {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
}

.partner-card p {
    font-size: 14px;
    line-height: 1.5;
    color: #6b7280;
    margin: 0 0 20px 0;
}

.partner-features {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
}

.feature-tag {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    color: #667eea;
    padding: 4px 8px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 500;
}

/* Contact Us Page Styles */
.contact-hero {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(99, 102, 241, 0.1) 100%);
    padding: 80px 0 60px 0;
}

.contact-hero .hero-content {
    text-align: center;
}

.contact-hero h1 {
    font-size: 48px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.contact-hero h1 i {
    color: #8b5cf6;
    font-size: 42px;
}

.contact-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.contact-stats .stat-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: white;
    padding: 15px 25px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.contact-stats .stat-item i {
    color: #8b5cf6;
    font-size: 18px;
}

.contact-stats .stat-item span {
    font-size: 14px;
    font-weight: 500;
    color: #4b5563;
}

/* Contact Form Section */
.contact-form-section {
    padding: 80px 0;
    background: white;
}

.contact-layout {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 60px;
}

.contact-info {
    background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
    color: white;
    padding: 40px;
    border-radius: 20px;
    height: fit-content;
}

.contact-info h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.contact-info h2 i {
    font-size: 24px;
}

.contact-info p {
    font-size: 16px;
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 30px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 15px;
}

.method-icon {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.method-info h4 {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 5px 0;
}

.method-info p {
    font-size: 14px;
    margin: 0 0 3px 0;
    opacity: 1;
    font-weight: 500;
}

.method-info span {
    font-size: 12px;
    opacity: 0.8;
}

.contact-form {
    background: #f9fafb;
    padding: 40px;
    border-radius: 20px;
    border: 1px solid #e5e7eb;
}

.form-header {
    text-align: center;
    margin-bottom: 30px;
}

.form-header h3 {
    font-size: 24px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.form-header h3 i {
    color: #8b5cf6;
    font-size: 20px;
}

.form-header p {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
}

.contact-form-element {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-group label i {
    color: #8b5cf6;
    font-size: 16px;
    width: 16px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 15px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #8b5cf6;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    flex-direction: row;
}

.checkbox-group input {
    margin: 0;
    width: auto;
}

.checkbox-label {
    font-size: 13px;
    line-height: 1.4;
    color: #4b5563;
    cursor: pointer;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.checkbox-label i {
    color: #8b5cf6;
    font-size: 14px;
    margin-top: 2px;
    flex-shrink: 0;
}

.submit-btn {
    background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3);
}

.submit-btn.loading {
    pointer-events: none;
}

.submit-btn.loading span {
    opacity: 0;
}

.btn-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.submit-btn.loading .btn-loading {
    opacity: 1;
}

.form-status {
    margin-top: 20px;
}

.status-success,
.status-error {
    padding: 15px;
    border-radius: 8px;
    font-size: 14px;
    display: none;
    align-items: center;
    gap: 10px;
}

.status-success {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #10b981;
}

.status-error {
    background: #fef2f2;
    color: #7f1d1d;
    border: 1px solid #ef4444;
}

/* Reviews Page Styles */
.reviews-hero {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(217, 119, 6, 0.1) 100%);
    padding: 80px 0 60px 0;
}

.reviews-hero .hero-content {
    text-align: center;
}

.reviews-hero h1 {
    font-size: 48px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.reviews-hero h1 i {
    color: #f59e0b;
    font-size: 42px;
}

.review-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.review-stats .stat-card {
    background: white;
    padding: 25px;
    border-radius: 16px;
    text-align: center;
}

.review-stats .stat-number {
    font-size: 36px;
    font-weight: 700;
    color: #f59e0b;
    margin-bottom: 10px;
}

.stat-stars {
    display: flex;
    justify-content: center;
    gap: 3px;
    margin-bottom: 10px;
}

.stat-stars i {
    color: #fbbf24;
    font-size: 20px;
}

.stat-icon {
    font-size: 24px;
    color: #f59e0b;
    margin-bottom: 10px;
}

/* Rating Breakdown */
.rating-breakdown {
    padding: 60px 0;
    background: white;
}

.breakdown-stats {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 50px;
    margin-top: 30px;
}

.rating-bars {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.rating-bar {
    display: flex;
    align-items: center;
    gap: 15px;
}

.rating-label {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 120px;
}

.rating-label span {
    font-size: 14px;
    font-weight: 500;
    color: #4b5563;
}

.rating-label .stars {
    display: flex;
    gap: 2px;
}

.rating-label .stars i {
    font-size: 12px;
    color: #fbbf24;
}

.rating-progress {
    flex: 1;
    height: 8px;
    background: #f3f4f6;
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    border-radius: 4px;
}

.rating-count {
    font-size: 14px;
    font-weight: 600;
    color: #f59e0b;
    min-width: 40px;
    text-align: right;
}

.aspect-ratings {
    background: #f9fafb;
    padding: 25px;
    border-radius: 12px;
}

.aspect-ratings h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 20px;
}

.aspect-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.aspect-name {
    font-size: 14px;
    color: #4b5563;
}

.aspect-stars {
    display: flex;
    gap: 2px;
    margin: 0 10px;
}

.aspect-stars i {
    font-size: 14px;
    color: #fbbf24;
}

.aspect-score {
    font-size: 14px;
    font-weight: 600;
    color: #f59e0b;
}

/* Review Filters */
.review-filters {
    padding: 40px 0;
    background: #f9fafb;
}

.filter-controls {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.filter-group label {
    font-size: 14px;
    font-weight: 500;
    color: #374151;
}

.filter-group select {
    padding: 8px 12px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    background: white;
    font-size: 14px;
    min-width: 150px;
}

/* Featured Reviews */
.featured-reviews {
    padding: 60px 0;
    background: white;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.featured-review {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
}

.review-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    padding: 5px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.review-badge.educator {
    background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
}

.review-badge i {
    font-size: 10px;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.reviewer-info img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.reviewer-details h4 {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 3px 0;
}

.reviewer-type {
    font-size: 12px;
    color: #6b7280;
    font-weight: 500;
}

.review-rating {
    display: flex;
    align-items: center;
    gap: 8px;
}

.review-rating .stars {
    display: flex;
    gap: 2px;
}

.review-rating .stars i {
    font-size: 14px;
    color: #fbbf24;
}

.rating-text {
    font-size: 14px;
    font-weight: 600;
    color: #f59e0b;
}

.review-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 10px;
}

.review-content p {
    font-size: 14px;
    line-height: 1.6;
    color: #4b5563;
    margin-bottom: 15px;
}

.review-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 20px;
}

.tag {
    background: #f3f4f6;
    color: #4b5563;
    padding: 3px 8px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 500;
}

.review-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #e5e7eb;
}

.review-date {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: #6b7280;
}

.helpful-btn {
    background: none;
    border: 1px solid #e5e7eb;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12px;
    color: #4b5563;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.helpful-btn:hover {
    border-color: #f59e0b;
    color: #f59e0b;
}

.helpful-btn.marked {
    background: #f59e0b;
    color: white;
    border-color: #f59e0b;
}

/* All Reviews */
.all-reviews {
    padding: 60px 0;
    background: #f9fafb;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.review-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.verified-badge {
    color: #10b981;
    font-size: 14px;
    margin-left: 5px;
}

.review-card .stars i.inactive {
    color: #e5e7eb;
}

/* Load More */
.load-more-container {
    text-align: center;
    margin-top: 40px;
}

.load-more-btn {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.load-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.3);
}

/* Write Review */
.write-review-section {
    padding: 60px 0;
    background: white;
}

.write-review-content {
    max-width: 800px;
    margin: 0 auto;
}

.write-review-form {
    background: #f9fafb;
    padding: 30px;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    margin-top: 30px;
}

.star-rating {
    display: flex;
    gap: 5px;
    margin-top: 5px;
}

.star-rating i {
    font-size: 24px;
    color: #e5e7eb;
    cursor: pointer;
    transition: color 0.2s ease;
}

.star-rating i:hover,
.star-rating i.active {
    color: #fbbf24;
}

.submit-review-btn {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.submit-review-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.3);
}

/* Review Guidelines */
.review-guidelines {
    padding: 60px 0;
    background: #f9fafb;
}

.guidelines-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.guideline-item {
    background: white;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    border: 2px solid #e5e7eb;
    transition: all 0.3s ease;
}

.guideline-item:hover {
    border-color: #f59e0b;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.1);
}

.guideline-item i {
    font-size: 32px;
    color: #f59e0b;
    margin-bottom: 15px;
}

.guideline-item h4 {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 10px;
}

.guideline-item p {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
}

/* Mobile Responsive for New Pages */
@media (max-width: 768px) {
    /* About Us Mobile */
    .about-hero .hero-title {
        font-size: 32px;
    }
    
    .story-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .mv-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* .team-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    } */
    
    /* .awards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    } */
    
    .impact-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    /* Worldwide Shipping Mobile */
    .shipping-hero h1 {
        font-size: 32px;
        flex-direction: column;
        gap: 10px;
    }
    
    .coverage-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .zones-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .partners-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .shipping-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    /* Contact Us Mobile */
    .contact-hero h1 {
        font-size: 32px;
        flex-direction: column;
        gap: 10px;
    }
    
    .contact-stats {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    /* Reviews Mobile */
    .reviews-hero h1 {
        font-size: 32px;
        flex-direction: column;
        gap: 10px;
    }
    
    .breakdown-stats {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .filter-controls {
        flex-direction: column;
        gap: 15px;
    }
    
    .featured-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .guidelines-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .review-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

/* STEM Loading Animations */
.stem-loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    min-height: 500px;
    position: relative;
    overflow: hidden;
}

.stem-loading-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(102, 126, 234, 0.05) 50%, transparent 70%);
    animation: shimmerBackground 3s ease-in-out infinite;
    pointer-events: none;
}

@keyframes shimmerBackground {
    0%, 100% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    50% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.loading-title {
    text-align: center;
    margin-bottom: 40px;
    z-index: 2;
}

.loading-title h3 {
    font-size: 28px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titlePulse 2s ease-in-out infinite;
}

.loading-title p {
    font-size: 16px;
    color: #6b7280;
    margin: 0;
    animation: subtitleFade 2s ease-in-out infinite alternate;
}

@keyframes titlePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes subtitleFade {
    0% { opacity: 0.7; }
    100% { opacity: 1; }
}

.stem-animations {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    width: 100%;
    max-width: 800px;
    margin-bottom: 40px;
    z-index: 2;
}

/* Rotating Gears */
.gear-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 120px;
}

.gear {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #667eea;
    border-radius: 50%;
    background: rgba(102, 126, 234, 0.1);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
}

.gear-large {
    width: 80px;
    height: 80px;
    animation: rotateClockwise 3s linear infinite;
    z-index: 1;
}

.gear-large i {
    font-size: 60px;
}

.gear-medium {
    width: 50px;
    height: 50px;
    top: 10px;
    right: -10px;
    animation: rotateCounterClockwise 2s linear infinite;
    z-index: 2;
}

.gear-medium i {
    font-size: 35px;
}

.gear-small {
    width: 30px;
    height: 30px;
    bottom: 5px;
    left: -5px;
    animation: rotateClockwise 1.5s linear infinite;
    z-index: 2;
}

.gear-small i {
    font-size: 20px;
}

@keyframes rotateClockwise {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes rotateCounterClockwise {
    from { transform: rotate(360deg); }
    to { transform: rotate(0deg); }
}

/* Bouncing Atoms */
.atoms-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    height: 120px;
}

.atom {
    position: relative;
    width: 60px;
    height: 60px;
    animation: atomBounce 2s ease-in-out infinite;
}

.atom-1 {
    animation-delay: 0s;
}

.atom-2 {
    animation-delay: 0.5s;
}

.nucleus {
    width: 16px;
    height: 16px;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.5);
    animation: nucleusPulse 1.5s ease-in-out infinite;
}

.electron-orbit {
    position: absolute;
    border: 2px solid rgba(102, 126, 234, 0.3);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.orbit-1 {
    width: 50px;
    height: 50px;
    animation: orbitRotate1 2s linear infinite;
}

.orbit-2 {
    width: 40px;
    height: 40px;
    animation: orbitRotate2 1.5s linear infinite reverse;
}

.electron {
    width: 6px;
    height: 6px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    position: absolute;
    top: -3px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 8px rgba(102, 126, 234, 0.6);
}

@keyframes atomBounce {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes nucleusPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.2); }
}

@keyframes orbitRotate1 {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes orbitRotate2 {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Circuit Board Lines */
.circuit-container {
    position: relative;
    width: 100px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.circuit-line {
    position: absolute;
    background: linear-gradient(90deg, transparent 0%, #10b981 50%, transparent 100%);
    border-radius: 2px;
}

.line-1 {
    width: 60px;
    height: 3px;
    top: 20px;
    left: 20px;
    animation: electricCurrent1 2s ease-in-out infinite;
}

.line-2 {
    width: 3px;
    height: 40px;
    top: 20px;
    left: 48px;
    background: linear-gradient(0deg, transparent 0%, #10b981 50%, transparent 100%);
    animation: electricCurrent2 2s ease-in-out infinite 0.5s;
}

.line-3 {
    width: 50px;
    height: 3px;
    bottom: 20px;
    right: 15px;
    animation: electricCurrent3 2s ease-in-out infinite 1s;
}

.circuit-node {
    position: absolute;
    width: 10px;
    height: 10px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.6);
    animation: nodePulse 2s ease-in-out infinite;
}

.node-1 {
    top: 17px;
    left: 45px;
    animation-delay: 0s;
}

.node-2 {
    top: 45px;
    left: 45px;
    animation-delay: 0.5s;
}

.node-3 {
    bottom: 17px;
    right: 37px;
    animation-delay: 1s;
}

@keyframes electricCurrent1 {
    0%, 100% { opacity: 0.3; transform: scaleX(1); }
    50% { opacity: 1; transform: scaleX(1.1); }
}

@keyframes electricCurrent2 {
    0%, 100% { opacity: 0.3; transform: scaleY(1); }
    50% { opacity: 1; transform: scaleY(1.1); }
}

@keyframes electricCurrent3 {
    0%, 100% { opacity: 0.3; transform: scaleX(1); }
    50% { opacity: 1; transform: scaleX(1.1); }
}

@keyframes nodePulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 10px rgba(16, 185, 129, 0.6); }
    50% { transform: scale(1.3); box-shadow: 0 0 20px rgba(16, 185, 129, 0.8); }
}

/* DNA Helix */
.dna-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 120px;
}

.dna-helix {
    position: relative;
    width: 60px;
    height: 100px;
    animation: dnaRotate 4s linear infinite;
}

.dna-strand {
    position: absolute;
    width: 4px;
    height: 100%;
    border-radius: 2px;
    background: linear-gradient(0deg, #8b5cf6 0%, #6366f1 50%, #8b5cf6 100%);
}

.strand-1 {
    left: 10px;
    animation: strandWave1 2s ease-in-out infinite;
}

.strand-2 {
    right: 10px;
    animation: strandWave2 2s ease-in-out infinite;
}

.dna-helix::before {
    content: '';
    position: absolute;
    top: 25%;
    left: 14px;
    right: 14px;
    height: 2px;
    background: rgba(139, 92, 246, 0.6);
    animation: basePairPulse 2s ease-in-out infinite;
}

.dna-helix::after {
    content: '';
    position: absolute;
    top: 75%;
    left: 14px;
    right: 14px;
    height: 2px;
    background: rgba(99, 102, 241, 0.6);
    animation: basePairPulse 2s ease-in-out infinite 1s;
}

@keyframes dnaRotate {
    from { transform: rotateY(0deg); }
    to { transform: rotateY(360deg); }
}

@keyframes strandWave1 {
    0%, 100% { transform: translateX(0px) scaleX(1); }
    50% { transform: translateX(3px) scaleX(1.1); }
}

@keyframes strandWave2 {
    0%, 100% { transform: translateX(0px) scaleX(1); }
    50% { transform: translateX(-3px) scaleX(1.1); }
}

@keyframes basePairPulse {
    0%, 100% { opacity: 0.6; transform: scaleX(1); }
    50% { opacity: 1; transform: scaleX(1.2); }
}

/* Mathematical Equations */
.equations-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 120px;
    gap: 8px;
}

.equation {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    padding: 6px 12px;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(102, 126, 234, 0.2);
    opacity: 0;
    transform: translateY(20px);
    animation: equationAppear 3s ease-in-out infinite;
}

.eq-1 {
    animation-delay: 0s;
    font-family: 'Times New Roman', serif;
}

.eq-2 {
    animation-delay: 0.5s;
    font-family: 'Courier New', monospace;
}

.eq-3 {
    animation-delay: 1s;
    font-family: 'Times New Roman', serif;
}

.eq-4 {
    animation-delay: 1.5s;
    font-family: 'Courier New', monospace;
}

@keyframes equationAppear {
    0%, 80% { opacity: 0; transform: translateY(20px); }
    10%, 70% { opacity: 1; transform: translateY(0px); }
    100% { opacity: 0; transform: translateY(-20px); }
}

/* Building Blocks */
.blocks-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    justify-content: center;
    align-items: center;
    height: 120px;
    padding: 20px;
}

.building-block {
    width: 35px;
    height: 25px;
    border-radius: 6px;
    position: relative;
    animation: blockStack 3s ease-in-out infinite;
}

.block-1 {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    animation-delay: 0s;
}

.block-2 {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    animation-delay: 0.5s;
}

.block-3 {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    animation-delay: 1s;
}

.block-4 {
    background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
    animation-delay: 1.5s;
}

.building-block::before {
    content: '';
    position: absolute;
    top: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
}

.building-block::after {
    content: '';
    position: absolute;
    top: -3px;
    left: 30%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
}

@keyframes blockStack {
    0%, 70% { transform: translateY(0px) scale(1); }
    35% { transform: translateY(-10px) scale(1.1); }
    100% { transform: translateY(0px) scale(1); }
}

/* Progress Indicators */
.progress-container {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 20px 0;
    z-index: 2;
}

.progress-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(102, 126, 234, 0.3);
    animation: progressPulse 2s ease-in-out infinite;
}

.dot-1 { animation-delay: 0s; }
.dot-2 { animation-delay: 0.2s; }
.dot-3 { animation-delay: 0.4s; }
.dot-4 { animation-delay: 0.6s; }
.dot-5 { animation-delay: 0.8s; }

@keyframes progressPulse {
    0%, 60% { 
        background: rgba(102, 126, 234, 0.3);
        transform: scale(1);
        box-shadow: 0 0 0 rgba(102, 126, 234, 0);
    }
    20% { 
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        transform: scale(1.3);
        box-shadow: 0 0 20px rgba(102, 126, 234, 0.6);
    }
}

/* Loading Stats */
.loading-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    width: 100%;
    max-width: 400px;
    z-index: 2;
}

.loading-stats .stat-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    animation: statItemFloat 3s ease-in-out infinite;
}

.loading-stats .stat-item:nth-child(1) { animation-delay: 0s; }
.loading-stats .stat-item:nth-child(2) { animation-delay: 0.5s; }
.loading-stats .stat-item:nth-child(3) { animation-delay: 1s; }
.loading-stats .stat-item:nth-child(4) { animation-delay: 1.5s; }

.loading-stats .stat-item i {
    font-size: 18px;
    color: #667eea;
    animation: iconSpin 3s linear infinite;
}

.loading-stats .stat-item span {
    font-size: 13px;
    font-weight: 500;
    color: #4b5563;
}

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

@keyframes iconSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Hide loading animation when categories are loaded */
.categories-loaded .stem-loading-container {
    display: none;
}

/* Categories Grid Smooth Transitions */
.categories-grid {
    transition: opacity 0.5s ease-in-out;
}

/* Make sure loading animation spans full width */
.stem-loading-container {
    grid-column: 1 / -1; /* Span all columns */
    width: 100%;
    margin: 0 auto;
}

/* Mobile Responsive for STEM Loading */
@media (max-width: 768px) {
    .stem-loading-container {
        padding: 60px 15px;
        min-height: 400px;
    }
    
    .loading-title h3 {
        font-size: 24px;
    }
    
    .stem-animations {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .loading-stats {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .gear-container,
    .atoms-container,
    .circuit-container,
    .dna-container,
    .equations-container,
    .blocks-container {
        height: 100px;
    }
}

@media (max-width: 480px) {
    .stem-animations {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .gear-container,
    .atoms-container,
    .circuit-container,
    .dna-container,
    .equations-container,
    .blocks-container {
        height: 80px;
    }
}
