/* ############################## Primary brand color ########################################*/
:root {
  --bak-primary: #900C3F;
}

/* Utility */
.text-bak-primary {
  color: var(--bak-primary);
}

/* Navbar logo styling */
.navbar-brand img {
  height: 60px;
  max-height: 60px;
  transform: scale(2.0); 
  transform-origin: left center; 
}


/* ########################################## Navbar styling ####################################*/

/* ===== Growing Underline Effect for Navbar Links ===== */
.navbar-brand {
  font-weight: bold;
  font-size: 1.5rem;
  color: var(--bak-primary);
}

.nav-link {
  color: #333;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--bak-primary);
}

/* Navbar sticky */
.navbar {
  position: sticky;
  top: 0;
  z-index: 999;
  background-color: #ffffff; /* Or slightly transparent if you want */
  box-shadow: 0px 2px 10px rgba(0,0,0,0.5); /* Soft shadow */
}

.navbar a {
  font-weight: 600; /* Normal font weight */
}

/* Default Navbar Style */
.navbar {
  transition: all 0.3s ease;
  padding: 20px 0; /* Initial bigger padding */
}

/* Shrink Navbar on Scroll */
.navbar.navbar-shrink {
  padding: 10px 0; /* Smaller padding after scroll */
  background-color: #ffffff; /* Optional: keep background solid */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar.navbar-shrink a {
  font-size: 0.9rem;
}

/* ===== Growing Underline Effect for Navbar Links ===== */
.navbar-nav .nav-link {
  position: relative;
  color: #000; /* Default text color */
  font-weight: 700;
  transition: all 0.3s ease-in-out;
  font-size: 1.0rem;
  margin-left: 1.1rem;
  
}

.navbar .navbar-nav > .nav-item.dropdown > .nav-link.dropdown-toggle,
.navbar .navbar-nav > .nav-item.tech-hover > .nav-link.dropdown-toggle {
  position: relative;
  font-weight: 700;
  transition: all 0.3s ease-in-out;
  font-size: 1.0rem;
  margin-left: 1.1rem;
  
}


/* Underline effect */
.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  width: 0;
  background-color: #900C3F; 
  transition: width 0.3s ease-in-out;
}

/* On hover, grow underline */
.navbar-nav .nav-link:hover::after {
  width: 100%;
}

/* Optional: Change text color on hover */
.navbar-nav .nav-link:hover {
  color: #900C3F;
}

/* Remove default caret icon */
.nav-item.dropdown > a::after {
  display: none;
}

/* Hover effect for the main menu item */
.navbar-nav .nav-item.dropdown:hover > .nav-link {
  color: #fff;
  background-color: #900C3F; /* Your primary color */
  position: relative;
}

.navbar-nav .nav-item.dropdown:hover > .nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background-color: #fff;
  transition: all 0.3s ease-in-out;
}

.navbar .dropdown-menu {
  border: none;
  border-radius: 18px;
  padding: 0.75rem;
  margin-top: 0.75rem;
  min-width: 260px;
  background: #ffffff;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.14);
}

/* Dropdown items */
.navbar .dropdown-menu .dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0.95rem;
  border-radius: 12px;
  color: #333333;
  font-size: 0.95rem;
  font-weight: 600;
  transition: all 0.25s ease;
}

/* Dropdown icons */
.navbar .dropdown-menu .dropdown-item i {
  width: 22px;
  min-width: 22px;
  text-align: center;
  font-size: 1rem;
  color: #9e004c;
  transition: all 0.25s ease;
}

/* Hover effect */
.navbar .dropdown-menu .dropdown-item:hover,
.navbar .dropdown-menu .dropdown-item:focus {
  background: rgba(158, 0, 76, 0.08);
  color: #9e004c;
  transform: translateX(4px);
}

/* Hover icon */
.navbar .dropdown-menu .dropdown-item:hover i,
.navbar .dropdown-menu .dropdown-item:focus i {
  color: #9e004c;
}

/* Remove Bootstrap default active blue */
.navbar .dropdown-menu .dropdown-item.active,
.navbar .dropdown-menu .dropdown-item:active {
  background: #9e004c;
  color: #ffffff;
}

.navbar .dropdown-menu .dropdown-item.active i,
.navbar .dropdown-menu .dropdown-item:active i {
  color: #ffffff;
}


/* Smooth dropdown animation */
@media (min-width: 992px) {
  .navbar .dropdown-menu {
    display: block;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  }

  .navbar .dropdown:hover .dropdown-menu,
  .navbar .dropdown-menu:hover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}

.navbar .navbar-nav > .nav-item > .nav-link.active,
.navbar .navbar-nav > .nav-item.dropdown > .nav-link.show,
.navbar .navbar-nav > .nav-item.dropdown:hover > .nav-link {
  background: #9e004c;
  color: #ffffff !important;
  border-radius: 12px;
  padding: 0.65rem 1rem !important;
}




/* ================================
   Technology Dropdown - Clean Version
================================ */

.navbar,
.navbar .dropdown,
.navbar .dropdown-menu {
  overflow: visible !important;
}

/* Main Technology dropdown */
.navbar .tech-dropdown-menu {
  min-width: 290px;
  padding: 0.8rem;
  border: none;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.16);
  z-index: 3000;
}

/* Each category */
.navbar .tech-dropdown-menu > .dropdown-submenu {
  position: relative;
}

/* Category item */
.navbar .tech-dropdown-menu .submenu-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-radius: 13px;
  color: #333333;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s ease;
}

/* Left side icon + text */
.navbar .tech-dropdown-menu .submenu-toggle span {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.navbar .tech-dropdown-menu .submenu-toggle i {
  color: #9e004c;
  width: 22px;
  min-width: 22px;
  text-align: center;
}

/* Right arrow */
.navbar .tech-dropdown-menu .submenu-arrow {
  width: auto !important;
  min-width: auto !important;
  color: #999999 !important;
  font-size: 0.8rem;
}

/* Hover category */
.navbar .tech-dropdown-menu > .dropdown-submenu:hover > .submenu-toggle {
  background: #9e004c;
  color: #ffffff;
}

.navbar .tech-dropdown-menu > .dropdown-submenu:hover > .submenu-toggle i {
  color: #ffffff;
}

/* Hide all submenus by default */
.navbar .tech-dropdown-menu .submenu-menu {
  position: absolute;
  top: 0;
  left: 100%;
  min-width: 260px;
  padding: 0.8rem;
  margin-left: 0;
  border: none;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.16);
  z-index: 3100;

  display: none !important;
}

/* Show ONLY the submenu of the hovered category */
.navbar .tech-dropdown-menu > .dropdown-submenu:hover > .submenu-menu {
  display: block !important;
}

/* Submenu items */
.navbar .submenu-menu .dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.8rem 1rem;
  border-radius: 12px;
  color: #333333;
  font-size: 0.95rem;
  font-weight: 650;
  transition: all 0.25s ease;
}

.navbar .submenu-menu .dropdown-item i {
  color: #9e004c;
  width: 22px;
  min-width: 22px;
  text-align: center;
}

.navbar .submenu-menu .dropdown-item:hover {
  background: rgba(158, 0, 76, 0.08);
  color: #9e004c;
  transform: translateX(4px);
}

/* Remove Bootstrap active blue */
.navbar .submenu-menu .dropdown-item:active,
.navbar .submenu-menu .dropdown-item.active {
  background: #9e004c;
  color: #ffffff;
}

.navbar .submenu-menu .dropdown-item:active i,
.navbar .submenu-menu .dropdown-item.active i {
  color: #ffffff;
}

/* Add small gap between Technology category menu and submenu */
.navbar .tech-dropdown-menu .submenu-menu {
  left: calc(100% + 10px) !important;
}

/* Invisible hover bridge so submenu does not disappear */
.navbar .tech-dropdown-menu > .dropdown-submenu::after {
  content: "";
  position: absolute;
  top: 0;
  right: -12px;
  width: 12px;
  height: 100%;
}



/* Mobile Technology dropdown */
@media (max-width: 991.98px) {
  .navbar .tech-dropdown-menu {
    width: 100%;
    min-width: 100%;
    border-radius: 16px;
    box-shadow: none;
    padding: 0.6rem;
  }

  .navbar .dropdown-submenu {
    position: static;
  }

  .navbar .dropdown-submenu::after {
    display: none;
  }

  .navbar .submenu-arrow {
    display: none;
  }

  .navbar .submenu-menu .dropdown-item {
    font-size: 0.9rem;
    padding: 0.65rem 0.85rem;
  }
}

/* Make submenu icons white on hover/active */
.navbar .tech-dropdown-menu .submenu-menu .dropdown-item:hover i,
.navbar .tech-dropdown-menu .submenu-menu .dropdown-item:focus i,
.navbar .tech-dropdown-menu .submenu-menu .dropdown-item.active i,
.navbar .tech-dropdown-menu .submenu-menu .dropdown-item:active i {
  color: #ffffff !important;
}

.navbar .tech-dropdown-menu .submenu-menu .dropdown-item:hover,
.navbar .tech-dropdown-menu .submenu-menu .dropdown-item:focus,
.navbar .tech-dropdown-menu .submenu-menu .dropdown-item.active,
.navbar .tech-dropdown-menu .submenu-menu .dropdown-item:active {
  background: #9e004c !important;
  color: #ffffff !important;
}

/* Show dropdown on hover */
.navbar-nav .dropdown:hover .dropdown-menu {
  display: block;
  margin-top: 0;
  animation: fadeInDown 0.3s ease-in-out;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0px);
  }
}

/* Dropdown menu style */
.dropdown-menu {
  border: none;
  border-radius: 0;
  box-shadow: 0px 8px 16px rgba(0,0,0,0.1);
}

/* Items */
.dropdown-item {
  color: #333;
  font-weight: 500;
  transition: all 0.2s ease-in-out;
  display: flex;
  align-items: center;
}

/* Icons spacing */
.dropdown-item i {
  font-size: 1rem;
  margin-right: 0.5rem;
}

/* Hover effect on items */
.dropdown-item:hover {
  background-color: #900C3F;
  color: #fff;
}

/* Growing underline effect for Technology dropdown */
.navbar-nav .dropdown.tech-hover .nav-link {
  position: relative;
  color: inherit;
  font-weight: 600;
}

.navbar-nav .dropdown.tech-hover .nav-link .underline {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 5px;
  background-color: #900C3F; 
  transition: width 0.3s ease-in-out;
}

.navbar-nav .dropdown.tech-hover:hover .underline {
  width: 100%;
}

/* Remove Bootstrap caret from dropdown */
.navbar-nav .dropdown.tech-hover .dropdown-toggle::after {
  display: none !important;
}

/* Dropdown item hover effect for Technology dropdown */
.navbar-nav .dropdown-menu .dropdown-item {
  transition: background-color 0.3s ease, color 0.3s ease;
}

.navbar-nav .dropdown-menu .dropdown-item:hover {
  background-color: #900C3F;
  color: #ffffff;
}




/* ################################### Hero section styling ##################################### */
.hero-section {
  background: url('../assets/hero_section.png') center center/cover no-repeat;
  /* background-color: #f8f9fa; */
  padding: 100px 0;
  width: 100%;
  height: 845px;
}

/* Hero Section */
.hero-section {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  min-height: 78vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* Optional overlay to darken background for better text visibility */
.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background: rgba(0, 0, 0, 0.5); /* Semi-transparent black */
  background:
    radial-gradient(circle at center, rgba(0, 120, 255, 0.08), transparent 35%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.45));
  z-index: 1;
}

.hero-section::after {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  bottom: -100px;
  left: -100px;
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

.min-vh-75 {
  min-height: 75vh;
}

.hero-badge {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  backdrop-filter: blur(8px);
}

.hero-title {
  max-width: 720px;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}

.hero-subtitle {
  max-width: 760px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.88) !important;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-highlights {
  display: flex;
  flex-wrap: column;
  align-items: center;
  gap: 1rem 0.85rem;
}

.hero-highlight-item {
  display: flex;
  grid-template-columns: 24px auto;
  align-items: center;
  column-gap: 0.5rem;
  width: 260px;
  text-align: left;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
}

.hero-highlight-item i {
  color: #ffffff;
  font-size: 1.1rem;
}

.hero-visual-card {
  padding: 2.5rem;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffffff;
  backdrop-filter: blur(18px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.22);
}

.hero-card-icon {
  width: 70px;
  height: 70px;
  margin-bottom: 1.5rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-card-icon i {
  font-size: 2rem;
}

.hero-visual-card h4 {
  font-weight: 800;
  margin-bottom: 1rem;
}

.hero-visual-card p {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.hero-service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.hero-service-tags span {
  padding: 0.45rem 0.85rem;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 600;
}

.hero-btn-secondary {
  padding: 0.85rem 1.8rem;
  border-radius: 30px;
  font-weight: 500;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.btn .btn-primary.hero-btn-primary{
  padding: 0.85rem 1.8rem;
  border-radius: 50px;
}

.hero-btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.14);
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
}

.hero-highlight-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
}

.hero-highlight-item i {
  color: #ffffff;
  font-size: 1.1rem;
}

.hero-visual-card {
  padding: 2.5rem;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffffff;
  backdrop-filter: blur(18px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.22);
}

.hero-card-icon {
  width: 70px;
  height: 70px;
  margin-bottom: 1.5rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-card-icon i {
  font-size: 2rem;
}

.hero-visual-card h4 {
  font-weight: 800;
  margin-bottom: 1rem;
}

.hero-visual-card p {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.hero-service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.hero-service-tags span {
  padding: 0.45rem 0.85rem;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 600;
}

.hero-section .welcome-text {
  position: relative;
  z-index: 2;
}

.welcome-text h1,
.welcome-text p {
  color: #ffffff;
}

.welcome-text a.btn-primary {
  padding: 0.85rem 1.8rem;
  font-size: 1.2rem;
  font-weight: 500;
  border-radius: 30px;
}

.hero-section .btn-primary {
  background-color: var(--bak-primary);
  border: none;
}


@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0); 
  }
  40% {
    transform: translateY(-10px); 
  }
  60% {
    transform: translateY(-5px); 
  }
}

.welcome-text a.btn-primary {
  padding: 10px 30px;
  font-size: 1.2rem;
  font-weight: 500;
  border-radius: 30px;
  animation: bounce 2s infinite;
}


@media (max-width: 576px) {
  .hero-section {
    padding-top: 6rem;
  }

  .hero-title {
    font-size: 2.4rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-btn-primary,
  .hero-btn-secondary {
    width: 100%;
  }

  .hero-visual-card {
    padding: 2rem 1.5rem;
  }
}


@media (max-width: 991px) {
  .hero-section {
    min-height: auto;
    padding-top: 7rem;
    padding-bottom: 5rem;
  }

  .hero-title {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons,
  .hero-highlights {
    justify-content: center;
  }

  .hero-visual-card {
    max-width: 560px;
    margin: 0 auto;
  }
}


/* Mobile Hero Fix */
@media (max-width: 767.98px) {
  .hero-section {
    height: auto !important;
    min-height: auto !important;
    padding-top: 6.5rem !important;
    padding-bottom: 4rem !important;
    overflow: hidden;
    display: block;
  }

  .hero-section .min-vh-75 {
    min-height: auto !important;
  }

  .hero-section .row {
    row-gap: 2rem;
  }

  .welcome-text {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .hero-title {
    font-size: 2.2rem;
    line-height: 1.15;
  }

  .hero-subtitle {
    font-size: 1rem;
    line-height: 1.7;
    max-width: 100%;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-btn-primary,
  .hero-btn-secondary {
    width: 100%;
  }

  .hero-highlights {
    flex-direction: column;
    align-items: center;
    gap: 0.85rem;
  }

  .hero-highlight-item {
    justify-content: center;
    font-size: 0.9rem;
  }

  .hero-visual-card {
    position: relative !important;
    bottom: auto !important;
    transform: none !important;
    width: 100%;
    max-width: 100%;
    margin: 1.5rem auto 0;
    padding: 1.7rem 1.4rem;
    border-radius: 22px;
  }

  .hero-card-icon {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    margin-bottom: 1.2rem;
  }

  .hero-card-icon i {
    font-size: 1.6rem;
  }

  .hero-visual-card h4 {
    font-size: 1.3rem;
    line-height: 1.25;
  }

  .hero-visual-card p {
    font-size: 0.95rem;
    line-height: 1.65;
  }

  .hero-service-tags {
    gap: 0.55rem;
  }

  .hero-service-tags span {
    font-size: 0.78rem;
    padding: 0.4rem 0.7rem;
  }

  .hero-highlights {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.85rem;
  }

  .hero-highlight-item {
    display: grid;
    grid-template-columns: 24px 1fr;
    align-items: center;
    column-gap: 0.5rem;
    width: 280px;
    max-width: 100%;
    text-align: left;
  }

  .hero-highlight-item i {
    width: 24px;
    text-align: center;
  }

  .hero-highlight-item span {
    display: block;
  }
}



/* ######################################## Back to Top Button ############################################# */
#backToTopBtn {
  display: none; /* Hidden by default */
  position: fixed;
  bottom: 30px;
  right: 20px;
  
  z-index: 99;
  font-size: 24px;
  border: none;
  outline: none;
  background-color: #900C3F; /* Your Primary Color */
  color: white;
  cursor: pointer;
  padding: 0px 10px;
  border-radius: 10%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s;
}

#backToTopBtn:hover {
  background-color: #6d0a2f; /* Slightly darker on hover */
}




/* ################################################# About section ############################################## */

/* Button style */
.bak-btn {
  background-color: var(--bak-primary);
  color: white;
  font-weight: 500;
  padding: 10px 30px;
  font-size: 1.2rem;
  border-radius: 30px;
  transition: all 0.3s ease;
  border: none;
}

.bak-btn:hover {
  background-color: #720a32;
  color: #fff;
}

/*=============== About Us Section ============*/
.aboutus-section{
  padding-top: 5rem;
  padding-bottom: 6rem;
  width: 100%;
  height: auto;
  /* background-color: #f5f5f7; */
  background: linear-gradient(135deg, #ffffff 0%, #f8f6f7 100%);
  display: flex;
  align-items: center; /* Vertical centering */
}


/* Responsive team card images */
.card-img-top {
  height: 280px;
  object-fit: cover;
}


.aboutus-text {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.aboutus-img {
  background: url('../assets/hero_section1.png') no-repeat center center;
  background-size: cover;
  width: 90%;
  height: 445px;
  margin-left: 20px; /* Pushes it slightly left inside the column */
  margin-right: 0;   /* Ensures it stays to the left */
  position: relative;
  border-radius: 10px; /* Optional: smooth rounded corners */
  overflow: hidden; /* Keeps shading inside */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.aboutus-section::before {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(158, 0, 76, 0.06);
  top: -120px;
  left: -120px;
}

/* Shade overlay on the image */
.aboutus-img::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Soft dark overlay (30% opacity) */
  bottom: -100px;
  right: -100px;
}


/* Padding the paragraph to shift it slightly right */
.aboutus-section p {
  padding-left: 0px; /* You can adjust (10px, 15px) depending on how much space you want */
}

/* Consistent Button Styling */
.aboutus-section .btn-primary {
  background-color: #900C3F; /* Bootstrap primary blue (you can customize) */
  border: none;
  padding: 10px 30px;
  font-weight: 500;
  font-size: 1.2rem;
  border-radius: 50px; /* Makes it more pill-shaped and modern */
  transition: background-color 0.3s ease, transform 0.3s ease;
}

/* Button hover effect */
.aboutus-section .btn-primary:hover {
  background-color:  #900C3F; /* Slightly darker blue when hovered */
  transform: scale(1.05); /* A gentle grow on hover */
}

.aboutus-section .container {
  position: relative;
  z-index: 2;
}

.aboutus-badge {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.45rem 1rem;
  border-radius: 50px;
  background-color: rgba(158, 0, 76, 0.09);
  color: #9e004c;
  font-weight: 700;
  font-size: 0.9rem;
}

.aboutus-content h1 {
  max-width: 620px;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.aboutus-content .lead {
  color: #333;
  font-size: 1.03rem;
  line-height: 1.8;
  margin-bottom: 1.2rem;
}

.aboutus-points {
  margin-top: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.aboutus-point {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #222;
  font-weight: 500;
}

.aboutus-point i {
  color: #9e004c;
  font-size: 1.1rem;
}

.bak-btn {
  background-color: #9e004c;
  border-color: #9e004c;
  color: #ffffff;
  padding: 0.8rem 1.7rem;
  border-radius: 50px;
  font-weight: 700;
  transition: all 0.3s ease;
}

.bak-btn:hover {
  background-color: #7c003c;
  border-color: #7c003c;
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(158, 0, 76, 0.25);
}

.aboutus-image-wrapper {
  position: relative;
  max-width: 560px;
  margin-left: auto;
}

.aboutus-image {
  width: 100%;
  min-height: 380px;
  object-fit: cover;
  border-radius: 24px !important;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.14) !important;
}

.aboutus-floating-card {
  position: absolute;
  left: -35px;
  bottom: 35px;
  max-width: 260px;
  padding: 1.2rem 1.3rem;
  border-radius: 18px;
  background: #ffffff;
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.14);
}

.aboutus-floating-card i {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: rgba(158, 0, 76, 0.1);
  color: #9e004c;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.aboutus-floating-card h6 {
  margin-bottom: 0.25rem;
  font-weight: 800;
  color: #111;
}

.aboutus-floating-card p {
  margin-bottom: 0;
  color: #666;
  font-size: 0.9rem;
  line-height: 1.5;
}


/* Responsive tweaks */
@media (max-width: 768px) {
  .aboutus-section .row {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .aboutus-section .col {
    width: 100%;
    padding: 10px;
  }

  .aboutus-img {
    margin-left: 0;
    width: 100%;
    height: 300px; /* resized for smaller screens */
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
  }

  .aboutus-section p {
    padding-left: 0;
    padding-right: 0;
  }

  .aboutus-section h1 {
    text-align: center;
  }
  
  /* CTA Section Button Spacing on Mobile */
  .cta-section .btn {
    margin-bottom: 15px;
    margin-right: 0 !important;
    display: inline-block;
    width: auto;
    min-width: 200px;
  }
  
  .cta-section .container {
    padding: 0 20px;
  }
  
  .cta-section .btn:last-child {
    margin-bottom: 0;
  }
}


/* Mobile */
@media (max-width: 991px) {
  .aboutus-section {
    padding: 4.5rem 0;
  }

  .aboutus-content {
    text-align: center;
  }

  .aboutus-content h1 {
    margin-left: auto;
    margin-right: auto;
  }

  .aboutus-points {
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }

  .aboutus-point {
    text-align: left;
  }

  .aboutus-image-wrapper {
    margin: 0 auto;
  }

  .aboutus-floating-card {
    left: 50%;
    bottom: -35px;
    transform: translateX(-50%);
    width: 88%;
  }
}

@media (max-width: 576px) {
  .aboutus-section {
    padding: 4rem 0 5.5rem;
  }

  .aboutus-content h1 {
    font-size: 2rem;
  }

  .aboutus-content .lead {
    font-size: 0.98rem;
    line-height: 1.7;
  }

  .aboutus-image {
    min-height: 280px;
    border-radius: 18px !important;
  }

  .aboutus-floating-card {
    position: relative;
    left: auto;
    bottom: auto;
    transform: none;
    width: 100%;
    margin-top: 1rem;
  }
}


/* Animation for fade-in effect */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease-out, transform 1s ease-out;
  transition-delay: var(--delay, 0s); /* Use a CSS variable for delay */
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}




/* ################################################# Service section ############################################## */
/* .service-section {
  
  height: auto;
  width: 100%;
  background: url('../assets/hero_section2.jpg') no-repeat center center;
} */

.service-card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-height: 390px;
}

.service-card .card-body {
  min-height: 390px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1.5rem;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.service-card i {
  color: #900C3F; /* Your primary Bak-it color */
}

.services-section {
  padding-top: 5rem;
  padding-bottom: 6rem;
  background-color: #f5f2f2;
  min-height: 645px;
}
section.services-section.py-5.mt-5 {
  background-color: #f8f6f6;
  padding: 50px 0;
}

.services-section .card {
  transition: transform 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.services-section .card:hover {
  transform: translateY(-8px);
}

.custom-btn {
  background-color: #900C3F;
  border: none;
  font-weight: 500;
  padding: 10px 30px;
  font-size: 1.2rem;
  border-radius: 30px;
}

.custom-btn:hover {
  background-color: #75052f;
}

/* General dropdown hover fix for icons */
.navbar .dropdown-menu .dropdown-item:hover,
.navbar .dropdown-menu .dropdown-item:focus,
.navbar .dropdown-menu .dropdown-item.active,
.navbar .dropdown-menu .dropdown-item:active {
  background: #9e004c !important;
  color: #ffffff !important;
}

/* Make dropdown icons white on hover */
.navbar .dropdown-menu .dropdown-item:hover i,
.navbar .dropdown-menu .dropdown-item:focus i,
.navbar .dropdown-menu .dropdown-item.active i,
.navbar .dropdown-menu .dropdown-item:active i {
  color: #ffffff !important;
}


.technology-badge {
  background: linear-gradient(135deg, #900C3F, #75052f);
  color: white;
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  margin: 0.2rem;
  display: inline-block;
  box-shadow: 0 2px 5px rgba(144, 12, 63, 0.3);
}


/* ################################################# Contact us section ############################################## */
.contact-section {
  background-color: #f5f5f7;
  min-height: 645px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 5rem;
  padding-bottom: 6rem;
}

.contact-section h1 {
  font-size: 2.8rem;
}

.contact-section .lead {
  color: #6c757d;
  max-width: 780px;
  margin: 0 auto;
  line-height: 1.7;
}

.contact-section .form-control {
  border-radius: 0.75rem;
  padding: 1rem;
  font-size: 1rem;
}

.contact-section .custom-btn {
  background-color: #900C3F;
  border: none;
  padding: 0.75rem;
  font-weight: bold;
  font-size: 1rem;
  border-radius: 0.75rem;
  transition: background-color 0.3s ease;
}

.contact-section .custom-btn:hover {
  background-color: #72092f;
}

.section-badge {
  display: inline-block;
  margin-bottom: 0.75rem;
  padding: 0.45rem 1rem;
  border-radius: 50px;
  background-color: rgba(158, 0, 76, 0.08);
  color: #9e004c;
  font-weight: 600;
  font-size: 0.9rem;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  background: #ffffff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
}

.contact-info-box {
  background: linear-gradient(135deg, #9e004c 0%, #65002f 100%);
  color: #ffffff;
  padding: 3rem 2.5rem;
}

.contact-info-box h3 {
  font-weight: 700;
  margin-bottom: 1rem;
}

.contact-info-box p {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-info-item i {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-info-item h6 {
  margin-bottom: 0.25rem;
  font-weight: 700;
}

.contact-info-item span {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
}

.contact-form-box {
  padding: 3rem 2.5rem;
}

.contact-form-box .form-label {
  font-weight: 600;
  color: #222;
  margin-bottom: 0.5rem;
}

.contact-form-box .form-control {
  min-height: 52px;
  border-radius: 14px;
  border: 1px solid #e1e1e1;
  padding: 0.85rem 1rem;
  font-size: 0.95rem;
  box-shadow: none;
}

.contact-form-box textarea.form-control {
  min-height: 150px;
  resize: none;
}

.contact-form-box .form-control:focus {
  border-color: #9e004c;
  box-shadow: 0 0 0 0.2rem rgba(158, 0, 76, 0.12);
}

.contact-form-box .custom-btn {
  min-height: 54px;
  border-radius: 14px;
  background-color: #9e004c;
  border-color: #9e004c;
  font-weight: 700;
  letter-spacing: 0.3px;
  transition: all 0.3s ease;
}

.contact-form-box .custom-btn:hover {
  background-color: #7c003c;
  border-color: #7c003c;
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(158, 0, 76, 0.25);
}

@media (max-width: 991px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .contact-info-box,
  .contact-form-box {
    padding: 2.5rem 2rem;
  }
}

@media (max-width: 576px) {
  .contact-section .display-4 {
    font-size: 2.2rem;
  }

  .contact-info-box,
  .contact-form-box {
    padding: 2rem 1.5rem;
  }
}


/*############################################# Modern Footer styling ###########################################*/
.modern-footer {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  border-top: 3px solid var(--bak-primary);
  /* padding-top: 5rem;
  padding-bottom: 6rem; */
  padding: 4rem 0 2rem;
}

.modern-footer h4,
.modern-footer h6 {
  color: #ffffff;
}

.modern-footer .text-muted {
  color: rgba(255, 255, 255, 0.68) !important;
}

.footer-logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 220px;
  height: 150px;
  margin-bottom: 1.5rem;
  padding: 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  text-decoration: none;
}

.footer-logo {
  width: 220px;
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.footer-brand p {
  max-width: 390px;
  line-height: 1.8;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: #aaa;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.footer-logo-link:hover .footer-logo {
  transform: scale(1.03);
  opacity: 0.92;
}

.footer-links a:hover {
  color: #ffffff !important;
  transform: translateX(5px);
}

.footer-links a i {
  color: #9e004c;
  font-size: 0.8rem;
  transition: all 0.3s ease;
}

.footer-links a:hover i {
  color: var(--bak-primary);
}

.social-links .social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  color: #aaa;
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1.2rem;
}

.social-links .social-link:hover {
  background: var(--bak-primary);
  color: white;
  transform: translateY(-2px);
  text-decoration: none;
}

.contact-info .contact-item {
  display: flex;
  align-items: flex-start;
}

.contact-info .contact-item i {
  font-size: 1.2rem;
  margin-top: 2px;
}

.contact-info a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-info a:hover {
  color: var(--bak-primary);
  text-decoration: none;
}

.modern-footer hr {
  border-color: #444;
  opacity: 0.18;
}

.modern-footer .text-muted {
  color: #aaa !important;
}

/* Footer bottom links */
.modern-footer .col-md-6:last-child a {
  color: #aaa;
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 0.9rem;
}

.modern-footer .col-md-6:last-child a:hover {
  color: var(--bak-primary);
  text-decoration: none;
}


/* Mobile footer alignment */
@media (max-width: 576px) {
  .modern-footer {
    padding: 3.5rem 0 1.5rem;
    text-align: center;
  }

  .modern-footer .row {
    --bs-gutter-y: 0;
  }

  .modern-footer [class*="col-"] {
    text-align: center !important;
    padding-bottom: 2rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .modern-footer [class*="col-"]:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
  }

  .footer-brand p {
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
  }

  .modern-footer h6 {
    margin-bottom: 1.25rem !important;
  }

  /* Social icons */
  .modern-footer .social-links .d-flex {
    justify-content: center !important;
    flex-wrap: wrap;
    gap: 0.75rem !important;
  }

  .modern-footer .social-link {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  /* Footer links */
  .modern-footer .footer-links {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .modern-footer .footer-links li {
    margin-bottom: 0.75rem;
  }

  .modern-footer .footer-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 210px;
    text-align: left;
  }

  .modern-footer .footer-links a i {
    width: 18px;
    margin-right: 0.5rem !important;
  }

  /* Contact section */
  .modern-footer .contact-info {
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }

  .modern-footer .contact-info .contact-item {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.5rem;
    margin-bottom: 1.6rem !important;
  }

  .modern-footer .contact-info .contact-item i {
    margin-right: 0 !important;
    margin-top: 0;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(158, 0, 76, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .modern-footer .contact-info .contact-item div {
    text-align: center;
  }

  .modern-footer .contact-info .contact-item small {
    margin-bottom: 0.25rem;
  }

  .modern-footer hr {
    margin-top: 2rem !important;
  }

  .footer-logo {
    width: 170px;
    margin-left: auto;
    margin-right: auto;
  }

  .footer-logo-link {
    margin-bottom: 1.2rem;
  }

  .footer-brand p {
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }
}