/* Splash Screen */
.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(135deg, #f5f5f4 0%, #e7e5e4 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.8s ease-out;
}

.splash-screen.fade-out {
    opacity: 0;
    pointer-events: none;
}

.splash-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    animation: splash-fade-in 1s ease-out;
}

.splash-logo {
    display: block;
    width: 200px;
    height: auto;
    margin: 0 auto 2rem;
    object-fit: contain;
    animation: splash-logo-scale 1.2s ease-out;
}

.splash-text {
    font-size: 3rem;
    font-weight: 600;
    color: #3D3D3D;
    letter-spacing: 0.3rem;
    margin-bottom: 1rem;
    animation: splash-text-slide 1s ease-out 0.3s both;
}

.splash-tagline {
    font-size: 1.2rem;
    color: #6B5D52;
    letter-spacing: 0.2rem;
    text-transform: uppercase;
    animation: splash-text-slide 1s ease-out 0.5s both;
}

@keyframes splash-fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes splash-logo-scale {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes splash-text-slide {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile responsive splash screen */
@media (max-width: 768px) {
    .splash-logo {
        width: 150px;
        margin-bottom: 1.5rem;
    }

    .splash-text {
        font-size: 2rem;
        letter-spacing: 0.2rem;
    }

    .splash-tagline {
        font-size: 1rem;
        letter-spacing: 0.15rem;
    }
}

@media (max-width: 480px) {
    .splash-logo {
        width: 120px;
        margin-bottom: 1rem;
    }

    .splash-text {
        font-size: 1.5rem;
        letter-spacing: 0.15rem;
    }

    .splash-tagline {
        font-size: 0.875rem;
        letter-spacing: 0.1rem;
    }
}

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

.banner-slide.active {
    opacity: 1;
}

/* Product Card Animation */
.product-card:hover .product-card-image {
    transform: scale(1.03);
}

.product-card .product-card-image {
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Animation utilities */
@keyframes fade-in {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes fade-up {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }

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

.animate-fade-in {
    animation: fade-in 0.5s ease-out forwards;
}

.animate-fade-up {
    animation: fade-up 0.5s ease-out forwards;
}

/* Logo styling */
.logo-container {
    transition: transform 0.3s ease;
}

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

.logo-container img {
    transition: opacity 0.3s ease;
}

/* Mobile search animation */
.mobile-search-show {
    animation: slide-down 0.3s ease forwards;
}

@keyframes slide-down {
    0% {
        opacity: 0;
        transform: translateY(-10px);
    }

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

/* Trust Badges Section */
.trust-badges-section {
    padding: 3rem 0;
    margin: 2rem 0;
    overflow-x: hidden;
    background: transparent;
    position: relative;
}

.trust-badges-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    flex-wrap: nowrap;
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Full horizontal line spanning entire section */
.trust-badges-section::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 90%;
    max-width: 1100px;
    height: 1.5px;
    background: linear-gradient(
        to right,
        transparent 0%,
        transparent 5%,
        #6B5D52 5.5%,
        #6B5D52 27%,
        transparent 27.5%,
        transparent 38%,
        #6B5D52 38.5%,
        #6B5D52 61.5%,
        transparent 62%,
        transparent 72.5%,
        #6B5D52 73%,
        #6B5D52 94.5%,
        transparent 95%,
        transparent 100%
    );
    transform: translate(-50%, -50%);
    z-index: 0;
    pointer-events: none;
}

/* Left thick bar */
.trust-badges-section::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 90%;
    max-width: 1100px;
    height: 12px;
    transform: translate(-50%, -50%);
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(#6B5D52, #6B5D52) 5% 0/4px 100% no-repeat,
        linear-gradient(#6B5D52, #6B5D52) 95% 0/4px 100% no-repeat;
}

.trust-badge {
    flex: 0 0 180px;
    min-width: 180px;
    max-width: 180px;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.trust-badge:hover {
    transform: translateY(-5px);
}

.badge-svg {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.08));
    transition: filter 0.3s ease;
}

.trust-badge:hover .badge-svg {
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.12));
}

/* Badge Divider Line */
.badge-divider {
    width: 80px;
    height: 1.5px;
    background-color: #6B5D52;
    align-self: center;
    flex-shrink: 0;
}

/* SVG Text Styles */
/* Top curved text */
.badge-text-curved {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    font-size: 10px;
    font-weight: 500;
    fill: #8B7355;
    text-transform: uppercase;
    letter-spacing: 1.3px;
}

/* Bottom curved text (upside down) */
.badge-text-curved-bottom {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    font-size: 10px;
    font-weight: 500;
    fill: #8B7355;
    text-transform: uppercase;
    letter-spacing: 1.3px;
}

/* Main number text (.100%.) */
.badge-number-text {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 44px;
    font-weight: 700;
    fill: #3D3D3D;
    letter-spacing: 0px;
}

/* Center label (SECURE) */
.badge-center-label {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    font-size: 14px;
    font-weight: 700;
    fill: #3D3D3D;
    text-transform: uppercase;
    letter-spacing: 1.3px;
}

/* Large text for third badge (ALL INDIA) */
.badge-large-text {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    font-size: 17px;
    font-weight: 600;
    fill: #3D3D3D;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Large text bold (DELIVERY) */
.badge-large-text-bold {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    font-size: 19px;
    font-weight: 700;
    fill: #3D3D3D;
    text-transform: uppercase;
    letter-spacing: 1.3px;
}

/* Responsive design for trust badges */
@media (max-width: 1024px) {
    .trust-badges-container {
        max-width: 850px;
        gap: 0;
        padding: 0 2rem;
    }

    .trust-badge {
        flex: 0 0 170px;
        min-width: 170px;
        max-width: 170px;
    }
}

@media (max-width: 768px) {
    .trust-badges-section {
        padding: 2rem 0;
    }

    /* Hide decorative lines on mobile/tablet */
    .trust-badges-section::before,
    .trust-badges-section::after {
        display: none;
    }

    .trust-badges-container {
        flex-wrap: nowrap;
        justify-content: center;
        gap: 1rem;
        padding: 0 1rem;
    }

    .trust-badge {
        flex: 0 0 120px;
        min-width: 120px;
        max-width: 120px;
    }

    .badge-divider {
        width: 60px;
        height: 1.5px;
    }

    .badge-text-curved,
    .badge-text-curved-bottom {
        font-size: 8px;
        letter-spacing: 0.8px;
    }

    .badge-number-text {
        font-size: 32px;
    }

    .badge-center-label {
        font-size: 11px;
    }

    .badge-large-text {
        font-size: 14px;
    }

    .badge-large-text-bold {
        font-size: 16px;
    }
}

@media (max-width: 640px) {
    .trust-badges-section {
        padding: 1.5rem 0;
    }

    .trust-badges-container {
        gap: 0.5rem;
        padding: 0 0.5rem;
    }

    .trust-badge {
        flex: 0 0 100px;
        min-width: 100px;
        max-width: 100px;
    }

    .badge-divider {
        width: 50px;
        height: 1.5px;
    }

    .badge-text-curved,
    .badge-text-curved-bottom {
        font-size: 7px;
        letter-spacing: 0.7px;
    }

    .badge-number-text {
        font-size: 28px;
    }

    .badge-center-label {
        font-size: 10px;
    }

    .badge-large-text {
        font-size: 12px;
    }

    .badge-large-text-bold {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .trust-badges-container {
        gap: 0.25rem;
        padding: 0 0.25rem;
    }

    .trust-badge {
        flex: 0 0 90px;
        min-width: 90px;
        max-width: 90px;
    }

    .badge-divider {
        width: 40px;
        height: 1px;
    }

    .badge-text-curved,
    .badge-text-curved-bottom {
        font-size: 6px;
        letter-spacing: 0.5px;
    }

    .badge-number-text {
        font-size: 24px;
    }

    .badge-center-label {
        font-size: 9px;
    }

    .badge-large-text {
        font-size: 11px;
    }

    .badge-large-text-bold {
        font-size: 13px;
    }
}

/* Popup Banner Modal */
.popup-banner-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.popup-banner-modal.show {
    opacity: 1;
    visibility: visible;
}

.popup-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
}

.popup-banner-content {
    position: relative;
    z-index: 1;
    max-width: 90%;
    max-height: 90vh;
    width: auto;
    display: flex;
    animation: popup-scale-in 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.popup-banner-close {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 40px;
    height: 40px;
    background: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s ease, background 0.2s ease;
    z-index: 2;
}

.popup-banner-close:hover {
    transform: scale(1.1) rotate(90deg);
    background: #f5f5f5;
}

.popup-banner-close .material-symbols-outlined {
    font-size: 24px;
    color: #3D3D3D;
}

.popup-banner-link,
.popup-banner-image {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.popup-banner-link {
    transition: transform 0.3s ease;
}

.popup-banner-link .popup-banner-image {
    max-height: 90vh;
}

.popup-banner-link:hover {
    transform: scale(1.02);
}

@keyframes popup-scale-in {
    0% {
        transform: scale(0.7);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Mobile responsive popup banner */
@media (max-width: 768px) {
    .popup-banner-content {
        max-width: 95%;
        max-height: 85vh;
    }

    .popup-banner-close {
        top: -10px;
        right: -10px;
        width: 35px;
        height: 35px;
    }

    .popup-banner-close .material-symbols-outlined {
        font-size: 20px;
    }

    .popup-banner-image {
        border-radius: 8px;
        max-height: 85vh;
    }
}

@media (max-width: 480px) {
    .popup-banner-content {
        max-width: 98%;
        max-height: 80vh;
    }

    .popup-banner-image,
    .popup-banner-link .popup-banner-image {
        max-height: 80vh;
    }

    .popup-banner-close {
        top: -8px;
        right: -8px;
        width: 30px;
        height: 30px;
    }

    .popup-banner-close .material-symbols-outlined {
        font-size: 18px;
    }
}

/* Responsive logo sizing */
@media (max-width: 768px) {
    .logo-container img {
        height: 3rem; /* 48px - smaller on mobile */
    }
}

@media (max-width: 480px) {
    .logo-container img {
        height: 2.5rem; /* 40px - even smaller on very small screens */
    }
}