/* ===== HERO ===== */
.contact-hero {
  position: relative;
  width: 100%;
  background: url("images/sit.jpg") center/cover no-repeat;
  height: 120vh;
  display: flex;
  justify-content: center;
  align-items: center;
  color: rgb(255, 255, 255);
  text-align: center;
}
.contact-hero .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
}

.contact-hero .hero-content {
  z-index: 2;
  animation: fadeUp 1.3s ease forwards;
  filter: drop-shadow(7px 10px 15px red);
}
.hero-content h1 {
  font-size: 3rem;
  text-transform: uppercase;
  z-index: 300;
}
.contact-hero p {
  margin-top: .8rem;
  
  filter: drop-shadow(3px 5px 7px red);
}

/* ===== CONTACT INFO ===== */
.contact-info {
  background: #fff;
  padding: 4rem 0;
}
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  text-align: center;
}
.info-card i {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: .8rem;
}
.info-card h4 {
  color: var(--dark);
  margin-bottom: .3rem;
}

/* ===== FORM & MAP ===== */
.contact-form {
  background: var(--accent);
  padding: 5rem 0;
}
.form-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: flex-start;
}
.form-box, .map-box {
  flex: 1 1 450px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
  padding: 2rem;
}
.form-box h2, .map-box h2 {
  color: var(--primary);
  margin-bottom: 1rem;
}
input, textarea {
  width: 100%;
  margin-bottom: 1rem;
  padding: 0.8rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 0.95rem;
}
button.btn-primary {
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  background: #e60000;
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.9rem 1.6rem;
  border-radius: 6px;
}

button.btn-primary:hover {
  background: #b00000;
  transform: scale(1.05);
  font-size: 1.05rem;
}


/* ===== CHATBOT ===== */
.chatbot-section {
  padding: 5rem 0;
  background: #fff;
  text-align: center;
}
.chatbot {
  margin: 2rem auto 0;
  max-width: 550px;
  background: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  overflow: hidden;
}
.chat-area {
  height: 260px;
  overflow-y: auto;
  padding: 1rem;
  text-align: left;
}
.bot-msg, .user-msg {
  background: var(--accent);
  padding: .8rem;
  border-radius: 10px;
  margin: .5rem 0;
  max-width: 80%;
  color: #333;
}
.user-msg {
  background: var(--primary);
  color: #fff;
  margin-left: auto;
}
.chat-input {
  display: flex;
  border-top: 1px solid #ddd;
}
.chat-input input {
  flex: 1;
  border: none;
  padding: 1rem;
  font-size: .95rem;
  outline: none;
}
.chat-input button {
  background: var(--primary);
  border: none;
  color: #ffffff;
  padding: 1rem 1.2rem;
  cursor: pointer;
  transition: background 0.3s ease;
}
.chat-input button:hover {
  background: #b00000;
}

/* ===== CTA ===== */
.cta {
  position: relative;
  background: url("images/cta.jpg") center/cover no-repeat;
  color: white;
  text-align: center;
  padding: 5rem 2rem;
}
.cta .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.65);
}
.cta-content {
  position: relative;
  z-index: 2;
}
.cta-content h2 {
  font-size: 2.4rem;
  margin-bottom: 1rem;
  filter: drop-shadow(8px 10px 15px red);
}
.cta-content p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  filter: drop-shadow(5px 7px 12px red);
}
.cta-content a.btn-primary {
  background: #e60000;
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.9rem 1.6rem;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.3s ease;
  filter: drop-shadow(3px 5px 7px red);
}

/* ===== RESPONSIVE ===== */
@media(max-width:768px){
  .form-flex{flex-direction:column;}
}

/*==========================================================
   DARK MODE
   ==========================================================*/
body.dark-mode {
  background: var(--dark);
  color: var(--light);
}
html.dark-mode .contact-info{
  background: #bebcbc;
}
html.dark-mode .info-card h4{
  color: #fff;
  filter: drop-shadow(2px 4px 6px red); 
}