/* Modern E-Commerce Design - KabirPublication */

:root {
    --primary: #2ECC71;          /* Fresh Green */
    --primary-dark: #27AE60;     /* Darker Green */
    --secondary: #F39C12;        /* Orange */
    --dark: #2C3E50;             /* Dark Blue */
    --light: #ECF0F1;            /* Light Gray */
    --border: #BDC3C7;           /* Border Gray */
    --success: #27AE60;
    --danger: #E74C3C;
    --warning: #F39C12;
    --info: #3498DB;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    color: var(--dark);
    background-color: #fff;
    line-height: 1.6;
}

main {
    min-height: calc(100vh - 200px);
}

/* =================== TOP BAR =================== */
.top-bar {
    background-color: var(--dark);
    color: white;
    font-size: 0.85rem;
    border-bottom: 2px solid var(--primary);
}

.top-bar small {
    color: white;
}

.top-bar a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s;
}

.top-bar a:hover {
    color: var(--secondary);
}

/* =================== NAVBAR =================== */
.navbar {
    padding: 10px 0;
    border-bottom: 1px solid var(--light);
}

.navbar-brand img {
    transition: transform 0.3s;
}

.navbar-brand img:hover {
    transform: scale(1.05);
}

/* Navbar Toggler (Mobile Menu Button) */
.navbar-toggler {
    border: 2px solid var(--primary) !important;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.navbar-toggler:hover,
.navbar-toggler:focus {
    background-color: var(--primary);
    box-shadow: 0 0 0 0.25rem rgba(46, 204, 113, 0.25);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%232ECC71' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    width: 1.5rem;
    height: 1.5rem;
}

/* Navbar Collapse (Mobile Menu) */
.navbar-collapse {
    border-radius: 12px;
    padding: 0;
}

.navbar-nav {
    gap: 5px;
}

.nav-link {
    color: var(--dark) !important;
    font-weight: 500;
    padding: 10px 15px !important;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary) !important;
}

/* Dropdown Menu */
.dropdown-menu {
    border: 1px solid var(--light);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 8px 0;
}

.dropdown-item {
    padding: 10px 15px;
    color: var(--dark);
    transition: all 0.2s ease;
}

.dropdown-item:hover,
.dropdown-item.active {
    background-color: rgba(46, 204, 113, 0.1);
    color: var(--primary);
}

/* Search Bar */
.search-bar {
    gap: 8px;
}

.search-bar input {
    border: 1px solid var(--border);
    border-radius: 25px;
    padding: 10px 18px;
    font-size: 0.9rem;
}

.search-bar input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.1);
}

/* Mobile Search Bar */
.mobile-search {
    background-color: white;
    border-bottom: 1px solid var(--light);
}

.mobile-search input {
    border-radius: 25px;
    border: 1px solid var(--border);
    padding: 10px 18px;
}

.mobile-search input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.1);
}.search-bar button {
    background-color: var(--primary);
    border: none;
    border-radius: 25px;
    color: white;
    padding: 10px 20px;
    transition: all 0.3s;
}

.search-bar button:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(46, 204, 113, 0.3);
}

/* Nav Icons */
.nav-icon {
    font-size: 1.3rem;
    color: var(--dark);
    cursor: pointer;
    transition: color 0.3s;
    text-decoration: none;
}

.nav-icon:hover {
    color: var(--primary);
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--danger);
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: bold;
}

/* Nav Links */
.nav-link {
    color: var(--dark) !important;
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.3s;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--primary) !important;
}

/* Mobile Search */
.mobile-search {
    display: none;
}

@media (max-width: 991px) {
    .mobile-search {
        display: none !important;
    }

    .mobile-search input {
        border-radius: 20px;
        padding: 8px 15px;
        font-size: 0.9rem;
        border: 1px solid var(--border);
    }

    .mobile-search button {
        border-radius: 20px;
        padding: 8px 15px;
    }
}

/* =================== HERO/SLIDER SECTION =================== */
.slider-section {
    margin-bottom: 40px;
    position: relative;
}

.carousel {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.carousel-inner {
    background: #000;
}

.carousel-item {
    height: 500px;
}

.carousel-item picture {
    display: block;
    width: 100%;
    height: 100%;
}

.carousel-inner img {
    height: 100%;
    width: 100%;
    object-fit: fill;
    object-position: center;
    display: block;
}

.carousel-caption {
    background: rgba(0, 0, 0, 0.5);
    bottom: 30px;
    left: 30px;
    right: auto;
    max-width: 500px;
    padding: 30px;
    border-radius: 12px;
    text-align: left;
    display: none !important;
}

.carousel-caption h5 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: white;
    display: none !important;
}

.carousel-caption p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
}

.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(46, 204, 113, 0.7);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.3s;
}

.carousel:hover .carousel-control-prev,
.carousel:hover .carousel-control-next {
    opacity: 1;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background-color: var(--primary);
}

/* Hide carousel indicators */
.carousel-indicators {
    display: none !important;
}

/* Hide carousel indicators list items */
.carousel-indicators li {
    display: none !important;
}

/* Hide carousel counter/numbers */
.carousel::before,
.carousel::after,
.carousel-item::before,
.carousel-item::after,
.carousel-inner::before,
.carousel-inner::after {
    display: none !important;
}

/* Hide any text/numbers in carousel */
.carousel [data-bs-slide-to] {
    display: none !important;
}

@media (max-width: 768px) {
    .carousel-item {
         height: 250px;
    }

    .carousel-inner img {
        height: 100%;
        width: 100%;
    }

    .carousel-caption {
        bottom: 20px;
        left: 20px;
        padding: 20px;
    }

    .carousel-caption h5 {
        font-size: 1.8rem;
    }

    .carousel-caption p {
        font-size: 0.9rem;
    }
}

/* =================== TRUST BADGES SECTION =================== */
.trust-badges {
    background: var(--light);
    padding: 40px 0;
    margin: 40px 0;
}

.badge-item {
    text-align: center;
    padding: 20px;
    opacity: 0;
    animation: slideInFromBottom 0.6s ease-out forwards;
    transition: all 0.3s ease;
}

.badge-item:nth-child(1) {
    animation-delay: 0s;
}

.badge-item:nth-child(2) {
    animation-delay: 0.1s;
}

.badge-item:nth-child(3) {
    animation-delay: 0.2s;
}

.badge-item:nth-child(4) {
    animation-delay: 0.3s;
}

.badge-item:hover {
    transform: translateY(-10px);
}

.badge-item i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.badge-item:hover i {
    font-size: 3.5rem;
    color: var(--secondary);
    transform: scale(1.1);
}

.badge-item h6 {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 5px;
}

.badge-item p {
    font-size: 0.85rem;
    color: #555;
    margin: 0;
}

/* =================== FEATURED PRODUCTS =================== */
.featured-products {
    padding: 60px 0;
    background-color: #fff;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    color: var(--dark);
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
}

/* Product Card */
.product-card {
    background: white;
    border: 1px solid var(--light);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    height: 100%;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
    border-color: var(--primary);
}

.product-card .card-img-top {
    height: 250px;
    object-fit: fill;
    object-position: center;
    position: relative;
    overflow: hidden;
}

.product-card:hover .card-img-top {
    transform: scale(1.05);
    transition: transform 0.3s;
}

/* Product Card Scroll Animation */
.product-card {
    opacity: 0;
    animation: slideInFromBottom 0.6s ease-out forwards;
}

/* Product Badge */
.product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--danger);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 1;
}

.product-badge.new {
    background: var(--info);
}

.product-badge.trending {
    background: var(--secondary);
}

.product-card .card-body {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-card .card-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--dark);
    line-height: 1.4;
}

.product-card .card-text {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 12px;
    flex-grow: 1;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.product-price .current {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
}

.product-price .original {
    font-size: 0.9rem;
    color: #999;
    text-decoration: line-through;
}

.product-price .discount {
    background: var(--danger);
    color: white;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.product-card .card-footer {
    background: white;
    border-top: 1px solid var(--light);
    padding: 12px;
}

.product-card .btn {
    width: 100%;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s;
    padding: 10px;
}

.product-card .btn-primary {
    background: var(--primary);
    border: none;
    color: white;
}

.product-card .btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(46, 204, 113, 0.3);
}

.product-card .btn-success {
    background: #27ae60;
    border: none;
    color: white;
}

.product-card .btn-success:hover {
    background: #229954;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(39, 174, 96, 0.3);
}

.product-card .d-flex.gap-2 {
    display: flex;
    gap: 8px;
}

.product-card .d-flex.gap-2.flex-column {
    flex-direction: column;
}

/* =================== HOME SECTIONS =================== */
.home-sections {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
}

.home-section-row {
    margin-bottom: 100px;
    display: flex;
    align-items: center;
    gap: 60px;
}

.home-section-row.flex-row-reverse {
    flex-direction: row-reverse;
}

.home-section-image-col {
    flex: 1;
    min-width: 0;
}

.home-section-content-col {
    flex: 1;
    min-width: 0;
}

.home-section-img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
    height: auto;
}

.home-section-img:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.home-section-title {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 25px;
    color: var(--dark);
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.home-section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 5px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
    margin-top: 20px;
    border-radius: 3px;
}

.home-section-text {
    font-size: 1.05rem;
    line-height: 1.9;
    color: #555;
    letter-spacing: 0.3px;
}

.home-section-text p {
    margin-bottom: 18px;
}

.home-section-text:last-child {
    margin-bottom: 0;
}

/* Scroll Animation Classes */
@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-60px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(60px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromBottom {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.home-section-image-col {
    opacity: 0;
    animation: slideInFromLeft 0.8s ease-out forwards;
}

.home-section-row.flex-row-reverse .home-section-image-col {
    animation: slideInFromRight 0.8s ease-out forwards;
}

.home-section-content-col {
    opacity: 0;
    animation: slideInFromRight 0.8s ease-out 0.2s forwards;
}

.home-section-row.flex-row-reverse .home-section-content-col {
    animation: slideInFromLeft 0.8s ease-out 0.2s forwards;
}

/* =================== CONTINUOUS SCROLL ANIMATIONS =================== */
@keyframes smoothScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@keyframes smoothScrollReverse {
    0% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0);
    }
}

/* Smooth Scrolling Container */
.badges-scroll-wrapper {
    width: 100%;
    overflow: hidden;
    background: var(--light);
}

.badges-scroll-content {
    display: flex;
    animation: smoothScroll 20s linear infinite;
    will-change: transform;
}

.badges-scroll-content .col-md-3 {
    flex: 0 0 25%;
    min-width: 25%;
}

@media (max-width: 768px) {
    .badges-scroll-wrapper {
        overflow: visible;
    }

    .badges-scroll-content {
        animation: none;
        flex-wrap: wrap;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 20px 10px;
    }

    .badges-scroll-content .col-md-3 {
        flex: none;
        min-width: unset;
        width: 100%;
    }

    .badge-item {
        padding: 15px 10px;
        animation: slideInFromBottom 0.6s ease-out forwards !important;
    }

    .badge-item i {
        font-size: 2rem;
        margin-bottom: 10px;
    }

    .badge-item:hover i {
        font-size: 2.2rem;
    }

    .badge-item h6 {
        font-size: 0.9rem;
    }

    .badge-item p {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .badges-scroll-content {
        grid-template-columns: 1fr;
    }

    .badge-item i {
        font-size: 1.8rem;
    }

    .badge-item:hover i {
        font-size: 2rem;
    }
}

/* Continuous Scroll Classes */
.scroll-left-to-right {
    animation: smoothScroll 20s linear infinite;
    display: flex !important;
}

.scroll-right-to-left {
    animation: smoothScrollReverse 20s linear infinite;
    display: flex !important;
}

.scroll-left-to-right-slow {
    animation: smoothScroll 30s linear infinite;
    display: flex !important;
}

.scroll-right-to-left-slow {
    animation: smoothScrollReverse 30s linear infinite;
    display: flex !important;
}


.continuous-scroll {
    overflow: hidden;
    position: relative;
}

.continuous-scroll-item {
    display: inline-block;
    white-space: nowrap;
    padding: 0 20px;
}

@media (max-width: 768px) {
    .home-sections {
        padding: 60px 0;
    }

    .home-section-row {
        flex-direction: column !important;
        gap: 40px;
        margin-bottom: 60px;
    }

    .home-section-title {
        font-size: 2rem;
    }

    .home-section-text {
        font-size: 0.95rem;
        line-height: 1.8;
    }
}

/* =================== FOOTER =================== */
footer {
    background: var(--dark);
    color: white;
    padding: 60px 0 20px;
    margin-top: 80px;
}

.footer-section h5 {
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--primary);
    font-size: 1.1rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s;
}

.footer-section ul li a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(46, 204, 113, 0.2);
    border-radius: 50%;
    color: var(--primary);
    transition: all 0.3s;
}

.footer-social a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* =================== FORMS =================== */
.form-control {
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 12px 15px;
    font-size: 0.95rem;
    transition: all 0.3s;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.1);
    outline: none;
}

/* =================== BUTTONS =================== */
.btn {
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    padding: 10px 25px;
    font-size: 0.95rem;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(46, 204, 113, 0.3);
}

.btn-secondary {
    background: var(--secondary);
    color: white;
}

.btn-secondary:hover {
    background: #E67E22;
    transform: translateY(-2px);
}

.btn-danger {
    background: var(--danger);
    color: white;
}

.btn-danger:hover {
    background: #C0392B;
}

.btn-outline-primary {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--primary);
    color: white;
}

/* =================== UTILITIES =================== */
.section-spacing {
    padding: 60px 0;
}

.text-primary {
    color: var(--primary) !important;
}

.text-secondary {
    color: var(--secondary) !important;
}

.bg-light-primary {
    background: rgba(46, 204, 113, 0.05);
}

.border-primary {
    border-color: var(--primary) !important;
}

.divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    margin: 30px 0;
}

/* =================== RESPONSIVE =================== */
@media (max-width: 768px) {
    .section-title {
        font-size: 1.5rem;
    }

    .featured-products,
    .home-sections {
        padding: 40px 0;
    }

    .navbar {
        padding: 8px 0;
    }

    .search-bar {
        display: none !important;
        margin: 0 !important;
    }
    
    .nav-icon {
        display: none !important;
    }

    .cart-badge {
        display: none !important;
    }

    
    
    .top-bar {
        display: none !important;
    }
}

@media (max-width: 576px) {
    .product-card .card-title {
        font-size: 0.9rem;
    }

    .product-price .current {
        font-size: 1.1rem;
    }

    .home-section-title {
        font-size: 1.5rem;
    }

    .footer-section {
        margin-bottom: 30px;
    }
}

/* =================== ANIMATIONS =================== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-fade {
    animation: fadeIn 0.6s ease-out;
}

.animate-slide-up {
    animation: slideUp 0.6s ease-out;
}

.animate-slide-left {
    animation: slideInLeft 0.6s ease-out;
}

.animate-slide-right {
    animation: slideInRight 0.6s ease-out;
}

/* =================== REALISTIC WATER WAVE ANIMATIONS =================== */

/* Wave 1 - Main wave */
@keyframes water-wave-1 {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 40px 0;
    }
}

/* Wave 2 - Secondary wave */
@keyframes water-wave-2 {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 40px 0;
    }
}

/* Wave 3 - Tertiary wave */
@keyframes water-wave-3 {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 40px 0;
    }
}

/* Floating wave effect */
@keyframes floating-wave {
    0%, 100% {
        transform: translateY(0px) scaleX(1);
    }
    25% {
        transform: translateY(-3px) scaleX(1.02);
    }
    50% {
        transform: translateY(0px) scaleX(1);
    }
    75% {
        transform: translateY(3px) scaleX(0.98);
    }
}

/* Wave container */
.wave-container {
    position: relative;
    height: 120px;
    background: linear-gradient(to bottom, rgba(46, 204, 113, 0.1), rgba(46, 204, 113, 0.3));
    overflow: hidden;
}

.wave-container::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 60px;
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 40 10" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><path d="M0,5 Q10,0 20,5 T40,5" stroke="%232ECC71" stroke-width="0.5" fill="none"/></svg>');
    background-repeat: repeat-x;
    background-size: 40px 100%;
    animation: water-wave-1 3s linear infinite;
}

.wave-container::after {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 0;
    width: 200%;
    height: 50px;
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 40 10" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><path d="M0,5 Q10,0 20,5 T40,5" stroke="%2327AE60" stroke-width="0.5" fill="none"/></svg>');
    background-repeat: repeat-x;
    background-size: 40px 100%;
    animation: water-wave-2 4s linear infinite reverse;
    opacity: 0.7;
}

/* Wave effect for elements */
.water-wave {
    position: relative;
    animation: floating-wave 3s ease-in-out infinite;
}

.water-wave-fast {
    animation: floating-wave 1.5s ease-in-out infinite;
}

.water-wave-slow {
    animation: floating-wave 4s ease-in-out infinite;
}

/* Wave ripple effect */
.wave-ripple {
    position: relative;
    overflow: hidden;
}

.wave-ripple::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 60 30" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><path d="M0,15 Q15,5 30,15 T60,15" fill="none" stroke="%232ECC71" stroke-width="1"/><path d="M0,20 Q15,10 30,20 T60,20" fill="none" stroke="%2327AE60" stroke-width="1" opacity="0.6"/></svg>');
    background-repeat: repeat-x;
    background-size: 60px 100%;
    animation: water-wave-1 4s linear infinite;
    opacity: 0.3;
    pointer-events: none;
}
/* =================== QUANTITY SPINNER =================== */
.quantity-spinner {
    display: flex;
    align-items: center;
    gap: 0;
    border: 2px solid var(--primary);
    border-radius: 8px;
    overflow: hidden;
    background: white;
}

.qty-btn {
    background: var(--primary);
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    padding: 0;
}

.qty-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

.qty-btn:active {
    transform: scale(0.95);
}

.qty-input {
    border: none !important;
    text-align: center;
    font-size: 1.2rem;
    font-weight: 600;
    flex: 1;
    padding: 0 15px !important;
    height: 45px;
    color: var(--dark);
}

.qty-input:focus {
    outline: none;
    box-shadow: none;
    background: white;
}

/* Remove number input arrows */
.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.qty-input[type=number] {
    -moz-appearance: textfield;
}

/* =================== VIDEOS SECTION =================== */
.videos-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
}

/* Hero Video Section */
.video-hero-section {
    background: #000;
    margin: 40px 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.video-hero-section iframe,
.video-hero-section video {
    display: block;
    object-fit: cover;
}

@media (max-width: 768px) {
    .video-hero-section {
        margin: 20px 0;
        border-radius: 8px;
    }
}

/* Mobile Landscape Full-Screen Videos */
@media (max-width: 768px) and (orientation: landscape) {
    .video-hero-section {
        position: relative;
        margin: 0;
        border-radius: 0;
        width: 100vw;
        margin-left: calc(-50vw + 50%);
        height: 100vh;
    }
    
    .video-hero-section > div {
        padding-bottom: 0 !important;
        height: 100vh !important;
    }
    
    .video-hero-section iframe,
    .video-hero-section video {
        height: 100vh !important;
        object-fit: cover;
    }
}

@media (max-width: 768px) {
    .videos-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .video-card {
        min-height: 350px;
        border-radius: 12px;
        cursor: pointer;
    }
    
    .video-card:active {
        transform: scale(0.98);
    }
    
    /* Full-screen video modal on mobile landscape */
    .video-card.fullscreen-active {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        z-index: 9999 !important;
        border-radius: 0 !important;
        margin: 0 !important;
    }
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.video-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.video-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.video-thumbnail {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    background: #000;
}

.video-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-card:hover .video-thumbnail img {
    transform: scale(1.1);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: rgba(46, 204, 113, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: white;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.video-card:hover .play-button {
    background: var(--primary);
    transform: translate(-50%, -50%) scale(1.15);
}

.video-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.video-content h5 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--dark);
    line-height: 1.4;
}

.video-content p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 15px;
    flex-grow: 1;
}

.video-content .btn {
    align-self: flex-start;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 8px 20px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.video-content .btn:hover {
    background: var(--primary-dark);
    transform: translateX(3px);
}

/* Modal Video Container */
#videoContainer {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    background: #000;
    border-radius: 8px;
}

#videoPlayer {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
}

/* Mobile Reel Style Videos */
@media (max-width: 768px) {
    .videos-section {
        padding: 60px 10px;
    }

    .videos-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-top: 30px;
    }

    .video-card {
        min-height: 350px;
        border-radius: 12px;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
        overflow: hidden;
        transition: transform 0.2s ease;
        cursor: pointer;
    }
    
    .video-card:active {
        transform: scale(0.97);
    }

    .video-thumbnail {
        padding-bottom: 75%;
    }

    .play-button {
        width: 60px;
        height: 60px;
        font-size: 25px;
    }

    .video-content h5 {
        font-size: 1rem;
    }

    .video-content p {
        font-size: 0.85rem;
        line-height: 1.5;
    }
}

@media (max-width: 480px) {
    .videos-grid {
        grid-template-columns: 1fr;
        margin-top: 20px;
    }

    .video-card {
        min-height: 400px;
        border-radius: 16px;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    }

    .video-thumbnail {
        padding-bottom: 100%;
        height: 300px;
    }

    .play-button {
        width: 70px;
        height: 70px;
        font-size: 28px;
    }

    .video-content {
        padding: 15px;
    }

    .video-content h5 {
        font-size: 0.95rem;
        font-weight: 600;
    }

    .video-content p {
        font-size: 0.8rem;
        line-height: 1.4;
    }

    .video-content .btn {
        width: 100%;
        text-align: center;
    }
    
    /* Landscape mode - fullscreen */
    @media (orientation: landscape) {
        .video-card {
            min-height: 100vh;
            border-radius: 0;
            position: relative;
        }
        
        .video-thumbnail {
            height: 100vh;
            padding-bottom: 0;
        }
        
        .video-content {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
            padding: 30px 15px 15px;
            border-radius: 0;
        }
        
        .video-content h5 {
            font-size: 1rem;
            color: white;
        }
        
        .video-content p {
            font-size: 0.75rem;
            color: rgba(255,255,255,0.8);
        }
        
        .video-content .btn {
            display: none;
        }
    }
}