:root {
  --primary-dark: #031246;
  --primary-medium: #05314f;
  --primary-light: #3a8fd4;
  --white: #fff;
  --border-radius: 30px;
  --border-width: 3px;
  --bg-color: #05314f;
  --text-color: #fff;
}

body {
  font-family: "Poppins", sans-serif;
  color: var(--primary-dark);
}

/* =========================
   HEADER & NAVBAR STYLES START
========================= */

/* 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);
  }
}

.hero-section {
  background: linear-gradient(
    135deg,
    var(--primary-dark) 0%,
    var(--primary-medium) 100%
  );
  color: var(--white);
  padding: 120px 0 80px;
}

.section-title {
  position: relative;
  margin-bottom: 50px;
}

.section-title:after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: var(--primary-light);
}

.service-card {
  transition: transform 0.3s ease;
  border: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  height: 100%;
}

.service-card:hover {
  transform: translateY(-10px);
}

.service-icon {
  width: 70px;
  height: 70px;
  background-color: rgba(58, 143, 212, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-icon svg {
  color: var(--primary-light);
  font-size: 30px;
}

.feature-icon {
  width: 50px;
  height: 50px;
  background-color: rgba(58, 143, 212, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
}

.feature-icon svg {
  color: var(--primary-light);
  font-size: 22px;
}

.testimonial-card {
  border-left: 3px solid var(--primary-light);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.stats-section {
  background-color: rgba(58, 143, 212, 0.05);
}

.stat-number {
  font-size: 48px;
  font-weight: 700;
  color: var(--primary-light);
}

/* Footer-section */

.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;
}

.social-links > a {
  text-decoration: none;
  color: #fff;
}

.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%;
  }
}

/* ============= */

/* form-section */

.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);
}

/* slider-animation */

:root {
  --primary-color: #4361ee;
  --secondary-color: #3a0ca3;
  --accent-color: #4cc9f0;
  --dark-color: #1a1a2e;
  --light-color: #f8f9fa;
}

.hero-section {
  padding: 20px 0;
}

.slider-container {
  width: 100%;
  height: 430px;
  perspective: 2000px;
  margin: 0 auto;
  position: relative;
  /* overflow: hidden; */
}

.ring {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  animation: rotate 40s infinite linear;
}

.ring.paused {
  animation-play-state: paused;
}

.image {
  position: absolute;
  width: 300px;
  height: 400px;
  top: 50%;
  left: 50%;
  margin-top: -200px;
  margin-left: -150px;
  background-size: cover;
  background-position: center;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transform-style: preserve-3d;
  transition: all 0.5s ease;
  opacity: 1;
  cursor: pointer;
}

.image:hover {
  opacity: 1 !important;
  transform: translateZ(50px) scale(1.05);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7);
  z-index: 10;
}

.ring:hover .image:not(:hover) {
  opacity: 0.5;
}

.controls {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  gap: 15px;
}

.control-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  font-size: 1.5rem;
}

.control-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.control-btn:active {
  transform: translateY(0);
}

@keyframes rotate {
  0% {
    transform: rotateY(0deg);
  }
  100% {
    transform: rotateY(360deg);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.display-5 {
  color: var(--accent-color);
  font-weight: 700;
}

.lead {
  color: var(--accent-color);
  font-weight: 500;
}

/* Responsive styles */
@media (max-width: 992px) {
  .slider-container {
    height: 400px;
    perspective: 1500px;
  }

  .image {
    width: 220px;
    height: 300px;
    margin-top: -150px;
    margin-left: -110px;
  }
}

@media (max-width: 768px) {
  .slider-container {
    height: 350px;
    perspective: 1200px;
  }

  .image {
    width: 180px;
    height: 250px;
    margin-top: -125px;
    margin-left: -90px;
  }
}

@media (max-width: 576px) {
  .slider-container {
    height: 300px;
  }

  .image {
    width: 150px;
    height: 200px;
    margin-top: -100px;
    margin-left: -75px;
  }

  .controls {
    gap: 10px;
  }

  .control-btn {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
}

/* =========================
   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;
}
