/* ===============================
   Chicaim Contact Page - Professional Blue Theme
================================== */

/* Main Container */
.chicaim-contact-page {
  padding: 100px 20px;
  background: #f5f8ff; /* Light professional blue background */
  color: #001f5c; /* Dark blue text */
  font-family: 'Raleway', sans-serif;
}

/* Header Section */
.contact-header {
  text-align: center;
  margin-bottom: 80px;
}

.contact-header h1 {
  font-size: 3rem;
  font-weight: 700;
  color: #00308f; /* Matching logo blue */
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(20px);
  transition: 0.8s ease;
}

.contact-header p {
  font-size: 1.1rem;
  line-height: 1.8;
  max-width: 700px;
  margin: 0 auto;
  color: #001f5c;
  opacity: 0;
  transform: translateY(20px);
  transition: 0.8s ease;
}

/* Contact Details + Map */
.contact-details-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 80px;
  opacity: 0;
  transform: translateY(20px);
  transition: 0.8s ease;
}

.contact-info, .contact-map {
  flex: 1 1 45%;
  min-width: 300px;
}

.contact-info h2 {
  color: #00308f; /* Primary blue */
  font-size: 2rem;
  margin-bottom: 20px;
}

.contact-info p {
  margin-bottom: 12px;
  font-size: 1rem;
  line-height: 1.6;
}

.contact-info a {
  color: #00308f;
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

/* ===============================
   Contact Form 7 Styling
================================== */
.contact-form-section {
  max-width: 800px;
  margin: 0 auto;
  background: #ffffff;
  padding: 50px 40px;
  border-radius: 12px;
  box-shadow: 0 15px 30px rgba(0,0,0,0.08);
  opacity: 0;
  transform: translateY(20px);
  transition: 0.8s ease;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
  width: 100%;
  padding: 18px 20px;
  margin-bottom: 20px;
  border-radius: 10px;
  border: 1px solid #cce0ff;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: #f5f8ff;
}

.wpcf7-form input:focus,
.wpcf7-form textarea:focus {
  outline: none;
  border-color: #00308f;
  box-shadow: 0 8px 25px rgba(0,48,143,0.2);
}

/* Submit Button */
.wpcf7-form .wpcf7-submit {
  background: linear-gradient(90deg, #00308f, #1e4db3); /* Logo blue gradient */
  color: #fff;
  font-size: 1.2rem;
  font-weight: 600;
  padding: 16px 45px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.wpcf7-form .wpcf7-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.25);
}

/* ===============================
   Floating Contact Button
================================== */
.floating-contact-btn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: #00308f;
  color: #fff;
  padding: 15px 30px;
  border-radius: 50px;
  font-weight: 600;
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
  text-decoration: none;
  z-index: 999;
  transition: 0.3s ease, transform 0.3s ease;
  animation: floatBtn 3s ease-in-out infinite;
}

.floating-contact-btn:hover {
  background: #1e4db3;
  transform: translateY(-5px);
}

@keyframes floatBtn {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-8px); }
  100% { transform: translateY(0); }
}

/* ===============================
   Chatbot Widget
================================== */
.chatbot-widget {
  position: fixed;
  bottom: 90px;
  right: 25px;
  width: 250px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 999;
  animation: floatChat 3s ease-in-out infinite;
}

.chatbot-header {
  background: #00308f;
  color: #fff;
  padding: 12px;
  font-weight: 600;
  text-align: center;
}

.chatbot-body {
  padding: 15px;
  color: #001f5c;
  font-size: 0.95rem;
}

.chatbot-start {
  background: #1e4db3;
  color: #fff;
  border: none;
  padding: 10px;
  width: 100%;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 10px;
}

.chatbot-start:hover {
  background: #00308f;
}

@keyframes floatChat {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-5px); }
  100% { transform: translateY(0); }
}

/* ===============================
   Scroll Animations
================================== */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease-out;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===============================
   Responsive Layout
================================== */
@media (max-width: 991px) {
  .contact-details-wrapper {
    flex-direction: column;
  }
}
