/* --- Contact Page: About.html Inspired, Unique Classes --- */

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  background: linear-gradient(120deg, #e3f0ff 0%, #f9f9f9 100%);
  color: #1a2233;
  margin: 0;
  padding: 0;
}

/* --- Section Titles --- */

.contact-main-container h2,
.contact-main-support h2 {
  color: #056fcc;
  margin-bottom: 28px;
  letter-spacing: 1.5px;
  font-size: 2em;
  font-weight: 700;
}

/* --- Grid Layouts --- */

.contact-main-grid,
.contact-main-support-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 90vw;
  margin-left: auto;
  margin-right: auto;
  justify-content: center;
  align-content: center;
  margin-top: 70px;
}

.contact-methods-list {
  list-style: none;
  padding: 0;
  margin: 0 0 10px 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-methods-list li:hover {
  background: #e3f0ff;
  box-shadow: 0 4px 16px rgba(5,111,204,0.10);
}

.contact-methods-list i {
  color: #056fcc;
  font-size: 1.2em;
  min-width: 22px;
}

.contact-methods-list strong {
  color: #003e7e;
  font-weight: 600;
  margin-right: 4px;
}
.contact-methods-list a {
  color: #056fcc;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.18s;
  word-break: break-all;
}
.contact-methods-list a:hover {
  color: #003e7e;
  text-decoration: underline;
}

.contact-methods-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f2f8ff;
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 1.08em;
  box-shadow: 0 2px 8px rgba(5,111,204,0.06);
  transition: box-shadow 0.18s, background 0.18s;
}
/* --- Card Boxes --- */

.contact-main-box,
.contact-main-support-box {
  background: #fafdff;
  border-radius: 22px;
  box-shadow: 0 6px 32px rgba(5,111,204,0.10);
  padding: 36px 32px;
  margin-bottom: 0;
  transition: box-shadow 0.22s, transform 0.22s;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  border: none;
  position: relative;
}
.contact-main-box:hover,
.contact-main-support-box:hover {
  box-shadow: 0 16px 48px rgba(5,111,204,0.16);
  transform: translateY(-6px) scale(1.03);
}

.contact-main-box h3,
.contact-main-support-box h3 {
  color: #056fcc;
  margin-top: 0;
  margin-bottom: 18px;
  font-size: 1.25em;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}

.contact-main-box h4 {
  color: #056fcc;
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 1.12em;
  font-weight: 600;
}

.contact-main-box p {
  margin: 0 0 14px 0;
  font-size: 1.05em;
  color: #1a2233;
}

.contact-main-box a,
.contact-main-support-box a {
  color: #056fcc;
  text-decoration: none;
  transition: color 0.2s;
  word-break: break-all;
  font-weight: 500;
}
.contact-main-box a:hover,
.contact-main-support-box a:hover {
  color: #003e7e;
  text-decoration: underline;
}

/* --- Social Buttons --- */

.contact-main-social-grid {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 16px;
}
.contact-main-social-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(90deg, #056fcc 70%, #00c6fb 100%);
  color: #fff !important;
  padding: 14px 32px;
  border-radius: 28px;
  font-size: 1.15em;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
  box-shadow: 0 2px 12px rgba(5,111,204,0.10);
  justify-content: center;
  font-weight: 600;
  letter-spacing: 0.5px;
  border: none;
  min-height: 48px;
  overflow: visible;
  white-space: nowrap;
}
.contact-main-social-btn *,
.contact-main-social-btn i {
  color: #fff !important;
  fill: #fff !important;
}
.contact-main-social-btn:hover {
  background: linear-gradient(90deg, #003e7e 70%, #00a6e6 100%);
  transform: translateY(-2px) scale(1.06);
}

/* --- Map Responsive --- */

.contact-main-map iframe,
#map-dalycity,
#map-tashkent {
  width: 100% !important;
  min-width: 0;
  height: 200px;
  border-radius: 12px;
  display: block;
  border: none;
  z-index: 10;
}

.main-contact-section {
 margin-bottom: 30px;
}

.contact-main-phone-icon:hover {
  background: #003e7e;
  transform: scale(1.12);
}


/* --- Utility --- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

/* ...existing code... */

/* --- Responsive Grid Layouts --- */
@media (max-width: 1100px) {
  .contact-main-grid,
  .contact-main-support-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 40px;
  }
  .contact-main-box,
  .contact-main-support-box {
    padding: 28px 16px;
    min-width: 0;
  }
}

@media (max-width: 700px) {
  .contact-main-grid,
  .contact-main-support-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 24px;
    max-width: 100vw;
  }
  .contact-main-box,
  .contact-main-support-box {
    padding: 16px 6px;
    min-width: 0;
    border-radius: 14px;
  }
  .contact-main-container h2,
  .contact-main-support h2 {
    font-size: 1.3em;
    margin-bottom: 18px;
  }
  .contact-main-social-grid {
    gap: 10px;
  }
  .contact-main-social-btn {
    font-size: 1em;
    padding: 10px 10px;
    min-height: 40px;
  }
  .contact-methods-list li {
    font-size: 1em;
    padding: 10px 10px;
    gap: 8px;
  }
  .contact-main-map iframe,
  #map-dalycity,
  #map-tashkent {
    height: 140px;
    border-radius: 8px;
  }
}

/* --- Make Form and Buttons Full Width on Mobile --- */
@media (max-width: 600px) {
  .contact-form input,
  .contact-form textarea,
  .contact-form button {
    width: 100%;
    font-size: 1em;
    padding: 10px 8px;
  }
  .contact-main-container,
  .main-contact-section {
    padding: 8px 2px;
  }
  nav {
    flex-wrap: wrap;
    font-size: 0.98em;
  }
}

/* --- Ensure No Horizontal Scroll --- */
body {
  overflow-x: hidden;
}

/* --- Utility --- */
/* ...existing code... */