/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #fcf9f5;
    --bg-secondary: #ffffff;
    --bg-card: #ffffff;
    --accent: #C9A96E;
    --accent-dark: #A8894D;
    --accent-light: #F4E8C1;
    --text-primary: #1e2a3a;
    --text-muted: #5a6b7c;
    --border-light: #E5DCC8;
    --shadow: 0 8px 30px rgba(169, 137, 77, 0.12);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Space Grotesk', 'Noto Kufi Arabic', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    background-image: radial-gradient(ellipse 60% 40% at 50% 50%, rgba(201, 169, 110, 0.04), transparent 70%);
    background-attachment: fixed;
    transition: background-color 0.3s ease, color 0.3s ease;
    position: relative;
    overflow-x: hidden;
    min-height: 100vh;
    padding-top: 0;
}

body,
button,
input,
textarea,
select {
    font-feature-settings: 'ss01' 1;
}

h1,
h2,
h3,
.logo,
.ZD,
.ZD-2,
.About,
.About3 {
    font-family: 'Orbitron', 'Noto Kufi Arabic', sans-serif;
}

h1,
h2,
h3 {
    color: var(--text-primary);
    letter-spacing: 0.02em;
}

p {
    color: var(--text-muted);
}

/* ===== LOADING SCREEN ===== */
.site-loader {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 14px;
    background: var(--bg-secondary);
    color: var(--text-primary);
    text-align: center;
    transition: opacity 0.45s ease, visibility 0.45s ease;
}

.site-loader-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-mark {
    display: grid;
    width: 112px;
    height: 112px;
    place-items: center;
    border: 1px solid var(--accent);
    border-radius: 50%;
    box-shadow: var(--shadow);
    animation: loaderPulse 1.8s ease-in-out infinite;
}

.loader-mark img {
    width: 86px;
    height: 86px;
    object-fit: contain;
}

.site-loader p {
    color: var(--text-muted);
    font-size: 0.85rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.loader-line {
    width: 150px;
    height: 3px;
    overflow: hidden;
    border-radius: 3px;
    background: rgba(30, 42, 58, 0.10);
}

.loader-line span {
    display: block;
    width: 45%;
    height: 100%;
    border-radius: inherit;
    background: var(--accent);
    animation: loaderProgress 1s ease-in-out infinite;
}

@keyframes loaderPulse {
    0%, 100% { transform: scale(0.96); opacity: 0.78; }
    50% { transform: scale(1); opacity: 1; }
}

@keyframes loaderProgress {
    from { transform: translateX(-120%); }
    to { transform: translateX(330%); }
}

/* ===== THREE.JS CANVAS OVERLAY ===== */
#c {
    display: block;
    position: fixed;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    z-index: -1;
    opacity: 0.6;
    pointer-events: none;
}

.vignette {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: radial-gradient(ellipse at center, transparent 30%, rgba(252, 249, 245, 0.85) 100%);
}

/* ===== STICKY HEADER ===== */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    width: 100%;
    overflow: visible;
    font-family: 'Space Grotesk', 'Noto Kufi Arabic', sans-serif;
    color: var(--text-primary);
    padding: 0.8rem clamp(0.75rem, 2vw, 1.5rem);
    min-height: 80px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow);
    border-radius: 0;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.header.scrolled {
    box-shadow: 0 4px 40px rgba(0, 0, 0, 0.08);
    background: transparent;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex: 0 1 auto;
    width: auto;
    min-height: 0;
}

.logo-container {
    display: flex;
    align-items: center;
    width: auto;
    gap: 14px;
}

.nav-logo {
    height: 80px;
    width: auto;
    display: block;
    border-radius: 50%;
    filter: drop-shadow(0 0 12px rgba(201, 169, 110, 0.20));
    transition: transform 0.4s ease;
}

.nav-logo:hover {
    transform: rotate(-6deg) scale(1.04);
}

.logo-text-wrapper {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo {
    font-family: 'Orbitron', 'Noto Kufi Arabic', sans-serif;
    font-size: 22px;
    font-weight: 900;
    color: var(--text-primary);
    text-decoration: none;
    white-space: nowrap;
    letter-spacing: 1px;
}

.header .logo {
    position: static;
}

.ZD {
    color: var(--accent);
    font-size: 28px;
    font-weight: 900;
    font-family: 'Orbitron', sans-serif;
    position: static;
}

.ZD-2 {
    color: var(--text-primary);
    font-size: 18px;
    font-weight: 900;
    font-family: 'Orbitron', sans-serif;
    position: static;
}

.description {
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 700;
    font-family: 'Noto Kufi Arabic', sans-serif;
    white-space: nowrap;
    align-self: stretch;
    position: static;
    text-align: center;
}

nav {
    display: flex;
    justify-content: flex-end;
    flex: 1 1 auto;
    min-width: 0;
    position: relative;
    top: auto;
    right: auto;
    width: auto;
    margin: 0;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: clamp(12px, 2.4vw, 42px);
    padding: 0;
    flex-wrap: nowrap;
    color: var(--text-primary);
}

nav ul li {
    flex: 0 0 auto;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-muted);
    font: 600 18px 'Space Grotesk', 'Noto Kufi Arabic', sans-serif;
    font-weight: 500;
    padding: 8px 0;
    border: 2.5px solid transparent;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    top: 0px;
}

nav ul li a:hover {
    color: var(--accent);
    border-color: var(--accent);
    border-radius: 10px;
    transform: translateX(-6px) scale(1.08);
}


nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: all 0.3s ease;
}

/* ===== SOCIAL QR BUTTONS ===== */
.qr-btn,
.qr-btn-2,
.qr-btn-3,
.qr-btn-4 {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    border: 2px solid var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    position: fixed;
    right: 20px;
    z-index: 1001;
}

.qr-btn {
    top: calc(50% + 1.5px);
    background-color: #25D366;
}
.qr-btn-2 {
    background-color: #1403ad;
    top: calc(50% - 70px);
}
.qr-btn-3 {
    top: calc(50% - 140px);
    background: linear-gradient(135deg, #4A5DBA 0%, #9333A3 25%, #E2533D 65%, #F7CB5F 100%);
}
.qr-btn-4 {
    top: calc(50% + 70px);
    background-color: #1DA1F2;
}

.qr-btn img,
.qr-btn-2 img,
.qr-btn-3 img,
.qr-btn-4 img {
    width: 32px;
    height: 32px;
    transition: transform 0.3s ease;
}

.qr-btn:hover,
.qr-btn-2:hover,
.qr-btn-3:hover,
.qr-btn-4:hover {
    transform: translateX(-8px) scale(1.1);
    border-color: #C9A96E;
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.15);
}

.qr-btn:hover img,
.qr-btn-2:hover img,
.qr-btn-3:hover img,
.qr-btn-4:hover img {
    transform: scale(1.15) rotate(-6deg);
}

/* ===== MODAL ===== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(30, 42, 58, 0.70);
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(6px);
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal-content {
    background: var(--bg-secondary);
    padding: 28px 32px 24px;
    border-radius: 16px;
    text-align: center;
    position: relative;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-light);
    max-width: 340px;
    width: 100%;
    animation: modalSlideUp 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-content h3 {
    color: var(--text-primary);
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.qr-image {
    width: 200px;
    height: 200px;
    margin-top: 12px;
    border-radius: 8px;
    border: 2px solid var(--border-light);
    transition: transform 0.4s ease;
}

.qr-image:hover {
    transform: scale(1.04) rotate(-2deg);
}

.qr-footer {
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid var(--border-light);
}

.qr-footer[hidden] {
    display: none;
}
.qr-link[hidden] {
    display: none;
}

.qr-link {
    display: inline-block;
    margin-top: 6px;
    color: var(--accent);
    font-weight: 700;
    text-decoration: none;
    transition: color 0.3s;
}

.qr-link:hover {
    color: var(--accent-dark);
}

.close-btn {
    position: absolute;
    top: 8px;
    right: 16px;
    font-size: 28px;
    cursor: pointer;
    color: var(--text-muted);
    transition: color 0.3s, transform 0.3s;
    background: none;
    border: 0;
    line-height: 1;
}

.close-btn:hover {
    color: var(--text-primary);
    transform: rotate(90deg);
}

/* ===== HOME CARDS ===== */
#home {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 24px;
    margin: 0 auto;
    scroll-margin-top: 24px;
    flex-wrap: wrap;
    max-width: 1100px;
    padding: 0 1.5rem;
    margin-top: clamp(250px, 30vh, 500px);
    scroll-margin-top: 250px;
}

.parent {
    flex: 1 1 0;
    width: 100%;
    max-width: 270px;
    min-width: 200px;
    height: 280px;
    perspective: 1000px;
    position: relative;
    display: inline-block;
}

.card {
    height: 100%;
    border-radius: 50px;
    background: var(--bg-secondary);
    transition: transform 0.85s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.85s cubic-bezier(0.22, 1, 0.36, 1);
    transform-style: preserve-3d;
    will-change: transform;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-light);
}

.glass {
    transform-style: preserve-3d;
    position: absolute;
    inset: 8px;
    border-radius: 55px;
    border-top-right-radius: 100%;
    background: linear-gradient(0deg, #C9A96E 25%, rgba(255, 255, 255, 0.9) 100%);
    backdrop-filter: blur(4px);
    transform: translate3d(0px, 0px, 25px);
    border-left: 1px solid rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.6);
    transition: transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

.content {
    padding: 100px 36px 0 28px;
    transform: translate3d(0, 0, 26px);
    position: relative;
    z-index: 2;
}

.content .title {
    display: block;
    color: var(--text-primary);
    font-weight: 900;
    font-size: 20px;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 0.5px;
}

.content .text {
    display: block;
    color: var(--text-muted);
    font-size: 15px;
    margin-top: 14px;
    font-weight: 500;
}

.logo {
    position: absolute;
    right: 0;
    top: 0;
    transform-style: preserve-3d;
}

.logo .circle {
    display: block;
    position: absolute;
    aspect-ratio: 1;
    border-radius: 50%;
    top: 0;
    right: 0;
    box-shadow: rgba(30, 42, 58, 0.08) -10px 10px 20px 0px;
    backdrop-filter: blur(5px);
    background: rgba(201, 169, 110, 0.10);
    transition: transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

.logo .circle2 { width: 140px; transform: translate3d(0, 0, 40px); top: 10px; right: 10px; backdrop-filter: blur(1px); transition-delay: 0.4s; opacity: 0.45; }
.logo .circle3 { width: 110px; transform: translate3d(0, 0, 60px); top: 17px; right: 17px; transition-delay: 0.8s; opacity: 0.55; }
.logo .circle4 { width: 80px; transform: translate3d(0, 0, 80px); top: 23px; right: 23px; transition-delay: 1.2s; }
.logo .circle5 {
    width: 50px; transform: translate3d(0, 0, 100px); top: 30px; right: 30px;
    display: grid; place-content: center; background-color: rgba(201, 169, 110, 0.15);
    background-image: url('zed logo transparent.png'); background-position: center; background-repeat: no-repeat; background-size: 48px; transition-delay: 1.6s;
}

.logo .circle5 .svg { display: none; }

.parent:hover .card {
    transform: rotate3d(1, 1, 0, 18deg);
    box-shadow: rgba(30, 42, 58, 0.15) 30px 50px 25px -40px, rgba(30, 42, 58, 0.08) 0px 25px 30px 0px;
}

.parent:hover .card .logo .circle2 { transform: translate3d(0, 0, 60px); }
.parent:hover .card .logo .circle3 { transform: translate3d(0, 0, 80px); }
.parent:hover .card .logo .circle4 { transform: translate3d(0, 0, 100px); }
.parent:hover .card .logo .circle5 { transform: translate3d(0, 0, 120px); }

.contact-button { width: 100%; text-align: center; margin-top: 10px; position: relative; top: 0px; }

.btn {
    display: inline-block;
    padding: 14px 36px;
    border: none;
    border-radius: 50px;
    color: var(--bg-secondary);
    font: 700 17px 'Space Grotesk', 'Noto Kufi Arabic', sans-serif;
    text-decoration: none;
    transition: all 0.4s ease;
    background: var(--accent);
    letter-spacing: 0.5px;
    box-shadow: 0 4px 14px rgba(201, 169, 110, 0.30);
}

.btn:hover {
    background: var(--accent-dark);
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 8px 25px rgba(169, 137, 77, 0.35);
    color: var(--bg-secondary);
}

/* ===== PRODUCTS ===== */
#products {
    padding: 2rem 1.5rem 0;
    max-width: 1100px;
    margin: 40px auto 0;
    scroll-margin-top: 80px;
}

#products>div>div:first-child>span {
    color: var(--accent);
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
    padding: 0.25rem 1.2rem;
    border-radius: 30px;
    border: 2px solid var(--accent);
    background: var(--accent-light);
    letter-spacing: 1px;
    text-transform: uppercase;
}

#products h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    margin: 0.5rem 0 0.2rem;
    color: var(--text-primary);
}

#products h2 span { color: var(--accent); }

#products>div>div:first-child>p {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 600px;
    margin-bottom: 2rem;
}

#products>div>div:last-child {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 28px;
}

#products>div>div:last-child>div {
    background: var(--bg-secondary);
    padding: 1.8rem 1.5rem;
    border-radius: 20px;
    border: 1px solid var(--border-light);
    transition: all 0.4s ease;
    box-shadow: var(--shadow);
}

#products>div>div:last-child>div:hover {
    border-color: var(--accent);
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(30, 42, 58, 0.10);
}

#products>div>div:last-child>div h3 {
    color: var(--text-primary);
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
}

#products>div>div:last-child>div p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.btn-3{
    display: inline-block;
    padding: 14px 36px;
    border: none;
    border-radius: 50px;
    color: var(--bg-secondary);
    font: 700 17px 'Space Grotesk', 'Noto Kufi Arabic', sans-serif;
    text-decoration: none;
    transition: all 0.4s ease;
    background: var(--accent);
    letter-spacing: 0.5px;
    box-shadow: 0 4px 14px rgba(201, 169, 110, 0.30);
}

.btn-3:hover {
    background: var(--accent-dark);
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 8px 25px rgba(169, 137, 77, 0.35);
    color: var(--bg-secondary);
}

/* ===== WATER PRODUCT ROW (ENHANCED) ===== */
.water-products {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
    position: relative;
}

.water-products::before {
    content: '';
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 80px;
    background: radial-gradient(ellipse, rgba(201, 169, 110, 0.12), transparent 70%);
    pointer-events: none;
}

.water-product-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
    width: 100%;
}

/* ===== FIXED: UNIFORM WATER CARD LAYOUT ===== */
.water-card {
    background: linear-gradient(145deg, var(--bg-card) 0%, #fff9f2 100%);
    border: 1px solid var(--border-light);
    border-radius: 30px;
    box-shadow: 0 10px 30px rgba(169, 137, 77, 0.12);
    padding: 30px 25px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    position: relative;
    min-height: 480px;
    height: auto;
    overflow: hidden;
}

.water-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--accent-light), var(--accent), var(--accent-dark));
    z-index: 1;
}

.water-card::after {
    content: '';
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201, 169, 110, 0.08), transparent 70%);
    transition: transform 0.5s ease;
}

.water-card:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: var(--accent);
    box-shadow: 0 25px 50px rgba(169, 137, 77, 0.20), 0 0 0 1px var(--accent);
}

.water-card:hover::after {
    transform: scale(2);
    opacity: 0;
}

.water-badge {
    position: absolute;
    top: 18px;
    right: 18px;
    background: linear-gradient(135deg, var(--accent-light), #f9f0dd);
    color: var(--accent-dark);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 30px;
    border: 1px solid var(--accent);
    box-shadow: 0 3px 8px rgba(169, 137, 77, 0.15);
    z-index: 2;
}

.water-brand {
    font-family: 'Orbitron', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--accent-dark);
    text-transform: uppercase;
    margin-bottom: 6px;
    flex-shrink: 0;
}

.water-name {
    font-family: 'Orbitron', sans-serif;
    font-size: 24px;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 4px;
    letter-spacing: 1px;
    flex-shrink: 0;
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.water-subtitle {
    font-size: 13px;
    color: var(--text-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    padding: 8px 20px;
    display: inline-block;
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 30px;
    flex-shrink: 0;
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== FIXED: FULL IMAGE VISIBLE IN CARDS (Using 'cover' to fill the border) ===== */
.water-bottle {
    width: 100%;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px 0;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-light);
    transition: transform 0.4s ease;
    flex-shrink: 0;
    padding: 0; /* Ensure no padding so image touches the border */
}

.water-bottle img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 'cover' fills the entire border, cropping edges if needed */
    display: block;
    transition: transform 0.3s ease;
}

.water-card:hover .water-bottle {
    transform: translateY(-6px) rotate(2deg);
}

.water-card:hover .water-bottle img {
    transform: translateY(-5px) rotate(2deg);
}

.water-tagline {
    font-style: italic;
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 20px;
    line-height: 1.5;
    flex-shrink: 0;
}

.water-click-hint {
    margin-top: auto;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent-dark);
    background: linear-gradient(135deg, var(--accent-light), #f9f0dd);
    padding: 8px 20px;
    border-radius: 30px;
    border: 1px solid var(--border-light);
    transition: all 0.4s ease;
    box-shadow: 0 4px 12px rgba(169, 137, 77, 0.10);
    flex-shrink: 0;
}

.water-card:hover .water-click-hint {
    background: var(--accent);
    color: var(--bg-secondary);
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(169, 137, 77, 0.30);
}

/* ===== 1000x COOLER PRODUCT MODAL (LUXURY ANIMATED BORDER) ===== */
@keyframes floatImage {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
    100% { transform: translateY(0px); }
}

@keyframes glowPulse {
    0% { box-shadow: 0 0 15px rgba(201, 169, 110, 0.3), inset 0 0 10px rgba(201, 169, 110, 0.1); }
    50% { box-shadow: 0 0 45px rgba(201, 169, 110, 0.8), inset 0 0 25px rgba(201, 169, 110, 0.4); }
    100% { box-shadow: 0 0 15px rgba(201, 169, 110, 0.3), inset 0 0 10px rgba(201, 169, 110, 0.1); }
}

@keyframes modalZoomIn {
    from { opacity: 0; transform: scale(0.9) translateY(30px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

#productModal .modal-content {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: center;
    max-width: 1000px;
    width: 95%;
    height: 600px;
    max-height: 90vh;
    overflow: hidden;
    padding: 0;
    border-radius: 32px;
    background: linear-gradient(145deg, #ffffff 0%, #fdfbf7 100%);
    border: 1px solid rgba(201, 169, 110, 0.3);
    box-shadow: 0 30px 80px rgba(30, 42, 58, 0.25), 0 0 0 1px rgba(201, 169, 110, 0.1);
    position: relative;
    animation: modalZoomIn 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Decorative top gradient strip */
#productModal .modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--accent-light), var(--accent), var(--accent-dark), var(--accent));
    z-index: 10;
}

#productModal .modal-content .close-btn {
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(201, 169, 110, 0.3);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    font-size: 26px;
    color: var(--text-primary);
    z-index: 20;
}

#productModal .modal-content .close-btn:hover {
    background: var(--accent);
    color: white;
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 10px 25px rgba(201, 169, 110, 0.4);
}

/* The container for the cool image */
#productModal .modal-content #productModalHeader {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background: radial-gradient(circle at 30% 30%, rgba(201, 169, 110, 0.08) 0%, transparent 60%);
    border-right: 1px solid rgba(201, 169, 110, 0.15);
    overflow: hidden;
    height: 100%;
    position: relative;
}

/* The glowing orb behind the image */
#productModal .modal-content #productModalHeader::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(201, 169, 110, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
    animation: glowPulse 4s infinite alternate;
}

/* The 1000x cooler image border and effect */
#productModal .modal-content #productModalHeader img {
    width: 100%;
    height: 100%;
    max-width: 340px; /* Forces uniform width for all images */
    max-height: 340px; /* Forces uniform height for all images */
    object-fit: contain; /* Keeps the full image visible without cropping */
    
    /* The cool gradient border */
    border: 4px solid transparent;
    background: 
        linear-gradient(white, white) padding-box,
        linear-gradient(135deg, var(--accent-light), var(--accent), var(--accent-dark), var(--accent)) border-box;
    
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(169, 137, 77, 0.2), 0 0 20px rgba(201, 169, 110, 0.15);
    
    /* The floating animation */
    animation: floatImage 5s ease-in-out infinite;
    transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    z-index: 2;
}

/* Cool hover effect */
#productModal .modal-content #productModalHeader img:hover {
    transform: scale(1.06) rotate(1.5deg) translateY(-8px);
    box-shadow: 0 30px 60px rgba(169, 137, 77, 0.35), 0 0 40px rgba(201, 169, 110, 0.4);
    animation-play-state: paused;
}

#productModal .modal-content #productModalBody {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 50px 40px;
    overflow-y: auto;
    text-align: left;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.8) 0%, rgba(244, 232, 193, 0.2) 100%);
}

#productModal .modal-content #productModalBody h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.2rem;
    color: var(--text-primary);
    margin-bottom: 8px;
    letter-spacing: 1px;
    line-height: 1.2;
    background: linear-gradient(135deg, var(--text-primary), var(--accent-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

#productModal .modal-content #productModalBody p:first-of-type {
    font-size: 14px;
    font-weight: 800;
    color: var(--accent-dark);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 25px;
    display: inline-block;
    border-bottom: 2px solid var(--accent);
    padding-bottom: 8px;
    width: fit-content;
}

#productModal .modal-content #productModalBody p:last-of-type {
    color: var(--text-muted);
    line-height: 1.9;
    font-size: 1.05rem;
    margin: 0;
    text-align: left;
    background: rgba(255, 255, 255, 0.9);
    border-left: 4px solid var(--accent);
    border-radius: 0 16px 16px 0;
    padding: 24px 28px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

#productModal .modal-content #productModalBody p:last-of-type::before {
    content: '“';
    position: absolute;
    top: -10px;
    left: 10px;
    font-size: 5rem;
    color: rgba(201, 169, 110, 0.1);
    font-family: Georgia, serif;
    line-height: 1;
    z-index: 0;
}

#productModal .modal-content #productModalBody p:last-of-type span {
    position: relative;
    z-index: 1;
}

/* Responsive adjustments for the modal */
@media (max-width: 900px) {
    #productModal .modal-content {
        flex-direction: column;
        height: auto;
        max-height: 90vh;
        overflow-y: auto;
        width: 90%;
    }
    
    #productModal .modal-content #productModalHeader {
        border-right: none;
        border-bottom: 1px solid rgba(201, 169, 110, 0.15);
        min-height: 320px;
        padding: 30px;
    }
    
    #productModal .modal-content #productModalHeader img {
        max-width: 260px;
        max-height: 260px;
        animation: none; /* Disable float on mobile for performance */
    }

    #productModal .modal-content #productModalHeader img:hover {
        transform: scale(1.02) rotate(0deg);
    }
    
    #productModal .modal-content #productModalBody {
        padding: 35px 25px;
    }
    
    #productModal .modal-content #productModalBody h3 {
        font-size: 1.8rem;
        text-align: center;
        -webkit-text-fill-color: var(--text-primary); /* Fix for mobile gradient text issues */
    }
    
    #productModal .modal-content #productModalBody p:first-of-type {
        margin: 0 auto 20px auto;
        text-align: center;
    }
    
    #productModal .modal-content #productModalBody p:last-of-type {
        text-align: center;
        border-left: none;
        border-top: 3px solid var(--accent);
        border-radius: 12px;
        padding: 20px;
    }
}

/* ===== CATALOG ===== */
#catalog {
    padding: 2rem 1.5rem 3rem;
    max-width: 1100px;
    margin: 120px auto 0;
    scroll-margin-top: 120px;
}

#catalog>div>div:first-child>span {
    color: var(--accent);
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
    padding: 0.25rem 1.2rem;
    border-radius: 30px;
    border: 2px solid var(--accent);
    background: var(--accent-light);
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

#catalog>div>div:first-child>span:hover {
    transform: translateX(6px) scale(1.02);
}

#catalog h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    margin: 0.5rem 0 0.2rem;
    color: var(--text-primary);
}

#catalog h2 span {
    color: var(--accent);
}

#catalog p {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 600px;
    margin-bottom: 1.8rem;
}

#catalog a.btn {
    display: inline-block;
    padding: 14px 34px;
    border: none;
    border-radius: 50px;
    background: var(--accent);
    color: var(--bg-secondary);
    font: 700 16px 'Space Grotesk', sans-serif;
    text-decoration: none;
    transition: all 0.4s ease;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 14px rgba(201, 169, 110, 0.30);
    position: relative;
    overflow: hidden;
}

#catalog a.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), transparent 60%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

#catalog a.btn:hover::before {
    transform: translateX(0);
}

#catalog a.btn:hover {
    background: var(--accent-dark);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(169, 137, 77, 0.35);
    color: var(--bg-secondary);
}

/* ===== CONTACT ===== */
#contact {
    padding: 2rem 1.5rem 3rem;
    max-width: 1100px;
    margin: 120px auto 0;
    scroll-margin-top: 120px;
}

.contact-1 {
    color: var(--accent);
    font-family: 'Orbitron', sans-serif;
    font-size: 1.0rem;
    font-weight: 600;
    display: inline-block;
    padding: 0.35rem 1.2rem;
    border-radius: 30px;
    border: 2px solid var(--accent);
    background: var(--accent-light);
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.contact-1:hover {
    transform: translateX(6px) scale(1.02);
}

.contact-2 {
    color: var(--text-primary);
    font-family: 'Orbitron', sans-serif;
    font-size: 2.0rem;
    font-weight: 700;
    margin: 0.6rem 0 0.2rem;
}

.contact-3 {
    color: var(--text-muted);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.05rem;
    max-width: 600px;
    margin-bottom: 1.8rem;
}

.icon,
.icon-2 {
    width: 44px;
    height: 44px;
    padding: 10px;
    border: 2px solid var(--accent);
    background-color: var(--bg-secondary);
    border-radius: 12px;
    transition: all 0.4s ease;
    display: inline-block;
    vertical-align: middle;
    margin-right: 12px;
}

.icon:hover,
.icon-2:hover {
    border-color: var(--accent-dark);
    transform: rotateY(180deg) scale(1.10);
    box-shadow: var(--shadow);
}

.contact-phone-number,
.contact-email-address,
.contact-location-address {
    color: var(--text-muted);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.0rem;
    display: inline-block;
    vertical-align: middle;
}

#contact>div>div:first-child>div {
    margin-bottom: 0.8rem;
    transition: transform 0.3s ease;
}

#contact>div>div:first-child>div:hover {
    transform: translateX(6px);
}

.contact-form {
    display: grid;
    gap: 0.8rem;
    width: 100%;
    max-width: 680px;
    margin-top: 1.2rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.9rem 1.2rem;
    border: 1px solid var(--border-light);
    border-radius: 10px;
    background: var(--bg-secondary);
    color: var(--text-primary);
    font: inherit;
    transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--accent);
    outline: none;
    box-shadow: 0 0 24px rgba(201, 169, 110, 0.10);
    transform: scale(1.01);
}

.contact-form textarea {
    min-height: 130px;
    resize: vertical;
}

.contact-form button {
    justify-self: start;
    padding: 0.9rem 2.2rem;
    border: none;
    border-radius: 50px;
    background: var(--accent);
    color: var(--bg-secondary);
    cursor: pointer;
    font: 700 1rem 'Space Grotesk', sans-serif;
    transition: all 0.4s ease;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 14px rgba(201, 169, 110, 0.30);
    position: relative;
    overflow: hidden;
}

.contact-form button::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), transparent 60%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.contact-form button:hover::before {
    transform: translateX(0);
}

.contact-form button:hover {
    background: var(--accent-dark);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(169, 137, 77, 0.35);
    color: var(--bg-secondary);
}

.contact-form .upload-btn {
    justify-self: start;
    padding: 0.9rem 2.2rem;
}

.form-status-message {
    display: none;
    width: 100%;
    padding: 0.8rem 1rem;
    border-radius: 10px;
    font: 500 0.95rem 'Space Grotesk', sans-serif;
    line-height: 1.5;
    margin-top: -0.2rem;
}

.form-status-message.success {
    display: block;
    background: rgba(34, 197, 94, 0.08);
    color: #166534;
    border: 1px solid rgba(34, 197, 94, 0.35);
}

.form-status-message.error {
    display: block;
    background: rgba(239, 68, 68, 0.08);
    color: #991b1b;
    border: 1px solid rgba(239, 68, 68, 0.35);
}

.upload-status {
    color: var(--text-muted);
    font-size: 0.9rem;
    overflow-wrap: anywhere;
}

.upload-status:not([hidden]) {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.upload-file-list {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.upload-file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.upload-file-name {
    min-width: 0;
    overflow-wrap: anywhere;
}

.contact-form .upload-file-remove {
    display: grid;
    flex: 0 0 2rem;
    width: 2rem;
    height: 2rem;
    place-items: center;
    padding: 0;
    border: 1px solid var(--border-light);
    border-radius: 50%;
    background: transparent;
    color: var(--text-muted);
    font: 500 1.2rem/1 'Space Grotesk', sans-serif;
    letter-spacing: 0;
    box-shadow: none;
    position: static;
    overflow: visible;
}

.contact-form .upload-file-remove::before {
    content: none;
}

.contact-form .upload-file-remove:hover {
    border-color: var(--accent);
    background: var(--accent-light);
    color: var(--text-primary);
    transform: none;
    box-shadow: none;
}

/* ===== FOOTER ===== */
footer {
    padding: 2rem 1.5rem;
    text-align: center;
    border-top: 1px solid var(--border-light);
    background: var(--bg-secondary);
    margin-top: 120px;
}

footer p {
    color: var(--text-muted);
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

footer p span {
    color: var(--accent);
    font-weight: 600;
    transition: color 0.3s ease;
}

footer p span:hover {
    color: var(--accent-dark);
}

/* ===== AI ASSISTANT ===== */
.ai-btn {
    position: fixed;
    right: 20px;
    bottom: 24px;
    z-index: 1002;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 22px;
    border: none;
    border-radius: 50px;
    background: var(--accent);
    color: var(--bg-secondary);
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(201, 169, 110, 0.40);
    animation: assistantFloat 3s ease-in-out infinite;
    transition: all 0.3s ease;
}

.ai-btn:hover {
    background: var(--accent-dark);
    box-shadow: 0 6px 30px rgba(169, 137, 77, 0.50);
    outline: 3px solid var(--accent-light);
    outline-offset: 3px;
    transform: scale(1.04);
    animation-play-state: paused;
}

.chat-modal[hidden] {
    display: none;
}

.chat-modal {
    position: fixed;
    right: 20px;
    bottom: 88px;
    z-index: 1002;
    display: flex;
    flex-direction: column;
    width: min(380px, calc(100vw - 40px));
    height: min(520px, calc(100vh - 120px));
    overflow: hidden;
    border: 1px solid var(--border-light);
    border-radius: 16px;
    background: var(--bg-secondary);
    backdrop-filter: blur(18px);
    box-shadow: 0 10px 50px rgba(30, 42, 58, 0.15);
    animation: modalSlideUp 0.3s ease;
}

.chat-header {
    display: flex;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid var(--border-light);
    background: var(--bg-primary);
    cursor: grab;
    touch-action: none;
    transition: background 0.3s ease;
}

.chat-header:active {
    cursor: grabbing;
}

.ai-avatar {
    font-size: 24px;
    transition: transform 0.3s ease;
}

.chat-header:hover .ai-avatar {
    transform: scale(1.1) rotate(-6deg);
}

.header-text {
    display: flex;
    flex: 1;
    flex-direction: column;
    margin-left: 10px;
}
.title {
    color: var(--text-primary);
    font-size: 14px;
    letter-spacing: 1px;
    font-family: 'Orbitron', sans-serif;
}
.status {
    display: flex;
    align-items: center;
    color: var(--accent);
    font-size: 11px;
}
.status-dot {
    width: 6px;
    height: 6px;
    margin-right: 4px;
    border-radius: 50%;
    background: var(--accent);
    animation: statusPulse 1.8s ease-in-out infinite;
}

@keyframes statusPulse {
    0%,
    100% {
        opacity: 1;
    }
    50% {
        opacity: 0.3;
    }
}

.language-picker {
    display: flex;
    flex-direction: column;
    margin: 0 8px;
    color: var(--text-muted);
    font-size: 9px;
    text-transform: uppercase;
}

.language-picker select {
    max-width: 92px;
    padding: 3px;
    border: 1px solid var(--border-light);
    border-radius: 4px;
    background: var(--bg-primary);
    color: var(--text-primary);
    font-size: 11px;
    transition: border-color 0.3s;
}

.language-picker select:focus {
    border-color: var(--accent);
    outline: none;
}

.chat-modal .close-btn {
    position: static;
    padding: 0 4px;
    border: 0;
    background: none;
    color: var(--text-muted);
    font-size: 28px;
    cursor: pointer;
    transition: transform 0.3s, color 0.3s;
}

.chat-modal .close-btn:hover {
    transform: rotate(90deg);
    color: var(--text-primary);
}

.chat-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 12px;
    padding: 20px;
    overflow-y: auto;
}

.message {
    max-width: 85%;
    padding: 12px 16px;
    border-radius: 15px;
    color: var(--text-primary);
    font-size: 14px;
    line-height: 1.5;
    animation: messageSlideIn 0.3s ease;
}

@keyframes messageSlideIn {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.message.ai {
    align-self: flex-start;
    border-left: 3px solid var(--accent);
    background: var(--bg-primary);
}

.message.user {
    align-self: flex-end;
    background: var(--accent);
    color: var(--bg-secondary);
    font-weight: 600;
}

.typing-indicator {
    align-self: flex-start;
    margin: 0 20px 12px;
    padding: 10px 12px;
    border-left: 3px solid var(--accent);
    border-radius: 15px;
    background: var(--bg-primary);
}

.typing-indicator span {
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-right: 4px;
    border-radius: 50%;
    background: var(--accent);
    animation: assistantBounce 1.2s infinite ease-in-out;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.15s;
}
.typing-indicator span:nth-child(3) {
    animation-delay: 0.3s;
}

.chat-input-area {
    display: flex;
    padding: 15px;
    border-top: 1px solid var(--border-light);
    background: var(--bg-primary);
}

.chat-input-area input {
    flex: 1;
    padding: 12px;
    border: 1px solid var(--border-light);
    border-radius: 10px;
    background: var(--bg-secondary);
    color: var(--text-primary);
    transition: border-color 0.3s, box-shadow 0.3s;
}

.chat-input-area input:focus {
    border-color: var(--accent);
    outline: none;
    box-shadow: 0 0 20px rgba(201, 169, 110, 0.08);
}

.chat-input-area button {
    margin-left: 10px;
    padding: 0 18px;
    border: 0;
    border-radius: 10px;
    background: var(--accent);
    color: var(--bg-secondary);
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s;
}

.chat-input-area button:hover {
    background: var(--accent-dark);
    transform: scale(1.04);
}

@keyframes assistantFloat {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-7px);
    }
}

@keyframes assistantBounce {
    0%,
    80%,
    100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-6px);
    }
}

/* ============================================================
   SCROLL REVEAL ANIMATIONS
   ============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.92);
    transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-scale.active {
    opacity: 1;
    transform: scale(1);
}

.stagger > * {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.stagger.active > * {
    opacity: 1;
    transform: translateY(0);
}
.stagger.active > *:nth-child(1) { transition-delay: 0.05s; }
.stagger.active > *:nth-child(2) { transition-delay: 0.10s; }
.stagger.active > *:nth-child(3) { transition-delay: 0.15s; }
.stagger.active > *:nth-child(4) { transition-delay: 0.20s; }
.stagger.active > *:nth-child(5) { transition-delay: 0.25s; }
.stagger.active > *:nth-child(6) { transition-delay: 0.30s; }
.stagger.active > *:nth-child(7) { transition-delay: 0.35s; }
.stagger.active > *:nth-child(8) { transition-delay: 0.40s; }
.stagger.active > *:nth-child(9) { transition-delay: 0.45s; }
.stagger.active > *:nth-child(10) { transition-delay: 0.50s; }
.stagger.active > *:nth-child(11) { transition-delay: 0.55s; }
.stagger.active > *:nth-child(12) { transition-delay: 0.60s; }
.stagger.active > *:nth-child(13) { transition-delay: 0.65s; }
.stagger.active > *:nth-child(14) { transition-delay: 0.70s; }
.stagger.active > *:nth-child(15) { transition-delay: 0.75s; }
.stagger.active > *:nth-child(16) { transition-delay: 0.80s; }
.stagger.active > *:nth-child(17) { transition-delay: 0.85s; }
.stagger.active > *:nth-child(18) { transition-delay: 0.90s; }
.stagger.active > *:nth-child(19) { transition-delay: 0.95s; }

.water-products-header {
    margin-bottom: 40px;
}
.water-products-header > span {
    color: var(--accent);
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
    padding: 0.25rem 1.2rem;
    border-radius: 30px;
    border: 2px solid var(--accent);
    background: var(--accent-light);
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}
.water-products-header > span:hover {
    transform: translateX(6px) scale(1.02);
}
.water-products-header h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    margin: 0.5rem 0 0.2rem;
    color: var(--text-primary);
}
.water-products-header h2 span {
    color: var(--accent);
}
.water-products-header p {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto 20px auto;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .header {
        flex-direction: column;
        align-items: stretch;
        gap: 0.25rem;
        padding: 0.6rem 1rem;
    }
    .header-top {
        justify-content: center;
        width: 100%;
    }
    nav {
        justify-content: center;
        width: 100%;
    }
    .nav-logo {
        height: 55px;
    }
    nav ul {
        gap: 16px;
    }
}

@media (max-width: 767px) {
    .header {
        padding: 0.4rem 0.8rem;
    }
    .header-top {
        justify-content: center;
    }
    .logo-container {
        justify-content: center;
    }
    .nav-logo {
        height: 38px;
    }
    .logo,
    .ZD,
    .ZD-2 {
        font-size: 15px;
    }
    .description {
        font-size: 10px;
    }
    nav ul {
        justify-content: safe center;
        gap: 4px;
        flex-wrap: nowrap;
        width: 100%;
        overflow-x: auto;
        scrollbar-width: none;
    }
    .header nav ul li a {
        font: 500 11px 'Space Grotesk', 'Noto Kufi Arabic', sans-serif;
        white-space: nowrap;
        padding: 4px 3px;
        transition: color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
    }
    nav ul::-webkit-scrollbar {
        display: none;
    }

    #about-us {
        padding: 1rem 0.8rem;
        margin-top: 60px;
    }
    .About {
        font-size: 1.6rem;
    }
    .About2 {
        font-size: 1rem;
    }
    .About3 {
        font-size: 0.92rem;
    }

    .section-block {
        padding: 1rem 0.8rem;
        margin-top: 60px;
    }
    .section-block h2 {
        font-size: 1.5rem;
    }
    .card-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .water-product-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .info-card {
        padding: 1.5rem;
    }

    .features-section,
    .testimonials-section {
        padding: 1rem 0.8rem;
        margin-top: 60px;
    }
    .features-grid,
    .testimonial-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    #catalog,
    #contact {
        padding: 1rem 0.8rem;
        margin-top: 60px; /* 60px space between sections on mobile */
    }
    #catalog h2,
    .contact-2 {
        font-size: 1.5rem;
    }

    .qr-btn,
    .qr-btn-2,
    .qr-btn-3,
    .qr-btn-4 {
        width: 44px;
        height: 44px;
        right: 12px;
    }
    .qr-btn img,
    .qr-btn-2 img,
    .qr-btn-3 img,
    .qr-btn-4 img {
        width: 26px;
        height: 26px;
    }

    .ai-btn {
        right: 12px;
        bottom: 14px;
        padding: 10px 16px;
        font-size: 13px;
    }
    .chat-modal {
        right: 12px;
        bottom: 72px;
        width: calc(100vw - 24px);
        height: min(460px, calc(100vh - 90px));
    }

    #home {
        margin-top: 60px;
        gap: 16px;
    }
    .parent {
        max-width: 100%;
        min-width: 160px;
        height: 240px;
    }
    .content {
        padding: 60px 24px 0 20px;
    }
    .content .title {
        font-size: 15px;
    }
    .content .text {
        font-size: 12px;
    }
    .logo .circle2 {
        width: 100px;
    }
    .logo .circle3 {
        width: 78px;
    }
    .logo .circle4 {
        width: 56px;
    }
    .logo .circle5 {
        width: 36px;
        background-size: 28px;
    }

    /* Fix card image height on mobile */
    .water-bottle {
        height: 180px;
    }

    .water-card {
        min-height: 420px; /* Slightly shorter on mobile */
    }

    .contact-form button {
        width: 100%;
        justify-self: stretch;
    }

    footer {
        margin-top: 60px; /* 60px space between sections on mobile */
        padding: 1.2rem 0.8rem;
    }
}

@media (max-width: 480px) {
    .header-top {
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
    }
    .logo-container {
        justify-content: center;
    }
    nav ul {
        justify-content: center;
    }
    .nav-logo {
        height: 32px;
    }
    .ZD {
        right: 0;
        font-size: 20px;
    }
    .ZD-2 {
        right: 0;
        font-size: 13px;
    }
    .description {
        left: 0;
        font-size: 9px;
    }
    .about-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .About4,
    .About5 {
        text-align: center;
    }
}