/* =========================================================
   VARIABLES & COLOR SYSTEM
   ========================================================= */
:root {
  --bg-color: #03040e;
  --panel-bg: rgba(13, 16, 38, 0.72);
  --border-glass: rgba(130, 115, 255, 0.2);
  --primary-purple: #7a5af8;
  --secondary-purple: #9b51e0;
  --accent-cyan: #00d8ff;
  --text-primary: #ffffff;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  /* Scale Variables */
  --orbit-radius: 300px;
  --photo-size: 320px;
  --total-nodes: 9;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Plus Jakarta Sans', sans-serif;
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-color);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* Fixed Background Wallpaper */
.cosmic-bg-layer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #03040e url('') no-repeat center center;
  background-size: cover;
  pointer-events: none;
  z-index: 0;
  filter: brightness(0.85) contrast(1.1);
}

/* Foreground Floating & Shooting Stars Canvas (Floating over content) */
#starsCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none; /* User clicks and hover will never be blocked */
  z-index: 999;         /* Floating in front of hero and projects */
}

/* =========================================================
   FIXED NAVBAR (REDUCED GAP & BALANCED)
   ========================================================= */
.navbar-wrapper {
  position: fixed;
  top: 14px;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 9999;
  display: flex;
  justify-content: center;
  padding: 0 20px;
  pointer-events: none;
}

.navbar {
  pointer-events: auto;
  width: min(94%, 1240px);
  background: rgba(13, 16, 38, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: 50px;
  padding: 10px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.nav-logo {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-symbol {
  color: var(--primary-purple);
  font-weight: 900;
  font-size: 1.3rem;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 28px;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
}

.btn-nav-resume {
  background: linear-gradient(135deg, #6040e6, #8b45dc);
  color: #ffffff;
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 18px rgba(122, 90, 248, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-nav-resume:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(122, 90, 248, 0.65);
}

/* =========================================================
   HERO SECTION (TIGHTENED TOP PADDING TO FIX EXTRA GAP)
   ========================================================= */
.hero-container {
  position: relative;
  z-index: 10;
  width: min(92%, 1300px);
  margin: 0 auto;
  min-height: calc(100vh - 40px);
  display: grid;
  grid-template-columns: 1.05fr 1.15fr;
  align-items: center;
  gap: 30px;
  padding: 80px 0 20px; /* Reduced gap from navbar */
}

.hero-left {
  display: flex;
  flex-direction: column;
}

.badge-status {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px;
  background: rgba(14, 25, 45, 0.8);
  border: 1px solid rgba(0, 220, 130, 0.3);
  border-radius: 30px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #00dc82;
  margin-bottom: 20px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #00dc82;
  border-radius: 50%;
  box-shadow: 0 0 10px #00dc82;
  animation: blink 1.6s infinite ease-in-out;
}

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

.tagline {
  font-size: 0.82rem;
  letter-spacing: 2px;
  font-weight: 700;
  color: var(--primary-purple);
  margin-bottom: 14px;
}

.greeting {
  font-size: 1.4rem;
  color: #d1d5db;
  font-weight: 500;
  display: block;
}

.glow-name {
  font-size: clamp(3.2rem, 5.8vw, 5.4rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: 1px;
  background: linear-gradient(135deg, #ffffff 40%, #a27cfd 75%, #6f42ec 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 6px 0 10px;
}

.sub-role {
  font-size: 1.5rem;
  color: #8c6cf9;
  font-weight: 700;
  margin-bottom: 16px;
}

.hero-desc {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 440px;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 26px;
  border-radius: 12px;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #5b3ce2, #8344e6);
  color: #ffffff;
  border: 1px solid rgba(175, 140, 255, 0.35);
  box-shadow: 0 0 25px rgba(104, 66, 236, 0.45);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 35px rgba(122, 90, 248, 0.7);
}

.btn-glass {
  background: rgba(16, 20, 48, 0.6);
  color: #ffffff;
  border: 1px solid var(--border-glass);
}

.btn-glass:hover {
  background: rgba(28, 34, 75, 0.8);
  border-color: var(--primary-purple);
  transform: translateY(-2px);
}

.stats-strip {
  display: flex;
  align-items: center;
  gap: 32px;
}

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

.stat-icon {
  color: var(--primary-purple);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.stat-item h3 {
  font-size: 1.6rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
}

.stat-item p {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 6px;
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: var(--border-glass);
}

/* =========================================================
   CIRCULAR SKILLS & ORBIT SYSTEM
   ========================================================= */
.hero-right {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  min-height: 600px;
}

.orbit-stage {
  position: relative;
  width: calc(var(--orbit-radius) * 2 + 120px);
  height: calc(var(--orbit-radius) * 2 + 120px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.orbit-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: calc(var(--orbit-radius) * 2);
  height: calc(var(--orbit-radius) * 2);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1.5px dashed rgba(122, 90, 248, 0.35);
  box-shadow: 0 0 20px rgba(122, 90, 248, 0.15);
  pointer-events: none;
  z-index: 1;
}

.orbit-rotator {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  animation: rotate-orbit 45s linear infinite;
  z-index: 5;
}

.orbit-rotator:hover,
.orbit-rotator:hover .orbit-node {
  animation-play-state: paused;
}

.orbit-node {
  position: absolute;
  top: 0;
  left: 0;
  width: 76px;
  height: 76px;
  margin-top: -38px;
  margin-left: -38px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  --angle: calc((360deg / var(--total-nodes)) * var(--i) - 90deg);
  transform: rotate(var(--angle)) translateX(var(--orbit-radius)) rotate(calc(-1 * var(--angle)));
  animation: keep-upright 45s linear infinite;
}

.node-circle {
  width: 70px;
  height: 70px;
  aspect-ratio: 1 / 1;
  border-radius: 50% !important;
  background: rgba(13, 16, 38, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 2px solid var(--accent, #7a5af8);
  box-shadow: 0 0 16px rgba(0, 0, 0, 0.8), 0 0 14px var(--accent, rgba(122, 90, 248, 0.4));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--accent, #ffffff);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.node-circle.text-badge {
  font-size: 1.25rem;
  font-weight: 700;
  font-family: monospace;
}

.node-circle.js-box {
  font-size: 1.15rem;
  font-weight: 900;
}

.node-label {
  font-size: 0.76rem;
  font-weight: 600;
  color: #cbd5e1;
  white-space: nowrap;
}

.orbit-node:hover .node-circle {
  transform: scale(1.22) translateY(-2px);
  box-shadow: 0 0 28px var(--accent, #7a5af8);
}

/* Center Photo */
.profile-center-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: var(--photo-size);
  height: var(--photo-size);
  border-radius: 50%;
  padding: 6px;
  background: conic-gradient(from 180deg at 50% 50%, #4a1cd8 0deg, #9b51e0 140deg, #00d8ff 240deg, #4a1cd8 360deg);
  box-shadow: 0 0 45px rgba(138, 92, 255, 0.8), 0 0 110px rgba(90, 45, 230, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.center-photo-wrap {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #03040e;
}

.profile-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.1);
  transition: transform 0.4s ease;
}

.profile-center-glow:hover .profile-avatar {
  transform: scale(1.18);
}

@keyframes rotate-orbit {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes keep-upright {
  from {
    transform: rotate(var(--angle)) translateX(var(--orbit-radius)) rotate(calc(-1 * var(--angle) - 0deg));
  }
  to {
    transform: rotate(var(--angle)) translateX(var(--orbit-radius)) rotate(calc(-1 * var(--angle) - 360deg));
  }
}

/* =========================================================
   PROJECTS SECTION
   ========================================================= */
.projects-section {
  position: relative;
  z-index: 10;
  width: min(92%, 1240px);
  margin: 60px auto 60px;
  padding-top: 20px;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(122, 90, 248, 0.12);
  border: 1px solid rgba(122, 90, 248, 0.35);
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #a27cfd;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  font-weight: 800;
  background: linear-gradient(135deg, #ffffff 30%, #a27cfd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 14px;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 550px;
  margin: 0 auto;
  line-height: 1.6;
}

.projects-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
}

.project-card {
  background: rgba(13, 16, 38, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: 22px;
  overflow: hidden;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-8px);
  border-color: rgba(138, 92, 255, 0.5);
  box-shadow: 0 16px 35px rgba(104, 66, 236, 0.25);
}

.project-img-box {
  position: relative;
  width: 100%;
  height: 240px;
  overflow: hidden;
  background: #020617;
}

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

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

.project-overlay {
  position: absolute;
  inset: 0;
  background: rgba(3, 4, 14, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.overlay-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.overlay-btn:hover {
  background: var(--primary-purple);
  border-color: var(--primary-purple);
  transform: scale(1.15);
}

.project-info {
  padding: 24px 26px 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.project-tags span {
  padding: 4px 12px;
  background: rgba(122, 90, 248, 0.1);
  border: 1px solid rgba(122, 90, 248, 0.25);
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #b79cff;
}

.project-info h3 {
  font-size: 1.45rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
}

.project-info p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 22px;
  flex-grow: 1;
}

.project-links {
  display: flex;
  align-items: center;
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 16px;
}

.proj-link {
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.proj-link.live {
  color: #8c6cf9;
}

.proj-link.live:hover {
  color: #ffffff;
  transform: translateX(3px);
}

.proj-link.github {
  color: var(--text-muted);
}

.proj-link.github:hover {
  color: #ffffff;
}

/* =========================================================
   CONTACT SECTION
   ========================================================= */
.contact-section {
  padding: 90px 20px 100px;
  position: relative;
  z-index: 10;
}

.contact-container {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 60px;
  align-items: start;
}

.contact-info .sub-heading {
  color: var(--accent-cyan);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1.8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.contact-info h2 {
  font-size: clamp(2.2rem, 3.2vw, 3rem);
  line-height: 1.25;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 16px;
}

.contact-info p {
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 1.05rem;
  margin-bottom: 35px;
}

.contact-cards-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
}

.c-card {
  display: flex;
  align-items: center;
  gap: 18px;
  background: rgba(13, 16, 38, 0.6);
  border: 1px solid var(--border-glass);
  padding: 16px 22px;
  border-radius: 16px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.c-card:hover {
  background: rgba(26, 31, 70, 0.7);
  border-color: var(--primary-purple);
  transform: translateX(4px);
}

.c-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(122, 90, 248, 0.15);
  border: 1px solid rgba(122, 90, 248, 0.3);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.c-card-detail .c-tag {
  font-size: 0.75rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  display: block;
}

.c-card-detail p {
  margin: 2px 0 0;
  color: #f1f5f9;
  font-size: 0.95rem;
  font-weight: 600;
}

.c-arrow {
  margin-left: auto;
  color: var(--text-dim);
  transition: transform 0.25s ease, color 0.25s ease;
}

.c-card:hover .c-arrow {
  color: #ffffff;
  transform: translateX(4px);
}

.social-shelf .shelf-title {
  font-size: 0.82rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 14px;
}

.social-pill-container {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.social-pill {
  color: #cbd5e1;
  text-decoration: none;
  padding: 10px 18px;
  background: rgba(13, 16, 38, 0.6);
  border: 1px solid var(--border-glass);
  border-radius: 30px;
  font-size: 0.88rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
}

.social-pill:hover {
  background: var(--primary-purple);
  border-color: var(--primary-purple);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(122, 90, 248, 0.4);
}

/* Contact Form Card */
.contact-form-card {
  background: rgba(13, 16, 38, 0.75);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 40px;
  border-radius: 24px;
  border: 1px solid rgba(130, 115, 255, 0.25);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.form-header {
  margin-bottom: 26px;
}

.form-header h3 {
  font-size: 1.65rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 6px;
}

.form-header p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

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

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

.input-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.input-field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #cbd5e1;
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-wrapper i {
  position: absolute;
  left: 16px;
  color: #64748b;
  font-size: 0.95rem;
  pointer-events: none;
}

.input-wrapper input,
.input-wrapper textarea {
  width: 100%;
  background: rgba(3, 4, 14, 0.75);
  border: 1px solid rgba(130, 115, 255, 0.2);
  color: #f8fafc;
  padding: 13px 16px 13px 44px;
  border-radius: 12px;
  font-size: 0.95rem;
  outline: none;
  font-family: inherit;
  transition: all 0.25s ease;
}

.input-wrapper.text-area-wrapper {
  align-items: flex-start;
}

.input-wrapper.text-area-wrapper i {
  top: 16px;
}

.input-wrapper.text-area-wrapper textarea {
  resize: vertical;
  min-height: 120px;
}

.input-wrapper input:focus,
.input-wrapper textarea:focus {
  border-color: var(--accent-cyan);
  background: rgba(3, 4, 14, 0.95);
  box-shadow: 0 0 15px rgba(0, 216, 255, 0.2);
}

.submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(135deg, #6038f0, #9b51e0);
  color: #ffffff;
  padding: 16px;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  margin-top: 8px;
  box-shadow: 0 6px 25px rgba(122, 90, 248, 0.45);
  transition: all 0.25s ease;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(122, 90, 248, 0.7);
}

.submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.status-box {
  margin-top: 8px;
  font-size: 0.95rem;
  text-align: center;
  display: none;
  padding: 10px;
  border-radius: 8px;
}

/* =========================================================
   RESPONSIVE BREAKPOINTS
   ========================================================= */
@media (max-width: 1100px) {
  :root {
    --orbit-radius: 250px;
    --photo-size: 260px;
  }
  .node-circle {
    width: 60px;
    height: 60px;
    font-size: 1.4rem;
  }
  .orbit-node {
    width: 66px;
    height: 66px;
    margin-top: -33px;
    margin-left: -33px;
  }
}

@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 50px;
    padding-top: 100px;
  }
  .badge-status {
    align-self: center;
  }
  .hero-left {
    align-items: center;
  }
  .hero-actions, .stats-strip {
    justify-content: center;
  }
  .contact-container {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .projects-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --orbit-radius: 190px;
    --photo-size: 200px;
  }
  .nav-links, .btn-nav-resume {
    display: none;
  }
  .navbar {
    justify-content: center;
    padding: 10px 18px;
  }
  .node-circle {
    width: 50px;
    height: 50px;
    font-size: 1.15rem;
  }
  .orbit-node {
    width: 54px;
    height: 54px;
    margin-top: -27px;
    margin-left: -27px;
  }
  .node-label {
    display: none;
  }
  .stats-strip {
    gap: 16px;
  }
  .contact-form-card {
    padding: 24px;
  }
}
/* Container ko top se lock karein */
.contact-container {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  align-items: flex-start; /* Form aur info hamesha top se barabar start honge */
}

/* 3 Cards aane par spacing ko compact karein taaki form ke barabar height rahe */
.contact-cards-group {
  display: flex;
  flex-direction: column;
  gap: 12px; /* 16px se kam karke 12px */
  margin-bottom: 25px; /* 40px se kam karke 25px */
}

.c-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(13, 16, 38, 0.6);
  border: 1px solid var(--border-glass);
  padding: 12px 18px; /* 16px se 12px kar diya */
  border-radius: 14px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.c-card-icon {
  width: 42px;
  height: 42px;
  font-size: 1.1rem;
}

.contact-info p {
  margin-bottom: 20px; /* Text ke baad extra space kam kiya */
}@media (max-width: 1024px) {
  /* Agar screen 1024px se thodi choti hai tab bhi dono side-by-side rahein */
  .contact-container {
    grid-template-columns: 1fr 1.1fr;
    gap: 30px;
  }
}

/* Sirf pure mobile (768px se niche) par hi form niche jaye */
@media (max-width: 768px) {
  .contact-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}