/* ==========================================================================
   HERO.CSS - Hero Section, Tech Wallpaper, Profile Badges & Holographic Preloader
   ========================================================================== */

/* === HERO WITH DARK TECH WAVE WALLPAPER === */
.hero { 
    min-height: 100vh; 
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
    padding: 5rem 5% 2rem 5%; 
    position: relative; 
    overflow: hidden; 
    background: transparent !important;
}

.hero::before { 
    content: ''; 
    position: absolute; 
    top:0; left:0; width:100%; height:100%; 
    background: radial-gradient(circle at 70% 20%, rgba(255, 51, 237, 0.08) 0%, transparent 60%); 
    pointer-events: none;
    z-index: 1; 
}

.hero-content { display: flex; align-items: center; width: 100%; gap: 3rem; position: relative; z-index: 2; }
.hero-text { flex: 1; }

.profile-photo { 
    flex: 0 0 340px; 
    width: 340px;
    height: 340px;
    display: flex; 
    justify-content: center; 
    align-items: center; 
    position: relative;
    z-index: 10;
    margin: 0 auto;
}

.profile-img {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--primary);
    box-shadow: 0 0 25px rgba(0, 210, 255, 0.35);
    transition: all 0.45s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    z-index: 2;
}

.profile-img:hover {
    transform: scale(1.05);
    border-color: var(--secondary);
    box-shadow: 0 0 35px rgba(138, 43, 226, 0.45);
}

/* Floating Corner Badges over 3D profile card with generous clearance */
.floating-badge {
    position: absolute;
    background: rgba(12, 14, 28, 0.9);
    border: 1.5px solid var(--badge-color, var(--primary));
    color: var(--badge-color, var(--primary));
    padding: 0.35rem 0.8rem;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    box-shadow: 0 0 15px var(--badge-color, rgba(0,247,255,0.3));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 15;
    white-space: nowrap;
    animation: floatCornerBadge 4s ease-in-out infinite alternate;
}
.floating-badge i { font-size: 0.95rem; }
.badge-top-left { top: 12px; left: 8px; animation-delay: 0s; }
.badge-top-right { top: 12px; right: 8px; animation-delay: 1s; }
.badge-bottom-left { bottom: 12px; left: 8px; animation-delay: 2s; }
.badge-bottom-right { bottom: 12px; right: 8px; animation-delay: 3s; }

@keyframes floatCornerBadge {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-7px) rotate(2deg); }
    100% { transform: translateY(4px) rotate(-2deg); }
}

/* Typewriter role layout styles */
.typewriter-container {
    font-family: 'JetBrains Mono', monospace;
    color: var(--terminal-text);
    font-size: clamp(0.95rem, 3.5vw, 1.22rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.typewriter-text {
    border-right: 2px solid var(--terminal-text);
    padding-right: 5px;
    white-space: nowrap;
    animation: caretBlink 0.75s step-end infinite;
}

@keyframes caretBlink {
    from, to { border-color: transparent; }
    50% { border-color: var(--terminal-text); }
}

h1 { font-size: clamp(2.2rem, 6vw, 4rem); margin: 0.8rem 0; font-weight: 800; background: linear-gradient(90deg, var(--primary), var(--secondary)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { font-size: 1.15rem; max-width: 600px; margin-bottom: 2rem; opacity: 0.95; }
