@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700&family=Inter:wght@300;400;500;600;700&display=swap');

/* Star Jedi font for client form input text */
@font-face {
    font-family: 'Star Jedi';
    src: local('Star Jedi'), local('StarJedi'), url('assets/Starjedi.ttf') format('truetype');
    font-display: swap;
}

/* Rounded Star Jedi font for company name */
@font-face {
    font-family: 'Star Jedi Rounded';
    src: local('Star Jedi Rounded'), local('StarJediRounded'), url('assets/StarJediRounded-jW3R.ttf') format('truetype');
    font-display: swap;
}

*{
    padding: 0px;
    margin: 0px;
    text-decoration: none;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    min-height: 100vh;
    background-color: #0f0f11;
    color: #ff8b8b;
    animation: pageFadeIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes pageFadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Toast notification */
#app-toast.toast {
    position: fixed;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    padding: 0.65rem 1.25rem 0.75rem;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    color: #fff;
    background: rgba(30, 30, 30, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    max-width: min(92vw, 420px);
    text-align: center;
}

#app-toast .toast-brand {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    opacity: 0.92;
}

#app-toast .toast-message {
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.35;
}

#app-toast.toast-show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

#app-toast.toast-success {
    background: var(--company-red);
}

#app-toast.toast-info {
    background: rgba(var(--company-cyan-rgb), 0.95);
    color: #1a1a1a;
}

main {
    padding-top: 1.5rem;
    padding-bottom: 3rem;
}

/* Content container - 30% smaller */
.content-wrapper {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* In-content links: visible, thin underline on hover */
main a:not(.btn):not(.navbar-menu a):not(.navbar-logo a) {
    color: var(--company-cyan);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color var(--transition-fast);
}

main a:not(.btn):not(.navbar-menu a):not(.navbar-logo a):hover {
    border-bottom: 1px solid var(--company-cyan);
}
.navbar {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 85px;
    width: 100%;
    position: sticky;
    top: 0;
    background: transparent !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.829);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    z-index: 999;
    transition: box-shadow var(--transition-normal), background var(--transition-normal);
}
/* Company colors + 1Fetch-style motion */
:root {
    --company-red: #EA2300;
    --company-red-dark: #c41e00;
    --company-cyan: #38D4FB;
    --company-cyan-rgb: 56, 212, 251;
    --font-heading: 'Star Jedi', 'Inter', 'DM Sans', 'Poppins', sans-serif;
    --font-body: 'Star Jedi', 'Inter', 'DM Sans', 'Poppins', sans-serif;
    --font-client-input: 'Star Jedi', 'Inter', 'DM Sans', 'Poppins', sans-serif;
    --font-company-name: 'Star Jedi Rounded', 'Star Jedi', 'Inter', 'DM Sans', 'Poppins', sans-serif;
    --font-muted: 'Aptos', 'Aptos Display', 'Segoe UI', 'Inter', 'DM Sans', sans-serif;
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: 0.2s var(--ease-out-expo);
    --transition-normal: 0.3s var(--ease-out-expo);
    --transition-smooth: 0.4s var(--ease-out-expo);
}

/* Client-facing form input font + shadowed example text */
main input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
main textarea,
main select {
    font-family: var(--font-client-input);
    letter-spacing: 0.02em;
}

main input:not([type="checkbox"]):not([type="radio"]):not([type="file"])::placeholder,
main textarea::placeholder {
    font-family: var(--font-muted);
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.72);
}

/* Shadowed helper/example text (hints, subtitles) */
.form-hint,
.auth-subtitle,
.modal-subtitle {
    font-family: var(--font-muted);
    color: rgba(255, 255, 255, 0.9);
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0 1.5rem;
    max-width: 1200px;
}

/* ========== LOGO RIBBON (fixed left) ========== */
.navbar-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    cursor: pointer;
    min-width: 0;
    flex-shrink: 0;
}

/* Logo ribbon – solid color */
.logo-ribbon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4em;
    padding: 0.45em 1em;
    background: var(--company-red);
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: clamp(0.8rem, 2vw, 1.3rem);
    letter-spacing: 0.045em;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(234, 35, 0, 0.3);
    position: relative;
    -webkit-clip-path: polygon(0.5em 0, 100% 0, calc(100% - 0.5em) 100%, 0 100%);
    clip-path: polygon(0.5em 0, 100% 0, calc(100% - 0.5em) 100%, 0 100%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    white-space: nowrap;
    box-sizing: border-box;
    line-height: 1.2;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal), background var(--transition-normal);
}

.logo-ribbon:hover {
    background: var(--company-red-dark);
    box-shadow: 0 4px 12px rgba(234, 35, 0, 0.4);
    transform: translateY(-1px);
}

.logo-ribbon .ribbon-icon {
    font-size: 1.35em;
    line-height: 1;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
    flex-shrink: 0;
}

.logo-ribbon .ribbon-text {
    font-family: var(--font-company-name);
    font-weight: 700;
    letter-spacing: 0.045em;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
    position: relative;
    z-index: 1;
}

/* Image logo inside ribbon */
.logo-ribbon .logo-image {
    height: 52px;
    width: auto;
    display: block;
    object-fit: contain;
}

.truck-container {
    position: relative;
    display: inline-block;
}

.truck-icon {
    display: inline-block;
    animation: truckDriveIn 1s ease-out forwards;
    transform: translateX(-200%);
}

.smoke {
    position: absolute;
    font-size: 0.8rem;
    opacity: 0.7;
    animation: smokeRise 2s infinite ease-out;
    pointer-events: none;
}

.smoke1 {
    top: -15px;
    left: 5px;
    animation-delay: 0s;
}

.smoke2 {
    top: -20px;
    left: 8px;
    animation-delay: 0.3s;
}

.smoke3 {
    top: -25px;
    left: 11px;
    animation-delay: 0.6s;
}

.logo-text {
    display: inline-block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bounce-letter {
    display: inline-block;
    animation: letterBounce 2s ease-in-out infinite;
}

.bounce-letter:nth-child(1) { animation-delay: 0s; }
.bounce-letter:nth-child(2) { animation-delay: 0.2s; }
.bounce-letter:nth-child(3) { animation-delay: 0.4s; }
.bounce-letter:nth-child(4) { animation-delay: 0.6s; }
.bounce-letter:nth-child(5) { animation-delay: 0.8s; }
.bounce-letter:nth-child(6) { animation-delay: 1s; }
.bounce-letter:nth-child(7) { animation-delay: 1s; }
.bounce-letter:nth-child(8) { animation-delay: 1s; }
.bounce-letter:nth-child(9) { animation-delay: 1s; }
.bounce-letter:nth-child(10) { animation-delay: 1s; }
.bounce-letter:nth-child(11) { animation-delay: 1.2s; }
.bounce-letter:nth-child(12) { animation-delay: 1.4s; }
.bounce-letter:nth-child(13) { animation-delay: 1.6s; }
.bounce-letter:nth-child(14) { animation-delay: 1.8s; }
.bounce-letter:nth-child(15) { animation-delay: 1.8s; }
.bounce-letter:nth-child(16) { animation-delay: 1.9s; }
.bounce-letter:nth-child(17) { animation-delay: 2s; }

@keyframes truckDriveIn {
    from {
        transform: translateX(-200%);
    }
    to {
        transform: translateX(0);
    }
}

@keyframes smokeRise {
    0% {
        opacity: 0.7;
        transform: translateY(0) translateX(0) scale(0.8);
    }
    50% {
        opacity: 0.5;
        transform: translateY(-10px) translateX(5px) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateY(-20px) translateX(10px) scale(1.2);
    }
}

@keyframes letterBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}
.navbar-container .navbar-menu {
  display: flex;
  text-align: center;
  gap: 1.5rem;
  list-style: none;
}
.navbar-container .navbar-menu li a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.95);
    font-family: var(--font-body);
    font-size: 1.3rem;
    font-weight: 500;
    padding: 4px 8px;
    border-radius: 4px;
    border-bottom: 1px solid transparent;
    transition: color var(--transition-fast), border-color var(--transition-fast);
    white-space: nowrap;
}
.navbar-container .navbar-menu li a:hover,
.navbar-container .navbar-menu li a.active {
    color: #fff;
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.9);
}

/* Auth buttons styling */
.navbar-menu .btn-register {
    background: var(--company-cyan);
    color: #1a1a1a !important;
    border-radius: 20px;
    padding: 8px 20px !important;
    font-family: var(--font-heading);
    font-weight: 600;
    border-bottom: 2px solid transparent;
    transition: background var(--transition-normal), color var(--transition-normal), border-color var(--transition-normal);
}

.navbar-menu .btn-register:hover {
    background: rgba(var(--company-cyan-rgb), 0.9);
    color: #1a1a1a !important;
    border-bottom: 2px solid rgba(0, 0, 0, 0.25);
}

.navbar-toggle {
    display: none;
    background: transparent;
    padding: 10px;
    border: none;
    cursor: pointer;
}
.bar{
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background: #fff;
    transition: transform var(--transition-normal), opacity var(--transition-fast);
}
@media (max-width: 880px){
    .navbar{
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
    }

    .navbar-container .navbar-menu{
        display: none;
        flex-direction: column;
        align-items: flex-start;
        gap: 1.7rem !important;
        position: absolute;
        height: 100vh;
        width: 250px;
        top: 0;
        right: 0;
        padding: 5rem 2rem;
        background-color: #121212;
        box-shadow: 0 10px 10px rgba(6, 6, 6, 0.185);
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
    }

    .navbar-container .navbar-menu.active{
        display: flex;
    }

    .navbar-toggle {
        display: block;
        z-index: 999;
    }
    .navbar-toggle.active .bar:nth-child(2){
        opacity: 0;
    }
    .navbar-toggle.active .bar:nth-child(1){
        transform: translateY(8px) rotate(45deg);
    }
    .navbar-toggle.active .bar:nth-child(3){
        transform: translateY(-8px) rotate(-45deg);
    }


}
@media (max-width: 880px){
    .logo-ribbon {
        padding: 0.35em 0.85em;
        font-size: clamp(0.7rem, 2.5vw, 1rem);
    }
    .logo-ribbon .ribbon-icon {
        font-size: 1.35em;
    }
}

@media (max-width: 400px){
    .navbar-container{
     padding: 0 1rem;
    }
    .logo-ribbon {
        padding: 0.3em 0.7em;
        font-size: clamp(0.65rem, 3.5vw, 0.85rem);
    }
    .logo-ribbon .ribbon-icon {
        font-size: 1.35em;
    }
    .navbar-container .navbar-menu li a{
        font-size: 1.5rem;
        padding: 3px 15px;
    }
}

/* Hero Section - Landing Page */
.hero {
    max-width: 980px;
    margin: 0 auto;
    padding: 4rem 2rem;
    text-align: center;
}

.hero-content {
    margin-bottom: 4rem;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 6vw, 4rem);
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 0.8s var(--ease-out-expo) forwards;
}

.title-bg {
    background: rgba(50, 50, 50, 0.65);
    padding: 0.5rem clamp(0.75rem, 2vw, 1.5rem);
    border-radius: 10px;
    display: inline-block;
    max-width: 95%;
    box-sizing: border-box;
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: clamp(1rem, 3vw, 1.8rem);
    font-weight: 400;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.95);
    animation: fadeInUp 0.8s var(--ease-out-expo) 0.12s both;
    background: rgba(50, 50, 50, 0.6);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    display: inline-block;
}

.hero-description {
    font-family: var(--font-body);
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    animation: fadeInUp 0.8s var(--ease-out-expo) 0.24s both;
    background: rgba(50, 50, 50, 0.6);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    display: inline-block;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s var(--ease-out-expo) 0.36s both;
}

.btn {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: background var(--transition-normal), color var(--transition-normal), border-color var(--transition-normal), transform var(--transition-normal), box-shadow var(--transition-normal);
    text-decoration: none;
    display: inline-block;
    font-family: var(--font-heading);
}

.btn-primary {
    background: rgba(var(--company-cyan-rgb), 0.95);
    color: #1a1a1a;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    background: rgba(var(--company-cyan-rgb), 1);
    color: #1a1a1a;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 24px rgba(var(--company-cyan-rgb), 0.4);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #fff;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
    animation: fadeInUp 0.8s var(--ease-out-expo) 0.48s both;
}

.feature-card {
    background: rgba(35, 35, 35, 0.85);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: transform var(--transition-smooth), background var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-fast);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.feature-card:hover {
    transform: translateY(-6px);
    background: rgba(40, 40, 40, 0.9);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #fff;
}

.feature-card p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.82);
}

/* Why Choose Us Section */
.why-choose-us {
    max-width: 980px;
    margin: 6rem auto 0;
    padding: 4rem 2rem;
    text-align: center;
}

.why-choose-us h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: 3rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.benefit-item {
    background: rgba(35, 35, 35, 0.85);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: transform var(--transition-smooth), background var(--transition-normal), box-shadow var(--transition-normal);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.benefit-item:hover {
    transform: translateY(-6px);
    background: rgba(40, 40, 40, 0.9);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.benefit-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: var(--company-cyan);
}

.benefit-item p {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

/* Page Header (for About, Services, Contact pages) */
.page-header {
    max-width: 980px;
    margin: 0 auto;
    padding: 4rem 2rem;
    text-align: center;
}

.page-header h1 {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.page-header p {
    font-family: var(--font-body);
    font-size: clamp(0.95rem, 2.5vw, 1.5rem);
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2rem;
}

/* About Page Styles */
.about-content {
    max-width: 840px;
    margin: 0 auto;
    padding: 2rem;
}

.about-section {
    background: rgba(35, 35, 35, 0.85);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.about-section:hover {
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.3);
}

.about-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--company-cyan);
}

.about-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.value-item {
    padding: 1.5rem;
    background: rgba(50, 50, 50, 0.5);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.value-item h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--company-cyan);
}

.value-item p {
    font-size: 1rem;
    line-height: 1.6;
}

/* Services Page Styles */
.services-content {
    max-width: 980px;
    margin: 0 auto;
    padding: 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: rgba(35, 35, 35, 0.85);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    padding: 1.75rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: transform var(--transition-smooth), background var(--transition-normal), box-shadow var(--transition-normal);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.service-card:hover {
    transform: translateY(-6px);
    background: rgba(40, 40, 40, 0.9);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.service-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.service-card h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--company-cyan);
}

.service-card p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.service-features {
    list-style: none;
    padding: 0;
}

.service-features li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: rgba(255, 255, 255, 0.9);
}

.service-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--company-cyan);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Contact Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-smooth), visibility var(--transition-smooth);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-card {
    background: rgba(255, 255, 255, 0.95);
    color: #1a1a1a;
    padding: 3rem;
    border-radius: 20px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.92);
    transition: transform var(--transition-smooth);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.modal-overlay.active .modal-card {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    background: none;
    border: none;
    font-size: 2.5rem;
    color: #666;
    cursor: pointer;
    line-height: 1;
    transition: color var(--transition-fast), transform var(--transition-fast);
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    color: #1a1a1a;
    transform: scale(1.1);
}

.modal-card h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
    font-weight: 700;
}

/* Admin view card (quote / order detail) */
.view-card .view-card-body {
    margin-top: 0.5rem;
}
.view-card .view-row {
    display: block;
    margin-bottom: 0.25rem;
    color: #333;
    font-size: 0.95rem;
}
.view-card .view-row strong {
    color: #1a1a1a;
}
.view-card .view-muted {
    color: rgba(255, 255, 255, 0.84);
    font-size: 0.9rem;
    font-family: var(--font-muted);
}
.view-card .view-product-ref {
    color: #0d6efd;
    font-size: 0.85rem;
}
.view-card .view-order-item {
    padding: 0.2rem 0;
}
.view-card .view-order-total {
    margin-top: 0.5rem;
    font-weight: 700;
    color: #1a1a1a;
}

.modal-subtitle {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    font-size: 1rem;
    font-family: var(--font-muted);
}

.checkout-modal-card .form-group {
    margin-bottom: 1.25rem;
}

.checkout-modal-card .form-group label {
    display: block;
    margin-bottom: 0.4rem;
    color: #333;
    font-weight: 500;
}

.checkout-modal-card .form-group input {
    width: 100%;
    padding: 0.65rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
}

.checkout-modal-card .btn {
    width: 100%;
    margin-top: 0.5rem;
}

.checkout-modal-card .btn-secondary {
    background: rgba(0, 0, 0, 0.06);
    color: #1a1a1a;
    border: 2px solid rgba(0, 0, 0, 0.2);
    font-weight: 600;
}

.checkout-modal-card .btn-secondary:hover {
    background: rgba(0, 0, 0, 0.12);
    color: #1a1a1a;
    border-color: rgba(0, 0, 0, 0.35);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.contact-form {
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #ddd;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
    border-radius: 8px;
    font-size: 1rem;
    font-family: var(--font-client-input);
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--company-cyan);
}

.contact-info {
    border-top: 2px solid #eee;
    padding-top: 1.5rem;
    margin-top: 1.5rem;
}

.info-item {
    margin-bottom: 0.75rem;
    color: #555;
    font-size: 0.95rem;
}

.info-item strong {
    color: #333;
}

.contact-trigger {
    margin-top: 1rem;
}

/* Contact Us modal card – deep sea blue */
#contactModal .modal-card {
    background: linear-gradient(145deg, #0a4d68 0%, #003d52 100%);
    color: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.15);
}
#contactModal .modal-card h2 {
    color: #fff;
}
#contactModal .modal-subtitle {
    color: rgba(255, 255, 255, 0.85);
}
#contactModal .modal-close {
    color: rgba(255, 255, 255, 0.8);
}
#contactModal .modal-close:hover {
    color: #fff;
}
#contactModal .contact-form .form-group label {
    color: rgba(255, 255, 255, 0.95);
}
#contactModal .contact-form .form-group input,
#contactModal .contact-form .form-group textarea {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
}
#contactModal .contact-form .form-group input::placeholder,
#contactModal .contact-form .form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}
#contactModal .contact-form .form-group input:focus,
#contactModal .contact-form .form-group textarea:focus {
    border-color: var(--company-cyan);
    background: rgba(255, 255, 255, 0.18);
}
#contactModal .contact-info {
    border-top-color: rgba(255, 255, 255, 0.25);
}
#contactModal .info-item {
    color: rgba(255, 255, 255, 0.9);
}
#contactModal .info-item strong {
    color: #fff;
}

/* Auth (Login / Register) */
.auth-main {
    min-height: calc(100vh - 85px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.auth-section {
    width: 100%;
    max-width: 440px;
}

.auth-card {
    background: rgba(30, 30, 30, 0.9);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    padding: 2rem;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.45);
}

.auth-card h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #fff;
    text-align: center;
}

.auth-subtitle {
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    font-family: var(--font-muted);
}

.auth-form-message {
    margin-bottom: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    line-height: 1.45;
    text-align: center;
}

.auth-form-message--error {
    background: rgba(244, 67, 54, 0.12);
    border: 1px solid rgba(244, 67, 54, 0.35);
    color: #ffcdd2;
}

.auth-form-message--info {
    background: rgba(129, 199, 132, 0.1);
    border: 1px solid rgba(129, 199, 132, 0.3);
    color: rgba(255, 255, 255, 0.92);
}

.auth-form-message--success {
    background: rgba(129, 199, 132, 0.15);
    border: 1px solid rgba(129, 199, 132, 0.4);
    color: #e8f5e9;
}

.auth-field-note {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.82rem;
    margin-top: 0.35rem;
    line-height: 1.4;
}

.auth-twofactor-group {
    display: none;
}

.auth-form .form-group.auth-twofactor-group.is-visible {
    display: block;
}

.auth-form .form-group label {
    color: rgba(255, 255, 255, 0.95);
}

.auth-form .form-group input {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
}

.auth-form .form-group input::placeholder {
    color: rgba(255, 255, 255, 0.72);
    font-family: var(--font-muted);
}

.auth-form .form-group input:focus {
    border-color: rgba(var(--company-cyan-rgb), 0.8);
    background: rgba(255, 255, 255, 0.12);
}

.form-group-checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-group-checkbox input {
    width: auto;
}

.form-group-checkbox label {
    margin-bottom: 0;
    cursor: pointer;
}

.btn-block {
    width: 100%;
    margin-top: 0.5rem;
}

.auth-twofactor-group {
    display: none;
}

.auth-forgot-link-wrap {
    margin-top: 0.8rem;
    text-align: right;
}

.auth-admin-link {
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.92) !important;
}

/* Hidden staff entry on home page (bottom-right) */
.admin-secret-entry {
    position: fixed;
    bottom: 14px;
    right: 14px;
    z-index: 9000;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(18, 18, 18, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.12);
    opacity: 0.22;
    transition: opacity var(--transition-fast), background var(--transition-fast), border-color var(--transition-fast);
    text-decoration: none;
    cursor: pointer;
}

.admin-secret-entry:hover,
.admin-secret-entry:focus {
    opacity: 0.65;
    background: rgba(24, 24, 24, 0.92);
    border-color: rgba(255, 255, 255, 0.28);
    outline: none;
}

.auth-footer-muted {
    font-size: 0.9rem;
    opacity: 1;
    color: rgba(255, 255, 255, 0.9);
    font-family: var(--font-muted);
}

/* reCAPTCHA “human verification” overlay (not using .modal-overlay — that class stays hidden without .active) */
.recaptcha-human-overlay {
    position: fixed;
    inset: 0;
    z-index: 11000;
    background: rgba(0, 0, 0, 0.72);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.recaptcha-human-card {
    max-width: 420px;
    width: 100%;
    padding: 1.5rem 1.35rem;
}

.recaptcha-human-title {
    margin-top: 0;
    margin-bottom: 0.35rem;
}

.recaptcha-widget-container {
    min-height: 78px;
    margin-bottom: 1rem;
}

.recaptcha-human-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: flex-end;
}

.auth-footer {
    text-align: center;
    margin-top: 1.5rem;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
}

.auth-footer a {
    color: var(--company-cyan);
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color var(--transition-fast);
}

.auth-footer a:hover {
    text-decoration: none;
    border-bottom: 1px solid var(--company-cyan);
}

/* Registration page: about-style content + form */
.register-about {
    max-width: 840px;
    margin: 0 auto;
    padding: 2rem;
}

.register-form-section {
    max-width: 600px;
    margin: 2rem auto 4rem;
    background: rgba(50, 50, 50, 0.5);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.register-form-section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--company-cyan);
    text-align: center;
}

.register-form-section .form-group label {
    color: rgba(255, 255, 255, 0.95);
}

.register-form-section .form-group input {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
}

.register-form-section .form-group input::placeholder {
    color: rgba(255, 255, 255, 0.72);
    font-family: var(--font-muted);
}

.register-form-section .form-group input:focus {
    border-color: rgba(var(--company-cyan-rgb), 0.8);
    background: rgba(255, 255, 255, 0.12);
}

.register-form-section .btn-block {
    margin-top: 1rem;
}

.register-form-section .auth-footer {
    margin-top: 1rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Styles */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.4rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-features {
        grid-template-columns: 1fr;
    }
    
    .services-content {
        grid-template-columns: 1fr;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .modal-card {
        padding: 2rem;
        width: 95%;
    }
    
    .modal-card h2 {
        font-size: 2rem;
    }

    .register-form-section .form-row {
        grid-template-columns: 1fr !important;
    }
}

/* Quote Page Styles */
.quote-content {
    max-width: 700px;
    margin: 0 auto;
    padding: 2rem;
}

.quote-draft-banner {
    background: rgba(76, 175, 80, 0.2);
    border: 1px solid rgba(76, 175, 80, 0.5);
    border-radius: 10px;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    justify-content: space-between;
}

.quote-draft-text {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1rem;
}

.quote-draft-actions {
    display: flex;
    gap: 0.5rem;
}

.quote-contact-gate {
    margin-bottom: 1.5rem;
}

.quote-contact-gate-inner {
    background: rgba(22, 34, 52, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 1.5rem;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.quote-gate-title {
    color: #fff;
    margin-bottom: 0.5rem;
    font-size: 1.35rem;
}

.quote-gate-intro {
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 1.1rem;
    font-size: 0.95rem;
    line-height: 1.45;
}

.quote-contact-summary {
    background: rgba(56, 212, 251, 0.12);
    border: 1px solid rgba(56, 212, 251, 0.35);
    border-radius: 8px;
    padding: 1rem 1.1rem;
    margin-bottom: 1.25rem;
}

.quote-contact-summary p {
    margin: 0 0 0.75rem 0;
    color: rgba(255, 255, 255, 0.95);
}

.quote-save-hint {
    margin: 1rem 0 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.88);
    width: 100%;
    font-family: var(--font-muted);
}

.inventory-content {
    max-width: 1400px;
}

.inventory-content .quote-form-container {
    padding: 1.5rem;
}

.inventory-content .form-section h2 {
    font-size: 1.75rem;
}

.inventory-totals {
    margin-top: 1.5rem;
    padding: 1rem 1.25rem;
    border-radius: 10px;
    background: rgba(15, 52, 96, 0.7);
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.inventory-total-item {
    flex: 1 1 180px;
}

.inventory-total-label {
    display: block;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.88);
    font-family: var(--font-muted);
}

.inventory-total-value {
    display: block;
    font-size: 1.4rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.98);
}

.quote-form-container {
    background: rgba(35, 35, 35, 0.88);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    padding: 2rem;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.admin-edit-pricing-link {
    color: #81C784;
    font-weight: 600;
    text-decoration: none;
}

.admin-edit-pricing-link:hover {
    text-decoration: underline;
}

#adminEditPricing {
    display: none;
    margin-top: 0.75rem;
}

.quote-form {
    color: #fff;
}

.form-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.form-section:last-of-type {
    border-bottom: none;
}

.form-section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--company-cyan);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.quote-form .form-group label {
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
    margin-bottom: 0.5rem;
    display: block;
}

.quote-form .form-group input,
.quote-form .form-group select,
.quote-form .form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    font-size: 1rem;
    font-family: var(--font-client-input);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    transition: all 0.3s ease;
}

.quote-form .form-group input::placeholder,
.quote-form .form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.quote-form .form-group input:focus,
.quote-form .form-group select:focus,
.quote-form .form-group textarea:focus {
    outline: none;
    border-color: var(--company-cyan);
    background: rgba(255, 255, 255, 0.15);
}

.quote-form .form-group select option {
    background: #1a1a1a;
    color: #fff;
}

.include-cart-section .include-cart-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.95);
}

.include-cart-section .include-cart-label input {
    width: auto;
}

.include-cart-hint {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.88);
    margin-top: 0.5rem;
    font-family: var(--font-muted);
}

.include-cart-hint a {
    color: var(--company-cyan);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color var(--transition-fast);
}

.include-cart-hint a:hover {
    border-bottom: 1px solid var(--company-cyan);
}

.inventory-section h3 {
    font-size: 1.2rem;
    margin: 0 0 0.75rem 0;
    color: rgba(255, 255, 255, 0.95);
}

.inventory-hint {
    margin-top: -0.5rem;
    margin-bottom: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    font-family: var(--font-muted);
}

.inventory-top-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}

.inventory-address-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
    margin-top: 0.25rem;
    margin-bottom: 1.25rem;
}

.inventory-address-col {
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 12px;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.18);
}

.inventory-checklist-wrap {
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.18);
    overflow: hidden;
}

.inventory-checklist-sticky-head {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    padding: 0.65rem 0.75rem;
    background: rgba(15, 59, 91, 0.85);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    position: sticky;
    top: 0;
    z-index: 2;
}

.inventory-col-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    text-align: center;
}

.inventory-checklist-grid {
    max-height: calc(100vh - 360px);
    overflow: auto;
    padding: 0;
}

.inventory-checklist-inner {
    padding: 0.75rem;
    display: grid;
    gap: 0.35rem;
    min-width: 1180px; /* ensures 4 columns are usable; horizontal scroll appears */
}

.inventory-loading {
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    padding: 1rem;
}

.inventory-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
    min-width: 1180px;
}

.inventory-cell {
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 10px;
    padding: 0.5rem 0.5rem 0.45rem;
    background: rgba(255, 255, 255, 0.06);
    min-height: 44px;
}

.inventory-cell-header {
    background: rgba(15, 59, 91, 0.78);
    border-color: rgba(56, 212, 251, 0.18);
}

.inventory-cell-note {
    background: rgba(255, 255, 255, 0.04);
    border-style: dashed;
    color: rgba(255, 255, 255, 0.8);
}

.inventory-item-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.5rem;
}

.inventory-item-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.25;
}

.inventory-item-meta {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.88);
    white-space: nowrap;
    font-family: var(--font-muted);
}

.inventory-item-controls {
    margin-top: 0.35rem;
    display: grid;
    grid-template-columns: 1fr 92px;
    gap: 0.5rem;
    align-items: center;
}

.inventory-qty-input {
    width: 100%;
    padding: 0.4rem 0.45rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(0, 0, 0, 0.25);
    color: #fff;
}

.inventory-qty-input:focus {
    outline: none;
    border-color: var(--company-cyan);
}

.inventory-confirm-row {
    margin-top: 1rem;
}

.inventory-status-card {
    display: block;
}

.inventory-status-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    margin: 0.5rem 0 0.75rem;
}

.quote-cart-summary {
    display: none;
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.quote-cart-summary h3 {
    font-size: 1rem;
    color: var(--company-cyan);
    margin-bottom: 0.75rem;
}

.quote-cart-item {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    padding: 0.25rem 0;
}

.quote-cart-total {
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
}

.packaging-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.packaging-option {
    position: relative;
}

.packaging-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.option-card {
    background: rgba(50, 50, 50, 0.5);
    padding: 1.5rem;
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.packaging-option input[type="radio"]:checked + label .option-card {
    background: rgba(var(--company-cyan-rgb), 0.3);
    border-color: var(--company-cyan);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.option-card:hover {
    background: rgba(50, 50, 50, 0.6);
    transform: translateY(-2px);
}

.option-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--company-cyan);
}

.option-card p {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

.option-card .price {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
}

.checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.checkbox-item input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.checkbox-item label {
    color: rgba(255, 255, 255, 0.95);
    cursor: pointer;
    font-size: 1rem;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* Boxes Page Styles */
.boxes-content {
    max-width: 980px;
    margin: 0 auto;
    padding: 2rem;
}

.boxes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(245px, 1fr));
    gap: 1.4rem;
    margin-bottom: 2rem;
}

.product-cards-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.25rem;
}

.box-category-card {
    background: rgba(35, 35, 35, 0.85);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    padding: 1rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: transform var(--transition-smooth), background var(--transition-normal), box-shadow var(--transition-normal);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.box-category-card:hover {
    transform: translateY(-6px);
    background: rgba(40, 40, 40, 0.9);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

/* Single product card: image + title + price row */
.product-card {
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
}

.product-card-image {
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 10px 10px 0 0;
    background: rgba(0, 0, 0, 0.2);
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--transition-smooth);
}

.box-category-card:hover .product-card-image img {
    transform: scale(1.05);
}

.product-card h2 {
    font-family: var(--font-heading);
    font-size: 1rem;
    margin: 0.75rem 1rem 0.5rem;
    color: var(--company-cyan);
    text-align: center;
    line-height: 1.3;
    flex: 1;
}

.product-card .box-option {
    margin: 0 1rem 1rem;
    padding: 0.6rem 0.75rem;
}

.product-card .box-option .box-size {
    display: none;
}

.product-card .box-option .box-price {
    flex: 1;
    text-align: left;
}

.category-icon {
    font-size: 2.1rem;
    margin-bottom: 0.7rem;
    text-align: center;
    overflow: hidden;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.2);
}

.category-icon .category-image {
    width: 100%;
    max-width: 100%;
    height: 140px;
    object-fit: cover;
    display: block;
}

.box-category-card:not(.product-card) h2 {
    font-size: 1.26rem;
    margin-bottom: 0.5rem;
    color: var(--company-cyan);
    text-align: center;
}

.category-description {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
    text-align: center;
    line-height: 1.5;
}

.box-options {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.box-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.7rem;
    padding: 0.7rem;
    background: rgba(50, 50, 50, 0.5);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.box-size {
    flex: 1;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
}

.box-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--company-cyan);
    min-width: 60px;
    text-align: right;
}

.quantity-input {
    width: 60px;
    padding: 0.4rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    font-size: 1rem;
    font-family: var(--font-client-input);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    text-align: center;
}

.quantity-input:focus {
    outline: none;
    border-color: var(--company-cyan);
    background: rgba(255, 255, 255, 0.15);
}

/* Match spin-button (arrow) background to the card on Shop */
.box-category-card .quantity-input::-webkit-inner-spin-button,
.box-category-card .quantity-input::-webkit-outer-spin-button {
    background: rgba(35, 35, 35, 0.95);
    color: rgba(255, 255, 255, 0.9);
}
.box-category-card .quantity-input::-webkit-inner-spin-button:hover,
.box-category-card .quantity-input::-webkit-outer-spin-button:hover {
    background: rgba(45, 45, 45, 0.95);
}

.cart-empty-hint {
    text-align: center;
    color: rgba(255, 255, 255, 0.88);
    font-size: 1rem;
    margin-top: 2rem;
    padding: 1rem;
    font-family: var(--font-muted);
}

#adminEditProducts {
    display: none;
    margin-top: 0.75rem;
}

.cart-section {
    display: none;
    position: sticky;
    bottom: 2rem;
    margin-top: 3rem;
}

.cart-summary {
    background: rgba(35, 35, 35, 0.88);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    max-width: 450px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    margin: 0 auto;
}

.cart-summary h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--company-cyan);
    text-align: center;
}

.cart-summary-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.cart-summary-header h2 {
    margin-bottom: 0;
    text-align: left;
}

.cart-toggle-btn {
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border-radius: 8px;
    width: 2rem;
    height: 2rem;
    padding: 0;
    font-size: 1.2rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease;
}

.cart-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.16);
}

.cart-summary.is-minimized #cartSummaryContent {
    display: none;
}

.cart-actions {
    display: grid;
    gap: 0.75rem;
}

#cartItems {
    margin-bottom: 1.5rem;
    max-height: 300px;
    overflow-y: auto;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.95);
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-name {
    flex: 1;
}

.cart-item-quantity {
    margin: 0 1rem;
    color: rgba(255, 255, 255, 0.7);
}

.cart-item-price {
    font-weight: 600;
    color: var(--company-cyan);
}

.cart-total {
    font-size: 1.5rem;
    padding: 1rem 0;
    border-top: 2px solid rgba(255, 255, 255, 0.3);
    margin-top: 1rem;
    text-align: center;
    color: #fff;
}

.cart-total strong {
    color: var(--company-cyan);
}

/* ========== Shared Site Footer ========== */
.site-footer {
    margin-top: 2rem;
    background: rgba(18, 28, 44, 0.95);
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.site-footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1.5rem 1.25rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.site-footer-block h3,
.site-footer-block h4 {
    color: #fff;
    margin-bottom: 0.65rem;
}

.site-footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-family: var(--font-company-name);
}

.site-footer-company-logo {
    width: 30px;
    height: 30px;
    object-fit: contain;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.08);
    padding: 3px;
}

.site-footer-block p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.45rem;
    line-height: 1.45;
    font-family: var(--font-muted);
}

.site-footer-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem 1rem;
}

.site-footer-social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--company-cyan);
    font-weight: 500;
    text-decoration: none;
}

.site-footer-social-icon {
    width: 22px;
    height: 22px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--company-cyan-rgb), 0.18);
    color: var(--company-cyan);
}

.site-footer-social-link:hover {
    text-decoration: underline;
}

.site-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    text-align: center;
    padding: 0.9rem 1rem 1.2rem;
}

.site-footer-bottom p {
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.92rem;
    font-family: var(--font-muted);
}

.cart-combine-note {
    margin-top: 1rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.86);
    text-align: center;
    font-family: var(--font-muted);
}

.cart-combine-note a {
    color: var(--company-cyan);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color var(--transition-fast);
}

.cart-combine-note a:hover {
    border-bottom: 1px solid var(--company-cyan);
}

#checkoutBtn {
    width: 100%;
    margin-top: 0.5rem;
}

.empty-cart {
    text-align: center;
    color: rgba(255, 255, 255, 0.86);
    padding: 1rem;
    font-style: italic;
    font-family: var(--font-muted);
}

@media (max-width: 768px) {
    .quote-form-container {
        padding: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .packaging-options {
        grid-template-columns: 1fr;
    }
    
    .checkbox-group {
        grid-template-columns: 1fr;
    }
    
    .boxes-grid {
        grid-template-columns: 1fr;
    }
    
    .box-option {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .box-price {
        text-align: left;
    }
    
    .quantity-input {
        width: 100%;
    }
}

/* ========== ADMIN DASHBOARD STYLES ========== */
@keyframes adminSlideFadeIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes adminSidebarSlideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.admin-layout {
    display: flex;
    min-height: calc(100vh - 85px);
}

.admin-sidebar {
    width: 220px;
    background: rgba(25, 25, 25, 0.95);
    animation: adminSidebarSlideIn 0.35s ease-out forwards;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    padding: 1.5rem 1rem;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-sidebar h3 {
    color: var(--company-cyan);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    animation: adminSlideFadeIn 0.35s ease-out 0.02s forwards;
}

.admin-nav {
    list-style: none;
}

.admin-nav li {
    margin-bottom: 0.5rem;
    animation: adminSlideFadeIn 0.35s ease-out forwards;
    opacity: 0;
}

.admin-nav li:nth-child(1) { animation-delay: 0.05s; }
.admin-nav li:nth-child(2) { animation-delay: 0.1s; }
.admin-nav li:nth-child(3) { animation-delay: 0.15s; }
.admin-nav li:nth-child(4) { animation-delay: 0.2s; }
.admin-nav li:nth-child(5) { animation-delay: 0.25s; }

.admin-nav a {
    display: block;
    padding: 0.75rem 1rem;
    color: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    transition: all 0.2s ease;
    font-size: 0.9rem;
    font-family: var(--font-muted);
}

.admin-nav a:hover,
.admin-nav a.active {
    background: rgba(var(--company-cyan-rgb), 0.2);
    color: #fff;
}

.admin-nav a.active {
    background: rgba(var(--company-cyan-rgb), 0.3);
    font-weight: 600;
}

.admin-main {
    flex: 1;
    padding: 1.5rem;
    overflow-y: auto;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    animation: adminSlideFadeIn 0.35s ease-out forwards;
}

.admin-header h1 {
    font-size: 1.75rem;
    color: #fff;
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: rgba(35, 35, 35, 0.9);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    padding: 1.25rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    animation: adminSlideFadeIn 0.35s ease-out forwards;
    opacity: 0;
}

.stat-card:nth-child(1) { animation-delay: 0.08s; }
.stat-card:nth-child(2) { animation-delay: 0.12s; }
.stat-card:nth-child(3) { animation-delay: 0.16s; }
.stat-card:nth-child(4) { animation-delay: 0.2s; }

.stat-card h3 {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.86);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: var(--font-muted);
}

.stat-card .stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--company-cyan);
}

.stat-card .stat-change {
    font-size: 0.8rem;
    color: #4CAF50;
    margin-top: 0.25rem;
}

.admin-card {
    background: rgba(35, 35, 35, 0.9);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    animation: adminSlideFadeIn 0.35s ease-out forwards;
    opacity: 0;
}

.admin-section > .admin-card:nth-of-type(1) { animation-delay: 0.24s; }
.admin-section > .admin-card:nth-of-type(2) { animation-delay: 0.28s; }
.admin-section > .admin-card:nth-of-type(3) { animation-delay: 0.32s; }

.admin-card h2 {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

.admin-table th {
    color: var(--company-cyan);
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.admin-table td {
    color: rgba(255, 255, 255, 0.9);
    font-family: var(--font-muted);
}

.admin-table tr:hover td {
    background: rgba(255, 255, 255, 0.05);
}

.btn-sm {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
    border-radius: 6px;
}

.btn-danger {
    background: rgba(244, 67, 54, 0.8);
    color: white;
    border: none;
    cursor: pointer;
}

.btn-danger:hover {
    background: rgba(244, 67, 54, 1);
}

.btn-edit {
    background: rgba(33, 150, 243, 0.8);
    color: white;
    border: none;
    cursor: pointer;
    margin-right: 0.5rem;
}

.btn-edit:hover {
    background: rgba(33, 150, 243, 1);
}

.chart-container {
    height: 300px;
    margin-top: 1rem;
}

.online-indicator {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 0.5rem;
}

.online-indicator.online {
    background: #4CAF50;
    box-shadow: 0 0 6px #4CAF50;
}

.online-indicator.offline {
    background: #666;
}

@media (max-width: 768px) {
    .admin-layout {
        flex-direction: column;
    }
    
    .admin-sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .admin-nav {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .admin-stats {
        grid-template-columns: 1fr 1fr;
    }
}