* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
}

.container {
  max-width: 1200px;
  margin: 0px auto;
  padding: 10px;
}

.contact-box {
  margin-top: 30px;
}

.hero-section {
  text-align: center;
  color: white;
  padding: 40px 0;
}

.hero-section h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  background: linear-gradient(45deg, #ffffff, #e0e6ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-section p {
  font-size: 1.3rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

.contact-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.contact-form-section {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  position: relative;
  overflow: hidden;
}

.contact-form-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #667eea, #764ba2);
}

.section-title {
  font-size: 2rem;
  color: #333;
  margin-bottom: 30px;
  text-align: center;
  position: relative;
}

.section-title::after {
  content: "";
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #667eea, #764ba2);
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
}

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

.form-group {
  position: relative;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 15px 20px;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.9);
  font-family: inherit;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 10px rgba(102, 126, 234, 0.3);
  transform: translateY(-2px);
}

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

.form-label {
  position: absolute;
  top: 15px;
  left: 20px;
  color: #666;
  transition: all 0.3s ease;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.9);
  padding: 0 5px;
}

.form-input:focus + .form-label,
.form-input:not(:placeholder-shown) + .form-label,
.form-textarea:focus + .form-label,
.form-textarea:not(:placeholder-shown) + .form-label {
  top: -8px;
  left: 15px;
  font-size: 0.85rem;
  color: #667eea;
  font-weight: 600;
}

.submit-btn {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  padding: 15px 30px;
  border: none;
  border-radius: 25px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.6);
}

.submit-btn:active {
  transform: translateY(0);
}

.contact-info-section {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  position: relative;
  overflow: hidden;
}

.contact-info-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #764ba2, #667eea);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-item {
  display: flex;
  align-items: center;
  padding: 20px;
  background: rgba(102, 126, 234, 0.05);
  border-radius: 15px;
  transition: all 0.3s ease;
  border-left: 4px solid transparent;
}

.contact-item:hover {
  background: rgba(102, 126, 234, 0.1);
  border-left-color: #667eea;
  transform: translateX(5px);
}

.contact-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  font-size: 1.5rem;
  color: white;
  flex-shrink: 0;
}

.contact-details h3 {
  color: #333;
  margin-bottom: 5px;
  font-size: 1.2rem;
}

.contact-details p {
  color: #666;
  margin: 2px 0;
}

.contact-details a {
  color: #667eea;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-details a:hover {
  color: #764ba2;
}

.map-section {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  margin-bottom: 40px;
  position: relative;
  overflow: hidden;
}

.map-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #667eea, #764ba2);
}

.map-placeholder {
  width: 100%;
  height: 300px;
  background: linear-gradient(135deg, #f8f9ff, #e8ecff);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: #667eea;
  border: 2px dashed #667eea;
  margin-top: 20px;
}

.map-placeholder i {
  font-size: 3rem;
  margin-bottom: 15px;
}

.map-link {
    margin-top: 10px;
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    text-align: center;
}

.current-status {
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 20px;
    padding: 10px 20px;
    background: rgb(0 0 3 / 40%);
    border-radius: 20px;
    display: inline-block;
}

.hours-section {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  border-radius: 20px;
  padding: 40px;
  text-align: center;
  margin-bottom: 40px;
}

.hours-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.hours-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 10px;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hours-day {
  font-weight: 600;
  margin-bottom: 5px;
  font-size: 1.1rem;
}

.hours-time {
  opacity: 0.9;
}

.emergency-section {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  text-align: center;
  border-left: 5px solid #ff6b6b;
}

.emergency-title {
  color: #ff6b6b;
  font-size: 1.5rem;
  margin-bottom: 15px;
  font-weight: 600;
}

.emergency-text {
  color: #666;
  margin-bottom: 20px;
}

.emergency-contact {
  background: #ff6b6b;
  color: white;
  padding: 12px 25px;
  border-radius: 20px;
  display: inline-block;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.emergency-contact:hover {
  background: #ff5252;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
}

@media (max-width: 768px) {
  .hero-section h1 {
    font-size: 2.5rem;
  }

  .contact-main {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .contact-form-section,
  .contact-info-section,
  .map-section {
    padding: 25px;
  }

  .contact-item {
    flex-direction: column;
    text-align: center;
  }

  .contact-icon {
    margin-right: 0;
    margin-bottom: 15px;
  }

  .hours-grid {
    grid-template-columns: 1fr;
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.success-message {
  background: #d4edda;
  color: #155724;
  padding: 15px;
  border-radius: 10px;
  border: 1px solid #c3e6cb;
  margin-bottom: 20px;
  display: none;
}
