/* ============================================
   Axtechnology.io - Custom Styles
   Modern, Professional Design
   ============================================ */

:root {
    --primary-blue: #0066ff;
    --primary-blue-dark: #0052cc;
    --primary-blue-light: #3385ff;
    --dark-bg: #0a0e27;
    --darker-bg: #050714;
    --text-light: #e0e6ed;
    --text-muted: #94a3b8;
    --border-color: #1e293b;
    --accent-green: #00d084;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #1e293b;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body.loading {
    overflow: hidden;
}

#site-loader {
    position: fixed;
    inset: 0;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 600ms ease;
}

#site-loader.fade {
    opacity: 0;
    pointer-events: none;
}

#site-loader .hex-plate {
    position: relative;
    width: 160px;
    height: 140px;
    filter: drop-shadow(0 0 20px rgba(0, 102, 255, 0.35)) drop-shadow(0 0 36px rgba(0, 208, 132, 0.2));
}

#site-loader #hex-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

#site-loader .hex {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80px;
    height: 46.19px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-green) 100%);
    transform: translate(-50%, -50%) rotate(0deg);
    animation: hexPulse 1.8s ease-in-out infinite;
}

#site-loader .hex:before,
#site-loader .hex:after {
    content: "";
    position: absolute;
    width: 0;
    border-left: 40px solid transparent;
    border-right: 40px solid transparent;
}

#site-loader .hex:before {
    bottom: 100%;
    border-bottom: 23.09px solid currentColor;
}

#site-loader .hex:after {
    top: 100%;
    border-top: 23.09px solid currentColor;
}

#site-loader .h1 {
    color: var(--primary-blue);
    transform: translate(-50%, -50%) scale(1);
    animation-delay: 0s;
}

#site-loader .h2 {
    color: var(--accent-green);
    transform: translate(-50%, -50%) scale(0.85) rotate(15deg);
    animation-delay: 0.2s;
}

#site-loader .h3 {
    color: #0ea5e9;
    transform: translate(-50%, -50%) scale(0.7) rotate(-15deg);
    animation-delay: 0.4s;
}

#site-loader .h4 {
    color: var(--primary-blue-light);
    transform: translate(-50%, -50%) scale(0.6) rotate(25deg);
    animation-delay: 0.6s;
}

#site-loader .h5 {
    color: var(--accent-green);
    transform: translate(-50%, -50%) scale(0.5) rotate(-25deg);
    animation-delay: 0.8s;
}

#site-loader .h6 {
    color: #22d3ee; /* cyan accent */
    transform: translate(-50%, -50%) scale(0.4) rotate(35deg);
    animation-delay: 1s;
}

#site-loader .loader-glow {
    position: absolute;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0,102,255,0.35) 0%, rgba(0,208,132,0.18) 45%, rgba(0,0,0,0) 70%);
    filter: blur(8px);
    animation: glowPulse 2.2s ease-in-out infinite;
}

#site-loader .loader-sweep {
    position: absolute;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, rgba(0, 102, 255, 0.16), rgba(0, 208, 132, 0.14), rgba(14, 165, 233, 0.12), rgba(0, 102, 255, 0.16));
    filter: blur(10px);
    mix-blend-mode: screen;
    animation: sweepRotate 4.5s linear infinite;
}

#site-loader .loader-watermark {
    position: absolute;
    width: min(38vw, 380px);
    opacity: 0.06;
    filter: drop-shadow(0 6px 12px rgba(0,0,0,0.6));
    transform: translateY(-6%);
    pointer-events: none;
}

/* Subtle hex outline */
#site-loader .hex {
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06), 0 0 24px rgba(0, 102, 255, 0.15);
}

@keyframes hexPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1) rotate(0deg); }
    33% { transform: translate(-50%, -50%) scale(0.95) rotate(6deg); }
    66% { transform: translate(-50%, -50%) scale(1.05) rotate(-6deg); }
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.7; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.08); }
}

@keyframes sweepRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Prevent text size adjustment on iOS */
@media screen and (max-width: 768px) {
    body {
        -webkit-text-size-adjust: 100%;
        text-size-adjust: 100%;
    }
}

/* Navigation */
.navbar {
    background: rgba(5, 7, 20, 0.98) !important;
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar.scrolled {
    padding: 0.75rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.navbar.scrolled .logo-primary {
    height: 70px;
    max-height: 70px;
    min-height: 60px;
}

.navbar-brand {
    font-size: 1.5rem;
    letter-spacing: -0.5px;
    transition: opacity 0.3s ease;
}

.navbar-brand:hover {
    opacity: 0.8;
}

.logo-primary {
    height: 110px;
    width: auto;
    max-height: 110px;
    min-height: 90px;
    object-fit: contain;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.logo-primary:hover {
    transform: scale(1.05);
}

.brand-text {
    color: #ffffff;
}

.brand-io {
    color: var(--primary-blue);
}

.navbar-nav .nav-link {
    color: var(--text-light) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-blue) !important;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-blue);
    transition: width 0.3s ease;
}

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

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--darker-bg) 0%, var(--dark-bg) 100%);
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 102, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 102, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%230066ff" fill-opacity="0.03"><circle cx="30" cy="30" r="2"/></g></svg>');
    opacity: 0.5;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-section .text-primary {
    color: var(--primary-blue) !important;
    text-shadow: 0 0 30px rgba(0, 102, 255, 0.5);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeInUp 0.8s ease-out;
}

.animate-fade-in-delay {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.animate-fade-in-delay-2 {
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.scroll-down {
    color: var(--text-light);
    font-size: 2rem;
    animation: bounce 2s infinite;
    text-decoration: none;
    transition: color 0.3s ease;
}

.scroll-down:hover {
    color: var(--primary-blue);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-blue);
    border-radius: 2px;
}

.bg-dark .section-title {
    color: #ffffff;
}

.bg-dark .section-title::after {
    left: 0;
    transform: none;
}

/* Service Cards */
.services-section {
    background: #ffffff;
}

.service-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 2.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 40px rgba(0, 102, 255, 0.15);
    border-color: var(--primary-blue);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-light));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 102, 255, 0.3);
}

.service-card h4 {
    color: #1e293b;
    font-weight: 600;
    margin-bottom: 1rem;
}

.service-features {
    list-style: none;
    padding: 0;
    margin-top: 1.5rem;
}

.service-features li {
    padding: 0.5rem 0;
    color: #475569;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-features i {
    font-size: 1.2rem;
}

/* About Section */
.about-section {
    background: #f8fafc;
}

.about-section img {
    transition: transform 0.3s ease;
}

.about-section img:hover {
    transform: scale(1.02);
}

.stat-box {
    text-align: center;
    padding: 1.5rem;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #64748b;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Features Section */
.features-section {
    background: #ffffff;
}

.feature-item {
    padding: 2rem;
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 1.8rem;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 102, 255, 0.2);
}

.feature-item h5 {
    color: #1e293b;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Industries Section */
.industries-section {
    background: #f8fafc;
}

.industry-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 2.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.industry-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 40px rgba(0, 102, 255, 0.15);
    border-color: var(--primary-blue);
}

.industry-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-light));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 102, 255, 0.3);
}

.industry-card h4 {
    color: #1e293b;
    font-weight: 600;
    margin-bottom: 1rem;
}

.industry-features {
    list-style: none;
    padding: 0;
    margin-top: 1.5rem;
}

.industry-features li {
    padding: 0.5rem 0;
    color: #475569;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.industry-features i {
    font-size: 1.2rem;
}

/* Contact Section */
.contact-section {
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--darker-bg) 100%);
}

.contact-form .form-control {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 1rem;
}

.contact-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.contact-form .form-control:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--primary-blue);
    color: #ffffff;
    box-shadow: 0 0 0 0.2rem rgba(0, 102, 255, 0.25);
}

.contact-form .alert {
    border-radius: 8px;
}

.contact-form .alert-success {
    background: rgba(0, 200, 83, 0.2);
    border: 1px solid rgba(0, 200, 83, 0.5);
    color: #ffffff;
}

.contact-form .alert-danger {
    background: rgba(244, 67, 54, 0.2);
    border: 1px solid rgba(244, 67, 54, 0.5);
    color: #ffffff;
}

.contact-info a {
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: var(--primary-blue) !important;
}

/* Buttons */
.btn-primary {
    background: var(--primary-blue);
    border: none;
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 102, 255, 0.3);
}

.btn-primary:hover {
    background: var(--primary-blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 102, 255, 0.4);
}

.btn-primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: #ffffff;
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: #000000 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    height: 65px;
    width: auto;
    max-height: 65px;
    min-height: 50px;
    object-fit: contain;
    opacity: 0.95;
    transition: opacity 0.3s ease, transform 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.footer-logo:hover {
    opacity: 1;
    transform: scale(1.05);
}

.footer a {
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--primary-blue) !important;
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Mobile Optimizations */
@media (max-width: 991.98px) {
    .navbar {
        padding: 0.75rem 0;
    }
    
    .navbar-collapse {
        background: rgba(5, 7, 20, 0.98);
        margin-top: 1rem;
        padding: 1rem;
        border-radius: 8px;
        border: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .navbar-nav .nav-link {
        padding: 0.75rem 1rem !important;
        margin: 0.25rem 0;
    }
}

/* Tablet and Below */
@media (max-width: 768px) {
    body {
        font-size: 0.95rem;
    }
    
    .hero-section {
        min-height: 90vh;
        padding-top: 80px;
    }
    
    .hero-section h1 {
        font-size: 2rem;
        line-height: 1.2;
        margin-bottom: 1.5rem;
    }
    
    .hero-section .lead {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .services-section,
    .about-section,
    .industries-section,
    .features-section,
    .contact-section {
        padding: 3rem 0 !important;
    }
    
    .industry-card {
        margin-bottom: 2rem;
        padding: 2rem;
    }
    
    .service-card {
        margin-bottom: 2rem;
        padding: 2rem;
    }
    
    .stat-box {
        margin-bottom: 1rem;
        padding: 1.25rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .logo-primary {
        height: 96px;
        max-height: 96px;
        min-height: 80px;
    }
    
    .footer-logo {
        height: 55px;
        max-height: 55px;
        min-height: 45px;
        margin-bottom: 1rem;
    }
    
    .btn-lg {
        padding: 0.75rem 2rem;
        font-size: 1rem;
        width: 100%;
        max-width: 300px;
    }
    
    .contact-form .form-control {
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .service-icon,
    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

/* Mobile Phones */
@media (max-width: 576px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .hero-section {
        min-height: 85vh;
        padding-top: 70px;
    }
    
    .hero-section h1 {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }
    
    .hero-section .lead {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .services-section,
    .about-section,
    .industries-section,
    .features-section,
    .contact-section {
        padding: 2.5rem 0 !important;
    }
    
    .industry-card {
        padding: 1.5rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .service-card h4 {
        font-size: 1.25rem;
    }
    
    .logo-primary {
        height: 84px;
        max-height: 84px;
        min-height: 70px;
    }
    
    .footer-logo {
        height: 50px;
        max-height: 50px;
        min-height: 40px;
    }
    
    .btn-lg {
        padding: 0.7rem 1.75rem;
        font-size: 0.95rem;
        width: 100%;
    }
    
    .d-flex.gap-3 {
        flex-direction: column;
        align-items: center;
    }
    
    .d-flex.gap-3 .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .about-section img {
        margin-bottom: 2rem;
    }
    
    .footer .row > div {
        margin-bottom: 1rem;
    }
    
    .footer p {
        font-size: 0.9rem;
    }
}

/* Very Small Mobile Devices */
@media (max-width: 375px) {
    .hero-section h1 {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .logo-primary {
        height: 76px;
        max-height: 76px;
    }
    
    .footer-logo {
        height: 45px;
        max-height: 45px;
    }
}

/* Hide location on mobile devices */
@media (max-width: 991.98px) {
    .location-text {
        display: none !important;
    }
}

/* Show location on desktop */
@media (min-width: 992px) {
    .location-text {
        display: inline;
    }
}

/* Skip to Main Content (ADA Compliance) */
.skip-to-main {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--primary-blue);
    color: #ffffff;
    padding: 1rem 2rem;
    text-decoration: none;
    font-weight: 600;
    z-index: 10000;
    border-radius: 0 0 8px 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.skip-to-main:focus {
    top: 0;
    outline: 3px solid #ffffff;
    outline-offset: 2px;
}

/* Cookie Consent Banner */
.cookie-consent {
    position: fixed;
    bottom: 20px;
    right: 20px;
    max-width: 400px;
    background: linear-gradient(135deg, #ffffff 0%, #f0f4ff 100%);
    border: 2px solid var(--primary-blue);
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 102, 255, 0.3);
    z-index: 10000;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.cookie-consent-content {
    padding: 1.5rem;
    position: relative;
}

.cookie-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: transparent;
    border: none;
    color: #1e293b;
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    transition: background 0.2s ease, color 0.2s ease;
    line-height: 1;
}

.cookie-close:hover,
.cookie-close:focus {
    background: rgba(0, 102, 255, 0.1);
    color: var(--primary-blue);
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
}

.cookie-consent-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding-right: 2rem;
}

.cookie-consent-header i {
    font-size: 1.5rem;
    color: var(--primary-blue);
}

.cookie-consent-header h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
}

.cookie-consent-text {
    color: #475569;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.cookie-consent-buttons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.btn-cookie-reject,
.btn-cookie-accept {
    flex: 1;
    min-width: 100px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.btn-cookie-reject {
    background: #e2e8f0;
    color: #475569;
}

.btn-cookie-reject:hover,
.btn-cookie-reject:focus {
    background: #cbd5e1;
    color: #1e293b;
    outline: 2px solid #475569;
    outline-offset: 2px;
}

.btn-cookie-accept {
    background: var(--primary-blue);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 102, 255, 0.3);
}

.btn-cookie-accept:hover,
.btn-cookie-accept:focus {
    background: var(--primary-blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 102, 255, 0.4);
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}

/* Keyboard Focus Styles (ADA Compliance) */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 3px solid var(--primary-blue);
    outline-offset: 3px;
}

/* Remove outline for mouse users, keep for keyboard */
.js-focus-visible a:focus:not(.focus-visible),
.js-focus-visible button:focus:not(.focus-visible),
.js-focus-visible input:focus:not(.focus-visible),
.js-focus-visible textarea:focus:not(.focus-visible) {
    outline: none;
}

/* Ensure sufficient color contrast */
.nav-link,
.btn-outline-light {
    color: var(--text-light);
}

/* Mobile Cookie Consent */
@media (max-width: 576px) {
    .cookie-consent {
        bottom: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }
    
    .cookie-consent-buttons {
        flex-direction: column;
    }
    
    .btn-cookie-reject,
    .btn-cookie-accept {
        width: 100%;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .btn,
    .nav-link,
    .navbar-brand {
        -webkit-tap-highlight-color: rgba(0, 102, 255, 0.2);
    }
    
    .btn-lg {
        min-height: 48px; /* Minimum touch target size */
    }
    
    .nav-link {
        min-height: 44px;
        display: flex;
        align-items: center;
    }
}

/* Landscape Mobile */
@media (max-width: 896px) and (orientation: landscape) {
    .hero-section {
        min-height: 100vh;
        padding-top: 60px;
    }
    
    .hero-section h1 {
        font-size: 1.75rem;
    }
}

/* Utility Classes */
.text-primary {
    color: var(--primary-blue) !important;
}

.bg-primary {
    background-color: var(--primary-blue) !important;
}

