/* मोबाइल पर टच करने पर जो नीला/ग्रे चौकोर डब्बा आता है, उसे हटाने के लिए */
* {
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
}


/* --- Contact Page Custom CSS --- */

.contact-section {
  padding: 4rem 1rem;
  color: var(--text, #0f172a);
}

.contact-section .container {
  max-width: 1100px;
  margin: 0 auto;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3.5rem;
  align-items: start;
}

/* --- Left Info Column --- */
.contact-info .badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: var(--text);
  color:var(--text2);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.contact-info h1 {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 1rem;
}

.contact-info p {
  color: var(--muted, #64748b);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.contact-image-box{
  margin: 20px 0; 
  border-radius: 0px; 
  overflow: hidden; 
  max-width: 300px; 
  border: 1px solid var(--muted);
  box-shadow: 5px 5px var(--text);
  margin-bottom: 1.5rem;
}

/* Info Items (Email / Location) */
.info-items {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.icon-box {
  width: 46px;
  height: 46px;
  background-color: var(--text);
  border: 1px solid var(--text2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--text2);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.info-item h4 {
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.info-item p {
  font-size: 0.9rem;
  margin: 0;
}

/* Social Icons */
.contact-socials h4 {
  font-size: 0.95rem;
  margin-bottom: 0.8rem;
}

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

.social-icons a {
  width: 40px;
  height: 40px;
  background-color: var(--text);
  border: 1px solid var(--text2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text2);
  font-size: 1.1rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.social-icons a:hover {
  /*  */
  transform: translateY(-2px);
}

/* --- Right Form Card --- */
.contact-form-card {
  background-color: transparent;
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.contact-form-card h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

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

.form-group label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text, #0f172a);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 10px;
  background-color: transparent;
  color: var(--text, #0f172a);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--muted);
}

/* 🌙 Dark Mode Only Fix for Select Dropdown */
body.dark #subject,
body.dark .form-group select {
  background-color: var(--surface, #1e293b) !important;
  color: var(--text, #f8fafc) !important;
  border-color: var(--border, #334155) !important;
}

/* 🌙 Dark Mode Dropdown Options Fix */
body.dark #subject option,
body.dark .form-group select option {
  background-color: #0f172a !important; /* Pure Dark Background */
  color: #f8fafc !important;             /* White Text */
  padding: 10px;
}

.submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  background-color: var(--text);
  color: var(--text2);
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 0.2s ease;
  margin-top: 0.5rem;
}

.submit-btn:hover {
  background-color: var(--muted);
}

.required-star {
  color: #ef4444; /* Bright Red Color */
  margin-left: 3px;
}

/* 📱 Mobile Responsiveness */
@media (max-width: 850px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .contact-info{
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-self: center;
  }

  .contact-info h1 {
    font-size: 1.8rem;
  }

  .contact-form-card {
    padding: 1.5rem;
  }

  .info-items {
    flex: 1 10px;
    text-align: left;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    width: 90%;
  }
}