/* style.css */
@import url('https://fonts.googleapis.com/css2?family=Alexandria:wght@300;400;600;700;900&display=swap');

/* ===== RESET & BASE (B&W MINIMALIST) ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --primary: #000000;
    --primary-dark: #222222;
    --primary-glow: rgba(0, 0, 0, 0.15);
    --bg: #ffffff;
    --surface: #f8f9fa;
    --card: #ffffff;
    --text: #111111;
    --text-muted: #666666;
    --glass: rgba(0, 0, 0, 0.04);
    --glass-border: rgba(0, 0, 0, 0.08);
    --border: #eeeeee;
    --nav-bg: rgba(255, 255, 255, 0.9);
    --nav-scrolled: rgba(255, 255, 255, 0.98);
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 8px;
    --shadow-premium: 0 10px 30px rgba(0,0,0,0.08);
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

html { scroll-behavior: smooth; }
body { background: var(--bg); font-family: 'Alexandria', system-ui, sans-serif; color: var(--text); min-height: 100vh; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }

/* ===== NAVBAR ===== */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; display: flex; align-items: center; justify-content: space-between; padding: 24px 60px; background: var(--nav-bg); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--glass-border); transition: var(--transition); }
.navbar.scrolled { background: var(--nav-scrolled); padding: 16px 60px; box-shadow: var(--shadow-premium); }
.nav-logo-link { font-size: 28px; font-weight: 900; color: var(--primary); letter-spacing: -1px; }
.top-btn-container { display: flex; align-items: center; gap: 4px; }
.top-btn { font-size: 13px; font-weight: 700; letter-spacing: 0.5px; color: var(--text-muted); padding: 8px 16px; border-radius: 8px; transition: var(--transition); text-transform: uppercase; }
.top-btn:hover, .top-btn.active-nav { color: var(--primary); background: var(--glass); }
.top-btn.btn-cta { background: var(--primary); color: #fff; padding: 10px 24px; border-radius: 50px; margin-left: 10px; box-shadow: 0 4px 15px var(--primary-glow); }
.top-btn.btn-cta:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 8px 25px var(--primary-glow); }

/* --- USER PROFILE DROPDOWN --- */
.profile-menu { position: relative; display: inline-block; margin-left: 10px; padding-bottom: 20px; margin-bottom: -20px;}
.profile-icon { background-color: var(--surface); color: var(--text-muted); width: 40px; height: 40px; border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 16px; cursor: pointer; border: 1px solid var(--border); transition: var(--transition); }
.profile-menu:hover .profile-icon { border-color: var(--primary); background-color: var(--primary); color: #fff; transform: scale(1.05); }
.dropdown-content { display: none; position: absolute; right: 0; top: 50px; background-color: var(--bg); min-width: 220px; box-shadow: var(--shadow-premium); border-radius: var(--radius-md); border: 1px solid var(--border); z-index: 1000; overflow: hidden; opacity: 0; transform: translateY(-10px); transition: var(--transition); }
.dropdown-content::before { content: ""; position: absolute; top: -20px; left: 0; width: 100%; height: 20px; background: transparent; }
.profile-menu:hover .dropdown-content { display: block; opacity: 1; transform: translateY(0); }
.dropdown-header { padding: 18px 20px; background-color: var(--surface); border-bottom: 1px solid var(--border); font-weight: 800; font-size: 14px; color: var(--text); }
.dropdown-content a { color: var(--text-muted); padding: 14px 20px; display: block; font-size: 13px; font-weight: 600; transition: background 0.2s; }
.dropdown-content a:hover { background-color: var(--surface); color: var(--primary); }
.logout-text { color: #d9534f !important; border-top: 1px solid var(--border); }
.dropdown-content a.logout-text:hover { background-color: #fdf0f0; color: #c9302c !important; }

/* ===== HERO SECTION ===== */
.hero { position: relative; height: 100vh; min-height: 620px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero-overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(to bottom, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.5) 50%, var(--bg) 100%); }
.hero-content { position: relative; z-index: 2; text-align: center; max-width: 800px; padding: 0 24px; }
.hero-badge { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.3); color: #fff; padding: 8px 20px; border-radius: 50px; font-size: 13px; font-weight: 600; margin-bottom: 24px; backdrop-filter: blur(5px); animation: fadeDown 0.7s ease both; }
.hero-title { font-size: clamp(3rem, 7vw, 5.5rem); font-weight: 900; line-height: 1.1; color: #fff; margin-bottom: 20px; text-shadow: 0 4px 20px rgba(0,0,0,0.3); animation: fadeDown 0.7s 0.15s ease both; }
.hero-subtitle { font-size: clamp(1rem, 2vw, 1.25rem); color: rgba(255,255,255,0.85); margin-bottom: 50px; font-weight: 300; animation: fadeDown 0.7s 0.3s ease both; }

.hero-stats { display: flex; align-items: center; justify-content: center; gap: clamp(16px, 4vw, 32px); animation: fadeDown 0.7s 0.6s ease both; flex-wrap: wrap; }
.stat { text-align: center; }
.stat-num { display: block; font-size: clamp(1.4rem, 4vw, 1.8rem); font-weight: 900; color: #fff; }
.stat-label { font-size: clamp(11px, 2.5vw, 13px); color: rgba(255,255,255,0.7); text-transform: uppercase; letter-spacing: 0.5px; }
.stat-divider { width: 1px; height: 36px; background: rgba(255,255,255,0.2); }

/* ===== SECTIONS ===== */
.section { padding: 100px 0; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-tag { display: inline-block; background: var(--surface); color: var(--text-muted); border: 1px solid var(--border); padding: 5px 16px; border-radius: 50px; font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 16px; }
.section-title { font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; color: var(--text); margin-bottom: 12px; letter-spacing: -1px; }
.section-desc { color: var(--text-muted); font-size: 1rem; max-width: 500px; margin: 0 auto; line-height: 1.6; }

/* ===== VENDOR SLIDER ===== */
#vendorSlider { padding: 80px 10%; background-color: var(--surface); text-align: left; border-bottom: 1px solid var(--border); }
#vendorSlider h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; color: var(--primary); margin-bottom: 40px; text-align: center; letter-spacing: -1px; }

.carousel-wrapper { position: relative; max-width: 1000px; margin: 0 auto; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-premium); }
.carousel-track { display: flex; transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1); width: 100%; }
.slide-item { min-width: 100%; height: 450px; position: relative; flex-shrink: 0; }
.slide-item img { width: 100%; height: 100%; object-fit: cover; } 

.slide-label {
    position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); 
    background-color: rgba(255, 255, 255, 0.95); color: var(--primary);
    padding: 25px 40px; border-radius: 16px; font-size: 22px; font-weight: 900;
    letter-spacing: 1px; text-transform: uppercase; backdrop-filter: blur(8px); 
    box-shadow: 0 10px 30px rgba(0,0,0,0.15); border: 1px solid var(--border);
    display: flex; flex-direction: column; align-items: center; gap: 15px; min-width: 300px;
}

.vendor-choose-btn {
    background: var(--primary); color: #fff; padding: 12px 25px; border-radius: 50px;
    font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px;
    transition: var(--transition); border: 2px solid var(--primary);
}
.vendor-choose-btn:hover { background: transparent; color: var(--primary); transform: translateY(-2px); box-shadow: 0 5px 15px rgba(0,0,0,0.1); }

.carousel-btn {
    background-color: rgba(255, 255, 255, 0.85); color: var(--primary); border: 1px solid var(--border); border-radius: 50%; width: 45px; height: 45px; cursor: pointer;
    font-size: 20px; font-weight: bold; display: flex; justify-content: center; align-items: center;
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 10; transition: var(--transition); backdrop-filter: blur(5px);
}
.carousel-btn:hover { background-color: var(--primary); color: #ffffff; transform: translateY(-50%) scale(1.1); border-color: var(--primary);}
.prev-btn { left: 20px; }
.next-btn { right: 20px; }

.carousel-dots { position: absolute; bottom: 15px; left: 0; right: 0; text-align: center; z-index: 20; }
.dot { height: 10px; width: 10px; margin: 0 6px; background-color: rgba(255, 255, 255, 0.5); border-radius: 50%; display: inline-block; transition: var(--transition); cursor: pointer; }
.dot.active, .dot:hover { background-color: #ffffff; transform: scale(1.3); }

/* ===== HOW IT WORKS ===== */
.how-section { background: var(--bg); }
.steps-grid { display: flex; align-items: stretch; justify-content: center; gap: 30px; flex-wrap: wrap; margin-top: 40px; }
.step-card { background: var(--surface); border: 1px solid var(--glass-border); border-radius: var(--radius-md); padding: 50px 30px; text-align: center; position: relative; transition: var(--transition); flex: 1; min-width: 280px; max-width: 340px; display: flex; flex-direction: column; align-items: center; z-index: 1; }
.step-card:hover { transform: translateY(-10px); background: var(--card); border-color: var(--primary); box-shadow: var(--shadow-premium); }
.step-icon { width: 72px; height: 72px; background: var(--bg); border: 2px solid var(--border); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; font-size: 28px; color: var(--primary); transition: var(--transition); }
.step-card:hover .step-icon { background: var(--primary); color: #fff; border-color: var(--primary); }
.step-card h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: 10px; color: var(--text); }
.step-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* ===== 3D SHOWCASE / CTA ===== */
.cta-section { padding: 100px 32px; background: var(--surface); display: flex; justify-content: center; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);}
.cta-inner { max-width: 1100px; width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 50px; }
.cta-text { flex: 1; text-align: left; }
.cta-text h2 { font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 900; color: var(--primary); margin-bottom: 20px; line-height: 1.1; letter-spacing: -1px; }
.cta-text p { color: var(--text-muted); font-size: 18px; margin-bottom: 36px; line-height: 1.6; }
.cta-main-btn { display: inline-flex; align-items: center; gap: 8px; background: var(--primary); color: #fff; padding: 16px 36px; border-radius: 50px; font-family: 'Alexandria', sans-serif; font-size: 15px; font-weight: 700; transition: var(--transition); box-shadow: 0 8px 24px rgba(0,0,0,0.15); }
.cta-main-btn:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(0,0,0,0.25); background: var(--primary-dark); }
model-viewer { width: 450px; height: 400px; }

/* ===== FOOTER ===== */
.footer { background: var(--bg); padding: 80px 0 0; }
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 0 32px 60px; display: grid; grid-template-columns: 300px 1fr; gap: 80px; }
.footer-brand h2 { font-size: 28px; font-weight: 900; color: var(--primary); margin-bottom: 15px; letter-spacing: -1px;}
.footer-tagline { font-size: 14px; color: var(--text-muted); font-style: italic; margin-bottom: 25px; }
.footer-socials { display: flex; gap: 12px; margin-bottom: 30px; }
.footer-socials a { width: 40px; height: 40px; background: var(--surface); border: 1px solid var(--border); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--text-muted); font-size: 15px; transition: var(--transition); }
.footer-socials a:hover { background: var(--primary); border-color: var(--primary); color: #fff; transform: translateY(-3px); }
.secure-payment { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.secure-payment img { height: 18px; filter: grayscale(100%); opacity: 0.6; transition: var(--transition); }
.secure-payment img:hover { filter: none; opacity: 1; transform: scale(1.1); }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.footer-col h4 { font-size: 13px; font-weight: 800; color: var(--primary); margin-bottom: 20px; text-transform: uppercase; letter-spacing: 1px; }
.footer-col a { display: block; font-size: 14px; color: var(--text-muted); margin-bottom: 12px; font-weight: 500; transition: var(--transition); }
.footer-col a:hover { color: var(--primary); transform: translateX(5px); }
.footer-bottom { border-top: 1px solid var(--border); padding: 25px 32px; text-align: center; display: flex; justify-content: center; gap: 30px; }
.footer-bottom p, .footer-bottom a { font-size: 13px; color: var(--text-muted); font-weight: 500;}
.footer-bottom a:hover { color: var(--primary); }

/* Animations */
@keyframes fadeDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }

/* ===== ABOUT US SPECIFIC CSS ===== */
.story-section { display: flex; align-items: center; justify-content: space-between; max-width: 1300px; margin: 0 auto; padding: 120px 40px; gap: 80px; }
.story-left { flex: 1.2; opacity: 0; transform: translateX(-40px); transition: all 1s cubic-bezier(0.25, 1, 0.5, 1); }
.story-left.visible { opacity: 1; transform: translateX(0); }
.story-right { flex: 1; display: flex; justify-content: flex-end; opacity: 0; transform: translateX(40px) scale(0.9); transition: all 1s cubic-bezier(0.25, 1, 0.5, 1) 0.2s; }
.story-right.visible { opacity: 1; transform: translateX(0) scale(1); }
.story-left h1 { font-size: clamp(3rem, 5vw, 56px); font-weight: 900; color: var(--primary); margin: 0 0 25px 0; letter-spacing: -1px; line-height: 1.1; }
.long-desc { font-size: 18px; color: var(--text-muted); line-height: 1.8; margin-bottom: 40px; text-align: justify; }
.history-badge { background: linear-gradient(135deg, var(--surface) 0%, var(--bg) 100%); border-left: 4px solid var(--primary); padding: 25px 30px; border-radius: 0 12px 12px 0; box-shadow: var(--shadow-premium); }
.history-year { font-size: 14px; font-weight: 800; color: var(--primary); text-transform: uppercase; letter-spacing: 2px; display: block; margin-bottom: 10px; }
.history-badge p { margin: 0; font-size: 16px; color: var(--text-muted); line-height: 1.6; }
#largeLogo { width: 100%; max-width: 550px; filter: drop-shadow(0px 20px 40px rgba(0,0,0,0.08)); }
.values-section { padding: 100px 10%; background-color: var(--surface); text-align: center; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.values-section > h2 { font-size: clamp(2rem, 4vw, 42px); font-weight: 900; color: var(--primary); margin-top: 0; margin-bottom: 60px; letter-spacing: -1px;}
.values-grid { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap;}
.value-card { background-color: var(--card); padding: 50px 30px; border-radius: var(--radius-md); flex: 1; min-width: 280px; box-shadow: var(--shadow-premium); transition: var(--transition); border: 1px solid var(--border); opacity: 0; transform: translateY(40px); }
.value-card.visible { opacity: 1; transform: translateY(0); }
.value-card:hover { transform: translateY(-10px) !important; box-shadow: 0 20px 40px rgba(0,0,0,0.12); border-color: var(--primary); }
.value-icon { font-size: 50px; margin-bottom: 20px; }
.value-card h3 { color: var(--primary); margin-bottom: 15px; font-size: 24px; font-weight: 800; }
.value-card p { font-size: 15px; color: var(--text-muted); line-height: 1.6; }
.team-section { padding: 120px 10%; background-color: var(--bg); text-align: center; }
.team-section h2 { font-size: clamp(2.5rem, 4vw, 42px); font-weight: 900; color: var(--primary); margin-bottom: 15px; margin-top: 0; letter-spacing: -1px;}
.team-section > p { color: var(--text-muted); margin-bottom: 80px; font-size: 18px; }
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 60px; max-width: 1000px; margin: 0 auto; }
.team-profile { position: relative; background-color: var(--surface); border-radius: 24px; width: 100%; height: 450px; overflow: hidden; box-shadow: var(--shadow-premium); border: 1px solid var(--border); cursor: pointer; opacity: 0; transform: translateY(40px); transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1); }
.team-profile.visible { opacity: 1; transform: translateY(0); }
.team-profile:hover { box-shadow: 0 20px 40px rgba(0,0,0,0.15); border-color: var(--primary); }
.profile-main { padding: 50px 20px; text-align: center; height: 100%; box-sizing: border-box; transition: all 0.5s ease; }
.team-img { width: 220px; height: 220px; border-radius: 50%; object-fit: cover; margin-bottom: 30px; border: 6px solid var(--card); box-shadow: var(--shadow-premium); transition: all 0.5s ease; filter: grayscale(100%);}
.team-profile:hover .team-img { transform: scale(0.9) translateY(-15px); filter: none; }
.team-name { font-size: 26px; font-weight: 900; color: var(--primary); margin: 0 0 8px 0; }
.team-role { font-size: 14px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 2px; }
.profile-hover-details { position: absolute; bottom: -150%; left: 20px; width: calc(100% - 40px); height: calc(100% - 40px); background: rgba(20, 20, 20, 0.95); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); border: 1px solid rgba(255, 255, 255, 0.15); border-radius: 20px; color: #ffffff; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 40px; box-sizing: border-box; box-shadow: 0 20px 50px rgba(0,0,0,0.5); transition: bottom 0.5s cubic-bezier(0.25, 1, 0.5, 1); transition-delay: 0s; }
.team-profile:hover .profile-hover-details { bottom: 20px; transition-delay: 0.3s; }
.bio { font-size: 15px; line-height: 1.7; text-align: center; margin-bottom: 25px; color: #dddddd; }
.mini-role { font-size: 13px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; color: #ffffff; margin-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,0.2); padding-bottom: 15px; width: 100%; text-align: center;}
@media (max-width: 800px) { .team-grid { grid-template-columns: 1fr; } .story-section { flex-direction: column; text-align: center; padding: 100px 20px;} .history-badge { border-left: none; border-top: 4px solid var(--primary); border-radius: 0 0 12px 12px; } }

/* ========================================================
   SCROLL ANIMATIONS (STYLISH & MODERN)
   ======================================================== */
.reveal-up { opacity: 0; transform: translateY(60px); transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1); }
.reveal-left { opacity: 0; transform: translateX(-60px); transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1); }
.reveal-right { opacity: 0; transform: translateX(60px); transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1); }
.reveal-scale { opacity: 0; transform: scale(0.9); transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1); }

/* When the JavaScript observer triggers this class, the elements gracefully appear */
.active-reveal { opacity: 1; transform: translate(0) scale(1); }

/* Delays for staggering elements so they don't load all at once */
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }
.delay-500 { transition-delay: 500ms; }

/* ========================================================
   SLIDING & TYPING ANIMATIONS
   ======================================================== */
.slide-up { opacity: 0; transform: translateY(80px); transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1); }
.slide-left { opacity: 0; transform: translateX(-80px); transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1); }
.slide-right { opacity: 0; transform: translateX(80px); transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1); }

/* Triggered by JS Intersection Observer */
.active-slide { opacity: 1; transform: translate(0) scale(1); }

/* The blinking typing cursor */
.typing-cursor::after {
    content: '|';
    animation: blink 1s step-start infinite;
    color: var(--primary);
}
@keyframes blink { 50% { opacity: 0; } }

/* ========================================================
   ADMIN SIGNATURE CANVAS
   ======================================================== */
.signature-box {
    background: #fafafa;
    border: 2px dashed #ccc;
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 20px;
    text-align: center;
}
canvas#signaturePad {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    cursor: crosshair;
    touch-action: none; /* Prevents scrolling while signing on mobile */
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.02);
}
.clear-sig-btn {
    background: transparent;
    border: none;
    color: #888;
    font-size: 12px;
    font-weight: bold;
    text-decoration: underline;
    cursor: pointer;
    margin-top: 5px;
}
.clear-sig-btn:hover { color: #d9534f; }