/* ===== ROOT VARIABLES & CORE STYLES ===== */
:root {
    /* Enhanced Color Palette */
    --primary: #4361ee;
    --primary-light: #e6f0ff;
    --primary-dark: #2a4fd8;
    --secondary: #7209b7;
    --secondary-light: #9d4edd;
    --accent: #0ea5e9;
    --accent-light: #e0f2fe;
    --success: #10b981;
    --success-light: #d1fae5;
    --warning: #f59e0b;
    --warning-light: #fef3c7;
    --danger: #ef4444;
    --danger-light: #fee2e2;
    --info: #3b82f6;
    --info-light: #dbeafe;
    
    /* Mug Philosophy Colors */
    --mug-primary: #2C3E50;
    --mug-accent: #3498DB;
    --mug-warm: #E67E22;
    --mug-success: #27AE60;
    --mug-light: #ECF0F1;
    --mug-dark: #2C3E50;
    --mug-border: #BDC3C7;
    
    /* Gradients */
    --gradient-blue: linear-gradient(135deg, #3b82f6, #1d4ed8);
    --gradient-purple: linear-gradient(135deg, #8b5cf6, #7c3aed);
    --gradient-teal: linear-gradient(135deg, #14b8a6, #0d9488);
    --gradient-orange: linear-gradient(135deg, #f97316, #ea580c);
    --gradient-primary: linear-gradient(135deg, var(--primary), var(--secondary));
    --gradient-success: linear-gradient(135deg, var(--success), #0d9488);
    --gradient-warning: linear-gradient(135deg, var(--warning), #ea580c);
    
    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    
    /* Typography */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;
    
    /* Border Radius */
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1), 0 10px 10px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px rgba(0, 0, 0, 0.25);
    --shadow-inner: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);
    
    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Z-index */
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-fixed: 300;
    --z-modal: 400;
    --z-popover: 500;
    --z-toast: 600;
}

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

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

@media (max-width: 768px) {
    .container {
        padding: 0 var(--space-md);
    }
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--space-md);
    color: var(--mug-primary);
}

h1 { font-size: clamp(var(--text-3xl), 5vw, var(--text-5xl)); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); }
h6 { font-size: var(--text-base); }

p {
    margin-bottom: var(--space-md);
}

.lead {
    font-size: var(--text-lg);
    font-weight: 300;
    color: #5D6D7E;
}

/* ===== NAVIGATION ===== */
.navbar {
    background-color: var(--mug-primary);
    padding: var(--space-md) 0;
    position: sticky;
    top: 0;
    z-index: var(--z-sticky);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    position: relative;
}

.navbar-brand {
    font-size: var(--text-xl);
    font-weight: 700;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-xs) 0;
    transition: color 0.3s ease;
}

.navbar-brand:hover {
    color: var(--mug-accent);
}

.navbar-toggler {
    background: none;
    border: 2px solid white;
    color: white;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-sm);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    transition: all 0.3s ease;
    min-height: 44px;
    min-width: 44px;
}

.navbar-toggler:focus {
    outline: 3px solid var(--mug-accent);
    outline-offset: 2px;
}

.navbar-menu {
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background-color: var(--mug-primary);
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    box-shadow: var(--shadow-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar-menu.active {
    max-height: 80vh;
    overflow-y: auto;
}

.navbar-nav {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    padding: var(--space-md);
    margin: 0;
}

.nav-link {
    color: white;
    text-decoration: none;
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-weight: 500;
    min-height: 44px;
}

.nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--mug-accent);
    transform: translateX(5px);
}

.nav-link.active {
    background-color: rgba(255, 255, 255, 0.15);
    color: var(--mug-accent);
    font-weight: 600;
}

/* Desktop Navigation */
@media (min-width: 768px) {
    .navbar-toggler {
        display: none;
    }
    
    .navbar-menu {
        position: static;
        width: auto;
        max-height: none;
        overflow: visible;
        background: none;
        border-top: none;
        box-shadow: none;
    }
    
    .navbar-nav {
        flex-direction: row;
        gap: var(--space-xs);
        padding: 0;
    }
    
    .nav-link:hover {
        transform: translateY(-2px);
    }
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-md);
    font-weight: 600;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: var(--text-base);
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(67, 97, 238, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(67, 97, 238, 0.4);
}

.btn-secondary {
    background: var(--white);
    color: var(--dark);
    border: 2px solid var(--light-dark);
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-success {
    background: var(--gradient-success);
    color: var(--white);
}

.btn-warning {
    background: var(--gradient-warning);
    color: var(--white);
}

.btn-danger {
    background: var(--danger);
    color: var(--white);
}

/* ===== CARDS ===== */
.card {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--mug-border);
}

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

.card-header {
    background-color: var(--mug-accent);
    color: white;
    padding: var(--space-lg);
    text-align: center;
}

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

/* ===== GRIDS ===== */
.grid {
    display: grid;
    gap: var(--space-lg);
}

.grid-2 {
    grid-template-columns: 1fr;
}

.grid-3 {
    grid-template-columns: 1fr;
}

.grid-4 {
    grid-template-columns: 1fr;
}

@media (min-width: 640px) {
    .grid-2 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .grid-3 { grid-template-columns: repeat(3, 1fr); }
    .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* ===== FORMS ===== */
.form-group {
    margin-bottom: var(--space-lg);
}

.form-label {
    display: block;
    margin-bottom: var(--space-sm);
    font-weight: 600;
    color: var(--mug-dark);
}

.form-control {
    width: 100%;
    padding: var(--space-md);
    border: 2px solid var(--mug-border);
    border-radius: var(--radius-md);
    font-size: var(--text-base);
    transition: border-color 0.3s ease;
}

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

/* ===== UTILITIES ===== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: var(--space-xs); }
.mt-2 { margin-top: var(--space-sm); }
.mt-3 { margin-top: var(--space-md); }
.mt-4 { margin-top: var(--space-lg); }
.mt-5 { margin-top: var(--space-xl); }

.mb-1 { margin-bottom: var(--space-xs); }
.mb-2 { margin-bottom: var(--space-sm); }
.mb-3 { margin-bottom: var(--space-md); }
.mb-4 { margin-bottom: var(--space-lg); }
.mb-5 { margin-bottom: var(--space-xl); }

.p-1 { padding: var(--space-xs); }
.p-2 { padding: var(--space-sm); }
.p-3 { padding: var(--space-md); }
.p-4 { padding: var(--space-lg); }
.p-5 { padding: var(--space-xl); }

.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }
.d-grid { display: grid; }

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

@keyframes slideIn {
    from { transform: translateX(-100%); }
    to { transform: translateX(0); }
}

@keyframes bounceIn {
    0% { opacity: 0; transform: translateY(20px) scale(0.8); }
    50% { transform: translateY(-5px) scale(1.05); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

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

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

.fade-in { animation: fadeIn 0.6s ease forwards; }
.slide-in { animation: slideIn 0.3s ease forwards; }
.bounce-in { animation: bounceIn 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards; }
.pulse { animation: pulse 2s infinite; }
.float { animation: float 3s ease-in-out infinite; }

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    html { font-size: 15px; }
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
}

@media (max-width: 480px) {
    html { font-size: 14px; }
}

/* ===== DARK MODE ===== */
@media (prefers-color-scheme: dark) {
    :root {
        --mug-light: #1a252f;
        --mug-dark: #ecf0f1;
        --mug-border: #34495e;
    }
    
    body {
        background-color: #2c3e50;
        color: var(--mug-dark);
    }
    
    .card {
        background-color: #34495e;
        border-color: var(--mug-border);
    }
}

/* ===== ACCESSIBILITY ===== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
    border-radius: var(--radius-sm);
}

/* ===== CUSTOM SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--mug-light);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(var(--primary), var(--secondary));
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(var(--primary-dark), var(--secondary-light));
}

/* ===== TOAST NOTIFICATIONS ===== */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: var(--z-toast);
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 350px;
}

.toast {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    padding: var(--space-lg);
    animation: slideIn 0.3s ease;
    border-left: 4px solid var(--primary);
}

.toast.success { border-left-color: var(--success); }
.toast.error { border-left-color: var(--danger); }
.toast.warning { border-left-color: var(--warning); }
.toast.info { border-left-color: var(--info); }

/* ===== LOADING STATES ===== */
.loading {
    position: relative;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid var(--mug-border);
    border-top-color: var(--mug-accent);
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

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

/* ===== PRINT STYLES ===== */
@media print {
    .navbar,
    .footer,
    .back-to-top,
    .btn,
    .no-print {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .container {
        max-width: 100%;
        padding: 0;
    }
    
    .card {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}

/* ===== BUSINESS ADVERTISEMENTS SECTION ===== */

/* Ad Section Container */
.business-ad-section {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: var(--radius-2xl);
    padding: var(--space-xl);
    margin: var(--space-xl) 0;
    border: 2px solid var(--primary-light);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.business-ad-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--success));
    background-size: 200% 100%;
    animation: gradientShift 3s ease infinite;
}

/* Ad Label */
.ad-label {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-xl);
    padding-bottom: var(--space-md);
    border-bottom: 2px solid var(--light-dark);
}

.ad-label span {
    font-size: var(--text-sm);
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    background: var(--primary-light);
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-full);
    border: 1px solid rgba(67, 97, 238, 0.2);
}

.ad-label i {
    font-size: 1rem;
    color: var(--primary);
}

/* Ad Content Grid */
.ad-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
    margin-bottom: var(--space-lg);
}

@media (max-width: 768px) {
    .ad-content {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
}

/* Ad Cards */
.ad-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    box-shadow: var(--shadow-md);
    border: 2px solid transparent;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.ad-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(67, 97, 238, 0.03) 100%);
    pointer-events: none;
}

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

/* Ad Card - Available */
.ad-card-available {
    border: 2px dashed var(--mug-border);
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(67, 97, 238, 0.05) 10px,
        rgba(67, 97, 238, 0.05) 20px
    );
    position: relative;
}

.ad-card-available::after {
    content: 'AVAILABLE';
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--warning);
    color: white;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-sm);
    animation: pulse 2s infinite;
}

/* Ad Card - Active */
.ad-card-active {
    border: 2px solid var(--primary);
    background: white;
    position: relative;
}

.ad-card-active::after {
    content: 'ACTIVE';
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--success);
    color: white;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-sm);
}

/* Ad Badge */
.ad-badge {
    position: absolute;
    top: var(--space-md);
    left: var(--space-md);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    color: var(--dark);
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 2;
}

/* Ad Logo */
.ad-logo {
    display: flex;
    justify-content: center;
    margin-bottom: var(--space-lg);
    position: relative;
}

.ad-icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.ad-icon-circle::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.3) 50%,
        transparent 70%
    );
    animation: shimmer 3s infinite linear;
}

/* Ad Details */
.ad-details {
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.ad-details h4 {
    font-size: var(--text-xl);
    font-weight: 800;
    color: var(--dark);
    margin-bottom: var(--space-xs);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ad-tagline {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--primary);
    margin-bottom: var(--space-md);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ad-description {
    font-size: var(--text-sm);
    color: var(--dark-light);
    line-height: 1.6;
    margin-bottom: var(--space-xl);
    flex: 1;
}

/* Ad Call-to-Action */
.ad-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-lg);
    font-weight: 700;
    text-decoration: none;
    transition: all var(--transition-base);
    text-align: center;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.ad-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: left 0.5s ease;
}

.ad-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(67, 97, 238, 0.3);
}

.ad-cta:hover::before {
    left: 100%;
}

.ad-card-available .ad-cta {
    background: linear-gradient(135deg, var(--warning), var(--warning-light));
    color: var(--dark);
}

.ad-card-active .ad-cta {
    background: linear-gradient(135deg, var(--success), var(--success-light));
    color: white;
}

/* Ad Disclosure */
.ad-disclosure {
    text-align: center;
    padding-top: var(--space-lg);
    border-top: 2px solid var(--light-dark);
    margin-top: var(--space-lg);
}

.ad-disclosure p {
    font-size: var(--text-xs);
    color: var(--dark-light);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.ad-disclosure i {
    color: var(--primary);
    font-size: 0.875rem;
}

.ad-contact-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    transition: color var(--transition-base);
}

.ad-contact-link:hover {
    color: var(--secondary);
    text-decoration: underline;
}

/* Ad Hover Effects */
.ad-card:hover .ad-icon-circle {
    transform: scale(1.1);
    transition: transform var(--transition-base);
}

.ad-card:hover .ad-details h4 {
    animation: textShimmer 2s infinite;
}

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

/* Mobile Responsive Adjustments */
@media (max-width: 640px) {
    .business-ad-section {
        padding: var(--space-lg);
        margin: var(--space-lg) 0;
    }
    
    .ad-content {
        grid-template-columns: 1fr;
    }
    
    .ad-card {
        padding: var(--space-lg);
    }
    
    .ad-icon-circle {
        width: 60px;
        height: 60px;
    }
    
    .ad-details h4 {
        font-size: var(--text-lg);
    }
    
    .ad-cta {
        padding: var(--space-sm) var(--space-md);
        font-size: var(--text-sm);
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .business-ad-section {
        background: linear-gradient(135deg, #1a1a1a 0%, #2d3748 100%);
        border-color: #4a5568;
    }
    
    .ad-label span {
        background: rgba(67, 97, 238, 0.2);
        color: #90cdf4;
        border-color: rgba(66, 153, 225, 0.3);
    }
    
    .ad-card {
        background: #2d3748;
        border-color: #4a5568;
    }
    
    .ad-card-available {
        border-color: #4a5568;
        background: repeating-linear-gradient(
            45deg,
            transparent,
            transparent 10px,
            rgba(66, 153, 225, 0.1) 10px,
            rgba(66, 153, 225, 0.1) 20px
        );
    }
    
    .ad-card-active {
        border-color: #4299e1;
    }
    
    .ad-badge {
        background: rgba(45, 55, 72, 0.95);
        color: #e2e8f0;
        border-color: #4a5568;
    }
    
    .ad-details h4 {
        background: linear-gradient(135deg, #63b3ed, #90cdf4);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }
    
    .ad-tagline {
        color: #90cdf4;
    }
    
    .ad-description {
        color: #a0aec0;
    }
    
    .ad-disclosure {
        color: #a0aec0;
    }
    
    .ad-contact-link {
        color: #63b3ed;
    }
    
    .ad-contact-link:hover {
        color: #90cdf4;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .ad-card {
        border: 3px solid var(--primary);
    }
    
    .ad-card-available {
        border: 3px dashed var(--warning);
    }
    
    .ad-cta {
        border: 2px solid var(--dark);
    }
}

/* Print Styles */
@media print {
    .business-ad-section {
        display: none;
    }
}

/* ===== FOOTER ENHANCEMENTS ===== */
footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #ffffff;
    padding: 4rem 0 2rem;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
    background-size: 200% 100%;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Footer headings */
footer h5 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    position: relative;
}

footer h5::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: var(--primary);
}

/* Footer links */
footer a {
    color: #e2e8f0;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
    border-radius: 4px;
}

footer a:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(8px);
    padding-left: 1rem;
}

/* Footer list improvements */
footer .list-unstyled {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

footer .list-unstyled li {
    position: relative;
}

/* Add subtle bullet points */
footer .list-unstyled li::before {
    content: '›';
    position: absolute;
    left: -1rem;
    color: var(--primary);
    opacity: 0;
    transition: all 0.3s ease;
}

footer .list-unstyled li:hover::before {
    opacity: 1;
    left: -0.5rem;
}

/* Footer text improvements */
footer .text-muted {
    color: #a0aec0 !important;
    line-height: 1.7;
    font-size: 0.95rem;
}

footer .text-white-50 {
    color: #cbd5e0 !important;
}

/* Footer bottom section */
footer hr {
    border-color: rgba(255, 255, 255, 0.15);
    margin: 2.5rem 0;
}

footer .text-center p {
    color: #a0aec0;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

footer .text-center .small {
    font-size: 0.85rem;
}

/* Footer note with heart */
.footer-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: #e2e8f0;
    font-size: 0.9rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-note i {
    color: #ef4444;
    animation: heartbeat 1.5s ease infinite;
}

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

/* Footer column spacing */
footer .col-md-4 {
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    footer .col-md-4 {
        margin-bottom: 0;
    }
}

/* Brand column specific styles */
footer .col-md-4:first-child h5 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

footer .col-md-4:first-child h5 i {
    color: var(--primary);
    font-size: 1.75rem;
}

/* Quick Links column */
footer .col-md-4:nth-child(2) a {
    position: relative;
    padding-left: 1.5rem;
}

footer .col-md-4:nth-child(2) a::before {
    content: '→';
    position: absolute;
    left: 0;
    opacity: 0;
    transition: all 0.3s ease;
}

footer .col-md-4:nth-child(2) a:hover::before {
    opacity: 1;
    left: 0.5rem;
}

/* Essential Skills column */
footer .col-md-4:nth-child(3) a {
    position: relative;
    padding-left: 1.5rem;
}

footer .col-md-4:nth-child(3) a::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    opacity: 0;
    transition: all 0.3s ease;
}

footer .col-md-4:nth-child(3) a:hover::before {
    opacity: 1;
    left: 0.5rem;
}

/* Hover effects for all links */
footer a:hover {
    text-decoration: none;
    color: var(--primary-light) !important;
    padding-left: 1.5rem;
}

/* Footer bottom links */
footer .text-center a {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
}

footer .text-center a:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    footer {
        padding: 3rem 0 1.5rem;
    }
    
    footer h5 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    footer .row {
        gap: 2rem;
    }
    
    footer .col-md-4 {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    footer .col-md-4:last-child {
        border-bottom: none;
        padding-bottom: 0;
        margin-bottom: 0;
    }
}

/* Dark mode adjustments */
@media (prefers-color-scheme: dark) {
    footer {
        background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    }
    
    footer a:hover {
        background: rgba(255, 255, 255, 0.05);
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    footer {
        background: #000000;
        border-top: 3px solid var(--primary);
    }
    
    footer a {
        color: #ffffff;
    }
    
    footer a:hover {
        background: #ffffff;
        color: #000000 !important;
    }
}

/* Print styles */
@media print {
    footer {
        background: #ffffff !important;
        color: #000000 !important;
        border-top: 2px solid #000000;
    }
    
    footer a {
        color: #000000 !important;
    }
    
    footer h5 {
        color: #000000 !important;
        border-color: #000000 !important;
    }
}
