:root {
  --primary-color: #031246;
  --secondary-color: #05314f;
  --accent-color: #4a90e2;
}

body {
  font-family: "Poppins", sans-serif;
  color: #333;
  overflow-x: hidden;
}

/* =========================
   HEADER & NAVBAR STYLES START
========================= */
:root {
  --border-radius: 30px;
  --border-width: 3px;
  --bg-color: #05314f;
  --text-color: #fff;
}

/* Poppins font for all navbar elements */
.navbar-nav,
.navbar-nav .nav-link,
.navbar-nav .dropdown-toggle,
.navbar-nav .dropdown-item,
.header_btn_opt,
.consultant-btn {
  font-family: "Poppins", sans-serif;
  font-weight: 500 !important;
}

/* Navbar collapse */
.navbar-collapse {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: #fff;
  z-index: 1000;
}
@media (min-width: 992px) {
  .navbar-collapse {
    position: static;
    background: none;
  }
}

/* Navbar toggler */
.navbar-toggler {
  border: none;
  outline: none;
  box-shadow: none;
}
.navbar-toggler:focus {
  outline: none;
  box-shadow: none;
}
.navbar-toggler-icon {
  background-image: none;
  position: relative;
  width: 1em;
  height: 1em;
}
.navbar-toggler-icon::before,
.navbar-toggler-icon::after,
.navbar-toggler-icon div {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: #000;
  transition: transform 0.3s, top 0.3s, opacity 0.3s;
}
.navbar-toggler-icon::before {
  top: 0;
}
.navbar-toggler-icon div {
  top: 50%;
  transform: translateY(-50%);
}
.navbar-toggler-icon::after {
  bottom: 0;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
  transform: rotate(45deg);
  top: 8px;
}
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
  transform: rotate(-45deg);
  bottom: 8px;
}
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon div {
  opacity: 0;
}

/* Consultant button */
.consultant-btn {
  position: relative;
  padding: 12px 30px;
  font-weight: 900 !important;
  color: var(--text-color);
  background: var(--bg-color);
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  z-index: 1;
  overflow: hidden;
}
.consultant-btn::before {
  content: "";
  position: absolute;
  top: calc(-1 * var(--border-width));
  left: calc(-1 * var(--border-width));
  right: calc(-1 * var(--border-width));
  bottom: calc(-1 * var(--border-width));
  background: linear-gradient(
    270deg,
    #ff0055,
    #ff9900,
    #ffee00,
    #33ff00,
    #00ffee,
    #3300ff,
    #ff00ff,
    #ff0055
  );
  background-size: 800% 800%;
  border-radius: calc(var(--border-radius) + var(--border-width));
  z-index: -1;
  animation: rainbowBorder 5s linear infinite;
}
@keyframes rainbowBorder {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Navbar items spacing */
@media (min-width: 992px) and (max-width: 1200px) {
  ul > li > a {
    padding: 5px !important;
  }
}

/* Mobile adjustments */
@media (max-width: 992px) {
  .navbar-nav li > a {
    padding: 10px;
  }
  .nav-item.d-lg-none .consultant-btn {
    padding: 8px 20px;
    font-size: 13px;
    width: 50% !important;
    margin: 10px auto;
  }
}

/* =========================
   MATERIAL DROPDOWN STYLES
========================= */
.material-dropdown {
  position: relative;
}

/* Main dropdown menu */
.material-dropdown .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  display: none;
  padding: 5px 0;
  background-color: #fff;
  border-radius: 4px;
  box-shadow: 0 1.5px 4px rgba(0, 0, 0, 0.24), 0 1.5px 6px rgba(0, 0, 0, 0.12);
  z-index: 1000;
  list-style: none;
}

/* Show dropdown on hover/focus (desktop) */
.material-dropdown:hover > .dropdown-menu,
.material-dropdown:focus-within > .dropdown-menu {
  display: block;
}

/* Dropdown items */
.material-dropdown .dropdown-item {
  position: relative;
  padding: 10px 22px;
  color: #333;
  white-space: nowrap;
  cursor: pointer;
  display: block;
  text-decoration: none;
}
.material-dropdown .dropdown-item:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

/* Nested submenu */
.material-dropdown .dropdown-submenu {
  position: relative;
}
.material-dropdown .dropdown-submenu > a .arrow {
  float: right;
  transition: transform 0.3s ease;
}

/* Submenu for desktop (right side) */
.material-dropdown .dropdown-submenu .dropdown {
  top: 0;
  left: 100%;
  position: absolute;
  display: none;
  min-width: 180px;
  padding: 5px 0;
  background-color: #fff;
  border-radius: 4px;
  box-shadow: 0 1.5px 4px rgba(0, 0, 0, 0.24), 0 1.5px 6px rgba(0, 0, 0, 0.12);
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
  list-style: none;
}
.material-dropdown .dropdown-submenu:hover > .dropdown {
  display: block;
  opacity: 1;
  visibility: visible;
}
.material-dropdown .dropdown-submenu:hover > a .arrow {
  transform: rotate(90deg);
}

/* Mobile view: dropdown toggle */
@media (max-width: 992px) {
  .material-dropdown .dropdown-menu {
    position: relative;
    display: none;
    opacity: 0;
    visibility: hidden;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
  }
  .material-dropdown.active > .dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
    max-height: 500px;
  }

  .material-dropdown .dropdown-submenu .dropdown {
    position: relative;
    top: 0;
    left: 0;
    display: none;
    opacity: 0;
    visibility: hidden;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
  }
  .material-dropdown .dropdown-submenu.active > .dropdown {
    display: block;
    opacity: 1;
    visibility: visible;
    max-height: 500px;
    padding-left: 1rem;
  }
  .material-dropdown .dropdown-submenu.active > a .arrow {
    transform: rotate(90deg);
  }
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
}

.text-primary-custom {
  color: var(--primary-color) !important;
}

/* .text-secondary-custom {
  color: var(--secondary-color) !important;
} */

.bg-primary-custom {
  background-color: var(--primary-color) !important;
}

.bg-secondary-custom {
  background-color: var(--secondary-color) !important;
}

.btn-primary-custom {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
  padding: 12px 30px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-primary-custom:hover {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-outline-primary-custom {
  border-color: var(--primary-color);
  color: var(--primary-color);
  padding: 12px 30px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-outline-primary-custom:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.hero-section {
  padding: 30px 0 30px;
  background: linear-gradient(135deg, #f8fbff 0%, #e6f0ff 100%);
  position: relative;
  overflow: hidden;
}

.hero-section:before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 C30,100 70,0 100,100 L100,0 Z" fill="%23031246" opacity="0.03"/></svg>');
  background-size: cover;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 25px;
}

.section-title {
  position: relative;
  margin-bottom: 30px;
  font-size: 2.5rem;
}

.section-title:after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 0;
  width: 80px;
  height: 4px;
  background: linear-gradient(
    to right,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: 2px;
}

.section-title.text-center:after {
  left: 43%;
  transform: translateX(-50%);
}

/* ============= */

.service-card {
  background: white;
  border-radius: 10px;
  padding: 40px 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  height: 100%;
  border: 1px solid #f0f0f0;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.service-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
}

.process-step {
  position: relative;
  padding-left: 90px;
  margin-bottom: 50px;
}

.step-number {
  position: absolute;
  left: 0;
  top: 0;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
}

.project-card {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  margin-bottom: 30px;
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.project-image {
  height: 220px;
  background-color: #f5f7fa;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-card {
  background: white;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  margin: 15px;
  border: 1px solid #f0f0f0;
}

.client-logo {
  height: 40px;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: all 0.3s ease;
}

.client-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
}

.contact-info {
  display: flex;
  margin-bottom: 30px;
}

.contact-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(3, 18, 70, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  flex-shrink: 0;
}

footer {
  background-color: var(--primary-color);
  color: white;
  padding: 70px 0 20px;
}

.footer-heading {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 25px;
  position: relative;
}

.footer-heading:after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--accent-color);
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  transition: all 0.3s ease;
}

.social-links > a {
  text-decoration: none;
  color: #fff;
}

.social-icon:hover {
  background-color: var(--accent-color);
  transform: translateY(-5px);
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  margin-top: 50px;
}

.stats-counter {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 10px;
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .process-step {
    padding-left: 0;
    padding-top: 80px;
  }

  .step-number {
    top: 0;
    left: 0;
  }
}

.contact-form-container {
  flex: 1;
  min-width: 300px;
  /* max-width: 500px; */
  background: white;
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  text-align: left;
}

.form-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 25px;
  color: #1a1a2e;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #495057;
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #e1e5ee;
  border-radius: 6px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: #6c63ff;
  box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.1);
}

.submit-btn {
  color: white;
  border: none;
  padding: 14px 30px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  margin-top: 10px;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 15px rgba(108, 99, 255, 0.3);
}

/* =========================
   CONTACT SECTION STYLES
========================= */

.contact-section {
  background-color: #f9f9fb;
  padding: 20px 0 0 0;
}

.contact-form-container {
  background: #fff;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  height: 100%;
}

.contact-form-container .form-control {
  border-radius: 8px;
  border: 1px solid #e1e5ee;
  transition: all 0.3s ease;
}

.contact-form-container .form-control:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.2);
}

.submit-btn {
  background-color: var(--primary-color);
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  padding: 12px 24px;
  border: none;
}

.submit-btn:hover {
  background-color: var(--secondary-color);
  transform: translateY(-2px);
}

.map-container {
  width: 100%;
  height: 100%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.maps-column {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* RESPONSIVE DESIGN */
@media (max-width: 992px) {
  .contact-section .container {
    text-align: center;
  }

  .contact-form-container {
    padding: 25px;
    margin-bottom: 30px;
  }

  .map-container {
    height: 350px;
    margin-top: 20px;
  }
}

@media (max-width: 576px) {
  .contact-form-container {
    padding: 20px;
  }
}

/* =========================
   FOOTER SECTION STYLES
========================= */

.site-footer {
  background-color: #031246;
  color: #fff;
  padding: 40px 0 20px;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 0 20px;
}

.footer-section {
  flex: 1;
  min-width: 250px;
  margin-bottom: 30px;
  padding: 0 15px;
}

.footer-heading {
  font-size: 18px;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background-color: #4dabf7;
}

.footer-links {
  list-style: none;
  padding: 0;
  text-align: left;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s;
  margin: 0;
  display: inline-block;
  padding: 2px 0;
}

.footer-links a:hover {
  color: #4dabf7;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-item svg {
  color: #4dabf7;
  width: 16px;
  height: 16px;
}

.hiring-text {
  margin-bottom: 15px;
  color: #ccc;
}

.hiring-roles {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 15px;
}

.role-btn,
.apply-all-btn {
  background-color: transparent;
  border: 1px solid #4dabf7;
  color: #fff;
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 12px;
}

.role-btn:hover,
.apply-all-btn:hover {
  background-color: #4dabf7;
}

.apply-all-btn {
  background-color: #4dabf7;
  padding: 8px 16px;
  font-size: 14px;
}

.apply-all-btn:hover {
  background-color: #3a8fd4;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
  }

  .footer-section {
    min-width: 100%;
  }
}

/* =========================
   WHATSAPP FLOAT
========================= */
.whatsapp_float {
  position: fixed;
  width: 30px;
  height: 30px;
  margin: 0;
  bottom: 50px;
  left: 50px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 3px #999;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease-in-out;
}

.whatsapp_float:hover {
  transform: scale(1.3);
}

.whatsapp_float img {
  width: 35px;
  height: 35px;
}
