/* ===== CONTACT PAGE STYLES ===== */

/* Contact Page */
.contact-hero {
    padding: 4rem 0;
    text-align: center;
}

.contact-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-subtitle {
    font-size: 1.3rem;
    color: var(--ocean-blue);
}

.contact-content {
    padding: 4rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

.contact-info p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
}

.contact-details h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary-blue);
}

.contact-details p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/* Contact Form */
.contact-form-container {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--primary-blue);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid rgba(102, 204, 255, 0.2);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.8);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.form-ripple {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.form-ripple::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(102, 204, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.form-group input:focus + .form-ripple::before,
.form-group textarea:focus + .form-ripple::before {
    width: 300px;
    height: 300px;
}

.submit-btn {
    align-self: flex-start;
    position: relative;
    overflow: hidden;
}

.btn-icon {
    margin-left: 0.5rem;
    transition: var(--transition);
}

.submit-btn:hover .btn-icon {
    transform: translateX(5px);
}

/* Form Success */
.form-success {
    text-align: center;
    padding: 2rem;
}

.success-icon {
    font-size: 3rem;
    color: #28a745;
    margin-bottom: 1rem;
}

.form-success h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

/* Map Section */
.map-section {
    padding: 4rem 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
}

.map-section h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--primary-blue);
}

.map-placeholder {
    height: 300px;
    background: var(--gradient-secondary);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    text-align: center;
}

.map-content i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* --- Modern Contact Page Styles --- */
.contact-hero-modern {
  position: relative;
  padding: 6rem 0 3rem 0;
  background: linear-gradient(135deg, #001122 0%, #003366 30%, #0066cc 100%);
  overflow: hidden;
  min-height: 400px;
  z-index: 1;
}

.contact-hero-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 50%, rgba(102, 204, 255, 0.15) 0%, transparent 50%),
              radial-gradient(circle at 80% 50%, rgba(0, 153, 255, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.contact-hero-modern .hero-content-modern {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.hero-text-modern {
  flex: 1 1 350px;
  z-index: 2;
}

.hero-title-modern {
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1.25rem;
  line-height: 1.1;
  letter-spacing: -1.5px;
  animation: titleSlideIn 1s cubic-bezier(0.4,0,0.2,1);
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-title-modern .title-accent {
  color: var(--primary-glow);
  text-shadow: 0 0 16px var(--primary-glow);
  animation: glow 2s infinite alternate;
}

.hero-title-modern .title-line {
  display: block;
  opacity: 0;
  animation: fadeInUp 0.7s forwards;
}

.hero-title-modern .title-line:nth-child(1) { animation-delay: 0.2s; }
.hero-title-modern .title-line:nth-child(2) { animation-delay: 0.5s; }

.hero-subtitle-modern {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2.5rem;
  animation: fadeInUp 1s 0.7s forwards;
  opacity: 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  font-weight: 400;
}

.hero-visual-modern {
  flex: 1 1 250px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  z-index: 2;
}

.floating-cards {
  display: flex;
  gap: 1.5rem;
}

.floating-card {
  width: 64px;
  height: 64px;
  background: var(--card-bg);
  box-shadow: 0 8px 32px var(--card-shadow);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--primary-glow);
  animation: floatCard 4s ease-in-out infinite;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
}

.floating-card.card-1 { animation-delay: 0s; }
.floating-card.card-2 { animation-delay: 1s; }
.floating-card.card-3 { animation-delay: 2s; }

.floating-card:hover {
  background: var(--card-bg-hover);
  color: var(--primary-color);
  transform: scale(1.15) translateY(-8px);
  box-shadow: 0 12px 40px var(--card-shadow-hover);
}

.water-bubbles {
  position: absolute;
  left: 0; top: 0; width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
}

.bubble {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(102,204,255,0.3) 0%, rgba(0,153,255,0.1) 70%, transparent 100%);
  animation: bubbleFloatModern 8s ease-in-out infinite;
}

.bubble-1 { width: 60px; height: 60px; left: 10%; top: 60%; animation-delay: 0s; }
.bubble-2 { width: 40px; height: 40px; left: 80%; top: 30%; animation-delay: 2s; }
.bubble-3 { width: 80px; height: 80px; left: 50%; top: 80%; animation-delay: 4s; }
.bubble-4 { width: 50px; height: 50px; left: 70%; top: 10%; animation-delay: 6s; }

/* Contact Modern Section */
.contact-modern-section {
  padding: 4rem 0 3rem 0;
  background: linear-gradient(180deg, var(--bg-gradient-end) 0%, rgba(0, 17, 34, 0.98) 100%);
  position: relative;
  z-index: 2;
  overflow: hidden;
}

.contact-modern-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 50%, rgba(102, 204, 255, 0.05) 0%, transparent 50%),
              radial-gradient(circle at 70% 50%, rgba(0, 153, 255, 0.05) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.contact-modern-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3.5rem;
  align-items: flex-start;
  position: relative;
  z-index: 1;
}

.contact-modern-info {
  background: linear-gradient(135deg, rgba(102, 204, 255, 0.08) 0%, rgba(0, 153, 255, 0.04) 100%);
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3),
              0 2px 8px rgba(102, 204, 255, 0.1),
              inset 0 1px 0 rgba(255, 255, 255, 0.1);
  padding: 2.5rem 2rem;
  border: 1px solid rgba(102, 204, 255, 0.15);
  backdrop-filter: blur(10px);
  animation: fadeInUp 1s 0.2s forwards;
  opacity: 0;
  position: relative;
  overflow: hidden;
}

.contact-modern-info::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--water-cyan), var(--primary-blue));
  border-radius: 24px 24px 0 0;
}

.contact-info-header {
  margin-bottom: 2rem;
}

.contact-modern-info h2 {
  font-size: 1.75rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary-glow) 0%, var(--water-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.contact-modern-info h2 i {
  font-size: 1.5rem;
  color: var(--primary-glow);
  -webkit-text-fill-color: var(--primary-glow);
}

.contact-info-description {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

.contact-methods-modern {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-method-modern {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: rgba(102, 204, 255, 0.05);
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  color: var(--text-primary);
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2),
              inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(102, 204, 255, 0.15);
}

.contact-method-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(102, 204, 255, 0.15), transparent);
  transition: left 0.6s ease;
}

.contact-method-modern:hover::before {
  left: 100%;
}

.contact-method-modern:hover {
  background: linear-gradient(135deg, rgba(102, 204, 255, 0.15) 0%, rgba(0, 153, 255, 0.1) 100%);
  transform: translateX(8px) translateY(-2px);
  box-shadow: 0 8px 24px rgba(102, 204, 255, 0.25),
              0 4px 12px rgba(0, 0, 0, 0.3);
  border-color: rgba(102, 204, 255, 0.3);
}

.contact-icon-wrapper {
  position: relative;
  width: 56px;
  height: 56px;
  flex-shrink: 0;
}

.contact-icon-modern {
  font-size: 1.75rem;
  color: var(--white);
  background: linear-gradient(135deg, var(--water-cyan) 0%, var(--primary-blue) 100%);
  border-radius: 14px;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(102, 204, 255, 0.3),
              0 2px 8px rgba(0, 0, 0, 0.2);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 2;
}

.icon-glow-effect {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: inherit;
  border-radius: inherit;
  filter: blur(12px);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
}

.contact-method-modern:hover .contact-icon-modern {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 6px 20px rgba(102, 204, 255, 0.5),
              0 4px 12px rgba(0, 0, 0, 0.3);
}

.contact-method-modern:hover .icon-glow-effect {
  opacity: 0.6;
}

.contact-arrow {
  margin-left: auto;
  color: rgba(255, 255, 255, 0.4);
  font-size: 1.1rem;
  transition: all 0.4s ease;
  opacity: 0;
  transform: translateX(-10px);
}

.contact-method-modern:hover .contact-arrow {
  opacity: 1;
  transform: translateX(0);
  color: var(--primary-glow);
}

.contact-details-modern {
  display: flex;
  flex-direction: column;
}

.contact-label {
  font-weight: 600;
  font-size: 1rem;
  color: var(--primary-glow);
}

.contact-value {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

/* Modern Contact Form */
.contact-modern-form-container {
  background: linear-gradient(135deg, rgba(102, 204, 255, 0.08) 0%, rgba(0, 153, 255, 0.04) 100%);
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3),
              0 2px 8px rgba(102, 204, 255, 0.1),
              inset 0 1px 0 rgba(255, 255, 255, 0.1);
  padding: 2.5rem 2.25rem;
  animation: fadeInUp 1s 0.4s forwards;
  opacity: 0;
  position: relative;
  border: 1px solid rgba(102, 204, 255, 0.15);
  backdrop-filter: blur(10px);
  overflow: hidden;
}

.contact-modern-form-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--water-cyan), var(--primary-blue));
  border-radius: 24px 24px 0 0;
}

.form-header {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(102, 204, 255, 0.15);
}

.form-header h2 {
  font-size: 1.75rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary-glow) 0%, var(--water-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.form-header h2 i {
  font-size: 1.5rem;
  color: var(--primary-glow);
  -webkit-text-fill-color: var(--primary-glow);
}

.form-header-description {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

.contact-modern-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group-modern {
  position: relative;
  margin-bottom: 1.2rem;
}

.form-group-modern input,
.form-group-modern textarea {
  width: 100%;
  padding: 1rem 0.8rem 0.5rem 0.8rem;
  background: transparent;
  border: none;
  border-bottom: 2px solid var(--primary-glow);
  color: var(--text-primary);
  font-size: 1.1rem;
  border-radius: 0;
  outline: none;
  transition: border-color 0.3s;
  resize: none;
  font-family: inherit;
}

.form-group-modern select {
  width: 100%;
  padding: 1.2rem 3rem 0.8rem 0.8rem;
  background-color: rgba(102, 204, 255, 0.05);
  border: 2px solid rgba(102, 204, 255, 0.2);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 1.1rem;
  outline: none;
  font-family: inherit;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='%2366ccff' d='M8 11L3 6h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 16px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-group-modern select:hover {
  background-color: rgba(102, 204, 255, 0.1);
  border-color: rgba(102, 204, 255, 0.4);
  box-shadow: 0 2px 8px rgba(102, 204, 255, 0.15);
}

.form-group-modern select:focus {
  background-color: rgba(102, 204, 255, 0.15);
  border-color: var(--primary-color);
  border-width: 2.5px;
  box-shadow: 0 4px 16px rgba(102, 204, 255, 0.25);
}

.form-group-modern select option {
  background: var(--bg-gradient-end);
  color: var(--text-primary);
  padding: 0.8rem 1rem;
  font-size: 1rem;
  border-bottom: 1px solid rgba(102, 204, 255, 0.1);
  transition: background-color 0.2s;
}

.form-group-modern select option:hover {
  background: rgba(102, 204, 255, 0.2);
  color: var(--primary-glow);
}

.form-group-modern select optgroup {
  background: rgba(102, 204, 255, 0.15);
  color: var(--primary-glow);
  font-weight: 700;
  font-size: 1.05rem;
  padding: 0.8rem 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 2px solid rgba(102, 204, 255, 0.3);
}

.form-group-modern select option[value=""] {
  color: var(--text-secondary);
  font-style: italic;
}

.form-group-modern input:focus,
.form-group-modern textarea:focus {
  border-bottom: 2.5px solid var(--primary-color);
}

.form-group-modern select:focus {
  border: 2.5px solid var(--primary-color);
}

.form-group-modern label {
  position: absolute;
  left: 0.9rem;
  top: 1.1rem;
  color: var(--text-secondary);
  font-size: 1rem;
  pointer-events: none;
  transition: 0.2s;
  opacity: 0.7;
}

.form-group-modern:has(select) label::before {
  content: '📋 ';
  font-size: 1.1rem;
  opacity: 0.8;
}

.form-group-modern input:focus + label,
.form-group-modern input:not(:placeholder-shown) + label,
.form-group-modern input.has-value + label,
.form-group-modern input.focused + label,
.form-group-modern textarea:focus + label,
.form-group-modern textarea:not(:placeholder-shown) + label,
.form-group-modern select:focus + label,
.form-group-modern select:not([value=""]) + label,
.form-group-modern.has-value label,
.form-group-modern.focused label {
  top: -0.7rem;
  left: 0.5rem;
  font-size: 0.9rem;
  color: var(--primary-glow);
  opacity: 1;
}

.input-underline {
  display: block;
  position: absolute;
  left: 0; bottom: 0;
  width: 0%; height: 2px;
  background: var(--primary-color);
  border-radius: 2px;
  transition: width 0.3s cubic-bezier(0.4,0,0.2,1);
}

.form-group-modern input:focus ~ .input-underline,
.form-group-modern textarea:focus ~ .input-underline {
  width: 100%;
}

.form-group-modern select:focus ~ .input-underline {
  width: 100%;
  background: var(--primary-color);
  height: 2.5px;
  bottom: -2.5px;
}

.btn-modern {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.9rem 2.2rem;
  font-size: 1.1rem;
  font-weight: 700;
  border: none;
  border-radius: 30px;
  background: var(--gradient-primary);
  color: var(--white);
  box-shadow: 0 4px 16px var(--card-shadow);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-modern .btn-icon {
  font-size: 1.3rem;
  transition: transform 0.3s;
}

.btn-modern:hover {
  background: var(--gradient-secondary);
  color: var(--primary-blue);
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 8px 32px var(--card-shadow-hover);
}

.btn-modern:hover .btn-icon {
  transform: translateX(6px) scale(1.2);
}

.form-success-modern {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  background: var(--card-bg-hover);
  border-radius: var(--border-radius);
  box-shadow: 0 2px 12px var(--card-shadow);
  margin-top: 1.5rem;
  animation: fadeInScale 0.7s;
}

.form-success-modern.hidden {
  display: none;
}

.success-icon-modern {
  font-size: 2.5rem;
  color: #4CAF50;
  margin-bottom: 0.7rem;
  animation: pulse 1.2s infinite alternate;
}

/* Map Modern Section */
.map-modern-section {
  padding: 4rem 0 4rem 0;
  background: linear-gradient(180deg, rgba(0, 17, 34, 0.98) 0%, var(--bg-gradient-end) 100%);
  position: relative;
  z-index: 1;
}

.map-modern-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(102, 204, 255, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.map-title-modern {
  font-size: 2rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary-glow) 0%, var(--water-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 2rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

.map-modern-placeholder {
  margin: 0 auto;
  max-width: 500px;
  background: linear-gradient(135deg, rgba(102, 204, 255, 0.08) 0%, rgba(0, 153, 255, 0.04) 100%);
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3),
              0 2px 8px rgba(102, 204, 255, 0.1),
              inset 0 1px 0 rgba(255, 255, 255, 0.1);
  padding: 3rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInUp 1s 0.6s forwards;
  opacity: 0;
  border: 1px solid rgba(102, 204, 255, 0.15);
  backdrop-filter: blur(10px);
  position: relative;
  z-index: 1;
}

.map-modern-placeholder::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--water-cyan), var(--primary-blue));
  border-radius: 24px 24px 0 0;
}

.map-modern-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  color: var(--white);
  font-size: 1.1rem;
  text-align: center;
}

.map-modern-content i {
  font-size: 3rem;
  color: var(--primary-glow);
  margin-bottom: 1rem;
  animation: bounce 1.5s infinite alternate;
  text-shadow: 0 0 20px rgba(102, 204, 255, 0.5);
}

.map-modern-content p {
  margin: 0;
  line-height: 1.6;
}

.map-modern-content p:first-of-type {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary-glow);
}

.map-modern-content p:last-of-type {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
}

/* Animations */
@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-18px); }
}

@keyframes bubbleFloatModern {
  0% { transform: translateY(0) scale(1); opacity: 0.7; }
  50% { transform: translateY(-40px) scale(1.1); opacity: 1; }
  100% { transform: translateY(0) scale(1); opacity: 0.7; }
}

@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInScale {
  0% { opacity: 0; transform: scale(0.9); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes titleSlideIn {
  0% { opacity: 0; transform: translateY(-40px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes glow {
  0% { text-shadow: 0 0 16px var(--primary-glow); }
  100% { text-shadow: 0 0 32px var(--primary-color); }
}

@keyframes bounce {
  0% { transform: translateY(0); }
  100% { transform: translateY(-10px); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* ===== RESPONSIVE STYLES ===== */

/* Tablet Styles */
@media (min-width: 769px) and (max-width: 1024px) {
    .contact-hero-modern {
        padding: 4rem 0 2rem;
        min-height: 300px;
    }
    
    .hero-content-modern {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-title-modern {
        font-size: 3rem;
    }
    
    .contact-modern-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-modern-form-container {
        padding: 2rem;
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .contact-hero-modern {
        padding: 3rem 0 1.5rem;
        min-height: 250px;
    }
    
    .hero-content-modern {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
    
    .hero-title-modern {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .hero-title-modern .title-line {
        font-size: 2rem;
    }
    
    .hero-subtitle-modern {
        font-size: 1rem;
    }
    
    .hero-visual-modern {
        display: none;
    }
    
    .contact-modern-section {
        padding: 2rem 0;
    }
    
    .contact-modern-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-modern-info {
        padding: 1.5rem;
    }
    
    .contact-modern-info h2 {
        font-size: 1.75rem;
    }
    
    .contact-methods-modern {
        gap: 1rem;
    }
    
    .contact-method-modern {
        padding: 1rem 1.25rem;
        gap: 1rem;
    }
    
    .contact-icon-wrapper {
        width: 48px;
        height: 48px;
    }
    
    .contact-icon-modern {
        width: 48px;
        height: 48px;
        font-size: 1.5rem;
    }
    
    .contact-arrow {
        display: none;
    }
    
    .contact-modern-form-container {
        padding: 1.5rem;
    }
    
    .form-group-modern {
        margin-bottom: 1rem;
    }
    
    .form-group-modern input,
    .form-group-modern textarea,
    .form-group-modern select {
        padding: 0.75rem;
        font-size: 0.95rem;
    }
    
    .btn-modern {
        width: 100%;
        padding: 0.9rem 1.5rem;
        justify-content: center;
    }
    
    .map-modern-section {
        padding: 2rem 0;
    }
    
    .map-modern-placeholder {
        height: 250px;
        padding: 1.5rem 1rem;
    }
    
    .map-modern-content {
        font-size: 1rem;
    }
    
    .floating-cards {
        flex-direction: column;
        gap: 1rem;
    }
    
    .floating-card {
        width: 100%;
    }
}

/* Small Mobile Styles */
@media (max-width: 480px) {
    .container {
        padding: 0 0.75rem;
    }
    
    .contact-hero-modern {
        padding: 2rem 0 1rem;
        min-height: 200px;
    }
    
    .hero-title-modern {
        font-size: 1.75rem;
    }
    
    .hero-title-modern .title-line {
        font-size: 1.75rem;
    }
    
    .hero-subtitle-modern {
        font-size: 0.95rem;
    }
    
    .contact-modern-section {
        padding: 1.5rem 0;
    }
    
    .contact-modern-grid {
        gap: 1.5rem;
    }
    
    .contact-modern-info {
        padding: 1.25rem;
    }
    
    .contact-modern-info h2 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .contact-methods-modern {
        gap: 0.875rem;
    }
    
    .contact-method-modern {
        padding: 0.875rem;
        flex-wrap: wrap;
    }
    
    .contact-icon-modern {
        width: 32px;
        height: 32px;
        font-size: 1.1rem;
        flex-shrink: 0;
    }
    
    .contact-label {
        font-size: 0.9rem;
    }
    
    .contact-value {
        font-size: 0.85rem;
    }
    
    .contact-modern-form-container {
        padding: 1rem;
    }
    
    .form-group-modern {
        margin-bottom: 0.875rem;
    }
    
    .form-group-modern input,
    .form-group-modern textarea,
    .form-group-modern select {
        padding: 0.6rem;
        font-size: 0.9rem;
    }
    
    .btn-modern {
        padding: 0.875rem 1.25rem;
        font-size: 1rem;
    }
    
    .map-modern-section {
        padding: 1.5rem 0;
    }
    
    .map-modern-placeholder {
        height: 200px;
        padding: 1.25rem 0.875rem;
    }
    
    .map-modern-content {
        font-size: 0.95rem;
    }
    
    .map-modern-content i {
        font-size: 2rem;
    }
}

/* Extra Small Mobile */
@media (max-width: 375px) {
    .contact-hero-modern {
        padding: 1.5rem 0 0.75rem;
        min-height: 180px;
    }
    
    .hero-title-modern {
        font-size: 1.5rem;
    }
    
    .hero-subtitle-modern {
        font-size: 0.9rem;
    }
    
    .contact-modern-info h2 {
        font-size: 1.35rem;
    }
    
    .map-modern-placeholder {
        height: 180px;
    }
    
    .map-modern-content i {
        font-size: 1.8rem;
    }
    
    .map-modern-content p {
        font-size: 0.85rem;
    }
}

/* ===== CRITICAL RESPONSIVE FIXES - Prevent Crashes ===== */
@media (max-width: 768px) {
    /* Prevent horizontal overflow */
    .contact-hero-modern,
    .hero-content-modern,
    .contact-modern-section,
    .contact-modern-grid,
    .contact-modern-info,
    .contact-modern-form-container,
    .map-modern-section {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
        box-sizing: border-box;
    }
    
    /* Ensure all cards don't overflow */
    .contact-method-modern,
    .contact-form-container,
    .map-modern-placeholder {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }
    
    /* Fix grid layouts */
    .contact-modern-grid {
        grid-template-columns: 1fr !important;
    }
    
    .contact-grid {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 480px) {
    /* Additional mobile fixes */
    .contact-hero-modern,
    .contact-modern-section,
    .map-modern-section {
        padding-left: 1rem;
        padding-right: 1rem;
        width: 100%;
        max-width: 100vw;
        box-sizing: border-box;
    }
    
    .form-group-modern input,
    .form-group-modern textarea,
    .form-group-modern select {
        width: 100%;
        max-width: 100%;
    }
}