/* ==========================================================================
   YUG SMART IVR - ENTERPRISE TELEPHONY HARDWARE STYLESHEET
   Brand Theme: Yug Web Solutions (Emerald #009640, Lime #8ec31f, Gold #fab615)
   ========================================================================== */

:root {
    /* Brand Palette extracted from assets/yug-logo.webp */
    --yug-emerald: #009640;
    --yug-emerald-dark: #007a33;
    --yug-emerald-light: #e8f7ee;
    --yug-lime: #8ec31f;
    --yug-lime-dark: #7ba817;
    --yug-lime-light: #f3fae8;
    --yug-yellow: #fab615;
    --yug-yellow-dark: #e69d05;
    --yug-yellow-light: #fff8e6;
    
    /* Neutrals & Text */
    --text-dark: #1e242a;
    --text-body: #495460;
    --text-muted: #6e7a88;
    --bg-grey: #f4f7f6;
    --bg-white: #ffffff;
    --border-color: rgba(0, 0, 0, 0.08);
    --border-green: rgba(0, 150, 64, 0.18);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #8ec31f 0%, #009640 100%);
    --gradient-accent: linear-gradient(135deg, #fab615 0%, #f39c12 100%);
    --gradient-hero: linear-gradient(145deg, rgba(142, 195, 31, 0.08) 0%, rgba(0, 150, 64, 0.04) 50%, rgba(250, 182, 21, 0.04) 100%);

    /* Elevation Shadows */
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 25px -4px rgba(0, 150, 64, 0.08), 0 4px 10px rgba(0, 0, 0, 0.03);
    --shadow-hover: 0 18px 36px -6px rgba(0, 150, 64, 0.18);
    
    /* Radii */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-full: 9999px;
}

/* Global Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.65;
    color: var(--text-body);
    background: var(--bg-grey);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Headings & Typography */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-dark);
    margin-bottom: 0.8rem;
    font-weight: 700;
}

h1 {
    font-size: clamp(2rem, 3.8vw, 3rem);
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(1.8rem, 3.2vw, 2.2rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 16px;
    letter-spacing: -0.01em;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 64px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
}

.section-subtitle {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 1.05rem;
    color: var(--text-muted);
}

.section-subtitle-accent {
    text-align: center;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--yug-emerald);
    margin-bottom: 3rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.25s ease;
}

/* Layout Wrappers */
.section-wrapper {
    padding: 4.5rem 1.5rem;
}

.bg-grey { background-color: var(--bg-grey); }
.bg-white { background-color: var(--bg-white); }
.container { max-width: 1240px; margin: 0 auto; }

/* ========================================
   TOP TRUST & GST BAR & NAVIGATION
   ======================================== */
.top-trust-bar {
    background: #0d141e;
    color: #94a3b8;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 12px;
    padding: 6px 0;
    position: relative;
    z-index: 1001;
    letter-spacing: 0.2px;
}

.top-trust-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.top-trust-left,
.top-trust-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;
}

.gst-pill {
    background: rgba(0, 150, 64, 0.16);
    border: 1px solid rgba(0, 150, 64, 0.35);
    color: #34d399;
    padding: 2px 9px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 11.5px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    letter-spacing: 0.4px;
}

.gst-num {
    color: #ffffff;
    font-family: inherit;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.top-trust-divider {
    color: rgba(255, 255, 255, 0.2);
    font-size: 10px;
}

.top-trust-text {
    color: #94a3b8;
    font-weight: 500;
    white-space: nowrap;
}

.top-trust-link {
    color: #cbd5e1;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: color 0.2s ease;
}

.top-trust-link:hover {
    color: var(--yug-emerald-light);
}

@media (max-width: 880px) {
    .top-trust-bar {
        font-size: 11px;
        padding: 5px 0;
    }
    .top-trust-container {
        justify-content: center;
        padding: 0 0.75rem;
    }
    .top-trust-right,
    .top-trust-divider,
    .top-trust-text-long {
        display: none !important;
    }
    .top-trust-left {
        justify-content: center;
        width: 100%;
        gap: 6px;
    }
    .gst-pill {
        font-size: 11px;
        padding: 2px 7px;
    }
}

header {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0.35rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.25rem;
}

.logo-link {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

/* BIGGER LOGO */
.logo-img {
    height: 120px;
    max-height: 128px;
    width: auto;
    object-fit: contain;
    display: block;
    transition: transform 0.25s ease, height 0.25s ease;
}

.desktop-nav {
    display: flex;
    gap: clamp(0.65rem, 1.25vw, 1.45rem);
    align-items: center;
    flex-wrap: nowrap;
}

.desktop-nav a {
    color: var(--text-dark);
    font-weight: 600;
    font-size: clamp(0.96rem, 1.05vw, 1.08rem);
    position: relative;
    padding: 6px 0;
    white-space: nowrap !important;
    transition: color 0.25s ease;
}

.desktop-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--yug-emerald);
    transition: width 0.25s ease;
}

.desktop-nav a:hover {
    color: var(--yug-emerald);
}

.desktop-nav a:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-call-pill {
    display: inline-flex;
    white-space: nowrap !important;
    flex-shrink: 0;
    font-size: clamp(0.82rem, 0.85vw, 0.92rem);
    align-items: center;
    gap: 8px;
    padding: 0.55rem 1.2rem;
    background: var(--yug-emerald-light);
    color: var(--yug-emerald-dark);
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: var(--radius-full);
    border: 1.5px solid rgba(0, 150, 64, 0.2);
    box-shadow: var(--shadow-sm);
}

.header-call-pill:hover {
    background: rgba(0, 150, 64, 0.15);
    transform: translateY(-1px);
}

.nav-icon {
    width: 18px;
    height: 18px;
    color: var(--yug-emerald);
}

/* Hamburger Button */
.menu-toggle-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    justify-content: space-around;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    transition: background 0.25s;
}

.menu-toggle-btn:hover {
    background: rgba(0, 0, 0, 0.05);
}

.hamburger-bar {
    width: 22px;
    height: 2.5px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ========================================
   MOBILE DRAWER (Smooth Slide-In Animation)
   ======================================== */
.drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 1040;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.drawer-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.mobile-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 85%;
    max-width: 350px;
    height: 100vh;
    background: #ffffff;
    box-shadow: -10px 0 35px rgba(0, 0, 0, 0.18);
    z-index: 1050;
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-drawer.active {
    transform: translateX(0);
}

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 1rem;
}

.drawer-logo-img {
    height: 68px;
    width: auto;
    object-fit: contain;
}

.drawer-close-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 6px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}

.drawer-close-btn:hover {
    color: var(--yug-emerald);
    background: var(--yug-emerald-light);
    transform: rotate(90deg);
}

.drawer-links-wrap {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex-grow: 1;
}

.drawer-link {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-dark);
    padding: 0.75rem 0.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.2s ease;
}

.drawer-link:hover {
    color: var(--yug-emerald);
    padding-left: 10px;
}

.drawer-footer-cta {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.drawer-call-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--gradient-primary);
    color: #ffffff;
    text-align: center;
    padding: 0.85rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 1rem;
    box-shadow: var(--shadow-sm);
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    padding: 0.85rem 2rem;
    border-radius: var(--radius-full);
    border: none;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: var(--shadow-sm);
    font-family: inherit;
    text-decoration: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #ffffff;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    color: #ffffff;
}

.btn-secondary {
    background: #ffffff;
    color: var(--yug-emerald-dark);
    border: 1.5px solid var(--yug-emerald);
}

.btn-secondary:hover {
    background: var(--yug-emerald-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

/* ========================================
   HERO SECTION (Clean B2B UI/UX Architecture)
   ======================================== */
.hero {
    background: var(--gradient-hero);
    padding: 4.5rem 1.5rem 5.5rem;
    position: relative;
}

.hero-container {
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 4rem;
    align-items: flex-start;
}

.hero-text h1 span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtext {
    font-size: 1.12rem;
    margin-top: 1rem;
    color: var(--text-body);
    line-height: 1.7;
}

.hero-highlight {
    color: var(--yug-emerald);
    font-weight: 500;
    margin-bottom: 2rem;
    font-size: 1.15rem;
    line-height: 1.6;
}

.hero-highlight strong {
    font-weight: 800;
    color: #007331;
}

.hero-buttons {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.hero-call-card {
    background: var(--bg-white);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0.8rem 1.8rem;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-sm);
    margin-bottom: 2rem;
    border: 1px solid var(--border-color);
}

.hero-call-card p {
    margin: 0;
    font-size: 1.15rem;
    color: var(--yug-emerald);
    font-weight: 700;
}

.phone-svg {
    width: 20px;
    height: 20px;
    color: var(--yug-emerald);
    flex-shrink: 0;
}

.hero-trust-line {
    font-size: 0.95rem;
    color: #1e3a8a;
    font-weight: 600;
    line-height: 1.75;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    padding-top: 1.25rem;
}

.hero-trust-line strong {
    color: #ffffff;
    background: linear-gradient(135deg, var(--yug-emerald) 0%, var(--yug-emerald-dark) 100%);
    padding: 3px 10px;
    border-radius: 6px;
    margin-right: 6px;
    display: inline-block;
    font-weight: 700;
    box-shadow: 0 2px 6px rgba(0, 150, 64, 0.2);
}

/* ========================================
   HERO FORM CARD & INPUT VALIDATION
   ======================================== */
.hero-form-card {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    border-top: 5px solid var(--yug-yellow);
    transition: box-shadow 0.3s ease;
    position: sticky;
    top: 90px;
}

.hero-form-card.highlight-pulse {
    box-shadow: 0 0 0 4px rgba(0, 150, 64, 0.4);
}

.hero-form-card h3 {
    text-align: center;
    color: var(--yug-emerald);
    font-size: 1.35rem;
    margin-bottom: 0.5rem;
}

.hero-form-card p {
    text-align: center;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

.form-group {
    margin-bottom: 1.15rem;
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.4rem;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.88rem;
}

input {
    padding: 0.8rem 1rem;
    border-radius: var(--radius-sm);
    border: 1px solid #d8dee4;
    font-family: inherit;
    font-size: 0.92rem;
    transition: all 0.25s ease;
    background: #fafbfc;
}

input:focus {
    outline: none;
    border-color: var(--yug-emerald);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(0, 150, 64, 0.12);
}

/* Mobile Input Wrapper with +91 Prefix */
.mobile-input-wrapper {
    display: flex;
    align-items: center;
    border: 1px solid #d8dee4;
    border-radius: var(--radius-sm);
    background: #fafbfc;
    transition: all 0.25s ease;
    overflow: hidden;
}

.mobile-input-wrapper:focus-within {
    border-color: var(--yug-emerald);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(0, 150, 64, 0.12);
}

.country-prefix {
    padding: 0.8rem 0.9rem;
    background: rgba(0, 150, 64, 0.08);
    color: var(--yug-emerald-dark);
    font-weight: 700;
    font-size: 0.92rem;
    border-right: 1px solid #d8dee4;
    user-select: none;
}

.mobile-input-wrapper input {
    border: none;
    box-shadow: none !important;
    flex: 1;
    background: transparent;
    padding: 0.8rem 1rem;
}

/* Validation Error Styles */
.field-error-msg {
    color: #e74c3c;
    font-size: 0.8rem;
    margin-top: 4px;
    display: none;
    font-weight: 500;
}

.input-error {
    border-color: #e74c3c !important;
    background: #fff8f8 !important;
}

.mobile-input-wrapper.input-error {
    border-color: #e74c3c !important;
}

/* Cool Custom Select Component */
.custom-select-wrapper {
    position: relative;
    user-select: none;
}

.custom-select-trigger {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 1rem;
    border-radius: var(--radius-sm);
    border: 1px solid #d8dee4;
    background: #fafbfc;
    font-size: 0.92rem;
    color: var(--text-dark);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s ease;
}

.custom-select-wrapper.open .custom-select-trigger {
    border-color: var(--yug-emerald);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(0, 150, 64, 0.15);
}

.select-chevron {
    width: 18px;
    height: 18px;
    color: var(--yug-emerald);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.custom-select-wrapper.open .select-chevron {
    transform: rotate(180deg);
}

.custom-options-menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: #ffffff;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.14);
    z-index: 100;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
    max-height: 250px;
    overflow-y: auto;
}

.custom-select-wrapper.open .custom-options-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.custom-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    color: var(--text-dark);
    cursor: pointer;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    transition: background 0.2s ease, color 0.2s ease;
}

.custom-option:last-child {
    border-bottom: none;
}

.custom-option:hover {
    background: var(--yug-emerald-light);
    color: var(--yug-emerald-dark);
}

.custom-option .check-icon {
    width: 16px;
    height: 16px;
    color: var(--yug-emerald);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.custom-option.selected {
    background: var(--yug-emerald-light);
    color: var(--yug-emerald-dark);
    font-weight: 700;
}

.custom-option.selected .check-icon {
    opacity: 1;
}

.form-submit-btn {
    width: 100%;
    margin-top: 0.75rem;
    background: var(--gradient-accent);
    color: #1a1a1a;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.form-submit-btn:hover {
    box-shadow: 0 10px 24px rgba(250, 182, 21, 0.35);
}

/* ========================================
   CARDS & GRIDS
   ======================================== */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.8rem;
}

.card {
    background: var(--bg-white);
    padding: 2.2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    border-top: 5px solid transparent;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-top-color: var(--yug-emerald);
}

/* Section 2: About */
.about-card {
    text-align: center;
    max-width: 960px;
    margin: 0 auto;
    background: var(--bg-grey);
    padding: 3rem 2.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

#about h2 {
    color: #111827;
}

#about h2 .yug-brand-text {
    background: linear-gradient(135deg, #009640 0%, #00b04f 55%, #8cc63f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--yug-emerald, #009640);
    font-weight: 800;
    display: inline-block;
}

.about-content h3 {
    color: var(--yug-emerald);
    font-size: 1.8rem;
    margin-bottom: 1.25rem;
}

.about-content p {
    font-size: 1.05rem;
    line-height: 1.75;
    color: #000000 !important;
    font-weight: 500;
}

/* Section 3: Why Do Business Need IVR? */
.card-warning {
    border-top-color: #e74c3c !important;
}

.card-warning p {
    color: #000000 !important;
    font-weight: 600;
}

.card-solution {
    background: var(--gradient-primary);
    color: #ffffff;
    border-top-color: var(--yug-lime) !important;
}

.card-solution h3, .card-solution p {
    color: #ffffff;
}

.card-icon-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1rem;
}

.svg-header-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.icon-warning { color: #e74c3c; }
.icon-success { color: #ffffff; }

.card-warning h3 {
    color: #e74c3c;
    margin: 0;
    font-size: 1.35rem;
}

.card-solution h3 {
    margin: 0;
    font-size: 1.35rem;
}

.process-flow-banner {
    background: rgba(255, 255, 255, 0.15);
    padding: 1.25rem 1rem;
    border-radius: var(--radius-md);
    margin: 1.5rem 0;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.flow-steps-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

.flow-step-pill {
    padding: 9px 18px;
    border-radius: 9px;
    font-weight: 700;
    font-size: 0.98rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.14);
    border: 1px solid rgba(0, 0, 0, 0.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 0.3px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.flow-step-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.step-receive { background: #ffffff; color: #007331; border-color: #86efac; }
.step-route { background: #fef3c7; color: #92400e; border-color: #fde68a; }
.step-call { background: #e0f2fe; color: #0369a1; border-color: #bae6fd; }
.step-followup { background: #fae8ff; color: #86198f; border-color: #f5d0fe; }
.step-communicate { background: #ecfdf5; color: #047857; border-color: #a7f3d0; }

.flow-step-arrow {
    color: #ffffff;
    font-size: 1.35rem;
    font-weight: 900;
    user-select: none;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
}

.solution-text {
    font-size: 1.08rem;
}

/* Lists */
.capabilities-list {
    list-style: none;
    margin: 1.2rem 0 1.8rem;
}

.capabilities-list li {
    padding: 0.55rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: flex-start;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #000000 !important;
    font-weight: 500;
}

.capabilities-list li::before {
    content: '✓';
    color: var(--yug-yellow);
    font-weight: 900;
    margin-right: 10px;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.negative-list li {
    color: #000000 !important;
    font-weight: 600;
}

.negative-list li::before {
    content: '✕';
    color: #e74c3c;
}

/* ========================================
   SECTION 4: PRODUCT CARDS
   ======================================== */
.product-card {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.product-img-wrap {
    height: 190px;
    background: radial-gradient(circle, #ffffff 0%, #edf5f0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.product-asset-img {
    max-height: 90%;
    max-width: 90%;
    object-fit: contain;
    transition: transform 0.35s ease;
    filter: drop-shadow(0 6px 10px rgba(0,0,0,0.08));
}

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

.product-info-wrap {
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-info-wrap h3 {
    color: var(--yug-emerald);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.product-desc {
    font-size: 0.88rem;
    margin-bottom: 1rem;
    color: var(--text-body);
}

.product-info-wrap h4 {
    font-size: 0.95rem;
    color: var(--text-dark);
    margin-top: 0.5rem;
}

.product-enquire-btn {
    width: 100%;
    margin-top: auto;
}

/* ========================================
   SECTION 5: KEY FEATURES
   ======================================== */
.feature-card {
    padding: 2rem 1.6rem;
}

.icon-circle {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--yug-emerald-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
    transition: background 0.3s ease, color 0.3s ease;
}

.feature-card:hover .icon-circle {
    background: var(--yug-emerald);
}

.feature-card:hover .icon-circle .icon {
    color: #ffffff;
}

.icon {
    width: 26px;
    height: 26px;
    color: var(--yug-emerald);
    transition: color 0.3s ease;
}

.feature-card h4 {
    font-size: 1.08rem;
    margin-bottom: 0.6rem;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
}

/* ========================================
   SECTION 6: BUSINESS APPLICATIONS
   ======================================== */
.app-card {
    border-top: none;
    border-left: 4px solid var(--yug-yellow);
    padding: 1.8rem;
    transition: all 0.3s ease;
}

.app-card:hover {
    border-top: none;
    border-left-color: var(--yug-emerald);
    transform: translateY(-4px);
}

.app-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--yug-yellow-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.app-svg {
    width: 22px;
    height: 22px;
    color: var(--yug-yellow-dark);
}

.app-card:hover .app-icon-wrap {
    background: var(--yug-emerald-light);
}

.app-card:hover .app-svg {
    color: var(--yug-emerald);
}

.app-card h4 {
    color: var(--yug-emerald);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.app-card p {
    font-size: 0.9rem;
    color: var(--text-body);
    margin: 0;
}

/* ========================================
   SECTION 7: HOW IT WORKS
   ======================================== */
.steps-flow-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2rem;
}

.step-flow-card {
    flex: 1;
    text-align: center;
    padding: 2.2rem 1.4rem;
}

.step-num {
    width: 52px;
    height: 52px;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 800;
    margin: 0 auto 1.2rem;
    box-shadow: var(--shadow-sm);
}

.step-1 { background: var(--yug-yellow); }
.step-2 { background: var(--yug-lime); }
.step-3 { background: var(--yug-emerald); }
.step-4 { background: var(--text-dark); }

.step-flow-card h4 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}

.step-flow-card p {
    font-size: 0.9rem;
    color: var(--text-body);
    margin: 0;
}

.step-arrow-divider {
    font-size: 1.8rem;
    color: var(--yug-emerald);
    font-weight: 900;
}

.section-flow-note {
    text-align: center;
    margin-top: 2.5rem;
    color: #1f2937;
    font-size: 0.98rem;
    font-weight: 700;
}

/* ========================================
   SECTION 8: WHY CHOOSE YUG Smart IVR?
   ======================================== */
.reason-card {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.reason-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: var(--yug-emerald-light);
    color: var(--yug-emerald);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.reason-icon svg {
    width: 24px;
    height: 24px;
}

.reason-card h4 {
    color: var(--yug-emerald);
    font-size: 1.15rem;
    margin-bottom: 0.4rem;
}

.reason-card p {
    font-size: 0.95rem;
    margin: 0;
}

/* ========================================
   SECTION 9: PRODUCT COMPARISON
   ======================================== */
.table-container {
    overflow-x: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-white);
}

th, td {
    padding: 1.15rem 1.4rem;
    text-align: left;
}

th {
    background: var(--gradient-primary);
    color: #ffffff;
    font-weight: 600;
    font-size: 0.98rem;
}

tr {
    border-bottom: 1px solid #eee;
    transition: background 0.2s;
}

tr:hover {
    background: rgba(142, 195, 31, 0.05);
}

.table-check {
    color: var(--yug-emerald);
    font-weight: 800;
    font-size: 1.1rem;
}

.table-no {
    color: #e74c3c;
    font-weight: 600;
}

.table-footer-note {
    text-align: center;
    margin-top: 2rem;
    font-size: 1.1rem;
}

.table-footer-note a {
    color: var(--yug-emerald);
    font-weight: 700;
    text-decoration: underline;
}

/* ========================================
   SECTION 10: LEAD GEN SECONDARY BLOCK
   ======================================== */
.lead-gen-title {
    color: var(--yug-emerald);
    font-size: 1.8rem;
    margin-bottom: 0.75rem;
}

.lead-gen-subtext {
    max-width: 800px;
    margin: 0 auto 2rem;
    font-size: 1.05rem;
}

.contact-box-card {
    background: var(--bg-grey);
    display: inline-block;
    padding: 2.2rem 3rem;
    border-radius: var(--radius-lg);
    border: 1px solid #ddd;
    box-shadow: var(--shadow-sm);
}

.contact-box-header {
    margin: 0 0 1rem 0;
    font-weight: 600;
    font-size: 1.05rem;
}

.contact-box-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 0 0 0.6rem 0;
    font-size: 1.25rem;
    color: var(--yug-emerald);
    font-weight: 700;
}

.contact-box-whatsapp a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--yug-yellow-dark);
    font-weight: 600;
    font-size: 1.05rem;
}

.contact-box-whatsapp a:hover {
    color: var(--yug-emerald);
}

.whatsapp-svg {
    width: 20px;
    height: 20px;
    color: #25d366;
}

/* ========================================
   SECTION 12: FAQ ACCORDION
   ======================================== */
.faq-container {
    max-width: 880px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-white);
    margin-bottom: 1rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--yug-yellow);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
    border-left-color: var(--yug-emerald);
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 1.4rem 1.8rem;
    font-weight: 700;
    font-size: 1.05rem;
    cursor: pointer;
    color: var(--yug-emerald);
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: inherit;
    gap: 1rem;
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--yug-emerald);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-answer p {
    padding: 0 1.8rem 1.5rem;
    margin: 0;
    color: var(--text-body);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ========================================
   FOOTER (With Navigation Links & Action Pill)
   ======================================== */
footer, .site-footer {
    background: linear-gradient(180deg, #161b20 0%, #0d1013 100%);
    color: rgba(255, 255, 255, 0.75);
    padding: 4.5rem 1.5rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 15%;
    right: 15%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--yug-emerald), transparent);
    opacity: 0.5;
}

.footer-main-grid {
    display: grid;
    grid-template-columns: 1.25fr 1.6fr 1.15fr;
    gap: 3rem;
    margin-bottom: 3.5rem;
    align-items: start;
}

/* Brand Pane */
.footer-brand-pane {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.footer-brand-card {
    display: inline-block;
    align-self: flex-start;
    background: #ffffff;
    padding: 8px 18px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.25s ease;
}

.footer-brand-card:hover {
    transform: translateY(-2px);
}

.footer-logo-img {
    height: 68px;
    width: auto;
    object-fit: contain;
    display: block;
}

.footer-tagline {
    font-size: 0.92rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.72);
    margin: 0;
}

.footer-feature-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 0.2rem;
}

.footer-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.74rem;
    font-weight: 600;
    color: var(--yug-emerald-light);
    background: rgba(0, 150, 64, 0.15);
    border: 1px solid rgba(74, 222, 128, 0.25);
    padding: 4px 12px;
    border-radius: 50px;
    letter-spacing: 0.2px;
    white-space: nowrap;
}

.footer-chip svg {
    width: 13px;
    height: 13px;
    color: #4ade80;
    flex-shrink: 0;
}

/* Links Pane (2 Columns) */
.footer-links-pane {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.footer-links-group {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-group-title {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #ffffff;
    margin: 0 0 0.4rem 0;
    position: relative;
    padding-bottom: 6px;
}

.footer-group-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 24px;
    height: 2px;
    background: var(--yug-emerald);
    border-radius: 2px;
}

.footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.footer-links-list li a {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.9rem;
    font-weight: 400;
    text-decoration: none;
    display: inline-flex;
    align-items: flex-start;
    gap: 6px;
    line-height: 1.4;
    transition: all 0.2s ease;
}

.link-arrow {
    color: var(--yug-emerald);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2;
    flex-shrink: 0;
    display: inline-block;
    transition: transform 0.2s ease;
}

.footer-links-list li a:hover {
    color: #ffffff;
    transform: translateX(4px);
}

.footer-links-list li a:hover .link-arrow {
    color: #4ade80;
    transform: translateX(2px);
}

/* Contact Pane */
.footer-contact-pane {
    display: flex;
    flex-direction: column;
}

.footer-support-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(8px);
}

.support-card-tag {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    color: #4ade80;
    text-transform: uppercase;
}

.support-card-title {
    font-size: 1.05rem;
    color: #ffffff;
    margin: 0;
    font-weight: 600;
}

.support-card-desc {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.65);
    margin: 0;
    line-height: 1.5;
}

.footer-action-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-top: 0.4rem;
}

.footer-call-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0.7rem 1.2rem;
    background: var(--yug-emerald);
    border: 1px solid var(--yug-emerald);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 4px 14px rgba(0, 150, 64, 0.35);
}

.footer-call-pill:hover {
    background: var(--yug-emerald-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 150, 64, 0.45);
    color: #ffffff;
}

.footer-call-pill .nav-icon {
    width: 18px;
    height: 18px;
    color: #ffffff;
}

.footer-wa-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0.65rem 1.2rem;
    background: rgba(37, 211, 102, 0.12);
    border: 1.5px solid rgba(37, 211, 102, 0.5);
    color: #4ade80;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.25s ease;
}

.footer-wa-pill:hover {
    background: #25d366;
    color: #ffffff;
    border-color: #25d366;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}

.wa-icon {
    width: 18px;
    height: 18px;
}

/* Bottom Bar */
.footer-bottom-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1.8rem;
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-copy-text {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
    margin: 0;
}

.footer-copy-text strong {
    color: rgba(255, 255, 255, 0.8);
}

.footer-legal-links {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.footer-privacy-btn {
    color: var(--yug-yellow);
    font-weight: 500;
    text-decoration: none;
    font-size: 0.85rem;
    border-bottom: 1px dashed rgba(251, 191, 36, 0.4);
    padding-bottom: 1px;
    transition: all 0.2s ease;
}

.footer-privacy-btn:hover {
    color: #fef08a;
    border-bottom-style: solid;
}

.legal-sep {
    color: rgba(255, 255, 255, 0.25);
    font-size: 0.75rem;
}

.footer-legal-anchor {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-legal-anchor:hover {
    color: #ffffff;
}

/* ========================================
   FOOTER RESPONSIVE STYLES
   ======================================== */
@media (max-width: 992px) {
    .footer-main-grid {
        grid-template-columns: 1fr 1.2fr;
        gap: 2.5rem;
    }
    
    .footer-contact-pane {
        grid-column: 1 / -1;
    }
    
    .footer-support-card {
        max-width: 550px;
    }
}

@media (max-width: 768px) {
    footer, .site-footer {
        padding: 3.2rem 1.25rem 6.5rem; /* Generous bottom padding keeps floating buttons clear of legal links */
    }

    .footer-main-grid {
        grid-template-columns: 1fr;
        gap: 2.2rem;
        margin-bottom: 2.5rem;
    }

    /* Brand Pane */
    .footer-brand-pane {
        gap: 1.1rem;
    }

    .footer-brand-card {
        padding: 8px 16px;
        border-radius: 12px;
    }

    .footer-logo-img {
        height: 48px;
    }

    .footer-tagline {
        font-size: 0.92rem;
        line-height: 1.6;
        color: rgba(255, 255, 255, 0.75);
        max-width: 100%;
    }

    .footer-feature-chips {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px;
    }

    .footer-chip {
        font-size: 0.76rem;
        padding: 6px 14px;
        border-radius: 50px;
        white-space: nowrap;
    }

    /* Links Pane: 2 neat columns */
    .footer-links-pane {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem 1rem;
    }

    .footer-links-group {
        gap: 0.75rem;
    }

    .footer-group-title {
        font-size: 0.82rem;
        margin-bottom: 0.2rem;
    }

    .footer-links-list {
        gap: 0.65rem;
    }

    .footer-links-list li a {
        font-size: 0.88rem;
        line-height: 1.4;
        display: inline-flex;
        align-items: flex-start;
        gap: 6px;
    }

    .link-arrow {
        flex-shrink: 0;
        display: inline-block;
        line-height: 1.2;
    }

    /* Support Card */
    .footer-contact-pane {
        width: 100%;
    }

    .footer-support-card {
        padding: 1.4rem 1.25rem;
        border-radius: 16px;
        gap: 0.75rem;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.12);
    }

    .support-card-tag {
        font-size: 0.68rem;
    }

    .support-card-title {
        font-size: 1.08rem;
    }

    .support-card-desc {
        font-size: 0.84rem;
        line-height: 1.5;
    }

    .footer-action-buttons {
        gap: 0.65rem;
        margin-top: 0.3rem;
    }

    .footer-call-pill,
    .footer-wa-pill {
        width: 100%;
        justify-content: center;
        padding: 0.75rem 1rem;
        font-size: 0.92rem;
        border-radius: 50px;
    }

    /* Bottom Bar */
    .footer-bottom-bar {
        padding-top: 1.6rem;
    }

    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
        gap: 0.9rem;
        align-items: center;
        justify-content: center;
    }

    .footer-copy-text {
        font-size: 0.82rem;
        line-height: 1.6;
        text-align: center;
        color: rgba(255, 255, 255, 0.65);
    }

    .footer-legal-links {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.5rem 0.75rem;
        text-align: center;
    }

    .footer-privacy-btn,
    .footer-legal-anchor {
        font-size: 0.85rem;
        padding: 3px 5px;
    }

    /* Floating Action Buttons on Mobile */
    .floating-wa-btn {
        bottom: 18px !important;
        left: 16px !important;
        width: 50px !important;
        height: 50px !important;
        box-shadow: 0 6px 18px rgba(37, 211, 102, 0.4) !important;
        z-index: 999 !important;
    }

    .floating-wa-btn svg {
        width: 26px !important;
        height: 26px !important;
    }

    #scrollTopBtn {
        display: none !important; /* Hide scroll-to-top on mobile screens to prevent visual clutter and overlap */
    }
}

@media (max-width: 420px) {
    .footer-links-pane {
        gap: 1.25rem 0.75rem;
    }

    .footer-links-list li a {
        font-size: 0.82rem;
    }

    .footer-chip {
        font-size: 0.72rem;
        padding: 5px 10px;
    }
}

/* Backward-compatible classes for secondary pages */
.footer-center {
    margin-bottom: 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
}

.footer-logo {
    display: inline-block;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin: 0.5rem 0;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.25s ease;
}

.footer-nav a:hover {
    color: var(--yug-lime);
}

.footer-action-row {
    margin: 0.2rem 0;
}

.footer-bottom {
    text-align: center;
    font-size: 0.88rem;
    opacity: 0.55;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1.8rem;
}

.footer-bottom p {
    margin: 0;
}

/* ========================================
   PRIVACY POLICY MODAL
   ======================================== */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    inset: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(6px);
    opacity: 0;
    transition: opacity 0.3s ease;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.modal.show {
    display: flex;
    opacity: 1;
}

.modal-content {
    background-color: var(--bg-white);
    margin: auto;
    padding: 2.5rem 3rem;
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 800px;
    box-shadow: var(--shadow-md);
    position: relative;
    max-height: 85vh;
    overflow-y: auto;
    transform: translateY(-20px);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal.show .modal-content {
    transform: translateY(0);
}

.close-btn {
    color: #999;
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.close-btn:hover {
    color: var(--yug-emerald);
}

.modal-content h2 {
    text-align: left;
    margin-bottom: 1.5rem;
    font-size: 1.6rem;
}

.modal-content h2::after {
    left: 0;
    transform: none;
}

.modal-text p {
    font-size: 0.95rem;
    color: var(--text-body);
    line-height: 1.7;
    margin-bottom: 1.2rem;
}

/* ========================================
   FLOATING ACTION BUTTONS
   ======================================== */
.floating-wa-btn {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background: #25d366;
    color: #ffffff;
    border-radius: 50%;
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
    z-index: 1000;
    transition: transform 0.25s ease;
}

.floating-wa-btn:hover {
    transform: scale(1.1);
    color: #ffffff;
}

.floating-wa-btn svg {
    width: 30px;
    height: 30px;
}

#scrollTopBtn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--yug-emerald);
    color: #ffffff;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    display: none;
    z-index: 1000;
    transition: background 0.3s, transform 0.25s;
}

#scrollTopBtn:hover {
    background: var(--yug-lime);
    transform: translateY(-3px);
}

/* ========================================
   RESPONSIVENESS
   ======================================== */
@media (max-width: 1080px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    .steps-flow-grid {
        flex-wrap: wrap;
    }
    .step-arrow-divider {
        display: none;
    }
    .step-flow-card {
        flex: 1 1 calc(50% - 1rem);
    }
}

@media (max-width: 1140px) {
    .header-container {
        padding: 0.45rem 1.25rem;
    }
    .logo-img {
        height: 88px;
        max-height: 92px;
    }
    .desktop-nav, .header-call-pill {
        display: none !important;
    }
    .header-mobile-call {
        display: inline-flex !important;
    }
    .menu-toggle-btn {
        display: flex !important;
    }
}

/* Header Mobile Quick-Call Button */
.header-mobile-call {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: var(--yug-emerald-light);
    color: var(--yug-emerald-dark);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 7px 12px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(0, 150, 64, 0.25);
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(0, 150, 64, 0.15);
    white-space: nowrap;
    transition: all 0.2s ease;
}

.header-mobile-call:hover {
    background: rgba(0, 150, 64, 0.18);
    transform: translateY(-1px);
}

.header-mobile-call svg {
    width: 14px;
    height: 14px;
}

/* Drawer GST Entity Box */
.drawer-gst-box {
    margin-top: 1rem;
    padding: 10px 14px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 11.5px;
    color: #475569;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.drawer-gst-box strong {
    color: #007331;
    font-size: 12px;
    letter-spacing: 0.5px;
}

/* Footer GST styling */
.footer-gst {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 6px;
    line-height: 1.5;
}

.footer-gst strong {
    color: var(--yug-yellow);
    letter-spacing: 0.5px;
}

@media (max-width: 880px) {
    .header-container {
        padding: 0.45rem 1rem;
        gap: 0.75rem;
    }
    .logo-img {
        height: 76px;
        max-height: 80px;
    }
    .hero {
        padding: 3rem 1rem 4rem;
    }
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .hero-form-card {
        position: static;
        padding: 2rem 1.5rem;
    }
    .grid-2 {
        grid-template-columns: 1fr;
    }
    .desktop-nav, .header-call-pill {
        display: none !important;
    }
    .menu-toggle-btn {
        display: flex;
    }
    .modal-content {
        padding: 2rem 1.5rem;
    }
    .section-wrapper {
        padding: 3.5rem 1rem;
    }
}

@media (max-width: 480px) {
    .header-container {
        padding: 0.35rem 0.85rem;
    }
    .logo-img {
        height: 64px;
        max-height: 68px;
    }
    .header-actions {
        gap: 0.5rem;
    }
    .header-mobile-call span {
        display: none;
    }
    .header-mobile-call {
        padding: 8px 10px;
        border-radius: 50%;
        width: 36px;
        height: 36px;
    }
}

@media (max-width: 380px) {
    .header-container {
        padding: 0.3rem 0.65rem;
    }
    .logo-img {
        height: 54px;
        max-height: 58px;
    }
}

@media (max-width: 600px) {
    .grid-4 {
        grid-template-columns: 1fr;
    }
    .step-flow-card {
        flex: 1 1 100%;
    }
    .contact-box-card {
        padding: 1.8rem 1.2rem;
        width: 100%;
    }
    .footer-nav {
        gap: 0.8rem 1.2rem;
    }
}

/* ========================================
   PRIVACY POLICY STANDALONE PAGE STYLES
   ======================================== */
.policy-hero {
    background: linear-gradient(135deg, #09131d 0%, #111a24 100%);
    color: #ffffff;
    padding: 3.5rem 1.5rem 2.75rem;
    text-align: center;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.policy-hero-inner {
    max-width: 860px;
    margin: 0 auto;
}

.policy-hero h1,
.policy-title {
    color: #ffffff !important;
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 800;
    line-height: 1.2;
    margin: 0;
}

.policy-content-wrap {
    background: #f8fafc;
    padding: 3.5rem 1.5rem;
}

.policy-container {
    max-width: 860px;
    margin: 0 auto;
}

.policy-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 36px 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.policy-card p {
    font-size: 1rem;
    color: #334155;
    line-height: 1.85;
    margin-bottom: 20px;
}

.policy-card p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .policy-hero {
        padding: 3rem 1rem 2.25rem;
    }
    .policy-content-wrap {
        padding: 2rem 1rem;
    }
    .policy-card {
        padding: 24px 20px;
        border-radius: 12px;
    }
}



/* ========================================================
   HARDWARE PRODUCT CARDS: "+" 360° ZOOM OVERLAY BUTTON
   ======================================================== */
.product-img-wrap {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.product-asset-img {
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    max-height: 160px;
    width: auto;
    object-fit: contain;
}

.product-img-wrap:hover .product-asset-img {
    transform: scale(1.06);
}

.img-zoom-plus-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(0, 150, 64, 0.3);
    color: var(--yug-emerald-dark);
    font-family: 'Poppins', sans-serif;
    font-size: 0.73rem;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.img-zoom-plus-btn .plus-icon {
    width: 14px;
    height: 14px;
    color: var(--yug-emerald);
    transition: transform 0.25s ease;
}

.img-zoom-plus-btn:hover {
    background: var(--yug-emerald);
    color: #ffffff;
    border-color: var(--yug-emerald);
    box-shadow: 0 6px 18px rgba(0, 150, 64, 0.35);
    transform: translateY(-2px);
}

.img-zoom-plus-btn:hover .plus-icon {
    color: #ffffff;
    transform: rotate(90deg);
}

/* ========================================================
   INTERACTIVE HARDWARE GALLERY SECTION
   ======================================================== */
.bg-gallery {
    background: linear-gradient(180deg, #f8fafc 0%, #edf5f0 100%);
    position: relative;
    overflow: hidden;
}

.section-header-center {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 2.5rem;
}

.section-badge {
    display: inline-block;
    background: var(--yug-emerald-light);
    color: var(--yug-emerald-dark);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 4px 14px;
    border-radius: 50px;
    border: 1px solid rgba(0, 150, 64, 0.2);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
}

.gallery-filter-tabs {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
    flex-wrap: wrap;
    margin-bottom: 2.2rem;
}

.gallery-tab-btn {
    background: #ffffff;
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    font-family: 'Poppins', sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    padding: 9px 20px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.gallery-tab-btn:hover {
    color: var(--yug-emerald);
    border-color: var(--yug-emerald);
    transform: translateY(-1px);
}

.gallery-tab-btn.active {
    background: var(--yug-emerald);
    color: #ffffff;
    border-color: var(--yug-emerald);
    box-shadow: 0 4px 14px rgba(0, 150, 64, 0.3);
}

/* Studio Showcase Card */
.gallery-carousel-card {
    max-width: 1040px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.gallery-carousel-viewport {
    position: relative;
    background: radial-gradient(circle, #ffffff 10%, #f1f6f3 100%);
    padding: 2.5rem 3.5rem 1.8rem;
    min-height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-carousel-track {
    width: 100%;
}

.gallery-slide {
    display: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-slide.active {
    display: block;
    opacity: 1;
    animation: fadeInSlide 0.4s ease;
}

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

.slide-badge-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 1.2rem;
}

.slide-model-tag {
    background: var(--yug-emerald-dark);
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 6px;
    letter-spacing: 0.5px;
}

.slide-angle-tag {
    background: var(--yug-emerald-light);
    color: var(--yug-emerald-dark);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 50px;
    border: 1px solid rgba(0, 150, 64, 0.2);
}

.slide-img-container {
    position: relative;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 330px;
    cursor: pointer;
    box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.02), 0 8px 24px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.slide-img-container img {
    max-height: 290px;
    width: auto;
    max-width: 90%;
    object-fit: contain;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.slide-img-container:hover img {
    transform: scale(1.04);
}

/* Slide Floating Controls (Max/Full size & 360 View) */
.slide-fullscreen-btn {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-family: 'Poppins', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 7px 14px;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
    transition: all 0.25s ease;
}

.slide-fullscreen-btn svg {
    width: 15px;
    height: 15px;
}

.slide-fullscreen-btn:hover {
    background: var(--yug-emerald);
    border-color: var(--yug-emerald);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 150, 64, 0.4);
}

.slide-360-btn {
    position: absolute;
    bottom: 14px;
    right: 14px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--yug-emerald-dark);
    border: 1px solid rgba(0, 150, 64, 0.3);
    font-family: 'Poppins', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 7px 15px;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
    transition: all 0.25s ease;
}

.slide-360-btn svg {
    width: 16px;
    height: 16px;
    color: var(--yug-emerald);
}

.slide-360-btn:hover {
    background: var(--yug-emerald);
    color: #ffffff;
    border-color: var(--yug-emerald);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 150, 64, 0.35);
}

.slide-360-btn:hover svg {
    color: #ffffff;
}

.slide-caption {
    margin-top: 1.2rem;
    font-size: 0.92rem;
    color: var(--text-dark);
    line-height: 1.6;
    background: #ffffff;
    padding: 0.9rem 1.4rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

/* Gallery Navigation Chevrons - Hidden since each model has single authentic view */
.gallery-arrow {
    display: none !important;
}

/* ========================================================
   CAROUSEL FOOTER: CENTERED DOTS & SLEEK 360° ROTATE BUTTON
   ======================================================== */
.gallery-carousel-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.25rem 2rem 1.6rem;
    border-top: 1px solid var(--border-color);
    background: #ffffff;
    gap: 1.1rem;
}

.gallery-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.gallery-dot {
    width: 8px;
    height: 8px;
    border-radius: 4px;
    background: #e2e8f0;
    border: 1px solid #cbd5e1;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-dot:hover {
    background: #94a3b8;
}

.gallery-dot.active {
    width: 26px;
    border-radius: 13px;
    background: var(--yug-emerald);
    border-color: var(--yug-emerald);
    box-shadow: 0 2px 8px rgba(0, 150, 64, 0.35);
}

.gallery-quick-actions {
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-launch-360-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--yug-emerald-light);
    color: var(--yug-emerald-dark);
    border: 1.5px solid rgba(0, 150, 64, 0.25);
    font-family: 'Poppins', sans-serif;
    font-size: 0.84rem;
    font-weight: 600;
    padding: 8px 22px;
    border-radius: 50px;
    cursor: pointer;
    white-space: nowrap !important;
    box-shadow: 0 2px 8px rgba(0, 150, 64, 0.08);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-launch-360-btn .rot-icon {
    width: 17px;
    height: 17px;
    color: var(--yug-emerald);
    transition: transform 0.4s ease;
    flex-shrink: 0;
}

.gallery-launch-360-btn:hover {
    background: var(--yug-emerald);
    color: #ffffff;
    border-color: var(--yug-emerald);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 150, 64, 0.3);
}

.gallery-launch-360-btn:hover .rot-icon {
    color: #ffffff;
    transform: rotate(180deg);
}

/* ========================================================
   INTERACTIVE 360° & FULLSCREEN LIGHTBOX MODAL
   ======================================================== */
.modal-backdrop-360 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-backdrop-360.show {
    opacity: 1;
}

.modal-360-card {
    background: #ffffff;
    border-radius: 18px;
    width: 95%;
    max-width: 960px;
    max-height: min(92vh, 740px);
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.2);
    overflow-y: auto;
    overflow-x: hidden;
    transform: scale(0.95);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-backdrop-360.show .modal-360-card {
    transform: scale(1);
}

/* Fullscreen Mode for Modal */
.modal-360-card.is-fullscreen {
    width: 100vw !important;
    height: 100vh !important;
    max-width: 100vw !important;
    max-height: 100vh !important;
    border-radius: 0 !important;
    margin: 0 !important;
}

/* Modal Header */
.modal-360-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem 1.8rem;
    border-bottom: 1px solid var(--border-color);
    background: #ffffff;
    gap: 1rem;
    flex-wrap: nowrap;
}

.modal-360-info {
    min-width: 0;
    flex-shrink: 1;
}

.modal-360-badge {
    display: inline-block;
    background: var(--yug-emerald-light);
    color: var(--yug-emerald-dark);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    padding: 2px 10px;
    border-radius: 50px;
    margin-bottom: 3px;
    text-transform: uppercase;
}

.modal-360-header h3 {
    font-size: 1.25rem;
    color: var(--yug-emerald-dark);
    margin: 0;
}

.modal-model-tabs {
    display: flex;
    align-items: center;
    background: #f1f5f9;
    padding: 4px;
    border-radius: 50px;
    gap: 4px;
    flex-shrink: 0;
}

.modal-tab-pill {
    background: transparent;
    border: none;
    font-family: 'Poppins', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    padding: 5px 14px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.modal-tab-pill:hover {
    color: var(--text-dark);
}

.modal-tab-pill.active {
    background: var(--yug-emerald);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 150, 64, 0.25);
}

.modal-window-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.modal-action-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f1f5f9;
    border: 1px solid var(--border-color);
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.modal-action-btn svg {
    width: 18px;
    height: 18px;
}

.modal-action-btn:hover {
    background: #e2e8f0;
    color: var(--yug-emerald-dark);
    transform: scale(1.05);
}

.modal-action-btn.modal-close-btn {
    background: #fee2e2;
    color: #dc2626;
    border-color: #fca5a5;
}

.modal-action-btn.modal-close-btn:hover {
    background: #dc2626;
    color: #ffffff;
    border-color: #dc2626;
    transform: scale(1.08);
}

/* Modal Stage (Image Studio Viewport) */
.modal-360-stage {
    position: relative;
    background: radial-gradient(circle, #ffffff 20%, #f1f6f3 100%);
    flex: 1 1 auto;
    height: clamp(260px, 44vh, 420px);
    min-height: 240px;
    max-height: 52vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
}

.modal-360-stage:active {
    cursor: grabbing;
}

.stage-rotation-hint {
    position: absolute;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 500;
    padding: 6px 14px 6px 12px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.28);
    cursor: pointer;
    transition: opacity 0.4s ease, transform 0.25s ease;
    z-index: 20;
    pointer-events: auto;
}

.stage-rotation-hint:hover {
    background: rgba(15, 23, 42, 0.95);
    transform: translateX(-50%) translateY(-1px);
}

.hint-icon-glow {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hint-icon-glow svg {
    width: 15px;
    height: 15px;
    color: #4ade80;
    animation: rotateHintIcon 5s ease-in-out infinite;
}

@keyframes rotateHintIcon {
    0%, 100% { transform: rotate(0deg); }
    30% { transform: rotate(-25deg); }
    70% { transform: rotate(25deg); }
}

.hint-close-x {
    font-size: 1.15rem;
    line-height: 0.8;
    color: rgba(255, 255, 255, 0.55);
    margin-left: 4px;
    padding-left: 6px;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    transition: color 0.2s ease;
}

.stage-rotation-hint:hover .hint-close-x {
    color: #ffffff;
}

.modal-img-wrapper {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 24px;
    box-sizing: border-box;
}

#modal360Img {
    max-height: 100%;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.2s ease-out;
    pointer-events: none;
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.08));
}

.modal-360-card.is-fullscreen .modal-360-stage {
    height: clamp(380px, 66vh, 760px);
    max-height: 70vh;
}

.modal-360-card.is-fullscreen #modal360Img {
    max-height: 100%;
    max-width: 100%;
}

/* Floating Zoom Controls */
.modal-zoom-controls {
    position: absolute;
    bottom: 18px;
    left: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    display: flex;
    align-items: center;
    padding: 3px;
    gap: 4px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    z-index: 15;
}

.zoom-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: transparent;
    border: none;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.zoom-btn:hover {
    background: var(--yug-emerald-light);
    color: var(--yug-emerald);
}

.zoom-btn.reset-btn {
    font-size: 0.72rem;
    width: auto;
    padding: 0 8px;
    border-radius: 12px;
}

/* Quick Rotation Chevrons inside Stage */
.stage-rot-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.96) !important;
    border: 1px solid #cbd5e1 !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12) !important;
    color: var(--yug-emerald-dark, #005a26) !important;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 15;
    outline: none !important;
    -webkit-tap-highlight-color: transparent !important;
    transition: all 0.25s ease;
}

.stage-rot-arrow:focus,
.stage-rot-arrow:active,
.stage-rot-arrow:focus-visible {
    outline: none !important;
    border-color: var(--yug-emerald, #009640) !important;
    box-shadow: 0 0 0 3px rgba(0, 150, 64, 0.25) !important;
}

.stage-rot-arrow:focus:not(:focus-visible) {
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12) !important;
}

.stage-rot-arrow:hover {
    background: var(--yug-emerald);
    color: #ffffff !important;
    border-color: var(--yug-emerald) !important;
}

.stage-rot-arrow.prev { left: 16px; }
.stage-rot-arrow.next { right: 16px; }

/* Modal Bottom Controls */
.modal-360-controls {
    padding: 1.2rem 1.8rem;
    background: #ffffff;
    border-top: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.controls-angle-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.active-angle-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--yug-emerald-dark);
}

.active-angle-desc {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.45;
}

/* Angle Thumbnails Row */
.modal-angle-thumbnails {
    display: flex;
    align-items: center;
    gap: 10px;
    overflow-x: auto;
    padding: 4px 2px;
}

.modal-thumb-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    background: #ffffff;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    padding: 4px;
    cursor: pointer;
    min-width: 72px;
    transition: all 0.2s ease;
}

.modal-thumb-btn img {
    width: 60px;
    height: 42px;
    object-fit: contain;
    border-radius: 4px;
    background: #f8fafc;
}

.modal-thumb-btn span {
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--text-muted);
    font-family: 'Poppins', sans-serif;
}

.modal-thumb-btn:hover {
    border-color: var(--yug-emerald);
    transform: translateY(-2px);
}

.modal-thumb-btn.active {
    border-color: var(--yug-emerald);
    box-shadow: 0 0 0 3px rgba(0, 150, 64, 0.25);
}

.modal-thumb-btn.active span {
    color: var(--yug-emerald);
}

/* Modal Footer Action Buttons */
.modal-footer-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    padding-top: 0.65rem;
    border-top: 1px dashed var(--border-color);
}

.modal-cancel-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #64748b;
    font-weight: 600;
    padding: 6px 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.modal-cancel-btn:hover {
    background: #fee2e2;
    color: #dc2626;
    border-color: #fca5a5;
    transform: translateY(-1px);
}

.modal-footer-primary-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Responsive Rules */
@media (max-width: 768px) {
    .gallery-carousel-viewport {
        padding: 1.5rem 1rem;
        min-height: 400px;
    }

    .gallery-arrow {
        width: 36px;
        height: 36px;
        font-size: 1.3rem;
    }

    .gallery-arrow.prev { left: 8px; }
    .gallery-arrow.next { right: 8px; }

    .slide-img-container {
        padding: 1rem;
        min-height: 250px;
    }

    .slide-img-container img {
        max-height: 200px;
    }

    .slide-fullscreen-btn,
    .slide-360-btn {
        padding: 5px 10px;
        font-size: 0.72rem;
    }

    /* Modal Backdrop & Card on Mobile */
    .modal-backdrop-360 {
        padding: 0.75rem 0.5rem;
    }

    .modal-360-card {
        width: 100%;
        max-height: 96vh;
        border-radius: 14px;
    }

    /* Modal Header Layout on Mobile (Grid Top-Right Close Button) */
    .modal-360-header {
        display: grid;
        grid-template-columns: 1fr auto;
        grid-template-rows: auto auto;
        padding: 0.85rem 1rem;
        gap: 0.75rem 0.5rem;
    }

    .modal-360-info {
        grid-column: 1 / 2;
        grid-row: 1 / 2;
        min-width: 0;
    }

    .modal-360-header h3 {
        font-size: 1.05rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .modal-window-actions {
        grid-column: 2 / 3;
        grid-row: 1 / 2;
        display: flex;
        align-items: center;
        gap: 8px;
        justify-self: end;
    }

    .modal-model-tabs {
        grid-column: 1 / -1;
        grid-row: 2 / 3;
        order: unset;
        width: 100%;
        display: flex;
        justify-content: center;
        overflow-x: auto;
        padding: 3px;
    }

    .modal-tab-pill {
        padding: 5px 10px;
        font-size: 0.75rem;
        flex: 1;
        text-align: center;
        white-space: nowrap;
    }

    .modal-360-stage {
        min-height: 280px;
    }

    .modal-img-wrapper {
        padding: 2.2rem 1rem 1rem 1rem;
    }

    #modal360Img {
        max-height: 220px;
    }

    .stage-rotation-hint {
        top: 10px;
        padding: 4px 10px;
        font-size: 0.7rem;
        gap: 6px;
        max-width: 92%;
    }

    .modal-360-controls {
        padding: 1rem;
    }

    .modal-footer-actions {
        flex-direction: column-reverse;
        align-items: stretch;
        gap: 0.6rem;
        padding-top: 0.6rem;
    }

    .modal-footer-primary-group {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
    }

    .modal-footer-primary-group .btn,
    .modal-cancel-btn {
        width: 100%;
        justify-content: center;
        padding: 8px 12px;
        font-size: 0.85rem;
    }
}

/* Form Submit Loading Spinner */
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.btn-loading {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    opacity: 0.88;
    cursor: not-allowed !important;
}

.btn-loading .spinner {
    width: 18px;
    height: 18px;
    animation: spin 0.8s linear infinite;
}

/* ========================================================
   ENTERPRISE SECURITY & ANTI-THEFT PROTECTION LAYER
   ======================================================== */

/* Prevent Dragging & Mobile Touch-Save Menu on Images/Media */
img, svg, picture, video, .product-asset-img, .footer-logo-img, .logo-img {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
    -webkit-touch-callout: none;
}

/* Prevent Casual Text Selection & Scraping on Protected Content */
body, h1, h2, h3, h4, h5, h6, p, span, li, a, th, td, blockquote, figcaption {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* CRITICAL: Explicitly Ensure Form Inputs ALWAYS Remain Selectable & Editable for Real Users */
input, textarea, select, [contenteditable="true"], .mobile-input-wrapper input {
    -webkit-user-select: auto !important;
    -moz-user-select: auto !important;
    -ms-user-select: auto !important;
    user-select: auto !important;
}

/* Glassmorphic Security Warning Toast */
.yug-security-toast {
    position: fixed;
    bottom: 85px;
    left: 50%;
    transform: translateX(-50%) translateY(24px);
    background: rgba(15, 23, 42, 0.95);
    color: #ffffff;
    padding: 10px 22px;
    border-radius: 50px;
    font-size: 0.84rem;
    font-weight: 600;
    letter-spacing: 0.2px;
    border: 1px solid rgba(74, 222, 128, 0.35);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45), 0 0 24px rgba(0, 150, 64, 0.25);
    z-index: 999999;
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1), transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    white-space: nowrap;
}

.yug-security-toast.active {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

@media (max-width: 600px) {
    .yug-security-toast {
        bottom: 80px;
        font-size: 0.76rem;
        padding: 8px 16px;
        max-width: 90vw;
        white-space: normal;
        text-align: center;
    }
}
