@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap");

/* CSS Variables - Professional Blue Theme */
:root {
    /* Primary Colors */
    --color-primary: #0f172a;
    --color-primary-light: #1e293b;
    --color-secondary: #334155;
    --color-accent: #06b6d4;
    --color-accent-hover: #0891b2;
    
    /* Gray Scale */
    --color-gray-100: #94a3b8;
    --color-gray-200: #64748b;
    --color-gray-300: #475569;
    --color-gray-400: #334155;
    --color-gray-500: #1e293b;
    --color-gray-700: #334155;
    --color-gray-900: #0f172a;
    
    /* Text Colors */
    --color-text-primary: #f8fafc;
    --color-text-secondary: #94a3b8;
    --color-white: #f8fafc;
    
    /* Border and UI Colors */
    --color-border: #334155;
    --color-success: #10b981;
    --color-warning: #f59e0b;
    --color-error: #ef4444;
    
    /* Background Colors */
    --color-bg: var(--color-primary);
    --color-bg-secondary: var(--color-secondary);
    --color-bg-card: rgba(30, 41, 59, 0.5);
    --color-bg-modal: #ffffff;
    
    /* Gradient Colors */
    --color-gradient-start: #0f172a;
    --color-gradient-end: #1e293b;
    
    /* Navigation Colors */
    --nav-bg: rgba(15, 23, 42, 0.95);
    --nav-bg-scrolled: rgba(15, 23, 42, 0.98);
    --dropdown-bg: var(--color-secondary);
    --dropdown-border: var(--color-border);
    --dropdown-link: var(--color-text-secondary);
    --dropdown-hover-bg: rgba(6, 182, 212, 0.1);
    --dropdown-hover-text: var(--color-text-primary);
    
    /* Operational Board Colors */
    --operational-bg: var(--color-gray-300);
    --operational-card-bg: var(--color-gray-900);
    --operational-border: var(--color-gray-700);
    --operational-text: var(--color-white);
    --operational-accent: var(--color-accent);
    
    /* Operational Board Specific Variables */
    --operational-color-bg: var(--color-primary);
    --operational-color-gray-900: var(--operational-card-bg);
    --operational-color-gray-700: var(--operational-border);
    --operational-color-gray-500: var(--color-gray-500);
    --operational-color-gray-400: var(--color-gray-400);
    --operational-color-gray-300: var(--operational-bg);
    --operational-color-gray-200: var(--color-gray-200);
    --operational-color-gray-100: var(--color-gray-100);
    --operational-color-white: var(--operational-text);
    --operational-color-primary: var(--operational-accent);
    --operational-color-primary-light: var(--color-accent-hover);
    --operational-color-primary-variant: var(--color-accent-hover);
    --operational-transition: 0.3s ease;
    --operational-card-border-radius-1: 0.5rem;
    --operational-card-border-radius-2: 0.75rem;
    --operational-card-border-radius-3: 1rem;
    
    /* Modal Colors */
    --modal-bg: #ffffff;
    --modal-text: #1f2937;
    --modal-text-secondary: #374151;
    --modal-accent: #06b6d4;
    --modal-border: #e5e7eb;
    
    /* Button Colors */
    --btn-primary-bg: var(--color-accent);
    --btn-primary-hover: var(--color-accent-hover);
    --btn-secondary-bg: transparent;
    --btn-secondary-border: var(--color-border);
    
    /* Form Colors */
    --form-bg: var(--color-secondary);
    --form-border: var(--color-border);
    --form-focus: var(--color-accent);
    
    /* Card Colors */
    --card-bg: rgba(30, 41, 59, 0.5);
    --card-border: var(--color-border);
    --card-hover-border: var(--color-accent);
    
    /* Footer Colors */
    --footer-bg: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    --footer-text: #ffffff;
    --footer-text-secondary: #94A3B8;
    --footer-accent: #60A5FA;
    --footer-border: rgba(148, 163, 184, 0.1);
    
    /* Grid Colors for Light/Dark Modes */
    --grid-bg-primary: var(--color-primary);
    --grid-bg-secondary: var(--color-secondary);
    --grid-line-color: 148, 163, 184; /* RGB values for rgba usage */
    
    /* Unified Header Height */
    --header-height: 120px;
}

/* Shadow variables */
:root {
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
}

/*
 * When the user has scrolled down the page, JavaScript adds the
 * `.header-scrolled` class to the header. Instead of hard‑coding
 * background colours in JavaScript, we use a CSS custom property
 * (`--nav-bg-scrolled`) to determine the scrolled state colour.
 */
.header-scrolled {
    background-color: var(--nav-bg-scrolled);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', 'Liberation Sans', sans-serif;
    background: linear-gradient(135deg, var(--color-gradient-start) 0%, var(--color-gradient-end) 100%);
    color: var(--color-text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Account for fixed header */
main {
    padding-top: px; /* Adjust based on header height */
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 4vw, 1.5rem);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }
h5 { font-size: clamp(1.125rem, 2vw, 1.25rem); }
h6 { font-size: clamp(1rem, 1.5vw, 1rem); }

p {
    margin-bottom: 1rem;
    color: var(--color-text-secondary);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: clamp(0.5rem, 2vw, 0.75rem) clamp(1rem, 3vw, 1.5rem);
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: clamp(0.875rem, 2vw, 1rem);
}

.btn-primary {
    background-color: var(--color-accent);
    color: white;
}

.btn-primary:hover {
    background-color: var(--color-accent-hover);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-text-primary);
    border: 2px solid var(--color-border);
}

.btn-secondary:hover {
    background-color: var(--color-secondary);
    border-color: var(--color-accent);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
    border-radius: 2rem;
}

/* Header */
#header-placeholder {
    /* Reserve space for the fixed header to prevent layout shift during load */
    display: block;
    min-height: var(--header-height);
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: var(--nav-bg);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
    min-height: var(--header-height);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: var(--header-height);
    padding: 0;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo img {
    max-height: 80px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    margin-left: auto;
}

/* Dropdown styles adapted from the responsive template */
.nav-item {
    position: relative;
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--dropdown-bg);
    border: 1px solid var(--dropdown-border);

    /* Constrain the minimum width so long labels don't wrap awkwardly.  A
       narrower minimum width also prevents the dropdown from floating too
       far out on smaller screens. */
    min-width: 200px;

    /* Soft shadow and rounded corners help distinguish the menu from the
       underlying content while keeping it subtle. */
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    border-radius: 8px;

    /* Initially hide the dropdown using opacity/visibility so we can fade it
       in smoothly on hover or focus. */
    padding: 1rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;

    /* Remove the extra margin that previously introduced a dead zone
       between the navigation item and its dropdown.  This ensures the
       pointer can move directly from the parent link into the dropdown
       without causing it to disappear. */
    margin-top: 0;
}

.nav-item:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Allow keyboard users to open dropdowns by tabbing into the parent list
   item.  When the <li> or one of its child elements has focus the
   dropdown will also remain visible. */
.nav-item:focus-within .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown li {
    list-style: none;
    margin: 0;
}

.dropdown a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--dropdown-link);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0.2px;
    transition: all 0.3s ease;
    border: none;
    line-height: 1.3;
    white-space: nowrap;
}

.dropdown a:hover, .dropdown a:focus { 
    background: var(--dropdown-hover-bg); 
    color: var(--dropdown-hover-text); 
}

.nav-link {
    color: var(--color-text-secondary);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-text-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--color-text-primary);
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-menu-btn svg {
    width: 24px;
    height: 24px;
    max-width: 24px;
    max-height: 24px;
}

/* ===============================
   ENHANCED FOOTER STYLES
=============================== */

/* ================= Updated Footer Styles ================= */
.footer {
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    color: #ffffff;
    padding: 4rem 0 0;
    border-top: 1px solid rgba(148, 163, 184, 0.1);
    position: relative;
    overflow: visible;
    width: 100%;
}

/* Neural Network Background */
.footer-neural-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
    opacity: 0.3;
    pointer-events: none;
}



.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #60A5FA 50%, transparent 100%);
    animation: shimmer 3s ease-in-out infinite;
}

/* Add shimmer animation */
@keyframes shimmer {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 1;
    }
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 10;
    animation: fadeInUp 0.8s ease-out;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 clamp(1rem, 4vw, 1.5rem);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer-section {
    display: flex;
    flex-direction: column;
    position: relative;
}

.footer-logo-section .footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.footer-logo-section .footer-logo:hover {
    transform: scale(1.02);
}

.footer-logo img {
    height: 50px;
    width: auto;
    transition: filter 0.3s ease;
    filter: drop-shadow(0 0 10px rgba(96, 165, 250, 0.3));
}

.footer-logo img:hover {
    filter: drop-shadow(0 0 15px rgba(96, 165, 250, 0.5));
}

.footer-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    background: linear-gradient(135deg, #ffffff, #60A5FA);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px rgba(96, 165, 250, 0.5);
}

.footer-tagline {
    color: #94A3B8;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 300px;
    position: relative;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.footer-tagline:hover {
    opacity: 1;
}

.footer-heading {
    color: #ffffff;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, #60A5FA, #3B82F6);
    border-radius: 1px;
    transition: width 0.3s ease;
}

.footer-section:hover .footer-heading::after {
    width: 50px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
    transition: all 0.3s ease;
}

.footer-links li:hover {
    padding-left: 5px;
}

.footer-links a {
    color: #94A3B8;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    padding: 0.25rem 0;
    border-radius: 4px;
}

.footer-links a::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 2px;
    background: #60A5FA;
    transition: width 0.3s ease;
}

.footer-links a:hover {
    color: #60A5FA;
    transform: translateX(8px);
    background: rgba(96, 165, 250, 0.05);
    padding-left: 8px;
    border-radius: 6px;
}

.footer-links a:hover::before {
    width: 4px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #94A3B8;
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.contact-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(96, 165, 250, 0.1), transparent);
    transition: left 0.5s ease;
}

.contact-item:hover::before {
    left: 100%;
}

.contact-item:hover {
    color: #60A5FA;
    background: rgba(96, 165, 250, 0.05);
    transform: translateX(5px);
}

.contact-item svg {
    color: #60A5FA;
    flex-shrink: 0;
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 8px rgba(96, 165, 250, 0.4));
}

.contact-item:hover svg {
    transform: scale(1.1);
    filter: drop-shadow(0 0 12px rgba(96, 165, 250, 0.6));
}

.contact-item a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
    z-index: 1;
}

.contact-item a:hover {
    color: #60A5FA;
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 0;
    flex-wrap: wrap;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(148, 163, 184, 0.1);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 12px;
    color: #94A3B8;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.social-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(96, 165, 250, 0.3), transparent);
    transition: left 0.5s ease;
}

.social-icon:hover::before {
    left: 100%;
}

.social-icon::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(96, 165, 250, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-icon:hover::after {
    opacity: 1;
}

.social-icon:hover {
    background: rgba(96, 165, 250, 0.15);
    border-color: #60A5FA;
    color: #60A5FA;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(96, 165, 250, 0.3);
    animation: socialPulse 0.6s ease-in-out;
}

@keyframes socialPulse {
    0%, 100% {
        transform: translateY(-5px) scale(1.05);
    }
    50% {
        transform: translateY(-8px) scale(1.1);
    }
}

.social-icon svg {
    width: 20px;
    height: 20px;
    z-index: 3;
    position: relative;
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 6px rgba(96, 165, 250, 0.4));
}

.social-icon:hover svg {
    transform: scale(1.1);
    filter: drop-shadow(0 0 10px rgba(96, 165, 250, 0.6));
}

.footer-bottom {
    border-top: 1px solid rgba(148, 163, 184, 0.1);
    background: rgba(15, 23, 42, 0.7);
    padding: 2rem 0;
    margin-top: 0;
    backdrop-filter: blur(15px);
    position: relative;
}

.footer-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(45deg, transparent 30%, rgba(96, 165, 250, 0.02) 50%, transparent 70%);
    pointer-events: none;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    position: relative;
    z-index: 10;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 clamp(1rem, 4vw, 1.5rem);
}

.footer-bottom p {
    color: #64748B;
    font-size: 0.9rem;
    margin: 0;
    transition: color 0.3s ease;
}

.footer-bottom p:hover {
    color: #94A3B8;
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-bottom-links a {
    color: #64748B;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

.footer-bottom-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1px;
    background: #60A5FA;
    transition: width 0.3s ease;
}

.footer-bottom-links a:hover {
    color: #60A5FA;
    background: rgba(96, 165, 250, 0.05);
}

.footer-bottom-links a:hover::after {
    width: 100%;
}

/* Footer Responsive Design */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
    
    .footer-logo-section {
        grid-column: 1 / -1;
    }
    

}

@media (max-width: 768px) {
    .footer {
        padding: 3rem 0 0;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-logo-section .footer-logo {
        justify-content: center;
        text-align: center;
    }
    
    .footer-tagline {
        text-align: center;
        max-width: none;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-bottom-links {
        justify-content: center;
    }
    

}

@media (max-width: 480px) {
    .footer {
        padding: 2rem 0 0;
    }
    
    .footer-content {
        gap: 1.5rem;
    }
    
    .footer-bottom-links {
        flex-direction: column;
        gap: 1rem;
    }
    
    .social-icons {
        flex-wrap: wrap;
        gap: 0.75rem;
    }
    
    .social-icon {
        width: 40px;
        height: 40px;
    }
    

}

/* Responsive Design for Header and Footer */
@media (max-width: 1024px) {
    .nav {
        padding: 1.5rem 0;
    }
    
    /* Footer Responsive - Tablet */
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
    
    .footer-brand {
        max-width: none;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--nav-bg-scrolled);
        padding: 1rem 0;
        box-shadow: var(--shadow-lg);
        z-index: 999;
        flex-direction: column;
        gap: 0;
        border-top: 1px solid var(--color-border);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-item {
        width: 100%;
    }
    
    .nav-link {
        display: block;
        padding: 1rem 1.5rem;
        border-bottom: 1px solid var(--color-border);
        text-align: left;
    }
    
    .nav-item .btn {
        margin: 0 1.5rem;
        margin-bottom: 1rem;
        text-align: center;
        display: block;
    }
    
    .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: var(--color-primary-light);
        box-shadow: none;
        border: none;
        border-radius: 0;
        padding: 0;
        margin: 0;
        display: none;
    }
    
    .nav-item:hover .dropdown {
        display: block;
    }
    
    .dropdown a {
        padding: 0.75rem 2.5rem;
        border-bottom: 1px solid var(--color-border);
        font-size: 0.875rem;
    }
    
    /* Footer Responsive - Mobile */
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        margin-bottom: 2rem;
    }
    
    .footer-logo-section {
        text-align: center;
        max-width: none;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .footer-heading::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .footer-bottom-links {
        justify-content: center;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .nav {
        padding: 1rem 0;
    }
    
    .logo img {
        max-height: 60px;
    }
    
    /* Footer Mobile Optimization */
    .footer-hero {
        padding: 2rem 0 1.5rem;
    }
    
    .footer-logo-img {
        height: 50px;
    }
    
    .footer-brand-title {
        font-size: 1.5rem;
    }
    
    .footer-brand-subtitle {
        font-size: 0.8rem;
    }
    
    .footer-mission {
        font-size: 0.95rem;
    }
    
    .footer-cta-section {
        padding: 1.25rem;
    }
    
    .footer-cta-title {
        font-size: 1.25rem;
    }
    
    .input-group-modern {
        flex-direction: column;
        border-radius: 8px;
    }
    
    .email-input-modern {
        border-radius: 8px 8px 0 0;
    }
    
    .submit-btn-modern {
        border-radius: 0 0 8px 8px;
        justify-content: center;
    }
    
    .newsletter-features {
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
    }
    
    .footer-navigation {
        padding: 1.5rem 0;
    }
    
    .nav-column {
        padding: 1rem;
    }
    
    .nav-title {
        font-size: 1.1rem;
    }
    
    .social-grid-new {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
    
    .social-btn {
        padding: 0.5rem;
        gap: 0.5rem;
    }
    
    .contact-item-new {
        padding: 0.5rem;
        gap: 0.75rem;
    }
    
    .contact-icon {
        width: 28px;
        height: 28px;
    }
    
    .contact-icon svg {
        width: 14px;
        height: 14px;
    }
    
    .footer-bottom-new {
        padding: 1.5rem 0;
    }
    
    .copyright-section {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .legal-badges {
        justify-content: center;
    }
    
    .legal-links {
        flex-direction: column;
        gap: 0.75rem;
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; }
.mb-6 { margin-bottom: 1.5rem; }

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-5 { margin-top: 1.25rem; }
.mt-6 { margin-top: 1.5rem; }

.hidden { display: none; }
.block { display: block; }
.inline-block { display: inline-block; }
.flex { display: flex; }
.inline-flex { display: inline-flex; }

.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }

.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-5 { gap: 1.25rem; }
.gap-6 { gap: 1.5rem; }

/* Grid System */
.grid {
    display: grid;
    gap: clamp(1rem, 4vw, 2rem);
}

.grid-cols-1 { grid-template-columns: 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); }

/* Responsive Grid System */
@media (max-width: 1024px) {
    .grid-cols-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .grid-cols-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .grid-cols-4,
    .grid-cols-3,
    .grid-cols-2 {
        grid-template-columns: 1fr;
    }
}

/* SVG and Image Size Control */
svg {
    max-width: 100%;
    height: auto;
    display: block;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Ensure all SVGs have reasonable default sizes */
svg:not([width]):not([height]) {
    width: 24px;
    height: 24px;
    max-width: 24px;
    max-height: 24px;
}

/* Override for specific contexts where SVGs should be larger */
.hero svg,
.section svg {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
}

/* Ensure inline SVG icons stay small */
a svg,
button svg {
    width: 16px;
    height: 16px;
    max-width: 16px;
    max-height: 16px;
}
