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

body {
  font-family: "Poppins", sans-serif;
  /* background: #f4f7fb; */
}

/* ===========================
   TOP BAR
=========================== */
.topbar {
  position: relative;
  width: 100%;
  max-width: 100%;
  background: #17379a;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 55px;
  overflow: hidden;
}

.topbar-left {
  position: relative;
  background: #37892e;
  display: flex;
  align-items: center;
  gap: 18px;
  height: 100%;
  padding: 14px 55px 14px 40px;
  clip-path: polygon(0 0, 100% 0, calc(100% - 45px) 100%, 0 100%);
  white-space: nowrap;
  flex-shrink: 0;
}

.topbar-left span {
  font-size: 15px;
  font-weight: 500;
}

.topbar-social {
  display: flex;
  align-items: center;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.topbar-social a {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  transition: 0.3s ease;
}

.topbar-social a:hover {
  background: #fff;
  color: #40a034;
  border-color: #fff;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 35px;
  padding: 10px 40px;
}

.topbar-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  white-space: nowrap;
  min-width: 0;
}

.topbar-item span,
.topbar-item a {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

.topbar-item i {
  font-size: 15px;
  flex-shrink: 0;
}

/* ===========================
   MAIN HEADER / NAVBAR
=========================== */

.header {
  width: 90%;
  padding: 0;
  /* background: #fff; */
}

.nav-container {
  width: 100%;
  max-width: 1410px;
  margin: auto;
  background: #fff;
  border-radius: 0px 25px 25px 0px;
  display: flex;
  justify-content: flex-start; /* instead of space-between */

  gap: 120px;
  align-items: center;
  padding: 0px 35px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.logo a {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo img {
  width: 100px;
  display: block;
}

/* fallback text logo (used if no image) */
.logo-text {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 30px;
  font-weight: 700;
  color: #17379a;
}

.logo-text i {
  color: #ff6b23;
  font-size: 32px;
}

.logo-text .accent {
  color: #ff6b23;
}

.navbar {
  position: relative; /* anchors .navbar-close on mobile */
}

.navbar ul {
  display: flex;
  align-items: center;
  gap: 50px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.navbar ul li {
  position: relative;
}

.navbar a {
  color: #0a3e8f;
  text-decoration: none;
  font-size: 20px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.navbar a:hover,
.navbar li.active > a {
  color: #40a034;
}

.dropdown {
  position: relative;
}

.submenu {
  position: absolute;
  top: 45px;
  left: 0;
  min-width: 220px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
  padding: 10px 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: 0.35s ease;
  z-index: 999;
  margin: 0;
}

.submenu li {
  width: 100%;
  padding: 0 18px;
}

.submenu li a {
  display: block;
  padding: 10px 14px;
  font-size: 15px;
  color: #17379a;
  line-height: 1.4;
  border-radius: 8px;
}

.submenu li a:hover {
  background: #f5f7ff;
  color: #ff6b23;
}

.dropdown:hover .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 30px;
}

.search-btn {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #dfe3ef;
  border-radius: 50%;
  font-size: 18px;
  color: #17379a;
  background: transparent;
  cursor: pointer;
  transition: 0.3s ease;
}

.search-btn:hover {
  background: #17379a;
  color: #fff;
  border-color: #17379a;
}

.search-wrap {
  position: relative;
}

.search-box {
  position: absolute;
  top: 58px;
  right: 0;
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 40px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  padding: 6px 6px 6px 20px;
  width: 300px;
  max-width: 85vw;

  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: 0.3s ease;
  z-index: 1000;
}

.search-box.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.search-box input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 15px;
  color: #17379a;
  background: transparent;
}

.search-box input::placeholder {
  color: #9aa5c5;
}

.search-box button {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ff6b23;
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 14px;
}

.talk-btn {
  background: #37892e;
  color: #fff !important;
  text-decoration: none;
  padding: 15px 28px;
  border-radius: 40px;
  font-size: 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  transition: 0.3s ease;
}

.talk-btn:hover {
  background: #17379a;
}

.icon-toggle {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #17379a;
  color: #fff;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  flex-shrink: 0;
  border: none;
}

.mobile-talk {
  display: none;
}

.menu-toggle {
  display: none;
}

/* ---------- Mobile panel close (X) button ---------- */
.navbar-close {
  display: none;
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  background: #17379a;
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
  z-index: 10000;
}

.navbar-close:hover {
  background: #ff6b23;
}

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

@media (max-width: 991px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden !important;
  }

  .header {
    width: 100%;
    height: auto;
    position: relative;
    z-index: 1000;
  }

  /* Main mobile header */
  .nav-container {
    width: 100%;
    max-width: 100%;

    height: 203px;
    min-height: 203px;

    margin: 0;
    padding: 20px 20px;

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

    gap: 0;

    border-radius: 0;

    background: #fff;

    box-shadow: none;

    position: relative;
  }

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

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

    flex: 0 0 auto;

    max-width: 55%;
  }

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

  .logo img {
    width: 145px;
    height: auto;

    max-width: 100%;

    display: block;
  }

  /* =========================
       RIGHT SIDE
    ========================= */

  .nav-right {
    display: flex;
    align-items: center;

    gap: 10px;

    margin-left: auto;

    flex-shrink: 0;
  }

  /* Hide desktop Let's Talk */
  .nav-right > .talk-btn {
    display: none;
  }

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

  .search-btn {
    width: 56px;
    height: 56px;

    min-width: 56px;

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

    border: 2px solid #dfe3ef;

    border-radius: 50%;

    background: #fff;

    color: #17379a;

    font-size: 22px;

    cursor: pointer;
  }

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

  .menu-toggle {
    width: 56px;
    height: 56px;

    min-width: 56px;

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

    background: #17379a;

    color: #fff;

    border: none;

    border-radius: 50%;

    font-size: 22px;

    cursor: pointer;
  }

  .menu-toggle:hover {
    background: #ff6b23;
  }

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

  .navbar {
    position: fixed !important;

    top: 0 !important;
    right: -100% !important;
    left: auto !important;

    width: 340px !important;
    max-width: 88vw !important;

    height: 100vh !important;

    padding: 85px 25px 30px !important;

    margin: 0 !important;

    background: #fff !important;

    overflow-x: hidden !important;
    overflow-y: auto !important;

    box-shadow: -10px 0 35px rgba(0, 0, 0, 0.18);

    transition: right 0.35s ease;

    z-index: 99999 !important;
  }

  .navbar.show {
    right: 0 !important;
  }

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

  .navbar-close {
    position: absolute !important;

    top: 20px !important;
    right: 20px !important;

    width: 40px !important;
    height: 40px !important;

    display: flex !important;

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

    background: #17379a;

    color: #fff;

    border: none;

    border-radius: 50%;

    font-size: 16px;

    cursor: pointer;

    z-index: 100000;
  }

  /* =========================
       MENU LIST
    ========================= */

  .navbar > ul {
    width: 100% !important;

    display: flex !important;

    flex-direction: column !important;

    align-items: stretch !important;

    gap: 0 !important;

    margin: 0 !important;
    padding: 0 !important;

    list-style: none !important;
  }

  .navbar > ul > li {
    width: 100% !important;

    min-width: 100% !important;

    border-bottom: 1px solid #eee;
  }

  .navbar > ul > li > a {
    width: 100% !important;

    display: flex !important;

    align-items: center;
    justify-content: space-between;

    padding: 17px 5px !important;

    color: #17379a;

    font-size: 16px;

    font-weight: 600;

    text-decoration: none;
  }

  /* =========================
       MOBILE TALK BUTTON
    ========================= */

  .mobile-talk {
    display: block !important;

    width: 100%;

    margin-top: 25px;
  }

  .mobile-talk .talk-btn {
    width: 100%;

    display: flex;

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

    padding: 14px 20px;

    background: #ff6b23;

    color: #fff !important;

    border-radius: 40px;
  }

  /* =========================
       SEARCH BOX
    ========================= */

  .search-box {
    top: 65px;

    right: -50px;

    width: 280px;

    max-width: calc(100vw - 20px);

    z-index: 100001;
  }
}

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

@media (max-width: 768px) {
  /* Top bar */

  .topbar {
    width: 100%;

    display: flex;
    flex-direction: column;

    min-height: auto;
  }

  .topbar-left {
    width: 100%;

    padding: 10px 15px;

    display: flex;

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

    gap: 15px;

    clip-path: none;
  }

  .topbar-left span {
    font-size: 13px;
  }

  .topbar-social {
    gap: 8px;
  }

  .topbar-social a {
    width: 30px;
    height: 30px;

    font-size: 13px;
  }

  .topbar-right {
    width: 100%;

    padding: 8px 15px;

    display: flex;

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

    flex-wrap: wrap;

    gap: 8px 18px;
  }

  .topbar-item {
    font-size: 12px;
  }

  /* Header */

  .nav-container {
    height: 203px;
    min-height: 203px;

    padding: 20px 16px;
  }

  .logo img {
    width: 145px;
  }

  .nav-right {
    gap: 10px;
  }

  .search-btn,
  .menu-toggle {
    width: 52px;
    height: 52px;

    min-width: 52px;

    font-size: 20px;
  }
}

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

@media (max-width: 576px) {
  .topbar-left {
    padding: 10px 10px;

    gap: 10px;
  }

  .topbar-left span {
    font-size: 12px;
  }

  .topbar-social {
    gap: 6px;
  }

  .topbar-social a {
    width: 28px;
    height: 28px;

    font-size: 12px;
  }

  .topbar-right {
    padding: 8px 10px;

    gap: 6px 15px;
  }

  .topbar-item {
    font-size: 11px;
  }

  /* Main header */

  .nav-container {
    height: 203px;
    min-height: 203px;

    padding: 20px 14px;
  }

  .logo {
    max-width: 52%;
  }

  .logo img {
    width: 140px;
  }

  .nav-right {
    gap: 8px;
  }

  .search-btn,
  .menu-toggle {
    width: 50px;
    height: 50px;

    min-width: 50px;

    font-size: 19px;
  }

  /* Mobile menu */

  .navbar {
    width: 85vw !important;
    max-width: 85vw !important;

    padding: 75px 18px 25px !important;
  }
}

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

@media (max-width: 400px) {
  .topbar-left {
    gap: 7px;
  }

  .topbar-left span {
    font-size: 10px;
  }

  .topbar-social {
    gap: 4px;
  }

  .topbar-social a {
    width: 25px;
    height: 25px;

    font-size: 10px;
  }

  .topbar-item {
    font-size: 10px;
  }

  .nav-container {
    height: 111px;
    min-height: 100px;

    padding: 15px 10px;
  }

  .logo img {
    width: 120px;
  }

  .nav-right {
    gap: 6px;
  }

  .search-btn,
  .menu-toggle {
    width: 44px;
    height: 44px;

    min-width: 44px;

    font-size: 17px;
  }
}

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

.footer-section {
  position: relative;
  background: #182553;
  padding: 30px 0 30px;
  overflow: hidden;
  z-index: 1;
}

/* Background Pattern */

.footer-pattern {
  position: absolute;
  inset: 0;
  /* background:url("assets/home2_image/footer_pattern.webp") center center/cover no-repeat; */
  opacity: 0.08;
  z-index: -1;
}

/*=========================================
        CONTAINER
=========================================*/

.footer-container {
  width: 90%;
  max-width: 1320px;
  margin: auto;
}

/*=========================================
        TOP
=========================================*/

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-logo img {
  max-width: 130px;
  margin-bottom: 25px;
}

.footer-about p {
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.9;
  font-size: 15px;
  margin-bottom: 35px;
}

.footer-about h4 {
  color: #fff;
  font-size: 24px;
  margin-bottom: 20px;
}

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

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  transition: 0.35s;
}

.footer-social a:hover {
  background: #ff6d2c;
  border-color: #ff6d2c;
  transform: translateY(-5px);
}

/*=========================================
        WIDGET
=========================================*/

.footer-widget h3 {
  color: #fff;
  font-size: 28px;
  margin-bottom: 25px;
  position: relative;
}

.footer-widget h3::after {
  content: "";
  width: 45px;
  height: 3px;
  background: #40a034;
  position: absolute;
  left: 0;
  bottom: -10px;
}

.footer-widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-widget ul li {
  margin-bottom: 15px;
}

.footer-widget ul li a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: 0.3s;
}

.footer-widget ul li a:hover {
  color: #ff6d2c;
  padding-left: 8px;
}

.footer-services {
  grid-column: span 2;
}

.footer-services-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

/*=========================================
        NEWSLETTER
=========================================*/

.footer-newsletter p {
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.8;
  margin-bottom: 20px;
}

.newsletter-box {
  position: relative;
  margin-bottom: 18px;
}

.newsletter-box i {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: #40a034;
}

.newsletter-box input {
  width: 100%;
  height: 58px;
  border: none;
  outline: none;
  border-radius: 12px;
  padding: 0 18px 0 48px;
  font-size: 15px;
}

.newsletter-btn {
  border: none;
  background: #40a034;
  color: #fff;
  padding: 15px 28px;
  border-radius: 50px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  transition: 0.35s;
}

.newsletter-btn:hover {
  background: #fff;
  color: #2d43a6;
}

/*=========================================
        CONTACT BAR
=========================================*/

.footer-contact-bar {
  margin: 30px auto 30px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border-radius: 22px;
  padding: 30px 40px;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 30px;
  align-items: center;
}

.footer-contact-logo img {
  max-width: 150px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start; /* Changed from center */
  gap: 18px;
  flex: 1;
  text-decoration: none;
  color: inherit;
}

.footer-contact-icon {
  width: 70px;
  height: 70px;
  min-width: 70px;
  min-height: 70px;
  background: #40a034;
  color: #fff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;

  font-size: 28px;

  margin-top: 3px; /* Slight top alignment */
}

.footer-contact-item h5 {
  color: #fff;
  margin: 0 0 6px;
  font-size: 18px;
}

.footer-contact-item span {
  color: rgba(255, 255, 255, 0.75);
  font-size: 15px;
}

.footer-contact-map {
  min-width: 0;
  align-items: flex-start;
}

.footer-map-wrap {
  flex: 1;
  min-width: 0;
}

.footer-map-wrap h5 {
  margin-bottom: 8px;
}

.footer-map {
  width: 100%;
  height: 110px;
  border-radius: 12px;
  overflow: hidden;
}

.footer-map iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

/*=========================================
        COPYRIGHT
=========================================*/

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 25px;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
  font-size: 15px;
}

.footer-bottom span {
  color: #ff6d2c;
  font-weight: 700;
}

.footer-bottom span a,
.footer-bottom span a:hover,
.footer-bottom span a:visited {
  color: inherit;
  text-decoration: none;
}

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

/* Tablet */

@media (max-width: 991px) {
  .footer-section {
    padding: 60px 0 25px;
  }

  .footer-top {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .footer-about {
    grid-column: 1/-1;
  }

  .footer-services {
    grid-column: 1 / -1;
  }

  .footer-contact-bar {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 30px 20px;
  }

  .footer-contact-logo {
    text-align: center;
  }

  .footer-contact-logo img {
    margin: auto;
  }

  .footer-contact-item {
    justify-content: center;
    align-items: center;
    text-align: left;
  }

  .footer-map {
    height: 130px;
  }
}

/* Mobile */

@media (max-width: 767px) {
  .footer-section {
    padding: 50px 0 20px;
  }

  .footer-container {
    width: 94%;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 35px;
    text-align: center;
  }

  .footer-widget h3::after {
    left: 20%;
    transform: translateX(-50%);
  }

  .footer-social {
    justify-content: center;
  }

  .newsletter-btn {
    width: 100%;
    justify-content: center;
  }

  .footer-contact-bar {
    padding: 25px 18px;
    border-radius: 18px;
  }

  .footer-contact-item {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .footer-contact-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    min-height: 60px;
    font-size: 22px;
    margin-top: 0;
  }

  .footer-contact-item h5 {
    font-size: 18px;
  }

  .footer-contact-item span {
    font-size: 14px;
    line-height: 1.7;
  }

  .footer-map {
    width: 100%;
    height: 200px;
  }
}

/* Small Mobile */

@media (max-width: 480px) {
  .footer-container {
    width: 95%;
  }

  .footer-logo img {
    max-width: 150px;
  }

  .footer-widget h3 {
    text-align: left;
    font-size: 22px;
  }

  .footer-about p,
  .footer-newsletter p {
    text-align: left;
    font-size: 14px;
  }

  .newsletter-box input {
    height: 52px;
    font-size: 14px;
  }

  .newsletter-btn {
    padding: 14px;
    font-size: 14px;
  }

  .footer-social a {
    width: 42px;
    height: 42px;
  }

  .footer-contact-logo img {
    max-width: 150px;
  }

  .footer-contact-icon {
    width: 55px;
    height: 55px;
    min-width: 55px;
    min-height: 55px;
    font-size: 20px;
  }

  .footer-contact-item h5 {
    font-size: 17px;
  }

  .footer-contact-item span {
    font-size: 13px;
  }

  .footer-bottom p {
    font-size: 13px;
    line-height: 1.8;
  }
  .footer-widget ul li {
    text-align: left;
  }
}




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

.floating-contact {
    position: fixed;
    right: 18px;
    bottom: 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 9999;
}

.contact-btn {
    width: 58px;
    height: 58px;
    border: 0;
    border-radius: 50%;

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

    color: #fff;
    font-size: 21px;

    text-decoration: none;
    cursor: pointer;

    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.20);

    transition: all 0.3s ease;
}

.contact-btn:hover {
    color: #fff;
    transform: translateY(-3px);
}

.call-btn {
    background: #087ff5;
}

.whatsapp-btn {
    background: #20ce65;
}

.enquiry-btn {
    background: #f39a0b;
}

/* =========================================
   ENQUIRY POPUP
========================================= */

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

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

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

    padding: 20px;

    opacity: 0;
    visibility: hidden;

    transition: all 0.3s ease;

    z-index: 10000;
}

.enquiry-overlay.active {
    opacity: 1;
    visibility: visible;
}


/* =========================================
   MODAL
========================================= */

.enquiry-modal {
    position: relative;

     width: 80%;
    max-width: 440px;

    max-height: 90vh;
    overflow-y: auto;

    background: #fff;

    border-radius: 18px;

    padding: 32px;

    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.25);
}

.enquiry-overlay.active .enquiry-modal {
    display: block;
}


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

.enquiry-close {
    position: absolute;

    top: 2px;
    right: 12px;

    width: 35px;
    height: 35px;

    border: 0;
    background: transparent;

    font-size: 36px;
    line-height: 1;

    color: #777;

    cursor: pointer;

    z-index: 2;
}

.enquiry-close:hover {
    color: #17469d;
}


/* =========================================
   ICON
========================================= */

.enquiry-icon {
    width: 52px;
    height: 52px;

    margin: 0 auto 12px;

    border-radius: 50%;

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

    background: #eaf5e8;
    color: #35952f;

    font-size: 21px;
}


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

.enquiry-content {
    text-align: center;
}

.enquiry-content h2 {
    margin: 0;

    color: #0c459d;

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

.enquiry-subtitle {
    margin: 7px 0 22px;

    color: #777;

    font-size: 14px;
}


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

.enquiry-content form {
    text-align: left;
}

.enquiry-content .form-group select {
    width: 100%;
}

.enquiry-service-box {
    position: relative;
    z-index: 5;
}

.enquiry-service-box #enquiryService {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 0;
    height: 0;
    overflow: hidden;
}

.enquiry-service-trigger {
    width: 100%;
    box-sizing: border-box;
    padding: 11px 36px 11px 13px;
    border: 1px solid #ddd;
    border-radius: 8px;
    outline: none;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23666' d='M1 1l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 14px center;
    color: #333;
    font-size: 16px;
    font-family: inherit;
    text-align: left;
    cursor: pointer;
}

.enquiry-service-trigger:focus,
.enquiry-service-box.is-open .enquiry-service-trigger {
    border-color: #35952f;
    box-shadow: 0 0 0 2px rgba(53, 149, 47, 0.08);
}

.enquiry-service-list {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    z-index: 40;
    max-height: 240px;
    overflow-y: auto;
    background: #ffffff;
    border: 1px solid #dedede;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    padding: 8px 0;
}

.enquiry-service-option {
    display: block;
    width: 100%;
    border: 0;
    background: transparent;
    text-align: left;
    padding: 12px 22px;
    font-size: 16px;
    font-family: inherit;
    color: #555;
    cursor: pointer;
    line-height: 1.4;
}

.enquiry-service-option:hover,
.enquiry-service-option.is-selected {
    background: rgba(64, 160, 52, 0.1);
    color: #40a034;
}

.enquiry-modal.is-service-open {
    overflow: visible;
}

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

.form-group label {
    display: block;

    margin-bottom: 6px;

    color: #333;

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


/* Input + Select + Textarea */

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

    box-sizing: border-box;

    padding: 11px 13px;

    border: 1px solid #ddd;

    border-radius: 8px;

    outline: none;

    background: #fff;

    color: #333;

    font-size: 16px;

    font-family: inherit;

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


/* Select */

.form-group select {
    cursor: pointer;

    appearance: auto;
}


/* Focus */

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

    box-shadow: 0 0 0 2px rgba(53, 149, 47, 0.08);
}


/* Textarea */

.form-group textarea {
    resize: none;
}


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

.enquiry-submit {
    width: 100%;

    padding: 13px 20px;

    border: 0;
    border-radius: 8px;

    background: #35952f;

    color: #fff;

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

    cursor: pointer;

    transition: all 0.3s ease;
}

.enquiry-submit:hover {
    background: #287a24;

    transform: translateY(-1px);
}

.enquiry-submit i {
    margin-left: 7px;
}


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

@media (max-width: 480px) {

    .enquiry-overlay {
        padding: 12px;
    }

    .enquiry-modal {
        max-width: 100%;
        width: 100%;
        max-height: 92vh;

        padding: 27px 18px 20px;

        border-radius: 14px;
    }

    .enquiry-icon {
        width: 46px;
        height: 46px;

        font-size: 19px;
    }

    .enquiry-content h2 {
        font-size: 22px;
    }

    .enquiry-subtitle {
        font-size: 13px;

        margin-bottom: 18px;
    }

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

    .form-group label {
        font-size: 14px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px 11px;

        font-size: 14px;
    }

    .enquiry-submit {
        padding: 12px;

        font-size: 14px;
    }
}