/* Modern Contact Page Styles */
.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.contact-hero {
  text-align: center;
  margin-bottom: 3rem;
  padding: 2rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 20px;
  color: white;
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.contact-hero h1 {
  color: white !important;
  margin-bottom: 1rem;
}

.contact-hero p {
  font-size: 1.1rem;
  opacity: 0.9;
}

.contact-grid {
  display: grid;
  justify-content: center;
  align-items: center;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.contact-info {
  background: white;
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid #e0e6ed;
}

.contact-info h3 {
  color: #667eea;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 1rem;
  margin-bottom: 1rem;
  background: #f8f9ff;
  border-radius: 15px;
  transition: all 0.3s ease;
  border-left: 4px solid #667eea;
}

.contact-method:hover {
  transform: translateX(5px);
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.2);
}

.contact-method i {
  font-size: 1.5rem;
  color: #667eea;
  width: 30px;
  text-align: center;
}

.contact-method-info h5 {
  margin: 0;
  color: #333;
  font-weight: 600;
}

.contact-method-info span {
  color: #666;
  font-size: 0.9rem;
}

.modern-form {
  background: white;
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid #e0e6ed;
}

.modern-form h3 {
  color: #667eea;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-group {
  margin-bottom: 1.5rem;
  position: relative;
}

.form-control {
  width: 100%;
  padding: 1rem;
  border: 2px solid #e0e6ed;
  border-radius: 15px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: #f8f9ff;
}

.form-control:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
  background: white;
}

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

.submit-btn {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 1rem 2rem;
  border: none;
  border-radius: 15px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

.map-container {
  margin: 3rem 0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid #e0e6ed;
  height: 400px;
  position: relative;
  transition: all 0.3s ease;
}

.map-container:hover {
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.map {
  width: 100%;
  height: 100%;
  border-radius: 20px;
  filter: grayscale(20%);
  transition: all 0.3s ease;
}

.map-container:hover .map {
  filter: grayscale(0%);
}

.map-overlay {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(15px);
  padding: 1.2rem;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  border: 1px solid rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
}

.map-overlay:hover {
  background: rgba(255, 255, 255, 1);
  transform: scale(1.05);
}

.map-overlay h4 {
  margin: 0 0 0.8rem 0;
  color: #667eea;
  font-size: 1.2rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.map-overlay p {
  margin: 0.3rem 0;
  color: #666;
  font-size: 0.9rem;
  line-height: 1.4;
}

.map-overlay p:first-of-type {
  font-weight: 600;
  color: #333;
}

.tech-skills {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  padding: 2rem;
  border-radius: 20px;
  color: white;
  margin: 2rem 0;
  text-align: center;
}

.tech-skills h3 {
  color: white !important;
  margin-bottom: 1rem;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.skill-item {
  background: rgba(255, 255, 255, 0.2);
  padding: 1rem;
  border-radius: 15px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.skill-item i {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-container {
    padding: 1rem;
  }

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