/* contact.css - Final connected + fanatic layout */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: "Poppins", sans-serif; color: #0f172a; background: #fff; }

/* Header */
.contact-header {  background: #1c1559;
  display: flex;
  justify-content:center;
  align-items: center;
  padding: 14px 24px;
  color: #fff;
}
.logo { width: 70px; }
.nav a {
  color: #fff;
  text-decoration: none;
  margin: 0 10px;
  font-weight: 600;
  transition: color 0.3s ease;
}
.nav a:hover { color: #FF3131; }

/* 🌐 Contact Form Styling — Blue + Red Theme */

/* Base Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Form container */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 16px;
  padding: 35px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  max-width: 500px;
  width: 100%;
  margin: 0 auto;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.contact-form:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

/* Inputs & textarea */
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 1rem;
  font-family: "Poppins", sans-serif;
  background-color: #fff;
  transition: all 0.3s ease;
  resize: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #007BFF;
  box-shadow: 0 0 8px rgba(0, 123, 255, 0.5);
  background: #f9fbff;
}

/* Placeholder styling */
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #999;
  font-weight: 400;
}

/* Submit button */
.btn-submit {
  background: #520606;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 14px 20px;
  font-weight: 600;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.btn-submit:hover {
  background: linear-gradient(135deg, #007BFF, #00A3FF);
  transform: scale(1.05);
  box-shadow: 0 6px 15px rgba(0, 123, 255, 0.4);
}

.btn-submit:active {
  transform: scale(0.98);
}

/* Status message */
.form-status {
  margin-top: 10px;
  text-align: center;
  font-weight: 600;
  font-size: 0.95rem;
  min-height: 24px;
  transition: all 0.4s ease;
}

.form-status.success {
  color: #00C851;
  animation: fadeIn 0.5s ease forwards;
}

.form-status.error {
  color: #FF3131;
  animation: fadeIn 0.5s ease forwards;
}

.form-status.sending {
  color: #007BFF;
}

/* Smooth fade-in for status text */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 600px) {
  .contact-form {
    padding: 25px;
    border-radius: 12px;
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 0.95rem;
  }

  .btn-submit {
    font-size: 0.95rem;
    padding: 12px;
  }
}
/* 🌐 CONTACT SECTION - Blue & Red Theme */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Poppins", sans-serif;
  background: #ffffff;
  color: #0f172a;
}

/* Contact Section Container */
.contact-section {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 90vh;
  background: linear-gradient(135deg, #007BFF 0%, #3f0a0a 100%);
  padding: 60px 20px;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  max-width: 1100px;
  width: 100%;
  box-shadow: 0 25px 45px rgba(0, 0, 0, 0.2);
  animation: fadeInUp 1s ease;
}

/* Left Info Panel */
.info-panel {
  background: #520606;
  color: #fff;
  padding: 50px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.info-panel h2 {
  font-size: 1.8rem;
  margin-bottom: 16px;
  text-transform: capitalize;
}

.info-panel p {
  line-height: 1.6;
  font-size: 1rem;
  margin-bottom: 24px;
}

.info-panel ul {
  list-style: none;
  margin-top: 10px;
}

.info-panel li {
  font-size: 1rem;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.3s ease;
}

.info-panel li:hover {
  transform: translateX(6px);
}

/* Optional subtle wave line */
.info-panel::after {
  content: "";
  position: absolute;
  right: -1px;
  top: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(to bottom, #fff, rgba(255,255,255,0));
  opacity: 0.4;
}

/* Reveal animation on scroll */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Right Form Panel (if you have form next to it) */
.form-panel {
  background: #ffffff;
  padding: 50px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.form-panel h3 {
  color: #0d0d68;
  font-size: 1.4rem;
  margin-bottom: 20px;
}

/* Contact Form Styling */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  padding: 12px 16px;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 1rem;
  font-family: "Poppins", sans-serif;
  transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #007BFF;
  box-shadow: 0 0 8px rgba(0, 123, 255, 0.4);
  outline: none;
}

.btn-submit {
  background: #091a61;
  color: #fff;
  border: none;
  padding: 14px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.btn-submit:hover {
  background:  #520606;
  transform: scale(1.05);
}

/* Status Message */
.form-status {
  margin-top: 10px;
  font-weight: 600;
  text-align: center;
  transition: all 0.4s ease;
}

/* Fade In Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 🌍 Responsive Design */
@media (max-width: 900px) {
  .contact-container {
    grid-template-columns: 1fr;
  }

  .info-panel,
  .form-panel {
    padding: 40px 25px;
    text-align: center;
  }

  .info-panel::after {
    display: none;
  }
}


/* Footer */
.footer {
  background: #071133;
  color: #fff;
  text-align: center;
  padding: 20px;
}
.footer-logo { width: 60px; margin-bottom: 10px; }

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 850px) {
  .contact-container { grid-template-columns: 1fr; }
  .info-panel { padding: 30px; text-align: center; }
  .form-panel { padding: 30px; }
}
.form-status {
  margin-top: 10px;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
}
