/* ============================================================
   The Fruity World — "Sun-Drenched Market" Design System
   ============================================================ */

/* ===== Custom Properties ===== */
:root {
    --primary: #4CAF50;
    --primary-dark: #388E3C;
    --primary-light: #E8F5E9;
    --accent: #FF6D3F;
    --accent-dark: #E5582D;
    --accent-light: #FFF3EE;
    --warm: #FFF8F0;
    --warm-deep: #FAF0E4;
    --dark: #2D3436;
    --text: #4A4A4A;
    --text-light: #7F8C8D;
    --white: #ffffff;
    --shadow-sm: 0 2px 12px rgba(45, 52, 54, 0.06);
    --shadow: 0 4px 24px rgba(45, 52, 54, 0.08);
    --shadow-lg: 0 12px 40px rgba(45, 52, 54, 0.12);
    --radius: 16px;
    --radius-lg: 24px;
    --transition: 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ===== Base ===== */
*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text);
    line-height: 1.7;
    background-color: var(--warm);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'DM Serif Display', serif;
    color: var(--dark);
    font-weight: 400;
    line-height: 1.2;
}

a {
    text-decoration: none;
    transition: color var(--transition);
}

img {
    max-width: 100%;
    height: auto;
}

section {
    padding: 6rem 0;
    position: relative;
}

/* ===== Buttons ===== */
.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.3);
}

.btn-accent {
    background-color: var(--accent);
    border-color: var(--accent);
    color: var(--white);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
}

.btn-accent:hover,
.btn-accent:focus {
    background-color: var(--accent-dark);
    border-color: var(--accent-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 109, 63, 0.3);
}

.btn-pill {
    border-radius: 50px;
    padding: 0.85rem 2.25rem;
    font-weight: 600;
    transition: all var(--transition);
}

.btn-pill-sm {
    border-radius: 50px;
    padding: 0.6rem 1.5rem;
    font-weight: 600;
    font-size: 0.9rem;
}

/* ===== Navbar ===== */
.navbar {
    padding: 1.1rem 0;
    transition: all var(--transition);
    z-index: 1000;
}

/* Transparent state (homepage hero) */
#mainNav:not(.scrolled) {
    background: transparent;
}

#mainNav:not(.scrolled) .nav-link {
    color: var(--white) !important;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

#mainNav:not(.scrolled) .nav-link:hover,
#mainNav:not(.scrolled) .nav-link.active {
    color: rgba(255, 255, 255, 0.85) !important;
}

#mainNav:not(.scrolled) .nav-link.active::after {
    background: var(--white);
}

#mainNav:not(.scrolled) .navbar-toggler-icon {
    filter: brightness(0) invert(1);
}

/* Solid state */
.navbar.scrolled {
    background-color: rgba(255, 248, 240, 0.95) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(45, 52, 54, 0.06);
    padding: 0.6rem 0;
}

.navbar-brand img {
    height: 52px;
    transition: height var(--transition);
}

.navbar.scrolled .navbar-brand img {
    height: 42px;
}

.navbar .nav-link {
    font-weight: 600;
    color: var(--text) !important;
    padding: 0.5rem 1.25rem !important;
    position: relative;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
    transition: color var(--transition);
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: var(--primary) !important;
}

.navbar .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1.25rem;
    right: 1.25rem;
    height: 2.5px;
    background: var(--accent);
    border-radius: 2px;
}

.navbar-toggler {
    border: none;
    padding: 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

@media (max-width: 991.98px) {
    .navbar {
        background-color: rgba(255, 248, 240, 0.97) !important;
        backdrop-filter: blur(12px);
        box-shadow: var(--shadow-sm);
    }

    .navbar .nav-link,
    #mainNav:not(.scrolled) .nav-link {
        color: var(--text) !important;
        text-shadow: none;
        padding: 0.75rem 0 !important;
    }

    .navbar .nav-link:hover,
    .navbar .nav-link.active,
    #mainNav:not(.scrolled) .nav-link:hover,
    #mainNav:not(.scrolled) .nav-link.active {
        color: var(--primary) !important;
    }

    .navbar .nav-link.active::after,
    #mainNav:not(.scrolled) .nav-link.active::after {
        display: none;
    }

    #mainNav:not(.scrolled) .navbar-toggler-icon {
        filter: none;
    }

    .navbar-collapse {
        padding: 1rem 0;
    }

}

/* ===== Hero ===== */
.hero {
    min-height: 92vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center 60%;
    position: relative;
    overflow: hidden;
    padding: 6rem 0 4rem;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.65) 0%,
        rgba(0, 0, 0, 0.45) 50%,
        rgba(0, 0, 0, 0.6) 100%
    );
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    background: rgba(76, 175, 80, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50px;
    padding: 0.55rem 1.6rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--white);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1.75rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero h1 {
    font-size: clamp(2.6rem, 5.5vw, 4rem);
    color: var(--white);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1.75rem;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
    letter-spacing: -0.01em;
}

.hero p {
    font-size: 1.15rem;
    color: #fff;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.75;
    margin-bottom: 2rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8), 0 3px 12px rgba(0, 0, 0, 0.5);
    font-weight: 500;
}


/* Hero staggered text animation */
.hero-animate {
    opacity: 0;
    transform: translateY(30px);
    animation: heroFadeUp 0.8s ease forwards;
}

.hero-animate-1 { animation-delay: 0.2s; }
.hero-animate-2 { animation-delay: 0.5s; }
.hero-animate-3 { animation-delay: 0.8s; }

@keyframes heroFadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Page Header ===== */
.page-header {
    padding: 12rem 0 5.5rem;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(76, 175, 80, 0.82) 0%,
        rgba(56, 142, 60, 0.7) 40%,
        rgba(255, 109, 63, 0.6) 100%
    );
}

.page-header::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.05'/%3E%3C/svg%3E");
    pointer-events: none;
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    color: var(--white);
    font-size: 3.25rem;
    margin-bottom: 0.75rem;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(20px);
    animation: heroFadeUp 0.7s ease forwards 0.15s;
}

.page-header h1::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), rgba(255, 255, 255, 0.6));
    border-radius: 2px;
    margin: 1rem auto 0;
}

.page-header .breadcrumb {
    margin-bottom: 0;
    justify-content: center;
    opacity: 0;
    transform: translateY(15px);
    animation: heroFadeUp 0.7s ease forwards 0.35s;
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
}

.page-header .breadcrumb-item a:hover {
    color: var(--white);
}

.page-header .breadcrumb-item.active {
    color: var(--white);
}

.page-header .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
}

/* Compact variant — smaller padding, dark text, light overlay */
.page-header-compact {
    padding: 8.5rem 0 2.5rem;
}

.page-header-compact::before {
    background: var(--primary-light);
}

.page-header-compact h1 {
    color: var(--dark);
    font-size: 2.5rem;
    text-shadow: none;
}

.page-header-compact h1::after {
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

.page-header-compact .breadcrumb-item,
.page-header-compact .breadcrumb-item a {
    color: var(--text);
}

.page-header-compact .breadcrumb-item a:hover {
    color: var(--primary);
}

.page-header-compact .breadcrumb-item.active {
    color: var(--dark);
}

.page-header-compact .breadcrumb-item + .breadcrumb-item::before {
    color: var(--text-light);
}

@media (max-width: 767.98px) {
    .page-header-compact {
        padding: 7rem 0 1.5rem;
    }

    .page-header-compact h1 {
        font-size: 1.8rem;
    }
}

/* ===== Wavy Section Dividers ===== */
.wave-divider {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 4;
}

.wave-divider svg {
    display: block;
    width: 100%;
    height: 60px;
}

.wave-divider-top {
    position: absolute;
    top: -1px;
    bottom: auto;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 4;
    transform: rotate(180deg);
}

.wave-divider-top svg {
    display: block;
    width: 100%;
    height: 60px;
}

/* ===== Section Header ===== */
.section-header {
    margin-bottom: 3.5rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 2px;
}

.section-header.text-center h2::after {
    left: 50%;
    transform: translateX(-50%);
}

.section-header p {
    color: var(--dark);
    font-size: 1.1rem;
    margin-top: 1.25rem;
    max-width: 550px;
}

.section-header.text-center p {
    margin-left: auto;
    margin-right: auto;
}

/* ===== About Section ===== */
.about-img-wrapper {
    position: relative;
}

.about-img-wrapper img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    object-fit: cover;
}

.reveal-right p,
.reveal-right .about-check {
    color: var(--dark);
}

.about-check {
    display: flex;
    align-items: center;
    margin-bottom: 0.85rem;
    font-weight: 500;
}

.about-check i {
    color: var(--primary);
    font-size: 1.25rem;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

/* ===== Stats Section ===== */
.stats-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 4.5rem 0;
    position: relative;
    overflow: hidden;
}

.stats-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.06'/%3E%3C/svg%3E");
    pointer-events: none;
}

.stat-item {
    text-align: center;
    position: relative;
    z-index: 1;
}

.stat-number {
    font-family: 'DM Serif Display', serif;
    font-size: 3.5rem;
    color: var(--white);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

/* ===== Horizontal Feature Cards ===== */
.feature-card-h {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.75rem;
    box-shadow: var(--shadow);
    transition: transform var(--transition), box-shadow var(--transition);
    height: 100%;
    border: 1px solid rgba(76, 175, 80, 0.08);
    position: relative;
    overflow: hidden;
}

.feature-card-h::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--primary), var(--accent));
    opacity: 0;
    transition: opacity var(--transition);
}

.feature-card-h:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-card-h:hover::before {
    opacity: 1;
}

.feature-icon-h {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background var(--transition);
}

.feature-card-h:hover .feature-icon-h {
    background: linear-gradient(135deg, var(--primary-light), var(--accent-light));
}

.feature-icon-h i {
    font-size: 1.5rem;
    color: var(--primary);
}

.feature-text-h h4 {
    font-size: 1.15rem;
    margin-bottom: 0.4rem;
    color: var(--dark);
}

.feature-text-h p {
    font-size: 0.9rem;
    color: var(--text);
    margin-bottom: 0;
    line-height: 1.65;
}

/* ===== Featured Product Cards ===== */
.section-supply {
    padding-top: 7rem;
    padding-bottom: 7rem;
}


.section-tight {
    padding: 3rem 0;
}

/* ===== Compact Bestseller Cards ===== */
.bestseller-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
    border: 1.5px solid rgba(0, 0, 0, 0.04);
    height: 100%;
}
.bestseller-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: rgba(76, 175, 80, 0.15);
}
.bestseller-img {
    position: relative;
    overflow: hidden;
    height: 180px;
}
.bestseller-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.bestseller-card:hover .bestseller-img img {
    transform: scale(1.05);
}
.bestseller-img .card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--accent);
    color: var(--white);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.3rem 0.7rem;
    border-radius: 50px;
    z-index: 1;
}
.bestseller-body {
    padding: 1.1rem 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.bestseller-body h5 {
    font-size: 1.1rem;
    margin-bottom: 0.15rem;
    color: var(--dark);
}
.bestseller-origin {
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 600;
    display: block;
    margin-bottom: 0.5rem;
}
.bestseller-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-top: auto;
}
.bestseller-btn {
    font-size: 0.72rem;
    padding: 0.3rem 0.75rem;
    white-space: nowrap;
}

/* ===== Overlay Product Cards ===== */
.overlay-card {
    display: block;
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 420px;
    text-decoration: none;
    color: var(--white);
}
.overlay-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.overlay-card:hover img {
    transform: scale(1.05);
}
.overlay-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--accent);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.35rem 0.85rem;
    border-radius: 50px;
    z-index: 2;
}
.overlay-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.7) 55%, rgba(0,0,0,0.25) 100%);
    z-index: 1;
}
.overlay-content .overlay-origin {
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--white);
    display: block;
    margin-bottom: 0.35rem;
}
.overlay-content h3 {
    font-size: 1.6rem;
    color: var(--white);
    margin-bottom: 0.4rem;
    text-shadow: 0 1px 6px rgba(0,0,0,0.4);
}
.overlay-content p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0.75rem;
    color: var(--white);
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}
.overlay-link {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--white);
    border-bottom: 2px solid var(--accent);
    padding-bottom: 2px;
    transition: border-color var(--transition);
}
.overlay-card:hover .overlay-link {
    border-color: var(--white);
}

/* ===== Product Page Intro ===== */
/* ===== Product Cards ===== */
.product-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
    height: 100%;
    border: 1.5px solid rgba(0, 0, 0, 0.04);
    position: relative;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(76, 175, 80, 0.2);
}

.product-card .card-img-wrapper {
    overflow: hidden;
    background: linear-gradient(135deg, var(--warm-deep), var(--primary-light));
    padding: 1.25rem;
    position: relative;
}

.product-card .card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--white);
    color: var(--primary);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.3rem 0.75rem;
    border-radius: 50px;
    box-shadow: var(--shadow-sm);
    z-index: 1;
}

.product-card .card-badge-rice {
    color: #B8860B;
}

.product-card img {
    width: 100%;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.product-card .card-body {
    padding: 1.25rem 1.25rem 1.5rem;
    text-align: center;
}

.product-card h5 {
    font-family: 'DM Serif Display', serif;
    font-weight: 400;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    color: var(--dark);
}

.product-card .card-origin {
    font-size: 0.8rem;
    color: var(--text-light);
    font-weight: 500;
}

/* ===== Contact Section ===== */
.contact-info {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    border-radius: var(--radius-lg);
    padding: 3rem;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.contact-info::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.contact-info > * {
    position: relative;
    z-index: 1;
}

.contact-info h5 {
    color: var(--white);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.contact-info p {
    margin-bottom: 1.75rem;
    opacity: 0.92;
}

.contact-info a {
    color: var(--white);
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, 0.4);
    text-underline-offset: 2px;
}

.contact-info a:hover {
    color: var(--white);
    text-decoration-color: var(--white);
}

.contact-info i {
    margin-right: 0.6rem;
}


.contact-form {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow);
}

.contact-form .form-control {
    border-radius: 12px;
    padding: 0.9rem 1.1rem;
    border: 1.5px solid #e8e8e8;
    font-size: 0.95rem;
    background: var(--warm);
    transition: all var(--transition);
}

.contact-form .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.12);
    background: var(--white);
}

.contact-form .form-control::placeholder {
    color: #b0b0b0;
}

.contact-form select.form-control {
    appearance: auto;
    color: var(--text);
}

.contact-form label {
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

#formConfirmation {
    text-align: center;
    padding: 3.5rem 1.5rem;
}

#formConfirmation .check-circle {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    animation: checkPop 0.5s ease;
}

#formConfirmation .check-circle i {
    font-size: 2.75rem;
    color: var(--white);
}

@keyframes checkPop {
    0% { transform: scale(0); opacity: 0; }
    60% { transform: scale(1.15); }
    100% { transform: scale(1); opacity: 1; }
}

#formConfirmation h3 {
    color: var(--primary);
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
}

/* ===== Footer ===== */
.footer {
    background: linear-gradient(180deg, var(--warm-deep) 0%, #F2E8D9 100%);
    color: var(--text);
    padding: 0;
    padding-top: 4rem;
    position: relative;
}

.footer-main {
    padding: 5rem 0 3rem;
}

.footer-cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius-lg);
    padding: 3rem;
    text-align: center;
    margin-top: -3.5rem;
    position: relative;
    z-index: 2;
    box-shadow: 0 12px 40px rgba(76, 175, 80, 0.25);
}

.footer-cta h3 {
    color: var(--white);
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.footer-cta p {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.footer-cta .btn {
    background: var(--white);
    color: var(--primary);
    font-weight: 700;
    border: none;
}

.footer-cta .btn:hover {
    background: var(--dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.footer h5 {
    color: var(--dark);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.footer-about p {
    color: var(--dark);
    font-size: 0.95rem;
    line-height: 1.8;
}

.footer a {
    color: var(--text-light);
    text-decoration: none;
    transition: color var(--transition);
}

.footer a:hover {
    color: var(--primary);
}

.footer .footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer .footer-links li {
    margin-bottom: 0.65rem;
}

.footer .footer-links a {
    font-size: 0.95rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--text);
    transition: all var(--transition);
}

.footer .footer-links a::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--primary);
    flex-shrink: 0;
    transition: all var(--transition);
}

.footer .footer-links a:hover {
    color: var(--primary);
    transform: translateX(4px);
}

.footer .footer-links a:hover::before {
    background: var(--accent);
}

.footer .contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.footer .contact-item-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.footer .contact-item-icon i {
    color: var(--primary);
    font-size: 1rem;
}

.footer .contact-item-text {
    font-size: 0.95rem;
    color: var(--dark);
    line-height: 1.6;
}

.footer .contact-item-text a {
    color: var(--dark);
    text-decoration: none;
}

.footer .contact-item-text a:hover {
    color: var(--primary);
}

.footer-bottom {
    background: var(--dark);
    padding: 1.25rem 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom a:hover {
    color: var(--primary);
}

/* ===== Product Detail Page ===== */
.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.product-gallery-main {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.product-gallery-main img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    display: block;
}

@media (max-width: 991.98px) {
    .product-gallery-main img {
        height: 350px;
    }
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.85);
    color: var(--dark);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: all var(--transition);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.product-gallery-main:hover .gallery-nav {
    opacity: 1;
}

.gallery-nav:hover {
    background: var(--primary);
    color: var(--white);
}

.gallery-prev {
    left: 12px;
}

.gallery-next {
    right: 12px;
}

.product-gallery-thumbs {
    display: flex;
    gap: 12px;
}

.product-gallery-thumbs img {
    flex: 1;
    min-width: 0;
    height: 90px;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    transition: all var(--transition);
    cursor: pointer;
    opacity: 0.6;
    border: 3px solid transparent;
}

.product-gallery-thumbs img:hover {
    opacity: 0.85;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.product-gallery-thumbs img.active {
    opacity: 1;
    border-color: var(--primary);
    box-shadow: 0 4px 16px rgba(76, 175, 80, 0.25);
}

.product-detail-img {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.product-detail-img img {
    width: 100%;
    display: block;
}

.product-spec-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.product-spec-table tr:nth-child(even) {
    background: var(--warm-deep);
}

.product-spec-table td {
    padding: 0.85rem 1.25rem;
    font-size: 0.95rem;
    color: var(--dark);
    vertical-align: top;
}

.product-spec-table td:first-child {
    font-weight: 600;
    white-space: nowrap;
    width: 180px;
    color: var(--dark);
}

.product-spec-table td:first-child i {
    color: var(--primary);
    margin-right: 0.5rem;
}

@media (max-width: 575.98px) {
    .product-spec-table td:first-child {
        width: auto;
    }
}

/* ===== Back to Top ===== */
.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 99;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.4);
    color: var(--white);
}

/* ===== Scroll Reveal Animations ===== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-left.active,
.reveal-right.active,
.reveal-scale.active {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1);
}

/* Stagger delays */
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ===== Warm Section Backgrounds ===== */
.bg-warm {
    background-color: var(--warm);
}

.bg-warm-deep {
    background-color: var(--warm-deep);
}


/* ===== Responsive ===== */
@media (max-width: 767.98px) {
    section {
        padding: 4rem 0;
    }

    .hero {
        min-height: 85vh;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .section-header h2 {
        font-size: 1.85rem;
    }

    .footer-cta {
        padding: 2rem;
        margin-top: -2.5rem;
    }

    .footer-cta h3 {
        font-size: 1.4rem;
    }

    .page-header {
        padding: 9rem 0 3.5rem;
    }

    .page-header h1 {
        font-size: 2.2rem;
    }

    .stat-number {
        font-size: 2.75rem;
    }

    .product-gallery-main img {
        height: 280px;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .contact-info {
        padding: 2rem;
    }

    .wave-divider svg,
    .wave-divider-top svg {
        height: 35px;
    }
}
