.contact-section-1 {
  position: relative;
  overflow: hidden;
  background: #f8f9fa;
}

/* Animated Gradient Background */
.contact-section-1::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 50%, #f8f9fa 100%);
  z-index: 0;
}

/* Decorative Floating Elements */
.contact-section-1::after {
  content: "";
  position: absolute;
  top: -10%;
  right: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(21, 105, 253, 0.08) 0%,
    transparent 70%
  );
  border-radius: 50%;
  animation: float 20s ease-in-out infinite;
  z-index: 0;
}

.contact-section-1 .container {
  position: relative;
  z-index: 1;
}

/* Dot Pattern Overlay */
.contact-section-1 .container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(
    circle,
    rgba(21, 105, 253, 0.04) 1px,
    transparent 1px
  );
  background-size: 30px 30px;
  pointer-events: none;
  opacity: 0.6;
  z-index: 0;
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(30px, 30px) scale(1.1);
  }
}

/* ============================================
           FORM SIDE STYLING - IMPROVED
        ============================================ */
.contact-form-side {
  background: var(--text-white);
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  position: relative;
  z-index: 2;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.contact-form-side:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
}

.form-header {
  margin-bottom: 40px;
}

.form-title {
  font-size: var(--heading-md);
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.form-description {
  font-size: var(--font-size-16);
  color: var(--text-secondary);
  line-height: 1.8;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  position: relative;
}

.form-group label {
  display: block;
  font-size: var(--font-size-14);
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 16px 20px;
  font-family: var(--font-primary);
  font-size: var(--font-size-16);
  color: var(--text-dark);
  background: #f8f9fa;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border: 2px solid var(--primary-color);
  background: var(--text-white);
  box-shadow: 0 0 0 4px rgba(21, 105, 253, 0.1);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

/* Button using common.css styles - matching exactly */
.btn-submit {
  font-family: var(--mulish);
  width: 100%;
  background: transparent;
  color: var(--secondary-color);
  border: 1px solid var(--secondary-color);
  padding: 1rem 2rem;
  border-radius: 0;
  font-size: var(--font-size-18);
  font-weight: 700;
  line-height: 27px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  white-space: nowrap;
  position: relative;
  margin-top: 10px;
}

.btn-submit i {
  font-size: var(--font-size-14);
  transition: transform 0.3s ease;
}

.btn-submit:hover {
  background: var(--secondary-color);
  border-color: var(--secondary-color);
  color: var(--text-white);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(11, 60, 93, 0.3);
}

.btn-submit:hover i {
  transform: translateX(5px);
}

/* ============================================
           INFO SIDE - ENHANCED BACKGROUND
        ============================================ */
.contact-info-side {
  background: var(--secondary-color);
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  z-index: 2;
}

/* Gradient Background Layer */
.contact-info-side::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(
    135deg,
    var(--secondary-color),
    var(--primary-color)
  );
  z-index: 0;
}

/* Dot Pattern Overlay */
.contact-info-side::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: url("data:image/svg+xml,<svg width='100' height='100' xmlns='http://www.w3.org/2000/svg'><circle cx='50' cy='50' r='2' fill='white' opacity='0.1'/></svg>");
  background-size: 50px 50px;
  z-index: 1;
}

.info-content {
  position: relative;
  z-index: 2;
}

.info-header {
  margin-bottom: 40px;
}

.info-title {
  font-size: var(--font-size-36);
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 15px;
}

.info-subtitle {
  font-size: var(--font-size-16);
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
}

.info-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.3s ease;
}

.info-item:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateX(10px);
  border-color: rgba(255, 255, 255, 0.3);
}

.info-icon {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.info-icon i {
  color: var(--text-white);
  font-size: var(--font-size-20);
}

.info-text {
  flex: 1;
}

.info-label {
  font-size: var(--font-size-14);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.info-value {
  font-size: var(--font-size-16);
  color: var(--text-white);
  line-height: 1.6;
}

.info-value a {
  color: var(--text-white);
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

.info-value a:hover {
  color: rgba(255, 255, 255, 0.8);
  transform: translateX(3px);
}

.social-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.social-link {
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-link:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: var(--text-white);
  transform: translateY(-3px);
}

/* ============================================
           MAPS SECTION - IMPROVED UI
        ============================================ */
.map-section {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  position: relative;
}

.map-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(21, 105, 253, 0.2),
    transparent
  );
}

.map-header {
  text-align: center;
  margin-bottom: 50px;
}

.map-header .section-tag {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background: rgba(21, 105, 253, 0.1);
  border-left: 3px solid var(--primary-color);
  color: var(--primary-color);
  font-size: var(--font-size-16);
  font-weight: 600;
  margin-bottom: 15px;
}

.map-header h2 {
  font-size: var(--heading-md);
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.map-header p {
  font-size: var(--font-size-16);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.map-container {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
  height: 450px;
}

.map-container:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.map-container iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.map-overlay {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  z-index: 10;
  width: fit-content;
}

.map-overlay h4 {
  font-size: var(--font-size-18);
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 8px;
}

.map-overlay p {
  font-size: var(--font-size-14);
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.6;
}

/* ============================================
           RESPONSIVE BREAKPOINTS
        ============================================ */

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .contact-form-side,
  .contact-info-side {
    padding: 60px 50px;
  }
}

/* Medium devices (tablets, 768px to 991px) */
@media (min-width: 768px) and (max-width: 991px) {
  .contact-form-side,
  .contact-info-side {
    padding: 50px 40px;
  }

  .info-title {
    font-size: var(--font-size-32);
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-buttons .btn {
    width: 100%;
    max-width: 300px;
  }
}

/* Small devices (landscape phones, 576px to 767px) */
@media (min-width: 576px) and (max-width: 767px) {
  .contact-form-side,
  .contact-info-side {
    padding: 40px 30px;
  }

  .info-title {
    font-size: var(--font-size-28);
  }

  .info-item {
    padding: 20px;
  }

  .map-container {
    height: 350px;
  }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575px) {
  .contact-form-side,
  .contact-info-side {
    padding: 30px 20px;
  }

  .hero-title {
    font-size: var(--font-size-32);
  }

  .info-title {
    font-size: var(--font-size-24);
  }

  .info-item {
    flex-direction: column;
    text-align: center;
    align-items: center;
    padding: 20px;
  }

  .social-links {
    justify-content: center;
  }

  .map-container {
    height: 300px;
  }

  .map-overlay {
    position: static;
    margin-top: 20px;
  }
}

/* Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}
