/* ============================================================
   CODEFORCER PORTFOLIO — UPGRADED STYLESHEET v2.0
   ============================================================ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&family=Ubuntu:wght@400;500;700&family=Titan+One&display=swap');

/* ── CSS Variables ── */
:root {
  --blue:         #04a4ff;
  --blue-dark:    #0077cc;
  --blue-glow:    rgba(4, 164, 255, 0.25);
  --blue-subtle:  rgba(4, 164, 255, 0.08);
  --ink:          #050D1A;
  --ink-2:        #0B1628;
  --dark-bg:      #0F1923;
  --darker-bg:    #080E18;
  --card-bg:      #0D1520;
  --card-border:  rgba(4,164,255,0.12);
  --light-bg:     #F0F4F8;
  --white:        #ffffff;
  --text-main:    #1a2332;
  --text-muted:   #4a5568;
  --border:       #cbd5e0;
  --resume-blue:  #1f5297;
  --transition:   all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Ubuntu', sans-serif;
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  cursor: none;
}

a {
  text-decoration: none;
  color: inherit;
  outline: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.blue { color: var(--blue); }

/* ============================================================
   CUSTOM CURSOR
   ============================================================ */
.cursor-dot {
  width: 6px;
  height: 6px;
  background: var(--blue);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: opacity 0.2s ease;
}

.cursor-ring {
  width: 32px;
  height: 32px;
  border: 1.5px solid var(--blue);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 0.12s ease, width 0.2s ease, height 0.2s ease, opacity 0.2s ease;
  opacity: 0.6;
}

.cursor-ring.hovered {
  width: 48px;
  height: 48px;
  opacity: 0.3;
  background: var(--blue-subtle);
}

/* ============================================================
   LOADER
   ============================================================ */
.loader {
  position: fixed;
  inset: 0;
  background: var(--ink);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.loader-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Syne', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  animation: fadeInDown 0.5s ease forwards;
}

.loader-bolt {
  color: var(--blue);
  font-size: 1.6rem;
  animation: boltPulse 1s ease infinite alternate;
}

@keyframes boltPulse {
  to { filter: drop-shadow(0 0 8px var(--blue)); opacity: 0.7; }
}

.loader-bar-wrap {
  width: 220px;
  height: 3px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  overflow: hidden;
}

.loader-bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--blue), #00c8ff);
  border-radius: 2px;
  animation: loadBar 1.8s cubic-bezier(0.4,0,0.2,1) forwards;
}

@keyframes loadBar {
  0%   { width: 0; }
  60%  { width: 70%; }
  100% { width: 100%; }
}

.loader-msg {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.1em;
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}

.loader.disappear {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal-section {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.4,0,0.2,1), transform 0.8s cubic-bezier(0.4,0,0.2,1);
}

.reveal-section.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-hero .text-1 { animation: fadeInUp 0.7s 0.3s both; }
.reveal-hero .hero-badge { animation: fadeInUp 0.7s 0.1s both; }
.reveal-hero .text-2 { animation: fadeInUp 0.7s 0.5s both; }
.reveal-hero .text-3 { animation: fadeInUp 0.7s 0.7s both; }
.reveal-hero .hero-sub { animation: fadeInUp 0.7s 0.9s both; }
.reveal-hero .hero-actions { animation: fadeInUp 0.7s 1.1s both; }
.hero-code-card { animation: fadeInRight 0.9s 1.3s both; }
.hero-scroll-indicator { animation: fadeInUp 0.7s 1.6s both; }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* ============================================================
   SECTION LABEL
   ============================================================ */
.section-label {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-subtle);
  border: 1px solid var(--blue-glow);
  border-radius: 100px;
  padding: 4px 14px;
  margin-bottom: 1rem;
}

.section-label.light {
  color: rgba(4,164,255,0.9);
  background: rgba(4,164,255,0.06);
  border-color: rgba(4,164,255,0.18);
}

/* ============================================================
   SHARED SECTION TITLE
   ============================================================ */
.title {
  font-family: 'Syne', sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 3rem;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.about .title,
.skills .title,
.contact .title { color: var(--text-main); }
.services .title,
.teams .title    { color: var(--white); }

/* ============================================================
   SCROLL-UP BUTTON
   ============================================================ */
.scroll-up-btn {
  position: fixed;
  right: 24px;
  bottom: 10px;
  font-size: 1rem;
  color: var(--white);
  background: var(--blue);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  z-index: 99;
  cursor: none;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  box-shadow: 0 4px 20px var(--blue-glow);
}

.scroll-up-btn.show {
  opacity: 1;
  pointer-events: auto;
  bottom: 40px;
}

.scroll-up-btn:hover {
  background: var(--ink);
  transform: translateY(-3px);
}

/* ============================================================
   FLOATING SOCIAL DOCK
   ============================================================ */
.social-dock {
  position: fixed;
  left: 28px;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  z-index: 90;
  animation: fadeInUp 1s 2s both;
}

.social-dock a {
  color: rgba(255,255,255,0.45);
  font-size: 1.1rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-dock a:hover {
  color: var(--blue);
  transform: translateX(4px);
}

.dock-line {
  width: 1.5px;
  height: 80px;
  background: linear-gradient(to bottom, rgba(4,164,255,0.5), transparent);
  border-radius: 1px;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  padding: 1.2rem 1.5rem;
  z-index: 100;
  transition: var(--transition);
}

.navbar.sticky {
  background: rgba(5, 13, 26, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(4,164,255,0.12);
  padding: 0.85rem 1.5rem;
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-bolt {
  color: var(--blue);
  font-size: 1.4rem;
  filter: drop-shadow(0 0 6px var(--blue-glow));
}

.logo-text {
  font-family: 'Syne', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
}

.navbar ul {
  display: flex;
  gap: 0.25rem;
  list-style: none;
  align-items: center;
}

.navbar li a {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  padding: 0.5rem 0.85rem;
  border-radius: 8px;
  transition: var(--transition);
  letter-spacing: 0.01em;
  position: relative;
}

.navbar li a:hover {
  color: var(--white);
  background: rgba(255,255,255,0.06);
}

.navbar li.nav-cta a {
  background: var(--blue);
  color: var(--white);
  border-radius: 8px;
  padding: 0.45rem 1rem;
  font-weight: 600;
  box-shadow: 0 2px 12px var(--blue-glow);
}

.navbar li.nav-cta a:hover {
  background: var(--blue-dark);
  transform: translateY(-1px);
}
.menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;   /* fix: was cursor:none */
  z-index: 1001;     /* fix: must sit above the open menu overlay */
}
.menu-btn .bar {
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.bar1.close { transform: rotate(45deg) translate(5px, 5px); }
.bar2.close { opacity: 0; transform: scaleX(0); }
.bar3.close { transform: rotate(-45deg) translate(5px, -5px); }

/* ============================================================
   HOME / HERO SECTION
   ============================================================ */
.home {
  min-height: 100vh;
  background: var(--ink);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 8rem 0 5rem;
  background-image: url("/assets/Images/Laptop_1.jpg");
  background-size: cover;
  background-position: center;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.4;
}

/* Mesh gradient orbs */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.orb-1 {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(4,164,255,0.18) 0%, transparent 70%);
  top: -10%;
  right: -5%;
  animation: orbFloat 8s ease-in-out infinite alternate;
}

.orb-2 {
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(0,100,200,0.12) 0%, transparent 70%);
  bottom: 10%;
  left: -5%;
  animation: orbFloat 11s ease-in-out infinite alternate-reverse;
}

.orb-3 {
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(4,164,255,0.1) 0%, transparent 70%);
  top: 40%;
  left: 50%;
  animation: orbFloat 13s ease-in-out infinite alternate;
}

@keyframes orbFloat {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(30px, -30px) scale(1.05); }
}

.home .container {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

.home-content {
  max-width: 580px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 6px 14px;
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
}

.badge-dot {
  width: 7px;
  height: 7px;
  background: #04a4ff;
  border-radius: 50%;
  box-shadow: 0 0 6px #04a4ff;
  animation: pulseDot 1.8s ease infinite;
}

@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 4px #22c55e; transform: scale(1); }
  50%       { box-shadow: 0 0 12px #22c55e; transform: scale(1.2); }
}

.home .text-1 {
  font-family: 'Ubuntu', sans-serif;
  font-size: 1.3rem;
  font-weight: 400;
  color: rgba(255,255,255,0.6);
  margin-bottom: 0.2rem;
}

.home .text-2 {
  font-family: 'Syne', sans-serif;
  font-size: 5rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.04em;
  line-height: 0.95;
  margin-bottom: 0.4rem;
}

.text-stroke {
  -webkit-text-stroke: 2px var(--blue);
  color: transparent;
}

.home .text-3 {
  font-family: 'Ubuntu', sans-serif;
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--blue);
  margin-bottom: 1.5rem;
  min-height: 2.5rem;
}

.hero-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.75;
  margin-bottom: 2rem;
  max-width: 480px;
}

.hero-sub strong {
  color: rgba(255,255,255,0.85);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-hire {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue);
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.7rem 1.6rem;
  border-radius: 10px;
  border: 2px solid var(--blue);
  transition: var(--transition);
  letter-spacing: 0.01em;
  box-shadow: 0 4px 20px var(--blue-glow);
}

.btn-hire:hover {
  background: transparent;
  color: var(--blue);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--blue-glow);
}

.btn-work {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.7rem 1.6rem;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.12);
  transition: var(--transition);
  letter-spacing: 0.01em;
}

.btn-work:hover {
  background: rgba(255,255,255,0.1);
  color: var(--white);
  transform: translateY(-2px);
}

/* ── Hero Code Card ── */
.hero-code-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  width: 340px;
  flex-shrink: 0;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(4,164,255,0.08);
  transition: var(--transition);
}

.hero-code-card:hover {
  transform: translateY(-6px) rotate(0.5deg);
  box-shadow: 0 30px 80px rgba(0,0,0,0.6), 0 0 40px rgba(4,164,255,0.12);
  border-color: rgba(4,164,255,0.3);
}

.code-card-header {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 14px 16px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.dot.red    { background: #ff5f57; }
.dot.yellow { background: #febc2e; }
.dot.green  { background: #28c840; }

.code-file {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.35);
  margin-left: auto;
}

.code-body {
  padding: 20px;
  overflow: hidden;
}

.code-body code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.7);
  white-space: pre;
}

/* ── Hero Scroll Indicator ── */
.hero-scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
}

.hero-scroll-indicator span {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.scroll-mouse {
  width: 22px;
  height: 34px;
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 5px;
}

.scroll-wheel {
  width: 3px;
  height: 7px;
  background: var(--blue);
  border-radius: 2px;
  animation: scrollDown 1.8s ease infinite;
}

@keyframes scrollDown {
  0%   { transform: translateY(0); opacity: 1; }
  80%  { transform: translateY(10px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ============================================================
   STATS STRIP
   ============================================================ */
.stats-strip {
  background: var(--ink-2);
  border-top: 1px solid rgba(4,164,255,0.1);
  border-bottom: 1px solid rgba(4,164,255,0.1);
  padding: 3rem 0;
}

.stats-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
}

.stat-item {
  flex: 1;
  min-width: 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 1rem;
}

.stat-number {
  font-family: 'Syne', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  letter-spacing: -0.04em;
}

.stat-plus {
  font-family: 'Syne', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--blue);
  line-height: 1;
  margin-left: 2px;
  display: inline-block;
  vertical-align: super;
}

.stat-number, .stat-plus {
  display: inline;
}

.stat-item {
  align-items: center;
  text-align: center;
}

.stat-number-wrap {
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.stat-label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
  margin-top: 4px;
}

.stat-divider {
  width: 1px;
  height: 60px;
  background: rgba(255,255,255,0.07);
  flex-shrink: 0;
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about {
  padding: 6rem 0;
  background: var(--light-bg);
}

.about .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about .about-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 3rem;
  width: 100%;
}

.about .about-content .left {
  width: 42%;
  display: flex;
  justify-content: center;
}

.about-img-wrap {
  position: relative;
  display: inline-block;
}

.about-img-wrap img {
  width: 340px;
  height: 340px;
  object-fit: cover;
  border-radius: 30px;
  position: relative;
  z-index: 1;
  transition: transform 0.5s ease, border-radius 0.5s ease;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.about-img-wrap img:hover {
  transform: scale(1.02) rotate(-1deg);
  border-radius: 50%;
}

.img-ring {
  position: absolute;
  inset: -12px;
  border-radius: 34px;
  border: 2px dashed rgba(4,164,255,0.3);
  animation: rotateSlow 20s linear infinite;
  z-index: 0;
}

@keyframes rotateSlow {
  to { transform: rotate(360deg); }
}

.img-badge {
  position: absolute;
  bottom: -14px;
  right: -14px;
  background: var(--blue);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 6px 20px var(--blue-glow);
  z-index: 2;
  white-space: nowrap;
  animation: badgePop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
  animation-delay: 1.2s;
}

@keyframes badgePop {
  from { transform: scale(0.5); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

.about .about-content .right {
  width: 52%;
}

.about .about-content .right .text {
  font-family: 'Syne', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.3;
  color: var(--text-main);
}

.about .about-content .right .text span {
  color: var(--blue);
}

.about .about-content .right p {
  text-align: justify;
  margin-bottom: 0.85rem;
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 0.97rem;
}

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 1.2rem 0 1.5rem;
}

.about-tags span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  color: var(--blue);
  background: var(--blue-subtle);
  border: 1px solid rgba(4,164,255,0.2);
  border-radius: 6px;
  padding: 4px 10px;
  font-weight: 500;
  transition: var(--transition);
}

.about-tags span:hover {
  background: var(--blue);
  color: var(--white);
  transform: translateY(-2px);
}

.cv-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--blue);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.55rem 1.3rem;
  border-radius: 9px;
  border: 2px solid var(--blue);
  transition: var(--transition);
  box-shadow: 0 4px 16px var(--blue-glow);
}

.btn-primary:hover {
  background: transparent;
  color: var(--blue);
  transform: translateY(-2px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: transparent;
  color: var(--blue);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.55rem 1.3rem;
  border-radius: 9px;
  border: 2px solid var(--blue);
  transition: var(--transition);
}

.btn-outline:hover {
  background: var(--blue);
  color: var(--white);
  transform: translateY(-2px);
}

/* ============================================================
   SERVICES SECTION
   ============================================================ */
.services {
  padding: 6rem 0;
  background: var(--dark-bg);
  color: var(--white);
}

.services .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.services .service-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  width: 100%;
}

.services .card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  padding: 2.2rem 1.8rem;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  cursor: none;
}

.services .card:hover {
  transform: translateY(-8px);
  border-color: rgba(4,164,255,0.4);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 0 1px rgba(4,164,255,0.15);
}

.card-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.services .card:hover .card-glow { opacity: 1; }

.featured-card {
  border-color: rgba(4,164,255,0.3);
  background: linear-gradient(145deg, var(--card-bg), rgba(4,164,255,0.04));
}

.featured-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--blue);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 100px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.service-icon {
  width: 54px;
  height: 54px;
  background: var(--blue-subtle);
  border: 1px solid rgba(4,164,255,0.2);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  transition: var(--transition);
}

.services .card:hover .service-icon {
  background: var(--blue);
  border-color: var(--blue);
  transform: scale(1.1);
}

.service-icon i {
  font-size: 1.4rem;
  color: var(--blue);
  transition: var(--transition);
}

.services .card:hover .service-icon i {
  color: var(--white);
}

.services .card .text {
  font-family: 'Syne', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--white);
}

.services .card p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.55);
  margin-bottom: 1.2rem;
}

.card-arrow {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  color: rgba(4,164,255,0.4);
  font-size: 1.1rem;
  transition: var(--transition);
}

.services .card:hover .card-arrow {
  color: var(--blue);
  transform: translate(3px, -3px);
}

/* ============================================================
   SKILLS SECTION
   ============================================================ */
.skills {
  padding: 6rem 0;
  background: var(--light-bg);
}

.skills .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.skills .skills-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 3rem;
  width: 100%;
}

.skills .skills-content .column.left {
  width: 44%;
}

.skills .left .text {
  font-family: 'Syne', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  color: var(--text-main);
}

.skills .left p {
  margin: 0.75rem 0;
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 0.96rem;
}

.skill-bars {
  margin: 1.8rem 0;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.skill-bar-item {}

.skill-bar-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 6px;
}

.skill-bar-info span:last-child {
  color: var(--blue);
  font-family: 'JetBrains Mono', monospace;
}

.skill-bar-track {
  height: 7px;
  background: rgba(4,164,255,0.1);
  border-radius: 100px;
  overflow: hidden;
  border: 1px solid rgba(4,164,255,0.12);
}

.skill-bar-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--blue), #00c8ff);
  border-radius: 100px;
  transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.skills .left a.btn-primary {
  margin-top: 0.5rem;
}

.skill_image {
  width: 48%;
}

.skill_image .img {
  overflow: hidden;
  box-shadow: 0 16px 50px rgba(0,0,0,0.12);
  position: relative;
}

.skill_image .img::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 60%, rgba(4,164,255,0.15));
  z-index: 1;
  pointer-events: none;
}

.skill_image img {
  width: 100%;
  transition: transform 0.5s ease;
  border-radius: 10px;
}

.skill_image img:hover {
  transform: scale(1.04);
}

/* ============================================================
   BG FIXED BANNER
   ============================================================ */
.bg-fixed-1 {
  background: url("../Images/Bg_1.jpg") no-repeat center / cover;
  background-attachment: fixed;
  min-height: 55vh;
  position: relative;
  color: var(--white);
  display: flex;
  align-items: center;
  padding: 4rem 3rem;
  overflow: hidden;
}

.bg-fixed-1::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(5,13,26,0.82) 0%, rgba(0,60,120,0.55) 100%);
}

.bg-content {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1150px;
  margin: 0 auto;
  gap: 2rem;
  flex-wrap: wrap;
}

.bg-fixed-1 .bg-text-1 {
  font-family: 'Syne', sans-serif;
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.bg-fixed-1 .bg-text-2 {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  font-size: 1.15rem;
  opacity: 0.85;
}

.bg-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue);
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.65rem 1.5rem;
  border-radius: 10px;
  border: 2px solid var(--blue);
  transition: var(--transition);
  width: fit-content;
  box-shadow: 0 4px 20px var(--blue-glow);
}

.bg-cta:hover {
  background: transparent;
  color: var(--white);
  transform: translateX(5px);
}

/* ============================================================
   TEAMS / PROJECTS SECTION
   ============================================================ */
.teams {
  padding: 6rem 0;
  background: var(--darker-bg);
  color: var(--white);
}

.teams .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.teamsStack {
  background: var(--ink-2);
  padding: 4rem 2rem;
  border-top: 1px solid rgba(4,164,255,0.08);
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact {
  padding: 6rem 0;
  background: var(--light-bg);
}

.contact .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact .contact-content {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3rem;
  align-items: start;
  width: 100%;
}

.contact .contact-content .text {
  font-family: 'Syne', sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.contact .contact-content .left p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-size: 0.97rem;
}

.contact .icons {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.contact .row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.07);
  transition: var(--transition);
}

.contact .row:last-child { border-bottom: none; }

.contact .row:hover { padding-left: 8px; }

.icon-wrap {
  width: 40px;
  height: 40px;
  background: var(--blue-subtle);
  border: 1px solid rgba(4,164,255,0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
}

.contact .row:hover .icon-wrap {
  background: var(--blue);
  border-color: var(--blue);
}

.icon-wrap i {
  font-size: 1rem;
  color: var(--blue);
  transition: var(--transition);
}

.contact .row:hover .icon-wrap i { color: var(--white); }

.contact .row .info .head {
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #888;
  margin-bottom: 2px;
}

.contact .row .info .sub-title {
  color: var(--text-main);
  font-size: 0.94rem;
  font-weight: 500;
}

.contact .row .info .sub-title a {
  color: var(--blue-dark);
  transition: color 0.2s ease;
}

.contact .row .info .sub-title a:hover { color: var(--blue); }

/* Contact form */
.contact .contact-content .right {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.07);
  padding: 2rem 2rem 2.2rem;
  box-shadow: 0 8px 40px rgba(0,0,0,0.06);
}

.contact .right .h-cont {
  margin-bottom: 1.2rem;
}

.contact .right form .fields {
  display: flex;
  column-gap: 12px;
}

.contact .right form .fields .field,
.contact .right form .field {
  margin-bottom: 1rem;
  width: 100%;
  height: 2.6rem;
}

.contact .right form .txtarea {
  height: 8rem;
}

.contact .right form .field input,
.contact .right form textarea {
  height: 100%;
  width: 100%;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  outline: none;
  padding: 0 0.95rem;
  font-size: 0.94rem;
  font-family: 'Ubuntu', sans-serif;
  transition: var(--transition);
  color: var(--text-main);
}

.contact .right form .field input:focus,
.contact .right form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(4,164,255,0.12);
  background: var(--white);
}

.contact .right form textarea {
  padding-top: 0.85rem;
  resize: none;
}

.contact .right form .field input.inputError,
.contact .right form textarea.inputError {
  border-color: #e53e3e;
  background: #fff5f5;
}

.contact .right form .btn {
  border: 2px solid var(--blue);
  background: var(--blue);
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 10px;
  padding: 0.55rem 1.4rem;
  cursor: none;
  font-family: 'Ubuntu', sans-serif;
  transition: var(--transition);
  letter-spacing: 0.02em;
  box-shadow: 0 4px 14px var(--blue-glow);
}

.contact .right form .btn:hover {
  background: transparent;
  color: var(--blue);
}

.captcha {
  margin: 1rem 0 1.4rem;
}

.contact .right .conf-msg {
  padding: 0.6rem 0.8rem;
  margin: 0.8rem 0;
  width: 100%;
  border-radius: 8px;
  text-align: center;
  font-size: 0.88rem;
  font-weight: 500;
}

.contact .right .conf-msg.error {
  background: #7f0000;
  color: var(--white);
  border: 1px solid #cc0000;
}

.contact .right .conf-msg.success {
  background: #014d21;
  color: var(--white);
  border: 1px solid #00a63e;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--ink);
  padding: 3rem 2rem 1.5rem;
  color: var(--white);
  border-top: 1px solid rgba(4,164,255,0.1);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2rem;
  max-width: 1150px;
  margin: 0 auto 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-brand {
  max-width: 280px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 0.8rem;
}

.footer-bolt {
  color: var(--blue);
  font-size: 1.3rem;
}

.footer-logo a {
  font-family: 'Syne', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
}

.footer-brand p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.35);
  line-height: 1.6;
}

.footer-links {
  display: flex;
  gap: 3rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-col h4 {
  font-family: 'Syne', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.35);
  margin-bottom: 4px;
}

.footer-col a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--blue);
}

.footer-bottom {
  max-width: 1150px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-social {
  display: flex;
  gap: 0.6rem;
}

.footer-social a {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
  transform: translateY(-3px);
}

.copyright {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.25);
}

.copyright .copy {
  color: var(--blue);
  font-weight: 600;
}

/* ============================================================
   RESUME PAGE STYLES
   ============================================================ */
.resume {
  background: #f4f7fc;
  padding: 40px 20px;
  border-radius: 10px;
}

.resume .resume-title {
  font-family: 'Syne', sans-serif;
  font-size: 1.2em;
  font-weight: 700;
  margin: 2em 0 0.8em;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 0.4em;
  border-bottom: 2px solid #e2e8f0;
}

.resume .resume-item {
  padding: 0 0 1.4em 1.4em;
  margin-top: 0.8em;
  border-left: 2px solid var(--resume-blue);
  position: relative;
}

.resume .resume-item::before {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  left: -7px;
  top: 4px;
  background: var(--white);
  border: 2px solid var(--resume-blue);
}

.resume .resume-item h4 {
  font-family: 'Syne', sans-serif;
  font-size: 1em;
  font-weight: 700;
  text-transform: uppercase;
  color: #111827;
  margin-bottom: 6px;
}

.resume .resume-item h5 {
  font-size: 0.85em;
  background: #dbeafe;
  color: var(--resume-blue);
  padding: 4px 12px;
  display: inline-block;
  font-weight: 700;
  margin-bottom: 8px;
  border-radius: 5px;
}

.resume .resume-item ul {
  padding-left: 1.2em;
  margin-top: 4px;
}

.resume .resume-item ul li {
  padding-bottom: 6px;
  color: var(--text-muted);
  line-height: 1.65;
  font-size: 0.95em;
}

.resume .resume-item p {
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 0.94em;
}

.resume button {
  background: var(--blue);
  font-size: 0.95em;
  padding: 0.5em 1.4em;
  color: var(--white);
  border-radius: 8px;
  font-weight: 600;
  border: 2px solid var(--blue);
  transition: var(--transition);
  cursor: pointer;
  font-family: 'Ubuntu', sans-serif;
}

.resume button:hover { background: transparent; color: var(--blue); }
.resume button:disabled { background: #9ca3af; border-color: #9ca3af; cursor: not-allowed; opacity: 0.7; }