/**
 * Ultra-Modern Developer & Software Engineering Theme
 * Mywebsolution - Sky Blue Brand Theme (#0094dd / #0284c7 / #38bdf8)
 */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800;900&family=Fira+Code:wght@400;500;600&display=swap');

:root {
    /* Logo Sky Blue Color Palette */
    --brand-sky-blue: #0094dd;
    --brand-sky-dark: #0284c7;
    --brand-sky-deeper: #0369a1;
    --brand-sky-light: #38bdf8;
    --brand-sky-glow: rgba(0, 148, 221, 0.45);
    
    --primary: #0094dd;
    --primary-light: #38bdf8;
    --primary-dark: #0284c7;
    --accent: #06b6d4;
    --accent-glow: rgba(6, 182, 212, 0.4);
    
    --brand-red: #d92017;
    --purple: #8b5cf6;
    --emerald: #10b981;
    --amber: #f59e0b;
    --rose: #e11d48;
    
    --bg-dark: #090d16;
    --bg-dark-surface: #0f172a;
    --bg-dark-card: #1e293b;
    --bg-light: #f8fafc;
    --bg-card: #ffffff;
    
    --text-main: #0f172a;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    --text-white: #ffffff;
    
    --border: #e2e8f0;
    --border-dark: rgba(255, 255, 255, 0.08);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    
    --shadow-subtle: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
    --shadow-hover: 0 20px 40px -10px rgba(0, 148, 221, 0.25);
    --shadow-dark: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
    --font-code: 'Fira Code', monospace;
}

/* Reset & Global Typography */
html {
    scroll-behavior: smooth !important;
    height: auto !important;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    background-color: var(--bg-light) !important;
    color: var(--text-main) !important;
    font-size: 14px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    height: auto !important;
    min-height: 100% !important;
}

h1, h2, h3, h4, h5, h6, .widget-title, .title {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    color: var(--text-main) !important;
    font-weight: 800 !important;
    letter-spacing: -0.025em !important;
}

/* Topbar Sky Blue Modernization */
.topbar {
    background: linear-gradient(90deg, #0094dd 0%, #0284c7 60%, #0369a1 100%) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18) !important;
    padding: 7px 0 !important;
    font-size: 13px !important;
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(0, 148, 221, 0.2) !important;
}

.topbar-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
}

.topbar-left a, .topbar-left span {
    color: #ffffff !important;
    font-weight: 600 !important;
    font-size: 12.5px !important;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    transition: all 0.2s ease;
    letter-spacing: 0.01em;
}

.topbar-left a:hover {
    color: #e0f2fe !important;
    transform: translateY(-1px);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.topbar-left i {
    color: #ffffff !important;
    font-size: 13px;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.topbar-pill-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 14px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 700;
    text-decoration: none !important;
    transition: all 0.25s ease;
}

.topbar-pill-support {
    background: rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
    border: 1.5px solid rgba(255, 255, 255, 0.45) !important;
    backdrop-filter: blur(8px);
}

.topbar-pill-support:hover {
    background: #ffffff !important;
    color: #0284c7 !important;
    border-color: #ffffff !important;
    transform: translateY(-1.5px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

.topbar-pill-feedback {
    background: rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
    border: 1.5px solid rgba(255, 255, 255, 0.45) !important;
    backdrop-filter: blur(8px);
}

.topbar-pill-feedback:hover {
    background: #ffffff !important;
    color: #0284c7 !important;
    border-color: #ffffff !important;
    transform: translateY(-1.5px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

/* Header & Navbar - Layout Refined */
.header-wrapper {
    background: rgba(255, 255, 255, 0.97) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-bottom: 2px solid #e2e8f0 !important;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06) !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
    padding: 0 !important;
    transition: all 0.3s ease;
}

.site-header {
    display: flex !important;
    align-items: center !important;
    min-height: 72px !important;
}

.title-area {
    display: flex !important;
    align-items: center !important;
}

.site-title {
    display: inline-flex;
    align-items: center;
    padding: 2px 0;
}

.site-title a {
    display: inline-flex;
    align-items: center;
    text-decoration: none !important;
}

.site-title img {
    height: 58px !important;
    max-height: 58px !important;
    width: auto !important;
    image-rendering: -webkit-optimize-contrast;
    filter: drop-shadow(0 3px 8px rgba(0, 148, 221, 0.18));
    transition: transform 0.25s ease, filter 0.25s ease;
    transform-origin: left center;
}

.site-title img:hover {
    transform: scale(1.04);
    filter: drop-shadow(0 6px 14px rgba(0, 148, 221, 0.28));
}

.navbar-default {
    background: transparent !important;
    border: none !important;
    margin: 0 !important;
    min-height: 72px !important;
    display: flex !important;
    align-items: center !important;
}

.navbar-default .navbar-nav {
    display: flex !important;
    align-items: center !important;
    gap: 2px !important;
    margin: 0 !important;
}

/* All nav links base style */
.navbar-default .navbar-nav > li > a {
    font-size: 13.5px !important;
    font-weight: 600 !important;
    color: #334155 !important;
    padding: 7px 15px !important;
    border-radius: 50px !important;
    transition: all 0.22s ease !important;
    border-top: none !important;
    letter-spacing: 0.02em;
    line-height: 1.4 !important;
    position: relative;
}

/* Hover state */
.navbar-default .navbar-nav > li > a:hover {
    color: #0284c7 !important;
    background: #f0f9ff !important;
    border-top: none !important;
}

/* Active page */
.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:focus {
    color: #0284c7 !important;
    background: #e0f2fe !important;
    font-weight: 700 !important;
    border-top: none !important;
}

.navbar-default .navbar-nav > .active > a::after {
    display: none !important;
}

/* Contact link — styled as a solid CTA button */
.navbar-default .navbar-nav > li:last-child > a {
    background: linear-gradient(135deg, #e63c1e 0%, #f05a2a 100%) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    padding: 8px 20px !important;
    border-radius: 50px !important;
    box-shadow: 0 3px 12px rgba(230, 60, 30, 0.3) !important;
    margin-left: 6px !important;
}

.navbar-default .navbar-nav > li:last-child > a:hover {
    background: linear-gradient(135deg, #c73010 0%, #e63c1e 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 5px 18px rgba(230, 60, 30, 0.45) !important;
    transform: translateY(-1px);
}

/* Mobile navbar toggle button */
.navbar-toggle {
    border-color: #cbd5e1 !important;
    margin-top: 18px !important;
    margin-bottom: 18px !important;
    border-radius: 8px !important;
}
.navbar-toggle .icon-bar {
    background-color: #475569 !important;
}

/* Developer Hero Section - White+SkyBlue top to Dark SkyBlue bottom */
.hero-dev-wrapper {
    background: linear-gradient(to bottom,
        #ffffff 0%,
        #f0f9ff 5%,
        #e0f2fe 15%,
        #bae6fd 28%,
        #7dd3fc 42%,
        #0ea5e9 60%,
        #0284c7 78%,
        #0369a1 90%,
        #075985 100%
    ) !important;
    color: #ffffff;
    padding: 85px 0 75px 0;
    position: relative;
    overflow: hidden;
}

.hero-dev-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.35) 0%, rgba(255, 255, 255, 0) 70%);
    pointer-events: none;
}

.hero-dev-wrapper::after {
    content: '';
    position: absolute;
    bottom: -30%;
    right: -10%;
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 70%);
    pointer-events: none;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(2, 132, 199, 0.12);
    border: 1.5px solid rgba(2, 132, 199, 0.35);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 700;
    color: #0c4a6e;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

.hero-title {
    font-size: 46px !important;
    font-weight: 900 !important;
    line-height: 1.18 !important;
    color: #0c4a6e !important;
    margin-bottom: 20px !important;
    letter-spacing: -0.03em !important;
    text-shadow: 0 2px 8px rgba(255, 255, 255, 0.4);
}

.hero-title .gradient-span {
    background: linear-gradient(135deg, #e63c1e 0%, #f05a2a 50%, #c73010 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 6px rgba(230, 60, 30, 0.15));
}

.hero-desc {
    font-size: 17px;
    color: #ffffff;
    font-weight: 500;
    line-height: 1.75;
    margin-bottom: 30px;
    max-width: 540px;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.25);
}

/* Primary CTA - brand orange-red like logo */
.hero-dev-wrapper .btn-brand {
    background: linear-gradient(135deg, #e63c1e 0%, #f05a2a 100%) !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    border: none !important;
    box-shadow: 0 6px 22px rgba(230, 60, 30, 0.4) !important;
    transition: all 0.25s ease !important;
    padding: 12px 24px !important;
}

.hero-dev-wrapper .btn-brand:hover {
    background: linear-gradient(135deg, #c73010 0%, #e63c1e 100%) !important;
    color: #ffffff !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 10px 30px rgba(230, 60, 30, 0.5) !important;
}

/* Secondary CTA - white border + white text, visible on dark bg */
.hero-dev-wrapper .btn-outline-white {
    background: rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
    border: 2px solid rgba(255, 255, 255, 0.8) !important;
    font-weight: 700 !important;
    padding: 12px 24px !important;
    backdrop-filter: blur(6px) !important;
    text-shadow: 0 1px 4px rgba(0,0,0,0.2) !important;
}

.hero-dev-wrapper .btn-outline-white:hover {
    background: #ffffff !important;
    color: #0369a1 !important;
    border-color: #ffffff !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3) !important;
    text-shadow: none !important;
}

/* Terminal & Code Card on Hero */
.dev-terminal-card {
    background: #091220;
    border: 1.5px solid rgba(255, 255, 255, 0.22);
    border-radius: var(--radius-md);
    box-shadow: 0 25px 60px -10px rgba(7, 89, 133, 0.45);
    overflow: hidden;
    position: relative;
}

.terminal-header {
    background: #0f1c30;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.terminal-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
}
.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.terminal-title {
    font-family: var(--font-code);
    font-size: 12px;
    color: #94a3b8;
    margin-left: 10px;
}

.terminal-body {
    padding: 22px;
    font-family: var(--font-code);
    font-size: 13.5px;
    line-height: 1.8;
    color: #cbd5e1;
}

.terminal-body .code-keyword { color: #38bdf8; font-weight: 600; }
.terminal-body .code-function { color: #67e8f9; }
.terminal-body .code-string { color: #34d399; }
.terminal-body .code-comment { color: #64748b; font-style: italic; }
.terminal-body .code-var { color: #fbbf24; }

/* Floating Stats Strip */
.stats-strip {
    background: #0b1526;
    border-top: 1px solid rgba(56, 189, 248, 0.15);
    border-bottom: 1px solid rgba(56, 189, 248, 0.15);
    padding: 30px 0;
}

.stat-item {
    text-align: center;
    padding: 10px 15px;
}

.stat-number {
    font-size: 38px;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #ffffff 0%, var(--brand-sky-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #94a3b8;
    margin-top: 4px;
}

/* Modern Card UI */
.modern-grid-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    padding: 35px 28px;
    box-shadow: var(--shadow-subtle);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.modern-grid-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(0, 148, 221, 0.35);
}

.card-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 22px;
    transition: transform 0.3s ease;
}

.modern-grid-card:hover .card-icon-box {
    transform: scale(1.1) rotate(4deg);
}

.icon-blue, .icon-cyan { background: rgba(0,148,221,0.1); color: var(--brand-sky-blue); }
.icon-purple { background: rgba(139,92,246,0.1); color: #8b5cf6; }
.icon-emerald { background: rgba(16,185,129,0.1); color: #10b981; }
.icon-amber { background: rgba(245,158,11,0.1); color: #f59e0b; }
.icon-rose { background: rgba(244,63,94,0.1); color: #f43f5e; }

.modern-grid-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--text-main);
}

.modern-grid-card p {
    color: var(--text-muted);
    font-size: 14.5px;
    line-height: 1.65;
    flex-grow: 1;
    margin-bottom: 20px;
}

.modern-grid-card .card-link {
    font-weight: 700;
    font-size: 14px;
    color: var(--brand-sky-blue);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    transition: gap 0.2s ease;
}

.modern-grid-card:hover .card-link {
    gap: 10px;
    color: var(--brand-sky-dark);
}

/* Sky Blue Modern Buttons */
.btn-primary, .btn-brand {
    background: linear-gradient(135deg, var(--brand-sky-blue) 0%, var(--brand-sky-dark) 100%) !important;
    border: none !important;
    border-radius: var(--radius-sm) !important;
    padding: 13px 28px !important;
    font-weight: 700 !important;
    font-size: 14.5px !important;
    color: #ffffff !important;
    box-shadow: 0 4px 15px var(--brand-sky-glow) !important;
    transition: all 0.25s ease !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    text-decoration: none !important;
}

.btn-primary:hover, .btn-brand:hover {
    background: linear-gradient(135deg, var(--brand-sky-dark) 0%, var(--brand-sky-deeper) 100%) !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 25px rgba(0, 148, 221, 0.6) !important;
    color: #ffffff !important;
}

.btn-outline-white {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1.5px solid rgba(56, 189, 248, 0.35) !important;
    color: #ffffff !important;
    border-radius: var(--radius-sm) !important;
    padding: 12px 26px !important;
    font-weight: 700 !important;
    font-size: 14.5px !important;
    backdrop-filter: blur(8px);
    transition: all 0.25s ease !important;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none !important;
}

.btn-outline-white:hover {
    background: #ffffff !important;
    color: #0f172a !important;
    border-color: #ffffff !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.25) !important;
}

/* Tech Badges */
.tech-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f1f5f9;
    color: #334155;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    border: 1px solid var(--border);
    transition: all 0.2s ease;
}

.tech-pill:hover {
    background: #eff6ff;
    color: var(--brand-sky-blue);
    border-color: var(--brand-sky-blue);
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: #080c16 !important;
    border-top: 1px solid var(--border-dark) !important;
    padding: 65px 0 35px 0 !important;
    color: #94a3b8 !important;
}

.footer .widget-title h3 {
    color: #ffffff !important;
    font-size: 18px !important;
    font-weight: 800 !important;
    margin-bottom: 20px !important;
}

.footer ul li a {
    color: #94a3b8 !important;
    transition: all 0.2s ease;
    display: inline-block;
    padding: 4px 0;
    text-decoration: none !important;
}

.footer ul li a:hover {
    color: var(--brand-sky-light) !important;
    transform: translateX(4px);
}

.section-copyright {
    background: #04060b !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
    padding: 22px 0 !important;
    font-size: 13px !important;
    color: #64748b !important;
}

.section-copyright a {
    color: #94a3b8 !important;
    text-decoration: none !important;
    transition: color 0.2s ease;
}

.section-copyright a:hover {
    color: var(--brand-sky-light) !important;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .hero-title { font-size: 36px !important; }
    .hero-dev-wrapper { padding: 60px 0 50px 0; }
    .dev-terminal-card { margin-top: 35px; }
}

/* Floating 3D Back to Top Button */
.dmtop, #back-to-top {
    position: fixed !important;
    bottom: 28px !important;
    right: 28px !important;
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    background: linear-gradient(135deg, #0094dd 0%, #0284c7 100%) !important;
    color: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 20px !important;
    cursor: pointer !important;
    z-index: 999999 !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) scale(1) !important;
    transition: all 0.25s ease !important;
    box-shadow: 0 10px 25px rgba(0, 148, 221, 0.55) !important;
    border: 2px solid rgba(255, 255, 255, 0.4) !important;
    text-decoration: none !important;
}

.dmtop:hover, #back-to-top:hover {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%) !important;
    transform: translateY(-4px) scale(1.1) !important;
    box-shadow: 0 16px 35px rgba(0, 148, 221, 0.75) !important;
    color: #ffffff !important;
}


