:root {
  --primary: #0a0e27;
  --secondary: #1a1f3a;
  --accent: #6366f1;
  --accent-light: #818cf8;
  --accent-dark: #4f46e5;
  --success: #10b981;
  --light: #f8fafc;
  --muted: #94a3b8;
  --dark: #020617;
  --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-accent: linear-gradient(135deg, #6366f1, #8b5cf6);
}

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

html {
  overflow-x: hidden;
  width: 100%;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--primary);
  color: var(--light);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  position: relative;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 5%;
  width: 100%;
}

section {
  padding: 100px 0;
  position: relative;
  width: 100%;
  overflow-x: hidden;
}

/* HERO SECTION */
.contact-hero {
  min-height: 50vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 40px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
}

.contact-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(139, 92, 246, 0.2) 0%, transparent 50%);
  z-index: 0;
}

.contact-hero-content {
  text-align: center;
  position: relative;
  z-index: 2;
}

.contact-hero-content h1 {
  font-size: 3.5rem;
  line-height: 1.2;
  margin-bottom: 25px;
  font-weight: 800;
}

.gradient-text {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.contact-hero-content p {
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 700px;
  margin: 0 auto 30px;
  line-height: 1.8;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 10px;
  align-items: center;
  margin-top: 25px;
  font-size: 0.9rem;
}

.breadcrumb a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumb a:hover {
  color: var(--accent);
}

.breadcrumb span {
  color: var(--accent);
}

/* CONTACT INFO SECTION */
.contact-info-section {
  background: var(--primary);
  padding: 80px 0 40px;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.info-card {
  background: var(--secondary);
  padding: 40px 30px;
  border-radius: 16px;
  text-align: center;
  transition: all 0.4s ease;
  border: 1px solid rgba(99, 102, 241, 0.1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.info-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.info-card:hover::before {
  opacity: 1;
}

.info-card:hover {
  transform: translateY(-10px);
  border-color: var(--accent);
  box-shadow: 0 20px 50px rgba(99, 102, 241, 0.3);
}

.info-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 2rem;
  color: white;
  transition: transform 0.3s ease;
  position: relative;
  z-index: 1;
}

.info-card:hover .info-icon {
  transform: scale(1.1) rotate(5deg);
}

.info-card h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: var(--light);
  position: relative;
  z-index: 1;
}

.info-card p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

.info-card a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.3s ease;
}

.info-card a:hover {
  color: var(--accent-light);
}

/* CONTACT FORM SECTION */
.contact-form-section {
  background: var(--secondary);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}

.form-info {
  position: sticky;
  top: 150px;
}

.form-info h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  font-weight: 800;
}

.form-info p {
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 30px;
}

.response-time {
  background: var(--primary);
  padding: 25px;
  border-radius: 12px;
  border-left: 4px solid var(--accent);
  margin-bottom: 30px;
}

.response-time h4 {
  color: var(--accent);
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.response-time p {
  margin: 0;
  font-size: 0.95rem;
}

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

.feature-item {
  display: flex;
  align-items: center;
  gap: 15px;
}

.feature-icon {
  width: 50px;
  height: 50px;
  background: var(--gradient-accent);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.feature-item div h5 {
  color: var(--light);
  margin-bottom: 5px;
  font-size: 1rem;
}

.feature-item div p {
  color: var(--muted);
  margin: 0;
  font-size: 0.9rem;
}

.contact-form {
  background: var(--primary);
  padding: 50px;
  border-radius: 20px;
  border: 1px solid rgba(99, 102, 241, 0.2);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

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

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: var(--light);
  font-weight: 500;
  font-size: 0.95rem;
}

.form-group label span {
  color: var(--accent);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  background: var(--secondary);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 10px;
  color: var(--light);
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

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

.form-group select {
  cursor: pointer;
}

.submit-btn {
  width: 100%;
  padding: 16px;
  background: var(--gradient-accent);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(99, 102, 241, 0.5);
}

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

.submit-btn:hover i {
  transform: translateX(5px);
}

.form-message {
  margin-top: 20px;
  padding: 15px;
  border-radius: 8px;
  font-size: 0.95rem;
  display: none;
}

.form-message.success {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid var(--success);
  color: var(--success);
  display: block;
}

.form-message.error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid #ef4444;
  color: #ef4444;
  display: block;
}

/* MAP SECTION */
.map-section {
  background: var(--dark);
  padding: 0;
}

.map-container {
  width: 100%;
  height: 500px;
  border-radius: 0;
  overflow: hidden;
  position: relative;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(20%) invert(92%) contrast(90%);
}

.map-overlay {
  position: absolute;
  top: 40px;
  left: 40px;
  background: rgba(10, 14, 39, 0.95);
  backdrop-filter: blur(10px);
  padding: 30px;
  border-radius: 16px;
  max-width: 350px;
  border: 1px solid rgba(99, 102, 241, 0.3);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.map-overlay h3 {
  color: var(--accent);
  margin-bottom: 15px;
  font-size: 1.4rem;
}

.map-overlay p {
  color: var(--muted);
  margin-bottom: 10px;
  font-size: 0.95rem;
  display: flex;
  align-items: start;
  gap: 10px;
}

.map-overlay p i {
  color: var(--accent);
  margin-top: 3px;
}

/* FAQ SECTION */
.faq-section {
  background: var(--primary);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 15px;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto;
}

.faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: var(--secondary);
  margin-bottom: 20px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(99, 102, 241, 0.1);
  transition: all 0.3s ease;
}

.faq-item.active {
  border-color: var(--accent);
  box-shadow: 0 5px 20px rgba(99, 102, 241, 0.2);
}

.faq-question {
  padding: 25px 30px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  transition: all 0.3s ease;
  user-select: none;
}

.faq-question:hover {
  background: rgba(99, 102, 241, 0.05);
}

.faq-question h4 {
  font-size: 1.1rem;
  color: var(--light);
  font-weight: 600;
  flex: 1;
}

.faq-icon {
  width: 30px;
  height: 30px;
  background: var(--gradient-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1rem;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer-content {
  padding: 0 30px 25px 30px;
  color: var(--muted);
  line-height: 1.8;
  font-size: 1rem;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

/* CTA SECTION */
.cta-section {
  background: var(--secondary);
  padding: 100px 0;
}

.cta-box {
  background: var(--gradient-accent);
  padding: 80px 60px;
  border-radius: 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.1); opacity: 0.8; }
}

.cta-box h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.cta-box p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  opacity: 0.9;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.btn {
  padding: 16px 40px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  border: none;
}

.btn-white {
  background: white;
  color: var(--accent);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.btn-white:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.btn-outline-white {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.btn-outline-white:hover {
  background: white;
  color: var(--accent);
}

/* FOOTER */
footer {
  background: var(--dark);
  padding: 80px 0 30px;
  border-top: 1px solid rgba(99, 102, 241, 0.2);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-about h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-about p {
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 25px;
}

.footer-social {
  display: flex;
  gap: 15px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: var(--secondary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  transition: all 0.3s ease;
  border: 1px solid rgba(99, 102, 241, 0.2);
}

.footer-social a:hover {
  background: var(--accent);
  color: white;
  transform: translateY(-3px);
}

.footer-links h4 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: var(--light);
}

.footer-links ul {
  list-style: none;
}

.footer-links ul li {
  margin-bottom: 12px;
}

.footer-links ul li a {
  color: var(--muted);
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-links ul li a:hover {
  color: var(--accent);
  padding-left: 5px;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(99, 102, 241, 0.1);
  color: var(--muted);
  font-size: 0.9rem;
}

/* MOBILE RESPONSIVE */
@media (max-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .form-info {
    position: static;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  section {
    padding: 60px 0;
  }

  .contact-hero-content h1 {
    font-size: 2.5rem;
  }

  .contact-hero-content p {
    font-size: 1.1rem;
  }

  .contact-info-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 30px;
  }

  .map-overlay {
    position: static;
    margin: 20px;
    max-width: none;
  }

  .cta-box {
    padding: 60px 30px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 480px) {
  .contact-hero-content h1 {
    font-size: 2rem;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .contact-form {
    padding: 25px;
  }
}
