.contact-section {
    padding: 50px 20px;
    display: flex;
    justify-content: center;
}

.contact-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    width: 100%;
    gap: 50px;
    flex-wrap: wrap;
}

.contact-left p:nth-child(1) {
        font-size: clamp(24px, 8vw, 48px);
        font-family: 'supershiny';
        margin-bottom: 10px;
}
.contact-left span {
        font-size: clamp(24px, 8vw, 48px);
        font-family: 'supershiny';
        color: var(--primary);
}

.contact-left p:nth-child(2){
        background-color: transparent;
        font-size: 16px;
        color: var(--text-muted);
        margin-bottom: 10px;
}


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

.form-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.form-group.full {
    width: 100%;
}

label {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 8px;
}

input, textarea {
    background-color: var(--input);
    border: 1px solid var(--input-border);
    color: var(--text-color);
    padding: 12px 15px;
    border-radius: 6px;
    outline: none;
    font-size: 15px;
}

input::placeholder,
textarea::placeholder {
    color: #888;
}

textarea {
    resize: none;
}

.send-btn {
    background: linear-gradient(90deg, #8a63ff, var(--primary));
    color: #fff;
    padding: 14px 30px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s ease;
    align-self: flex-start;
}

.send-btn:hover {
    opacity: 0.85;
}

/* --- Right Side --- */
.contact-right {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  padding: 60px 0; /* light spacing above/below */
}

/* --- Main Image --- */
.image-box {
  position: relative;
  width: 120px;
  height: 120px;
}

.center-image {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  z-index: 2;
  position: relative;
}

/* --- Orbit Container --- */
.orbit-container {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 320px;   /* increased orbit diameter (more distance) */
  height: 320px;
  transform: translate(-50%, -50%);
  animation: spin 10s linear infinite;
  z-index: 1;
}

/* --- Cards --- */
.orbit-card {
  position: absolute;
  width: 80px;
  height: 45px;
  background: var(--input, #222);
  color: #fff;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

/* --- Positions --- */
.top    { top: 0; left: 50%; transform: translateX(-50%); }
.right  { top: 50%; right: 0; transform: translateY(-50%); }
.bottom { bottom: 0; left: 50%; transform: translateX(-50%); }
.left   { top: 50%; left: 0; transform: translateY(-50%); }

/* --- Rotation animation --- */
@keyframes spin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg); }
}

/* --- Keep text upright --- */
.orbit-container .orbit-card {
  animation: counter-spin 10s linear infinite;
}

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

/* --- Responsive Design --- */
@media (max-width: 600px) {
  .image-box {
    width: 90px;
    height: 90px;
  }

  .orbit-container {
    width: 240px;  /* reduced orbit size for mobile */
    height: 240px;
  }

  .orbit-card {
    width: 60px;
    height: 35px;
    font-size: 11px;
  }
}
.orbit-card {
  position: absolute;
  width: 110px;
  height: 90px;
  background: var(--input, #222);
  color: var(--text-color);
  
  font-size: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  gap: 4px;
}

.orbit-card svg {
    background-color: transparent;
  color: var(--primary, #8a63ff);
}

.orbit-card p {
  margin: 0;
  font-size: 16px;
  font-weight: bold;
  color: var(--text-color);
  background-color: transparent;
}

.orbit-card span {
    background-color: transparent;
  font-size: 13px;
  color: var(--text-color);
}

/* --- Positions --- */
.top    { top: 0; left: 50%; transform: translateX(-50%); }
.right  { top: 50%; right: 0; transform: translateY(-50%); }
.bottom { bottom: 0; left: 50%; transform: translateX(-50%); }
.left   { top: 50%; left: 0; transform: translateY(-50%); }

/* --- Rotation animation --- */
@keyframes spin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg); }
}

/* --- Keep text upright --- */
.orbit-container .orbit-card {
  animation: counter-spin 12s linear infinite;
}

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

/* --- Responsive --- */
@media (max-width: 600px) {
  .image-box {
    width: 90px;
    height: 90px;
  }

  .orbit-container {
    width: 260px;
    height: 260px;
  }

  .orbit-card {
    width: 90px;
    height: 75px;
    font-size: 12px;
  }

  .orbit-card p {
    font-size: 14px;
  }

  .orbit-card span {
    font-size: 11px;
  }
}

.contact-left, .contact-right {
    flex: 1;
    min-width: 300px;
}
/* --- Responsive Design --- */
@media (max-width: 950px) {
    .contact-container {
        flex-direction: column;
        align-items: center;
        text-align: left;
    }

    .subtitle {
        margin: 0 auto 30px;
    }

    .form-row {
        flex-direction: column;
    }

    .send-btn {
        align-self: center;
    }

    .image-box {
        margin-top: 40px;
    }
}
