/* ============================================
   ZETRE - Common Base Styles
   Design System: Emerald Green + White
   ============================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700&display=swap');

/* ---- CSS Custom Properties ---- */
:root {
    /* Primary - ZETRE Logo Crimson Red Palette */
    --primary-950: #3B0707;
    --primary-900: #7F1D1D;
    --primary-800: #991B1B;
    --primary-700: #B91C1C;
    --primary-600: #C81E1E;
    --primary-500: #DC2626;
    --primary-400: #EF4444;
    --primary-300: #FCA5A5;
    --primary-200: #FECACA;
    --primary-100: #FEE2E2;
    --primary-50:  #FFF1F2;

    /* Secondary - ZETRE Sunburst Gold Palette */
    --gold-900: #78350F;
    --gold-800: #92400E;
    --gold-700: #B45309;
    --gold-600: #D97706;
    --gold-500: #F59E0B;
    --gold-400: #FBBF24;
    --gold-300: #FCD34D;
    --gold-200: #FDE68A;
    --gold-100: #FEF3C7;
    --gold-50:  #FFFBEB;

    /* Neutral Grays & Charcoal */
    --gray-950: #0A0A0A;
    --gray-900: #0F172A;
    --gray-800: #1E293B;
    --gray-700: #334155;
    --gray-600: #475569;
    --gray-500: #64748B;
    --gray-400: #94A3B8;
    --gray-300: #CBD5E1;
    --gray-200: #E2E8F0;
    --gray-100: #F1F5F9;
    --gray-50:  #F8FAFC;

    /* Semantic */
    --white: #FFFFFF;
    --black: #000000;
    --success: #10B981;
    --warning: #F59E0B;
    --error: #DC2626;
    --info: #3B82F6;

    /* Gradients (ZETRE Logo Red + Sunburst Gold) */
    --gradient-primary: linear-gradient(135deg, #B91C1C 0%, #DC2626 50%, #F59E0B 100%);
    --gradient-gold: linear-gradient(135deg, #D97706 0%, #F59E0B 50%, #FBBF24 100%);
    --gradient-dark: linear-gradient(135deg, #0F172A 0%, #1E293B 50%, #7F1D1D 100%);
    --gradient-light: linear-gradient(135deg, #FFF1F2 0%, #FFFFFF 50%, #FFFBEB 100%);
    --gradient-hero: linear-gradient(160deg, #0F172A 0%, #991B1B 45%, #DC2626 100%);
    --gradient-glass: linear-gradient(135deg, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0.06) 100%);

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Font Sizes */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;
    --text-6xl: 3.75rem;

    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-green: 0 10px 30px -5px rgba(16, 185, 129, 0.3);
    --shadow-green-lg: 0 20px 40px -10px rgba(16, 185, 129, 0.4);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 350ms ease;
    --transition-spring: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);

    /* Z-Index */
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-fixed: 300;
    --z-modal-backdrop: 400;
    --z-modal: 500;
    --z-tooltip: 600;
    --z-toast: 700;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

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

ul, ol {
    list-style: none;
}

button, input, textarea, select {
    font-family: inherit;
    font-size: inherit;
    border: none;
    outline: none;
    background: none;
}

button {
    cursor: pointer;
}

/* ---- Typography ---- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--gray-900);
}

h1 { font-size: var(--text-4xl); }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); }
h6 { font-size: var(--text-base); }

p {
    margin-bottom: var(--space-4);
    color: var(--gray-600);
}

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

/* ---- Layout Utilities ---- */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.section {
    padding: var(--space-16) 0;
}

.section-sm {
    padding: var(--space-10) 0;
}

.flex {
    display: flex;
}

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

.flex-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.grid {
    display: grid;
}

.text-center {
    text-align: center;
}

/* ---- Section Header ---- */
.section-header {
    text-align: center;
    margin-bottom: var(--space-12);
}

.section-header .section-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background: var(--primary-50);
    border: 1px solid var(--primary-200);
    border-radius: var(--radius-full);
    color: var(--primary-700);
    font-size: var(--text-sm);
    font-weight: 600;
    margin-bottom: var(--space-4);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.section-header .section-badge i {
    font-size: var(--text-xs);
}

.section-header h2 {
    font-size: var(--text-3xl);
    margin-bottom: var(--space-4);
}

.section-header p {
    max-width: 600px;
    margin: 0 auto;
    color: var(--gray-500);
    font-size: var(--text-lg);
}

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    border-radius: var(--radius-lg);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: var(--text-sm);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    letter-spacing: 0.02em;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left var(--transition-slow);
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-green);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-green-lg);
}

.btn-outline {
    border: 2px solid var(--primary-500);
    color: var(--primary-700);
    background: transparent;
}

.btn-outline:hover {
    background: var(--primary-50);
    border-color: var(--primary-600);
    transform: translateY(-2px);
}

.btn-white {
    background: var(--white);
    color: var(--primary-700);
    box-shadow: var(--shadow-md);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-lg {
    padding: var(--space-4) var(--space-8);
    font-size: var(--text-base);
    border-radius: var(--radius-xl);
}

.btn-sm {
    padding: var(--space-2) var(--space-4);
    font-size: var(--text-xs);
}

.btn-icon {
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: var(--radius-lg);
}

/* ---- Cards ---- */
.card {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: all var(--transition-base);
    border: 1px solid var(--gray-100);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.card-glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-xl);
}

.card-body {
    padding: var(--space-6);
}

.card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* ---- Tags / Badges ---- */
.tag {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    padding: var(--space-1) var(--space-3);
    background: var(--primary-50);
    color: var(--primary-700);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 600;
}

.tag-white {
    background: rgba(255,255,255,0.2);
    color: var(--white);
}

/* ---- Form Elements ---- */
.form-group {
    margin-bottom: var(--space-5);
}

.form-label {
    display: block;
    margin-bottom: var(--space-2);
    font-weight: 600;
    font-size: var(--text-sm);
    color: var(--gray-700);
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: var(--space-3) var(--space-4);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    font-size: var(--text-base);
    color: var(--gray-800);
    background: var(--white);
    transition: all var(--transition-base);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    border-color: var(--primary-500);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--gray-400);
}

/* ---- Divider ---- */
.divider {
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    margin: var(--space-4) 0;
}

.divider-center {
    margin: var(--space-4) auto;
}

/* ============================================
   ANIMATED PROFESSIONAL CORPORATE FOOTER STYLES
   ============================================ */
.footer {
    background: linear-gradient(135deg, #090D16 0%, #0F172A 50%, #3B0707 100%);
    color: #E2E8F0;
    padding: 0 0 35px;
    position: relative;
    overflow: hidden;
}

/* Animated Glowing Top Edge Wave */
.footer-top-wave {
    height: 4px;
    width: 100%;
    background: linear-gradient(90deg, #DC2626, #F59E0B, #FBBF24, #B91C1C, #DC2626);
    background-size: 250% 100%;
    animation: footerWaveSlide 5s linear infinite;
}

@keyframes footerWaveSlide {
    0% { background-position: 0% 0%; }
    100% { background-position: 250% 0%; }
}

/* Top Newsletter & Quick Inquiry Floating Glass Banner */
.footer-newsletter-banner {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-2xl);
    padding: var(--space-6) var(--space-8);
    margin-top: var(--space-10);
    margin-bottom: var(--space-12);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-6);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.newsletter-info {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.newsletter-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, #DC2626, #F59E0B);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 8px 20px rgba(220, 38, 38, 0.35);
    flex-shrink: 0;
}

.newsletter-info h4 {
    color: var(--white);
    font-size: var(--text-lg);
    font-weight: 800;
    margin-bottom: 4px;
}

.newsletter-info p {
    color: #94A3B8;
    font-size: var(--text-xs);
    margin: 0;
}

.newsletter-form {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 5px 6px 5px 16px;
    border-radius: var(--radius-full);
    min-width: 380px;
}

.newsletter-input {
    background: transparent;
    border: none;
    outline: none;
    color: var(--white);
    font-size: var(--text-xs);
    width: 100%;
}

.newsletter-input::placeholder {
    color: #64748B;
}

.newsletter-form .btn-emerald {
    background: linear-gradient(135deg, #DC2626 0%, #B91C1C 100%);
    color: var(--white);
    border-radius: var(--radius-full);
    padding: 8px 18px;
    font-size: var(--text-xs);
    font-weight: 700;
    white-space: nowrap;
    border: none;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.35);
    transition: all 0.3s ease;
}

.newsletter-form .btn-emerald:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.5);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.9fr 0.9fr 1.1fr;
    gap: var(--space-8);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.logo-img {
    height: 48px;
    max-height: 48px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
    display: inline-block;
    vertical-align: middle;
    transition: transform var(--transition-base);
}

.footer-logo-img {
    height: 52px;
    max-height: 52px;
    width: auto;
    max-width: 240px;
    object-fit: contain;
    display: inline-block;
    vertical-align: middle;
    transition: transform var(--transition-base);
}

.footer-logo-img:hover,
.logo-img:hover {
    transform: scale(1.03);
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 34px;
    font-weight: 800;
    color: var(--white);
    text-decoration: none;
    letter-spacing: -0.02em;
    display: inline-flex;
    align-items: center;
    gap: 2px;
}

.footer-logo span {
    color: #F59E0B;
    text-shadow: 0 0 12px rgba(245, 158, 11, 0.4);
}

.brand-desc {
    color: #94A3B8;
    font-size: 13px;
    line-height: 1.7;
    margin: 0;
}

.footer-cert-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(220, 38, 38, 0.12);
    border: 1px solid rgba(220, 38, 38, 0.25);
    color: #F87171;
    font-size: 11px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: var(--radius-full);
    width: fit-content;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: var(--space-2);
}

.social-btn {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    color: #94A3B8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    text-decoration: none;
}

.social-btn:hover {
    background: linear-gradient(135deg, #DC2626, #B91C1C);
    color: var(--white);
    border-color: #F87171;
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 10px 20px rgba(220, 38, 38, 0.4);
}

.whatsapp-social:hover {
    background: linear-gradient(135deg, #25D366, #128C7E);
    border-color: #25D366;
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.4);
}

.footer-col h4 {
    color: var(--white);
    font-size: 16px;
    font-weight: 800;
    margin-bottom: var(--space-4);
    position: relative;
    padding-bottom: 10px;
    letter-spacing: 0.02em;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 3px;
    background: linear-gradient(90deg, #F59E0B, #DC2626);
    border-radius: var(--radius-full);
}

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

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #94A3B8;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.footer-col ul li a:hover {
    color: #F87171;
    transform: translateX(6px);
}

.footer-col ul li a i {
    font-size: 11px;
    color: #DC2626;
    transition: transform 0.25s ease;
}

.footer-col ul li a:hover i {
    transform: translateX(3px);
    color: #34D399;
}

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

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    color: #94A3B8;
    font-size: 13px;
    line-height: 1.5;
}

.footer-contact-list li a {
    color: #94A3B8;
    text-decoration: none;
    transition: color 0.25s ease;
}

.footer-contact-list li a:hover {
    color: #34D399;
}

.footer-contact-list li i {
    color: #34D399;
    font-size: 18px;
    margin-top: 1px;
    flex-shrink: 0;
}

.footer-hours-item {
    background: rgba(255, 255, 255, 0.04);
    padding: 8px 12px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 50px;
    padding-top: 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    color: #64748B;
    font-size: 13px;
    margin: 0;
}

.footer-bottom p strong {
    color: #94A3B8;
}

.footer-trust-seals {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    flex-wrap: wrap;
}

.trust-seal {
    font-size: 12px;
    font-weight: 700;
    color: #94A3B8;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.trust-seal i {
    color: #34D399;
    font-size: 14px;
}

@media (max-width: 991px) {
    .footer-newsletter-banner {
        flex-direction: column;
        align-items: flex-start;
    }
    .newsletter-form {
        width: 100%;
        min-width: unset;
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    .footer-trust-seals {
        justify-content: center;
    }
}

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

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

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(100%);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease forwards;
}

.animate-fadeInLeft {
    animation: fadeInLeft 0.6s ease forwards;
}

.animate-fadeInRight {
    animation: fadeInRight 0.6s ease forwards;
}

.animate-scaleIn {
    animation: scaleIn 0.5s ease forwards;
}

/* Stagger delays */
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }
.delay-6 { animation-delay: 0.6s; }

/* Scroll reveal - hidden by default, shown by JS */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

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

/* ---- Scrollbar ---- */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-400);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-600);
}

/* ---- Selection ---- */
::selection {
    background: var(--primary-200);
    color: var(--primary-900);
}

/* ---- Loading Spinner ---- */
.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--primary-100);
    border-top-color: var(--primary-600);
    border-radius: 50%;
    animation: rotate 0.8s linear infinite;
}

/* ---- Back to Top ---- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-xl);
    box-shadow: var(--shadow-green);
    z-index: var(--z-fixed);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-base);
    cursor: pointer;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-green-lg);
}

/* ---- Company Documents Modal ---- */
.doc-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: var(--z-modal-backdrop);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

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

.doc-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 94%;
    max-width: 900px;
    max-height: 90vh;
    background: var(--white);
    border-radius: var(--radius-2xl);
    z-index: var(--z-modal);
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.doc-modal.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.doc-modal-header {
    background: var(--gradient-hero);
    padding: var(--space-6) var(--space-8);
    position: relative;
}

.doc-modal-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.doc-modal-header::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(16,185,129,0.2) 0%, transparent 70%);
    border-radius: 50%;
}

.doc-modal-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1;
    margin-bottom: var(--space-5);
}

.doc-modal-title {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.doc-modal-title i {
    font-size: var(--text-2xl);
    color: var(--primary-300);
}

.doc-modal-title h3 {
    color: var(--white);
    font-size: var(--text-xl);
    font-weight: 700;
    margin: 0;
}

.doc-modal-title p {
    color: var(--primary-200);
    font-size: var(--text-xs);
    margin: 0;
    margin-top: 2px;
    font-weight: 500;
}

.doc-modal-close {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-lg);
    cursor: pointer;
    transition: all var(--transition-base);
    z-index: 1;
}

.doc-modal-close:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: rotate(90deg);
}

.doc-modal-tabs {
    display: flex;
    gap: var(--space-2);
    position: relative;
    z-index: 1;
}

.doc-tab-btn {
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--text-xs);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.doc-tab-btn i {
    font-size: var(--text-sm);
}

.doc-tab-btn:hover {
    background: rgba(255, 255, 255, 0.18);
    color: var(--white);
}

.doc-tab-btn.active {
    background: var(--white);
    color: var(--primary-700);
    border-color: var(--white);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.doc-modal-body {
    overflow-y: auto;
    padding: var(--space-6) var(--space-8);
    flex: 1;
    overscroll-behavior: contain;
}

.doc-modal-body::-webkit-scrollbar {
    width: 6px;
}

.doc-modal-body::-webkit-scrollbar-track {
    background: var(--gray-50);
}

.doc-modal-body::-webkit-scrollbar-thumb {
    background: var(--primary-300);
    border-radius: var(--radius-full);
}

.doc-tab-content {
    display: none;
    animation: fadeInUp 0.4s ease;
}

.doc-tab-content.active {
    display: block;
}

/* Document Table */
.doc-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: var(--space-6);
}

.doc-table th,
.doc-table td {
    padding: var(--space-3) var(--space-4);
    text-align: left;
    font-size: var(--text-sm);
    border-bottom: 1px solid var(--gray-100);
}

.doc-table th {
    background: var(--primary-50);
    color: var(--primary-800);
    font-weight: 700;
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.doc-table td {
    color: var(--gray-700);
}

.doc-table tr:last-child td {
    border-bottom: none;
}

.doc-table tr:hover td {
    background: var(--gray-50);
}

.doc-table .label-cell {
    font-weight: 600;
    color: var(--gray-800);
    background: var(--gray-50);
    width: 40%;
    white-space: nowrap;
}

.doc-table .value-cell {
    color: var(--gray-700);
}

/* Document Section Headings */
.doc-section-title {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
    padding-bottom: var(--space-3);
    border-bottom: 2px solid var(--primary-100);
}

.doc-section-title i {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-50);
    color: var(--primary-600);
    border-radius: var(--radius-md);
    font-size: var(--text-lg);
}

.doc-section-title h4 {
    font-size: var(--text-base);
    font-weight: 700;
    color: var(--gray-900);
    margin: 0;
}

.doc-section-title .doc-badge {
    margin-left: auto;
    padding: var(--space-1) var(--space-3);
    background: var(--success);
    color: var(--white);
    border-radius: var(--radius-full);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.doc-info-card {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: var(--space-5);
    margin-bottom: var(--space-5);
}

.doc-info-card h5 {
    font-size: var(--text-sm);
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: var(--space-3);
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.doc-info-card h5 i {
    color: var(--primary-500);
}

.doc-info-card p {
    font-size: var(--text-sm);
    color: var(--gray-600);
    line-height: 1.7;
    margin: 0;
}

/* Certificate Section */
.cert-header {
    text-align: center;
    padding: var(--space-6);
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--primary-50) 100%);
    border: 2px solid var(--primary-100);
    border-radius: var(--radius-xl);
    margin-bottom: var(--space-6);
    position: relative;
    overflow: hidden;
}

.cert-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.cert-emblem {
    width: 60px;
    height: 60px;
    margin: 0 auto var(--space-3);
    background: var(--white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    font-size: var(--text-2xl);
}

.cert-header .cert-ministry {
    font-size: var(--text-xs);
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
    margin-bottom: var(--space-1);
}

.cert-header h3 {
    font-size: var(--text-xl);
    color: var(--primary-800);
    margin-bottom: var(--space-2);
}

.cert-header .cert-subtitle {
    font-size: var(--text-xs);
    color: var(--gray-500);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.cert-body {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: var(--space-5);
    margin-bottom: var(--space-4);
}

.cert-body p {
    font-size: var(--text-sm);
    color: var(--gray-700);
    line-height: 1.8;
    margin-bottom: var(--space-4);
}

.cert-body p:last-child {
    margin-bottom: 0;
}

.cert-highlight {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background: var(--primary-50);
    border: 1px solid var(--primary-200);
    border-radius: var(--radius-md);
    font-weight: 700;
    color: var(--primary-800);
    font-size: var(--text-sm);
    margin: var(--space-2) 0;
}

.cert-highlight i {
    color: var(--primary-500);
}

.cert-signature {
    text-align: right;
    padding: var(--space-4);
    border-top: 1px dashed var(--gray-200);
    margin-top: var(--space-4);
}

.cert-signature .sig-title {
    font-size: var(--text-xs);
    color: var(--gray-500);
    margin-bottom: var(--space-1);
}

.cert-signature .sig-name {
    font-size: var(--text-sm);
    font-weight: 700;
    color: var(--gray-800);
}

.cert-signature .sig-designation {
    font-size: var(--text-xs);
    color: var(--gray-500);
}

/* MOA Content */
.moa-clause {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: var(--space-5);
    margin-bottom: var(--space-4);
    transition: all var(--transition-base);
}

.moa-clause:hover {
    border-color: var(--primary-200);
    box-shadow: var(--shadow-sm);
}

.moa-clause-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: var(--primary-50);
    color: var(--primary-700);
    border-radius: var(--radius-md);
    font-size: var(--text-xs);
    font-weight: 700;
    margin-bottom: var(--space-3);
}

.moa-clause h5 {
    font-size: var(--text-sm);
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: var(--space-3);
}

.moa-clause p, .moa-clause li {
    font-size: var(--text-sm);
    color: var(--gray-600);
    line-height: 1.7;
}

.moa-clause ol {
    list-style: decimal;
    padding-left: var(--space-5);
}

.moa-clause ol li {
    margin-bottom: var(--space-2);
    padding-left: var(--space-2);
}

/* Navbar Document Button */
.btn-docs {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid var(--primary-200);
    color: var(--primary-700);
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: var(--text-xs);
    cursor: pointer;
    transition: all var(--transition-base);
    white-space: nowrap;
    letter-spacing: 0.02em;
}

.btn-docs i {
    font-size: var(--text-sm);
}

.btn-docs:hover {
    background: var(--primary-50);
    border-color: var(--primary-400);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

/* Mobile doc btn in top bar */
.mobile-top-bar .btn-docs-mobile {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-lg);
    color: var(--primary-600);
    font-size: var(--text-lg);
    transition: all var(--transition-fast);
    cursor: pointer;
    background: none;
    border: none;
}

.mobile-top-bar .btn-docs-mobile:active {
    background: var(--primary-50);
    transform: scale(0.95);
}

/* No charges notice */
.doc-no-charges {
    text-align: center;
    padding: var(--space-4);
    background: var(--primary-50);
    border-radius: var(--radius-md);
    color: var(--primary-700);
    font-size: var(--text-sm);
    font-weight: 500;
    border: 1px dashed var(--primary-200);
}

/* Status badge inline */
.status-active {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    padding: 2px var(--space-3);
    background: var(--success);
    color: var(--white);
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 700;
}

.status-active::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--white);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

/* Share capital highlight */
.doc-capital-card {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    padding: var(--space-4);
    background: linear-gradient(135deg, var(--primary-50) 0%, var(--white) 100%);
    border: 1px solid var(--primary-200);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-4);
}

.doc-capital-card .capital-amount {
    font-size: var(--text-2xl);
    font-weight: 800;
    color: var(--primary-700);
    font-family: var(--font-heading);
}

.doc-capital-card .capital-label {
    font-size: var(--text-xs);
    color: var(--gray-500);
    font-weight: 500;
}

/* Mobile responsive modal */
@media (max-width: 767px) {
    .doc-modal {
        width: 100%;
        max-width: 100%;
        max-height: 100%;
        height: 100%;
        border-radius: 0;
        transform: translate(-50%, -50%) translateY(30px);
    }

    .doc-modal.active {
        transform: translate(-50%, -50%) translateY(0);
    }

    .doc-modal-header {
        padding: var(--space-4) var(--space-5);
    }

    .doc-modal-body {
        padding: var(--space-4) var(--space-5);
    }

    .doc-modal-tabs {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: var(--space-2);
    }

    .doc-modal-tabs::-webkit-scrollbar {
        display: none;
    }

    .doc-tab-btn {
        font-size: 11px;
        padding: var(--space-2) var(--space-3);
    }

    .doc-table .label-cell {
        white-space: normal;
        width: 45%;
        font-size: var(--text-xs);
    }

    .doc-table td {
        font-size: var(--text-xs);
    }

    .doc-modal-title h3 {
        font-size: var(--text-base);
    }

    .cert-header h3 {
        font-size: var(--text-lg);
    }

    .doc-capital-card {
        flex-direction: column;
        text-align: center;
    }
}

/* ============================================
   ZETRE GOLD POPUP MODAL STYLING
   ============================================ */
.zetre-gold-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(2, 44, 34, 0.75);
    backdrop-filter: blur(8px);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.zetre-gold-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -45%) scale(0.95);
    width: 92%;
    max-width: 680px;
    max-height: 90vh;
    background: var(--white);
    border-radius: var(--radius-2xl);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35), 0 0 0 2px rgba(245, 158, 11, 0.3);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    overflow-y: auto;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.zetre-gold-modal.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.zetre-gold-modal-header {
    background: linear-gradient(135deg, #064E3B 0%, #022C22 100%);
    color: var(--white);
    padding: var(--space-5) var(--space-6);
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 3px solid #F59E0B;
    position: sticky;
    top: 0;
    z-index: 10;
}

.modal-header-left {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.rx-symbol {
    font-size: 32px;
    font-weight: 800;
    color: #FDE68A;
    font-family: serif;
    line-height: 1;
}

.zetre-gold-modal-header h3 {
    font-size: var(--text-xl);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 2px;
}

.gold-subtitle {
    color: #FDE68A;
}

.modal-header-subtext {
    font-size: var(--text-xs);
    color: #A7F3D0;
    margin-bottom: 0;
}

.zetre-gold-modal-close {
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: var(--white);
    font-size: 28px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
}

.zetre-gold-modal-close:hover {
    background: #EF4444;
    transform: rotate(90deg);
}

.zetre-gold-modal-body {
    padding: var(--space-6);
}

/* Magenta Naturally Boost Hero Banner */
.naturally-boost-hero-banner {
    background: linear-gradient(135deg, #D946EF 0%, #C026D3 50%, #9333EA 100%);
    color: var(--white);
    font-size: var(--text-base);
    font-weight: 800;
    text-align: center;
    padding: var(--space-3) var(--space-4);
    border-radius: var(--radius-full);
    margin-bottom: var(--space-6);
    box-shadow: 0 8px 20px rgba(192, 38, 211, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    letter-spacing: 0.02em;
}

.naturally-boost-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #D946EF, #C026D3);
    color: var(--white);
    font-size: var(--text-xs);
    font-weight: 800;
    padding: 4px 14px;
    border-radius: var(--radius-full);
    margin-top: var(--space-2);
    box-shadow: 0 4px 12px rgba(192, 38, 211, 0.3);
}

/* Benefits Box */
.gold-box-highlight {
    background: #FFFBEB;
    border: 2px solid #FDE68A;
    border-radius: var(--radius-xl);
    padding: var(--space-5);
    margin-bottom: var(--space-6);
}

.gold-box-title {
    color: #92400E;
    font-size: var(--text-sm);
    font-weight: 800;
    margin-bottom: var(--space-3);
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.gold-benefits-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    padding: 0;
    list-style: none;
}

.gold-benefits-list li {
    font-size: var(--text-xs);
    color: #78350F;
    line-height: 1.6;
    display: flex;
    align-items: flex-start;
    gap: var(--space-2);
}

.gold-benefits-list li i {
    color: #D97706;
    font-size: var(--text-sm);
    margin-top: 2px;
    flex-shrink: 0;
}

/* Composition Table */
.gold-composition-section {
    margin-bottom: var(--space-6);
}

.gold-composition-section h4 {
    font-size: var(--text-sm);
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: var(--space-3);
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.composition-table-wrapper {
    overflow-x: auto;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
}

.composition-table {
    width: 100%;
    border-collapse: collapse;
    font-size: var(--text-xs);
    text-align: left;
}

.composition-table th {
    background: var(--gray-100);
    color: var(--gray-800);
    padding: var(--space-3) var(--space-4);
    font-weight: 700;
    border-bottom: 2px solid var(--gray-200);
}

.composition-table td {
    padding: var(--space-3) var(--space-4);
    border-bottom: 1px solid var(--gray-100);
    color: var(--gray-700);
}

.composition-table tr:hover {
    background: #ECFDF5;
}

.strength-badge {
    background: #D1FAE5;
    color: #065F46;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: var(--radius-sm);
}

/* Directions Box */
.gold-directions-box {
    background: #ECFDF5;
    border: 1px solid #A7F3D0;
    border-radius: var(--radius-xl);
    padding: var(--space-5);
}

.gold-directions-box h4 {
    color: #065F46;
    font-size: var(--text-sm);
    font-weight: 800;
    margin-bottom: var(--space-2);
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.gold-directions-box p {
    font-size: var(--text-xs);
    color: #047857;
    line-height: 1.6;
    margin-bottom: var(--space-3);
}

.directions-meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
}

.directions-meta span {
    background: var(--white);
    color: #047857;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    border: 1px solid #A7F3D0;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.zetre-gold-modal-footer {
    padding: var(--space-4) var(--space-6);
    background: var(--gray-50);
    border-top: 1px solid var(--gray-200);
    border-radius: 0 0 var(--radius-2xl) var(--radius-2xl);
}

