/* ===== CONTACT PAGE — DESKTOP STYLES ===== */

/* Contact Main */
.contact-main {
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  margin-top: 48px;
}

/* Contact Info Side */
.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 28px 24px;
  background: var(--gray-50);
  border: 1px solid var(--primary-100);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
}

.contact-info-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-200);
  background: var(--primary-50);
}

.contact-info-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: var(--radius-md);
  background: var(--primary-50);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-600);
  font-size: 1.3rem;
  transition: all var(--transition-base);
}

.contact-info-card:hover .contact-info-icon {
  background: var(--gradient-primary);
  color: var(--white);
}

.contact-info-card h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 4px;
}

.contact-info-card p {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.6;
}

.contact-info-card a {
  color: var(--primary-600);
  font-weight: 500;
}

.contact-info-card a:hover {
  color: var(--primary-700);
}

/* Clinic Timings */
.clinic-timings {
  margin-top: 24px;
  background: var(--gray-50);
  border: 1px solid var(--primary-100);
  border-radius: var(--radius-lg);
  padding: 24px 22px;
  transition: all 0.3s ease;
}

.timings-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.timings-header-row h3 {
  font-size: 1.05rem;
  margin-bottom: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gray-900);
  font-weight: 700;
}

.timing-badge-open {
  font-size: 0.72rem;
  font-weight: 700;
  color: #059669;
  background: #d1fae5;
  padding: 3px 8px;
  border-radius: 12px;
  letter-spacing: 0.2px;
}

.timing-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px dashed var(--primary-100);
}

.timing-row:last-child {
  border-bottom: none;
}

.timing-row .day {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--gray-700);
}

.timing-row .time {
  font-size: 0.9rem;
  color: var(--primary-600);
  font-weight: 500;
}

.timing-row .closed {
  color: var(--danger);
  font-weight: 600;
}

/* Collapsible list (Thu - Sun) */
.timings-collapsed-list {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
}

.timings-collapsed-list.is-expanded {
  max-height: 220px;
  opacity: 1;
}

/* Down Arrow Toggle Button */
.btn-toggle-timings {
  width: 100%;
  margin-top: 10px;
  padding: 9px 14px;
  background: #ffffff;
  border: 1px solid var(--primary-200);
  border-radius: 8px;
  color: var(--primary-700);
  font-size: 0.82rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}

.btn-toggle-timings:hover {
  background: var(--primary-50);
  border-color: var(--primary-400);
  color: var(--primary-900);
}

.btn-toggle-timings .toggle-arrow {
  display: inline-block;
  font-size: 0.95rem;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-toggle-timings.is-expanded .toggle-arrow {
  transform: rotate(180deg);
}

/* Contact Form */
.contact-form-wrapper {
  background: var(--gray-50);
  border: 1px solid var(--primary-100);
  border-radius: var(--radius-xl);
  padding: 40px 36px;
}

.contact-form-wrapper h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.contact-form-wrapper > p {
  font-size: 0.92rem;
  color: var(--gray-500);
  margin-bottom: 28px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  background: var(--white);
  border: 1.5px solid var(--primary-200);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  color: var(--gray-800);
  transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary-500);
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray-400);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

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

.form-submit {
  width: 100%;
  padding: 16px;
  margin-top: 8px;
}

.form-note {
  margin-top: 12px;
  font-size: 0.82rem;
  color: var(--gray-400);
  text-align: center;
}

/* Success Message */
.form-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}

.form-success.show {
  display: block;
  animation: fadeIn 0.5s ease;
}

.form-success .success-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  background: rgba(16, 185, 129, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--success);
  font-size: 2rem;
}

.form-success h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
  color: var(--gray-900);
}

.form-success p {
  color: var(--gray-500);
}

/* ===== MAP SECTION ===== */
.map-section {
  background: var(--gray-50);
}

.map-wrapper {
  margin-top: 48px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--primary-100);
  height: 400px;
  background: var(--primary-50);
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-placeholder {
  text-align: center;
  color: var(--gray-400);
}

.map-placeholder .map-icon {
  font-size: 4rem;
  margin-bottom: 16px;
  color: var(--primary-300);
}

.map-placeholder p {
  font-size: 1rem;
}

/* ===== SOCIAL MEDIA & CHANNELS SECTION ===== */
.social-channels-section {
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--gray-100);
}

.social-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 44px;
}

.social-box-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid #e2e8f0;
  padding: 24px;
  text-decoration: none;
  text-align: left;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

.social-box-card:hover {
  transform: translateY(-6px);
}

.social-box-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  transition: height 0.3s ease;
}

.social-box-card:hover .social-box-accent {
  height: 6px;
}

.social-box-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.social-icon-wrapper {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.social-box-card:hover .social-icon-wrapper {
  transform: scale(1.1) rotate(-3deg);
}

.social-pill-badge {
  font-size: 0.76rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 0.3px;
}

.social-box-body h3 {
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 4px;
}

.social-tagline {
  font-size: 0.84rem;
  color: var(--gray-500);
  margin-bottom: 10px;
}

.social-handle {
  display: inline-block;
  font-size: 0.86rem;
  font-weight: 600;
  word-break: break-all;
  margin-bottom: 16px;
}

.social-box-footer {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px dashed #e2e8f0;
}

.social-action-btn {
  font-size: 0.84rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: transform 0.2s ease;
}

.social-box-card:hover .social-action-btn {
  transform: translateX(4px);
}

/* === THEME 1: FACEBOOK === */
.box-facebook .social-box-accent { background: #1877F2; }
.box-facebook .social-icon-wrapper { background: rgba(24, 119, 242, 0.1); color: #1877F2; }
.box-facebook .social-pill-badge { background: rgba(24, 119, 242, 0.1); color: #1877F2; }
.box-facebook .social-handle { color: #1877F2; }
.box-facebook .social-action-btn { color: #1877F2; }
.box-facebook:hover {
  border-color: rgba(24, 119, 242, 0.4);
  box-shadow: 0 16px 32px rgba(24, 119, 242, 0.15);
  background: linear-gradient(180deg, #ffffff 0%, rgba(24, 119, 242, 0.03) 100%);
}

/* === THEME 2: INSTAGRAM === */
.box-instagram .social-box-accent {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}
.box-instagram .social-icon-wrapper {
  background: linear-gradient(45deg, rgba(240, 148, 51, 0.15), rgba(188, 24, 136, 0.15));
  color: #d62976;
}
.box-instagram .social-pill-badge {
  background: rgba(225, 48, 108, 0.1);
  color: #c13584;
}
.box-instagram .social-handle { color: #d62976; }
.box-instagram .social-action-btn { color: #d62976; }
.box-instagram:hover {
  border-color: rgba(214, 41, 118, 0.4);
  box-shadow: 0 16px 32px rgba(214, 41, 118, 0.16);
  background: linear-gradient(180deg, #ffffff 0%, rgba(214, 41, 118, 0.03) 100%);
}

/* === THEME 3: TWITTER / X === */
.box-twitter .social-box-accent { background: #0f1419; }
.box-twitter .social-icon-wrapper { background: rgba(15, 20, 25, 0.08); color: #0f1419; }
.box-twitter .social-pill-badge { background: rgba(15, 20, 25, 0.08); color: #0f1419; }
.box-twitter .social-handle { color: #0f1419; }
.box-twitter .social-action-btn { color: #0f1419; }
.box-twitter:hover {
  border-color: rgba(15, 20, 25, 0.4);
  box-shadow: 0 16px 32px rgba(15, 20, 25, 0.15);
  background: linear-gradient(180deg, #ffffff 0%, rgba(15, 20, 25, 0.02) 100%);
}

/* === THEME 4: GMAIL === */
.box-gmail .social-box-accent { background: #EA4335; }
.box-gmail .social-icon-wrapper { background: rgba(234, 67, 53, 0.1); color: #EA4335; }
.box-gmail .social-pill-badge { background: rgba(234, 67, 53, 0.1); color: #EA4335; }
.box-gmail .social-handle { color: #EA4335; }
.box-gmail .social-action-btn { color: #EA4335; }
.box-gmail:hover {
  border-color: rgba(234, 67, 53, 0.4);
  box-shadow: 0 16px 32px rgba(234, 67, 53, 0.15);
  background: linear-gradient(180deg, #ffffff 0%, rgba(234, 67, 53, 0.03) 100%);
}

/* === THEME 5: WHATSAPP === */
.box-whatsapp .social-box-accent { background: #25D366; }
.box-whatsapp .social-icon-wrapper { background: rgba(37, 211, 102, 0.12); color: #128C7E; }
.box-whatsapp .social-pill-badge { background: rgba(37, 211, 102, 0.12); color: #128C7E; }
.box-whatsapp .social-handle { color: #128C7E; }
.box-whatsapp .social-action-btn { color: #128C7E; }
.box-whatsapp:hover {
  border-color: rgba(37, 211, 102, 0.45);
  box-shadow: 0 16px 32px rgba(37, 211, 102, 0.18);
  background: linear-gradient(180deg, #ffffff 0%, rgba(37, 211, 102, 0.04) 100%);
}

/* === THEME 6: CLINIC ADDRESS === */
.box-address .social-box-accent { background: #059669; }
.box-address .social-icon-wrapper { background: rgba(5, 150, 105, 0.1); color: #059669; }
.box-address .social-pill-badge { background: rgba(5, 150, 105, 0.1); color: #059669; }
.box-address .social-handle { color: #059669; }
.box-address .social-action-btn { color: #059669; }
.box-address:hover {
  border-color: rgba(5, 150, 105, 0.4);
  box-shadow: 0 16px 32px rgba(5, 150, 105, 0.15);
  background: linear-gradient(180deg, #ffffff 0%, rgba(5, 150, 105, 0.03) 100%);
}

