/* ===================================
   INFYNIX CONTACT PAGE - COMPLETE CSS
   =================================== */

.contact-section {
  background-color: #f8f9fa;
}

.contact-section .container {
  margin: auto;
  padding: 100px 90px;
  background-color: white;
  min-height: 100vh;
}

.contact-section h2 {
  font-family: "Montserrat", sans-serif;
  font-size: 2em;
  font-weight: 700;
  color: #333;
  margin-bottom: 10px;
}

.contact-section > .container > p {
  margin-bottom: 20px;
  color: #444;
  font-size: 16px;
  line-height: 1.6;
}

.contact-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 40px;
}

/* Contact Info Section */
.contact-info {
  flex: 1;
  min-width: 250px;
  background: white;
  color: #333;
  padding: 30px;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.contact-info h3 {
  font-family: "Montserrat", sans-serif;
  font-size: 1.5em;
  font-weight: 600;
  margin-bottom: 15px;
  color: #333;
}

.contact-info p {
  margin: 8px 0;
  font-size: 15px;
  line-height: 1.7;
  color: #555;
}

.contact-info a {
  color: #0e67b4;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  font-weight: 500;
}

.contact-info a:hover {
  transform: translateX(5px);
  color: #0a559c;
}

/* Contact Form */
.contact-form {
  flex: 2;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-section .form-group {
  display: flex;
  gap: 15px;
}

.form-group input,
.contact-section input[type="text"],
.contact-section input[type="email"],
.contact-section input[type="tel"] {
  flex: 1;
  padding: 12px 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 15px;
  font-family: "Open Sans", sans-serif;
  transition: all 0.3s ease;
  background-color: #f8f9fa;
}

.form-group input:focus,
.contact-section input:focus,
.contact-section textarea:focus {
  outline: none;
  border-color: #0e67b4;
  background-color: white;
  box-shadow: 0 0 0 3px rgba(14, 103, 180, 0.1);
}

.contact-section textarea {
  width: 100%;
  padding: 12px 15px;
  height: 120px;
  border: 1px solid #ccc;
  border-radius: 4px;
  resize: vertical;
  font-size: 15px;
  font-family: "Open Sans", sans-serif;
  transition: all 0.3s ease;
  background-color: #f8f9fa;
}

/* Captcha Group (if needed) */
.captcha-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.captcha-group input {
  flex: 1;
  padding: 12px 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 15px;
}

.captcha-code {
  font-size: 1.2em;
  font-weight: bold;
  background-color: #f0f0f0;
  padding: 10px 15px;
  border-radius: 4px;
  user-select: none;
}

.refresh {
  cursor: pointer;
  font-size: 1.2em;
  color: #0e67b4;
  transition: transform 0.3s ease;
}

.refresh:hover {
  transform: rotate(180deg);
}

/* Submit Button */
/* Submit Button - Smaller and Professional */
/* Submit Button - Wider and Centered */
.contact-form button,
.contact-section button[type="submit"] {
  background: linear-gradient(135deg, #0e67b4 0%, #0a559c 100%);
  color: #fff;
  padding: 12px 40px; /* Increased from 24px to 40px for more width */
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(14, 103, 180, 0.3);
  width: auto;
  align-self: center; /* Changed from flex-start to center */
  display: block;
  margin: 0 auto; /* Additional centering */
}

.contact-form button:hover,
.contact-section button[type="submit"]:hover {
  background: linear-gradient(135deg, #0a559c 0%, #084580 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(14, 103, 180, 0.4);
}

.contact-form button:active,
.contact-section button[type="submit"]:active {
  transform: translateY(0);
}

.contact-form button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.contact-form button i {
  margin-right: 8px;
}

/* Map Section */
.map {
  background-color: white;
  margin-top: 40px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.map iframe {
  width: 100%;
  height: 400px;
  border: 0;
}

/* Notification Styles */
.notification {
  position: fixed;
  top: 20px;
  right: 20px;
  background: white;
  padding: 20px 25px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  gap: 15px;
  z-index: 10000;
  min-width: 320px;
  opacity: 0;
  transform: translateX(400px);
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.notification.show {
  opacity: 1;
  transform: translateX(0);
}

.notification-success {
  border-left: 4px solid #28a745;
}

.notification-success i {
  color: #28a745;
  font-size: 24px;
}

.notification-error {
  border-left: 4px solid #dc3545;
}

.notification-error i {
  color: #dc3545;
  font-size: 24px;
}

.notification span {
  flex: 1;
  font-size: 15px;
  color: #333;
  font-weight: 500;
}

.notification-close {
  background: none;
  border: none;
  font-size: 24px;
  color: #999;
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s ease;
}

.notification-close:hover {
  color: #333;
}

/* Responsive Styles */
@media screen and (max-width: 992px) {
  .contact-section .container {
    padding: 120px 20px;
    min-height: auto;
  }

  .contact-wrapper {
    flex-direction: column;
    gap: 20px;
  }

  .contact-info,
  .contact-form {
    flex: none;
    width: 100%;
  }

  .contact-section .form-group {
    flex-direction: column;
  }

  .form-group input {
    width: 100%;
  }

  .map iframe {
    height: 300px;
  }
}

@media screen and (max-width: 768px) {
  .contact-section .container {
    padding: 100px 15px;
  }

  .contact-section h2 {
    font-size: 1.75em;
  }

  .contact-info {
    padding: 25px 20px;
  }

  .contact-info h3 {
    font-size: 1.3em;
  }

  .notification {
    min-width: 280px;
    right: 10px;
    top: 10px;
  }
}

@media screen and (max-width: 576px) {
  .contact-section .container {
    padding: 80px 10px;
  }

  .contact-section h2 {
    font-size: 1.5em;
  }

  .contact-form button,
  .contact-section button[type="submit"] {
    padding: 12px 20px;
    font-size: 15px;
  }

  .notification {
    min-width: calc(100% - 20px);
    left: 10px;
    right: 10px;
  }

  .map iframe {
    height: 250px;
  }

  .contact-info p {
    font-size: 14px;
  }

  .form-group input,
  .contact-section input,
  .contact-section textarea {
    padding: 10px 12px;
    font-size: 14px;
  }
}
/* ===================================
   CONTACT PAGE SPACING FIX - NO LAYOUT CHANGES
   Add these rules to your contact.css
   =================================== */

/* Only reduce bottom padding of contact container */
.contact-section .container {
  margin: auto;
  padding: 100px 90px 40px 90px; /* Only changed bottom from 100px to 40px */
  background-color: white;
  min-height: auto; /* Changed from 100vh to auto */
}

/* Reduce space at bottom of contact wrapper */
.contact-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 40px;
  margin-bottom: 20px; /* Added to reduce space after form */
}

/* Global Network Section - Reduce top padding only */
.global-network-section {
  padding-top: 30px; /* Reduced from 70px */
  padding-bottom: 70px;
  margin-top: 0;
  background: #ffffff;
  position: relative;
  overflow: hidden;
  border-top: 1px solid #dfe8f0;
}

.global-network-section .container {
  padding: 0 90px !important; /* Keep same padding, just override any changes */
  background: transparent !important;
}

/* Ensure map section has no extra spacing */
.contact-section .map {
  margin-top: 0;
  margin-bottom: 0;
}

/* Responsive adjustments */
@media screen and (max-width: 992px) {
  .contact-section .container {
    padding: 120px 20px 30px 20px;
    min-height: auto;
  }

  .global-network-section {
    padding-top: 25px;
  }

  .global-network-section .container {
    padding: 0 20px !important;
  }
}

@media screen and (max-width: 768px) {
  .contact-section .container {
    padding: 100px 15px 25px 15px;
  }

  .global-network-section {
    padding-top: 20px;
  }

  .global-network-section .container {
    padding: 0 15px !important;
  }
}

@media screen and (max-width: 576px) {
  .contact-section .container {
    padding: 80px 10px 20px 10px;
  }

  .global-network-section {
    padding-top: 15px;
  }
}