/* 
========================================================================
   AFG - Asia Football Group | Professional Styling Design System
   Inspired by modern corporate sports aesthetics (Lexend & Plus Jakarta Sans)
========================================================================
*/

@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@400;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

/* 1. Global Reset & Core Styling Variables */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    /* Mapped Palettes */
    --color-primary: #00152b;                 /* Midnight Deep Navy */
    --color-primary-light: #002851;           /* Lighter Navy */
    --color-secondary: #f77200;               /* Premium Amber Orange */
    --color-secondary-hover: #e06000;         /* Hover orange */
    --color-background: #f8fafe;              /* Soft tinted light grey/blue */
    --color-surface: #ffffff;                 /* Clean white surface */
    --color-surface-container: #f1f5f9;       /* Light grey container block */
    --color-surface-dark: #020b14;            /* Dark footer background */
    
    /* Text Mappings */
    --text-primary: #0f172a;                  /* Slate 900 */
    --text-secondary: #475569;                /* Slate 600 */
    --text-muted: #94a3b8;                    /* Slate 400 */
    --text-white: #ffffff;
    
    /* Outlines & Borders */
    --border-color: rgba(0, 21, 43, 0.08);
    --border-color-white: rgba(255, 255, 255, 0.12);
    
    /* Grid & Spacing System */
    --container-max: 1200px;
    --margin-desktop: 2.5rem;
    --margin-mobile: 1.5rem;
    
    /* Fonts Setup */
    --font-heading: 'Lexend', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    
    /* Shadows & Radii */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 24px;
    --radius-full: 100px;
    
    --shadow-sm: 0 2px 8px rgba(0, 21, 43, 0.04);
    --shadow-md: 0 8px 30px rgba(0, 21, 43, 0.06);
    --shadow-lg: 0 20px 40px rgba(0, 21, 43, 0.1);
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    background-color: var(--color-background);
    color: var(--text-primary);
    overflow-x: hidden;
}

/* 2. Structured Layout Containers */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--margin-mobile);
    padding-right: var(--margin-mobile);
}

@media (min-width: 768px) {
    .container {
        padding-left: var(--margin-desktop);
        padding-right: var(--margin-desktop);
    }
}

.max-w-container-max {
    max-width: var(--container-max) !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.mx-auto { margin-left: auto !important; margin-right: auto !important; }

/* Flexbox utilities with high specificity */
.flex { display: flex !important; }
.flex-col { flex-direction: column !important; }
.flex-grow { flex-grow: 1 !important; }
.flex-1 { flex: 1 1 0% !important; }
.flex-wrap { flex-wrap: wrap !important; }
.shrink-0 { flex-shrink: 0 !important; }

.items-center { align-items: center !important; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }

.justify-between { justify-content: space-between !important; }
.justify-center { justify-content: center !important; }
.justify-end { justify-content: flex-end !important; }

/* CSS Grid layout utilities */
.grid { display: grid !important; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)) !important; }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }

@media (min-width: 640px) {
    .sm\:flex-row { flex-direction: row !important; }
}

@media (min-width: 768px) {
    .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
    .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
    .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
    .md\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)) !important; }
    
    .md\:col-span-1 { grid-column: span 1 / span 1 !important; }
    .md\:col-span-4 { grid-column: span 4 / span 4 !important; }
    .md\:col-span-5 { grid-column: span 5 / span 5 !important; }
    .md\:col-span-7 { grid-column: span 7 / span 7 !important; }
    .md\:col-span-8 { grid-column: span 8 / span 8 !important; }
}

@media (min-width: 1024px) {
    .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
    .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
    .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
    .lg\:grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)) !important; }
    .lg\:flex-row { flex-direction: row !important; }
}

@media (min-width: 1280px) {
    .xl\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
}

/* Common Display & Sizes */
.block { display: block !important; }
.inline-block { display: inline-block !important; }
.inline-flex { display: inline-flex !important; }
.hidden { display: none !important; }
.relative { position: relative !important; }
.absolute { position: absolute !important; }
.overflow-hidden { overflow: hidden !important; }
.w-full { width: 100% !important; }
.h-full { height: 100% !important; }
.h-auto { height: auto !important; }
.w-fit { width: fit-content !important; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.z-10 { z-index: 10 !important; }
.z-20 { z-index: 20 !important; }
.z-50 { z-index: 50 !important; }

.h-12 { height: 3rem !important; }
.h-14 { height: 3.5rem !important; }
.h-48 { height: 12rem !important; }
.w-12 { width: 3rem !important; }

@media (min-width: 768px) {
    .md\:block { display: block !important; }
    .md\:flex { display: flex !important; }
    .md\:hidden { display: none !important; }
}

@media (min-width: 1024px) {
    .lg\:block { display: block !important; }
}

/* Margin & Padding scales */
.gap-2 { gap: 0.5rem !important; }
.gap-3 { gap: 0.75rem !important; }
.gap-4 { gap: 1rem !important; }
.gap-6 { gap: 1.5rem !important; }
.gap-8 { gap: 2rem !important; }
.gap-10 { gap: 2.5rem !important; }
.gap-gutter { gap: 1.5rem !important; }
.gap-stack-md { gap: 1rem !important; }

.p-4 { padding: 1rem !important; }
.p-6 { padding: 1.5rem !important; }
.p-8 { padding: 2rem !important; }
.p-10 { padding: 2.5rem !important; }
.p-12 { padding: 3rem !important; }
.p-stack-md { padding: 1.5rem !important; }

.px-3 { padding-left: 0.75rem !important; padding-right: 0.75rem !important; }
.px-5 { padding-left: 1.25rem !important; padding-right: 1.25rem !important; }
.px-6 { padding-left: 1.5rem !important; padding-right: 1.5rem !important; }
.px-8 { padding-left: 2rem !important; padding-right: 2rem !important; }
.px-10 { padding-left: 2.5rem !important; padding-right: 2.5rem !important; }

.py-1 { padding-top: 0.25rem !important; padding-bottom: 0.25rem !important; }
.py-2 { padding-top: 0.5rem !important; padding-bottom: 0.5rem !important; }
.py-3 { padding-top: 0.75rem !important; padding-bottom: 0.75rem !important; }
.py-4 { padding-top: 1rem !important; padding-bottom: 1rem !important; }
.py-5 { padding-top: 1.25rem !important; padding-bottom: 1.25rem !important; }
.py-12 { padding-top: 3rem !important; padding-bottom: 3rem !important; }
.py-20 { padding-top: 5rem !important; padding-bottom: 5rem !important; }

.py-stack-lg { padding-top: 4rem !important; padding-bottom: 4rem !important; }
@media (min-width: 768px) {
    .py-stack-lg { padding-top: 7.5rem !important; padding-bottom: 7.5rem !important; }
}
.pb-stack-lg { padding-bottom: 4rem !important; }
@media (min-width: 768px) {
    .pb-stack-lg { padding-bottom: 7.5rem !important; }
}
.pb-1 { padding-bottom: 0.25rem !important; }
.pt-4 { padding-top: 1rem !important; }
.pt-8 { padding-top: 2rem !important; }
.pt-16 { padding-top: 4rem !important; }
.pt-20 { padding-top: 5rem !important; }
.pt-32 { padding-top: 8rem !important; }
.pl-6 { padding-left: 1.5rem !important; }

.mb-1 { margin-bottom: 0.25rem !important; }
.mb-2 { margin-bottom: 0.5rem !important; }
.mb-3 { margin-bottom: 0.75rem !important; }
.mb-4 { margin-bottom: 1rem !important; }
.mb-6 { margin-bottom: 1.5rem !important; }
.mb-8 { margin-bottom: 2rem !important; }
.mb-10 { margin-bottom: 2.5rem !important; }
.mb-12 { margin-bottom: 3rem !important; }
.mb-16 { margin-bottom: 4rem !important; }
.mb-stack-lg { margin-bottom: 3rem !important; }

.mt-2 { margin-top: 0.5rem !important; }
.mt-4 { margin-top: 1rem !important; }
.mt-6 { margin-top: 1.5rem !important; }
.mt-8 { margin-top: 2rem !important; }
.mt-12 { margin-top: 3rem !important; }
.mt-16 { margin-top: 4rem !important; }
.mt-20 { margin-top: 5rem !important; }
.mt-auto { margin-top: auto !important; }
.mt-stack-lg { margin-top: 3rem !important; }

@media (min-width: 768px) {
    .md\:mb-0 { margin-bottom: 0 !important; }
    .md\:p-20 { padding: 5rem !important; }
}

@media (min-width: 1024px) {
    .lg\:p-20 { padding: 5rem !important; }
    .lg\:py-24 { padding-top: 6rem !important; padding-bottom: 6rem !important; }
    .lg\:py-32 { padding-top: 8rem !important; padding-bottom: 8rem !important; }
}

/* Aspect rules */
.aspect-square { aspect-ratio: 1 / 1 !important; }
.aspect-video { aspect-ratio: 16 / 9 !important; }
@media (min-width: 1024px) {
    .lg\:aspect-square { aspect-ratio: 1 / 1 !important; }
}

/* 3. Unified Typography System */
h1, h2, h3, h4, h5, h6, .font-heading {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
    color: var(--color-primary);
}

.text-headline-xl {
    font-size: 2.75rem;
    letter-spacing: -0.03em;
    font-weight: 800;
    line-height: 1.15;
}

.text-headline-lg {
    font-size: 2rem;
    letter-spacing: -0.02em;
    font-weight: 700;
}

.text-headline-md {
    font-size: 1.375rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

@media (max-width: 768px) {
    .text-headline-xl { font-size: 2.125rem; }
    .text-headline-lg { font-size: 1.625rem; }
    .text-headline-md { font-size: 1.125rem; }
}

/* Body & Label text mappings */
.text-body-lg { font-size: 1.125rem; line-height: 1.625; color: var(--text-secondary); }
.text-body-md { font-size: 1rem; line-height: 1.6; color: var(--text-secondary); }
.text-body-sm { font-size: 0.875rem; line-height: 1.5; color: var(--text-secondary); }

.text-label-bold { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.text-label-md { font-size: 0.875rem; font-weight: 500; }

.font-bold { font-weight: 700; }
.uppercase { text-transform: uppercase; }
.tracking-widest { letter-spacing: 0.1em; }
.tracking-wider { letter-spacing: 0.05em; }
.tracking-tight { letter-spacing: -0.025em; }
.tracking-\[0\.2em\] { letter-spacing: 0.2em; }
.text-center { text-align: center; }
.text-right { text-align: right; }

.text-[10px] { font-size: 0.625rem; }
.text-[11px] { font-size: 0.6875rem; }
.text-[18px] { font-size: 1.125rem; }
.text-[20px] { font-size: 1.25rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }

/* Colors Mappings with high specificity */
.text-primary { color: var(--color-primary) !important; }
.text-secondary { color: var(--color-secondary) !important; }
.text-secondary-container { color: var(--color-secondary) !important; }
.text-on-surface { color: var(--text-primary) !important; }
.text-on-surface-variant { color: var(--text-secondary) !important; }
.text-on-primary { color: #ffffff !important; }
.text-on-secondary { color: #ffffff !important; }
.text-on-secondary-container { color: #ffffff !important; }
.text-white { color: #ffffff !important; }

/* Mapped opacity and custom text colors */
.text-white\/40 { color: rgba(255, 255, 255, 0.4) !important; }
.text-white\/50 { color: rgba(255, 255, 255, 0.5) !important; }
.text-white\/60 { color: rgba(255, 255, 255, 0.6) !important; }
.text-white\/70 { color: rgba(255, 255, 255, 0.7) !important; }
.text-white\/80 { color: rgba(255, 255, 255, 0.8) !important; }
.text-white\/90 { color: rgba(255, 255, 255, 0.9) !important; }
.text-on-primary\/60 { color: rgba(255, 255, 255, 0.6) !important; }
.text-on-primary\/70 { color: rgba(255, 255, 255, 0.7) !important; }
.text-on-primary\/80 { color: rgba(255, 255, 255, 0.8) !important; }

.text-on-primary-container { color: rgba(255, 255, 255, 0.85) !important; }
.text-on-tertiary-container { color: rgba(255, 255, 255, 0.75) !important; }

/* Force headings inside .text-white parents to white color */
.text-white h1, .text-white h2, .text-white h3, .text-white h4, .text-white h5, .text-white h6 {
    color: #ffffff !important;
}

.bg-background { background-color: var(--color-background) !important; }
.bg-surface { background-color: var(--color-surface) !important; }
.bg-primary { background-color: var(--color-primary) !important; }
.bg-primary-container { background-color: var(--color-primary-light) !important; }
.bg-secondary { background-color: var(--color-secondary) !important; }
.bg-secondary-container { background-color: var(--color-secondary) !important; }
.bg-white { background-color: #ffffff !important; }
.bg-slate-900 { background-color: #0d1e33 !important; }
.bg-primary\/20 { background-color: rgba(0, 21, 43, 0.2) !important; }
.bg-primary\/5 { background-color: rgba(0, 21, 43, 0.04) !important; }
.bg-secondary-container\/10 { background-color: rgba(247, 114, 0, 0.08) !important; }
.bg-surface-container { background-color: var(--color-surface-container) !important; }
.bg-surface-container-low { background-color: #f8fafc !important; }
.bg-surface-container-lowest { background-color: #ffffff !important; }
.bg-white\/5 { background-color: rgba(255, 255, 255, 0.05) !important; }
.bg-white\/10 { background-color: rgba(255, 255, 255, 0.1) !important; }
.bg-tertiary-container { background-color: var(--color-surface-dark) !important; }

/* Borders & Rounding */
.border { border: 1px solid var(--border-color) !important; }
.border-b { border-bottom: 1px solid var(--border-color) !important; }
.border-b-2 { border-bottom: 2px solid var(--border-color) !important; }
.border-l-2 { border-left: 2px solid var(--border-color) !important; }
.border-l-4 { border-left: 4px solid var(--color-secondary) !important; }
.border-t { border-top: 1px solid var(--border-color) !important; }

.border-primary { border-color: var(--color-primary) !important; }
.border-secondary { border-color: var(--color-secondary) !important; }
.border-secondary-container { border-color: var(--color-secondary) !important; }
.border-transparent { border-color: transparent !important; }
.border-white\/10 { border-color: var(--border-color-white) !important; }
.border-white\/40 { border-color: rgba(255, 255, 255, 0.4) !important; }
.border-white\/5 { border-color: rgba(255, 255, 255, 0.05) !important; }
.border-outline\/10 { border-color: rgba(0, 21, 43, 0.05) !important; }
.border-outline\/20 { border-color: rgba(0, 21, 43, 0.1) !important; }

.rounded { border-radius: var(--radius-sm) !important; }
.rounded-sm { border-radius: 4px !important; }
.rounded-full { border-radius: var(--radius-full) !important; }

.object-cover { object-fit: cover !important; }
.object-contain { object-fit: contain !important; }

/* 4. Glassmorphism and Overlays */
.backdrop-blur-sm { backdrop-filter: blur(4px) !important; -webkit-backdrop-filter: blur(4px) !important; }
.backdrop-blur-md { backdrop-filter: blur(12px) !important; -webkit-backdrop-filter: blur(12px) !important; }
.bg-surface\/95 { background-color: rgba(255, 255, 255, 0.9) !important; }

.shadow-xl { box-shadow: var(--shadow-md) !important; }
.shadow-2xl { box-shadow: var(--shadow-lg) !important; }

.hero-pattern {
    background-color: var(--color-background);
    background-image: radial-gradient(rgba(0, 40, 81, 0.06) 1.5px, transparent 1.5px);
    background-size: 24px 24px;
}

.hero-gradient {
    background: linear-gradient(rgba(0, 21, 43, 0.8), rgba(0, 21, 43, 0.45));
}

.mix-blend-overlay { mix-blend-mode: overlay !important; }
.brightness-0 { filter: brightness(0) !important; }
.invert { filter: invert(1) !important; }
.opacity-10 { opacity: 0.1 !important; }
.opacity-40 { opacity: 0.4 !important; }
.opacity-60 { opacity: 0.6 !important; }
.opacity-70 { opacity: 0.7 !important; }
.opacity-75 { opacity: 0.75 !important; }
.opacity-80 { opacity: 0.8 !important; }

/* 5. Consistent Site Header & Sticky navbar */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 50;
    height: 80px;
    background-color: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid var(--border-color);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: var(--transition);
}

.site-header.scrolled {
    height: 70px;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-sm);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.header-logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.header-logo {
    height: 44px;
    width: auto;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--color-primary);
    letter-spacing: -0.02em;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 0.5rem 0;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-secondary);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--color-primary);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: var(--color-primary);
}

/* 6. Unified Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: var(--radius-full);
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

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

.btn-primary:hover {
    background-color: var(--color-secondary);
    box-shadow: 0 4px 15px rgba(247, 114, 0, 0.3);
}

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

.btn-secondary:hover {
    background-color: var(--color-secondary-hover);
    box-shadow: 0 4px 15px rgba(247, 114, 0, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    background-color: #ffffff;
    color: var(--color-primary);
    border-color: #ffffff;
}

.btn-outline-primary {
    background-color: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}

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

/* 7. Sub-page Consistent Hero Header */
.subpage-hero {
    position: relative;
    padding: 6rem 0 4rem;
    background-color: var(--color-primary);
    background-image: radial-gradient(rgba(255, 255, 255, 0.04) 1.5px, transparent 1.5px);
    background-size: 24px 24px;
    color: #ffffff;
    margin-bottom: 4rem;
}

@media (min-width: 768px) {
    .subpage-hero {
        padding: 8rem 0 6rem;
    }
}

.hero-padding {
    padding-top: 6rem !important;
    padding-bottom: 6rem !important;
}

@media (min-width: 768px) {
    .hero-padding {
        padding-top: 10rem !important;
        padding-bottom: 10rem !important;
    }
}

.subpage-hero-title {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.subpage-hero-subtitle {
    font-family: var(--font-body);
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.7);
    max-w-2xl;
}

/* Bento card grid designs */
.bento-card {
    background-color: var(--color-surface);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    padding: 2.5rem;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

.bento-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(0, 21, 43, 0.12);
}

.card-hover:hover {
    border-color: var(--color-secondary);
}

/* Service layout card styling */
.service-card {
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-card:hover .learn-more-icon {
    transform: translateX(6px);
}

.learn-more-icon {
    transition: var(--transition);
}

/* Project Card layout styling */
.project-card {
    background-color: var(--color-surface);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

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

.project-card img {
    transition: transform 0.5s ease;
}

.project-card:hover img {
    transform: scale(1.04);
}

/* Active Hub Map styling */
.city-marker {
    position: absolute;
    width: 14px;
    height: 14px;
    background-color: var(--color-secondary);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    box-shadow: 0 0 10px var(--color-secondary);
}

.city-marker::after {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: var(--color-secondary);
    animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes ping {
    75%, 100% {
        transform: scale(3.5);
        opacity: 0;
    }
}

.animate-ping {
    animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}

/* active state of filters */
.active-filter {
    background-color: var(--color-primary) !important;
    color: #ffffff !important;
    border-color: var(--color-primary) !important;
}

/* 8. Mobile Navigation Drawer styling */
.mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: transparent;
    border: none;
    color: var(--color-primary);
    cursor: pointer;
}

#drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 100;
    display: none;
}

#drawer.open {
    display: block;
}

.drawer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 21, 43, 0.4);
    backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

#drawer.open .drawer-overlay {
    opacity: 1;
}

.drawer-panel {
    position: absolute;
    top: 0;
    left: -320px;
    width: 300px;
    height: 100%;
    background-color: #ffffff;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#drawer.open .drawer-panel {
    left: 0;
}

.drawer-nav a {
    transition: var(--transition);
}

.drawer-nav a:hover {
    background-color: var(--color-surface-container);
    color: var(--color-primary);
}

/* 9. Consistent Footer Styling */
.site-footer {
    background-color: var(--color-surface-dark);
    color: var(--text-muted);
    font-family: var(--font-body);
    font-size: 0.875rem;
    border-top: 1px solid var(--border-color-white);
}

.footer-top {
    padding: 5rem 0 4rem;
}

.footer-brand {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
}

.footer-text {
    line-height: 1.6;
    color: #94a3b8;
    max-w-xs;
}

.footer-title {
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.footer-links-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.footer-link {
    color: #94a3b8;
    text-decoration: none;
    transition: var(--transition);
}

.footer-link:hover {
    color: #ffffff;
    text-decoration: underline;
    text-decoration-color: var(--color-secondary);
}

.social-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background-color: rgba(255, 255, 255, 0.05);
    color: #94a3b8;
    text-decoration: none;
    transition: var(--transition);
}

.social-icon-btn:hover {
    background-color: var(--color-secondary);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(247, 114, 0, 0.2);
}

.footer-bottom {
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom-inner {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

@media (min-width: 768px) {
    .footer-bottom-inner {
        flex-direction: row;
        justify-content: space-between;
    }
}

/* Custom Utility Positioning Classes */
.top-3 { top: 0.75rem !important; }
.left-3 { left: 0.75rem !important; }
.top-\[40\%\] { top: 40% !important; }
.right-\[30\%\] { right: 30% !important; }

