/* Contact Page Styles */

/* Contact Hero Section */
.contact-hero {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

.contact-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23e2e8f0" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
  z-index: 1;
}

.contact-hero-content {
  position: relative;
  z-index: 2;
  padding: 40px 0;
}

.contact-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #1e3a8a, #0f2770);
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 24px;
}

.contact-hero-title {
  font-family: Montserrat, Inter, system-ui;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 24px;
  color: #0b0d13;
}

.text-gradient {
  background: linear-gradient(135deg, #1e3a8a 0%, #0f2770 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.contact-hero-description {
  font-size: 18px;
  color: #64748b;
  line-height: 1.6;
  margin: 0 0 40px;
  max-width: 600px;
}

.contact-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: Montserrat, Inter, system-ui;
  font-size: 32px;
  font-weight: 800;
  color: #1e3a8a;
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 14px;
  color: #64748b;
  font-weight: 500;
}

/* Contact Hero Visual */
.contact-hero-visual {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 0;
}

.contact-cards {
  position: relative;
  z-index: 2;
}

.contact-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.06);
  margin-bottom: 20px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.contact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, #1e3a8a, #0f2770);
}

.contact-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.contact-card-1 {
  transform: translateX(-20px) rotate(-2deg);
}

.contact-card-2 {
  transform: translateX(20px) rotate(2deg);
}

.contact-card-3 {
  transform: translateX(-10px) rotate(-1deg);
}

.contact-card:hover {
  transform: translateY(-8px) !important;
  rotate: 0deg !important;
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, #eef4ff, #e1e9ff);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1e3a8a;
  margin-bottom: 16px;
}

.card-content h4 {
  font-size: 18px;
  font-weight: 700;
  color: #0b0d13;
  margin: 0 0 8px;
}

.card-content p {
  font-size: 16px;
  color: #64748b;
  margin: 0;
}

.contact-gradient {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 400px;
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.1) 0%, rgba(15, 39, 112, 0.1) 100%);
  border-radius: 50%;
  filter: blur(60px);
  z-index: 1;
}

/* Contact Form Section */
.contact-form-section {
  background: #ffffff;
  padding: 100px 0;
  position: relative;
}

.contact-form-container {
  background: #ffffff;
  border-radius: 24px;
  padding: 60px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.06);
  position: relative;
  overflow: hidden;
}

.contact-form-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, #1e3a8a, #0f2770);
}

.form-header {
  text-align: center;
  margin-bottom: 48px;
}

.form-title {
  font-family: Montserrat, Inter, system-ui;
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 700;
  color: #0b0d13;
  margin: 0 0 16px;
}

.form-description {
  font-size: 16px;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
  max-width: 600px;
  margin: 0 auto;
}

.contact-form {
  max-width: 800px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 16px 20px;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  font-size: 16px;
  transition: all 0.3s ease;
  background: #ffffff;
}

.form-control:focus {
  outline: none;
  border-color: #1e3a8a;
  box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

.form-control::placeholder {
  color: #9ca3af;
}

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

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.form-check-input {
  margin-top: 4px;
  width: 18px;
  height: 18px;
  border: 2px solid #d1d5db;
  border-radius: 4px;
}

.form-check-input:checked {
  background-color: #1e3a8a;
  border-color: #1e3a8a;
}

.form-check-label {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.5;
}

.privacy-link {
  color: #1e3a8a;
  text-decoration: none;
  font-weight: 600;
}

.privacy-link:hover {
  text-decoration: underline;
}

.form-submit {
  text-align: center;
  margin-top: 40px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px 36px;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  transition: all 0.3s ease;
  font-size: 16px;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, #1e3a8a, #0f2770);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(30, 58, 138, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(30, 58, 138, 0.4);
  color: #ffffff;
}

.btn-lg {
  padding: 20px 40px;
  font-size: 18px;
}

.btn-icon {
  transition: transform 0.3s ease;
}

.btn:hover .btn-icon {
  transform: translateX(4px);
}

/* Contact Info Section */
.contact-info-section {
  background: #f8fafc;
  padding: 80px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.info-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 40px 32px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  height: 100%;
}

.info-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.info-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, #eef4ff, #e1e9ff);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1e3a8a;
  margin: 0 auto 24px;
}

.info-title {
  font-size: 20px;
  font-weight: 700;
  color: #0b0d13;
  margin: 0 0 12px;
}

.info-description {
  font-size: 14px;
  color: #64748b;
  margin: 0 0 16px;
  line-height: 1.5;
}

.info-link {
  color: #1e3a8a;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
}

.info-link:hover {
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 992px) {
  .contact-hero {
    min-height: auto;
    padding: 60px 0;
  }
  
  .contact-hero-content {
    padding: 40px 0;
    text-align: center;
  }
  
  .contact-stats {
    justify-content: center;
    gap: 24px;
  }
  
  .contact-hero-visual {
    padding: 40px 0;
  }
  
  .contact-card-1,
  .contact-card-2,
  .contact-card-3 {
    transform: none;
  }
  
  .contact-form-container {
    padding: 40px 32px;
  }
  
  .contact-info-section {
    padding: 60px 0;
  }
}

@media (max-width: 768px) {
  .contact-hero-content {
    padding: 32px 0;
  }
  
  .contact-stats {
    flex-direction: column;
    gap: 16px;
  }
  
  .stat-item {
    display: flex;
    align-items: center;
    gap: 16px;
    text-align: left;
  }
  
  .stat-number {
    font-size: 24px;
    margin-bottom: 0;
  }
  
  .contact-form-container {
    padding: 32px 24px;
    margin: 0 16px;
  }
  
  .form-title {
    font-size: 24px;
  }
  
  .form-description {
    font-size: 14px;
  }
  
  .contact-info-section {
    padding: 40px 0;
  }
  
  .info-card {
    padding: 32px 24px;
    margin-bottom: 24px;
  }
}

@media (max-width: 576px) {
  .contact-form-container {
    padding: 24px 20px;
    margin: 0 8px;
  }
  
  .btn-lg {
    padding: 16px 32px;
    font-size: 16px;
  }
  
  .info-card {
    padding: 24px 20px;
  }
}

/* Animation Classes */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.contact-card {
  animation: fadeInUp 0.6s ease-out;
}

.contact-card-1 {
  animation-delay: 0.1s;
}

.contact-card-2 {
  animation-delay: 0.2s;
}

.contact-card-3 {
  animation-delay: 0.3s;
}

/* Form Validation Styles */
.form-control.is-invalid {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-control.is-valid {
  border-color: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
}

.invalid-feedback {
  display: block;
  width: 100%;
  margin-top: 8px;
  font-size: 14px;
  color: #ef4444;
}

.valid-feedback {
  display: block;
  width: 100%;
  margin-top: 8px;
  font-size: 14px;
  color: #22c55e;
}

/* Map Section */
.map-section {
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
}

.map-container {
  text-align: center;
}

.map-title {
  font-family: Montserrat, Inter, system-ui;
  font-size: 32px;
  font-weight: 700;
  color: #0b0d13;
  margin-bottom: 32px;
}

.map-wrapper {
  position: relative;
  background: #f8fafc;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.map-wrapper iframe {
  display: block;
  width: 100%;
  height: 400px;
  border: none;
  filter: grayscale(20%) contrast(1.1);
  transition: filter 0.3s ease;
}

.map-wrapper:hover iframe {
  filter: grayscale(0%) contrast(1.2);
}

.map-info {
  margin-top: 24px;
}

.map-info p {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 500;
  color: #64748b;
  margin: 0;
}

.map-info svg {
  color: #1e3a8a;
}

/* Responsive Design */
@media (max-width: 768px) {
  .map-title {
    font-size: 28px;
  }
  
  .map-wrapper iframe {
    height: 300px;
  }
  
  .map-info p {
    font-size: 14px;
    flex-direction: column;
    gap: 4px;
  }
}

/* Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  left: 20px;
  bottom: 20px;
  background: linear-gradient(135deg, #1e3a8a, #3b82f6);
  color: white;
  border: none;
  border-radius: 12px;
  padding: 12px 16px;
  cursor: pointer;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 15px rgba(30, 58, 138, 0.3);
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(100px);
  pointer-events: none;
  min-width: 65px;
  font-family: Inter, system-ui;
}

.scroll-to-top.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.scroll-to-top:hover {
  background: linear-gradient(135deg, #1e40af, #2563eb);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(30, 58, 138, 0.4);
}

.scroll-lines {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.line {
  width: 20px;
  height: 2px;
  background: white;
  border-radius: 1px;
  transition: all 0.3s ease;
}

.line-1 {
  transform: rotate(-45deg) translateY(1px);
}

.line-2 {
  transform: rotate(45deg) translateY(-1px);
}

.scroll-to-top:hover .line-1 {
  transform: rotate(-45deg) translateY(2px);
}

.scroll-to-top:hover .line-2 {
  transform: rotate(45deg) translateY(-2px);
}

.scroll-text {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 2px;
}

/* Responsive Design for Scroll Button */
@media (max-width: 768px) {
  .scroll-to-top {
    left: 15px;
    bottom: 15px;
    padding: 10px 12px;
    min-width: 55px;
  }
  
  .line {
    width: 16px;
  }
  
  .scroll-text {
    font-size: 10px;
  }
}
