* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  background: #0a0a0a;
  color: #ffffff;
  overflow-x: hidden;
}

/* ========== CONTACT HERO SECTION ========== */
.contact-hero {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0a0a0a;
  overflow: hidden;
  padding: 120px 20px 60px;
}

.contact-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(100, 100, 100, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(100, 100, 100, 0.1) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: gridMove 20s linear infinite;
  z-index: 1;
}

@keyframes gridMove {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(50px, 50px);
  }
}

.contact-hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(255, 107, 53, 0.15) 0%,
    transparent 70%
  );
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 800px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(50, 50, 50, 0.4);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(100, 100, 100, 0.3);
  padding: 8px 20px;
  border-radius: 50px;
  margin-bottom: 30px;
}

.hero-badge-icon {
  width: 8px;
  height: 8px;
  background: var(--primary-color);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.2);
  }
}

.hero-badge-text {
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  font-weight: 600;
}

.hero-title {
  font-family: "Rajdhani", sans-serif;
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero-title-gradient {
  background: linear-gradient(
    135deg,
    #ffffff 0%,
    var(--primary-color) 50%,
    #ffffff 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 4s ease infinite;
}

@keyframes gradientShift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
}

/* ========== MAIN CONTACT SECTION ========== */
.contact-main {
  position: relative;
  padding: 80px 20px;
  background: #0a0a0a;
  z-index: 10;
}

.contact-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

/* ========== CONTACT INFO ========== */
.contact-info-side {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.info-section {
  background: rgba(50, 50, 50, 0.4);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(100, 100, 100, 0.3);
  padding: 35px;
  border-radius: 16px;
  transition: all 0.3s ease;
}

.info-section:hover {
  background: rgba(255, 107, 53, 0.1);
  border-color: rgba(255, 107, 53, 0.4);
  transform: translateY(-5px);
}

.info-title {
  font-family: "Rajdhani", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.info-title i {
  font-size: 1.3rem;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  padding: 15px;
  background: rgba(30, 30, 30, 0.4);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.info-item:last-child {
  margin-bottom: 0;
}

.info-item:hover {
  background: rgba(40, 40, 40, 0.6);
  transform: translateX(5px);
}

.info-icon {
  width: 45px;
  height: 45px;
  background: rgba(255, 107, 53, 0.2);
  border: 1px solid rgba(255, 107, 53, 0.3);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.info-text {
  flex: 1;
}

.info-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.info-value {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

.info-value a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: color 0.3s ease;
}

.info-value a:hover {
  color: var(--primary-color);
}

/* Social Links */
.social-links {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.social-link {
  width: 45px;
  height: 45px;
  background: rgba(50, 50, 50, 0.6);
  border: 1px solid rgba(100, 100, 100, 0.3);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: rgba(255, 107, 53, 0.2);
  border-color: rgba(255, 107, 53, 0.4);
  color: var(--primary-color);
  transform: translateY(-3px);
}

/* Offices Grid */
.offices-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.office-card {
  background: rgba(30, 30, 30, 0.4);
  border: 1px solid rgba(100, 100, 100, 0.2);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  gap: 15px;
  align-items: flex-start;
  transition: all 0.3s ease;
}

.office-card:hover {
  background: rgba(40, 40, 40, 0.6);
  border-color: rgba(255, 107, 53, 0.3);
  transform: translateX(5px);
}

.office-flag {
  font-size: 2.5rem;
  line-height: 1;
  flex-shrink: 0;
}

.office-info {
  flex: 1;
}

.office-country {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.office-address {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin-bottom: 10px;
}

.office-phone {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

.office-phone strong {
  color: rgba(255, 255, 255, 0.9);
  display: block;
  margin-bottom: 3px;
}

/* ========== CONTACT FORM ========== */
.contact-form-side {
  background: rgba(50, 50, 50, 0.4);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(100, 100, 100, 0.3);
  padding: 40px;
  border-radius: 16px;
  height: fit-content;
  position: sticky;
  top: 100px;
}

.form-header {
  margin-bottom: 35px;
}

.form-header h3 {
  font-family: "Rajdhani", sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
}

.form-header p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group label .required {
  color: var(--primary-color);
  margin-left: 3px;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 15px 20px;
  background: rgba(30, 30, 30, 0.6);
  border: 1px solid rgba(100, 100, 100, 0.3);
  border-radius: 10px;
  color: #ffffff;
  font-size: 0.95rem;
  font-family: "Inter", sans-serif;
  transition: all 0.3s ease;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: rgba(255, 107, 53, 0.6);
  background: rgba(40, 40, 40, 0.7);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.form-textarea {
  height: 120px;
  resize: vertical;
  min-height: 120px;
  max-height: 250px;
}

.form-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23ff6b35' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 20px center;
  padding-right: 45px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-submit {
  width: 100%;
  padding: 16px 32px;
  background: var(--primary-color);
  border: 1px solid var(--primary-color);
  border-radius: 12px;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
  overflow: hidden;
}

.form-submit::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.5s ease;
}

.form-submit:hover {
  background: #ff8555;
  border-color: #ff8555;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(255, 107, 53, 0.4);
}

.form-submit:hover::before {
  left: 100%;
}

.form-submit:active {
  transform: translateY(0);
}

.form-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* reCAPTCHA styling */
.g-recaptcha {
  transform: scale(0.95);
  transform-origin: 0 0;
}

@media (max-width: 480px) {
  .g-recaptcha {
    transform: scale(0.85);
  }
}

.spinner {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Success/Error Messages */
.form-message {
  padding: 15px 20px;
  border-radius: 10px;
  margin-bottom: 25px;
  display: none;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
}

.form-message.show {
  display: flex;
}

.form-message.success {
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #22c55e;
}

.form-message.error {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #ef4444;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .contact-container {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .contact-form-side {
    position: static;
  }
}

@media (max-width: 768px) {
  .contact-hero {
    padding: 100px 20px 50px;
    min-height: 40vh;
  }

  .contact-main {
    padding: 60px 20px;
  }

  .contact-form-side {
    padding: 30px 25px;
  }

  .info-section {
    padding: 28px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-badge {
    padding: 6px 16px;
    font-size: 13px;
  }

  .contact-form-side {
    padding: 25px 20px;
  }

  .form-header h3 {
    font-size: 1.5rem;
  }

  .info-section {
    padding: 25px 20px;
  }

  .info-item {
    padding: 12px;
  }

  .form-input,
  .form-textarea,
  .form-select {
    padding: 12px 16px;
    font-size: 0.9rem;
  }

  .office-card {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .office-flag {
    font-size: 2rem;
  }

  .office-phone strong {
    margin-top: 5px;
  }
}
