/* ==========================================================================
   CSS Variables & Global Styles - Modern Dark Theme
   ========================================================================== */
:root {
    --bg-primary: #0f172a;      /* slate-900 */
    --bg-surface: #1e293b;      /* slate-800 */
    --bg-surface-alt: #0b1120;  /* darker slate */
    
    --text-primary: #f8fafc;    /* slate-50 */
    --text-muted: #94a3b8;      /* slate-400 */
    
    --accent-color: #f97316;    /* orange-500 */
    --accent-hover: #ea580c;    /* orange-600 */
    --accent-glow: rgba(249, 115, 22, 0.3);
    
    --border-color: rgba(255, 255, 255, 0.1);
    
    --font-sans: 'Inter', sans-serif;
    --font-heading: 'Space Grotesk', sans-serif;
    
    --transition: all 0.3s ease;
}

html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6, .navbar-brand {
    font-family: var(--font-heading);
    color: var(--text-primary);
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent-hover);
}

.text-accent { color: var(--accent-color) !important; }
.bg-accent { background-color: var(--accent-color) !important; }
.text-muted-custom { color: var(--text-muted) !important; }
.bg-surface { background-color: var(--bg-surface) !important; }
.bg-surface-alt { background-color: var(--bg-surface-alt) !important; }
.border-dark { border: 1px solid var(--border-color) !important; }
.border-top-dark { border-top: 1px solid var(--border-color) !important; }
.border-bottom-dark { border-bottom: 1px solid var(--border-color) !important; }
.section-padding { padding: 100px 0; }
.tracking-wide { letter-spacing: 0.1em; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    font-family: var(--font-sans);
    font-weight: 500;
    padding: 12px 28px;
    border-radius: 8px;
    transition: var(--transition);
}

.btn-accent {
    background-color: var(--accent-color);
    color: #fff;
    border: none;
    box-shadow: 0 4px 14px var(--accent-glow);
}

.btn-accent:hover {
    background-color: var(--accent-hover);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(249, 115, 22, 0.3);
}

.btn-outline-accent {
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 500;
    transition: var(--transition);
    background: transparent;
}

.btn-outline-accent:hover {
    background-color: var(--accent-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(249, 115, 22, 0.3);
}

.btn-outline-light {
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
    background: transparent;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.4);
}

/* ==========================================================================
   Navbar
   ========================================================================== */
.navbar {
    padding: 20px 0;
    background: transparent;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.navbar.scrolled {
    padding: 12px 0;
    background: rgba(15, 23, 42, 0.9);
    border-bottom: 1px solid var(--border-color);
}

.navbar-brand {
    font-size: 28px;
    font-weight: 700;
}

.navbar-nav .nav-link {
    color: var(--text-muted);
    font-weight: 500;
    margin: 0 15px;
    position: relative;
    transition: var(--transition);
}

.navbar-nav .nav-link:hover, 
.navbar-nav .nav-link.active {
    color: #ffffff !important;
}

.navbar-toggler {
    color: var(--text-primary);
    border: none;
    font-size: 24px;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    min-height: 100vh;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    z-index: -1;
}

.badge-custom {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(249, 115, 22, 0.1);
    color: var(--accent-color);
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
}

.hero-image-box {
    position: relative;
    display: inline-block;
}

.hero-img {
    position: relative;
    z-index: 2;
    max-height: 600px;
    border-radius: 20px;
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.5));
}

.glow-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: var(--accent-color);
    filter: blur(80px);
    opacity: 0.15;
    z-index: 1;
    border-radius: 50%;
}

/* ==========================================================================
   Stats Section
   ========================================================================== */
.stat-num {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0px;
}

.stat-text {
    color: var(--text-muted);
    font-size: 1rem;
    margin: 0;
}

.stat-card-modern {
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.02);
}

.stat-card-modern:hover {
    transform: translateY(-5px);
    border-color: rgba(249, 115, 22, 0.3) !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    background: rgba(255, 255, 255, 0.04);
}

.stat-icon-wrapper {
    width: 50px;
    height: 50px;
    background: rgba(249, 115, 22, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 0 10px rgba(249, 115, 22, 0.05);
}

/* ==========================================================================
   About Section
   ========================================================================== */
.icon-box {
    width: 50px;
    height: 50px;
    background: var(--bg-surface-alt);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    font-size: 20px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-primary);
    margin-right: 12px;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    transform: translateY(-3px);
}

.progress {
    background-color: var(--bg-primary);
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar {
    border-radius: 10px;
    width: 0;
    transition: width 1.5s ease-in-out;
}

/* ==========================================================================
   Resume (Timeline)
   ========================================================================== */
.timeline {
    position: relative;
    padding-left: 30px;
    margin-top: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 2px;
    background: var(--border-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: -35px;
    top: 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent-color);
    border: 2px solid var(--bg-surface-alt);
    box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.1);
}

.timeline-date {
    display: inline-block;
    padding: 4px 12px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    color: var(--accent-color);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 15px;
}

.timeline-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--text-primary);
}

.timeline-subtitle {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 0;
    font-weight: 500;
}

.timeline-text {
    line-height: 1.6;
}

/* ==========================================================================
   Services
   ========================================================================== */
.service-card-modern {
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(30,41,59,1) 0%, rgba(15,23,42,1) 100%);
    z-index: -1;
    opacity: 0;
    transition: var(--transition);
}

.service-card-modern:hover {
    transform: translateY(-5px);
    border-color: rgba(249, 115, 22, 0.3) !important;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.service-card-modern:hover::before {
    opacity: 1;
}

.service-icon-modern {
    font-size: 3rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.social-links-footer a {
    color: var(--text-muted);
    font-size: 20px;
    margin-left: 20px;
    transition: var(--transition);
}

.social-links-footer a:hover {
    color: var(--accent-color);
}

/* ==========================================================================
   Animations
   ========================================================================== */
[data-animate] {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-animate="fade-up"] { transform: translateY(40px); }
[data-animate="fade-left"] { transform: translateX(40px); }
[data-animate="fade-right"] { transform: translateX(-40px); }

.animated {
    opacity: 1 !important;
    transform: translate(0, 0) !important;
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        background: var(--bg-surface);
        padding: 20px;
        border-radius: 12px;
        border: 1px solid var(--border-color);
        margin-top: 15px;
    }
    
    .hero {
        text-align: center;
        padding-top: 120px;
    }
    
    .hero-text .d-flex {
        justify-content: center;
    }
    
    .hero::before {
        top: 0;
        right: 0;
        left: 0;
        margin: auto;
    }
}
