/* ============================================
   Digitize With Pawan - Premium Portfolio CSS
   ============================================ */

/* --- CSS Variables --- */
:root {
  --primary: #0994CD;
  --primary-light: #3db3e8;
  --primary-dark: #0776a8;
  --secondary: #09BEB9;
  --secondary-light: #3dd4cf;
  --secondary-dark: #079e9a;
  --gradient: linear-gradient(135deg, #0994CD, #09BEB9);
  --gradient-reverse: linear-gradient(135deg, #09BEB9, #0994CD);

  /* Dark Theme */
  --bg-primary: #0a0a0f;
  --bg-secondary: #111827;
  --bg-tertiary: #1a1a2e;
  --text-primary: rgba(255, 162, 0, 0.79);
  --text-secondary: #0994CD;
  --text-muted: #64748b;
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  --card-bg: white;
  --nav-bg: white;
  --border-color: rgba(255, 255, 255, 0.08);
  --glow-primary: rgba(9, 148, 205, 0.3);
  --glow-secondary: rgba(9, 190, 185, 0.3);
  --section-alt: #0d0d14;
}

[data-theme="light"] {
  --bg-primary: #f8fafc;
  --bg-secondary: #ffffff;
  --bg-tertiary: #f1f5f9;
  --text-primary: #111827;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.8);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  --card-bg: rgba(255, 255, 255, 0.8);
  --nav-bg: rgba(248, 250, 252, 0.9);
  --border-color: rgba(0, 0, 0, 0.08);
  --glow-primary: rgba(9, 148, 205, 0.15);
  --glow-secondary: rgba(9, 190, 185, 0.15);
  --section-alt: #ffffff;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background 0.4s ease, color 0.4s ease;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

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

/* --- Scrollbar --- */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-light);
}

/* --- Container --- */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Floating Shapes --- */
.floating-shapes {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
  animation: float-shape 20s ease-in-out infinite;
}
.shape-1 { width: 400px; height: 400px; background: var(--primary); top: -100px; left: -100px; animation-delay: 0s; }
.shape-2 { width: 300px; height: 300px; background: var(--secondary); top: 50%; right: -80px; animation-delay: -5s; }
.shape-3 { width: 250px; height: 250px; background: var(--primary); bottom: -50px; left: 30%; animation-delay: -10s; }
.shape-4 { width: 200px; height: 200px; background: var(--secondary); top: 30%; left: 50%; animation-delay: -3s; }
.shape-5 { width: 350px; height: 350px; background: var(--primary); bottom: 20%; right: 20%; animation-delay: -7s; }
.shape-6 { width: 180px; height: 180px; background: var(--secondary); top: 70%; left: 10%; animation-delay: -12s; }

@keyframes float-shape {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(30px, -30px) scale(1.05); }
  50% { transform: translate(-20px, 20px) scale(0.95); }
  75% { transform: translate(15px, 15px) scale(1.02); }
}

/* --- Mouse Follower --- */
.mouse-follower {
  position: fixed;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--glow-primary), transparent 70%);
  pointer-events: none;
  z-index: 1;
  transform: translate(-50%, -50%);
  transition: transform 0.15s ease-out, opacity 0.3s ease;
  opacity: 0;
}
.mouse-follower.active {
  opacity: 1;
}

/* --- Glass Card --- */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  box-shadow: var(--glass-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.glass-card:hover {
  border-color: rgba(9, 148, 205, 0.3);
  box-shadow: var(--glass-shadow), 0 0 30px var(--glow-primary);
}

/* --- Gradient Text --- */
.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Section --- */
.section {
  padding: 100px 0;
  position: relative;
  z-index: 2;
}
.section:nth-child(even) {
  background: var(--section-alt);
}

/* --- Section Header --- */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-tag {
  display: inline-block;
  padding: 6px 16px;
  background: var(--gradient);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: white;
  margin-bottom: 16px;
}
.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.2;
}
.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.btn:hover::before {
  opacity: 1;
}
.btn-primary {
  background: var(--gradient);
  color: white;
  box-shadow: 0 4px 20px var(--glow-primary);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--glow-primary);
}
.btn-secondary {
  background: var(--glass-bg);
  color: var(--text-primary);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--primary);
  transform: translateY(-2px);
}
.btn-white {
  background: white;
  color: #111827;
}
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255,255,255,0.3);
}
.btn-outline-white {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.4);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: white;
  transform: translateY(-2px);
}
.btn-sm {
  padding: 10px 20px;
  font-size: 0.85rem;
}
.btn-full {
  width: 100%;
  justify-content: center;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all 0.3s ease;
  background: transparent;
}
.navbar.scrolled {
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  padding: 10px 0;
}
.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 1001;
}
.nav-logo-img {
    display: block;
    height: auto;
    width: 130px;
    max-width: 100%;
    object-fit: contain;
}
.footer-logo-link .nav-logo-img {
  height: 36px;
}
.logo-p1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.logo-text {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.3s ease;
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient);
  transition: width 0.3s ease;
  border-radius: 2px;
}
.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
}
.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
.theme-toggle:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--primary);
}
[data-theme="dark"] .icon-sun { display: block; }
[data-theme="dark"] .icon-moon { display: none; }
[data-theme="light"] .icon-sun { display: none; }
[data-theme="light"] .icon-moon { display: block; }
.nav-cta {
  padding: 10px 20px;
  background: var(--gradient);
  color: white;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.3s ease;
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px var(--glow-primary);
}
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
  padding: 4px;
}
.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: all 0.3s ease;
  border-radius: 2px;
}
.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  z-index: 2;
}
.hero-bg-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, var(--glow-primary), transparent 50%),
    radial-gradient(ellipse at 80% 50%, var(--glow-secondary), transparent 50%);
  z-index: -1;
}
.hero-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 120px 24px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  width: 100%;
}
.hero-content {
  position: relative;
  z-index: 2;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
}
.badge-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  animation: blink 2s ease-in-out infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
.hero-title {
  margin-bottom: 24px;
}
.hero-greeting {
  display: block;
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 8px;
}
.hero-name {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 12px;
}
.hero-role {
  display: block;
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: var(--text-secondary);
  font-weight: 500;
}
.role-cursor {
  animation: cursor-blink 1s step-end infinite;
  color: var(--primary);
  font-weight: 300;
}
@keyframes cursor-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}
.hero-description {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 32px;
  max-width: 560px;
}
.hero-cta {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.hero-stats {
  display: flex;
  gap: 40px;
}
.stat {
  text-align: left;
}
.stat-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-suffix {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Hero Visual */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-image-wrapper {
  position: relative;
}
.hero-image-glow {
  position: absolute;
  inset: -20px;
  background: var(--gradient);
  border-radius: 30px;
  filter: blur(60px);
  opacity: 0.3;
  animation: glow-pulse 4s ease-in-out infinite;
}
@keyframes glow-pulse {
  0%, 100% { opacity: 0.2; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.05); }
}
.hero-image-card {
  padding: 40px;
  text-align: center;
  position: relative;
  z-index: 1;
  min-width: 320px;
}
.hero-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  overflow: hidden;
}
.avatar-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.hero-card-logo {
  margin-bottom: 16px;
}
.hero-card-logo img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    margin: 0 auto;
    border: 5px solid #0994cd;
    box-shadow: 0 10px 30px rgba(9, 148, 205, 0.25);
}
.hero-site-logo {
  height: 60px;
  width: auto;
  margin: 0 auto;
  display: block;
}
.hero-image-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.hero-image-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 16px;
}
.hero-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.hero-card-tags span {
  padding: 4px 12px;
  background: var(--gradient);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  color: white;
}

/* Scroll Indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: var(--gradient);
  animation: scroll-bounce 2s ease-in-out infinite;
}
@keyframes scroll-bounce {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50% { transform: scaleY(0.5); opacity: 0.5; }
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}
.about-text {
  padding: 36px;
  height: 100%;
}
.about-text p {
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.8;
}
.about-text p:last-child {
  margin-bottom: 0;
}
.about-text strong {
  color: var(--text-primary);
}
.about-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.about-card {
  padding: 28px;
}
.about-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  margin-bottom: 16px;
}
.about-card h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.about-card-title {
  font-weight: 600;
  color: var(--text-primary);
}
.about-card-sub, .about-card-detail {
  color: var(--text-secondary);
  font-size: 0.9rem;
}
.about-card-detail.cert {
  color: var(--secondary);
  font-size: 0.85rem;
  margin-top: 4px;
}
.about-card-year {
  display: inline-block;
  margin-top: 8px;
  padding: 4px 12px;
  background: var(--gradient);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  color: white;
}

/* Timeline */
.timeline-section {
  margin-top: 20px;
}
.timeline-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
}
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding-left: 40px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gradient);
}
.timeline-item {
  position: relative;
  margin-bottom: 32px;
}
.timeline-dot {
  position: absolute;
  left: -33px;
  top: 24px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary);
  border: 3px solid var(--bg-primary);
  z-index: 1;
}
.active-dot {
  background: var(--secondary);
  box-shadow: 0 0 20px var(--glow-secondary);
}
.transition-dot {
  background: var(--primary);
  box-shadow: 0 0 15px var(--glow-primary);
}
.timeline-content {
  padding: 24px;
}
.transition-card {
  border-left: 3px solid var(--primary);
}
.active-card {
  border-left: 3px solid var(--secondary);
}
.timeline-date {
  display: inline-block;
  padding: 4px 12px;
  background: var(--gradient);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  color: white;
  margin-bottom: 8px;
}
.timeline-content h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.timeline-company {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 12px;
}
.timeline-content p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 8px;
}
.timeline-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.timeline-tags span {
  padding: 4px 12px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-secondary);
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  padding: 32px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient);
  transform: scaleX(0);
  transition: transform 0.4s ease;
  transform-origin: left;
}
.service-card:hover::before {
  transform: scaleX(1);
}
.service-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--icon-color) 20%, transparent), color-mix(in srgb, var(--icon-color) 10%, transparent));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--icon-color, var(--primary));
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}
.service-card:hover .service-icon {
  transform: scale(1.1);
}
.service-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.service-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 16px;
}
.service-link a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  transition: gap 0.3s ease;
}
.service-link a:hover {
  gap: 10px;
}

/* ============================================
   SKILLS SECTION
   ============================================ */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
}
.skill-item {
  text-align: center;
}
.skill-circle {
  position: relative;
  width: 100px;
  height: 100px;
  margin: 0 auto 12px;
}
.skill-circle svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}
.skill-bg {
  fill: none;
  stroke: var(--glass-border);
  stroke-width: 6;
}
.skill-progress {
  fill: none;
  stroke: url(#skillGradient);
  stroke: var(--primary);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-dasharray: 339.292;
  stroke-dashoffset: 339.292;
  transition: stroke-dashoffset 1.5s ease-in-out;
}
.skill-value {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
}
.skill-name {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
}

/* ============================================
   PORTFOLIO SECTION
   ============================================ */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.portfolio-card {
  overflow: hidden;
}
.portfolio-image {
  position: relative;
  overflow: hidden;
  height: 260px;
}
.portfolio-image-placeholder {
  width: 100%;
  height: 100%;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  opacity: 0.9;
  transition: transform 0.5s ease;
}
.portfolio-card:hover .portfolio-image-placeholder {
  transform: scale(1.05);
}
.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.portfolio-card:hover .portfolio-overlay {
  opacity: 1;
}
.portfolio-info {
  padding: 28px;
}
.portfolio-meta {
  margin-bottom: 8px;
}
.portfolio-industry {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.portfolio-info h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.portfolio-info p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 16px;
}
.portfolio-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.portfolio-tags span {
  padding: 4px 12px;
  background: var(--gradient);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  color: white;
}

/* ============================================
   ACHIEVEMENTS SECTION
   ============================================ */
.achievements-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}
.achievement-card {
  padding: 32px 20px;
  text-align: center;
}
.achievement-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  margin: 0 auto 16px;
}
.achievement-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}
.stat-plus {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.counter-text {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.achievement-card p {
  color: var(--text-secondary);
  font-size: 0.85rem;
}

/* ============================================
   WHY CHOOSE ME
   ============================================ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.why-card {
  padding: 28px 20px;
  text-align: center;
  transition: all 0.4s ease;
}
.why-card:hover {
  transform: translateY(-8px);
}
.why-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  margin: 0 auto 16px;
}
.why-card h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.why-card p {
  color: var(--text-secondary);
  font-size: 0.8rem;
  line-height: 1.5;
}

/* ============================================
   INDUSTRIES SECTION
   ============================================ */
.industries-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  max-width: 1000px;
  margin: 0 auto;
}
.industry-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all 0.3s ease;
  cursor: default;
  backdrop-filter: blur(10px);
}
.industry-chip.highlighted {
  background: var(--gradient);
  color: white;
  border-color: transparent;
  box-shadow: 0 4px 15px var(--glow-primary);
  font-weight: 600;
}
.industry-chip.highlighted:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px var(--glow-primary);
}
.industry-chip.hidden-industry {
  display: none;
}
.industry-chip.hidden-industry.show {
  display: inline-flex;
}
.industry-chip:hover {
  background: var(--gradient);
  color: white;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 4px 20px var(--glow-primary);
}
.industry-icon {
  font-size: 1rem;
}
.show-more-wrapper {
  text-align: center;
  margin-top: 24px;
}
.show-more-btn {
  cursor: pointer;
}
.show-more-btn.expanded svg {
  transform: rotate(180deg);
}
.show-more-btn svg {
  transition: transform 0.3s ease;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-wrapper {
  position: relative;
  overflow: hidden;
  padding: 0 0 20px;
}
.testimonials-track {
  display: flex;
  gap: 24px;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 10px 0;
}
.testimonial-card {
  min-width: calc(33.333% - 16px);
  flex: 0 0 calc(33.333% - 16px);
  padding: 32px;
  border-radius: 20px;
}
.testimonial-stars {
  color: #f59e0b;
  font-size: 1.2rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}
.testimonial-text {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 20px;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 0.9rem;
}
.testimonial-author h5 {
  font-weight: 600;
  font-size: 0.95rem;
}
.testimonial-author span {
  color: var(--text-muted);
  font-size: 0.8rem;
}
.testimonial-nav {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}
.testimonial-btn {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}
.testimonial-btn:hover {
  background: var(--gradient);
  border-color: transparent;
  color: white;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
}
.contact-card-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 14px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}
.contact-card h4 {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 2px;
}
.contact-card a, .contact-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}
.contact-card a:hover {
  color: var(--primary);
}
.social-links {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}
.social-link {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: var(--text-secondary);
  transition: all 0.3s ease;
}
.social-link:hover {
  color: var(--primary);
  transform: translateY(-3px);
}

/* Contact Form */
.contact-form {
  padding: 32px;
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-primary);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--glow-primary);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}
.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}
.form-group select option {
  background: var(--bg-secondary);
  color: var(--text-primary);
}
.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-status {
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 16px;
  line-height: 1.5;
}
.form-status.success {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #22c55e;
}
.form-status.error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #ef4444;
}
#submitBtn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
  z-index: 2;
}
.cta-bg-gradient {
  position: absolute;
  inset: 0;
  background: var(--gradient);
  z-index: -1;
}
.cta-content {
  text-align: center;
  color: white;
}
.cta-content h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 16px;
}
.cta-content p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  padding: 60px 0 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  position: relative;
  z-index: 2;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-top: 16px;
  line-height: 1.7;
}
.footer-links h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.footer-links a, .footer-links p {
  display: block;
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 10px;
  transition: color 0.3s ease;
}
.footer-links a:hover {
  color: var(--primary);
}
.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding: 20px 0;
  text-align: center;
}
.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ============================================
   WHATSAPP FLOAT
   ============================================ */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: all 0.3s ease;
  animation: whatsapp-pulse 2s ease-in-out infinite;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}
@keyframes whatsapp-pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.6); }
}

/* ============================================
   SCROLL REVEAL
   ============================================ */
.reveal-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal-up.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   FAQ ACCORDION
   ============================================ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.faq-item {
  padding: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}
.faq-item:hover {
  transform: translateY(-2px);
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  color: var(--text-primary);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
  transition: color 0.3s ease;
}
.faq-question:hover {
  color: var(--primary);
}
.faq-icon {
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform 0.3s ease, color 0.3s ease;
}
.faq-item.active .faq-icon {
  transform: rotate(180deg);
  color: var(--primary);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}
.faq-item.active .faq-answer {
  max-height: 300px;
}
.faq-answer p {
  padding: 0 24px 20px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.8;
  margin: 0;
}

/* ============================================
   BUTTON ANIMATIONS
   ============================================ */
@keyframes btn-click-flash {
  0% { transform: scale(1); }
  50% { transform: scale(0.96); }
  100% { transform: scale(1); }
}
.btn.animate-click {
  animation: btn-click-flash 0.3s ease;
}

/* ============================================
   PREMIUM GLASS SHINE SWEEP
   ============================================ */
.btn-glass-shine,
.nav-cta-glass-shine {
  position: relative;
  overflow: hidden;
}
.btn-glass-shine::after,
.nav-cta-glass-shine::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -120%;
  width: 60%;
  height: 200%;
  background: linear-gradient(
    105deg,
    transparent 28%,
    rgba(255, 255, 255, 0.12) 40%,
    rgba(255, 255, 255, 0.28) 50%,
    rgba(255, 255, 255, 0.12) 60%,
    transparent 72%
  );
  transform: skewX(-20deg);
  animation: glass-shine-sweep 2.5s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}
.btn-glass-shine {
  box-shadow: 0 4px 20px var(--glow-primary),
              0 1px 3px rgba(0, 0, 0, 0.12),
              inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.btn-glass-shine:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px var(--glow-primary),
              0 4px 12px rgba(0, 0, 0, 0.15),
              inset 0 1px 0 rgba(255, 255, 255, 0.15);
}
.nav-cta-glass-shine {
  box-shadow: 0 2px 12px var(--glow-primary),
              inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.nav-cta-glass-shine:hover {
  box-shadow: 0 4px 20px var(--glow-primary),
              inset 0 1px 0 rgba(255, 255, 255, 0.15);
}
.btn-white.btn-glass-shine {
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.2),
              0 1px 3px rgba(0, 0, 0, 0.08),
              inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.btn-white.btn-glass-shine:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(255, 255, 255, 0.25),
              0 4px 12px rgba(0, 0, 0, 0.1),
              inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.btn-outline-white.btn-glass-shine {
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.08),
              inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.btn-outline-white.btn-glass-shine:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(255, 255, 255, 0.12),
              inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
@keyframes glass-shine-sweep {
  0%, 12% { left: -120%; }
  50%, 100% { left: 150%; }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  .hero-content {
    order: 1;
  }
  .hero-visual {
    order: 0;
  }
  .hero-description {
    margin: 0 auto 32px;
  }
  .hero-cta {
    justify-content: center;
  }
  .hero-stats {
    justify-content: center;
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .achievements-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .why-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .testimonial-card {
    min-width: calc(50% - 12px);
    flex: 0 0 calc(50% - 12px);
  }
}

@media (max-width: 768px) {
  .nav-logo-img {
    height: 28px !important;
  }
  .nav-logo > img {
    width: 130px !important;
  }
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--bg-secondary);
    flex-direction: column;
    padding: 100px 32px 32px;
    gap: 20px;
    transition: right 0.3s ease;
    border-left: 1px solid var(--border-color);
    z-index: 1000;
  }
  .nav-links.active {
    right: 0;
  }
  .nav-cta {
    display: none;
  }
  .menu-toggle {
    display: flex;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
  .achievements-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .skills-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .hero-image-card {
    min-width: auto;
    width: 100%;
  }
  .testimonial-card {
    min-width: calc(100vw - 48px);
    flex: 0 0 calc(100vw - 48px);
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .section {
    padding: 60px 0;
  }
}

@media (max-width: 480px) {
  .hero-stats {
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }
  .stat {
    text-align: center;
  }
  .achievements-grid {
    grid-template-columns: 1fr;
  }
  .why-grid {
    grid-template-columns: 1fr;
  }
  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  .faq-question {
    font-size: 0.9rem;
    padding: 16px 20px;
  }
  .faq-answer p {
    padding: 0 20px 16px;
    font-size: 0.85rem;
  }
}
