@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
  --primary: #1b75dd;
  --primary-bg: #1b75dd;
  --theme-dark-primary: #003b74;
  --secondary: #f8f5ec;
  --accent: #1bbc9d;
  --secondary-bg: #0c3b6d;
  --border-color: #7e8082;
  --white-text: #ffffff;
  --black-text: #333;
  --text-gray: #4e4e4e;
  --text-dark: #3a2f2f;
  --text-highlight: #fff3cd;
  --text-rating: #fbbc04;
  --page-bg: #f8f5ec;
}

body {
  font-family: "Poppins", sans-serif;
  margin: 0;
  padding: 0;
  background: linear-gradient(90deg, var(--white-text), #003c742b);
}

.text-gray {
  color: var(--text-gray) !important;
}

.bg-devson__primary {
  background-color: var(--secondary-bg);
}

.devson-highlight {
  font-weight: 600;
  color: var(--black-text);
  background-color: var(--text-highlight);
  padding: 0 4px;
  border-radius: 4px;
}


p,
ul,
li,
h1,
h2,
h3,
h4,
h5,
h6,
span {
  font-family: "Poppins", sans-serif;
}

/* Base Navbar Style */
.navbar {
  font-family: 'Outfit', sans-serif;
  transition: all 0.3s ease-in-out;
  background-color: transparent;
  backdrop-filter: none;
  box-shadow: none;
  z-index: 10000;
}

/* Brand Font */
.navbar-brand {
  font-size: 1.1rem;
  letter-spacing: 0.5px;
}

/* Navbar Links */
.navbar-nav {
  margin-right: 16px;
}

.navbar-nav .nav-link {
  padding: 0.5rem 1rem;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: #0d6efd;
}

.navbar.scrolled {
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

@media (max-width: 990px) {
  .navbar {
    z-index: 100;
  }
}

/* Services Section */
.services-section {
  background-color: var(--theme-dark-primary);
  font-family: 'Outfit', sans-serif;
}

.service-box {
  background: transparent;
  border: 1px solid #ffffffa3;
  height: 400px;
  position: relative;
  overflow: hidden;
  transition: background 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.service-box:hover {
  background: #0e77d3;
}

/* Center wrapper of vertical text + arrow */
.service-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: opacity 0.3s ease;
  z-index: 2;
}

/* Vertical Title */
.service-title {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--white-text);
  transition: color 0.3s ease;
  margin-bottom: 10px;
}

/* Arrow track setup */
.arrow-container {
  position: relative;
  width: 80px;
  height: 30px;
}

.arrow-track {
  height: 2px;
  width: 100%;
  background: rgba(255, 255, 255, 0.3);
  position: absolute;
  bottom: 0;
  display: none;
}

.arrow-icon {
  position: absolute;
  left: 30%;
  bottom: 6px;
  font-size: 1.5rem;
  color: var(--white-text);
  transition: all 0.4s ease;
}

.service-box:hover .arrow-icon {
  left: calc(100% - 24px);
  color: #00cfff;
  font-size: 1.5rem;
}

.service-box:hover .service-title {
  color: #00cfff;
}

/* Hide main content on hover */
.service-box:hover .service-main {
  opacity: 0;
  pointer-events: none;
}

/* Show details on hover */
.service-details {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 1rem;
  opacity: 0;
  z-index: 3;
  background: transparent;
  transition: opacity 0.3s ease, transform 0.3s ease;
  transform: translateY(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: left;
}

.service-box:hover .service-details {
  opacity: 1;
  transform: translateY(0);
}

.service-details ul {
  color: #dbe4f0;
  padding-left: 1rem;
}

.service-details li {
  font-size: 0.9rem;
  margin-bottom: 5px;
}

/*  */
.quote-section {
  background: #f9f9f9;
}

.input-group {
  position: relative;
  margin-bottom: 1.2rem;
}

.input-icon {
  position: absolute;
  top: 50%;
  left: 15px;
  transform: translateY(-50%);
  color: var(--theme-dark-primary);
  font-size: 1rem;
}

.input-group .form-control {
  padding-left: 2.5rem;
  border: none;
  border-bottom: 2px solid var(--theme-dark-primary);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.input-group .form-control:focus {
  border-color: var(--theme-dark-primary);
  box-shadow: none;
}

.icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--theme-dark-primary);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  color: var(--theme-dark-primary);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.icon-link:hover {
  background-color: var(--theme-dark-primary);
  color: var(--white-text);
}

/* Add to previous CSS */

.quote-section form {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);
  padding: 2rem;
  border-radius: 16px;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 59, 116, 0.1);
}

.quote-section form:hover {
  box-shadow: 0 8px 25px rgba(0, 59, 116, 0.15);
  transform: translateY(-3px);
}

.input-group .form-control {
  transition: border 0.4s ease;
  background: transparent;
}

.input-group .form-control:focus {
  border-image: linear-gradient(to right, var(--theme-dark-primary), #007bff);
  border-image-slice: 1;
}

.input-group:hover .input-icon {
  transform: translateY(-50%) scale(1.15);
  color: #0056b3;
  transition: transform 0.3s ease, color 0.3s ease;
}

.input-icon {
  transition: all 0.3s ease;
}

.input-group textarea.form-control {
  height: 120px;
  line-height: 1.5;
  padding-top: 2.9rem;
  padding-left: 2.5rem;
  resize: none;
}

/* Footer CSS Starts Here */
footer {
  background-color: #0f1c2e;
  color: #d1d1d1;
  font-size: 0.95rem;
}

.devson-support-card {
  position: fixed;
  right: 2%;
  bottom: 15%;
  width: 320px;
  background: var(--white-text);
  border-radius: 19px;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
  padding: 18px;
  z-index: 30;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
}

.devson-support-header {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}

.devson-support-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 50px;
  border: 3px solid var(--white-text);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.devson-support-meta h6 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--black-text);
}

.devson-support-subtitle {
  display: block;
  color: var(--text-gray);
  font-size: 12px;
  margin-top: 2px;
  line-height: 1.4;
}

.devson-support-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--theme-dark-primary), var(--primary));
  padding: 6px 12px;
  border-radius: 12px;
  font-size: 12px;
  color: var(--white-text);
  font-weight: 400;
  margin-top: 8px;
}

.devson-support-actions {
  display: flex;
  gap: 8px;
}

.devson-btn-call {
  background: var(--primary) !important;
  color: var(--white-text) !important;
  border: none;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  text-align: center;
  height: 100%;
  text-decoration: none;
}

.devson-btn-call:hover {
  background: var(--theme-dark-primary) !important;
}

.devson-btn-mail {
  border-radius: 20px;
  padding: 8px 14px;
  font-size: 12px;
  border: 1px solid var(--primary);
  background: var(--white-text);
  color: var(--primary);
  font-weight: 600;
  text-align: center;
  height: 100%;
  text-decoration: none;
}

/* .devson-btn-mail:hover {
  background-color: var(--primary);
  color: var(--white-text);
} */

.devson-support-toggle-btn {
  position: fixed;
  right: 2%;
  bottom: 5%;
  background: var(--theme-dark-primary);
  color: var(--white-text);
  border: none;
  border-radius: 50%;
  width: 55px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  cursor: pointer;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  z-index: 50;
}


/* Responsive */
@media (max-width: 992px) {
  .devson-support-card {
    position: fixed;
    width: 50%;
    margin-top: 20px;
    bottom: 13%;
    right: 4%;
    transform: none;
  }
}

@media (max-width: 576px) {
  .devson-support-card {
    position: fixed;
    width: 80%;
    margin-top: 20px;
    bottom: 13%;
    right: 4%;
    transform: none;
  }
}

/* Footer CSS Ends Here */

.btn.btn-primary {
  background: var(--theme-dark-primary);
  border: none;
  border-radius: 6px;
  padding: 0.6rem 1rem;
  transition: all 0.3s ease;
  font-size: 15px;
  box-shadow: 0 4px 12px rgba(0, 59, 116, 0.2);
}

.btn.btn-primary:hover {
  background: linear-gradient(to right, var(--theme-dark-primary), var(--accent));
  transform: scale(1.03) translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 59, 116, 0.25);
  background-color: var(--primary) !important;
}

.how-we-do-divider {
  height: 1px;
  background-color: #dee2e6;
  margin: 25px 0;
}

input,
textarea,
select {
  box-shadow: none !important;
}

/* Header Starts Here */
.main_logo____header_img {
  margin-top: -10px;
  width: 35px !important;
}

.navbar {
  background-color: var(--white-text);
  box-shadow: rgba(0, 0, 0, 0.15) 2.4px 2.4px 3.2px;
  /* border-bottom: 1px solid #7d8082; */
}

.nav-link {
  color: #333;
  font-weight: 500;
  margin: 0 8px;
}

.nav-item {
  font-family: "Poppins", sans-serif;
}

.nav-link.active {
  color: #0d6efd;
}

.nav-link:not(.collapsed) .arrow-icon {
  transform: rotate(180deg);
}


.arrow-icon {
  display: inline-block;
  transition: transform 0.3s ease;
}

.phone-number {
  font-weight: bold;
  color: #333;
  margin-right: 15px;
}

.btn-header-phone {
  border-color: var(--primary) !important;
  color: var(--primary) !important;
  font-weight: 500;
  border-radius: 5px;
  font-size: 15px;
  text-decoration: none;
}

.navbar-toggler {
  border: none;
  box-shadow: none !important;
  background-color: transparent !important;
  padding: 10px 15px;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.offcanvas-start {
  width: 280px;
}

.offcanvas-header .btn-close {
  background-color: transparent !important;
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    padding: 20px 0;
  }

  .nav-item {
    margin: 5px 0;
  }
}

/* Header Ends Here */

/* Custom Phone Global Buttons */
.contact-fab {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
}

.contact-fab .btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  margin-bottom: 10px;
  border: 2px solid var(--white-text);
}

/* Custom Phone Global Buttons Ends Here */

.devson___main_theme-btn {
  background-color: var(--text-dark);
  color: var(--white-text);
  padding: 3px 4px 3px 20px !important;
  border-radius: 30px !important;
  font-size: 16px;
  font-weight: 500;
  border: none;
}

.devson___main_theme-btn:hover {
  background-color: var(--text-dark);
}

.devson___main_theme-btn i {
  border-radius: 50%;
  -webkit-text-stroke: 0.5px #000;
  background: var(--white-text);
  color: var(--black-text);
  padding: 7px;
  border: 1px solid var(--white-text);
}