/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Arial, sans-serif;
}

body {
  background: #f5f6fa;
  color: #333;
  overflow-x: hidden;
}

/* Contact Section */
.contact-section {
  position: relative;
  padding: 60px 10%;
  background: #fff;
  overflow: hidden;
}

.contact-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

/* Circle Animated Background */
.circle-bg::before,
.circle-bg::after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(0, 123, 255, 0.1);
  animation: move 15s linear infinite;
  z-index: 1;
}
.circle-bg::after {
  width: 200px;
  height: 200px;
  background: rgba(255, 0, 123, 0.1);
  animation-duration: 20s;
}

@keyframes move {
  0% { top: -100px; left: -100px; }
  50% { top: 200px; left: 200px; }
  100% { top: -100px; left: -100px; }
}

/* Form Styling */
.contact-form {
  flex: 1;
  min-width: 300px;
  background: #fafafa;
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  animation: fadeInUp 1s ease;
}

.contact-form h2 {
  margin-bottom: 20px;
  color: #007bff;
}

.form-group {
  margin-bottom: 15px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 10px;
  outline: none;
  transition: 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #007bff;
  box-shadow: 0 0 8px rgba(0,123,255,0.3);
}

.checkbox {
  margin: 10px 0;
}

.btn-primary {
  background: #007bff;
  color: #fff;
  border: none;
  padding: 12px 20px;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.3s;
}
.btn-primary:hover {
  background: #0056b3;
}

/* Contact Info */
.contact-info {
  flex: 1;
  min-width: 300px;
  padding: 25px;
  background: #fdfdfd;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  animation: fadeInUp 1.3s ease;
}

.contact-info h2 {
  margin-bottom: 15px;
  color: #007bff;
}

.extra-info p {
  margin: 8px 0;
  font-size: 15px;
}

.extra-info i {
  margin-right: 8px;
  color: #007bff;
}

.social-links {
  list-style: none;
  margin-top: 15px;
}

.social-links li {
  margin: 8px 0;
}

.social-links a {
  color: #333;
  text-decoration: none;
  transition: 0.3s;
}
.social-links a:hover {
  color: #007bff;
}

/* Map */
.map-section {
  margin-top: 50px;
}

/* Popup */
.popup-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  display: none;
  justify-content: center;
  align-items: center;
  background: rgba(0,0,0,0.6);
  z-index: 999;
}

.popup-box {
  background: #fff;
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.popup-box button {
  margin-top: 15px;
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  background: #007bff;
  color: #fff;
  cursor: pointer;
}
.popup-box button:hover {
  background: #0056b3;
}

/* Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 768px) {
  .contact-grid {
    flex-direction: column;
  }
}
/* ==== Contact Header ==== */
.contact-header {
  width: 100%;
  padding: 80px 10% 60px;
  background: linear-gradient(135deg, #007bff, #00c6ff);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

/* Background Circle Animation */
.contact-header::before,
.contact-header::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  animation: float 10s ease-in-out infinite;
}
.contact-header::before {
  width: 300px;
  height: 300px;
  top: -100px;
  left: -120px;
}
.contact-header::after {
  width: 200px;
  height: 200px;
  bottom: -80px;
  right: -100px;
  animation-duration: 14s;
}

.header-content {
  max-width: 800px;
  z-index: 2;
  position: relative;
  animation: fadeInDown 1.2s ease;
}

.header-content h1 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.header-content p {
  font-size: 18px;
  line-height: 1.6;
  opacity: 0.95;
}

/* Animations */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-40px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes float {
  0%, 100% { transform: translate(0,0); }
  50% { transform: translate(40px,30px); }
}

/* Responsive */
@media (max-width: 768px) {
  .header-content h1 {
    font-size: 30px;
  }
  .header-content p {
    font-size: 16px;
  }
}
/* Responsive */
@media (max-width: 768px) {
  .contact-grid {
    flex-direction: column;
  }

  .contact-section {
    padding: 40px 5%;
  }

  .contact-form,
  .contact-info {
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
  }

  .social-links {
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    padding-top: 10px;
    gap: 15px;
  }

  .social-links li {
    margin: 0;
  }

  .header-content h1 {
    font-size: 30px;
  }

  .header-content p {
    font-size: 16px;
  }

  .contact-header {
    padding: 60px 5% 40px;
  }
}
