/* Reset และ Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Sarabun', 'Prompt', 'Segoe UI', Arial, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
    padding-top: 80px; /* เพิ่มพื้นที่สำหรับ navbar */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    scroll-behavior: smooth;
}

/* Performance Optimizations */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Sarabun', 'Prompt', 'Segoe UI', Arial, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
    padding-top: 80px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Optimize images */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Simplified Background */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(45deg, #667eea, #764ba2);
}

/* Navbar Enhancement */
.navbar {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    height: 80px; /* กำหนดความสูง navbar */
    padding: 0.5rem 0;
    z-index: 1000;
}

.navbar-brand {
    font-weight: 700;
    color: #667eea !important;
    display: flex;
    align-items: center;
}

.navbar-brand img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    margin-right: 0.75rem;
    border-radius: 8px;
}

.nav-link {
    color: #333 !important;
    font-weight: 500;
    transition: color 0.2s ease;
    position: relative;
}

.nav-link:hover {
    color: #667eea !important;
}

/* Zone Styles */
.zone {
    margin-bottom: 0;
    padding: 2rem 1rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.zone-foam {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(255, 255, 255, 0.95));
    padding: 1rem 1rem;
    min-height: 60vh;
    max-height: 65vh;
    display: flex;
    align-items: center;
}

.zone-donate {
    background: linear-gradient(135deg, rgba(118, 75, 162, 0.1), rgba(255, 255, 255, 0.95));
}

.zone-step {
    background: linear-gradient(135deg, rgba(245, 87, 108, 0.1), rgba(255, 255, 255, 0.95));
}

.zone-news {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05), rgba(255, 255, 255, 0.95));
}

.zone-contact {
    background: linear-gradient(135deg, #3a338d 0%, #667eea 100%) !important;
    color: white;
    padding: 4rem 1rem;
}

.zone-contact .fa-location-dot,
.zone-contact .fa-map-marker-alt,
.zone-contact .fa-phone,
.zone-contact .fa-envelope {
    color: #fff;
}

.zone-contact div,
.zone-contact span,
.zone-contact a {
    color: #fff !important;
}

.zone-contact a {
    text-decoration: underline;
}

.zone-contact a:hover {
    color: #e0e7ff !important;
}

/* Counter */
.count {
    font-size: 3rem;
    font-weight: 800;
    color: #667eea;
    margin: 1rem 0;
}

/* Button Enhancement */
.btn-success, .btn-primary {
    background: linear-gradient(45deg, #667eea, #764ba2);
    border: none;
    border-radius: 50px;
    padding: 1rem 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: transform 0.2s ease;
    font-size: 1rem;
}

.btn-success:hover, .btn-primary:hover {
    transform: translateY(-2px);
}

/* Enhanced Button Styling */
.btn {
    border: none;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px !important;
}

.btn-gradient-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: 2px solid transparent;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.btn-gradient-primary:hover {
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.4);
    color: white;
}

.btn-gradient-secondary {
    background: linear-gradient(135deg, rgba(108, 117, 125, 0.1) 0%, rgba(108, 117, 125, 0.05) 100%);
    color: #6c757d;
    border: 2px solid #6c757d;
    box-shadow: 0 8px 25px rgba(108, 117, 125, 0.15);
}

.btn-gradient-secondary:hover {
    background: linear-gradient(135deg, #6c757d 0%, #5a6268 100%);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(108, 117, 125, 0.3);
}

.btn-lg {
    font-size: 1.1rem;
    padding: 1rem 2.5rem;
    min-height: 60px;
    font-weight: 600;
}

/* Button Animation Effects */
.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn:active {
    transform: translateY(-1px);
}

/* Icon animations */
.btn .fas {
    transition: all 0.3s ease;
}

.btn:hover .fa-arrow-right {
    transform: translateX(5px);
}

.btn:hover .fa-shopping-cart {
    animation: bounce 0.6s ease;
}

.btn:hover .fa-chart-line {
    animation: pulse 0.8s ease;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-5px);
    }
    60% {
        transform: translateY(-3px);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* Gallery */
.gallery-img-wrap {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
    background: #fff;
    margin-bottom: 1rem;
}

.gallery-img-wrap:hover {
    transform: translateY(-5px);
}

.gallery-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.gallery-img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(102, 126, 234, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.gallery-img-wrap:hover .gallery-img-overlay {
    opacity: 1;
}

/* Gallery Effects - Fixed */
.gallery-card {
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
}

.gallery-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
}

.gallery-img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.9), rgba(118, 75, 162, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(5px);
    transform: scale(1.1);
}

.gallery-card:hover .gallery-overlay {
    opacity: 1;
    transform: scale(1);
}

.gallery-card:hover .gallery-img {
    transform: scale(1.1);
}

.gallery-overlay .text-center {
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.gallery-card:hover .gallery-overlay .text-center {
    transform: translateY(0);
}

.gallery-overlay i {
    margin-bottom: 1rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Stats Cards Effects */
.stats-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.stats-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05), rgba(118, 75, 162, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stats-card:hover::before {
    opacity: 1;
}

.stats-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.stats-icon {
    transition: transform 0.3s ease;
}

.stats-card:hover .stats-icon {
    transform: scale(1.1) rotate(5deg);
}

/* Process Cards Effects */
.process-card {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.process-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05), rgba(118, 75, 162, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.process-card:hover::after {
    opacity: 1;
}

.process-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.step-img {
    transition: transform 0.4s ease;
}

.process-card:hover .step-img {
    transform: scale(1.05);
}

.step-number-badge .badge {
    transition: all 0.3s ease;
}

.process-card:hover .step-number-badge .badge {
    transform: scale(1.2) rotate(10deg);
}

/* Mobile Optimization */
@media (max-width: 768px) {
    .gallery-card:hover {
        transform: none;
    }
    
    .gallery-overlay {
        display: none;
    }
    
    .stats-card:hover,
    .process-card:hover {
        transform: translateY(-3px);
    }
    
    .btn-gradient-primary:hover,
    .btn-gradient-secondary:hover {
        transform: translateY(-1px);
    }
}

/* Performance Optimization */
.gallery-card,
.stats-card,
.process-card,
.btn {
    will-change: transform;
    backface-visibility: hidden;
    transform: translateZ(0);
}

/* Fix any animation conflicts */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Contact section */
.contact {
    padding: 4rem 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.contact h2 {
    position: relative;
    z-index: 2;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.contact p {
    position: relative;
    z-index: 2;
    margin-bottom: 2rem;
}

.contact a {
    color: #667eea;
    font-weight: 600;
    position: relative;
}

.contact a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -2px;
    left: 0;
    background: linear-gradient(135deg, #667eea, #764ba2);
    z-index: 2;
}

/* Footer */
.footer {
    background: #111;
    color: #fff;
    padding: 2rem 1rem;
    text-align: center;
}

.footer a {
    color: #667eea;
    transition: color 0.2s ease;
}

.footer a:hover {
    color: #fff;
}

.footer .social-icons {
    margin-top: 1rem;
}

.footer .social-icons a {
    margin: 0 0.5rem;
    font-size: 1.2rem;
    transition: transform 0.2s ease;
}

.footer .social-icons a:hover {
    transform: translateY(-2px);
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .stats-card {
        border: 2px solid #000;
    }
    
    .btn {
        border: 2px solid;
    }
}

/* Print styles */
@media print {
    .navbar,
    .scroll-indicator,
    .animated-bg {
        display: none !important;
    }
    
    .zone {
        page-break-inside: avoid;
        margin-bottom: 2rem;
    }
}

/* Remove old process number styles that cause overlapping */
.process-number {
    display: none !important;
}

/* New step number badge styles */
.step-number-badge {
    display: inline-block;
    margin-bottom: 1rem;
}

.step-number-badge .badge {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Process card improvements */
.process-card {
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
    overflow: visible;
}

.process-card:hover {
    transform: translateY(-5px);
}

/* Ensure proper spacing in process section */
.step-content {
    padding-top: 1rem;
}

/* Mobile responsive for step badges */
@media (max-width: 767.98px) {
    .step-number-badge .badge {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

/* Clean up any conflicting styles */
.process-card::before,
.process-card::after {
    display: none !important;
}

/* Ensure images don't overlap */
.step-img-wrap {
    position: relative;
    z-index: 1;
}

.step-img {
    border: 2px solid #f8f9fa;
}
    h1, h2, h3, h4, h5, h6 {
        line-height: 1.3;
    }
    
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* Improved sections spacing for mobile */
@media (max-width: 767.98px) {
    .zone {
        padding: 3rem 0;
    }
    
    section {
        padding: 2rem 0 !important;
    }
}

/* Loading states for images */
.img-fluid {
    transition: opacity 0.3s ease;
}

.img-fluid[src=""] {
    opacity: 0;
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .stats-card {
        border: 2px solid #000;
    }
    
    .btn {
        border: 2px solid;
    }
}

/* Print styles */
@media print {
    .navbar,
    .scroll-indicator,
    .animated-bg {
        display: none !important;
    }
    
    .zone {
        page-break-inside: avoid;
        margin-bottom: 2rem;
    }
}
        page-break-inside: avoid;
        margin-bottom: 2rem;
    }
}
        margin-bottom: 2rem;
    }
}

/* Remove old process number styles that cause overlapping */
.process-number {
    display: none !important;
}

/* New step number badge styles */
.step-number-badge {
    display: inline-block;
    margin-bottom: 1rem;
}

.step-number-badge .badge {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Process card improvements */
.process-card {
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
    overflow: visible;
}

.process-card:hover {
    transform: translateY(-5px);
}

/* Ensure proper spacing in process section */
.step-content {
    padding-top: 1rem;
}

/* Mobile responsive for step badges */
@media (max-width: 767.98px) {
    .step-number-badge .badge {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

/* Clean up any conflicting styles */
.process-card::before,
.process-card::after {
    display: none !important;
}

/* Ensure images don't overlap */
.step-img-wrap {
    position: relative;
    z-index: 1;
}

.step-img {
    border: 2px solid #f8f9fa;
}
        line-height: 1.3;
    }
    
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* Improved sections spacing for mobile */
@media (max-width: 767.98px) {
    .zone {
        padding: 3rem 0;
    }
    
    section {
        padding: 2rem 0 !important;
    }
}

/* Loading states for images */
.img-fluid {
    transition: opacity 0.3s ease;
}

.img-fluid[src=""] {
    opacity: 0;
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .stats-card {
        border: 2px solid #000;
    }
    
    .btn {
        border: 2px solid;
    }
}

/* Print styles */
@media print {
    .navbar,
    .scroll-indicator,
    .animated-bg {
        display: none !important;
    }
    
    .zone {
        page-break-inside: avoid;
        margin-bottom: 2rem;
    }
}
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* Gallery */
.gallery-img-wrap {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
    background: #fff;
    margin-bottom: 1rem;
}

.gallery-img-wrap:hover {
    transform: translateY(-5px);
}

.gallery-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.gallery-img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(102, 126, 234, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.gallery-img-wrap:hover .gallery-img-overlay {
    opacity: 1;
}

/* Step Enhancement */
.step-img-wrap {
    background: #fff;
    border-radius: 16px;
    padding: 1rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
    margin-bottom: 1rem;
}

.step-img-wrap:hover {
    transform: translateY(-3px);
}

.step-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
}

.step-label {
    margin-top: 1rem;
    padding: 0.8rem 1.5rem;
    background: linear-gradient(45deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    border-radius: 20px;
    font-weight: 600;
    color: #333;
    border: 2px solid rgba(102, 126, 234, 0.2);
    text-align: center;
    font-size: 1rem;
}

/* Contact Zone */
.contact-info-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.map-box {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* Scroll Indicator */
.scroll-indicator {
    position: fixed;
    top: 80px; /* วางใต้ navbar */
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    z-index: 9999;
    transition: width 0.1s ease;
}

/* Stats Cards */
.stats-card {
    background: #fff;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: none;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.stats-card::before,
.stats-card::after {
    display: none;
}

.stats-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
}

/* Performance Optimizations */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Sarabun', 'Prompt', 'Segoe UI', Arial, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
    padding-top: 80px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Optimize images */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Reduce animations for better performance */
.gallery-card,
.product-card,
.stats-card {
    transition: transform 0.2s ease;
}

.gallery-card:hover,
.product-card:hover,
.stats-card:hover {
    transform: translateY(-3px);
}

/* Optimize gallery overlay */
.gallery-overlay {
    transition: opacity 0.2s ease;
    will-change: opacity;
}

/* Remove heavy effects for mobile */
@media (max-width: 768px) {
    .gallery-card:hover,
    .product-card:hover,
    .stats-card:hover {
        transform: none;
    }
    
    .gallery-overlay {
        display: none;
    }
}

/* Hide scroll indicator for performance */
.scroll-indicator {
    display: none !important;
}

/* Optimize navbar */
.navbar {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    will-change: transform;
}

/* Product card optimization */
.product-card {
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.product-image-container {
    overflow: hidden;
    background: #f8f9fa;
}

.product-image {
    transition: transform 0.3s ease;
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.price-tag {
    padding: 0.75rem 1rem;
    background: rgba(13, 110, 253, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(13, 110, 253, 0.2);
}

/* Remove admin link styling */
/* .nav-item:last-child .nav-link {
    background: rgba(13, 110, 253, 0.1);
    border-radius: 8px;
    margin-left: 0.5rem;
}

.nav-item:last-child .nav-link:hover {
    background: rgba(13, 110, 253, 0.2);
} */

/* Responsive optimizations */
@media (max-width: 576px) {
    .product-card {
        margin-bottom: 1rem;
    }
    
    .price-tag {
        text-align: center;
    }
    
    .features ul {
        font-size: 0.9rem;
    }
}

/* Lazy loading placeholder */
img[loading="lazy"] {
    background: #f8f9fa;
    min-height: 200px;
}

/* Improve button performance */
.btn {
    will-change: transform;
    backface-visibility: hidden;
    transform: translateZ(0);
}

/* Remove AOS for better performance */
[data-aos] {
    opacity: 1 !important;
    transform: none !important;
}

/* Mobile optimizations */
@media (max-width: 767.98px) {
    .zone-foam {
        padding: 0.5rem 0.5rem;
        min-height: 55vh;
        max-height: 60vh;
    }
    
    .hero-content {
        text-align: center;
        padding: 0.25rem 0;
    }
    
    .hero-content h1 {
        font-size: 1.6rem;
        line-height: 1.2;
        margin-bottom: 0.8rem;
    }
    
    .hero-content p {
        font-size: 0.9rem;
        line-height: 1.4;
        margin-bottom: 1rem;
    }
    
    .hero-product {
        max-height: 240px !important;
    }
    
    .hero-product-image {
        padding: 0.1rem 0;
    }
    
    .btn-lg {
        font-size: 0.9rem;
        padding: 0.6rem 1.2rem;
    }
}

@media (max-width: 480px) {
    .zone-foam {
        padding: 0.5rem 0.25rem;
        min-height: 50vh;
        max-height: 55vh;
    }
    
    .hero-content h1 {
        font-size: 1.4rem;
        margin-bottom: 0.6rem;
    }
    
    .hero-content p {
        font-size: 0.85rem;
        margin-bottom: 0.8rem;
    }
    
    .hero-product {
        max-height: 200px !important;
    }
}

/* Better alignment for larger screens */
@media (min-width: 992px) {
    .zone-foam {
        min-height: 65vh;
        max-height: 70vh;
        padding: 1.5rem 1rem;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
        margin-bottom: 1.2rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-product {
        max-height: 300px !important;
    }
}

/* Hide scroll indicator */
.scroll-indicator {
    display: none !important;
}

/* Contact section */
.contact {
    padding: 4rem 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.contact h2 {
    position: relative;
    z-index: 2;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.contact p {
    position: relative;
    z-index: 2;
    margin-bottom: 2rem;
}

.contact a {
    color: #667eea;
    font-weight: 600;
    position: relative;
}

.contact a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -2px;
    left: 0;
    background: linear-gradient(135deg, #667eea, #764ba2);
    z-index: 2;
}

/* Footer */
.footer {
    background: #111;
    color: #fff;
    padding: 2rem 1rem;
    text-align: center;
}

.footer a {
    color: #667eea;
    transition: color 0.2s ease;
}

.footer a:hover {
    color: #fff;
}

.footer .social-icons {
    margin-top: 1rem;
}

.footer .social-icons a {
    margin: 0 0.5rem;
    font-size: 1.2rem;
    transition: transform 0.2s ease;
}

.footer .social-icons a:hover {
    transform: translateY(-2px);
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .stats-card {
        border: 2px solid #000;
    }
    
    .btn {
        border: 2px solid;
    }
}

/* Print styles */
@media print {
    .navbar,
    .scroll-indicator,
    .animated-bg {
        display: none !important;
    }
    
    .zone {
        page-break-inside: avoid;
        margin-bottom: 2rem;
    }
}

/* Remove old process number styles that cause overlapping */
.process-number {
    display: none !important;
}

/* New step number badge styles */
.step-number-badge {
    display: inline-block;
    margin-bottom: 1rem;
}

.step-number-badge .badge {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Process card improvements */
.process-card {
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
    overflow: visible;
}

.process-card:hover {
    transform: translateY(-5px);
}

/* Ensure proper spacing in process section */
.step-content {
    padding-top: 1rem;
}

/* Mobile responsive for step badges */
@media (max-width: 767.98px) {
    .step-number-badge .badge {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

/* Clean up any conflicting styles */
.process-card::before,
.process-card::after {
    display: none !important;
}

/* Ensure images don't overlap */
.step-img-wrap {
    position: relative;
    z-index: 1;
}

.step-img {
    border: 2px solid #f8f9fa;
}
    h1, h2, h3, h4, h5, h6 {
        line-height: 1.3;
    }
    
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* Improved sections spacing for mobile */
@media (max-width: 767.98px) {
    .zone {
        padding: 3rem 0;
    }
    
    section {
        padding: 2rem 0 !important;
    }
}

/* Loading states for images */
.img-fluid {
    transition: opacity 0.3s ease;
}

.img-fluid[src=""] {
    opacity: 0;
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .stats-card {
        border: 2px solid #000;
    }
    
    .btn {
        border: 2px solid;
    }
}

/* Print styles */
@media print {
    .navbar,
    .scroll-indicator,
    .animated-bg {
        display: none !important;
    }
    
    .zone {
        page-break-inside: avoid;
        margin-bottom: 2rem;
    }
}
        page-break-inside: avoid;
        margin-bottom: 2rem;
    }
}
        margin-bottom: 2rem;
    }
}

/* Remove old process number styles that cause overlapping */
.process-number {
    display: none !important;
}

/* New step number badge styles */
.step-number-badge {
    display: inline-block;
    margin-bottom: 1rem;
}

.step-number-badge .badge {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Process card improvements */
.process-card {
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
    overflow: visible;
}

.process-card:hover {
    transform: translateY(-5px);
}

/* Ensure proper spacing in process section */
.step-content {
    padding-top: 1rem;
}

/* Mobile responsive for step badges */
@media (max-width: 767.98px) {
    .step-number-badge .badge {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

/* Clean up any conflicting styles */
.process-card::before,
.process-card::after {
    display: none !important;
}

/* Ensure images don't overlap */
.step-img-wrap {
    position: relative;
    z-index: 1;
}

.step-img {
    border: 2px solid #f8f9fa;
}
        line-height: 1.3;
    }
    
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* Improved sections spacing for mobile */
@media (max-width: 767.98px) {
    .zone {
        padding: 3rem 0;
    }
    
    section {
        padding: 2rem 0 !important;
    }
}

/* Loading states for images */
.img-fluid {
    transition: opacity 0.3s ease;
}

.img-fluid[src=""] {
    opacity: 0;
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .stats-card {
        border: 2px solid #000;
    }
    
    .btn {
        border: 2px solid;
    }
}

/* Print styles */
@media print {
    .navbar,
    .scroll-indicator,
    .animated-bg {
        display: none !important;
    }
    
    .zone {
        page-break-inside: avoid;
        margin-bottom: 2rem;
    }
}
        page-break-inside: avoid;
        margin-bottom: 2rem;
    }
}
