/* Nochta Corporate Website - Porto Inspired Modern Theme */

/* Google Font: Inter - loaded via HTML link for better performance */

/* Email Protection - CSS Reverse Text */
.email-protected {
    unicode-bidi: bidi-override;
    direction: rtl;
    cursor: pointer;
}

.email-protected:hover {
    text-decoration: underline;
}

:root {
    /* Primary Colors - Professional Blue */
    --nochta-primary: #2b6cb0;
    --nochta-primary-dark: #1e4e8c;
    --nochta-primary-light: #4299e1;
    
    /* Secondary Colors */
    --nochta-secondary: #0f172a;
    --nochta-accent: #10b981;
    
    /* Neutrals */
    --nochta-dark: #1e293b;
    --nochta-gray-900: #0f172a;
    --nochta-gray-800: #1e293b;
    --nochta-gray-700: #334155;
    --nochta-gray-600: #475569;
    --nochta-gray-500: #64748b;
    --nochta-gray-400: #94a3b8;
    --nochta-gray-300: #cbd5e1;
    --nochta-gray-200: #e2e8f0;
    --nochta-gray-100: #f1f5f9;
    --nochta-gray-50: #f8fafc;
    --nochta-white: #ffffff;
    
    /* Functional Colors */
    --nochta-success: #10b981;
    --nochta-info: #3b82f6;
    --nochta-warning: #f59e0b;
    --nochta-danger: #ef4444;
    
    /* Typography */
    --font-heading: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    --font-body: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    
    /* Shadows */
    --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);
    
    /* Border Radius */
    --radius-sm: 0.25rem;
    --radius: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition: 300ms ease;
    --transition-slow: 500ms ease;
}

/* Base Styles */
html {
    font-size: 15px;
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body {
    font-family: var(--font-body);
    line-height: 1.7;
    color: var(--nochta-gray-700);
    background-color: var(--nochta-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--nochta-gray-900);
    line-height: 1.3;
}

h1 { font-size: 2.75rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1.125rem; }

.lead {
    font-size: 1.15rem;
    font-weight: 400;
    color: var(--nochta-gray-600);
}

/* Selection Color */
::selection {
    background-color: var(--nochta-primary);
    color: white;
}

/* Alpine.js transition utilities */
[x-cloak] {
    display: none !important;
}

/* ===========================================
   TOP BAR
   =========================================== */
.top-bar {
    background: var(--nochta-gray-900);
    color: var(--nochta-gray-300);
    padding: 0.625rem 0;
    font-size: 0.85rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.top-bar a {
    color: var(--nochta-gray-300);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.top-bar a:hover {
    color: var(--nochta-white);
}

.top-bar-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.top-bar-item i {
    color: var(--nochta-primary-light);
}

/* ===========================================
   NAVIGATION
   =========================================== */
.navbar {
    background: var(--nochta-white);
    padding: 1rem 0;
    transition: all var(--transition);
    border-bottom: 1px solid var(--nochta-gray-100);
}

.navbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: var(--shadow-md);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--nochta-primary) !important;
}

.navbar .nav-link {
    position: relative;
    padding: 0.75rem 1.25rem !important;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--nochta-gray-700) !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color var(--transition-fast);
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: var(--nochta-primary) !important;
}

.navbar .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: 0;
    left: 50%;
    background: linear-gradient(90deg, var(--nochta-primary), var(--nochta-primary-light));
    transition: all var(--transition);
    transform: translateX(-50%);
    border-radius: 3px 3px 0 0;
}

.navbar .nav-link:hover::after,
.navbar .nav-link.active::after {
    width: 60%;
}

/* Language Button */
.btn-language {
    background: var(--nochta-primary);
    color: var(--nochta-white) !important;
    border: none;
    padding: 0.5rem 1.25rem;
    font-weight: 600;
    border-radius: var(--radius);
    transition: all var(--transition-fast);
}

.btn-language:hover {
    background: var(--nochta-primary-dark);
    transform: translateY(-2px);
}

/* ===========================================
   HERO SECTION
   =========================================== */
.hero {
    position: relative;
    background: linear-gradient(135deg, var(--nochta-gray-900) 0%, var(--nochta-primary-dark) 100%);
    color: var(--nochta-white);
    padding: 6rem 0;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.25rem;
    font-weight: 800;
    color: var(--nochta-white);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero .lead {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--nochta-white);
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}

.hero-badge i {
    color: var(--nochta-accent);
    margin-right: 0.5rem;
}

/* Hero Illustration */
.hero-illustration {
    position: relative;
    min-height: 350px;
}

.hero-illustration .floating-card {
    position: absolute;
    background: var(--nochta-white);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    box-shadow: var(--shadow-xl);
    animation: float 6s ease-in-out infinite;
}

.hero-illustration .floating-card.card-1 {
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.hero-illustration .floating-card.card-2 {
    bottom: 20%;
    left: 5%;
    animation-delay: 2s;
}

.hero-illustration .floating-card.card-3 {
    top: 50%;
    right: 5%;
    animation-delay: 4s;
}

.floating-card-icon {
    width: 45px;
    height: 45px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
}

.floating-card-icon.icon-blue {
    background: rgba(43, 108, 176, 0.1);
    color: var(--nochta-primary);
}

.floating-card-icon.icon-green {
    background: rgba(16, 185, 129, 0.1);
    color: var(--nochta-success);
}

.floating-card-icon.icon-orange {
    background: rgba(245, 158, 11, 0.1);
    color: var(--nochta-warning);
}

.floating-card h6 {
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.floating-card p {
    font-size: 0.75rem;
    color: var(--nochta-gray-500);
    margin: 0;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stat {
    text-align: center;
}

.hero-stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--nochta-white);
    line-height: 1;
}

.hero-stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0.5rem;
}

/* ===========================================
   BUTTONS
   =========================================== */
.btn {
    font-family: var(--font-body);
    font-weight: 600;
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius);
    transition: all var(--transition-fast);
    border: 2px solid transparent;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.875rem;
}

.btn-primary {
    background: var(--nochta-primary);
    border-color: var(--nochta-primary);
    color: var(--nochta-white);
}

.btn-primary:hover {
    background: var(--nochta-primary-dark);
    border-color: var(--nochta-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(43, 108, 176, 0.4);
}

.btn-outline-primary {
    background: transparent;
    border-color: var(--nochta-primary);
    color: var(--nochta-primary);
}

.btn-outline-primary:hover {
    background: var(--nochta-primary);
    color: var(--nochta-white);
    transform: translateY(-2px);
}

.btn-light {
    background: var(--nochta-white);
    border-color: var(--nochta-white);
    color: var(--nochta-primary);
}

.btn-light:hover {
    background: var(--nochta-gray-100);
    border-color: var(--nochta-gray-100);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-outline-light {
    background: transparent;
    border-color: rgba(255,255,255,0.5);
    color: var(--nochta-white);
}

.btn-outline-light:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--nochta-white);
    color: var(--nochta-white);
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 0.95rem;
}

.btn-icon {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* Focus States */
.btn:focus, 
.btn:active:focus, 
.btn-link.nav-link:focus, 
.form-control:focus, 
.form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem var(--nochta-primary);
}

/* ===========================================
   SECTIONS
   =========================================== */
.section {
    padding: 5rem 0;
}

.section-sm {
    padding: 3rem 0;
}

.section-lg {
    padding: 7rem 0;
}

.section-gray {
    background: var(--nochta-gray-50);
}

.section-dark {
    background: var(--nochta-gray-900);
    color: var(--nochta-white);
}

.section-title {
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
}

.section-title.text-center h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--nochta-primary), var(--nochta-primary-light));
    margin: 1rem auto 0;
    border-radius: 2px;
}

.section-title p {
    font-size: 1.125rem;
    color: var(--nochta-gray-600);
    max-width: 600px;
}

.section-title.text-center p {
    margin: 0 auto;
}

/* ===========================================
   FEATURE CARDS
   =========================================== */
.feature-card {
    background: var(--nochta-white);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    height: 100%;
    position: relative;
    transition: all var(--transition);
    border: 1px solid var(--nochta-gray-100);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.feature-card-icon {
    width: 70px;
    height: 70px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    transition: all var(--transition);
}

.feature-card-icon.icon-primary {
    background: rgba(43, 108, 176, 0.1);
    color: var(--nochta-primary);
}

.feature-card-icon.icon-success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--nochta-success);
}

.feature-card-icon.icon-info {
    background: rgba(59, 130, 246, 0.1);
    color: var(--nochta-info);
}

.feature-card-icon.icon-warning {
    background: rgba(245, 158, 11, 0.1);
    color: var(--nochta-warning);
}

.feature-card:hover .feature-card-icon {
    transform: scale(1.1);
}

.feature-card h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--nochta-gray-900);
}

.feature-card p {
    color: var(--nochta-gray-600);
    margin-bottom: 0;
    line-height: 1.8;
}

.feature-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    font-weight: 600;
    color: var(--nochta-primary);
    text-decoration: none;
    transition: gap var(--transition);
}

.feature-card-link:hover {
    gap: 0.75rem;
    color: var(--nochta-primary-dark);
}

/* ===========================================
   STATS SECTION
   =========================================== */
.stats-section {
    background: linear-gradient(135deg, var(--nochta-primary) 0%, var(--nochta-primary-dark) 100%);
    padding: 4rem 0;
}

.stat-item {
    text-align: center;
    color: var(--nochta-white);
    padding: 1.5rem;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.85;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===========================================
   ABOUT SECTION
   =========================================== */
.about-image {
    position: relative;
}

.about-image img {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: 20px;
    bottom: 20px;
    border: 3px solid var(--nochta-primary);
    border-radius: var(--radius-xl);
    z-index: -1;
}

.about-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 2rem;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
    color: var(--nochta-gray-700);
}

.about-feature i {
    width: 24px;
    height: 24px;
    background: var(--nochta-primary);
    color: var(--nochta-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
}

/* ===========================================
   CTA SECTION
   =========================================== */
.cta-section {
    background: var(--nochta-gray-900);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.cta-section h2 {
    color: var(--nochta-white);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    color: var(--nochta-gray-400);
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

/* ===========================================
   CONTACT FORM
   =========================================== */
.form-control {
    font-family: var(--font-body);
    padding: 0.875rem 1.25rem;
    border: 2px solid var(--nochta-gray-200);
    border-radius: var(--radius);
    font-size: 1rem;
    transition: all var(--transition-fast);
    background: var(--nochta-white);
}

.form-control:focus {
    border-color: var(--nochta-primary);
    box-shadow: 0 0 0 3px rgba(43, 108, 176, 0.1);
    outline: none;
}

.form-control::placeholder {
    color: var(--nochta-gray-400);
}

.form-label {
    font-weight: 600;
    color: var(--nochta-gray-700);
    margin-bottom: 0.5rem;
}

.form-control-lg {
    border-radius: var(--radius);
    padding: 0.875rem 1.25rem;
}

/* ===========================================
   CONTACT INFO
   =========================================== */
.contact-info-card {
    background: var(--nochta-gray-900);
    color: var(--nochta-white);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    height: 100%;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-info-item:last-child {
    margin-bottom: 0;
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-info-content h5 {
    color: var(--nochta-white);
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.contact-info-content p {
    color: var(--nochta-gray-400);
    margin-bottom: 0;
}

.contact-info-content a {
    color: var(--nochta-gray-300);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.contact-info-content a:hover {
    color: var(--nochta-white);
}

/* ===========================================
   FOOTER
   =========================================== */
footer.main-footer {
    background: var(--nochta-gray-900);
    color: var(--nochta-gray-400);
    padding-top: 4rem;
}

footer h6 {
    color: var(--nochta-white);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

footer a {
    color: var(--nochta-gray-400);
    text-decoration: none;
    transition: color var(--transition-fast);
}

footer a:hover {
    color: var(--nochta-white) !important;
}

footer .social-icons {
    display: flex;
    gap: 0.75rem;
}

footer .social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--nochta-white);
    transition: all var(--transition-fast);
}

footer .social-icon:hover {
    background: var(--nochta-primary);
    transform: translateY(-3px);
}

footer .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
    margin-top: 3rem;
}

/* ===========================================
   BRANDS SECTION
   =========================================== */
.brand-card {
    background: var(--nochta-white);
    border: 1px solid var(--nochta-gray-200);
    border-radius: var(--radius-xl);
    padding: 2rem;
    text-align: center;
    transition: all var(--transition);
    height: 100%;
}

.brand-card:hover {
    border-color: var(--nochta-primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.brand-logo {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.brand-logo img {
    max-height: 60px;
    max-width: 150px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all var(--transition);
}

.brand-card:hover .brand-logo img {
    filter: grayscale(0%);
    opacity: 1;
}

/* ===========================================
   PAGE HEADERS
   =========================================== */
.page-header {
    background: linear-gradient(135deg, var(--nochta-gray-900) 0%, var(--nochta-primary-dark) 100%);
    color: var(--nochta-white);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-header h1 {
    color: var(--nochta-white);
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.page-header .lead {
    color: rgba(255, 255, 255, 0.8);
    position: relative;
    z-index: 1;
}

.breadcrumb-nav {
    position: relative;
    z-index: 1;
}

.breadcrumb-nav ol {
    background: transparent;
    margin: 0;
    padding: 0;
}

.breadcrumb-nav .breadcrumb-item {
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumb-nav .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
}

.breadcrumb-nav .breadcrumb-item a:hover {
    color: var(--nochta-white);
}

.breadcrumb-nav .breadcrumb-item.active {
    color: var(--nochta-white);
}

.breadcrumb-nav .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
}

/* ===========================================
   SERVICE CARDS (Legacy Support)
   =========================================== */
.service-card {
    border: none;
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.service-card .card-body {
    padding: 2rem;
}

/* ===========================================
   CARD HOVER EFFECTS
   =========================================== */
.card {
    transition: transform var(--transition), box-shadow var(--transition);
    border-radius: var(--radius-lg);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* ===========================================
   UTILITIES
   =========================================== */
.text-primary { color: var(--nochta-primary) !important; }
.text-success { color: var(--nochta-success) !important; }
.text-muted { color: var(--nochta-gray-500) !important; }

.bg-primary { background-color: var(--nochta-primary) !important; }
.bg-light { background-color: var(--nochta-gray-50) !important; }
.bg-dark { background-color: var(--nochta-gray-900) !important; }

.shadow-sm { box-shadow: var(--shadow-sm) !important; }
.shadow { box-shadow: var(--shadow) !important; }
.shadow-md { box-shadow: var(--shadow-md) !important; }
.shadow-lg { box-shadow: var(--shadow-lg) !important; }

.rounded-xl { border-radius: var(--radius-xl) !important; }
.rounded-2xl { border-radius: var(--radius-2xl) !important; }

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, var(--nochta-primary), var(--nochta-primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Min Height */
.min-vh-50 {
    min-height: 50vh;
}

/* ===========================================
   ANIMATIONS
   =========================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===========================================
   RESPONSIVE
   =========================================== */
@media (max-width: 991.98px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 1.5rem;
    }
    
    .hero-stat {
        flex: 1 0 40%;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .navbar-collapse {
        background: white;
        padding: 1rem;
        margin-top: 1rem;
        border-radius: var(--radius);
        box-shadow: var(--shadow-lg);
    }
}

@media (max-width: 767.98px) {
    .hero {
        padding: 4rem 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .feature-card {
        padding: 2rem;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    
    .navbar .nav-link {
        padding: 0.5rem 0 !important;
    }
    
    .btn-lg {
        padding: 0.875rem 1.5rem;
    }
    
    .top-bar {
        display: none;
    }
    
    .hero-illustration {
        display: none;
    }
}

/* ===========================================
   PRINT STYLES
   =========================================== */
@media print {
    .navbar, 
    footer, 
    .btn,
    .top-bar {
        display: none !important;
    }
}

/* ===========================================
   ACCESSIBILITY
   =========================================== */
.btn:focus-visible,
.form-control:focus-visible,
a:focus-visible {
    outline: 2px solid var(--nochta-primary);
    outline-offset: 2px;
}

.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;
}

/* Prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}