/* Custom Styles */
:root {
  --primary-blue: #0e71b7;
  --light-blue: #e8f4ff;
  --gradient-blue: linear-gradient(180deg, #e8f4ff 0%, #c5e5ff 100%);
  --navbar-blue: #0b62aa;
  --dropdown-text: #061347;
  --navbar-transition: all 0.3s ease;
}

body {
  font-family: "Montserrat", sans-serif;
  overflow-x: hidden;
}

.navbar-brand img {
  height: 30px;
}

.btn-primary {
  background-color: var(--primary-blue);
  border-color: var(--primary-blue);
}

.btn-outline-primary {
  color: var(--primary-blue);
  border-color: var(--primary-blue);
}

.hero-section {
  background: var(--gradient-blue);
  padding: 4rem 0 8rem 0;
  position: relative;
}

.hero-title {
  color: var(--primary-blue);
  font-weight: 700;
  font-size: 2.5rem;
  max-width: 500px;
  margin: 0 auto;
  text-align: center;
}

.hero-subtitle {
  color: #5a7184;
  max-width: 500px;
  margin: 1rem auto;
  text-align: center;
}

.hero-image {
  margin-top: 3rem;
  text-align: center;
}

.hero-image img {
  max-width: 100%;
  height: auto;
}

.global-section {
  background-color: #b3d3ff;
  padding: 3rem 0;
  position: relative;
  margin-top: -4rem;
}

.global-container {
  background: linear-gradient(to bottom, #e5efff, #c2deff);
  border-radius: 12px;
  box-shadow: 0px 8px 24px rgba(13, 13, 18, 0.04);
  padding: 2rem;
  opacity: 0.95;
}

.global-title {
  color: var(--primary-blue);
  font-weight: 700;
  font-size: 2rem;
  text-align: center;
  margin-bottom: 0.5rem;
}

.global-subtitle {
  color: #5a7184;
  text-align: center;
  margin-bottom: 2rem;
}

.map-container {
  position: relative;
  text-align: center;
  margin-bottom: 2rem;
}

.map-container img {
  max-width: 100%;
}

.region-card {
  background: linear-gradient(to bottom, #e3eeff, #b3d3ff);
  border-radius: 8px;
  box-shadow: 0px 4px 12px rgba(13, 13, 18, 0.08);
  padding: 1rem;
  margin-bottom: 1rem;
  height: 100%;
}

.region-card h5 {
  color: var(--primary-blue);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.region-card p {
  color: #5a7184;
  font-size: 0.85rem;
  margin-bottom: 0.25rem;
}

.how-it-works {
  background: var(--gradient-blue);
  padding: 6rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.circle-decoration {
  position: absolute;
  border-radius: 50%;
  background-color: #cde2ff;
  z-index: 1;
}

.circle-large {
  width: 400px;
  height: 400px;
  top: 20%;
  right: 10%;
  opacity: 0.6;
}

.circle-small {
  width: 150px;
  height: 150px;
  top: 10%;
  right: 38%;
  opacity: 0.7;
}

.how-it-works h2 {
  color: #243757;
  font-weight: 700;
  margin-bottom: 1rem;
}

.how-it-works p {
  color: #5a7184;
  margin-bottom: 2rem;
}

.platform-image {
  max-width: 100%;
  margin-top: 2rem;
}

.why-section {
  padding: 4rem 0;
  background-color: #b3d3ff;
}

.why-title {
  text-align: center;
  color: #243757;
  font-weight: 700;
  margin-bottom: 1rem;
}

.why-subtitle {
  text-align: center;
  color: #5a7184;
  max-width: 600px;
  margin: 0 auto 3rem auto;
}

.feature-item {
  display: flex;
  margin-bottom: 2rem;
  align-items: flex-start;
}

.feature-icon {
  background-color: #e8f4ff;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  flex-shrink: 0;
}

.feature-icon i {
  color: var(--primary-blue);
  font-size: 1.25rem;
}

.feature-text h4 {
  color: #243757;
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.feature-text p {
  color: #5a7184;
  font-size: 0.9rem;
}

.security-image {
  max-width: 100%;
}

footer {
  background: linear-gradient(135deg, #e8f4ff 0%, #c5e5ff 100%);
  padding: 3rem 0 1rem 0;
}

.footer-title {
  color: #243757;
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.footer-links a {
  display: block;
  color: #5a7184;
  text-decoration: none;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--primary-blue);
}

.footer-bottom {
  border-top: 1px solid #e9ecef;
  text-align: center;
  color: #5a7184;
  font-size: 0.85rem;
}

.footer-logo {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.footer-logo img {
  height: 24px;
}

/* Customizing location markers */
.map-marker {
  position: absolute;
  width: 24px;
  height: 24px;
}

.marker-1 {
  top: 40%;
  left: 18%;
  background-color: #ff3366;
}

.marker-2 {
  top: 25%;
  right: 30%;
  background-color: #9966ff;
}

.marker-3 {
  top: 45%;
  left: 40%;
  background-color: #3366ff;
}

.marker-4 {
  top: 50%;
  left: 60%;
  background-color: #ff9933;
}

.marker-5 {
  top: 60%;
  right: 25%;
  background-color: #33ccff;
}

.btn-with-arrow {
  padding-right: 2.5rem;
  position: relative;
}

.welcome-badge {
  background-color: white;
  border-radius: 50px;
  padding: 0.5rem 1.5rem;
  display: inline-block;
  margin-bottom: 1.5rem;
  color: #0b62aa;
  font-size: 0.9rem;
  border: 1px solid #0b62aa;
}

/* Styling for location pins */
.location-pin {
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.location-pin::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.4);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  70% {
    transform: scale(2);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 0;
  }
}

/* Navbar custom styling */
.navbar {
  background-color: var(--navbar-blue) !important;
  padding: 0.75rem 1rem;
  transition: var(--navbar-transition);
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
}

.navbar.scrolled {
  padding: 0.5rem 1rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  background-color: rgba(11, 98, 170, 0.95) !important;
  backdrop-filter: blur(5px);
}

.navbar-light .navbar-brand,
.navbar-light .navbar-nav .nav-link {
  color: #fff;
  position: relative;
  transition: var(--navbar-transition);
}

.navbar-light .navbar-brand {
  font-weight: 600;
}

.navbar-light .navbar-nav .nav-link {
  padding: 0.5rem 1rem;
  margin: 0 0.15rem;
}

.navbar-light .navbar-nav .nav-link:hover {
  color: rgba(255, 255, 255, 1);
}

/* Underline effect for nav links */
.navbar-light .navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 4px;
  bottom: 0;
  left: 50%;
  border-radius: 15px;
  background-color: #fff;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

/* Fix for dropdown toggle arrow */
.navbar-light .navbar-nav .nav-link.dropdown-toggle::after {
  content: "";
  border-top: 0.3em solid;
  border-right: 0.3em solid transparent;
  border-left: 0.3em solid transparent;
  vertical-align: middle;
  position: static;
  width: auto;
  height: auto;
  background-color: transparent;
  margin-left: 0.5rem;
  transform: none;
  display: inline-block;
}

/* Add active class styling */
.navbar-light .navbar-nav .nav-link.active::after {
  width: 35%;
  background-color: #fff;
}

/* Ensure dropdown links don't show underline when active */
.navbar-light .navbar-nav .nav-link.dropdown-toggle.active::after {
  width: auto;
  background-color: transparent;
  border-top: 0.3em solid;
  border-right: 0.3em solid transparent;
  border-left: 0.3em solid transparent;
}

/* Add separate active underline for dropdown toggles */
.navbar-light .navbar-nav .nav-link.dropdown-toggle.active::before {
  content: "";
  position: absolute;
  width: 35%;
  height: 4px;
  bottom: 0;
  left: 50%;
  border-radius: 15px;
  background-color: #fff;
  transform: translateX(-50%);
}

.navbar-light .navbar-toggler {
  border-color: rgba(255, 255, 255, 0.5);
  padding: 0.25rem 0.5rem;
}

.navbar-light .navbar-toggler:focus {
  box-shadow: 0 0 0 0.15rem rgba(255, 255, 255, 0.3);
  outline: none;
}

.navbar-light .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Enhanced dropdown styling */
.navbar .dropdown-menu {
  border: none;
  border-radius: 0.5rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  padding: 0.75rem 0;
  margin-top: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  display: block;
}

.navbar .dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.navbar .dropdown-item {
  color: var(--dropdown-text);
  padding: 0.6rem 1.5rem;
  transition: all 0.2s ease;
}

.navbar .dropdown-item:hover {
  background-color: var(--light-blue);
  color: var(--primary-blue);
  transform: translateX(5px);
}

/* Contact Us button styling */
.navbar .btn-outline-primary {
  background-color: transparent;
  color: #fff;
  border: 2px solid #fff;
  padding: 0.4rem 1.25rem;
  transition: all 0.3s ease;
  font-weight: 600;
}

.navbar .btn-outline-primary:hover {
  background-color: #fff;
  color: var(--primary-blue);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Mobile-specific styling */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background-color: var(--navbar-blue);
    border-radius: 0 0 1rem 1rem;
    padding: 1rem;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    max-height: 80vh;
    overflow-y: auto;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 100;
  }

  .navbar {
    position: sticky;
  }

  .navbar-toggler {
    margin-left: auto;
    z-index: 101;
  }

  .navbar-nav {
    padding: 1rem 0;
  }

  .navbar-light .navbar-nav .nav-link {
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    font-size: 1rem;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .navbar-light .navbar-nav .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
  }

  /* .navbar-light .navbar-nav .nav-link::after {
    display: none;
  } */

  .navbar .dropdown-toggle::after {
    margin-left: 0.5rem;
  }

  .navbar .dropdown-menu {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    margin: 0.5rem 1rem;
    padding: 0.5rem 0;
    position: static !important;
    transform: none;
    opacity: 1;
    visibility: visible;
    display: none;
    box-shadow: none;
    width: auto;
  }

  .navbar .dropdown.show .dropdown-menu {
    display: block;
  }

  .navbar .dropdown-item {
    color: #fff;
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
    border-radius: 0.25rem;
    margin: 0.1rem 0;
  }

  .navbar .dropdown-item:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: #fff;
    transform: none;
  }

  .mobile-contact-btn {
    padding: 0.5rem 0;
    width: 100%;
  }

  .mobile-contact-btn .btn {
    margin: 0.5rem 0;
    padding: 0.6rem 1rem;
    font-weight: 600;
    font-size: 1rem;
  }
}

.text-blue {
  color: var(--primary-blue);
}
.navbar-light .navbar-brand:focus,
.navbar-light .navbar-brand:hover {
  color: rgba(255, 255, 255, 0.85);
}

/* Gradient button styling */
.btn-gradient {
  background: linear-gradient(to right, #3fc1ff, #dc71e5);
  border: none;
  color: white;
  transition: all 0.3s ease;
}

.btn-gradient:hover {
  background: linear-gradient(to right, #3fc1ff, #dc71e5);
  opacity: 0.9;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* IMPROVED RESPONSIVE STYLING */
/* Responsive font sizes */
@media (max-width: 767.98px) {
  .hero-title {
    font-size: 2rem;
  }
  .global-title,
  .why-title {
    font-size: 1.75rem;
  }
  .hero-subtitle,
  .global-subtitle,
  .why-subtitle {
    font-size: 0.95rem;
  }
  .feature-text h4 {
    font-size: 1rem;
  }
  .welcome-badge {
    font-size: 0.8rem;
    padding: 0.4rem 1.2rem;
  }
}

/* Better spacing for mobile */
@media (max-width: 767.98px) {
  .hero-section {
    padding: 3rem 0 6rem 0;
  }
  .global-section {
    padding: 2rem 0;
    margin-top: -3rem;
  }
  .global-container {
    padding: 1.5rem 1rem;
  }
  .how-it-works {
    padding: 4rem 0;
  }
  .why-section {
    padding: 3rem 0;
  }
  .btn-with-arrow {
    padding-right: 2rem;
    padding-left: 1rem;
  }
  .region-card {
    padding: 0.75rem;
  }
  .region-card h5 {
    font-size: 0.9rem;
  }
  .region-card p {
    font-size: 0.8rem;
  }
}

/* Optimized layout for mobile */
@media (max-width: 767.98px) {
  .circle-large {
    width: 200px;
    height: 200px;
    top: 10%;
    right: -50px;
  }
  .circle-small {
    width: 100px;
    height: 100px;
    top: 5%;
    right: 20%;
  }
  .hero-image img {
    width: 90%;
  }
  .map-container img {
    width: 100%;
  }
}

/* Better button sizing for mobile */
@media (max-width: 767.98px) {
  .btn {
    padding: 0.5rem 1.2rem;
    font-size: 0.9rem;
  }
}

/* More responsive feature section */
@media (max-width: 767.98px) {
  .feature-icon {
    width: 40px;
    height: 40px;
  }
  .feature-icon i {
    font-size: 1rem;
  }
  .security-image {
    max-width: 80%;
    margin: 2rem auto 0;
    display: block;
  }
}

/* Better footer layout on mobile */
@media (max-width: 767.98px) {
  footer {
    padding: 2rem 0 1rem 0;
  }
  .footer-logo {
    margin-top: 1.5rem;
    justify-content: center;
  }
}

/* Fixed how-it-works section for mobile */
@media (max-width: 991.98px) {
  .how-it-works .row {
    flex-direction: column;
  }
  .how-it-works .col-lg-6 {
    text-align: center;
    margin-bottom: 2rem;
  }
  .platform-image {
    margin: 0 auto 2rem;
    width: 90% !important;
  }
  .navbar-light .navbar-nav .nav-link.active::after {
    width: 100%;
  }
  .navbar-light .navbar-nav .nav-link.dropdown-toggle.active::before {
    width: 100%;
  }
}
/* Better region card grid */
/* @media (max-width: 767.98px) {
        .region-card-grid .col-md-3 {
          width: 50%;
        }
      } */

/* Better touch target sizes */
@media (max-width: 767.98px) {
  .navbar-light .navbar-nav .nav-link {
    padding: 0.8rem 1rem;
  }
  .dropdown-item {
    padding: 0.8rem 1.5rem;
  }
  .footer-links a {
    padding: 0.5rem 0;
    margin-bottom: 0.25rem;
  }
}

.navbar-light .navbar-nav .nav-link.active {
  color: #ffffff !important;
  font-weight: 600;
}
