* {
    box-sizing: border-box;
    scrollbar-width: none;
    -webkit-tap-highlight-color: transparent;
}

:root {
    /* 1. GLASS THEME COLORS: DEEP OCEAN BLUE & TEAL */
    --primary-color: #183925;
    /* Eye-catching Cyan/Teal accent */
    --primary-dark: #112e1f;
    /* Darker Cyan for hover/active */
    --whatsapp-color: #20f46e;
    --whatsapp-dark: #8df371;
    --background-color: #ffffff;
    /* Base for glass background */
    --card-background: rgba(59, 100, 97, 0.15);
    /* Transparent white for glass surface */
    --text-color: #ffffff;
    /* White text for contrast on dark glass/background */
    --light-text-color: rgba(255, 255, 255, 0.7);
    /* Lighter white text */
    --border-radius: 2rem;

    /* SIMPLIFIED SHADOWS FOR GLASSMORHISM */
    --glass-border: 1px solid rgba(30, 20, 20, 0.051);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
    /* Stronger dark shadow for depth */
    --glass-hover-shadow: 0 16px 40px 0 rgba(0, 0, 0, 0.6);

    --light-shadow: none;
    --dark-shadow: none;
    --inset-shadow: none;
}

.pop_up_pill {
    position: fixed;
    display: flex;
    display: none;
    justify-content: space-between;
    align-items: center;
    gap: .2rem;
    z-index: 102;
    background-color: var(--card-background);
    box-shadow: var(--glass-shadow);
    backdrop-filter: blur(10px);
    border: var(--glass-border);
    width: 95%;
    max-width: 500px;
    height: 60px;
    bottom: 3%;
    border-radius: 50px;
    padding: 0 1.1rem;
    text-shadow: 1px 1px 1px black;
    animation: crisp-bounce 1.5s ease-out forwards ;
    overflow: hidden;

    & .pill_timmer {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 5px;
        border-radius: 30px;
        background: var(--whatsapp-color);
        animation :timer_animation 1.5s ease-out forwards;
    }


    & .pill_text {

        & span:first-child {
            font-weight: bold;
        }

    }

    & .pill_action {

        display: flex;
        gap: .2rem;
        flex-wrap: wrap;

        & button {
            cursor: pointer;
            font-weight: bold;
            padding: .2rem .7rem;
            border-radius: 20px;
            border: none;
            color: var(--text-color);
            text-shadow: 1px 1px 1px black;
            transition: all .3s ease-in;

            &:hover {
                transform: translateY(-4px) scale(.9);
            }

            &.green {
                background: var(--whatsapp-color);
            }

            &.red {
                background: red;
            }

        }

    }
}

@keyframes timer_animation {
    from{
        width: 100%;
    }to{
        width: 0%;
    }
    
}

@keyframes crisp-bounce {

    /* 0% - START: Max Height (The Drop) */
    0% {
        opacity: 0;
        transform: translateY(-250px) scale(1);
        /* **CRITICAL FIX:** A steep cubic-bezier for fast acceleration down (gravity) */
        animation-timing-function: cubic-bezier(0.5, 0, 1, 0.5);
    }

    /* 20% - FIRST IMPACT (Ground) */
    20% {
        transform: translateY(0px) scale(1, 1);
    }

    /* 20.5% - FIRST SQUISH (Immediate and Sharp) */
    20.5% {
        transform: translateY(0px) scale(1.1, 0.9);
        /* **CRITICAL FIX:** Sharp spring back up */
        animation-timing-function: cubic-bezier(0.5, 1, 1, 1);
    }

    /* 40% - FIRST BOUNCE PEAK (80% Height) */
    40% {
        transform: translateY(-160px) scale(1);
        /* Timing: Smoothly decelerate up, accelerate down */
        animation-timing-function: cubic-bezier(0.5, 0, 0.5, 1);
    }

    /* 55% - SECOND IMPACT (Ground) */
    55% {
        transform: translateY(0px) scale(1, 1);
    }

    /* 55.5% - SECOND SQUISH (Shorter duration impact) */
    55.5% {
        opacity: 1;
        transform: translateY(0px) scale(1.05, 0.95);
        animation-timing-function: cubic-bezier(0.5, 1, 1, 1);
    }

    /* 70% - SECOND BOUNCE PEAK (40% Height) */
    70% {
        transform: translateY(-80px) scale(1);
        animation-timing-function: cubic-bezier(0.5, 0, 0.5, 1);
    }

    /* 80% - THIRD IMPACT (Ground) */
    80% {
        transform: translateY(0px) scale(1, 1);
    }

    /* 80.5% - FINAL SQUISH (Tiny touch-down) */
    80.5% {
        transform: translateY(0px) scale(1.02, 0.98);
    }

    /* 90% - FINAL SETTLE */
    100% {
        transform: translateY(0px) scale(1);
        /* No movement, just settles */
    }
}

body {
    font-family: 'Poppins', sans-serif;
    /* Deep Ocean Gradient for professional depth */
    background: linear-gradient(135deg, #022312 0%, #3d8b5a 100%);
    color: var(--text-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 15px;
    box-sizing: border-box;
    overflow-x: hidden;
}

.glassy-container {
    opacity: 0;
    border-radius: 20px;
    background-color: var(--card-background);
    box-shadow: var(--glass-shadow);
    backdrop-filter: blur(10px);
    border: var(--glass-border);
    padding: 30px;
    margin: 1.2rem auto;
    width: 100%;
    max-width: 1200px;
    animation: fade_up 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    animation-delay: .5s;
}

.glassy-container-nope {
    opacity: 0;
    padding: 10px;
    margin: .6rem auto;
    width: 100%;
    max-width: 1200px;
    animation: fade_up 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    animation-delay: .5s;
}

@keyframes fade_up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* DYNAMIC HEADER STYLES - FIX: Initial position is sticky, occupies space */
.brand-header {
    display: flex;
    align-items: center;
    justify-content: center;
    /* Center horizontally in its initial space */

    /* FIX FOR OVERLAP: Use sticky position initially */
    position: sticky;
    top: 0;
    /* Sticks to the top of the viewport */

    width: fit-content;
    /* Occupy full width */
    max-width: 600px;
    margin: 0 auto;
    /* Margin to ensure it is visible and centered initially */

    /* FIX FOR SMOOTHNESS: Transition all relevant properties with a smooth cubic-bezier */
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);

    z-index: 100;
    /* Ensure it stays above other content */
    flex-wrap: nowrap;
    padding: 0;

    background-color: transparent;
    backdrop-filter: none;
    border: none;
    transform: none;

}

.brand-logo {
    opacity: 0;
    height: 120px;
    width: 120px;
    object-fit: contain;
    animation: header-entry 1s forwards ease-in;
    /* FIX FOR SMOOTHNESS: Explicit transition */
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    /* margin-right: 20px;  */
}

.brand-header h1 {
    opacity: 0;
    font-size: 2.5em;
    font-weight: 600;
    margin: 0;
    color: var(--background-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: header-entry .7s forwards ease-in;
    animation-delay: .7s;
    /* FIX FOR SMOOTHNESS: Explicit transition */
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    white-space: nowrap;
}


/* KEY SCROLLED CLASS - Applied by JavaScript */
.scrolled-header {
    opacity: .3;
    position: fixed;
    top: 1;
    left: 0;
    transform: none;
    max-width: 300px;
}


.scrolled-header .brand-logo {
    height: 70px;
    width: 70px;
    /* margin-right: 10px; */
}

.scrolled-header h1 {
    font-size: 1.2em;
    /* display: none; */
}

/* END DYNAMIC HEADER STYLES */





/* Keyframes for the brand header entry animation */
@keyframes header-entry {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(20px);
    }

    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.product-container {
    width: 100%;
    margin-bottom: 0;
}

.product-card {
    display: flex;
    flex-direction: column-reverse;
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    /* background-color: rgba(255, 255, 255, 0.05);  */
    /* box-shadow: var(--glass-shadow);  */
    /* backdrop-filter: blur(5px); */
    /* border: var(--glass-border); */
    padding: 10px;
}

.product-card:hover {
    transform: translateY(-4px);
    /* box-shadow: var(--glass-hover-shadow);  */
}

.product-image {
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    /* overflow: hidden;  */
}

.product-image img {
    max-width: 80%;
    height: auto;
    border-radius: calc(var(--border-radius) - 5px);
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    animation: header-entry .7s forwards ease-in;
    /* box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);  */

}

@keyframes spin_fly {
    0% {
        transform: rotate(0deg);
        opacity: 1;
    }

    25% {
        opacity: .7;
        transform: rotate(0deg) translateX(-100px) scale(1);
    }

    100% {
        opacity: 0;
        transform: rotate(75deg) translateX(500px) scale(0.1);
    }
}

.product-card:hover .product-image img {
    transform: scale(1.03) rotate(-1deg);
}


.product-info {
    padding: 15px;
    text-align: center;
}

.product-title {
    opacity: .6;
    text-align: center;
    margin: auto;
    font-size: 2em;
    font-weight: 600;
    transition: opacity 0.3s, transform 0.3s;
    color: var(--text-color);
    text-shadow: 2px 2px 4px rgba(16, 15, 15, 0.5);
    box-shadow: var(--glass-hover-shadow);
    width: fit-content;
    padding: 4px 1rem;
    border-radius: var(--border-radius);
}

.product-price {
    text-align: center;

    font-size: 1.5em;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 20px;
    transition: opacity 0.3s, transform 0.3s;
    text-shadow: 0 0 1px rgba(0, 0, 0, 0.5);
}

/* New styling for the free delivery text */
.free-delivery {
    font-size: 0.6em;
    font-weight: 700;
    color: var(--whatsapp-color);
    text-transform: uppercase;
    text-shadow: 0.5px 0.5px 1px rgba(0, 0, 0, 0.5);
    display: block;
}


.product-description {
    font-size: 1em;
    color: var(--background-color);
    margin-bottom: 30px;
    transition: opacity 0.3s, transform 0.3s;
    text-shadow: 0.5px 0.5px 1px rgba(0, 0, 0, 0.5);
}

.product-details-content {
    transition: opacity 0.3s ease-in-out;
}

.quantity-selector {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.quantity-btn {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    border: var(--glass-border);
    color: var(--primary-color);
    font-size: 2em;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    box-shadow: var(--glass-shadow);
}

.quantity-btn:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.quantity-btn:active {
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.4);
    transform: scale(0.95);
}

.quantity-display {
    font-size: 2em;
    font-weight: 600;
    color: var(--background-color);
    min-width: 40px;
    text-align: center;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.button-group {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    align-items: center;

}

/* WATER DROP RIPPLE ANIMATION STYLES (Pure CSS) */
.buy-now-btn,
.whatsapp-btn {
    flex-grow: 1;
    padding: 12px 30px;
    border: none;
    border-radius: 30px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 15px rgba(247, 245, 245, 0.15);
    color: white;
    text-decoration: none;
    text-align: center;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(37, 35, 35, 0.3);

    /* Essential for the ripple effect */
    position: relative;
    overflow: hidden;
    /* Hides the ripple until it expands */
    z-index: 1;
}

/* The ripple element container */
.buy-now-btn::after,
.whatsapp-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    /* Initial size of the drop */
    height: 5px;
    background: rgba(255, 255, 255, 0.7);
    /* White ripple color */
    border-radius: 50%;
    opacity: 0;
    /* Center the circle on its own center point */
    transform: scale(1) translate(-50%, -50%);
    transition: all 0.5s ease-out;
    pointer-events: none;
    z-index: 0;
}

/* Trigger the ripple animation on active state (click/tap) */
.buy-now-btn:active::after,
.whatsapp-btn:active::after {
    transform: scale(20) translate(-50%, -50%);
    /* Expands the ripple */
    opacity: 0;
    /* Fades the color */
    transition: all 0.5s ease-out;
}

/* END WATER DROP RIPPLE ANIMATION STYLES */

.buy-now-btn {
    background-color: var(--primary-color);
}

.buy-now-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-4px) scale(.95);
    /* box-shadow: 0 10px 20px rgba(0, 188, 212, 0.8);  */
}

.whatsapp-btn {
    background-color: var(--whatsapp-color);
}

.whatsapp-btn:hover {
    background-color: var(--whatsapp-dark);
    transform: translateY(-4px) scale(.95);

    /* box-shadow: 0 10px 20px rgba(37, 211, 102, 0.8);  */
}

/* IMPORTANT: Removed conflicting active states for smooth ripple effect */
.buy-now-btn:active,
.whatsapp-btn:active {
    transform: translateY(0);
    /* Removed custom box shadow for ripple visibility */
}

/* End of active state cleanup */


/* Loading Spinner */
.loading-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50px;
    height: 50px;
    margin: -25px 0 0 -25px;
    border: 5px solid rgba(255, 255, 255, 0.3);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0s linear 0.3s;
}

.loading-spinner.show {
    opacity: 1;
    visibility: visible;
    transition-delay: 0s;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}



/* Modal and Overlay */
.modal-overlay {
    position: fixed;
    overflow-y: scroll;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0.3s;
    z-index: 100;
}

.modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    top: 1%;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px 15px;
    border-radius: var(--border-radius);
    max-width: 500px;
    width: 90%;
    transform: translateY(-50px);
    opacity: 0;
    transition: transform 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55), opacity 0.5s ease-in-out;
    box-shadow: var(--glass-hover-shadow);
    backdrop-filter: blur(20px);
    border: var(--glass-border);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-y: auto;
    z-index: 101;

}

.modal-overlay.show .modal-content {
    transform: translateY(0);
    opacity: 1;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 2em;
    color: var(--background-color);
    cursor: pointer;
    transition: color 0.2s, transform 0.2s, box-shadow 0.2s;
    border-radius: 50%;
    padding: 5px;
}

.close-btn:hover {
    color: var(--primary-color);
    transform: scale(1.1);
}

.close-btn:active {
    transform: scale(0.95);
    box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.5);
}

.modal-header {
    margin-bottom: 20px;
    text-align: center;
    color: var(--background-color);
}

/* New styles for the product summary inside the modal */
.modal-product-summary {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    padding: 15px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    border: var(--glass-border);
    box-shadow: var(--glass-shadow);
}

.modal-product-summary img {
    width: 100px;
    height: 100px;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.modal-product-summary .summary-details {
    text-align: left;
    color: var(--background-color);
}

.modal-product-summary .summary-details h5 {
    margin: 0;
    font-size: 1.2em;
    font-weight: 600;
}

.modal-product-summary .summary-details p {
    margin: 0;
    font-size: 0.9em;
    color: rgba(255, 255, 255, 0.7);
}

/* New payment options styles */
.payment-options {
    margin-bottom: 20px;
    width: 100%;
}

.payment-options h4 {
    font-size: 1.1em;
    margin-bottom: 10px;
    color: var(--background-color);
}

.payment-option-card {
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 15px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
    margin-bottom: 10px;
    box-shadow: var(--glass-shadow);
}

.payment-option-card:hover {
    border-color: rgba(0, 188, 212, 0.8);
}

.payment-option-card.selected {
    border-color: var(--primary-color);
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.4);
}

.payment-option-card label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    color: var(--background-color);
}

.form-group-row {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

@media (min-width: 500px) {
    .form-group-row {
        flex-direction: row;
    }

    .form-group-row .form-group {
        width: 50%;
    }
}

#order-form h4 {
    font-size: 1.1em;
    margin-bottom: 10px;
    color: var(--background-color);
}

#order-form .form-group {
    margin-bottom: 15px;
}

#order-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: var(--background-color);
}

#order-form input,
#order-form textarea {
    width: 100%;
    padding: 10px;
    border: none;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--background-color);
    border-radius: 8px;
    box-sizing: border-box;
    transition: all 0.2s;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.4);
}

#order-form input:focus,
#order-form textarea:focus {
    outline: none;
    box-shadow: inset 0 0 8px var(--primary-color), 0 0 5px var(--primary-color);
}

.submit-btn {
    width: 100%;
    background-color: var(--primary-color);
    color: white;
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-size: 1.2em;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.submit-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 15px var(--dark-shadow);
}

.submit-btn:active {
    transform: translateY(0);
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.4);
}

/* New loading and success animations */
.modal-state-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: var(--primary-color);
    backdrop-filter: blur(5px);
    border-radius: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0.3s;
}

.modal-state-container.show {
    opacity: 1;
    visibility: visible;
}

.modal-state-container h4 {

    font-size: 1.5em;
    margin-top: 20px;
    color: var(--background-color);
}

.success-animation {
    font-size: 4em;
    color: var(--text-color);
    transform: scale(0);
    animation: bounceIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes bounceIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    50% {
        transform: scale(1.2);
        opacity: 1;
    }

    100% {
        transform: scale(1);
    }
}

.error-message {
    color: #d32f2f;
    margin-top: 10px;
}

/* Fly-to-Cart Animation */
.fly-to-form-animation {
    position: fixed;
    z-index: 1000;
    transition: transform 1s cubic-bezier(0.68, -0.55, 0.265, 1.55), opacity 0.5s ease-in-out;
    will-change: transform, opacity;
}

.fly-to-form-animation img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.fly-to-form-text {
    position: absolute;
    top: 110%;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    font-weight: 600;
    color: white;
    opacity: 1;
    transition: top 1s ease-in-out, opacity 0.5s ease-in-out;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Responsive Styles */
@media (min-width: 768px) {
    .product-card {
        flex-direction: row;
        text-align: left;
    }

    .product-image {
        flex: 1;
        padding: 40px;
    }

    .product-info {
        flex: 1;
        text-align: left;
        padding: 40px;
    }
}

/* New styles for product options */
.product-options {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;

}

.product-option {
    position: relative;
    cursor: pointer;
    width: 80px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.2);
    border: var(--glass-border);
    color: var(--background-color);
    border-radius: 20px;
    font-weight: 600;
    transition: all 0.2s ease-in-out;
    box-shadow: var(--glass-shadow);
}

.product-option:hover {
    color: var(--background-color);
    transform: translateY(-2px);
    box-shadow: var(--glass-hover-shadow);
}

.product-option.selected {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    transform: translateY(0);
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.4);
}

/* Hide the default radio buttons */
.product-options input[type="radio"] {
    display: none;
}

/* New Info Section Styles */
.info-cards-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    box-shadow: var(--glass-shadow);
    backdrop-filter: blur(5px);
    border: var(--glass-border);
    transition: transform 0.3s ease-in-out;
}

.info-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--glass-hover-shadow);
}

.info-card h4 {
    font-size: 1.3em;
    font-weight: 600;
    color: var(--background-color);
    text-shadow: 0.5px 0.5px 1px rgba(0, 0, 0, 0.5);
}

.info-card p,
.info-card ul {
    font-size: 0.95em;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    text-shadow: 0.5px 0.5px 1px rgba(0, 0, 0, 0.5);
}

/* Certificate Gallery Styles */
.certificate-gallery {
    width: 100%;
    margin-top: 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.certificate-gallery h3 {
    font-size: 1.5em;
    font-weight: 600;
    color: var(--background-color);
    margin-bottom: 30px;
    text-transform: uppercase;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.gallery-track {
    display: flex;
    width: calc(300px * 12 + 30px * 11);
    animation: scroll-certificates 30s linear infinite;
}

.gallery-track:hover {
    animation-play-state: paused;
}

.certificate-item {
    flex: 0 0 auto;
    width: 280px;
    height: 25rem;
    border-radius: 10px;
    box-shadow: var(--glass-shadow);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    margin-right: 30px;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: var(--glass-border);
}

/* Remove margin from the last item to prevent extra space */
.certificate-item:last-child {
    margin-right: 0;
}

.certificate-item:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: var(--glass-hover-shadow);
}

@keyframes scroll-certificates {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(calc(-310px * 6));
    }
}

/* User Reviews Section */
.user-reviews-section {
    width: 100%;
    margin-top: 0;
    padding-bottom: 0;
    text-align: center;
}

.user-reviews-section h3 {
    font-size: 1.5em;
    font-weight: 600;
    color: var(--background-color);
    margin-bottom: 30px;
    text-transform: uppercase;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.reviews-container {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 20px;
    padding-bottom: 20px;
    margin: auto;
    justify-content: center;
}

.review-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    box-shadow: var(--glass-shadow);
    padding: 20px;
    text-align: center;
    flex: 0 0 300px;
    transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1), box-shadow 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    backdrop-filter: blur(5px);
    border: var(--glass-border);

}

.review-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--glass-hover-shadow);
}

.user-avatar {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
}

.user-name-box {
    background-color: var(--primary-color);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 1em;
    text-align: center;
    margin-top: auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.star-rating {
    color: #FFD700;
    font-size: 1.2em;
    margin-bottom: 15px;
}

.review-comment {
    font-style: italic;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 15px;
    text-shadow: 0.5px 0.5px 1px rgba(0, 0, 0, 0.5);
}

/* Footer Styles */
.main-footer {
    width: 100%;
    text-align: center;
    padding-top: 30px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.contact-section h4,
.social-media-section h4 {
    font-size: 1.2em;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--background-color);
    text-shadow: 0.5px 0.5px 1px rgba(0, 0, 0, 0.5);
}

.contact-section .contact-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    backdrop-filter: blur(8px);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    min-width: 200px;
    text-align: left;
    margin: 0 auto;
    box-shadow: var(--glass-shadow);
    border: var(--glass-border);

}

.contact-section .contact-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--glass-hover-shadow);
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.contact-icon {
    font-size: 1.5em;
    color: var(--primary-color);
}

.contact-info-text {
    display: flex;
    flex-direction: column;
    color: var(--background-color);
}

.contact-info-text .label {
    font-weight: 600;
    color: var(--background-color);
}

.contact-info-text a {
    font-weight: 600;
    color: var(--background-color);
    text-decoration: none;
}

.contact-info-text .info {
    font-size: 0.9em;
    color: rgba(255, 255, 255, 0.7);
}

.social-media-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    box-shadow: var(--glass-shadow);
    backdrop-filter: blur(8px);
    border: var(--glass-border);
}

.social-media-section h4 {
    margin-bottom: 0;
}

.social-media-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    width: 100%;
}

.social-media-card {
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 20px;
    box-shadow: var(--glass-shadow);
    backdrop-filter: blur(8px);
    border: var(--glass-border);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    min-width: 150px;
    text-align: center;
    color: var(--background-color);
    text-decoration: none;

}

.social-media-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--glass-hover-shadow);
}

.social-media-card:hover .icon img {
    transform: rotate(360deg) scale(1.1);
}

.social-media-card .icon img {
    display: block;
    margin: auto;
    width: 25%;
    transition: .5s ease-in-out;
}

.social-media-card .platform-name {
    font-weight: 600;
    font-size: 1.1em;
}

.social-media-card .platform-info {
    font-size: 0.8em;
    color: rgba(255, 255, 255, 0.7);

}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.social-media-card .icon {
    animation: pulse 2s infinite ease-in-out;
}

.copyright-text {
    margin-top: 30px;
    font-size: 0.9em;
    color: var(--background-color);
    text-align: center;
    width: 100%;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* PC Layout Improvements */
@media (min-width: 1200px) {
    .glassy-container {
        max-width: 1200px;
    }

    .product-card {
        flex-direction: row;
        text-align: left;
    }

    .product-image {
        flex: 1;
        padding: 40px;
    }

    .product-info {
        flex: 1;
        text-align: left;
        padding: 40px;
    }



    .contact-section {
        flex: 1;
    }

    .social-media-section {
        flex: 1;
    }

    .footer-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }

    .info-cards-container {
        flex-direction: row;
    }

    .info-card {
        flex: 1;
    }
}


/* phone */
@media (max-width: 550px) {
    body {
        padding: 10px;
    }

    .glassy-container {
        padding: 25px 10px;
    }

    /* Adjust initial header size/position on small screens */
    .brand-header {
        max-width: 100%;
        top: 10px;
        margin: 10px auto;
        padding: 5px;
    }

    /* Adjust scrolled position for small screens */
    .scrolled-header {
        left: 5px;
        max-width: 250px;
        padding: 5px;
    }

    .brand-header h1 {
        font-size: 2em;
    }

    .scrolled-header h1 {
        font-size: 1em;
    }

    /* STICKY BUTTON ADJUSTMENTS FOR SMALL SCREEN */
    .sticky-buy-container {
        top: 10px;
        /* Move closer to the edge on small screens */
        right: -300px;
        gap: 5px;
        padding: 5px;
    }

    .sticky-buy-container.show-buy {
        right: 5px;
    }

    .sticky-buy-container .buy-now-btn,
    .sticky-buy-container .whatsapp-btn {
        padding: 6px 12px;
        font-size: 0.8em;
    }


    .info-card .glassy-container {
        padding: .5rem;
        box-shadow: none;
        background-color: transparent;

    }

    .reviews-container {
        justify-content: flex-start;

    }

    .review-card {

        flex: 0 0 300px;

    }


}