/* Main Styles */
.main {
  padding: 60px 20px;
  position: relative;
  overflow: hidden;
  background-color: #f8f9fa;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Background Elements */
.background-elements {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 0;
}

.bg-circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(0, 123, 255, 0.05);
  animation: float 15s infinite ease-in-out;
}

.bg-circle-1 {
  width: 300px;
  height: 300px;
  top: -50px;
  right: -50px;
  animation-delay: 0s;
}

.bg-circle-2 {
  width: 200px;
  height: 200px;
  bottom: -30px;
  left: -30px;
  animation-delay: 2s;
  background: rgba(40, 167, 69, 0.05);
}

.bg-wave {
  position: absolute;
  height: 100%;
  width: 100%;
  background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1200 120" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><path d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" fill="%23007bff" opacity=".03"/><path d="M0,0V15.81C13,36.92,27.64,56.86,47.69,72.05,99.41,111.27,165,111,224.58,91.58c31.15-10.15,60.09-26.07,89.67-39.8,40.92-19,84.73-46,130.83-49.67,36.26-2.85,70.9,9.42,98.6,31.56,31.77,25.39,62.32,62,103.63,73,40.44,10.79,81.35-6.69,119.13-24.28s75.16-39,116.92-43.05c59.73-5.85,113.28,22.88,168.9,38.84,30.2,8.66,59,6.17,87.09-7.5,22.43-10.89,48-26.93,60.65-49.24V0Z" fill="%23007bff" opacity=".03"/><path d="M0,0V5.63C149.93,59,314.09,71.32,475.83,42.57c43-7.64,84.23-20.12,127.61-26.46,59-8.63,112.48,12.24,165.56,35.4C827.93,77.22,886,95.24,951.2,90c86.53-7,172.46-45.71,248.8-84.81V0Z" fill="%23007bff" opacity=".03"/></svg>');
  background-size: cover;
  opacity: 0.05;
  animation: waveAnimation 20s linear infinite;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-20px) rotate(5deg);
  }
}

@keyframes waveAnimation {
  0% {
    background-position-x: 0;
  }

  100% {
    background-position-x: 1200px;
  }
}

/* Contact Container */
.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.contact-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

/* Header Section */
.contact-header {
  padding: 40px;
  text-align: center;
  background: linear-gradient(135deg, #007bff, #0056b3);
  color: white;
  position: relative;
}

.contact-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 10px;
  background: linear-gradient(90deg,
      rgba(255, 255, 255, 0.8) 0%,
      rgba(255, 255, 255, 0.5) 50%,
      rgba(255, 255, 255, 0.8) 100%);
}

.animated-title {
  font-size: 2.5rem;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  animation: fadeInDown 0.8s ease-out;
}

.contact-icon {
  font-size: 2rem;
  background: rgba(255, 255, 255, 0.2);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulse 2s infinite ease-in-out;
}

.contact-subtitle {
  font-size: 1.1rem;
  opacity: 0.9;
  max-width: 700px;
  margin: 0 auto;
  animation: fadeIn 1s ease-out 0.2s both;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
  }

  70% {
    transform: scale(1.05);
    box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
  }

  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

/* Contact Methods Grid */
.contact-methods-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  padding: 40px;
}

.method-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
}

.method-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.method-icon {
  padding: 30px;
  text-align: center;
  font-size: 2.5rem;
  color: white;
}

.email-method .method-icon {
  background: linear-gradient(135deg, #6c757d, #495057);
}

.sms-method .method-icon {
  background: linear-gradient(135deg, #28a745, #1e7e34);
}

.call-method .method-icon {
  background: linear-gradient(135deg, #dc3545, #c82333);
}

.chat-method .method-icon {
  background: linear-gradient(135deg, #17a2b8, #138496);
}

.method-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.method-content h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: #343a40;
}

.method-content p {
  color: #6c757d;
  margin-bottom: 15px;
  line-height: 1.5;
}

.method-details {
  margin: 15px 0;
  padding: 0;
  list-style: none;
  flex-grow: 1;
}

.method-details li {
  margin-bottom: 8px;
  font-size: 0.9rem;
  color: #495057;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.method-details li i {
  color: #007bff;
  margin-top: 3px;
}

.method-details li span {
  font-weight: 500;
}

.method-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  margin-top: 15px;
  font-size: 0.95rem;
}

.email-btn {
  background: #6c757d;
  color: white;
}

.sms-btn {
  background: #28a745;
  color: white;
}

.call-btn {
  background: #dc3545;
  color: white;
}

.chat-btn {
  background: #17a2b8;
  color: white;
}

.method-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.method-btn i {
  transition: transform 0.3s ease;
}

.method-btn:hover i {
  transform: translateX(5px);
}

/* Additional Info Section */
.additional-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  padding: 0 40px 40px;
}

.info-section {
  background: white;
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.info-section h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  color: #343a40;
  display: flex;
  align-items: center;
  gap: 10px;
}

.info-section h3 i {
  color: #007bff;
  font-size: 1.2em;
}

address {
  font-style: normal;
  color: #495057;
  line-height: 1.6;
}

address p {
  margin-bottom: 8px;
}

.map-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #007bff;
  text-decoration: none;
  margin-top: 15px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.map-link:hover {
  color: #0056b3;
  text-decoration: underline;
}

.hours-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hours-list li {
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  color: #495057;
}

.hours-list li span:first-child {
  font-weight: 500;
  color: #343a40;
}

.departments-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.departments-list li {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.departments-list li i {
  color: #007bff;
  width: 20px;
  text-align: center;
}

.departments-list li strong {
  font-weight: 500;
  color: #343a40;
  min-width: 100px;
}

.departments-list li a {
  color: #007bff;
  text-decoration: none;
  transition: all 0.3s ease;
}

.departments-list li a:hover {
  color: #0056b3;
  text-decoration: underline;
}

/* Social Media Section */
.social-section {
  padding: 40px;
  background: #f8f9fa;
  text-align: center;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.social-section h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #343a40;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.social-section p {
  color: #6c757d;
  max-width: 600px;
  margin: 0 auto 25px;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  max-width: 800px;
  margin: 0 auto;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 25px;
  border-radius: 50px;
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  min-width: 150px;
  justify-content: center;
}

.social-link i {
  font-size: 1.2rem;
}

.social-link span {
  font-size: 0.95rem;
}

.social-link:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* Social Media Brand Colors */
.social-link.fb {
  background-color: #3b5998;
}

.social-link.tw {
  background-color: #1da1f2;
}

.social-link.ig {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.social-link.yt {
  background-color: #ff0000;
}

.social-link.li {
  background-color: #0077b5;
}

.social-link.wa {
  background-color: #25D366;
}

/* SMS Popup Styles */
.sms-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.sms-popup.active {
  opacity: 1;
  visibility: visible;
}

.sms-popup-content {
  background: white;
  border-radius: 12px;
  width: 90%;
  max-width: 500px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  transform: translateY(20px);
  transition: all 0.3s ease;
  overflow: hidden;
}

.sms-popup.active .sms-popup-content {
  transform: translateY(0);
}

.popup-header {
  background: linear-gradient(135deg, #28a745, #1e7e34);
  color: white;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.popup-header h3 {
  margin: 0;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.popup-header h3 i {
  font-size: 1.2em;
}

.close-popup {
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  transition: transform 0.3s ease;
  padding: 5px;
}

.close-popup:hover {
  transform: rotate(90deg);
}

.popup-body {
  padding: 25px;
  overflow-y: auto;
  height: 30rem;
}

.sms-notice {
  background: rgba(40, 167, 69, 0.1);
  border-left: 4px solid #28a745;
  padding: 15px;
  border-radius: 0 8px 8px 0;
  margin-bottom: 25px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.sms-notice i {
  color: #28a745;
  font-size: 1.3rem;
  margin-top: 2px;
}

.sms-notice div {
  flex: 1;
}

.sms-notice p {
  margin: 0 0 8px 0;
  font-size: 0.9rem;
  color: #495057;
  line-height: 1.5;
}

.sms-notice p:last-child {
  margin-bottom: 0;
}

.sms-notice a {
  color: #28a745;
  text-decoration: none;
  font-weight: 500;
}

.sms-notice a:hover {
  text-decoration: underline;
}

/* Form Styles */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #343a40;
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-group label i {
  color: #6c757d;
  font-size: 0.9em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ced4da;
  border-radius: 6px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #80bdff;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.char-counter {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 0.8rem;
  color: #6c757d;
}

.char-counter span {
  font-weight: 500;
}

.counter-warning {
  color: #dc3545;
  font-weight: 500;
  display: none;
}

/* Form Actions */
.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 15px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 25px;
  border-radius: 6px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  font-size: 0.95rem;
}

.btn-cancel {
  background: #f8f9fa;
  color: #6c757d;
  border: 1px solid #dee2e6;
}

.btn-cancel:hover {
  background: #e9ecef;
}

.btn-submit {
  background: #28a745;
  color: white;
}

.btn-submit:hover {
  background: #218838;
  box-shadow: 0 5px 15px rgba(40, 167, 69, 0.3);
}

/* Responsive Styles */
@media (max-width: 992px) {
  .contact-methods-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .contact-header {
    padding: 30px 20px;
  }

  .animated-title {
    font-size: 2rem;
  }

  .contact-methods-grid {
    grid-template-columns: 1fr;
    padding: 30px;
  }

  .additional-info {
    grid-template-columns: 1fr;
    padding: 0 30px 30px;
  }

  .social-section {
    padding: 30px;
  }

  .social-links {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .main {
    padding: 30px 15px;
  }

  .contact-header {
    padding: 25px 15px;
  }

  .animated-title {
    font-size: 1.8rem;
    flex-direction: column;
    gap: 10px;
  }

  .contact-icon {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }

  .contact-methods-grid {
    padding: 20px 15px;
    gap: 20px;
  }

  .additional-info {
    padding: 0 15px 20px;
  }

  .form-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .social-links {
    grid-template-columns: 1fr;
  }

  .social-link {
    width: 100%;
  }
}


/* Back to Top Button */
.fabs {
  position: fixed;
  bottom: 97px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #2b6777, #52ab98);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  z-index: 999;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  text-decoration: none;
  opacity: 1;
  transform: translateY(20px);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.fabs.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.fabs:hover {
  background: linear-gradient(135deg, #52ab98, #2b6777);
  transform: translateY(-1px) scale(1.09);
  box-shadow: 0 6px 25px rgba(43, 103, 119, 0.4);
}

.fabs:active {
  transform: scale(0.98);
}

/* Animation when scrolling appears */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .fabs {
    width: 48px;
    height: 48px;
    font-size: 1.2rem;
    bottom: 100px;
    right: 20px;
  }
}

@media (max-width: 480px) {
  .fabs {
    width: 50px;
    height: 50px;
    font-size: 1.1rem;
    bottom: 100px;
    right: 22px;
  }
}
