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

/* =============================================
   DESIGN TOKENS
   ============================================= */
:root {
    --bg-dark: #0a0a0a;
    --bg-lighter: #131313;
    --bg-card: #1a1a1a;
    --bg-card-hover: #1f1f1f;
    --accent: #F4C500;
    --accent-hover: #D9AE00;
    --accent-muted: rgba(244, 197, 0, 0.12);
    --text-main: #ffffff;
    --text-muted: #9a9a9a;
    --text-subtle: #5a5a5a;
    --border: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(244, 197, 0, 0.3);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.25);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.30);
    --shadow-lg: 0 8px 28px rgba(0, 0, 0, 0.38);
    --shadow-accent: 0 4px 14px rgba(244, 197, 0, 0.18);

    --font-heading: 'Satoshi', 'Inter', sans-serif;
    --font-body: 'Inter', 'Satoshi', sans-serif;

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    --transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease;

    /* Admin specific */
    --admin-sidebar-width: 260px;
    --admin-sidebar-collapsed: 72px;
    --admin-header-height: 64px;
    --admin-bg: #080808;
    --admin-sidebar-bg: #0d0d0d;
    --admin-card-bg: #111111;
}

/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body, html {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.65;
    overflow-x: hidden;
}

/* Force native select dropdowns to match theme */
select option {
    background: var(--bg-card);
    color: var(--text-main);
}

/* =============================================
   TYPOGRAPHY
   ============================================= */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-main);
}

h1 { font-size: clamp(2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.1rem; }
h5 { font-size: 0.95rem; }

p {
    font-family: var(--font-body);
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.75;
    margin-bottom: 1.25rem;
}

p:last-child { margin-bottom: 0; }

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

a:hover { color: var(--accent); }

ul, ol { padding-left: 1.5rem; }
li { margin-bottom: 0.5rem; }

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

/* =============================================
   LAYOUT UTILITIES
   ============================================= */
.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 2rem;
}

.container-sm { max-width: 900px; margin: 0 auto; padding: 0 2rem; }

.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }

/* Flex utilities */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.justify-end { justify-content: flex-end; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.gap-4 { gap: 2rem; }
.gap-8 { gap: 4rem; }
.flex-1 { flex: 1; }

/* Grid utilities */
.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, 1fr); }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
.grid-auto { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-auto-sm { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

/* Text utilities */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-accent { color: var(--accent) !important; }
.text-muted { color: var(--text-muted) !important; }
.text-white { color: #fff !important; }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.uppercase { text-transform: uppercase; }
.tracking-wide { letter-spacing: 0.05em; }
.tracking-wider { letter-spacing: 0.1em; }

/* Gradient text */
.text-gradient {
    background: linear-gradient(135deg, var(--accent) 0%, #fff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Spacing */
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }
.my-4 { margin-top: 2rem; margin-bottom: 2rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.pt-0 { padding-top: 0 !important; }
.pb-2 { padding-bottom: 1rem; }
.pb-5 { padding-bottom: 3rem; }
.p-0 { padding: 0; }
.w-100 { width: 100%; }
.h-100 { height: 100%; }
.overflow-hidden { overflow: hidden; }
.relative { position: relative; }
.hidden { display: none; }

/* =============================================
   BUTTONS
   ============================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.65rem 1.6rem;
    border-radius: var(--radius-full);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    white-space: nowrap;
    text-decoration: none;
    line-height: 1;
}

.btn-primary {
    background-color: var(--accent);
    color: #000 !important;
    border-color: var(--accent);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    border-color: var(--accent-hover);
    color: #000 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(244, 197, 0, 0.20);
}

.btn-secondary {
    background-color: transparent;
    border-color: rgba(255, 255, 255, 0.25);
    color: var(--text-main) !important;
}

.btn-secondary:hover {
    border-color: var(--accent);
    color: var(--accent) !important;
    transform: translateY(-2px);
    background: rgba(244, 197, 0, 0.05);
}

.btn-outline {
    background: transparent;
    border-color: var(--border);
    color: var(--text-muted) !important;
    padding: 0.5rem 1.2rem;
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent) !important;
}

.btn-sm {
    padding: 0.4rem 1rem;
    font-size: 0.82rem;
    border-radius: var(--radius-md);
}

.btn-lg {
    padding: 0.85rem 2rem;
    font-size: 1rem;
}

/* =============================================
   CARDS
   ============================================= */
.card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: var(--transition);
    border: 1px solid var(--border);
}

.card:hover {
    transform: translateY(-3px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-md);
}

.card-icon {
    width: 52px;
    height: 52px;
    background: var(--accent-muted);
    color: var(--accent);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    flex-shrink: 0;
}

/* =============================================
   BADGES & PILLS
   ============================================= */
.badge {
    display: inline-block;
    padding: 0.25rem 0.6rem;
    border-radius: var(--radius-sm);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.badge-success { background: rgba(34, 197, 94, 0.12); color: #4ade80; }
.badge-danger  { background: rgba(244, 63, 94, 0.12); color: #fb7185; }
.badge-warning { background: rgba(244, 197, 0, 0.12); color: #F4C500; }
.badge-info    { background: rgba(129, 140, 248, 0.12); color: #a78bfa; }
.badge-muted   { background: rgba(160, 160, 160, 0.1); color: #a0a0a0; }

.pill-tag {
    display: inline-block;
    padding: 0.2rem 0.7rem;
    border-radius: var(--radius-full);
    border: 1px solid var(--border);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: var(--transition-fast);
}

.pill-tag:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* =============================================
   DIVIDERS & SECTION LABELS
   ============================================= */
.divider {
    border: none;
    border-top: 1px solid var(--border);
    margin: 2rem 0;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 1rem;
    background: var(--accent-muted);
    border: 1px solid rgba(244, 197, 0, 0.2);
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--accent);
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 0.8rem 0;
    background: rgba(10, 10, 10, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}

.navbar.scrolled {
    background: rgba(8, 8, 8, 0.97);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.6);
    padding: 0.5rem 0;
}


.nav-links {
    display: flex;
    gap: 0.25rem;
    align-items: center;
}

.nav-link {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.8);
    padding: 0.45rem 0.9rem;
    border-radius: var(--radius-full);
    transition: var(--transition);
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.07);
    color: #fff;
}

.nav-link.active {
    background: rgba(255, 255, 255, 0.1);
    color: var(--accent);
}

/* Dropdown */
.nav-dropdown { position: relative; }

.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: var(--bg-card);
    min-width: 210px;
    border-radius: var(--radius-md);
    padding: 0.4rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1rem;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.875rem;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--accent);
}

/* Mobile menu toggle */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 1.4rem;
    cursor: pointer;
    padding: 0.4rem;
    transition: var(--transition);
    z-index: 1001;
    border-radius: var(--radius-sm);
}

.mobile-menu-btn:hover {
    color: var(--accent);
    background: rgba(255, 255, 255, 0.05);
}

/* Mobile menu overlay */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(4px);
}

.mobile-menu-overlay.active { opacity: 1; }

/* =============================================
   FOOTER
   ============================================= */
.footer {
    background: var(--bg-lighter);
    padding: 5rem 0 2rem;
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-title {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 1.25rem;
}

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

.footer-link {
    color: var(--text-muted);
    font-size: 0.88rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: var(--transition-fast);
}

.footer-link:hover {
    color: var(--accent);
    padding-left: 4px;
}

.footer-bottom {
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-social { display: flex; gap: 0.75rem; align-items: center; }

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.footer-social a:hover {
    background: var(--accent-muted);
    border-color: var(--accent);
    color: var(--accent);
}

/* =============================================
   FLOATING ACTION BUTTONS
   ============================================= */
.fab-whatsapp {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    background: #10B243;
    color: #fff !important;
    padding: 0.65rem 1.35rem;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    z-index: 9999;
    box-shadow: 0 4px 16px rgba(16, 178, 67, 0.35);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.fab-whatsapp:hover {
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 8px 24px rgba(16, 178, 67, 0.5);
    color: #fff !important;
}

.fab-feedback {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    background: var(--bg-card);
    color: var(--text-main);
    padding: 1rem 0.45rem;
    border-radius: var(--radius-md) 0 0 var(--radius-md);
    writing-mode: vertical-rl;
    text-orientation: mixed;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    font-weight: 600;
    z-index: 9999;
    box-shadow: -4px 0 16px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border);
    border-right: none;
    transition: var(--transition);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.fab-feedback i { transform: rotate(90deg); }

.fab-feedback:hover {
    background: var(--accent);
    color: #000;
}

/* Feedback Modal */
.feedback-modal-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    z-index: 10001;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    backdrop-filter: blur(4px);
}

.feedback-modal-backdrop.active { display: flex; }

.feedback-modal {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 480px;
    padding: 2.5rem;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from { opacity: 0; transform: translateY(24px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.feedback-modal .close-btn {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    background: rgba(255, 255, 255, 0.06);
    border: none;
    color: var(--text-muted);
    font-size: 1rem;
    cursor: pointer;
    transition: color 0.2s ease;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feedback-modal .close-btn:hover { color: #fff; background: rgba(255, 255, 255, 0.1); }
.feedback-modal h3 { margin-bottom: 0.4rem; color: #fff; }
.feedback-modal > p { font-size: 0.88rem; margin-bottom: 1.5rem; }
.feedback-modal .form-group { margin-bottom: 1.1rem; }
.feedback-modal label { display: block; font-size: 0.82rem; font-weight: 600; color: rgba(255,255,255,0.7); margin-bottom: 0.35rem; }

.feedback-modal input,
.feedback-modal textarea,
.feedback-modal select {
    width: 100%;
    padding: 0.65rem 1rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.9rem;
    transition: border-color 0.2s ease;
}

.feedback-modal input:focus,
.feedback-modal textarea:focus,
.feedback-modal select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(244, 197, 0, 0.1);
}

.feedback-modal textarea { resize: vertical; min-height: 90px; }
.feedback-modal select { appearance: auto; }
.feedback-modal select option { background: var(--bg-card); color: #fff; }

/* =============================================
   LOGO MARQUEE
   ============================================= */
.logo-marquee {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    width: 100%;
    padding: 1.5rem 0;
}

.logo-marquee::before,
.logo-marquee::after {
    content: "";
    position: absolute;
    top: 0;
    width: 120px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.logo-marquee::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-dark), transparent);
}

.logo-marquee::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-dark), transparent);
}

.marquee-content {
    display: inline-flex;
    align-items: center;
    gap: 4rem;
    animation: marquee 32s linear infinite;
    will-change: transform;
}

.logo-marquee:hover .marquee-content { animation-play-state: paused; }

.marquee-logo {
    height: 64px;
    max-width: 160px;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.5);
    transition: filter 0.3s ease;
    flex-shrink: 0;
}

.marquee-logo:hover { filter: grayscale(0%) opacity(1); }

@keyframes marquee {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* =============================================
   ANIMATIONS
   ============================================= */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

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

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(244, 197, 0, 0.3); }
    50%       { box-shadow: 0 0 0 8px rgba(244, 197, 0, 0); }
}

.animate-fade-up { animation: fadeUp 0.7s ease forwards; }
.animate-fade-in { animation: fadeIn 0.7s ease forwards; }

/* =============================================
   FILTER BUTTONS
   ============================================= */
.filter-btn {
    padding: 0.45rem 1.1rem;
    border-radius: var(--radius-full);
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-fast);
    white-space: nowrap;
    flex-shrink: 0;
    font-family: var(--font-body);
}

.filter-btn:hover { border-color: rgba(255,255,255,0.2); color: #fff; }
.filter-btn.active {
    background: var(--accent);
    border-color: var(--accent);
    color: #000;
    font-weight: 600;
}

/* =============================================
   ADMIN LAYOUT — RESPONSIVE
   ============================================= */

/* Sidebar */
.admin-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: var(--admin-sidebar-width);
    height: 100vh;
    background: var(--admin-sidebar-bg);
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    z-index: 900;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), width 0.3s ease;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.06) transparent;
}

.admin-sidebar::-webkit-scrollbar { width: 4px; }
.admin-sidebar::-webkit-scrollbar-track { background: transparent; }
.admin-sidebar::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.06); border-radius: 4px; }

.admin-main {
    margin-left: var(--admin-sidebar-width);
    min-height: 100vh;
    background: var(--admin-bg);
    transition: margin-left 0.3s ease;
    display: flex;
    flex-direction: column;
}

.admin-topbar {
    height: var(--admin-header-height);
    background: var(--admin-sidebar-bg);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    position: sticky;
    top: 0;
    z-index: 800;
    flex-shrink: 0;
}

.admin-content {
    flex: 1;
    padding: 2rem;
}

/* Sidebar nav links */
.admin-nav-link {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.7rem 1rem;
    color: var(--text-muted);
    text-decoration: none;
    border-radius: var(--radius-md);
    margin-bottom: 0.15rem;
    transition: var(--transition-fast);
    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    position: relative;
}

.admin-nav-link i {
    width: 20px;
    font-size: 0.95rem;
    flex-shrink: 0;
    text-align: center;
}

.admin-nav-link:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}

.admin-nav-link.active {
    background: var(--accent-muted);
    color: var(--accent);
    font-weight: 600;
}

.admin-nav-link.active i { color: var(--accent); }

/* Sidebar section labels */
.admin-nav-section {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-subtle);
    padding: 0.75rem 1rem 0.25rem;
    margin-top: 0.5rem;
}

.admin-nav-divider {
    border: none;
    border-top: 1px solid var(--border);
    margin: 0.5rem 0;
}

/* Admin stat cards */
.admin-stat-card {
    background: var(--admin-card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.admin-stat-card::before {
    display: none;
}

.admin-stat-card:hover {
    border-color: rgba(255,255,255,0.08);
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.admin-stat-label {
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-subtle);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.admin-stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 0.75rem;
}

.admin-stat-footer {
    font-size: 0.8rem;
    color: var(--text-subtle);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

/* Admin tables */
.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th {
    text-align: left;
    padding: 0.75rem 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-subtle);
    border-bottom: 1px solid var(--border);
    white-space: nowrap;
}

.admin-table td {
    padding: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.03);
    font-size: 0.875rem;
    color: rgba(255,255,255,0.75);
    vertical-align: middle;
}

.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: rgba(255,255,255,0.02); }
.table-responsive { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* Admin cards */
.admin-card {
    background: var(--admin-card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

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

.admin-card-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.admin-card-body { padding: 1.5rem; }

/* Admin forms */
.form-group { margin-bottom: 1.25rem; }

.form-label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(255,255,255,0.6);
    margin-bottom: 0.4rem;
    letter-spacing: 0.02em;
}

.form-control {
    width: 100%;
    padding: 0.7rem 1rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    color: #fff;
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 0.9rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(244, 197, 0, 0.1);
}

.form-control::placeholder { color: var(--text-subtle); }
select.form-control { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%236b7280' viewBox='0 0 20 20'%3E%3Cpath d='M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.7rem center; background-size: 0.85rem; padding-right: 2.2rem; }
textarea.form-control { resize: vertical; min-height: 100px; }

/* Admin buttons */
.btn-admin {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    border: 1px solid transparent;
    transition: var(--transition-fast);
    font-family: var(--font-body);
    text-decoration: none;
    white-space: nowrap;
}

.btn-admin-primary { background: var(--accent); color: #000 !important; border-color: var(--accent); }
.btn-admin-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: #000 !important; }

.btn-admin-secondary { background: rgba(255,255,255,0.05); color: #fff !important; border-color: var(--border); }
.btn-admin-secondary:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.15); }

.btn-admin-danger { background: rgba(244,63,94,0.1); color: #fb7185 !important; border-color: rgba(244,63,94,0.2); }
.btn-admin-danger:hover { background: rgba(244,63,94,0.2); }

/* Bootstrap compat aliases */
.btn-outline-primary { color: var(--text-muted) !important; border: 1px solid var(--border); background: transparent; display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.35rem 0.75rem; border-radius: var(--radius-sm); font-size: 0.82rem; cursor: pointer; transition: var(--transition-fast); font-family: var(--font-body); text-decoration: none; }
.btn-outline-primary:hover { color: var(--accent) !important; border-color: var(--accent); }
.btn-outline-danger { color: #fb7185 !important; border: 1px solid rgba(244,63,94,0.2); background: transparent; display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.35rem 0.75rem; border-radius: var(--radius-sm); font-size: 0.82rem; cursor: pointer; transition: var(--transition-fast); font-family: var(--font-body); text-decoration: none; }
.btn-outline-danger:hover { background: rgba(244,63,94,0.1); }

/* BS compat spacing */
.me-1 { margin-right: 0.25rem; }
.me-2 { margin-right: 0.5rem; }
.ms-1 { margin-left: 0.25rem; }
.ms-2 { margin-left: 0.5rem; }
.mb-0 { margin-bottom: 0 !important; }

/* BS compat colors */
.bg-success { background: rgba(34,197,94,0.12) !important; color: #4ade80 !important; }
.bg-secondary { background: rgba(160,160,160,0.1) !important; color: #a0a0a0 !important; }
.bg-warning { background: rgba(244, 197, 0, 0.12) !important; color: #F4C500 !important; }
.bg-danger { background: rgba(244,63,94,0.12) !important; color: #fb7185 !important; }
.bg-info { background: rgba(129,140,248,0.12) !important; color: #a78bfa !important; }

/* Bootstrap alert compat */
.alert { padding: 1rem 1.25rem; border-radius: var(--radius-md); margin-bottom: 1.5rem; border-width: 1px; border-style: solid; }
.alert-success { background: rgba(34,197,94,0.08); color: #4ade80; border-color: rgba(34,197,94,0.2); }
.alert-danger { background: rgba(244,63,94,0.08); color: #fb7185; border-color: rgba(244,63,94,0.2); }
.alert-warning { background: rgba(244, 197, 0, 0.08); color: #F4C500; border-color: rgba(244, 197, 0, 0.2); }

/* Bootstrap row/col compat */
.row { display: flex; flex-wrap: wrap; margin: 0 -0.75rem; }
.row > [class*="col-"] { padding: 0 0.75rem; margin-bottom: 1.5rem; }
.col-12 { flex: 0 0 100%; max-width: 100%; }
.col-md-4 { flex: 0 0 33.333%; max-width: 33.333%; }
.col-md-6 { flex: 0 0 50%; max-width: 50%; }
.col-md-8 { flex: 0 0 66.667%; max-width: 66.667%; }

/* =============================================
   BREADCRUMB (Admin)
   ============================================= */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.82rem;
    color: var(--text-subtle);
    margin-bottom: 0;
}

.breadcrumb a { color: var(--text-subtle); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .separator { color: var(--text-subtle); font-size: 0.7rem; }
.breadcrumb .current { color: rgba(255,255,255,0.6); font-weight: 500; }

/* =============================================
   MOBILE HAMBURGER (Admin)
   ============================================= */
.admin-mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.3rem;
    cursor: pointer;
    padding: 0.4rem;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
}

.admin-mobile-toggle:hover { color: #fff; background: rgba(255,255,255,0.05); }

/* Sidebar overlay */
.admin-sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 899;
    backdrop-filter: blur(3px);
}

.admin-sidebar-overlay.active { display: block; }

/* =============================================
   ENHANCED ANIMATIONS
   ============================================= */
@keyframes countUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

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

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

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

.animate-count-up  { animation: countUp 0.6s ease forwards; }
.animate-slide-left  { animation: slideInLeft 0.6s ease forwards; }
.animate-slide-right { animation: slideInRight 0.6s ease forwards; }
.animate-scale-in    { animation: scaleIn 0.5s ease forwards; }

/* Staggered children */
[data-aos] { will-change: transform, opacity; }

/* Hover lift for stat blocks */
.stat-block {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.stat-block:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(244, 197, 0, 0.1);
}

/* =============================================
   RESPONSIVE — PUBLIC SITE
   ============================================= */

/* Tablet */
@media (max-width: 1024px) {
    .grid-cols-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-cols-3 { grid-template-columns: repeat(2, 1fr); }
    .container { padding: 0 1.5rem; }
    h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }

    .mobile-menu-btn { display: block; }

    .nav-links {
        flex-direction: column;
        align-items: flex-start;
        position: fixed;
        top: 0;
        right: -100%;
        width: min(320px, 90vw);
        height: 100dvh;
        background: rgba(10, 10, 10, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        padding: 80px 0 2rem;
        gap: 0;
        z-index: 999;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        border-left: 1px solid rgba(255,255,255,0.08);
        overflow-y: auto;
        overflow-x: hidden;
        box-shadow: -15px 0 45px rgba(0, 0, 0, 0.9);
    }


    .nav-links.open { right: 0; }

    .nav-links .nav-link {
        padding: 0.85rem 1.25rem;
        border-radius: 0;
        font-size: 0.95rem;
        width: 100%;
        border-bottom: 1px solid rgba(255,255,255,0.04);
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    /* Mobile dropdowns — collapsible accordion */
    .nav-dropdown { width: 100%; }

    .nav-dropdown > .nav-link {
        pointer-events: auto !important;
        cursor: pointer;
    }

    .nav-dropdown .dropdown-menu {
        position: static !important;
        opacity: 0;
        max-height: 0;
        overflow: hidden;
        visibility: visible;
        transform: none !important;
        box-shadow: none;
        border: none;
        background: rgba(255, 255, 255, 0.02);
        border-radius: 0;
        margin: 0;
        padding: 0 !important;
        transition: max-height 0.35s ease, opacity 0.25s ease;
        width: 100% !important;
        min-width: unset !important;
        display: block !important;
    }

    /* Override inline grid styles on dropdown inner containers */
    .nav-dropdown .dropdown-menu > div[style] {
        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important;
        grid-template-columns: unset !important;
        padding: 0 !important;
    }

    .nav-dropdown.expanded .dropdown-menu {
        opacity: 1;
        max-height: 800px;
    }

    .nav-dropdown .dropdown-item {
        padding: 0.65rem 1.25rem 0.65rem 2.25rem !important;
        font-size: 0.88rem;
        border-radius: 0;
        border-bottom: 1px solid rgba(255,255,255,0.03);
        width: 100%;
        display: flex;
        background: none;
    }

    /* Hide Get Quote button on mobile nav */
    #nav-quote-btn { display: none !important; }

    /* Shrink Contact Us button on mobile */
    .navbar .btn-primary {
        padding: 0.35rem 0.9rem !important;
        font-size: 0.8rem !important;
    }

    /* Footer: 2-column grid on tablet */
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }

    .footer-grid > div:first-child {
        grid-column: 1 / -1;
    }

    /* Admin sidebar goes off-screen on tablet */
    .admin-sidebar { transform: translateX(-100%); box-shadow: none; }
    .admin-sidebar.open { transform: translateX(0); box-shadow: 4px 0 32px rgba(0, 0, 0, 0.8); }
    .admin-main { margin-left: 0; }
    .admin-mobile-toggle { display: flex; }
    .admin-content { padding: 1.5rem; }
}

/* =============================================
   MOBILE — 768px and below
   ============================================= */
@media (max-width: 768px) {
    .grid-cols-2,
    .grid-cols-3,
    .grid-cols-4 { grid-template-columns: 1fr; }

    .section { padding: 3rem 0; }
    .container { padding: 0 1rem; }

    /* Fix excessive top padding on hero/page headers */
    main { padding-top: 64px !important; }

    /* Hero sections – reduce on mobile */
    section[style*="padding:10rem"],
    section[style*="padding: 10rem"] {
        padding-top: 5rem !important;
    }
    section[style*="padding:8rem"],
    section[style*="padding: 8rem"] {
        padding-top: 4.5rem !important;
        padding-bottom: 3rem !important;
    }
    section[style*="padding:9rem"],
    section[style*="padding: 9rem"] {
        padding-top: 5rem !important;
        padding-bottom: 3rem !important;
    }

    #hero-section {
        padding-top: 4rem !important;
        padding-bottom: 3rem !important;
        min-height: 75vh !important;
    }

    .navbar {
        padding: 0.5rem 0 !important;
    }
    .navbar .container {
        min-height: 50px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    .site-logo img {
        height: 38px !important;
    }
    /* Right-side actions: shrink and align */
    .navbar .flex.items-center {
        gap: 0.5rem !important;
    }

    .btn { padding: 0.55rem 1.1rem; font-size: 0.85rem; }

    /* ── FOOTER MOBILE ─────────────────────── */
    .footer {
        padding: 2.5rem 0 1.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem 1.25rem;
        text-align: left;
    }

    /* Brand column: spans full width, centered */
    .footer-grid > div:first-child {
        grid-column: 1 / -1;
        text-align: center;
    }

    .footer-grid > div:first-child p {
        margin: 0 auto 1rem;
        font-size: 0.84rem;
        max-width: 100%;
    }

    .footer-social {
        justify-content: center;
    }

    /* Quick Links & Services: side by side in 2 columns */
    .footer-links {
        display: flex;
        flex-direction: column;
        gap: 0.4rem;
    }

    .footer-link {
        font-size: 0.82rem;
    }

    .footer-title {
        font-size: 0.7rem;
        margin-bottom: 0.6rem;
    }

    /* Contact column: spans full width */
    .footer-grid > div:last-child {
        grid-column: 1 / -1;
        text-align: center;
    }

    .footer-grid > div:last-child .footer-links {
        align-items: center;
    }

    .footer-bottom {
        padding-top: 1rem;
        border-top: 1px solid var(--border);
        flex-direction: column;
        text-align: center;
        gap: 0.65rem;
        margin-top: 0.5rem;
    }

    .footer-bottom .flex {
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .footer-bottom .footer-link {
        font-size: 0.78rem;
    }

    /* ── FLOATING ACTION BUTTONS ──────────────────── */
    .fab-whatsapp span { display: none; }
    .fab-whatsapp { padding: 0.7rem; gap: 0; bottom: 1.25rem; left: 1.25rem; }
    .fab-whatsapp i { font-size: 1.4rem; }

    .fab-feedback { font-size: 0; padding: 0.75rem 0.35rem; }
    .fab-feedback i { font-size: 1rem !important; transform: rotate(0deg); }

    /* ── FILTER TABS → HORIZONTAL SCROLL ─────────── */
    #portfolio-filters,
    #trend-filters {
        justify-content: flex-start !important;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 0.5rem;
        flex-wrap: nowrap !important;
    }
    #portfolio-filters::-webkit-scrollbar,
    #trend-filters::-webkit-scrollbar { display: none; }

    /* ── PROCESS / INDUSTRY TABS ──────────────────── */
    .process-layout {
        flex-direction: column !important;
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }

    .process-tabs {
        display: flex;
        flex-direction: row !important;
        overflow-x: auto;
        gap: 0.5rem;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 0.5rem;
        flex-wrap: nowrap;
        min-width: 0;
    }

    .process-tabs::-webkit-scrollbar { display: none; }

    .process-tab {
        flex-shrink: 0;
        min-width: 140px;
        white-space: nowrap;
        border-radius: var(--radius-md);
    }

    .process-content-wrapper {
        padding: 1.5rem 1.25rem !important;
        position: relative !important;
        top: 0 !important;
        max-height: none !important;
    }

    .content-title { font-size: 1.25rem !important; }

    /* ── SERVICES GRID MOBILE ────────────────────── */
    .grid.grid-cols-3.gap-8 { grid-template-columns: 1fr; }
    .grid.grid-cols-3.gap-8 aside { display: none; }

    /* ── INDUSTRY SHOW PAGE ──────────────────────── */
    .row.flex { flex-direction: column; }
    .row.flex > div { min-width: 100% !important; }

    /* ── INLINE STAT CARDS ON MOBILE ────────────── */
    [style*="display:grid"][style*="grid-template-columns:repeat(auto-fit,minmax(180px"] {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.75rem !important;
    }

    [style*="display:grid"][style*="grid-template-columns:repeat(4"] {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    [style*="display:grid"][style*="grid-template-columns:repeat(3"] {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    /* ── ABOUT GRID MOBILE ──────────────────────── */
    .about-grid {
        grid-template-columns: 1fr !important;
        gap: 2.5rem !important;
    }

    /* ── CONTACT LAYOUT MOBILE ──────────────────── */
    .contact-layout {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    /* Contact form 2-col name fields → single col */
    .contact-layout div[style*="grid-template-columns:1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }

    /* ── PORTFOLIO GRID ─────────────────────────── */
    [style*="grid-template-columns:repeat(auto-fill,minmax(300px"] {
        grid-template-columns: 1fr !important;
    }

    /* ── TESTIMONIALS SWIPER ────────────────────── */
    .testimonials-slider .swiper-slide .card {
        min-height: 240px !important;
    }

    /* ── CTA CARDS MOBILE ───────────────────────── */
    .card[style*="padding:5rem"],
    .card[style*="padding: 5rem"],
    .card[style*="padding:4rem"],
    .card[style*="padding: 4rem"] {
        padding: 2.5rem 1.5rem !important;
    }

    /* ── BOOTSTRAP COL COMPAT ───────────────────── */
    .col-md-4,
    .col-md-6,
    .col-md-8 { flex: 0 0 100%; max-width: 100%; }

    /* ── ADMIN MOBILE ───────────────────────────── */
    .admin-content { padding: 1rem; }
    .admin-topbar { padding: 0 1rem; }
    .topbar-title { display: none; }

    /* ── HERO CTA BUTTONS → STACKED ─────────────── */
    #hero-section .flex.flex-wrap {
        flex-direction: column;
        align-items: center;
    }

    #hero-section .flex.flex-wrap .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    /* ── SWIPER PAGINATION DOTS ─────────────────── */
    .swiper-pagination-bullet {
        width: 8px;
        height: 8px;
    }
}

/* =============================================
   SMALL PHONES — 480px and below
   ============================================= */
@media (max-width: 480px) {
    .container { padding: 0 0.75rem; }
    .section { padding: 2.5rem 0; }

    .navbar .btn { padding: 0.4rem 0.9rem; font-size: 0.8rem; }

    #hero-section {
        padding-top: 3.5rem !important;
        min-height: 70vh !important;
    }

    h1 { font-size: clamp(1.6rem, 6vw, 2.4rem) !important; }
    h2 { font-size: clamp(1.3rem, 5vw, 1.8rem) !important; }

    /* Feedback button shrinks */
    .fab-feedback { padding: 0.6rem 0.3rem; }

    /* Full-width buttons on small phones */
    .hero-cta-group {
        flex-direction: column;
        align-items: stretch;
    }
    .hero-cta-group .btn { width: 100%; justify-content: center; }

    /* Industry panel on small screens */
    .process-content-wrapper {
        min-height: auto !important;
        max-height: none !important;
        padding: 1.25rem 1rem !important;
    }

    .process-tab {
        min-width: 120px;
        padding: 0.75rem !important;
    }

    /* Cards smaller padding */
    .card {
        padding: 1.5rem;
    }

    /* CTA cards */
    .card[style*="padding:5rem"],
    .card[style*="padding: 5rem"],
    .card[style*="padding:4rem"],
    .card[style*="padding: 4rem"] {
        padding: 2rem 1.25rem !important;
    }

    /* Stats grid → 2 cols */
    [style*="display:grid"][style*="grid-template-columns:repeat(auto-fit,minmax(180px"] {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.65rem !important;
    }

    /* Footer: tighter spacing on small phones */
    .footer-grid {
        gap: 1.25rem 1rem;
    }

    .footer-link {
        font-size: 0.78rem !important;
    }

    .footer-title {
        font-size: 0.68rem;
    }

    /* Inline CTA flex → stacked */
    .flex.justify-center.gap-3,
    .flex.flex-wrap.justify-center.gap-3 {
        flex-direction: column;
        align-items: center;
    }

    .flex.justify-center.gap-3 .btn,
    .flex.flex-wrap.justify-center.gap-3 .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
}

/* =============================================
   MOBILE TAP TARGETS & TOUCH ENHANCEMENTS
   Ensures WCAG 2.5.5 compliance (44x44px minimum)
   ============================================= */

/* Tablet and below */
@media (max-width: 1024px) {
    /* All buttons meet minimum tap target */
    .btn,
    button,
    [role="button"],
    input[type="submit"],
    input[type="button"] {
        min-height: 44px;
        padding: 0.75rem 1.75rem;
        font-size: 0.95rem;
    }
    
    /* Links in navigation */
    nav a,
    .nav-link,
    .nav-link-pill {
        min-height: 44px;
        padding: 0.75rem 1rem;
        display: inline-flex;
        align-items: center;
    }
    
    /* Form inputs */
    input:not([type="checkbox"]):not([type="radio"]),
    select,
    textarea {
        min-height: 44px;
        padding: 0.75rem 1rem;
        font-size: 0.95rem;
    }
    
    /* Checkboxes and radios */
    input[type="checkbox"],
    input[type="radio"] {
        min-width: 22px;
        min-height: 22px;
        margin: 0.5rem;
    }
    
    /* Icon buttons */
    .icon-btn,
    button[aria-label],
    [class*="icon"]:not(.card-icon) {
        min-width: 44px;
        min-height: 44px;
        padding: 0.65rem;
    }
    
    /* Tab items */
    .process-tab,
    [role="tab"],
    .tab {
        min-height: 44px;
        padding: 0.75rem 1.25rem;
    }
    
    /* Cards clickable areas */
    .card a,
    .service-card a,
    .portfolio-item a {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        padding: 0.65rem 1.5rem;
    }
}

/* Mobile specific */
@media (max-width: 768px) {
    /* Increase spacing between interactive elements */
    .btn + .btn {
        margin-top: 0.75rem;
    }
    
    /* Better form spacing */
    .form-group,
    .field-group {
        margin-bottom: 1.25rem;
    }
    
    /* Label spacing */
    label {
        margin-bottom: 0.6rem;
        display: block;
        font-size: 0.9rem;
    }
    
    /* Section padding */
    .section {
        padding: 3rem 0;
    }
    
    /* Card spacing */
    .card {
        margin-bottom: 1.25rem;
    }
    
    /* Grid gaps */
    .grid,
    [class*="grid-"] {
        gap: 1.25rem;
    }
    
    /* Footer links */
    .footer-link {
        padding: 0.5rem 0;
        display: inline-block;
    }
    
    /* Social icons */
    .social-icon {
        min-width: 44px;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}

/* Small phones: Larger targets */
@media (max-width: 480px) {
    /* Primary buttons extra large */
    .btn-primary,
    .btn.btn-primary,
    [type="submit"] {
        min-height: 50px;
        padding: 0.9rem 2rem;
        font-size: 1rem;
        font-weight: 600;
    }
    
    /* All buttons larger */
    .btn,
    button {
        min-height: 48px;
        padding: 0.85rem 1.75rem;
    }
    
    /* Form controls */
    input,
    select,
    textarea {
        min-height: 48px;
        padding: 0.85rem 1rem;
        font-size: 1rem;
    }
    
    /* Better spacing for stacked elements */
    .btn + .btn,
    .form-group + .form-group {
        margin-top: 1rem;
    }
    
    /* Icon size increase for visibility */
    .btn i,
    .card i {
        font-size: 1.1rem;
    }
}

