/* Critical Above-the-fold CSS */

/* Reset and base */
* { box-sizing: border-box; }
body { 
    margin: 0; 
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.5;
}

/* Layout */
.container { max-width: 1140px; margin: 0 auto; padding: 0 15px; }
.row { display: flex; flex-wrap: wrap; margin: 0 -15px; }
.col { padding: 0 15px; flex: 1; }

/* Typography */
h1, h2, h3, h4, h5, h6 { margin: 0 0 1rem; font-weight: 500; }
p { margin: 0 0 1rem; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    font-size: 1rem;
    text-align: center;
    text-decoration: none;
    border: 1px solid transparent;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary {
    background-color: #6c757d;
    color: white;
    border: 1px solid #6c757d;
}

/* Utilities */
.text-center { text-align: center; }
.d-none { display: none !important; }
.invisible { visibility: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* Responsive */
@media (min-width: 576px) { .container { max-width: 540px; } }
@media (min-width: 768px) { .container { max-width: 720px; } }
@media (min-width: 992px) { .container { max-width: 960px; } }
@media (min-width: 1200px) { .container { max-width: 1140px; } }

/* Critical CSS for above-the-fold content */
.no-js { visibility: hidden; }
.js { visibility: visible; }

/* Basic layout styles */
body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Navbar critical styles */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1030;
    background: rgba(0, 0, 0, 0.9);
}

.navbar-brand img {
    height: 3rem;
}

/* Hero section critical styles */
.header16 {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7));
    color: white;
}

.mbr-section-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

/* Prevent layout shift */
.mbr-fullscreen {
    min-height: 100vh;
}

/* Loading state */
.loading {
    opacity: 0.7;
    pointer-events: none;
}
