/* Hero Contact Section */
.hero-contact {
  width: 100%;
  min-height: 80vh;
  background: linear-gradient(135deg, #4e54c8, #8f94fb);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  overflow: hidden;
}

.hero-contact-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  width: 100%;
  gap: 40px;
}

.hero-text {
  flex: 1;
  opacity: 0;
  transform: translateX(-50px);
  animation: fadeInLeft 1s forwards 0.3s;
}

.hero-text h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-text p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.hero-text .btn-primary {
  padding: 12px 30px;
  background-color: #fff;
  color: #4e54c8;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
}

.hero-text .btn-primary:hover {
  background-color: #f0f0f0;
  color: #3a3abf;
  transform: translateY(-3px);
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  opacity: 0;
  transform: translateX(50px);
  animation: fadeInRight 1s forwards 0.6s;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

/* Animations */
@keyframes fadeInLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Responsive */
@media (max-width: 900px) {
  .hero-contact-content {
    flex-direction: column-reverse;
    text-align: center;
  }
  .hero-text h1 {
    font-size: 2.5rem;
  }
  .hero-text p {
    font-size: 1.1rem;
  }
  .hero-text .btn-primary {
    padding: 10px 25px;
  }
}


/* =========== 1st Contact ============== */

/* Contact Section */
.contact-section {
  width: 100%;
  padding: 60px 20px;
  background-color: #f9f9f9;
}

.contact-content {
  display: flex;
  flex-direction: row;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: flex-start;
}

/* Left Column */
.contact-form-column {
  flex: 1;
  background-color: #fff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.contact-form-column h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.contact-form-column p {
  margin-bottom: 25px;
  color: #555;
}

.contact-form-column form label {
  display: block;
  margin-bottom: 6px;
  font-weight: bold;
}

.contact-form-column form input,
.contact-form-column form select,
.contact-form-column form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 20px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 1rem;
}

.contact-form-column form textarea {
  min-height: 120px;
  resize: vertical;
}

.form-check {
  margin-bottom: 20px;
}

.form-check input[type="checkbox"] {
  margin-right: 10px;
}

.btn-primary {
  background-color: #4e54c8;
  color: #fff;
  padding: 12px 25px;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: #3a3abf;
  transform: translateY(-2px);
}

/* Form Message */
.form-message {
  margin-top: 15px;
  font-weight: bold;
  display: none;
}

/* Right Column */
.contact-info-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-info-column h3 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.contact-info-column p {
  font-size: 1.1rem;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}

.social-icon {
  color: #4e54c8;
  font-size: 1.4rem;
  transition: transform 0.3s ease, color 0.3s ease;
}

.social-icon:hover {
  color: #3a3abf;
  transform: scale(1.2);
}

.contact-illustration {
  margin-top: 20px;
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Responsive */
@media (max-width: 900px) {
  .contact-content {
    flex-direction: column;
  }
}


/* ========== Request Quote =========== */

/* Quote Section */
.quote-section {
  width: 100%;
  padding: 60px 20px;
  background-color: #f3f4f8;
}

.quote-content {
  display: flex;
  flex-direction: row;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: flex-start;
}

/* Left Column */
.quote-form-column {
  flex: 1;
  background-color: #fff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.quote-form-column h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.quote-form-column p {
  margin-bottom: 25px;
  color: #555;
}

.quote-form-column form label {
  display: block;
  margin-bottom: 6px;
  font-weight: bold;
}

.quote-form-column form input,
.quote-form-column form select,
.quote-form-column form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 20px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 1rem;
}

.quote-form-column form textarea {
  min-height: 120px;
  resize: vertical;
}

.form-check {
  margin-bottom: 20px;
}

.form-check input[type="checkbox"] {
  margin-right: 10px;
}

.btn-primary {
  background-color: #4e54c8;
  color: #fff;
  padding: 12px 25px;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: #3a3abf;
  transform: translateY(-2px);
}

/* Form Message */
.form-message {
  margin-top: 15px;
  font-weight: bold;
  display: none;
}

/* Right Column */
.quote-info-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.quote-info-column h3 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.quote-info-column p {
  font-size: 1.1rem;
  color: #555;
}

.quote-illustration {
  margin-top: 20px;
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.quote-info-column-pre h3 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.quote-info-column-pre p {
  font-size: 1.1rem;
  color: #555;
}

.quote-info-column-pre{
  display: none;
}

/* Responsive */
@media (max-width: 900px) {
  .quote-content {
    flex-direction: column;
  }
  .quote-info-column-pre{
    display: block;
  }
  .quote-info-column{
    display: none;
  }
  .contact-illustration{
    display: none;
  }
}

/* 🔔 Popup Success/Error Message */
.popup-message {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #222;
  color: white;
  padding: 16px 22px;
  border-radius: 12px;
  font-size: 15px;
  font-family: 'Poppins', sans-serif;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 1000;
}

.popup-message.show {
  opacity: 1;
  transform: translateY(0);
}

.popup-message.success {
  background: #16a34a; /* green */
}

.popup-message.error {
  background: #dc2626; /* red */
}


/* Optional: prevent body scroll when menu is open */
body.no-scroll {
  overflow: hidden;
}


/* ================ LAST ============== */

/* ===== NAVIGATION ===== */
header {
  width: 100%;
  position: relative;
  z-index: 100;
}

.nav-links {
  display: none; /* Hidden on mobile by default */
  flex-direction: column; /* vertical menu on mobile */
  gap: 1rem;
  position: absolute; /* dropdown menu */
  top: 100%;
  right: 0;
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  z-index: 999;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.nav-links.active {
  display: flex;
  max-height: 500px; /* adjust based on number of links */
}

/* Hamburger button */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  width: 28px;
  height: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1000;
}

.hamburger .bar {
  width: 100%;
  height: 3px;
  background-color: #4e54c8;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Hamburger toggle animation */
.hamburger[aria-expanded="true"] .bar:nth-child(1) {
  transform: rotate(45deg) translateY(8px);
}
.hamburger[aria-expanded="true"] .bar:nth-child(2) {
  opacity: 0;
}
.hamburger[aria-expanded="true"] .bar:nth-child(3) {
  transform: rotate(-45deg) translateY(-8px);
}

/* Desktop styles */
@media (min-width: 901px) {
  .nav-links {
    display: flex !important; /* always visible on desktop */
    position: static;
    flex-direction: row;
    gap: 20px;
    max-height: none;
    background: none;
    padding: 0;
    box-shadow: none;
  }

  .hamburger {
    display: none; /* hide hamburger on desktop */
  }
}
