:root {
  --blue: #1E3A8A;
  --blue-light: #2D4FAF;
  --blue-dark: #142A6B;
  --orange: #F97316;
  --orange-dark: #EA6205;
  --white: #FFFFFF;
  --off-white: #F8FAFF;
  --black: #0A0A0A;
  --gray: #6B7280;
  --gray-light: #E5E9F5;
  --text: #1A1A2E;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  background: var(--white);
  cursor: none;
  overflow-x: hidden;
}

/* ── Custom Cursor ── */
#cursor {
  width: 12px;
  height: 12px;
  background: var(--orange);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s, width 0.25s, height 0.25s, background 0.25s;
}

#cursor-ring {
  width: 36px;
  height: 36px;
  border: 2px 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.18s ease-out, width 0.3s, height 0.3s, border-color 0.3s;
}

body:has(a:hover) #cursor,
body:has(button:hover) #cursor {
  width: 20px;
  height: 20px;
  background: var(--orange-dark);
}

body:has(a:hover) #cursor-ring,
body:has(button:hover) #cursor-ring {
  width: 52px;
  height: 52px;
  border-color: var(--orange);
}

/* ── Scrollbar ── */
::-webkit-scrollbar {
  width: 4px;
}

::-webkit-scrollbar-track {
  background: var(--off-white);
}

::-webkit-scrollbar-thumb {
  background: var(--blue);
  border-radius: 2px;
}

/* ── Nav ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 18px 60px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s, padding 0.3s;
}

nav.scrolled {
  border-color: var(--gray-light);
  box-shadow: 0 4px 30px rgba(30, 58, 138, 0.08);
  padding: 12px 60px;
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--blue);
  text-decoration: none;
  letter-spacing: -0.5px;
}

.nav-logo span {
  color: var(--orange);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.3px;
  position: relative;
  padding-bottom: 3px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: width 0.3s;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  background: var(--blue);
  color: var(--white) !important;
  padding: 10px 22px;
  padding-bottom: 10px !important;
  border-radius: 6px;
  font-weight: 600 !important;
  transition: background 0.25s, transform 0.2s, box-shadow 0.25s !important;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  background: var(--orange) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(249, 115, 22, 0.3) !important;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: none;
}

.nav-hamburger span {
  width: 24px;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
  transition: 0.3s;
}

/* ── Hero ── */
#home {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 60px 80px;
  background: linear-gradient(135deg, var(--off-white) 0%, #EEF2FF 50%, var(--white) 100%);
  position: relative;
  overflow: hidden;
}

.hero-bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-bg-shapes .shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.12;
}

.shape-1 {
  width: 500px;
  height: 500px;
  background: var(--blue);
  top: -100px;
  right: -100px;
  animation: float1 8s ease-in-out infinite;
}

.shape-2 {
  width: 300px;
  height: 300px;
  background: var(--orange);
  bottom: 50px;
  left: 10%;
  animation: float2 6s ease-in-out infinite;
}

.shape-3 {
  width: 200px;
  height: 200px;
  background: var(--blue-light);
  top: 40%;
  left: 40%;
  animation: float1 10s ease-in-out infinite reverse;
}

@keyframes float1 {
  0%, 100% {
    transform: translateY(0) scale(1)
  }
  50% {
    transform: translateY(-30px) scale(1.05)
  }
}

@keyframes float2 {
  0%, 100% {
    transform: translateY(0) rotate(0deg)
  }
  50% {
    transform: translateY(-20px) rotate(5deg)
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(30, 58, 138, 0.08);
  border: 1px solid rgba(30, 58, 138, 0.15);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: 0.5px;
  margin-bottom: 28px;
  animation: fadeUp 0.6s ease both;
}

.hero-badge::before {
  content: '●';
  color: var(--orange);
  font-size: 0.6rem;
}

h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--text);
  letter-spacing: -1.5px;
  margin-bottom: 18px;
  animation: fadeUp 0.6s 0.1s ease both;
}

h1 .accent {
  color: var(--orange);
  font-style: italic;
}

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

.hero-sub {
  font-size: 1.05rem;
  color: var(--gray);
  font-weight: 400;
  line-height: 1.6;
  margin-bottom: 36px;
  animation: fadeUp 0.6s 0.2s ease both;
}

.hero-sub strong {
  color: var(--blue);
  font-weight: 600;
}

.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  animation: fadeUp 0.6s 0.3s ease both;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange);
  color: var(--white);
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: none;
  transition: transform 0.25s, box-shadow 0.25s, background 0.25s;
  box-shadow: 0 6px 24px rgba(249, 115, 22, 0.35);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(249, 115, 22, 0.45);
  background: var(--orange-dark);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--blue);
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid var(--blue);
  cursor: none;
  transition: all 0.25s;
}

.btn-secondary:hover {
  background: var(--blue);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(30, 58, 138, 0.25);
}

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 44px;
  animation: fadeUp 0.6s 0.4s ease both;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 900;
  color: var(--blue);
  letter-spacing: -1px;
  line-height: 1;
}

.stat-num span {
  color: var(--orange);
}

.stat-label {
  font-size: 0.78rem;
  color: var(--gray);
  font-weight: 500;
  margin-top: 4px;
}

.stat-divider {
  width: 1px;
  background: var(--gray-light);
}

/* Hero Image */
.hero-image-wrap {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  animation: fadeLeft 0.8s 0.2s ease both;
}

.hero-image-card {
  position: relative;
  width: 420px;
  height: 520px;
}

.hero-img-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, var(--blue) 0%, var(--blue-dark) 100%);
  border-radius: 24px 24px 80px 24px;
  transform: rotate(3deg) translateX(12px) translateY(12px);
  box-shadow: 0 30px 80px rgba(30, 58, 138, 0.3);
}

.hero-img-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  border-radius: 24px 24px 80px 24px;
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.hero-avatar {
  width: 100%;
  height: 100%;
  background: linear-gradient(165deg, #C7D2F5 0%, #93A8E0 30%, var(--blue) 70%, var(--blue-dark) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
}

/* Stylized person silhouette */
.avatar-figure {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 88%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.avatar-body {
  position: relative;
  width: 240px;
  height: 100%;
}

.avatar-head {
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, #F5D5B8, #E8B88A);
  border-radius: 50%;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.avatar-head::before {
  content: '';
  position: absolute;
  width: 60px;
  height: 35px;
  background: linear-gradient(135deg, #2C1810, #3D2418);
  border-radius: 50% 50% 0 0;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
}

.avatar-suit {
  position: absolute;
  top: 78px;
  left: 50%;
  transform: translateX(-50%);
  width: 160px;
  height: 340px;
  background: linear-gradient(175deg, #1E3A8A, #142A6B);
  border-radius: 20px 20px 0 0;
  clip-path: polygon(15% 0%, 85% 0%, 100% 100%, 0% 100%);
}

.avatar-suit::before {
  content: '';
  position: absolute;
  width: 30px;
  height: 80px;
  background: linear-gradient(175deg, #ffffff22, #ffffff08);
  left: 50%;
  transform: translateX(-50%);
  border-radius: 0 0 4px 4px;
  top: 0;
}

.avatar-shirt {
  position: absolute;
  top: 78px;
  left: 50%;
  transform: translateX(-50%);
  width: 46px;
  height: 90px;
  background: linear-gradient(175deg, #F0F4FF, #DDE5FF);
  clip-path: polygon(20% 0%, 80% 0%, 70% 100%, 30% 100%);
  z-index: 1;
}

.avatar-tie {
  position: absolute;
  top: 82px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 70px;
  background: linear-gradient(175deg, var(--orange), var(--orange-dark));
  border-radius: 2px 2px 4px 4px;
  z-index: 2;
  clip-path: polygon(25% 0%, 75% 0%, 100% 60%, 50% 100%, 0% 60%);
}

.avatar-arms {
  position: absolute;
  top: 85px;
  left: 50%;
  transform: translateX(-50%);
  width: 180px;
  height: 220px;
}

.arm-left,
.arm-right {
  position: absolute;
  width: 28px;
  height: 180px;
  background: linear-gradient(175deg, #1E3A8A, #142A6B);
  border-radius: 10px;
  top: 0;
}

.arm-left {
  left: 0;
  transform: rotate(5deg);
}

.arm-right {
  right: 0;
  transform: rotate(-5deg);
}

.hand {
  position: absolute;
  bottom: -8px;
  width: 28px;
  height: 36px;
  background: linear-gradient(135deg, #F5D5B8, #E8B88A);
  border-radius: 8px;
}

/* Badge floating on image */
.float-badge {
  position: absolute;
  z-index: 5;
  background: var(--white);
  border-radius: 14px;
  padding: 12px 16px;
  box-shadow: 0 10px 40px rgba(30, 58, 138, 0.18);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: floatBadge 4s ease-in-out infinite;
}

.float-badge-1 {
  top: 40px;
  right: -30px;
}

.float-badge-2 {
  bottom: 60px;
  left: -40px;
  animation-delay: -2s;
}

@keyframes floatBadge {
  0%, 100% {
    transform: translateY(0)
  }
  50% {
    transform: translateY(-8px)
  }
}

.fb-icon {
  font-size: 1.3rem;
}

.fb-text {
  display: flex;
  flex-direction: column;
}

.fb-num {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
}

.fb-label {
  font-size: 0.7rem;
  color: var(--gray);
  font-weight: 500;
}

/* ── Trusted By ── */
.trusted-bar {
  background: var(--blue);
  padding: 20px 60px;
  display: flex;
  align-items: center;
  gap: 40px;
  overflow: hidden;
}

.trusted-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  white-space: nowrap;
}

.trusted-logos {
  display: flex;
  align-items: center;
  gap: 50px;
  animation: marquee 20s linear infinite;
  white-space: nowrap;
}

.trusted-logo {
  font-family: 'Space Mono', monospace;
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 16px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  white-space: nowrap;
}

@keyframes marquee {
  0% {
    transform: translateX(0)
  }
  100% {
    transform: translateX(-50%)
  }
}

/* ── Sections common ── */
section {
  padding: 100px 60px;
}

.section-tag {
  font-family: 'Space Mono', monospace;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-tag::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--orange);
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -1px;
  color: var(--text);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--gray);
  max-width: 540px;
  line-height: 1.7;
}

.section-header {
  margin-bottom: 60px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* ── About ── */
#about {
  background: var(--off-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-card {
  background: var(--white);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 20px 60px rgba(30, 58, 138, 0.08);
  border: 1px solid var(--gray-light);
}
.about-avatar-sm img{
  width: 100%;
  height: 100%;
  border-radius: 20px 20px 0 0;
  object-fit: cover;  
}


.about-name-sm {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
}

.about-role-sm {
  font-size: 0.82rem;
  color: var(--orange);
  font-weight: 600;
  margin-bottom: 16px;
}

.about-detail-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.about-detail-row svg {
  color: var(--blue);
  flex-shrink: 0;
}

.about-detail-row span {
  font-size: 0.85rem;
  color: var(--gray);
}

.about-accent-block {
  background: var(--blue);
  border-radius: 14px;
  padding: 24px;
  margin-top: 20px;
  display: flex;
  gap: 16px;
  align-items: center;
}

.about-accent-block .num {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--orange);
  line-height: 1;
}

.about-accent-block .lbl {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
}

.about-content .bio {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #374151;
  margin-bottom: 36px;
}

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

.timeline-item {
  display: flex;
  gap: 20px;
  padding-bottom: 28px;
  position: relative;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 17px;
  top: 36px;
  bottom: 0;
  width: 2px;
  background: var(--gray-light);
}

.timeline-item:last-child::before {
  display: none;
}

.timeline-dot {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  background: var(--blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  box-shadow: 0 0 0 4px rgba(30, 58, 138, 0.12);
  font-family: 'Space Mono', monospace;
}

.timeline-body {}

.timeline-year {
  font-size: 0.75rem;
  color: var(--orange);
  font-weight: 700;
  letter-spacing: 1px;
}

.timeline-deg {
  font-weight: 600;
  color: var(--text);
  font-size: 0.95rem;
  margin: 2px 0;
}

.timeline-school {
  font-size: 0.82rem;
  color: var(--gray);
}

/* ── Services ── */
#services {
  background: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: 18px;
  padding: 36px 30px;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s, box-shadow 0.35s, border-color 0.35s;
  cursor: none;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  opacity: 0;
  transition: opacity 0.35s;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 70px rgba(30, 58, 138, 0.15);
  border-color: var(--blue);
}

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

.service-card>* {
  position: relative;
  z-index: 1;
}

.service-icon {
  width: 58px;
  height: 58px;
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.1), rgba(30, 58, 138, 0.05));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  transition: background 0.35s;
}

.service-card:hover .service-icon {
  background: rgba(255, 255, 255, 0.15);
}

.service-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  transition: color 0.35s;
}

.service-card:hover .service-title {
  color: var(--white);
}

.service-desc {
  font-size: 0.87rem;
  color: var(--gray);
  line-height: 1.65;
  margin-bottom: 22px;
  transition: color 0.35s;
}

.service-card:hover .service-desc {
  color: rgba(255, 255, 255, 0.75);
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--orange);
  text-decoration: none;
  transition: gap 0.25s, color 0.35s;
}

.service-card:hover .service-link {
  color: var(--orange);
  gap: 10px;
}

.service-link svg {
  transition: transform 0.25s;
}

.service-link:hover svg {
  transform: translateX(4px);
}

/* ── Portfolio ── */
#portfolio {
  background: var(--off-white);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.project-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--gray-light);
  transition: transform 0.35s, box-shadow 0.35s;
  cursor: none;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(30, 58, 138, 0.12);
}

.project-img {
  height: 220px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-img-bg {
  position: absolute;
  inset: 0;
}

.project-icon {
  font-size: 3.5rem;
  position: relative;
  z-index: 1;
}

.project-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px 20px 0 0;
}

.project-meta {
  padding: 28px;
}

.project-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--orange);
  background: rgba(249, 115, 22, 0.1);
  border-radius: 4px;
  padding: 3px 10px;
  margin-bottom: 12px;
}

.project-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}

.project-desc {
  font-size: 0.88rem;
  color: var(--gray);
  line-height: 1.65;
  margin-bottom: 18px;
}

.project-impact {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  padding: 14px;
  background: var(--off-white);
  border-radius: 10px;
}

.impact-item {
  display: flex;
  flex-direction: column;
}

.impact-val {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--blue);
}

.impact-lbl {
  font-size: 0.68rem;
  color: var(--gray);
  font-weight: 500;
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
  border: 1.5px solid var(--blue);
  padding: 8px 18px;
  border-radius: 6px;
  transition: all 0.25s;
}

.project-link:hover {
  background: var(--blue);
  color: var(--white);
}

/* ── Skills ── */
#skills {
  position: relative;
  background: url('./Asset/bg\ image.avif') no-repeat center center/cover;
  z-index: 1;
}

#skills::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.95) 0%, rgba(20, 42, 107, 0.9) 100%);
  z-index: -1;
}

#skills .section-tag {
  color: var(--orange);
}

#skills .section-tag::before {
  background: var(--orange);
}

#skills .section-title {
  color: var(--white);
}

#skills .section-subtitle {
  color: rgba(255, 255, 255, 0.65);
}

.skills-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}

.skill-item {}

.skill-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.skill-name {
  font-size: 0.92rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.skill-pct {
  font-family: 'Space Mono', monospace;
  font-size: 0.8rem;
  color: var(--orange);
  font-weight: 700;
}

.skill-bar-bg {
  height: 6px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 3px;
  overflow: hidden;
}

.skill-bar-fill {
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--orange), #FBBF24);
  width: 0;
  transition: width 1.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.skills-counters {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 48px;
}

.counter-card {
  text-align: center;
  padding: 30px 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.3s, transform 0.3s;
}

.counter-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-4px);
}

.counter-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.6rem;
  font-weight: 900;
  color: var(--orange);
  line-height: 1;
  display: block;
  margin-bottom: 8px;
}

.counter-lbl {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
}

/* ── Testimonials ── */
#testimonials {
  background: var(--white);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testi-card {
  background: var(--off-white);
  border-radius: 18px;
  padding: 32px;
  border: 1px solid var(--gray-light);
  position: relative;
  transition: box-shadow 0.3s, transform 0.3s;
}

.testi-card:hover {
  box-shadow: 0 20px 50px rgba(30, 58, 138, 0.1);
  transform: translateY(-4px);
}

.testi-quote {
  font-size: 2.5rem;
  color: var(--orange);
  font-family: 'Playfair Display', serif;
  line-height: 1;
  margin-bottom: 16px;
}

.testi-text {
  font-size: 0.92rem;
  color: #374151;
  line-height: 1.75;
  margin-bottom: 24px;
  font-style: italic;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testi-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.testi-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
}

.testi-role {
  font-size: 0.75rem;
  color: var(--gray);
}

.testi-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 14px;
}

.star {
  color: #FBBF24;
  font-size: 0.9rem;
}

/* ── Contact ── */
#contact {
  background: var(--off-white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
}

.contact-info {}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 28px;
}

.contact-icon-wrap {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  background: var(--blue);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.1rem;
}

.contact-item-label {
  font-size: 0.75rem;
  color: var(--gray);
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.contact-item-val {
  font-size: 0.95rem;
  color: var(--text);
  font-weight: 500;
  margin-top: 2px;
}

.contact-item-val a {
  color: var(--text);
  text-decoration: none;
}

.contact-item-val a:hover {
  color: var(--orange);
}

.social-row {
  display: flex;
  gap: 12px;
  margin-top: 36px;
}

.social-btn {
  width: 44px;
  height: 44px;
  background: var(--white);
  border: 1.5px solid var(--gray-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  text-decoration: none;
  color: var(--text);
  transition: all 0.25s;
  cursor: none;
}

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

.contact-form {
  background: var(--white);
  border-radius: 20px;
  padding: 44px;
  box-shadow: 0 20px 60px rgba(30, 58, 138, 0.08);
  border: 1px solid var(--gray-light);
}

.form-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 28px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
  display: block;
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--gray-light);
  border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  color: var(--text);
  background: var(--off-white);
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
  cursor: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.08);
  background: var(--white);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-submit {
  width: 100%;
  padding: 14px;
  background: var(--orange);
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: none;
  transition: all 0.25s;
  box-shadow: 0 6px 20px rgba(249, 115, 22, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.form-submit:hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(249, 115, 22, 0.4);
}

.form-success {
  display: none;
  text-align: center;
  padding: 30px;
  color: var(--blue);
}

.form-success.show {
  display: block;
}

.form-success .success-icon {
  font-size: 3rem;
  margin-bottom: 12px;
}

.form-success p {
  font-size: 0.95rem;
  color: var(--gray);
}

/* ── Footer ── */
footer {
  background: var(--text);
  padding: 40px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
}

.footer-logo span {
  color: var(--orange);
}

.footer-copy {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color 0.25s;
}

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

/* ── Lead Popup ── */
.popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(10, 10, 10, 0.7);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}

.popup-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.popup-card {
  background: var(--white);
  border-radius: 24px;
  padding: 50px 44px;
  max-width: 480px;
  width: 90%;
  position: relative;
  transform: translateY(30px) scale(0.97);
  transition: transform 0.4s;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.25);
}

.popup-overlay.active .popup-card {
  transform: translateY(0) scale(1);
}

.popup-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--gray-light);
  border: none;
  font-size: 1rem;
  cursor: none;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.popup-close:hover {
  background: var(--gray-light);
}

.popup-tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.popup-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--text);
  margin-bottom: 10px;
}

.popup-sub {
  font-size: 0.88rem;
  color: var(--gray);
  margin-bottom: 26px;
  line-height: 1.6;
}

.popup-input {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--gray-light);
  border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  outline: none;
  margin-bottom: 12px;
  cursor: none;
  transition: border-color 0.25s;
}

.popup-input:focus {
  border-color: var(--blue);
}

.popup-btn {
  width: 100%;
  padding: 13px;
  background: var(--orange);
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: none;
  transition: all 0.25s;
  font-family: 'DM Sans', sans-serif;
}

.popup-btn:hover {
  background: var(--orange-dark);
}

.popup-disclaimer {
  font-size: 0.72rem;
  color: var(--gray);
  text-align: center;
  margin-top: 12px;
}

/* ── Animations ── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px)
  }
  to {
    opacity: 1;
    transform: translateY(0)
  }
}

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

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

.reveal-delay-4 {
  transition-delay: 0.4s;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  nav {
    padding: 16px 30px;
  }
  nav.scrolled {
    padding: 10px 30px;
  }
  section {
    padding: 80px 30px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 60px;
    text-align: center;
  }
  .hero-image-wrap {
    order: -1;
    justify-content: center;
  }
  .hero-image-card {
    width: 320px;
    height: 400px;
  }
  .hero-stats {
    justify-content: center;
  }
  .hero-btns {
    justify-content: center;
  }
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .skills-grid {
    grid-template-columns: 1fr;
  }
  .skills-counters {
    grid-template-columns: repeat(2, 1fr);
  }
  .trusted-bar {
    padding: 16px 30px;
  }
  footer {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
  .float-badge-1 {
    right: -10px;
  }
  .float-badge-2 {
    left: -10px;
  }
}

@media (max-width: 640px) {
   nav{
    justify-content: space-between;
   }
  .nav-links {
    display: none;
  }
  .nav-hamburger {
    display: flex;
  }
  .services-grid,
  .portfolio-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .skills-counters {
    grid-template-columns: repeat(2, 1fr);
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .contact-form {
    padding: 28px;
  }
  section {
    padding: 60px 20px;
  }
  nav {
    padding: 14px 20px;
  }
  .trusted-bar {
    padding: 14px 20px;
  }
  footer {
    padding: 30px 20px;
  }
  .hero-image-card {
    width: 260px;
    height: 320px;
  }
}
