:root {
  --primary: #232c68;
  --secondary: #e65525;
}

.bg-primary {
  background-color: var(--primary) !important;
}

.text-primary {
  color: var(--primary) !important;
}

.btn-secondary {
  background-color: var(--secondary);
  border: none;
}

.btn-secondary:hover {
  background-color: #c64a1f;
}

.titlefnt {
  color: #e65525 !important;
  font-weight: 600;
  font-size: 2.5rem;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(35, 44, 104, 1)' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}


.navbar-nav .nav-link {
  color: #232c68;
  transition: color 0.3s ease;
}

.navbar .dropdown-toggle i,
.navbar .nav-link i {
  font-size: 0.65rem;
  /* smaller size */
  margin-top: 2px;
  /* align vertically if needed */
  color: inherit;
  /* match the link color */
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
  color: #e65525;
}

.navbar-nav .nav-link.active {
  color: #e65525;
}

.dropdown-menu {
  border-radius: 0.5rem;
  border: 1px solid #ccc;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.05);
  margin-top: 0.5rem;
}

.dropdown-item {
  color: #232c68;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.dropdown-item:hover {
  background-color: #f8f9fa;
  color: #e65525;
}

.navbar .navbar-nav .nav-link.active,
.dropdown-item.active {
  color: #e65525 !important;
}


.parallax-section {
  position: relative;
  background-image: url('../../image/services.jpeg');
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  height: 400px;
  color: white;
  z-index: 1;
  overflow: hidden;
}

.parallax-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  /* Dark overlay */
  z-index: 2;
}

/* Ensure content appears above the overlay */
.parallax-section>* {
  position: relative;
  z-index: 3;
}

.nav-link {
  color: #232c68 !important;
}

.nav-link:hover {
  color: #e65525 !important;
}

.hero-overlay {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 50%;
  background-color: #232c68cc;
  clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%);
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: flex-end; /* pushes text to right on desktop */
  text-align: right;
}

.hero-text h1 {  font-size: clamp(1.75rem, 5vw + 1rem, 3rem);  line-height: 1.2;}


.hero-text {
  color: white;
  text-align: right;
  max-width: 100%;
  z-index: 3;
}


/* ---------------services */
:root {
  --primary: #232c68;
  --secondary: #e65525;
}

#services-modern {
  background-color: var(--primary);
  color: #fff;
  padding: 4rem 0;
}

#services-modern .section-title {
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(90deg, var(--secondary), #fff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
}

#services-modern .card {
  border: none;
  border-radius: 1rem;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#services-modern .card:hover {
  transform: translateY(-8px);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.3);
}

#services-modern .icon-circle {
  width: 60px;
  /* height: 60px; */
  border-radius: 50%;
  background-color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
}

#services-modern .icon-circle i {
  font-size: 1.5rem;
  color: #fff;
}

#services-modern .card-body {
  background-color: #fff;
  color: #333;
  padding: 2rem;
}

#services-modern .card-title {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

#services-modern .card-text {
  font-size: 0.95rem;
  line-height: 1.5;
}

.hero-text h1 {
  font-size: 3rem;
  /* Large on desktop */
}

@media (max-width: 992px) {
  .hero-text h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 576px) {
  .hero-text h1 {
    font-size: 1.75rem;
  }
}

/* Responsive Adjustments */
  @media (max-width: 768px) {
    .hero-overlay {
      width: 100%;
      clip-path: none;
      text-align: center;
      padding: 1rem;
    }
    .hero-text {
      text-align: center;
    }
  }

  .carousel-item img {
    object-fit: cover;
    height: 100vh;
  }

  .carousel-inner {
    height: 100vh;
  }


.carousel-item img {
  object-fit: cover;
  height: 100vh;
  /* Full viewport height */
}

.carousel-inner {
  height: 100vh;
  /* Full viewport height */
}