/* ========================================
   CRITICAL CSS - Above the Fold
   Load immediately for performance
   ======================================== */

/* Base styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

body {
    margin: 0;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #e5e5e5;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

/* Navbar - Critical */
.ftco_navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 700;
    text-decoration: none;
}

.navbar-brand img {
    border-radius: 50%;
    margin-right: 0.5rem;
}

/* Hero section - Above fold */
.hero-wrap {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    padding: 6rem 0 2rem 0;
    padding-top: 80px; /* Prevent text from being cut off by navbar */
}

.hero-wrap .text {
    padding-top: 1rem; /* Additional padding for "Hey I am" text */
}

.hero-wrap h1 {
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-wrap h2 {
    font-size: 1.5rem;
    font-weight: 400;
    color: #e5e5e5;
    margin-bottom: 1.5rem;
}

.hero-wrap p {
    color: #e5e5e5;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Loading state */
#ftco-loader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #0a0a0a;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

#ftco-loader.show {
    opacity: 1;
    visibility: visible;
}

/* Container */
.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Text utilities */
.text-center {
    text-align: center;
}

/* Flexbox utilities */
.d-flex {
    display: flex;
}

.align-items-center {
    align-items: center;
}

.justify-content-center {
    justify-content: center;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .hero-wrap {
        padding-top: 70px;
    }
    
    .hero-wrap h1 {
        font-size: 2rem;
    }
    
    .hero-wrap h2 {
        font-size: 1.25rem;
    }
    
    .hero-wrap p {
        font-size: 0.9rem;
    }
    
    .hero-wrap .text {
        padding-top: 0.5rem;
    }
}

/* Prevent layout shift */
img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Prevent horizontal overflow */
.container {
    max-width: 100%;
    overflow-x: hidden;
}

/* Focus visible for accessibility */
:focus-visible {
    outline: 2px solid #F96D00;
    outline-offset: 2px;
}
