/* ==========================================================================
   AMBITO E CARE - COMPLETE MASTER CSS (OFFLINE READY & FIXED)
   ========================================================================== */

/* --- 1. VARIABLES & RESET --- */
:root {
    --brand-blue: #0f2c59;
    --brand-blue-light: #1a4384;
    --brand-blue-dark: #081833;
    --brand-green: #1b5e20;
    --brand-green-light: #4caf50;
    --text-main: #333333;
    --text-muted: #666666;
    --bg-light: #eef2f6; /* Fresh lighter site background */
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: var(--text-main); background-color: var(--bg-light); line-height: 1.6; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

/* --- 2. GLOBAL COMPONENTS --- */
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.section-title { text-align: center; margin-bottom: 50px; max-width: 700px; margin-left: auto; margin-right: auto;}

/* FIXED: Subtitles (Get In Touch, How it works, What we do, About our company) */
.section-title h4, .about-text h4 {
    color: var(--brand-green);
    font-family: 'Times New Roman', Times, serif;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: none; /* Changed to Simple Text */
    margin-bottom: 12px;
}
.section-title.light h4 { color: var(--brand-green-light); }

.section-title h2 { color: var(--brand-blue); font-size: 36px; font-weight: 800; }
.section-title p { color: var(--text-muted); font-size: 18px; margin-top: 15px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 12px 28px; border-radius: 8px; font-weight: 700; font-size: 16px; cursor: pointer; transition: var(--transition); border: none; }
.btn-primary { background-color: var(--brand-green); color: white; box-shadow: 0 4px 15px rgba(27, 94, 32, 0.3); }
.btn-primary:hover { background-color: #144918; transform: translateY(-2px); color: white;}
.btn-outline { background-color: transparent; color: white; border: 2px solid rgba(255, 255, 255, 0.5); }
.btn-outline:hover { background-color: white; color: var(--brand-blue); }

/* Temporary LinkedIn Hider */
a:has(.fa-linkedin-in) { display: none !important; }

/* --- 3. NAVIGATION BAR (WITH ANIMATIONS) --- */
@keyframes slideDownNav { from { transform: translateY(-100%); } to { transform: translateY(0); } }
.navbar { background-color: var(--brand-blue-dark); color: white; position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; box-shadow: var(--shadow-md); padding: 15px 0; transition: var(--transition); animation: slideDownNav 0.8s ease-out; }
.nav-container { display: flex; justify-content: space-between; align-items: center; max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.nav-logo { display: flex; align-items: center; gap: 10px; font-size: 24px; font-weight: 800; color: white; transition: transform 0.3s ease; }
.nav-logo:hover { transform: scale(1.02); }
.nav-logo i { color: var(--brand-green-light); font-size: 28px; }
.nav-links { display: flex; gap: 30px; align-items: center; }

/* FIXED: Navigation Hover Underline Animation */
.nav-links a { position: relative; font-size: 14px; font-weight: 600; text-transform: uppercase; transition: var(--transition); color: #cbd5e1; padding-bottom: 4px; }
.nav-links a::after { content: ''; position: absolute; width: 0; height: 2px; bottom: 0; left: 0; background-color: var(--brand-green-light); transition: width 0.3s ease; }
.nav-links a:hover::after { width: 100%; }
.nav-links a:hover { color: white; }

.nav-btn { background: var(--brand-green); padding: 10px 24px; border-radius: 6px; color: white !important; box-shadow: 0 4px 10px rgba(27,94,32,0.3); }
.nav-btn:hover { background: var(--brand-green-light); transform: translateY(-2px); }
.nav-btn::after { display: none; } /* Remove underline from button */

/* --- 4. HERO SECTION (CENTERED) --- */
.hero { position: relative; padding: 180px 0 120px; color: white; background: linear-gradient(rgba(15, 44, 89, 0.9), rgba(15, 44, 89, 0.95)), url('https://images.unsplash.com/photo-1558494949-ef010cbdcc31?auto=format&fit=crop&w=2000&q=80') center/cover; }
.hero-content { max-width: 850px; margin: 0 auto; text-align: center; }

/* FIXED: Hero Badge (Professional Square with Pulse Animation) */
@keyframes badgePulse {
    0% { box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.5); }
    70% { box-shadow: 0 0 0 12px rgba(76, 175, 80, 0); }
    100% { box-shadow: 0 0 0 0 rgba(76, 175, 80, 0); }
}
.hero-badge {
    display: inline-block; background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.4); padding: 8px 20px;
    border-radius: 4px; /* Square edges */
    font-size: 13px; font-weight: 700; letter-spacing: 1.5px;
    color: var(--brand-green-light); margin-bottom: 25px;
    backdrop-filter: blur(4px);
    animation: badgePulse 2s infinite;
    transition: all 0.3s ease; cursor: default;
}
.hero-badge:hover {
    transform: translateY(-3px); background: rgba(255,255,255,0.2);
    border-color: var(--brand-green-light);
    box-shadow: 0 8px 20px rgba(76, 175, 80, 0.4);
}

.hero h1 { font-size: 54px; font-weight: 800; line-height: 1.1; margin-bottom: 20px; text-shadow: 0 2px 10px rgba(0,0,0,0.5); }
.hero p { font-size: 20px; color: #e5e7eb; margin: 0 auto 40px auto; max-width: 650px; line-height: 1.6; }
.hero-buttons { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }

/* --- 5. COMPLIANCE BANNER --- */
.compliance { background: white; padding: 40px 0; margin-top: -40px; position: relative; z-index: 10; border-radius: 12px; box-shadow: var(--shadow-lg); max-width: 1100px; margin-left: auto; margin-right: auto; border: 1px solid var(--border-color); }
.compliance-title { text-align: center; font-size: 12px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 30px; }
.compliance-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.compliance-item i { font-size: 32px; color: var(--brand-blue); background: #eff6ff; width: 64px; height: 64px; line-height: 64px; border-radius: 50%; margin-bottom: 15px; transition: transform 0.3s;}
.compliance-item:hover i { transform: scale(1.1); }
.compliance-item.green i { color: var(--brand-green); background: #f0fdf4; }
.compliance-item h5 { font-size: 16px; color: var(--brand-blue); margin-bottom: 5px; font-weight: 700;}
.compliance-item p { font-size: 13px; color: var(--text-muted); }

/* --- 6. ABOUT SECTION --- */
.about { padding: 100px 0; background: #eef2f6; } /* Light Slate Gray */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-text h2 { font-size: 36px; color: var(--brand-blue); margin-bottom: 20px; line-height: 1.2; font-weight: 800;}
.about-text p { margin-bottom: 20px; font-size: 18px; color: var(--text-muted); }
.about-list { margin-top: 30px; }
.about-list li { display: flex; align-items: center; gap: 15px; margin-bottom: 15px; font-weight: 600; color: #374151;}
.about-list i { color: var(--brand-green); font-size: 20px; }
.about-image img { border-radius: 16px; box-shadow: var(--shadow-lg); width: 100%; height: 500px; object-fit: cover;}

/* --- 7. SERVICES SECTION --- */
.services { background: #ffffff; padding: 100px 0; border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); } /* Clean White for strong contrast */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.service-card { background: white; border: 1px solid var(--border-color); border-radius: 16px; overflow: hidden; transition: var(--transition); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.service-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.service-img { height: 220px; overflow: hidden; width: 100%; }
.service-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.service-card:hover .service-img img { transform: scale(1.1); }
.service-content { padding: 30px; flex: 1; }
.service-icon { width: 50px; height: 50px; background: #eff6ff; color: var(--brand-blue); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 20px; }
.service-card:nth-child(2) .service-icon { background: #f0fdf4; color: var(--brand-green); }
.service-content h3 { font-size: 22px; color: var(--brand-blue); margin-bottom: 15px; font-weight: bold;}
.service-content p { color: var(--text-muted); }

/* --- 8. PROCESS SECTION --- */
.process { background-color: var(--brand-blue-dark); color: white; padding: 100px 0; } /* Very Dark Blue */
.section-title.light h2 { color: white; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.process-step .step-icon { width: 90px; height: 90px; margin: 0 auto 20px; background: var(--brand-blue); border: 4px solid var(--brand-blue-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 32px; color: white; transition: var(--transition); box-shadow: var(--shadow-lg); }
.process-step:hover .step-icon { background: var(--brand-green); border-color: var(--brand-green); transform: translateY(-8px); box-shadow: 0 10px 25px rgba(76,175,80,0.4); }
.process-step h3 { font-size: 22px; margin-bottom: 10px; font-weight: bold; }
.process-step p { color: #cbd5e1; font-size: 15px; line-height: 1.6; }

/* --- 9. CONTACT SECTION --- */
.contact { background-color: #e2e8f0; padding: 100px 0; border-top: 1px solid var(--border-color); } /* Deep Slate */
.contact-card { display: grid; grid-template-columns: 1fr 1fr; background: white; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-xl); border: 1px solid var(--border-color); }
.contact-info { padding: 60px; }
.contact-info h3 { font-size: 28px; color: var(--brand-blue); margin-bottom: 30px; border-bottom: 3px solid var(--brand-green); display: inline-block; padding-bottom: 10px; font-weight: 800;}
.contact-list { margin-bottom: 40px; }
.contact-list li { display: flex; align-items: flex-start; gap: 20px; margin-bottom: 25px; }
.contact-icon { width: 50px; height: 50px; background: #eff6ff; color: var(--brand-blue); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; }
.contact-list li:nth-child(1) .contact-icon { background: #f0fdf4; color: var(--brand-green); }
.contact-list li strong { display: block; font-size: 18px; color: var(--brand-blue-dark); margin-bottom: 2px; }
.contact-list li span { font-size: 14px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; font-weight: 600;}
.contact-list li p { margin: 0; color: var(--text-muted); line-height: 1.6;}
.contact-map iframe { width: 100%; height: 100%; min-height: 500px; border: none; }

/* --- 10. AUDIO OVERLAY --- */
.audio-overlay { position: fixed; inset: 0; background: rgba(15, 44, 89, 0.95); z-index: 9999; display: flex; flex-direction: column; align-items: center; justify-content: center; color: white; cursor: pointer; transition: opacity 0.5s; backdrop-filter: blur(5px); }
.audio-icon { width: 80px; height: 80px; background: var(--brand-green); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 30px; margin-bottom: 25px; box-shadow: 0 0 30px rgba(76,175,80,0.5); animation: bounce 2s infinite; }
.audio-overlay h2 { font-size: 32px; font-weight: 800; margin-bottom: 10px; }
.audio-overlay p { font-size: 16px; color: #cbd5e1; margin-bottom: 25px; }


/* ==========================================================================
   PART 11: TAILWIND UTILITY SHIMS (FOR FOOTER & ADMIN COMPONENTS)
   ========================================================================== */
.flex { display: flex; } .inline-flex { display: inline-flex; } .grid { display: grid; }
.flex-col { flex-direction: column; } .flex-row { flex-direction: row; }
.flex-1 { flex: 1; } .flex-shrink-0 { flex-shrink: 0; }
.items-center { align-items: center; } .items-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; } .justify-end { justify-content: flex-end; }
.gap-2 { gap: 0.5rem; } .gap-3 { gap: 0.75rem; } .gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; } .gap-8 { gap: 2rem; }
.space-y-2 > * + * { margin-top: 0.5rem; } .space-y-3 > * + * { margin-top: 0.75rem; } .space-y-4 > * + * { margin-top: 1rem; }

.relative { position: relative; } .absolute { position: absolute; } .fixed { position: fixed; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; } .inset-y-0 { top: 0; bottom: 0; }
.top-0 { top: 0; } .bottom-0 { bottom: 0; } .left-0 { left: 0; } .right-0 { right: 0; }
.top-6 { top: 1.5rem; } .right-6 { right: 1.5rem; }
.block { display: block; } .inline-block { display: inline-block; }
.hidden { display: none !important; }

.z-10 { z-index: 10; } .z-20 { z-index: 20; } .z-30 { z-index: 30; }
.z-\[100\] { z-index: 100; } .z-\[140\] { z-index: 140; } .z-\[150\] { z-index: 150; } .z-\[250\] { z-index: 250; } .z-\[300\] { z-index: 300; }

.w-full { width: 100%; } .h-full { height: 100%; }
.w-8 { width: 2rem; } .h-8 { height: 2rem; }
.w-10 { width: 2.5rem; } .h-10 { height: 2.5rem; }
.w-11 { width: 2.75rem; } .h-6 { height: 1.5rem; }
.w-12 { width: 3rem; } .h-12 { height: 3rem; }
.w-px { width: 1px; } .w-\[400px\] { width: 400px; }
.max-w-sm { max-width: 24rem; } .max-w-4xl { max-width: 56rem; } .max-w-7xl { max-width: 80rem; }
.max-h-40 { max-height: 10rem; } .max-h-\[85vh\] { max-height: 85vh; }

.m-0 { margin: 0; } .mx-auto { margin-left: auto; margin-right: auto; }
.mx-1 { margin-left: 0.25rem; margin-right: 0.25rem; } .mx-4 { margin-left: 1rem; margin-right: 1rem; }
.mt-1 { margin-top: 0.25rem; } .mt-2 { margin-top: 0.5rem; } .mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; } .mb-4 { margin-bottom: 1rem; } .mb-6 { margin-bottom: 1.5rem; } .mb-8 { margin-bottom: 2rem; }
.mr-1 { margin-right: 0.25rem; } .mr-2 { margin-right: 0.5rem; } .ml-1 { margin-left: 0.25rem; } .ml-2 { margin-left: 0.5rem; }

.p-0 { padding: 0; } .p-2 { padding: 0.5rem; } .p-3 { padding: 0.75rem; } .p-4 { padding: 1rem; } .p-6 { padding: 1.5rem; } .p-8 { padding: 2rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; } .px-4 { padding-left: 1rem; padding-right: 1rem; } .px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; } .py-2\.5 { padding-top: 0.625rem; padding-bottom: 0.625rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; } .py-4 { padding-top: 1rem; padding-bottom: 1rem; } .py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.pt-2 { padding-top: 0.5rem; } .pt-4 { padding-top: 1rem; } .pb-2 { padding-bottom: 0.5rem; } .pb-8 { padding-bottom: 2rem; } .pb-36 { padding-bottom: 9rem; } .pr-1 { padding-right: 0.25rem; }

.bg-white { background-color: #ffffff; } .bg-transparent { background-color: transparent; }
.bg-cover { background-size: cover; } .bg-center { background-position: center; }
.bg-gray-50 { background-color: #f9fafb; } .bg-gray-100 { background-color: #f3f4f6; } .bg-gray-200 { background-color: #e5e7eb; }
.bg-blue-50 { background-color: #eff6ff; } .bg-green-50 { background-color: #f0fdf4; } .bg-green-100 { background-color: #dcfce7; }
.bg-brandBlue { background-color: var(--brand-blue); } .bg-brandBlueLight { background-color: var(--brand-blue-light); }
.bg-brandGreen { background-color: var(--brand-green); } .bg-gray-900\/90 { background-color: rgba(17, 24, 39, 0.9); }
.bg-white\/10 { background-color: rgba(255, 255, 255, 0.1); } .bg-white\/20 { background-color: rgba(255, 255, 255, 0.2); }

.text-white { color: #ffffff; } .text-gray-300 { color: #d1d5db; } .text-gray-400 { color: #9ca3af; } .text-gray-500 { color: #6b7280; }
.text-gray-600 { color: #4b5563; } .text-gray-700 { color: #374151; } .text-gray-800 { color: #1f2937; }
.text-red-400 { color: #f87171; } .text-red-500 { color: #ef4444; } .text-blue-200 { color: #bfdbfe; }
.text-brandBlue { color: var(--brand-blue); } .text-brandGreen { color: var(--brand-green); } .text-brandGreenLight { color: var(--brand-green-light); }

.font-sans { font-family: 'Inter', sans-serif; } .font-semibold { font-weight: 600; } .font-bold { font-weight: 700; }
.text-xs { font-size: 0.75rem; line-height: 1rem; } .text-sm { font-size: 0.875rem; line-height: 1.25rem; } .text-\[15px\] { font-size: 15px; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; } .text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; } .text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-center { text-align: center; } .uppercase { text-transform: uppercase; }
.tracking-wide { letter-spacing: 0.025em; } .tracking-widest { letter-spacing: 0.1em; } .truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Border classes specify the exact side, eliminating unwanted rectangular boxes */
.border { border-width: 1px; border-style: solid; }
.border-t { border-top-width: 1px; border-top-style: solid; }
.border-b { border-bottom-width: 1px; border-bottom-style: solid; }
.border-l { border-left-width: 1px; border-left-style: solid; }
.border-l-4 { border-left-width: 4px; border-left-style: solid; }

.border-gray-50 { border-color: #f9fafb; } .border-gray-100 { border-color: #f3f4f6; } .border-gray-200 { border-color: #e5e7eb; }
.border-brandGreen { border-color: var(--brand-green); } .border-brandBlueLight { border-color: var(--brand-blue-light); }
.rounded { border-radius: 0.25rem; } .rounded-md { border-radius: 0.375rem; } .rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; } .rounded-2xl { border-radius: 1rem; } .rounded-r-xl { border-top-right-radius: 0.75rem; border-bottom-right-radius: 0.75rem; }
.rounded-full { border-radius: 9999px; }

.shadow { box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06); }
.shadow-sm { box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); } .shadow-md { box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1); } .shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); }

.cursor-pointer { cursor: pointer; } .cursor-default { cursor: default; } .select-none { user-select: none; }
.overflow-hidden { overflow: hidden; } .overflow-y-auto { overflow-y: auto; } .backdrop-blur-sm { backdrop-filter: blur(4px); }
.transform { transform: translate(var(--tw-translate-x, 0), var(--tw-translate-y, 0)); }
.translate-x-full { --tw-translate-x: 100%; transform: translateX(100%); }
.-translate-y-1\/2 { --tw-translate-y: -50%; transform: translateY(-50%); }

.transition { transition-property: background-color, border-color, color, fill, stroke, opacity, box-shadow, transform; transition-duration: 300ms; }
.transition-colors { transition-property: background-color, border-color, color, fill, stroke; transition-duration: 300ms; }
.duration-300 { transition-duration: 300ms; }
.hover\:bg-blue-900:hover { background-color: #1e3a8a; } .hover\:bg-green-700:hover { background-color: #15803d; }
.hover\:bg-gray-50:hover { background-color: #f9fafb; } .hover\:text-red-500:hover { color: #ef4444; }
.hover\:text-white:hover { color: #ffffff; } .hover\:text-brandGreen:hover { color: var(--brand-green); }
.hover-lift:hover { transform: translateY(-5px); }

.outline-none { outline: 2px solid transparent; outline-offset: 2px; }
.focus\:border-brandGreen:focus { border-color: var(--brand-green); } .focus\:ring-1:focus { box-shadow: 0 0 0 1px currentColor; }

/* Advanced Toggle Switches */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border-width: 0; }
.peer:checked ~ .peer-checked\:bg-brandGreen { background-color: var(--brand-green); }
.peer:checked ~ .peer-checked\:after\:translate-x-full::after { transform: translateX(100%); }
.peer:checked ~ .peer-checked\:after\:border-white::after { border-color: #ffffff; }
.after\:content-\[\'\'\]::after { content: ''; }
.after\:absolute::after { position: absolute; }
.after\:top-\[2px\]::after { top: 2px; }
.after\:left-\[2px\]::after { left: 2px; }
.after\:bg-white::after { background-color: #ffffff; }
.after\:border-gray-300::after { border-color: #d1d5db; }
.after\:border::after { border-width: 1px; border-style: solid; }
.after\:rounded-full::after { border-radius: 9999px; }
.after\:h-5::after { height: 1.25rem; }
.after\:w-5::after { width: 1.25rem; }
.after\:transition-all::after { transition-property: all; transition-duration: 300ms; transition-timing-function: ease; }

/* ==========================================================================
   PART 12: ADMIN UI STRICT STYLES (CRITICAL FOR HIDING)
   ========================================================================== */
#admin-sidebar { position: fixed; top: 0; bottom: 0; right: 0; width: 400px; background: #f9fafb; z-index: 1500; transform: translateX(100%); transition: transform 0.3s ease; box-shadow: -10px 0 30px rgba(0,0,0,0.1); display: flex; flex-direction: column; }
#admin-sidebar.sidebar-open { transform: translateX(0); }

/* Floating Restore Button for Sidebar */
#restore-builder-btn {
    position: fixed; top: 50%; right: 0; transform: translateY(-50%);
    background: var(--brand-blue); color: white; padding: 12px;
    border-top-left-radius: 12px; border-bottom-left-radius: 12px;
    z-index: 1400; border: 1px solid var(--brand-blue-light); border-right: none;
    cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 8px;
    box-shadow: -5px 0 15px rgba(0,0,0,0.3); transition: background 0.2s;
}
#restore-builder-btn:hover { background: #1e3a8a; }
#restore-builder-btn.hidden { display: none !important; }

.secure-modal-overlay { position: fixed; inset: 0; z-index: 9999; background-color: rgba(15, 23, 42, 0.9); display: none !important; align-items: center; justify-content: center; }
.secure-modal-overlay.is-active { display: flex !important; }
.secure-modal-box { background: #ffffff; border-radius: 16px; padding: 32px; width: 100%; max-width: 400px; margin: 16px; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5); }
.secure-input-group { position: relative; margin-bottom: 1rem; }
.secure-input-group i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: #9ca3af; }
.secure-input-field { width: 100%; padding: 12px 12px 12px 40px; border: 1px solid #d1d5db; border-radius: 8px; outline: none; transition: border-color 0.2s; }
.secure-input-field:focus { border-color: var(--brand-blue); }

#inline-toolbar { display: none; position: absolute; background: #1f2937; padding: 6px; border-radius: 8px; z-index: 9999; box-shadow: 0 10px 15px -3px rgba(0,0,0,0.3); transform: translateX(-50%); align-items: center; gap: 4px; }
.toolbar-btn { color: #fff; background: transparent; border: none; padding: 6px 10px; cursor: pointer; border-radius: 4px; transition: background 0.2s; }
.toolbar-btn:hover { background: #374151; }
.toolbar-input { background: #374151; color: white; border: 1px solid #4b5563; border-radius: 4px; padding: 4px 8px; outline: none; cursor: pointer; }

/* Removed background-color override so buttons keep their colors on hover */
.admin-mode-active .editable-content { outline: 1px dashed rgba(76, 175, 80, 0.6); border-radius: 4px; padding: 2px; transition: all 0.2s; }
.admin-mode-active .editable-content:hover { outline: 2px dashed #4caf50; cursor: text; }
.admin-mode-active .editable-content:focus { outline: 2px solid #1b5e20; }

.admin-img-wrapper { position: relative; display: block; }
.edit-img-btn { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0.9); background: rgba(27, 94, 32, 0.95); color: white; padding: 10px 20px; border-radius: 50px; font-weight: bold; cursor: pointer; opacity: 0; pointer-events: none; transition: all 0.2s; z-index: 20; border: 2px solid white; box-shadow: 0 10px 25px rgba(0,0,0,0.5); }
.admin-mode-active .edit-img-btn { pointer-events: auto; }
.admin-mode-active .admin-img-wrapper:hover .edit-img-btn { opacity: 1; transform: translate(-50%, -50%) scale(1); }

.admin-icon-wrapper { position: relative; display: inline-flex; }
.edit-icon-btn { display: none; position: absolute; top: -10px; right: -10px; background: #2563eb; color: white; width: 24px; height: 24px; border-radius: 50%; cursor: pointer; z-index: 30; font-size: 10px; align-items: center; justify-content: center; border: 2px solid white; box-shadow: 0 2px 5px rgba(0,0,0,0.3); }
.admin-mode-active .admin-icon-wrapper:hover .edit-icon-btn { display: flex; }

.admin-scroll::-webkit-scrollbar { width: 6px; }
.admin-scroll::-webkit-scrollbar-track { background: #f1f5f9; border-radius: 4px; }
.admin-scroll::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }

/* --- 13. ANIMATIONS --- */
.animate-on-scroll { opacity: 0; transform: translateY(40px); transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1); }
.animate-on-scroll.is-visible { opacity: 1; transform: translateY(0); }
.slide-in-left { opacity: 0; transform: translateX(-50px); transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1); }
.slide-in-left.is-visible { opacity: 1; transform: translateX(0); }
.slide-in-right { opacity: 0; transform: translateX(50px); transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1); }
.slide-in-right.is-visible { opacity: 1; transform: translateX(0); }
.zoom-in { opacity: 0; transform: scale(0.85); transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1); }
.zoom-in.is-visible { opacity: 1; transform: scale(1); }
@keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-15px); } }
@keyframes float { 0% { transform: translateY(0px); } 50% { transform: translateY(-10px); } 100% { transform: translateY(0px); } }
.animate-float { animation: float 3.5s ease-in-out infinite; }
@keyframes slideIn { from { transform: translateY(100%); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.toast-animate { animation: slideIn 0.3s ease-out forwards; }

/* ==========================================================================
   PART 14: RESPONSIVE MEDIA QUERIES (MUST BE AT BOTTOM TO OVERRIDE)
   ========================================================================== */
@media (min-width: 640px) {
    .sm\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
}
@media (min-width: 768px) {
    .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .md\:flex-row { flex-direction: row; }
    .md\:justify-start { justify-content: flex-start; }
    .md\:justify-end { justify-content: flex-end; }
    .md\:order-1 { order: 1; }
    .md\:order-2 { order: 2; }
}
@media (min-width: 1024px) {
    .lg\:px-8 { padding-left: 2rem; padding-right: 2rem; }
}

/* TABLET AND SMALL SCREENS */
@media (max-width: 992px) {
    .compliance-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
    .about-grid { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .process-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-card { grid-template-columns: 1fr; }
    .contact-info { padding: 40px; }
    .hero h1 { font-size: 40px; }
    .hero { padding: 150px 0 100px; }
}

/* MOBILE PHONES */
@media (max-width: 768px) {
    .nav-links { display: none !important; }
    .mobile-toggle { display: block !important; }

    .hero { padding: 120px 0 80px; }
    .hero h1 { font-size: 32px; line-height: 1.2; }
    .hero p { font-size: 16px; margin-bottom: 30px; }

    .hero-buttons { flex-direction: column; width: 100%; gap: 15px; }
    .hero-buttons .btn { width: 100%; justify-content: center; }

    .services-grid { grid-template-columns: 1fr; }
    .process-grid { grid-template-columns: 1fr; gap: 40px; }

    .compliance { margin-left: 20px; margin-right: 20px; }
    .contact-info { padding: 30px 20px; }

    .section-title h2 { font-size: 28px; }
    .about-text { text-align: center; }
    .about-list li { justify-content: center; text-align: left; }
}

/* EXTRA SMALL PHONES */
@media (max-width: 480px) {
    .compliance-grid { grid-template-columns: 1fr; gap: 30px; }
}