/* ==========================================================================
   MUHAMMAD UMAR TAYYAB - PERSONAL PORTFOLIO
   Component-Specific Stylesheet (Ultra-Sleek Dark Theme)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. NAVIGATION BAR
   -------------------------------------------------------------------------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: all var(--transition-normal);
  background: transparent;
}

.navbar.scrolled {
  padding: 0.85rem 0;
  background: rgba(6, 8, 14, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

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

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.15rem;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.brand-monogram {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent-blue) 0%, #1d4ed8 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.45);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 0.925rem;
  font-weight: 600;
  color: var(--text-muted);
  position: relative;
  padding: 0.25rem 0;
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2.5px;
  background: var(--accent-blue-light);
  transition: width var(--transition-fast);
  border-radius: var(--radius-full);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Mobile Menu Toggle */
.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 1001;
}

/* --------------------------------------------------------------------------
   2. HERO SECTION
   -------------------------------------------------------------------------- */
.hero {
  min-height: 100vh;
  padding-top: 8.5rem;
  padding-bottom: 4rem;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--bg-dark-1);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--accent-blue-light);
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.hero-roles {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
  color: var(--accent-gold-light);
  font-weight: 700;
}

.hero-roles span.dot {
  color: #64748b;
  font-size: 0.8rem;
}

.hero-headline {
  font-size: 1.4rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.25rem;
  line-height: 1.35;
}

.hero-description {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 2.25rem;
  max-width: 620px;
  line-height: 1.65;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.hero-portrait-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Portrait Glow & Backdrop Elements */
.portrait-glow {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.4) 0%, rgba(56, 189, 248, 0.15) 55%, transparent 75%);
  filter: blur(40px);
  z-index: 1;
  animation: pulseGlow 6s ease-in-out infinite alternate;
}

.portrait-frame {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 440px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #0f172a 0%, #080d1a 100%);
  border: 1px solid rgba(59, 130, 246, 0.35);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 30px rgba(37, 99, 235, 0.25);
  padding: 1.5rem 1.5rem 0 1.5rem;
  overflow: hidden;
}

.portrait-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
  transition: transform var(--transition-normal);
  filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.6));
}

.portrait-frame:hover .portrait-image {
  transform: scale(1.04);
}

/* Floating Tech Badges on Hero Portrait */
.floating-badge {
  position: absolute;
  z-index: 3;
  padding: 0.65rem 1.15rem;
  border-radius: var(--radius-md);
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(59, 130, 246, 0.35);
  backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffffff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
  animation: floatBadge 4s ease-in-out infinite alternate;
}

.floating-badge.badge-top-left {
  top: 10%;
  left: -8%;
}

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

.badge-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: rgba(37, 99, 235, 0.25);
  color: var(--accent-blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.badge-icon.gold {
  background: rgba(245, 158, 11, 0.25);
  color: var(--accent-gold-light);
}

/* Scroll Indicator */
.scroll-indicator {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dim);
  margin-top: 1.5rem;
}

.scroll-indicator .mouse {
  width: 20px;
  height: 32px;
  border: 2px solid var(--text-dim);
  border-radius: 12px;
  position: relative;
}

.scroll-indicator .mouse::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 6px;
  background: var(--accent-blue-light);
  border-radius: 2px;
  animation: scrollWheel 2s infinite;
}

/* --------------------------------------------------------------------------
   3. ABOUT ME & MENTORSHIP
   -------------------------------------------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: start;
}

.about-content p {
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.mentorship-card {
  margin-top: 2rem;
  padding: 1.75rem;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.15) 0%, rgba(15, 23, 42, 0.95) 100%);
  border: 1.5px solid rgba(59, 130, 246, 0.35);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  position: relative;
  color: var(--text-muted);
}

.mentorship-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.75rem;
}

.mentorship-icon {
  font-size: 1.4rem;
  color: var(--accent-gold-light);
}

.mentorship-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.stat-card {
  text-align: center;
  padding: 1.75rem 1.25rem;
}

.stat-icon {
  width: 50px;
  height: 50px;
  margin: 0 auto 1rem auto;
  border-radius: var(--radius-md);
  background: rgba(37, 99, 235, 0.2);
  color: var(--accent-blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
}

.stat-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.35rem;
}

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

/* --------------------------------------------------------------------------
   4. SERVICES SECTION
   -------------------------------------------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.75rem;
}

.service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-icon-wrapper {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.25) 0%, rgba(56, 189, 248, 0.15) 100%);
  border: 1px solid rgba(59, 130, 246, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-blue-light);
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  transition: transform var(--transition-fast);
}

.service-card:hover .service-icon-wrapper {
  transform: scale(1.1) rotate(4deg);
  background: linear-gradient(135deg, var(--accent-blue) 0%, #1d4ed8 100%);
  color: #ffffff;
}

.service-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.service-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   5. SKILLS & TECHNOLOGIES
   -------------------------------------------------------------------------- */
.skills-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 2rem;
}

.skill-category {
  padding: 2rem;
}

.category-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.category-icon {
  font-size: 1.25rem;
  color: var(--accent-blue-light);
}

.category-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
}

.skills-tags-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.skill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.05rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  font-weight: 600;
  color: #ffffff;
  transition: all var(--transition-fast);
}

.skill-badge:hover {
  background: rgba(37, 99, 235, 0.2);
  border-color: var(--accent-blue-light);
  transform: translateY(-2px);
  color: #ffffff;
}

.skill-badge i {
  font-size: 1.1rem;
  color: var(--accent-blue-light);
}

/* --------------------------------------------------------------------------
   6. PROJECTS & FLAGSHIP SHOWCASE
   -------------------------------------------------------------------------- */
/* Filter Tabs */
.project-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 3rem;
}

.filter-btn {
  padding: 0.55rem 1.35rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--accent-blue);
  color: #ffffff;
  border-color: var(--accent-blue-light);
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.45);
}

/* Flagship Featured Projects */
.flagship-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (max-width: 640px) {
  .flagship-grid {
    grid-template-columns: 1fr;
  }
}

.flagship-card {
  position: relative;
  background: linear-gradient(135deg, #0f172a 0%, #090e1b 100%);
  border: 1.5px solid rgba(59, 130, 246, 0.4);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.flagship-body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.project-status {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-gold-light);
  background: rgba(245, 158, 11, 0.15);
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  width: fit-content;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-gold);
  box-shadow: 0 0 8px var(--accent-gold);
  animation: pulseDot 2s infinite;
}

.project-title {
  font-size: 1.5rem;
  font-weight: 800;
}

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

.project-tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.project-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 1rem;
}

/* Regular Projects Grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.75rem;
}

.project-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.project-card.hide {
  display: none;
}

/* --------------------------------------------------------------------------
   7. CASE STUDY MODAL / DRAWER
   -------------------------------------------------------------------------- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(6, 8, 14, 0.85);
  backdrop-filter: blur(16px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-box {
  background: #0f172a;
  border: 1px solid rgba(59, 130, 246, 0.35);
  border-radius: var(--radius-lg);
  max-width: 750px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 2.5rem;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
  transform: translateY(20px);
  transition: transform var(--transition-normal);
}

.modal-overlay.active .modal-box {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: var(--text-muted);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all var(--transition-fast);
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

.case-study-section {
  margin-top: 1.5rem;
}

.case-study-section h4 {
  font-size: 1.1rem;
  color: var(--accent-blue-light);
  margin-bottom: 0.5rem;
}

.case-study-section p, .case-study-section ul {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.case-study-section ul {
  list-style-type: disc;
  padding-left: 1.25rem;
}

/* --------------------------------------------------------------------------
   8. DEVELOPMENT PHILOSOPHY (HOW I WORK)
   -------------------------------------------------------------------------- */
.timeline-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  position: relative;
}

.timeline-step {
  padding: 1.75rem;
  position: relative;
}

.step-number {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  color: rgba(59, 130, 246, 0.35);
  margin-bottom: 0.75rem;
}

.step-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.step-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   9. WHY WORK WITH ME
   -------------------------------------------------------------------------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.75rem;
}

.why-card {
  display: flex;
  gap: 1.25rem;
}

.why-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: var(--radius-md);
  background: rgba(37, 99, 235, 0.2);
  color: var(--accent-blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
}

.why-card-content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.4rem;
}

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

/* --------------------------------------------------------------------------
   10. CALL TO ACTION (CTA BANNER)
   -------------------------------------------------------------------------- */
.cta-box {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.25) 0%, rgba(15, 23, 42, 0.95) 100%);
  border: 1.5px solid rgba(59, 130, 246, 0.4);
  border-radius: var(--radius-lg);
  padding: 4rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.cta-box h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.cta-box p {
  max-width: 650px;
  margin: 0 auto 2.25rem auto;
  font-size: 1.1rem;
  color: var(--text-muted);
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   11. CONTACT SECTION & FORM
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 3rem;
  align-items: start;
}

.contact-info-card {
  padding: 2.25rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1.15rem;
  margin-bottom: 1.75rem;
}

.contact-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  background: rgba(37, 99, 235, 0.2);
  color: var(--accent-blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-details h4 {
  font-size: 0.85rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.contact-details a, .contact-details p {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
}

.contact-details a:hover {
  color: var(--accent-blue-light);
}

/* Form Styles */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group.full-width {
  grid-column: span 2;
}

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

.form-control {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.15rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: #ffffff;
  transition: all var(--transition-fast);
  outline: none;
}

.form-control:focus {
  border-color: var(--accent-blue-light);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 15px rgba(59, 130, 246, 0.3);
}

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

select.form-control {
  cursor: pointer;
}

select.form-control option {
  background-color: #0f172a;
  color: #ffffff;
}

.form-feedback {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  display: none;
}

.form-feedback.success {
  display: block;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34d399;
}

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

/* --------------------------------------------------------------------------
   12. FLOATING WHATSAPP BUTTON
   -------------------------------------------------------------------------- */
.floating-whatsapp {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
  transition: all var(--transition-normal);
  text-decoration: none;
}

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

.whatsapp-pulse {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #25d366;
  opacity: 0.6;
  z-index: -1;
  animation: pulseRing 2s infinite;
}

/* --------------------------------------------------------------------------
   13. FOOTER
   -------------------------------------------------------------------------- */
.footer {
  background: #04060b;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 4rem 0 2rem 0;
  position: relative;
  z-index: 2;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand h3 {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 1.25rem;
}

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

.social-icon:hover {
  background: var(--accent-blue);
  color: #ffffff;
  border-color: var(--accent-blue-light);
  transform: translateY(-3px);
}

.footer-links h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

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

.footer-links a:hover {
  color: var(--accent-blue-light);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* Back to Top */
.back-to-top {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.back-to-top:hover {
  background: var(--accent-blue);
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   14. KEYFRAME ANIMATIONS & RESPONSIVE BREAKPOINTS
   -------------------------------------------------------------------------- */
@keyframes pulseGlow {
  0% { transform: scale(0.95); opacity: 0.3; }
  100% { transform: scale(1.1); opacity: 0.55; }
}

@keyframes floatBadge {
  0% { transform: translateY(0); }
  100% { transform: translateY(-12px); }
}

@keyframes pulseRing {
  0% { transform: scale(0.95); opacity: 0.8; }
  100% { transform: scale(1.4); opacity: 0; }
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

@keyframes scrollWheel {
  0% { opacity: 1; top: 6px; }
  100% { opacity: 0; top: 18px; }
}

/* Responsive Overrides */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .hero-roles {
    justify-content: center;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-ctas {
    justify-content: center;
  }

  .scroll-indicator {
    justify-content: center;
  }

  .about-grid, .contact-grid {
    grid-template-columns: 1fr;
  }

  .floating-badge.badge-top-left {
    left: 0%;
  }
  .floating-badge.badge-bottom-right {
    right: 0%;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(25px);
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    padding: 2rem;
    transition: right var(--transition-normal);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.6);
  }

  .nav-links.active {
    right: 0;
  }

  .mobile-toggle {
    display: block;
  }

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

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

  .form-group.full-width {
    grid-column: span 1;
  }
}
