/* ==========================================================================
   Nikul Patel - Personal Portfolio Stylesheet
   Theme: Modern Dark Glassmorphism with Cyber Neon Accents
   Fully Responsive Across All Devices (320px - 1920px+)
   ========================================================================== */

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

:root {
  /* Color Palette */
  --bg-dark: #080c14;
  --bg-card: rgba(15, 23, 42, 0.75);
  --bg-card-hover: rgba(30, 41, 59, 0.85);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-border-hover: rgba(0, 242, 254, 0.3);
  
  --primary-gradient: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
  --accent-purple: linear-gradient(135deg, #a855f7 0%, #6366f1 100%);
  --accent-orange: linear-gradient(135deg, #ff7e5f 0%, #feb47b 100%);
  --neon-cyan: #00f2fe;
  --neon-blue: #3b82f6;
  --neon-purple: #8b5cf6;
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  /* Layout & Spacing */
  --container-width: 1200px;
  --header-height: 80px;
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
  
  /* Transitions & Shadows */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-glow: 0 0 25px rgba(0, 242, 254, 0.15);
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  font-size: 16px;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  width: 100%;
}

/* Background Ambient Lights */
body::before {
  content: '';
  position: fixed;
  top: -10%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 242, 254, 0.08) 0%, rgba(0,0,0,0) 70%);
  z-index: -1;
  pointer-events: none;
}

body::after {
  content: '';
  position: fixed;
  bottom: -10%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.08) 0%, rgba(0,0,0,0) 70%);
  z-index: -1;
  pointer-events: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

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

/* Container */
.container {
  width: 90%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1rem;
}

/* Utility Components */
.gradient-text {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-purple {
  background: var(--accent-purple);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section {
  padding: 100px 0;
  position: relative;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-subtitle {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--neon-cyan);
  margin-bottom: 10px;
  display: inline-block;
}

.section-heading {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 800;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 50px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  outline: none;
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary-gradient);
  color: #040914;
  box-shadow: 0 4px 20px rgba(0, 242, 254, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 242, 254, 0.5);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-main);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--neon-cyan);
  color: var(--neon-cyan);
  transform: translateY(-3px);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.875rem;
}

/* Glassmorphism Card Base */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}

.glass-card:hover {
  border-color: var(--glass-border-hover);
  transform: translateY(-5px);
  box-shadow: var(--shadow-glow), var(--shadow-card);
}

/* Header & Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  transition: var(--transition);
  display: flex;
  align-items: center;
}

.header.scrolled {
  background: rgba(8, 12, 20, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  height: 70px;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.logo {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.logo span.icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--primary-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #040914;
  font-size: 1.2rem;
  font-weight: 800;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 25px;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 5px 0;
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-gradient);
  transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
  color: var(--text-main);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.hamburger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.6rem;
  padding: 5px;
  z-index: 1001;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  padding-top: calc(var(--header-height) + 30px);
  padding-bottom: 60px;
  display: flex;
  align-items: center;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
  align-items: center;
  width: 100%;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px;
  border-radius: 30px;
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.2);
  color: var(--neon-cyan);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 24px;
  max-width: 100%;
}

.hero-tag .pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--neon-cyan);
  box-shadow: 0 0 10px var(--neon-cyan);
  animation: pulse 2s infinite;
  flex-shrink: 0;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 242, 254, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(0, 242, 254, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 242, 254, 0); }
}

.hero-title {
  font-size: clamp(2.3rem, 5.5vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.15;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 3.5vw, 1.5rem);
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.typing-text {
  color: var(--neon-cyan);
  border-right: 2px solid var(--neon-cyan);
  white-space: nowrap;
  animation: blink 0.75s step-end infinite;
}

@keyframes blink {
  from, to { border-color: transparent }
  50% { border-color: var(--neon-cyan); }
}

.hero-description {
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  color: var(--text-muted);
  margin-bottom: 35px;
  max-width: 580px;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 45px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-top: 30px;
  border-top: 1px solid var(--glass-border);
}

.stat-item h3 {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 800;
  color: var(--text-main);
}

.stat-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.hero-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  width: 100%;
}

.hero-avatar-frame {
  position: relative;
  width: 320px;
  height: 400px;
  border-radius: 24px;
  padding: 10px;
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.3) 0%, rgba(139, 92, 246, 0.3) 100%);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  max-width: 100%;
}

.hero-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
}

/* Floating Tech Badges */
.floating-badge {
  position: absolute;
  padding: 10px 16px;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.4);
  animation: float 4s ease-in-out infinite;
  white-space: nowrap;
}

.floating-badge.badge-1 {
  top: 8%;
  left: -20px;
  animation-delay: 0s;
}

.floating-badge.badge-2 {
  bottom: 12%;
  right: -20px;
  animation-delay: 2s;
}

.floating-badge i {
  font-size: 1.4rem;
  color: var(--neon-cyan);
}

.badge-text span {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
}

.badge-text strong {
  font-size: 0.85rem;
  color: var(--text-main);
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: flex-start;
}

.about-info-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 30px 0;
}

.info-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.info-item label {
  font-size: 0.78rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.info-item span {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
  word-break: break-word;
  overflow-wrap: anywhere;
}

/* Skill Progress Bars */
.skills-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.skill-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.skill-info {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  font-size: 0.9rem;
}

.skill-bar {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.skill-fill {
  height: 100%;
  border-radius: 10px;
  background: var(--primary-gradient);
  width: 0%;
  transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Experience & Education Timelines */
.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 20px;
  width: 2px;
  background: linear-gradient(180deg, var(--neon-cyan) 0%, var(--neon-purple) 100%);
}

.timeline-item {
  position: relative;
  padding-left: 60px;
  margin-bottom: 40px;
}

.timeline-dot {
  position: absolute;
  left: 11px;
  top: 5px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--bg-dark);
  border: 3px solid var(--neon-cyan);
  box-shadow: 0 0 12px var(--neon-cyan);
  z-index: 2;
}

.timeline-card {
  padding: 30px;
}

.timeline-date {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 20px;
  background: rgba(0, 242, 254, 0.1);
  color: var(--neon-cyan);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.timeline-title {
  font-size: 1.3rem;
  margin-bottom: 6px;
}

.timeline-company {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.timeline-body p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.timeline-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.tech-tag {
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  color: var(--text-muted);
}

/* ==========================================================================
   Published WordPress.org Plugins – Premium Card Grid
   ========================================================================== */
.plugins-subtitle {
  color: var(--text-muted);
  max-width: 650px;
  margin: 15px auto 0 auto;
  text-align: center;
}

.plugins-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 10px;
}

.plugin-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-card);
}

.plugin-card:hover {
  transform: translateY(-6px);
  border-color: var(--glass-border-hover);
  box-shadow: var(--shadow-glow), 0 20px 50px -12px rgba(0, 0, 0, 0.6);
}

/* Image Container */
.plugin-card-img {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.plugin-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.plugin-card:hover .plugin-card-img img {
  transform: scale(1.08);
}

/* Badge */
.plugin-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(0, 242, 254, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 242, 254, 0.35);
  color: var(--neon-cyan);
  padding: 5px 14px;
  border-radius: 30px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 2;
  text-transform: uppercase;
}

/* Hover Overlay */
.plugin-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 12, 20, 0.7);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 3;
}

.plugin-card:hover .plugin-card-overlay {
  opacity: 1;
}

.plugin-overlay-btn {
  padding: 12px 28px;
  border-radius: 30px;
  background: var(--primary-gradient);
  color: #080c14;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transform: translateY(10px);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  box-shadow: 0 8px 20px rgba(0, 242, 254, 0.3);
}

.plugin-card:hover .plugin-overlay-btn {
  transform: translateY(0);
}

.plugin-overlay-btn:hover {
  box-shadow: 0 12px 30px rgba(0, 242, 254, 0.5);
}

/* Card Body */
.plugin-card-body {
  padding: 26px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex-grow: 1;
}

.plugin-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.35;
}

.plugin-card-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Tags */
.plugin-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.plugin-tag {
  font-size: 0.73rem;
  padding: 5px 12px;
  border-radius: 8px;
  background: rgba(0, 242, 254, 0.06);
  border: 1px solid rgba(0, 242, 254, 0.15);
  color: var(--neon-cyan);
  font-weight: 600;
  letter-spacing: 0.2px;
  transition: all 0.25s ease;
}

.plugin-card:hover .plugin-tag {
  background: rgba(0, 242, 254, 0.12);
  border-color: rgba(0, 242, 254, 0.3);
}

/* Footer Link */
.plugin-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  color: var(--neon-cyan);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  padding-top: 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  width: 100%;
}

.plugin-card-link .fa-arrow-right {
  font-size: 0.75rem;
  transition: transform 0.3s ease;
}

.plugin-card-link:hover {
  color: #fff;
}

.plugin-card-link:hover .fa-arrow-right {
  transform: translateX(4px);
}

/* Responsive */
@media (max-width: 768px) {
  .plugins-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .plugin-card-img {
    height: 180px;
  }

  .plugin-card-body {
    padding: 22px 20px 24px;
  }
}

@media (max-width: 480px) {
  .plugin-card-img {
    height: 160px;
  }

  .plugin-card-title {
    font-size: 1.08rem;
  }

  .plugin-card-body {
    padding: 18px 16px 20px;
    gap: 12px;
  }
}


/* ==========================================================================
   Services Grid (Matching Reference Screenshot Design)
   ========================================================================== */
.reference-services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.ref-service-card {
  position: relative;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 42px 22px 36px 22px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05), 0 2px 8px rgba(0, 0, 0, 0.03);
}

.ref-service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(79, 70, 229, 0.15), 0 4px 12px rgba(0, 0, 0, 0.05);
  border-color: rgba(99, 102, 241, 0.4);
}

.ref-service-card .card-plus {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 26px;
  font-weight: 300;
  color: #cbd5e1;
  line-height: 1;
  transition: color 0.3s ease, transform 0.3s ease;
  font-family: Arial, sans-serif;
  user-select: none;
}

.ref-service-card:hover .card-plus {
  color: #4f46e5;
  transform: rotate(90deg);
}

.ref-service-card .service-icon-box {
  width: 76px;
  height: 76px;
  margin-bottom: 22px;
  border-radius: 18px;
  background: rgba(79, 70, 229, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.6rem;
  color: #4f46e5;
  transition: transform 0.35s ease, background 0.35s ease, color 0.35s ease;
}

.ref-service-card:hover .service-icon-box {
  transform: scale(1.08);
  background: #4f46e5;
  color: #ffffff;
}

.ref-service-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #0f172a;
  letter-spacing: -0.01em;
}

.ref-service-card p {
  font-size: 0.93rem;
  color: #64748b;
  line-height: 1.55;
  font-weight: 400;
  margin: 0;
}

/* Bottom Left Decorative Dots Matrix (Exact Match to Reference Image) */
.ref-service-card::after {
  content: '';
  position: absolute;
  bottom: 12px;
  left: 14px;
  width: 48px;
  height: 36px;
  background-image: radial-gradient(#cbd5e1 2.2px, transparent 2.2px);
  background-size: 9px 9px;
  opacity: 0.7;
  pointer-events: none;
  transition: opacity 0.3s ease, background-image 0.3s ease;
}

.ref-service-card:hover::after {
  opacity: 1;
  background-image: radial-gradient(#818cf8 2.2px, transparent 2.2px);
}

/* Portfolio Section */
.portfolio-filter {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 9px 20px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--glass-border);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--primary-gradient);
  color: #040914;
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(0, 242, 254, 0.3);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
}

.project-card {
  border-radius: var(--border-radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.project-img-wrapper {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-img {
  transform: scale(1.08);
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(8, 12, 20, 0.75);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  opacity: 0;
  transition: var(--transition);
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-grow: 1;
}

.project-category {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--neon-cyan);
  font-weight: 700;
}

.project-title {
  font-size: 1.2rem;
  font-weight: 700;
}

.project-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}

/* Contact Section */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
}

.contact-info-boxes {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-box {
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.contact-box-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid rgba(0, 242, 254, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--neon-cyan);
  flex-shrink: 0;
}

.contact-box-text h4 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.contact-box-text p, .contact-box-text a {
  font-size: 0.92rem;
  color: var(--text-muted);
  word-break: break-all;
}

.contact-box-text a:hover {
  color: var(--neon-cyan);
}

/* Contact Form */
.contact-form {
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

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

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--neon-cyan);
  background: rgba(0, 242, 254, 0.02);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.15);
}

textarea.form-control {
  resize: vertical;
  min-height: 130px;
}

.form-alert {
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 0.9rem;
  display: none;
}

.form-alert.success {
  display: block;
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #4ade80;
}

.form-alert.error {
  display: block;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #f87171;
}

/* Floating WhatsApp Widget */
.whatsapp-widget {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  display: flex;
  align-items: center;
}

.whatsapp-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
  position: relative;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 15px 35px rgba(37, 211, 102, 0.6);
}

.whatsapp-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #ff3b30;
  border: 2px solid var(--bg-dark);
}

/* Modal Styling */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(4, 9, 20, 0.85);
  backdrop-filter: blur(12px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  padding: 15px;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  width: 100%;
  max-width: 720px;
  max-height: 88vh;
  overflow-y: auto;
  position: relative;
  padding: 30px;
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  color: var(--text-muted);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  transition: var(--transition);
  z-index: 10;
}

.modal-close:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.15);
}

/* Footer */
.footer {
  padding: 40px 0;
  border-top: 1px solid var(--glass-border);
  background: rgba(4, 8, 15, 0.8);
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-text {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 1.1rem;
  transition: var(--transition);
}

.social-icon:hover {
  color: var(--neon-cyan);
  border-color: var(--neon-cyan);
  background: rgba(0, 242, 254, 0.1);
  transform: translateY(-3px);
}

/* ==========================================================================
   Comprehensive Responsive Breakpoints
   ========================================================================== */

/* Laptops & Tablets (Max Width: 1024px) */
@media (max-width: 1024px) {
  .section {
    padding: 70px 0;
  }

  .hero-grid, .about-grid, .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .reference-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-image-wrapper {
    order: -1;
  }

  .hero-avatar-frame {
    width: 280px;
    height: 350px;
  }

  .hamburger {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background: rgba(8, 12, 20, 0.98);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-bottom: 1px solid var(--glass-border);
    flex-direction: column;
    padding: 30px;
    gap: 18px;
    transform: translateY(-150%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 20px 40px rgba(0,0,0,0.8);
  }

  .nav-menu.active {
    transform: translateY(0);
  }
}

/* Tablets (Max Width: 768px) */
@media (max-width: 768px) {
  .header-actions {
    display: none !important;
  }

  .mobile-only-cta {
    display: flex !important;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .timeline-card {
    padding: 22px 18px;
  }

  .contact-form {
    padding: 28px 20px;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }
}

/* Mobile Devices (Max Width: 576px) */
@media (max-width: 576px) {
  .container {
    width: 92%;
    padding: 0 0.5rem;
  }

  .section {
    padding: 50px 0;
  }

  .reference-services-grid {
    grid-template-columns: 1fr;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    text-align: center;
  }

  .stat-item h3 {
    font-size: 1.5rem;
  }

  .stat-item p {
    font-size: 0.75rem;
  }

  .hero-avatar-frame {
    width: 250px;
    height: 310px;
  }

  .floating-badge {
    padding: 6px 12px;
    gap: 6px;
  }

  .floating-badge.badge-1 {
    left: -5px;
    top: 5%;
  }

  .floating-badge.badge-2 {
    right: -5px;
    bottom: 5%;
  }

  .floating-badge i {
    font-size: 1.1rem;
  }

  .badge-text span {
    font-size: 0.65rem;
  }

  .badge-text strong {
    font-size: 0.75rem;
  }

  .about-info-list {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .timeline {
    padding-left: 0;
  }

  .timeline::before {
    left: 10px;
  }

  .timeline-item {
    padding-left: 35px;
    margin-bottom: 30px;
  }

  .timeline-dot {
    left: 1px;
    width: 18px;
    height: 18px;
    top: 3px;
  }

  .portfolio-filter {
    gap: 6px;
  }

  .filter-btn {
    padding: 7px 14px;
    font-size: 0.8rem;
    flex-grow: 1;
  }

  .whatsapp-widget {
    bottom: 20px;
    right: 20px;
  }

  .whatsapp-btn {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }

  .modal-card {
    padding: 20px 15px;
  }
}

/* Ultra Small Mobile Screens (Max Width: 380px) */
@media (max-width: 380px) {
  .logo span {
    font-size: 1.25rem;
  }

  .hero-title {
    font-size: 1.9rem;
  }

  .hero-avatar-frame {
    width: 220px;
    height: 280px;
  }

  .floating-badge {
    display: none;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 15px;
  }
}
