@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --bg-primary: #0a0e1a;
  --bg-secondary: #0f2744;
  --bg-navy: #0f1e38;
  --gold: #f0c040;
  --cyan: #00d4ff;
  --blue-soft: #93c5fd;
  --text-muted-dark: #94a3b8;
  --card-bg: rgba(255,255,255,0.04);
  --card-border: rgba(255,255,255,0.08);
}

/* ===== BASE ===== */
body { background: var(--bg-primary); color: var(--text-muted-dark); font-family: 'Inter', 'Nunito', sans-serif; }
h1,h2,h3,h4,h5,h6 { color: #fff; }
.text-gold { color: var(--gold) !important; }
.text-cyan { color: var(--cyan) !important; }
.text-muted-light { color: var(--text-muted-dark); }
.section { padding: 80px 0; }
.dark-section { background: var(--bg-primary); }
.navy-section { background: var(--bg-navy); }
a, a:hover { text-decoration: none; }

/* ===== PRELOADER ===== */
#preloader { background: var(--bg-primary); }

/* ===== NAVBAR ===== */
.custom-nav { background: transparent; transition: background 0.3s, box-shadow 0.3s; }
.custom-nav.stickyadd { background: rgba(10,14,26,0.97) !important; box-shadow: 0 2px 20px rgba(0,0,0,0.5); }
.nav-logo { font-size: 22px; font-weight: 800; color: var(--gold); letter-spacing: 1px; }
.custom-nav .nav-link { color: rgba(255,255,255,0.75) !important; font-size: 13px; font-weight: 500; letter-spacing: 0.5px; padding: 8px 14px !important; transition: color 0.2s; }
.custom-nav .nav-link:hover,
.custom-nav .nav-item.active .nav-link { color: var(--gold) !important; }
.nav-toggler-icon { color: #fff; font-size: 24px; }
.navbar-toggler { border: none; padding: 4px 8px; }
.navbar-toggler:focus { outline: none; box-shadow: none; }

/* ===== HERO ===== */
.hero-section { position: relative; background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%); min-height: 100vh; display: flex; align-items: center; overflow: hidden; }
#particles-canvas { position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.hero-content { position: relative; z-index: 1; width: 100%; padding: 100px 0 60px; }
.min-vh-100 { min-height: 100vh; }
.available-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(240,192,64,0.12); border: 1px solid rgba(240,192,64,0.35); color: var(--gold); font-size: 11px; font-weight: 700; letter-spacing: 2px; padding: 6px 16px; border-radius: 20px; margin-bottom: 20px; }
.pulse-dot { width: 8px; height: 8px; background: var(--gold); border-radius: 50%; animation: pulse-anim 1.5s infinite; flex-shrink: 0; }
@keyframes pulse-anim { 0%,100% { opacity:1; transform:scale(1); } 50% { opacity:0.4; transform:scale(1.6); } }
.hero-name { font-size: clamp(42px, 7vw, 72px); font-weight: 800; color: #fff; line-height: 1.1; margin-bottom: 16px; }
.hero-role { font-size: clamp(18px, 3vw, 26px); font-weight: 500; color: var(--blue-soft); margin-bottom: 12px; min-height: 40px; }
.hero-role .element { color: var(--cyan); font-weight: 700; }
.hero-tagline { font-size: 15px; color: var(--text-muted-dark); margin-bottom: 24px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.skill-tag { background: rgba(0,212,255,0.1); border: 1px solid rgba(0,212,255,0.3); color: var(--cyan); padding: 4px 12px; border-radius: 14px; font-size: 12px; font-weight: 600; }
.btn-gold { background: var(--gold); color: #0a0e1a !important; font-weight: 700; padding: 10px 28px; border-radius: 6px; border: 2px solid var(--gold); transition: all 0.2s; font-size: 14px; display: inline-block; }
.btn-gold:hover { background: transparent; color: var(--gold) !important; }
.btn-outline-cyan { background: transparent; color: var(--cyan) !important; border: 2px solid var(--cyan); font-weight: 700; padding: 10px 28px; border-radius: 6px; transition: all 0.2s; font-size: 14px; display: inline-block; }
.btn-outline-cyan:hover { background: var(--cyan); color: var(--bg-primary) !important; }
.btn-outline-gold { background: transparent; color: var(--gold) !important; border: 2px solid var(--gold); font-weight: 700; padding: 10px 28px; border-radius: 6px; transition: all 0.2s; font-size: 14px; display: inline-block; }
.btn-outline-gold:hover { background: var(--gold); color: #0a0e1a !important; }
.avatar-circle { width: 340px; height: 380px; border-radius: 24px; border: 3px solid var(--gold); overflow: hidden; margin: 0 auto; box-shadow: 0 0 60px rgba(240,192,64,0.2), 0 0 120px rgba(0,212,255,0.07); }
.avatar-photo { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.scroll_down { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 2; }
.scroll_down .scroll { font-size: 28px; animation: bounce 2s infinite; display: block; color: rgba(255,255,255,0.6); }
@keyframes bounce { 0%,100%{transform:translateY(0)} 50%{transform:translateY(8px)} }

/* ===== SECTION HEADERS ===== */
.section-header { margin-bottom: 10px; }
.section-label { font-size: 11px; font-weight: 700; letter-spacing: 3px; color: var(--gold); text-transform: uppercase; display: block; margin-bottom: 10px; }
.section-header h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; color: #fff; margin-bottom: 16px; }
.title-divider { width: 50px; height: 3px; background: var(--cyan); margin: 0 auto 20px; border-radius: 2px; }
.section-subtitle { color: var(--text-muted-dark); font-size: 15px; max-width: 560px; margin: 0 auto; line-height: 1.6; }

/* ===== ABOUT ===== */
.about-bio { font-size: 16px; line-height: 1.9; color: var(--text-muted-dark); }
.stat-card { padding: 30px 20px; }
.stat-value { font-size: 52px; font-weight: 800; line-height: 1; display: inline-block; }
.stat-suffix { font-size: 28px; font-weight: 700; vertical-align: top; margin-top: 8px; display: inline-block; }
.stat-label { font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-muted-dark); margin-top: 8px; margin-bottom: 0; }
.skill-bar-group { padding: 10px 0; }
.skill-item { margin-bottom: 22px; }
.skill-name { font-size: 13px; font-weight: 600; color: #e2e8f0; }
.skill-pct { font-size: 13px; font-weight: 700; }
.dark-progress { background: rgba(255,255,255,0.07); height: 6px; border-radius: 3px; }
.cyan-bar { background: linear-gradient(90deg, var(--cyan), rgba(0,212,255,0.6)); }
.gold-bar { background: linear-gradient(90deg, var(--gold), rgba(240,192,64,0.6)); }
.progress-bar { border-radius: 3px; }

/* ===== AI EXPERTISE ===== */
.ai-card { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 12px; padding: 28px 24px; margin-bottom: 24px; transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s; }
.ai-card:hover { transform: translateY(-5px); box-shadow: 0 16px 48px rgba(0,0,0,0.5); border-color: rgba(0,212,255,0.25); }
.ai-card-icon { font-size: 32px; margin-bottom: 14px; line-height: 1; }
.ai-card h5 { color: #fff; font-weight: 700; font-size: 16px; margin-bottom: 8px; }
.ai-card p { font-size: 13px; color: var(--text-muted-dark); margin: 0; line-height: 1.7; }

/* ===== FEATURED PROJECTS ===== */
.project-card { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 14px; padding: 32px; margin-bottom: 24px; transition: transform 0.25s, box-shadow 0.25s; height: 100%; }
.project-card:hover { transform: translateY(-4px); box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
.flagship-card { border-color: rgba(240,192,64,0.2); background: rgba(240,192,64,0.02); }
.flagship-card:hover { border-color: rgba(240,192,64,0.4); box-shadow: 0 20px 60px rgba(240,192,64,0.08); }
.project-card-header { margin-bottom: 16px; }
.project-tag { display: inline-block; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); color: var(--text-muted-dark); font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: 4px; letter-spacing: 0.3px; }
.flagship-tag { background: rgba(240,192,64,0.12); border-color: rgba(240,192,64,0.35); color: var(--gold); }
.project-tech-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.project-tech-tags span { background: rgba(0,212,255,0.08); border: 1px solid rgba(0,212,255,0.2); color: var(--cyan); font-size: 10px; font-weight: 600; padding: 2px 8px; border-radius: 3px; letter-spacing: 0.3px; }
.project-title { color: #fff; font-weight: 700; font-size: 20px; margin-bottom: 10px; margin-top: 16px; }
.project-desc { color: var(--text-muted-dark); font-size: 14px; line-height: 1.75; }
.playbook-item { font-size: 13px; color: var(--text-muted-dark); padding: 5px 0; line-height: 1.5; }

/* ===== SERVICES ===== */
.service-card { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 12px; padding: 36px 28px; margin-bottom: 24px; transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s; }
.service-card:hover { transform: translateY(-5px); box-shadow: 0 16px 48px rgba(0,0,0,0.5); border-color: rgba(240,192,64,0.25); }
.service-icon { font-size: 38px; color: var(--gold); margin-bottom: 18px; line-height: 1; display: block; }
.service-card h5 { color: #fff; font-weight: 700; font-size: 16px; margin-bottom: 10px; }
.service-card p { font-size: 13px; color: var(--text-muted-dark); margin: 0; line-height: 1.7; }

/* ===== TIMELINE ===== */
.timeline { position: relative; padding-left: 20px; }
.timeline::before { content:''; position:absolute; left:0; top:8px; bottom:20px; width:2px; background: linear-gradient(to bottom, var(--gold) 0%, var(--cyan) 50%, var(--gold) 100%); opacity:0.25; border-radius:2px; }
.timeline-item { position: relative; padding: 0 0 34px 28px; }
.timeline-item::before { content:''; position:absolute; left:-5px; top:8px; width:12px; height:12px; border-radius:50%; background:var(--bg-primary); border:2px solid var(--gold); transition: border-color 0.2s; }
.timeline-item:hover::before { border-color: var(--cyan); }
.timeline-year { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; margin-bottom: 4px; text-transform: uppercase; }
.timeline-item h5 { font-size: 16px; font-weight: 700; margin: 0 0 3px; }
.timeline-role { font-size: 12px; color: var(--cyan); font-weight: 600; display: block; margin-bottom: 8px; letter-spacing: 0.3px; }
.timeline-item p { font-size: 13px; color: var(--text-muted-dark); margin: 0; line-height: 1.65; }
.timeline-item a { transition: opacity 0.2s; }
.timeline-item a:hover { opacity: 0.8; }

/* ===== TESTIMONIALS ===== */
.bg-client { background: var(--bg-secondary) !important; position: relative; }
.bg-overlay { background: rgba(10,14,26,0.55); position: absolute; top:0; left:0; right:0; bottom:0; pointer-events: none; }
.people_says { padding: 20px 10px; }
.people_icon { margin-bottom: 0; }
.people_icon img { width: 72px; height: 72px; border-radius: 50%; border: 2px solid var(--gold); object-fit: cover; margin: 0 auto; display: block; }
.people_name { font-size: 17px !important; }
.people_review { max-width: 640px; font-size: 14px !important; line-height: 1.75; font-style: italic; opacity: 0.88; }
.owl-theme .owl-controls .owl-page span { background: var(--gold); }

/* ===== WORKED WITH MARQUEE ===== */
.worked-with-section { background: #111827; overflow: hidden; padding-bottom: 60px; }
.marquee-wrapper { overflow-x: clip; overflow-y: visible; width: 100%; margin-top: 2.5rem; padding: 16px 0; position: relative; }
.marquee-wrapper::before,
.marquee-wrapper::after { content: ''; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2; pointer-events: none; }
.marquee-wrapper::before { left: 0; background: linear-gradient(to right, #111827, transparent); }
.marquee-wrapper::after  { right: 0; background: linear-gradient(to left, #111827, transparent); }
.marquee-track { display: flex; align-items: center; gap: 1.5rem; width: max-content; animation: marquee-scroll 35s linear infinite; }
.marquee-track:hover { animation-play-state: paused; }
@keyframes marquee-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.company-chip { display: inline-flex; align-items: center; justify-content: center; width: 120px; height: 120px; padding: 18px; background: #ffffff; border: 1px solid rgba(255,255,255,0.15); border-radius: 20px; cursor: pointer; text-decoration: none; transition: border-color 0.25s, transform 0.2s, box-shadow 0.25s; flex-shrink: 0; }
.company-chip:hover { border-color: var(--gold); transform: translateY(-6px) scale(1.08); box-shadow: 0 12px 30px rgba(240,192,64,0.3); text-decoration: none; }
.chip-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--cyan); }
.chip-logo { width: 100%; height: 100%; object-fit: contain; opacity: 1; filter: none; }
.chip-logo-invert { filter: brightness(0) invert(1); }

/* ===== ALL PROJECTS ===== */
.mini-project-card { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 10px; padding: 24px 20px; margin-bottom: 22px; transition: transform 0.2s, border-color 0.2s; height: 100%; }
.mini-project-card:hover { transform: translateY(-3px); border-color: rgba(0,212,255,0.2); }
.mini-project-card h6 { color: #fff; font-weight: 700; font-size: 14px; margin-bottom: 8px; }
.mini-project-card p { font-size: 12px; color: var(--text-muted-dark); margin-bottom: 12px; line-height: 1.65; }
.mini-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 10px; }
.mini-tags span { background: rgba(240,192,64,0.08); border: 1px solid rgba(240,192,64,0.2); color: var(--gold); font-size: 10px; padding: 2px 7px; border-radius: 3px; font-weight: 600; }
.mini-tag-company { font-size: 10px; color: var(--text-muted-dark); letter-spacing: 0.5px; display: block; }

/* ===== CONTACT ===== */
.contact-item { padding: 32px 20px; }
.contact-item .h2 { font-size: 36px; color: var(--cyan); }
.contact-link { color: #e2e8f0; font-size: 15px; font-weight: 600; transition: color 0.2s; word-break: break-all; display: block; margin-top: 4px; }
.contact-link:hover { color: var(--gold); }

/* ===== FOOTER ===== */
.dark-footer { background: #060810; border-top: 1px solid rgba(255,255,255,0.05); }
.text-muted-dark { color: var(--text-muted-dark); font-size: 13px; }
.footer-social li { margin-left: 14px; }
.footer-social a { color: var(--text-muted-dark); font-size: 20px; transition: color 0.2s; }
.footer-social a:hover { color: var(--gold); }

/* ===== BACK TO TOP ===== */
.back_top { position: fixed; bottom: 24px; right: 24px; background: var(--gold); color: var(--bg-primary) !important; width: 42px; height: 42px; border-radius: 50%; display: none; align-items: center; justify-content: center; font-size: 18px; z-index: 999; text-align: center; line-height: 42px; }
.back_top:hover { background: #fff; }

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
  .navbar-collapse { background: rgba(10,14,26,0.97); padding: 16px; border-radius: 8px; margin-top: 8px; border: 1px solid var(--card-border); }
}

@media (max-width: 768px) {
  .hero-name { font-size: 40px; }
  .hero-role { font-size: 18px; min-height: 32px; }
  .hero-content { padding: 80px 0 50px; }
  .stat-value { font-size: 38px; }
  .stat-suffix { font-size: 22px; }
  .section { padding: 60px 0; }
  .btn-gold, .btn-outline-cyan { padding: 9px 22px; font-size: 13px; }
  .project-card { padding: 22px; }
  .flagship-card .row { flex-direction: column; }
  .ai-card { padding: 22px 18px; }
  .service-card { padding: 28px 20px; }
  .avatar-circle { width: 160px; height: 160px; }
  .avatar-circle span { font-size: 52px; }
  .timeline { padding-left: 16px; }
  .timeline-item { padding-left: 22px; }
  .title-divider { margin: 0 auto 16px; }
}

@media (max-width: 576px) {
  .hero-name { font-size: 34px; }
  .available-badge { font-size: 10px; padding: 5px 12px; }
  .hero-tags { gap: 6px; }
  .skill-tag { font-size: 11px; padding: 3px 10px; }
  .stat-card { padding: 20px 10px; }
  .stat-value { font-size: 32px; }
}
