/* ================================
   CONTACT SECTION
================================ */

.contact-section {
  padding: 100px 0;
  background: #f8f9fb;
}

.contact-content {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 80px;
  align-items: start;
}

/* ================================
   LEFT CONTENT
================================ */

.contact-info {
  padding-top: 20px;
}

.section-label {
  display: inline-block;
  margin-bottom: 18px;

  color: #f7bd27;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.contact-info h2 {
  margin: 0 0 25px;

  color: #17212b;
  font-size: 42px;
  line-height: 1.2;
  font-weight: 700;
}

.contact-info p {
  max-width: 500px;

  margin: 0;

  color: #666;
  font-size: 17px;
  line-height: 1.8;
}

/* ================================
   FORM
================================ */

.contact-form {
  padding: 45px;
  background: #ffffff;

  border-radius: 4px;

  box-shadow: 0 15px 45px rgba(23, 33, 43, 0.08);
}

/* 2 COLUMNS */

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* FORM GROUP */

.form-group {
  margin-bottom: 22px;
}

.form-group label {
  display: block;
  margin-bottom: 9px;

  color: #17212b;
  font-size: 15px;
  font-weight: 600;
}

/* INPUT / SELECT / TEXTAREA */

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  box-sizing: border-box;

  padding: 14px 16px;

  border: 1px solid #e1e1e1;
  border-radius: 3px;

  background: #fff;

  color: #333;
  font-family: inherit;
  font-size: 15px;

  outline: none;

  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

/* PLACEHOLDER */

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #aaa;
}

/* FOCUS */

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #f7bd27;

  box-shadow: 0 0 0 3px rgba(247, 189, 39, 0.12);
}

/* TEXTAREA */

.form-group textarea {
  min-height: 130px;

  resize: vertical;
}

/* SELECT */

.form-group select {
  cursor: pointer;
}

/* ================================
   BUTTON
================================ */

.contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;

  min-width: 180px;

  padding: 15px 25px;

  border: none;
  border-radius: 2px;

  background: #f7bd27;
  color: #17212b;

  font-family: inherit;
  font-size: 14px;
  font-weight: 700;

  cursor: pointer;

  transition:
    background 0.25s ease,
    transform 0.25s ease;
}

.contact-btn i {
  font-size: 14px;
  transition: transform 0.25s ease;
}

.contact-btn:hover {
  background: #e3a900;
  transform: translateY(-2px);
}

.contact-btn:hover i {
  transform: translateX(4px);
}

/* ================================
   FORM MESSAGE
================================ */

#formMessage {
  margin: 15px 0 0;

  font-size: 14px;
  font-weight: 600;
}

/* ================================
   TABLET
================================ */

@media (max-width: 992px) {
  .contact-section {
    padding: 80px 0;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .contact-info {
    padding-top: 0;
  }

  .contact-info h2 {
    font-size: 36px;
  }

  .contact-info p {
    max-width: 700px;
  }

  .contact-form {
    padding: 35px;
  }
}

/* ================================
   MOBILE
================================ */

@media (max-width: 768px) {
  .contact-section {
    padding: 60px 20px;
  }

  .contact-content {
    gap: 35px;
  }

  .section-label {
    font-size: 13px;
    letter-spacing: 1.5px;
  }

  .contact-info h2 {
    font-size: 30px;
    line-height: 1.25;
  }

  .contact-info p {
    font-size: 15px;
    line-height: 1.7;
  }

  .contact-form {
    padding: 25px 20px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .form-group {
    margin-bottom: 18px;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 13px 14px;
  }

  .contact-btn {
    width: 100%;
  }
}

/* ================================
   SMALL MOBILE
================================ */

@media (max-width: 480px) {
  .contact-section {
    padding: 50px 15px;
  }

  .contact-info h2 {
    font-size: 27px;
  }

  .contact-form {
    padding: 22px 16px;
  }
}

/* =========================
   COMMON
========================= */

.container {
  width: min(1180px, 90%);
  margin: auto;
}

.section {
  padding: 90px 0;
}

.section-heading {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
}

.section-subtitle {
  display: inline-block;
  color: var(--primary-color);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 15px;
}

.section-heading h2 {
  font-size: 36px;
  color: var(--dark-color);
  margin-bottom: 15px;
}

.section-heading p {
  color: var(--text-color);
  line-height: 1.8;
}

/* =========================
   BUTTONS
========================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  padding: 15px 28px;

  font-size: 13px;
  font-weight: 700;

  transition: 0.3s;

  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--primary-color);
  color: var(--dark-color);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
}

.btn-outline {
  border: 1px solid #fff;
  color: #fff;
}

.btn-outline:hover {
  background: #fff;
  color: var(--dark-color);
}

.btn-dark {
  background: var(--dark-color);
  color: #fff;
}

.btn-dark:hover {
  background: #000;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Montserrat", sans-serif;
  color: #333;
  background: #ffffff;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  width: 100%;
  display: block;
}

/* =========================
   VARIABLES
========================= */

:root {
  --primary-color: #f7bd27;
  --primary-dark: #e3a900;
  --dark-color: #17212b;
  --dark-blue: #101b25;
  --text-color: #555;
  --light-color: #f5f5f5;
  --white: #ffffff;

  --footer-color: #3b1f6e;
}

/* =========================
   HEADER
========================= */

.header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;

  background: #fff;

  z-index: 9999;

  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.top-header {
  min-height: 100px;
  display: flex;
  align-items: center;
}

.top-header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  width: 300px;
  height: 66px;
  object-fit: contain;
  object-position: left center;
  display: block;
}

.logo span {
  position: relative;
}

.logo span::after {
  content: "";

  display: inline-block;

  width: 30px;
  height: 10px;

  background: var(--primary-color);

  margin-left: 7px;

  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.logo strong {
  font-size: 16px;
  font-weight: 500;
}

.header-info {
  display: flex;
  align-items: center;
  gap: 35px;
}

.header-info-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-info-icon {
  color: var(--primary-color);
  font-size: 24px;
}

.header-info-item span {
  display: block;

  font-size: 10px;
  color: #999;

  margin-bottom: 4px;
}

.header-info-item p {
  font-size: 12px;
  font-weight: 600;
}

.quote-btn {
  background: var(--primary-color);

  padding: 17px 24px;

  font-size: 11px;
  font-weight: 700;

  transition: 0.3s;
}

.quote-btn:hover {
  background: var(--primary-dark);
}

.mobile-menu-btn {
  display: none;

  border: none;
  background: transparent;

  font-size: 24px;

  cursor: pointer;
}

/* =========================
   NAVBAR
========================= */

.navbar {
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.nav-list {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-list li {
  flex: 1;
  text-align: center;
}

.nav-list a {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 9px;

  padding: 20px 10px;

  font-size: 12px;
  font-weight: 600;

  border-left: 1px solid #eee;

  transition: 0.3s;
}

.nav-list li:last-child a {
  border-right: 1px solid #eee;
}

.nav-list a:hover,
.nav-list a.active {
  color: var(--primary-color);
  background: #fafafa;
}

/* =========================
   FOOTER
========================= */

.footer {
  background: #3b1f6e;
  color: #fff;
  padding-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 50px;
  padding-bottom: 60px;
}

/* =========================
   FOOTER LOGO
========================= */

.footer-logo {
  display: inline-flex;
  flex-direction: column;

  font-size: 26px;
  font-weight: 800;
  line-height: 0.9;

  margin-bottom: 25px;

  color: #fff;
}

.footer-logo span {
  color: #f7bd27;
}

/* =========================
   FOOTER TEXT
========================= */

.footer-column > p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.8;
}

/* =========================
   FOOTER TITLE
========================= */

.footer-column h3 {
  font-size: 16px;
  color: #fff;

  margin-bottom: 25px;

  position: relative;
}

.footer-column h3::after {
  content: "";

  display: block;

  width: 40px;
  height: 3px;

  background: #f7bd27;

  margin-top: 12px;
}

/* =========================
   FOOTER LINKS
========================= */

.footer-column ul {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-column ul a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);

  transition: all 0.3s ease;
}

.footer-column ul a:hover {
  color: #f7bd27;
  padding-left: 7px;
}

/* =========================
   SOCIAL LINKS
========================= */

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;

  margin-top: 25px;
}

.social-links a {
  width: 40px;
  height: 40px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(255, 255, 255, 0.1);
  color: #fff;

  transition: all 0.3s ease;
}

.social-links a:hover {
  background: #f7bd27;
  color: #3b1f6e;

  transform: translateY(-3px);
}

/* =========================
   CONTACT INFO
========================= */

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-contact p {
  display: flex;
  align-items: flex-start;
  gap: 12px;

  font-size: 13px;
  line-height: 1.7;

  color: rgba(255, 255, 255, 0.75);
}

.footer-contact i {
  color: #f7bd27;
  margin-top: 4px;

  min-width: 16px;
}

/* =========================
   FOOTER BOTTOM
========================= */

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);

  padding: 22px 0;

  background: rgba(0, 0, 0, 0.08);
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.footer-bottom p,
.footer-bottom a {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}

.footer-bottom div {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-bottom a {
  transition: 0.3s;
}

.footer-bottom a:hover {
  color: #f7bd27;
}

.menu-overlay {
  position: fixed;
  inset: 0;

  background: rgba(0, 0, 0, 0.5);

  opacity: 0;
  visibility: hidden;

  pointer-events: none;

  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;

  z-index: 10000;
}

.menu-overlay.show {
  opacity: 1;
  visibility: visible;
}

/* ==============================
   SUCCESS POPUP
============================== */

.success-popup {
  position: fixed;
  inset: 0;
  z-index: 99999;

  display: flex;
  align-items: center;
  justify-content: center;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.success-popup.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Overlay */

.success-popup-overlay {
  position: absolute;
  inset: 0;

  background: rgba(0, 0, 0, 0.55);

  backdrop-filter: blur(3px);
}

/* Popup box */

.success-popup-box {
  position: relative;
  z-index: 1;

  width: min(450px, 90%);

  background: #ffffff;

  padding: 45px 35px 35px;

  border-radius: 18px;

  text-align: center;

  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);

  transform: translateY(20px) scale(0.95);

  transition: transform 0.3s ease;
}

.success-popup.show .success-popup-box {
  transform: translateY(0) scale(1);
}

/* Icon */

.success-popup-icon {
  width: 70px;
  height: 70px;

  margin: 0 auto 22px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #f7bd27;

  color: #3b1f6e;

  border-radius: 50%;

  font-size: 30px;
}

.success-popup-icon i {
  font-weight: 700;
}

/* Title */

.success-popup-box h3 {
  margin: 0 0 15px;

  color: #3b1f6e;

  font-size: 24px;
  font-weight: 700;
}

/* Description */

.success-popup-box p {
  margin: 0 auto 28px;

  max-width: 350px;

  color: #555;

  font-size: 15px;
  line-height: 1.7;
}

.success-popup-box p strong {
  color: #3b1f6e;
}

/* Close X */

.success-popup-close {
  position: absolute;

  top: 15px;
  right: 15px;

  width: 35px;
  height: 35px;

  display: flex;
  align-items: center;
  justify-content: center;

  border: none;

  background: transparent;

  color: #777;

  font-size: 18px;

  cursor: pointer;

  border-radius: 50%;

  transition: 0.2s ease;
}

.success-popup-close:hover {
  background: #f5f5f5;
  color: #3b1f6e;
}

/* Button */

.success-popup-btn {
  min-width: 130px;

  padding: 13px 28px;

  border: none;
  border-radius: 6px;

  background: #f7bd27;

  color: #17212b;

  font-size: 14px;
  font-weight: 700;

  cursor: pointer;

  transition: 0.25s ease;
}

.success-popup-btn:hover {
  background: #e3a900;

  transform: translateY(-2px);
}

/* Mobile */

@media (max-width: 480px) {
  .success-popup-box {
    width: 90%;
    padding: 40px 22px 28px;
  }

  .success-popup-icon {
    width: 60px;
    height: 60px;

    font-size: 25px;
  }

  .success-popup-box h3 {
    font-size: 20px;
  }

  .success-popup-box p {
    font-size: 14px;
  }
}
