/* Contact Page Specific Styles */

/* Mobile Touch Target Enhancements */
button,
a,
input,
textarea,
select,
.btn-primary,
.social-card-btn,
.info-card {
  min-width: 44px;
  min-height: 44px;
  -webkit-tap-highlight-color: rgba(64, 224, 208, 0.3);
}

button,
a {
  touch-action: manipulation;
}

/* Hero Section with Diagonal Split */
.contact-hero {
  position: relative;
  min-height: 35vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 60px 0 30px;
}

.hero-diagonal-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(64, 224, 208, 0.1) 0%, rgba(32, 178, 170, 0.05) 50%, transparent 100%);
  clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
  z-index: 1;
}

.floating-shape {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(64, 224, 208, 0.3), rgba(32, 178, 170, 0.2));
  filter: blur(40px);
  animation: float 15s ease-in-out infinite;
  animation-fill-mode: both;
  z-index: 1;
}

.floating-shape.shape-1 {
  width: 300px;
  height: 300px;
  top: 10%;
  left: 10%;
  animation-delay: 0s;
}

.floating-shape.shape-2 {
  width: 200px;
  height: 200px;
  top: 50%;
  right: 15%;
  animation-delay: 3s;
}

.floating-shape.shape-3 {
  width: 250px;
  height: 250px;
  bottom: 10%;
  left: 50%;
  animation-delay: 6s;
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(30px, -30px) scale(1.1);
  }
  66% {
    transform: translate(-20px, 20px) scale(0.9);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 650px;
  margin: 0 auto;
  margin-bottom: 0;
}

.hero-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #40e0d0, #20b2aa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeInUp 0.6s ease-out;
  animation-fill-mode: both;
}

.hero-description {
  font-size: 1rem;
  color: #e0e0e0;
  line-height: 1.6;
  animation: fadeInUp 0.6s ease-out 0.15s backwards;
  animation-fill-mode: both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Contact Page Content */
.contact-page-content {
  padding: 80px 0;
  position: relative;
  z-index: 2;
}

.contact-unified-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(64, 224, 208, 0.2);
  border-radius: 20px;
  padding: 2.5rem;
  backdrop-filter: blur(10px);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-form-column {
  width: 100%;
  padding-right: 1.5rem;
  border-right: 1px solid rgba(64, 224, 208, 0.2);
}

.contact-details-column {
  width: 100%;
  padding-left: 1.5rem;
}

.contact-details-card h3 {
  font-size: 1.5rem;
  color: #40e0d0;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.contact-detail-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(64, 224, 208, 0.15);
}

.contact-detail-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.contact-detail-icon {
  background: rgba(64, 224, 208, 0.1);
  border: 1px solid rgba(64, 224, 208, 0.3);
  border-radius: 12px;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.contact-detail-icon i {
  font-size: 1.3rem;
  color: #40e0d0;
}

.contact-detail-item:hover .contact-detail-icon {
  background: rgba(64, 224, 208, 0.2);
  border-color: #40e0d0;
  transform: scale(1.05);
}

.contact-detail-content {
  flex: 1;
}

.contact-detail-content h4 {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.5rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-detail-content p {
  font-size: 1rem;
  color: #ffffff;
  line-height: 1.6;
  margin: 0;
}

.contact-detail-content a {
  color: #40e0d0;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-detail-content a:hover {
  color: #20b2aa;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}

/* Contact Info Cards */
.contact-info h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  background: linear-gradient(135deg, #40e0d0, #20b2aa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.info-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  row-gap: 1.5rem;
}

.info-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(64, 224, 208, 0.2);
  border-radius: 16px;
  transition: all 0.3s ease;
  min-height: 44px;
}

.info-card:hover {
  background: rgba(64, 224, 208, 0.05);
  border-color: rgba(64, 224, 208, 0.4);
  transform: translateX(10px);
}

.info-icon-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(64, 224, 208, 0.2), rgba(32, 178, 170, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #40e0d0;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.info-card:hover .info-icon-circle {
  transform: rotate(360deg);
  background: linear-gradient(135deg, rgba(64, 224, 208, 0.3), rgba(32, 178, 170, 0.2));
}

.info-content h3 {
  font-size: 1.1rem;
  color: #40e0d0;
  margin-bottom: 0.5rem;
}

.info-content p {
  color: #e0e0e0;
  font-size: 1rem;
}

/* Contact Form */
.contact-form-wrapper {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(64, 224, 208, 0.2);
  border-radius: 20px;
  padding: 2rem;
  backdrop-filter: blur(10px);
}

.contact-form-wrapper h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  background: linear-gradient(135deg, #40e0d0, #20b2aa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.form-group {
  margin-bottom: 1.25rem;
  position: relative;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: #40e0d0;
  font-weight: 500;
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(64, 224, 208, 0.3);
  border-radius: 12px;
  color: #fff;
  font-family: "Tomorrow", sans-serif;
  font-size: 1rem;
  transition: all 0.3s ease;
  min-height: 44px;
  -webkit-appearance: none;
  appearance: none;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #40e0d0;
  background: rgba(64, 224, 208, 0.05);
  box-shadow: 0 0 20px rgba(64, 224, 208, 0.2);
}

.form-group input.field-touched,
.form-group textarea.field-touched {
  border-color: rgba(64, 224, 208, 0.4);
}

.form-group textarea {
  resize: none;
  height: 130px;
}

/* Field validation error classes (applied by JavaScript) */
.form-group input.field-error,
.form-group textarea.field-error {
  border-color: rgba(255, 77, 109, 0.5);
}

.form-group input.field-touched.field-error,
.form-group textarea.field-touched.field-error {
  border-color: rgba(255, 77, 109, 0.7);
  background: rgba(255, 77, 109, 0.05);
}

.error-message {
  display: block;
  color: #ff4d6d;
  font-size: 0.85rem;
  margin-top: 0.4rem;
  min-height: 1.2rem;
  font-weight: 500;
}

.error-message:empty {
  display: none;
}

.form-submit-wrapper {
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  padding: 1rem;
  margin: 1rem -2rem -2rem;
  border-radius: 0 0 20px 20px;
}

.btn-primary {
  width: 100%;
  margin: 0;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, #40e0d0, #20b2aa);
  color: #0a0a0a;
  border: none;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: "Tomorrow", sans-serif;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(64, 224, 208, 0.4);
}

.btn-primary:active {
  transform: translateY(0);
}

/* Social Invitation Section */
.social-invitation {
  padding: 100px 0;
  position: relative;
  background: linear-gradient(180deg, transparent 0%, rgba(64, 224, 208, 0.03) 50%, transparent 100%);
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
}

.section-title {
  font-size: 2.3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #40e0d0, #20b2aa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-description {
  font-size: 1.2rem;
  color: #e0e0e0;
  line-height: 1.8;
}

.social-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.social-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(64, 224, 208, 0.2);
  border-radius: 24px;
  padding: 3rem 2rem;
  text-align: center;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.social-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(64, 224, 208, 0.1), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.social-card:hover {
  transform: translateY(-10px);
  border-color: rgba(64, 224, 208, 0.5);
  box-shadow: 0 20px 60px rgba(64, 224, 208, 0.2);
}

.social-card:hover::before {
  opacity: 1;
}

.social-card-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  position: relative;
  z-index: 1;
  transition: all 0.4s ease;
}

.facebook-card .social-card-icon {
  background: linear-gradient(135deg, rgba(24, 119, 242, 0.2), rgba(24, 119, 242, 0.1));
  color: #1877f2;
}

.instagram-card .social-card-icon {
  background: linear-gradient(135deg, rgba(225, 48, 108, 0.2), rgba(193, 53, 132, 0.1));
  color: #e1306c;
}

.tiktok-card .social-card-icon {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.3), rgba(255, 0, 80, 0.1));
  color: #ff0050;
}

.social-card:hover .social-card-icon {
  transform: scale(1.1) rotate(5deg);
}

.social-card-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #fff;
}

.social-card-description {
  font-size: 1rem;
  color: #b0b0b0;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.social-card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 2rem;
  background: linear-gradient(135deg, #40e0d0, #20b2aa);
  color: #0a0a0a;
  text-decoration: none;
  border-radius: 12px;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
  min-width: 44px;
  min-height: 44px;
}

.social-card-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(64, 224, 208, 0.4);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .contact-hero {
    padding: 50px 0 25px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .contact-unified-card {
    padding: 2rem;
  }
  
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .contact-form-column {
    padding-right: 0;
    border-right: none;
    border-bottom: 1px solid rgba(64, 224, 208, 0.2);
    padding-bottom: 2rem;
  }
  
  .contact-details-column {
    padding-left: 0;
  }

  .social-cards-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .hero-title {
    font-size: 1.8rem;
  }

  .section-title {
    font-size: 1.9rem;
  }
  
  .form-group {
    margin-bottom: 1.5rem;
  }

  .form-group input,
  .form-group textarea {
    padding: 1.1rem;
    font-size: 16px;
  }
  
  .form-submit-wrapper {
    margin: 1rem -2rem -2rem;
  }
}

@media (max-width: 768px) {
  .contact-hero {
    padding: 40px 0 20px;
    min-height: 30vh;
  }

  .hero-title {
    font-size: 1.5rem;
  }

  .hero-description {
    font-size: 0.9rem;
  }

  .floating-shape {
    display: none;
  }

  .contact-page-content {
    padding: 60px 0;
  }

  .contact-form-wrapper {
    padding: 1.5rem;
  }
  
  .form-submit-wrapper {
    margin: 1rem -1.5rem -1.5rem;
    padding: 1rem;
  }

  .social-invitation {
    padding: 60px 0;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .section-description {
    font-size: 1rem;
  }

  .social-card {
    padding: 2rem 1.5rem;
    transition: all 0.3s ease;
  }

  .social-card-icon {
    width: 80px;
    height: 80px;
    font-size: 2.5rem;
    transition: all 0.3s ease;
  }

  .info-card {
    transition: all 0.2s ease;
  }

  .info-icon-circle {
    transition: all 0.2s ease;
  }
  
  .form-group {
    margin-bottom: 1.75rem;
  }

  .form-group input,
  .form-group textarea {
    padding: 1.2rem;
    font-size: 16px;
    transition: all 0.2s ease;
  }
  
  .form-group label {
    font-size: 1rem;
  }
  
  .error-message {
    font-size: 0.9rem;
    line-height: 1.4;
  }

  .btn-primary {
    padding: 1.2rem 2rem;
    font-size: 1.05rem;
    min-height: 52px;
    transition: all 0.2s ease;
  }

  .social-card-btn {
    transition: all 0.2s ease;
  }
}

/* Very small screens (< 360px) - Optimized typography and spacing */
@media (max-width: 359px) {
  .contact-hero {
    padding: 30px 0 15px;
    min-height: 25vh;
  }

  .hero-content {
    max-width: 100%;
    padding: 0 12px;
  }

  .hero-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    line-height: 1.3;
  }

  .hero-description {
    font-size: 0.82rem;
    line-height: 1.55;
  }

  .contact-page-content {
    padding: 40px 0;
  }

  .contact-info h2,
  .contact-form-wrapper h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .info-cards {
    gap: 1.2rem;
  }

  .info-card {
    padding: 1.2rem;
    gap: 1.2rem;
    border-radius: 14px;
  }

  .info-icon-circle {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }

  .info-content h3 {
    font-size: 0.95rem;
    margin-bottom: 0.4rem;
  }

  .info-content p {
    font-size: 0.875rem;
    line-height: 1.5;
  }

  .contact-form-wrapper {
    padding: 1.5rem;
    border-radius: 16px;
  }

  .form-group {
    margin-bottom: 0.65rem;
  }

  .form-group label {
    margin-bottom: 0.35rem;
    font-size: 0.9rem;
  }

  .form-group input,
  .form-group textarea {
    padding: 0.85rem;
    font-size: 0.9rem;
    border-radius: 10px;
  }

  .form-group textarea {
    height: 110px;
  }

  .btn-primary {
    padding: 0.85rem 1.75rem;
    font-size: 0.95rem;
    border-radius: 10px;
  }

  .social-invitation {
    padding: 40px 0;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .section-title {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    line-height: 1.3;
  }

  .section-description {
    font-size: 0.9rem;
    line-height: 1.6;
  }

  .social-card {
    padding: 2rem 1.25rem;
    border-radius: 20px;
  }

  .social-card-icon {
    width: 70px;
    height: 70px;
    font-size: 2.25rem;
    margin-bottom: 1.25rem;
  }

  .social-card-title {
    font-size: 1.5rem;
    margin-bottom: 0.85rem;
  }

  .social-card-description {
    font-size: 0.9rem;
    margin-bottom: 1.75rem;
    line-height: 1.55;
  }

  .social-card-btn {
    padding: 0.7rem 1.75rem;
    font-size: 0.9rem;
    border-radius: 10px;
  }
}
