/* Contact Page Styles */
@font-face {
  font-family: 'IntroRust';
  src: url('fonts/introrust-base.otf') format('opentype');
}

:root {
  --primary-color: #1a1a1a;
  --secondary-color: #333333;
  --accent-color: #4a4a4a;
  --background-color: #ffffff;
  --surface-color: #f8f8f8;
  --error-color: #dc3545;
  --success-color: #28a745;
  --border-color: rgba(0, 0, 0, 0.1);
  --text-primary: #1a1a1a;
  --text-secondary: #4a4a4a;
  --text-tertiary: #666666;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.05);
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
}

.contact-page {
  background-color: var(--background-color);
  color: var(--text-primary);
  font-family: 'IntroRust', sans-serif;
  line-height: 1.6;
}

/* Hero Section */
.contact-hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding: 2rem;
  overflow: hidden;
  background-color: #f8f8f8;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.animated-shapes .shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
  animation: float 20s infinite ease-in-out;
}

.shape-1 {
  width: 300px;
  height: 300px;
  background: var(--gradient-primary);
  top: -50px;
  left: -50px;
}

.shape-2 {
  width: 200px;
  height: 200px;
  background: var(--gradient-secondary);
  top: 30%;
  right: -30px;
  animation-delay: -5s;
}

.shape-3 {
  width: 150px;
  height: 150px;
  background: var(--gradient-primary);
  bottom: -30px;
  left: 40%;
  animation-delay: -10s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(20px, -20px) rotate(5deg); }
  50% { transform: translate(-10px, 20px) rotate(-5deg); }
  75% { transform: translate(-20px, -10px) rotate(3deg); }
}

.gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom right,
    rgba(255, 255, 255, 0.9),
    rgba(255, 255, 255, 0.7)
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.contact-heading {
  font-size: 4rem;
  line-height: 1.2;
  margin: 1rem 0;
  font-weight: 700;
  color: #000000;
}

.highlight {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.contact-subtitle {
  font-size: 1.5rem;
  color: #333333;
  margin-top: 1rem;
}

/* Contact Form Section */
.contact-form-section {
  padding: 120px 24px;
  background: linear-gradient(
    135deg,
    var(--background-color) 0%,
    var(--surface-color) 100%
  );
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.contact-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  position: relative;
}

/* Form Wrapper Styles */
.contact-form-wrapper {
  padding: 48px;
  background: var(--background-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.section-header {
  margin-bottom: 48px;
}

.section-tag {
  display: inline-block;
  padding: 8px 16px;
  background: var(--surface-color);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.section-header h2 {
  font-size: 36px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-description {
  font-size: 16px;
  color: var(--text-tertiary);
  max-width: 500px;
}

/* Modern Form Styles */
.modern-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

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

.input-group {
  position: relative;
}

.input-group input,
.input-group select,
.input-group textarea {
  width: 100%;
  padding: 16px;
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 16px;
  color: var(--text-primary);
  transition: var(--transition-normal);
}

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

.input-group label {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-tertiary);
  transition: var(--transition-normal);
  pointer-events: none;
  font-size: 16px;
}

.input-group textarea ~ label {
  top: 16px;
  transform: none;
}

.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus {
  border-color: var(--primary-color);
  background: var(--background-color);
  outline: none;
}

.input-group input:focus ~ label,
.input-group select:focus ~ label,
.input-group textarea:focus ~ label,
.input-group input:not(:placeholder-shown) ~ label,
.input-group select:not(:placeholder-shown) ~ label,
.input-group textarea:not(:placeholder-shown) ~ label {
  top: -8px;
  left: 12px;
  font-size: 12px;
  padding: 0 4px;
  background: var(--background-color);
  color: var(--primary-color);
}

.submit-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  background: var(--primary-color);
  color: var(--background-color);
  border: none;
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-normal);
  margin-top: 16px;
}

.submit-button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.button-icon {
  transition: var(--transition-normal);
}

.submit-button:hover .button-icon {
  transform: translateX(4px);
}

/* Contact Info Styles */
.contact-info-wrapper {
  padding: 48px;
  background: var(--surface-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.info-card {
  height: 100%;
}

.card-content {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.card-content h3 {
  font-size: 24px;
  font-weight: 600;
  color: var(--text-primary);
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.channel {
  display: flex;
  align-items: center;
  gap: 16px;
}

.channel-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--background-color);
  border-radius: var(--radius-sm);
  color: var(--primary-color);
}

.channel-details {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.channel-label {
  font-size: 14px;
  color: var(--text-tertiary);
}

.channel-value {
  font-size: 16px;
  color: var(--text-primary);
  text-decoration: none;
  transition: var(--transition-normal);
}

.channel-value:hover {
  color: var(--accent-color);
}

.locations {
  border-top: 1px solid var(--border-color);
  padding-top: 48px;
}

.locations h4 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.location-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.location {
  padding: 24px;
  background: var(--background-color);
  border-radius: var(--radius-sm);
  transition: var(--transition-normal);
}

.location:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.location-name {
  display: block;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.location address {
  font-style: normal;
  font-size: 14px;
  color: var(--text-tertiary);
  line-height: 1.6;
}

.contact-social-links {
  display: flex;
  gap: 16px;
  padding-top: 48px;
  border-top: 1px solid var(--border-color);
}

.contact-social-link {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--background-color);
  border-radius: var(--radius-sm);
  color: var(--primary-color);
  transition: var(--transition-normal);
}

.contact-social-link:hover {
  transform: translateY(-2px);
  background: var(--primary-color);
  color: var(--background-color);
}

/* Global Presence Section */
.global-presence {
  padding: 5rem 2rem;
  text-align: center;
  position: relative;
  background: #ffffff;
}

.section-tag {
  color: #687b4d;
  font-size: 0.9rem;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.section-heading {
  color: #000000;
  font-size: 2.5rem;
  margin-bottom: 3rem;
}

.presence-map {
  position: relative;
  height: 500px;
  margin: 4rem auto;
  max-width: 1200px;
}

.world-map {
  width: 100%;
  height: 100%;
  overflow: visible;
}

/* Map Elements Styling */
.continent {
  transition: all 0.3s ease;
}

.marker-dot {
  fill: #4ECDC4;
  transition: all 0.3s ease;
}

.marker-text {
  font-family: 'IntroRust', sans-serif;
  font-size: 14px;
  fill: #333333;
  text-anchor: middle;
  transition: all 0.3s ease;
}

.connection-line {
  fill: none;
  stroke: #4ECDC4;
  stroke-width: 1;
  stroke-dasharray: 5,5;
  opacity: 0.5;
  animation: dash 20s linear infinite;
}

@keyframes dash {
  to {
    stroke-dashoffset: 100;
  }
}

/* Animated Location Points */
.location-points {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.location-point {
  position: absolute;
  width: 20px;
  height: 20px;
}

.point-pulse {
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(78, 205, 196, 0.3);
  animation: pulse 2s ease-out infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(3);
    opacity: 0;
  }
}

/* Location Point Positions */
.london {
  top: 30%;
  left: 48%;
}

.dubai {
  top: 44%;
  left: 62%;
}

.hyderabad {
  top: 48%;
  left: 68%;
}

.singapore {
  top: 56%;
  left: 75%;
}

/* Hover Effects */
.marker-dot:hover {
  fill: #FF6B6B;
  r: 7;
}

.marker-dot:hover + .marker-text {
  fill: #FF6B6B;
  font-weight: bold;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .presence-map {
    height: 400px;
  }
  
  .marker-text {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .presence-map {
    height: 300px;
  }
  
  .marker-text {
    font-size: 10px;
  }
}






/* Responsive Design */
@media (max-width: 1200px) {
  .contact-grid {
    gap: 40px;
  }
  
  .contact-form-wrapper,
  .contact-info-wrapper {
    padding: 32px;
  }
}

@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .location-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .contact-hero {
    min-height: 60vh;
  }

  .contact-heading {
    font-size: 2.5rem;
  }

  .contact-form-section {
    padding: 80px 24px;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .section-header h2 {
    font-size: 28px;
  }
  
  .location-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .contact-heading {
    font-size: 2rem;
  }

  .contact-subtitle {
    font-size: 1.2rem;
  }

  .contact-form-section {
    padding: 60px 16px;
  }
  
  .submit-button {
    width: 100%;
  }
} 