/* ===== CONTACT HERO SECTION ===== */
.contact-hero {
  position: relative;
  background: url("images/img2.jpg") center/cover no-repeat;
  height: 70vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
}
.contact-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom right,
    rgba(0, 0, 0, 0.55),
    rgba(0, 0, 0, 0.8)
  );
  z-index: 1;
}
.contact-container {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 20px;
  animation: fadeInHero 1.2s ease-out forwards;
}
.contact-hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 15px;
  text-transform: uppercase;
  text-shadow: 2px 2px 15px rgba(0, 0, 0, 0.6);
}
.contact-hero strong {
  color: #ffd700;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.7);
}
.contact-hero p {
  font-size: 1.2rem;
  color: #eaeaea;
  font-weight: 400;
  letter-spacing: 0.5px;
  margin-top: 10px;
}

/* ===== CONTACT FORM SECTION ===== */
.contact-form-section {
  background: #0f0f0f; /* dark, premium tone */
  color: #fff;
  padding: 100px 20px;
  display: flex;
  justify-content: center;
}
.form-container {
  max-width: 800px;
  width: 100%;
  text-align: center;
}
.form-container h2 {
  font-size: 2.2rem;
  margin-bottom: 10px;
  color: #ffd700;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.form-container p {
  color: #ccc;
  margin-bottom: 40px;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 25px;
}
.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.form-row input,
.form-row select {
  flex: 1;
  padding: 14px;
  border: none;
  border-radius: 8px;
  background: #1a1a1a;
  color: #fff;
  font-size: 1rem;
  outline: none;
  transition: 0.3s ease;
}
.form-row input:focus,
.form-row select:focus,
.contact-form textarea:focus {
  border: 1px solid #ffd700;
  background: #141414;
}
.contact-form textarea {
  width: 100%;
  height: 150px;
  resize: none;
  padding: 14px;
  border: none;
  border-radius: 8px;
  background: #1a1a1a;
  color: #fff;
  font-size: 1rem;
  outline: none;
  transition: 0.3s ease;
}
.btn-submit {
  background: #ffd700;
  color: #000;
  padding: 14px 40px;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1.05rem;
  cursor: pointer;
  transition: all 0.4s ease;
}
.btn-submit:hover {
  background: #e6c200;
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
}
.privacy-note {
  font-size: 0.9rem;
  color: #aaa;
  margin-top: 10px;
}

/* MAP SECTION */
.location {
  background: #f5f5f5;
  padding: 80px 20px;
  position: relative;
}
.location-container {
  max-width: 1100px;
  margin: auto;
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  align-items: center;
}
.map-wrapper {
  flex: 1 1 500px;
  height: 350px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transform: translateX(-30px);
  opacity: 0;
  transition: all 0.7s ease;
}
.location-info {
  flex: 1 1 400px;
  transform: translateX(30px);
  opacity: 0;
  transition: all 0.7s ease;
}
.location-info h2 {
  font-size: 2rem;
  margin-bottom: 15px;
  color: #111;
}
.location-info p {
  font-size: 1rem;
  margin-bottom: 10px;
  color: #333;
}
.location-info .btn.gold-btn {
  margin-top: 15px;
  background: gold;
  color: #000;
  transition: 0.3s ease;
}
.location-info .btn.gold-btn:hover {
  background: #00a86b;
  color: #fff;
}
/* Scroll animation trigger */
.location.active .map-wrapper,
.location.active .location-info {
  transform: translateX(0);
  opacity: 1;
}

/* ===== QUICK CTA SECTION ===== */
.quick-cta {
  background: linear-gradient(135deg, #ffd700, #e6c200);
  color: #000;
  text-align: center;
  padding: 80px 20px;
  position: relative;
  overflow: hidden;
}
.cta-container {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}
.quick-cta h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 15px;
  text-transform: uppercase;
}
.quick-cta p {
  font-size: 1.1rem;
  color: #222;
  margin-bottom: 25px;
}
.cta-call-btn {
  display: inline-block;
  background: #000;
  color: #ffd700;
  padding: 14px 40px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  font-size: 1.05rem;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}
.cta-call-btn:hover {
  background: transparent;
  color: #000;
  border-color: #000;
  transform: scale(1.05);
}
/* Subtle shine animation */
.quick-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 30%,
    rgba(255, 255, 255, 0.3) 50%,
    rgba(255, 255, 255, 0) 70%
  );
  transform: skewX(-25deg);
  animation: shine 4s infinite linear;
}

/* ===== SOCIAL CONTACT SECTION ===== */
.social-contact {
  background: grey;
  color: #fff;
  text-align: center;
  padding: 80px 20px;
}
.social-container {
  max-width: 700px;
  margin: 0 auto;
}
.social-contact h3 {
  font-size: 1.9rem;
  color: #ffd700;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.social-contact p {
  color: #eaeaea;
  margin-bottom: 35px;
  font-size: 1rem;
}
.social-links {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
}
.social-icon {
  width: 55px;
  height: 55px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  font-size: 1.4rem;
  color: #fff;
  background: #1a1a1a;
  transition: all 0.3s ease;
  border: 1px solid #333;
}
.social-icon:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
  border-color: #ffd700;
}
/* platform accent colors (optional) */
.linkedin:hover {
  background: #0077b5;
  color: #fff;
}
.facebook:hover {
  background: #1877f2;
  color: #fff;
}
.whatsapp:hover {
  background: #25d366;
  color: #fff;
}
.email:hover {
  background: #ffd700;
  color: #000;
}

/* 📱 CHAT PAGE */
#chatButton {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #1d72b8;
  color: white;
  border: none;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  cursor: pointer;
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
#chatBox {
  position: fixed;
  bottom: 90px;
  right: 20px;
  width: 320px;
  max-height: 500px;
  background: white;
  border: 1px solid #ccc;
  display: flex;
  overflow: hidden;
  border-radius: 12px;
  flex-direction: column;
  z-index: 9999;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
#chatHeader {
  background: #1d72b8;
  color: white;
  padding: 10px;
  font-weight: bold;
  text-align: center;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}
#chatContent {
  flex: 1;
  scroll-behavior: smooth;
  padding: 10px;
  overflow-y: auto;
  padding: 10px;
  max-height: 350px;
}
#chatContent::-webkit-scrollbar {
  width: 6px;
}
#chatContent::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 10px;
}
#typing {
  font-style: italic;
  color: gray;
  padding-left: 5px;
}
#chatInput {
  display: flex;
  gap: 6px;
  padding: 6px;
  background-color: #fafafa;
  border-top: 1px solid #ccc;
}
#chatInput input {
  flex: 1;
  padding: 8px;
  border: none;
}
#chatInput button {
  background: #1d72b8;
  color: white;
  border: none;
  padding: 8px 12px;
  cursor: pointer;
}
.chat-bubble {
  background-color: #e0e0e0;
  padding: 8px 12px;
  border-radius: 12px;
  margin: 4px 0;
  max-width: 70%;
}
.chat-bubble.user {
  background-color: #d1e7dd;
  align-self: flex-start;
}
.chat-bubble.admin {
  background-color: #0d6efd;
  color: white;
  align-self: flex-end;
}

.typing-dots {
  display: none;
  gap: 3px;
}
.typing-dots span {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #555;
  border-radius: 50%;
  animation: bounce 1s infinite;
}
.typing-dots span:nth-child(2) {
  animation-delay: 0.2s;
}
.typing-dots span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes bounce {
  0%,
  80%,
  100% {
    transform: scale(0);
  }
  40% {
    transform: scale(1);
  }
}

/* 📱 RESPONSIVE DESIGN FOR CONTACT PAGE */
@media (max-width: 768px) {
  .form-row {
    flex-direction: column;
  }
  .contact-hero h1 {
    font-size: 2.1rem;
  }
  .contact-hero p {
    font-size: 1rem;
  }
  /* map section */
  .location-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 30px;
  }
  .map-wrapper {
    height: 250px;
    order: 1; /* show map below info */
    transform: translateY(30px);
    margin: 0;
  }
  .location-info {
    order: 2;
    z-index: 2;
    padding: 20px;
    width: 100%;
    transform: translateY(30px);
    margin-bottom: 0;
  }
  .location {
    padding-bottom: 0;
  }
  .location-info .btn {
    display: inline-block;
    margin-top: 5px;

    position: relative;
    z-index: 3;
  }
  /* socials section */
  .social-icon {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
}
