body,
html {
  font-family: "Open Sans", sans-serif;
  text-rendering: optimizeLegibility !important;
  -webkit-font-smoothing: antialiased !important;
  color: #777;
  font-weight: 400;
  width: 100% !important;
  height: 100% !important;
}
h2,
h3,
h4 {
  font-family: "Raleway", sans-serif;
}
h2 {
  text-transform: uppercase;
  margin: 0 0 20px;
  font-weight: 800;
  font-size: 36px;
  color: #333;
}
h3 {
  font-size: 20px;
  font-weight: 600;
  color: #333;
}
h4 {
  font-size: 18px;
  color: #333;
  font-weight: 600;
}
h5 {
  text-transform: uppercase;
  font-weight: 700;
  line-height: 20px;
}
p {
  font-size: 15px;
}
p.intro {
  margin: 12px 0 0;
  line-height: 24px;
}
a {
  color: #608dfd;
  font-weight: 400;
}
a:hover,
a:focus {
  text-decoration: none;
  color: #608dfd;
}
ul,
ol {
  list-style: none;
}
ul,
ol {
  padding: 0;
  webkit-padding: 0;
  moz-padding: 0;
}
hr {
  height: 2px;
  width: 70px;
  text-align: center;
  position: relative;
  background: #1e7a46;
  margin-bottom: 20px;
  border: 0;
}

/* Navigation */
#menu {
  padding: 15px;
  transition: all 0.8s;
}
#menu.navbar-default {
  background-color: #fff;
  border-color: rgba(231, 231, 231, 0);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
}
/* Brand gradient text (teal, red, orange, yellow) */
/* Brand layout tweaks for visibility and spacing */
/* Stack brand text and apply shared gradient */
#menu a.navbar-brand {
  display: flex;
  align-items: center;
  gap: 6px;
}
#menu a.navbar-brand .brand-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.05;
}
#menu a.navbar-brand .brand-text,
#menu a.navbar-brand .brand-tagline {
  /* Fallback solid color in case gradient-clip unsupported */
  color: #0ABEC6;
  white-space: nowrap; /* keep on one line each */
  background: linear-gradient(90deg, #0ABEC6 0%, #E53935 25%, #FB8C00 60%, #FDD835 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
#menu a.navbar-brand .brand-text {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.5px;
}
#menu a.navbar-brand .brand-tagline {
  margin-top: 2px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}
@media (max-width: 991px) {
  #menu a.navbar-brand .brand-text { font-size: 18px; }
  #menu a.navbar-brand .brand-tagline { font-size: 10px; }
}
#menu a.navbar-brand .logo {
  transition: transform 0.3s ease;
}

/* ==========================
   BPOS Digital – Logo Styling
   ========================== */
   .logo {
    display: inline-block;
    height: 48px;
    width: auto;
    object-fit: contain;
    transition: transform 0.4s ease, filter 0.3s ease;
  }
  
  /* Expand horizontally without distorting height */
  .logo.wide {
    width: 180px;        /* expand width */
    height: 40px;        /* maintain aspect ratio */
  }
  
  /* Optional hover effect to make logo feel interactive */
  .logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.25));
  }
  
  /* Responsive scaling for smaller devices */
  @media (max-width: 991px) {
    .logo.wide {
      width: 140px;
    }
  }
  @media (max-width: 576px) {
    .logo.wide {
      width: 120px;
    }
  }

#menu a.navbar-brand:hover .logo {
  transform: scale(1.1);
}

#menu a.navbar-brand .brand-text {
  background: linear-gradient(45deg, var(--brand-teal), #5ca9fb, var(--brand-teal-dark));
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
#menu.navbar-default .navbar-nav > li > a {
  font-family: "Lato", sans-serif;
  text-transform: uppercase;
  color: #0f2027 ;
  font-size: 15px;
  font-weight: 800;
  padding: 8px 2px;
  border-radius: 0;
  margin: 9px 20px 0;
  white-space: nowrap; /* Prevent text wrapping */
}

/* Ensure navbar stays on one line on desktop */
@media (min-width: 768px) {
  #menu.navbar-default .navbar-nav {
    display: flex;
    flex-wrap: nowrap;
  }
  
  #menu.navbar-default .navbar-nav > li > a {
    margin: 9px 15px 0; /* Slightly reduce spacing if needed */
  }
}

/* Further reduce spacing on medium screens if navbar is tight */
@media (min-width: 768px) and (max-width: 1200px) {
  #menu.navbar-default .navbar-nav > li > a {
    margin: 9px 12px 0;
    font-size: 14px;
  }
}
#menu.navbar-default .navbar-nav > li > a:after {
  display: block;
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, var(--brand-teal) 0%, #5ca9fb 100%);
  content: "";
  transition: width 0.2s;
}
#menu.navbar-default .navbar-nav > li > a:hover:after {
  width: 100%;
}
.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {
  background-color: transparent;
}
.navbar-default .navbar-nav > .active > a:after,
.navbar-default .navbar-nav > .active > a:hover:after,
.navbar-default .navbar-nav > .active > a:focus:after {
  display: block !important;
  position: absolute !important;
  left: 0 !important;
  bottom: -1px !important;
  width: 100% !important;
  height: 2px !important;
  background: linear-gradient(to right, var(--brand-teal) 0%, #5ca9fb 100%) !important;
  content: "" !important;
  transition: width 0.2s !important;
}
.navbar-toggle {
  border-radius: 0;
}
.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
  background-color: #fff;
  border-color: #608dfd;
}
.navbar-default .navbar-toggle:hover > .icon-bar {
  background-color: #608dfd;
}

/* Force brand text visibility and same gradient */
#menu .navbar-header .navbar-brand .brand-stack { display: flex; flex-direction: column; }
#menu .navbar-header .navbar-brand .brand-text,
#menu .navbar-header .navbar-brand .brand-tagline {
  display: inline-block;
  color: #0ABEC6 !important; /* fallback */
  background: linear-gradient(to right, #0f2027 0%, #203a43 50%, #2c5364 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  white-space: nowrap;
}

/* Dropdown Menu Styles */
#menu .dropdown-menu {
  background-color: #fff;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 4px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
  padding: 5px 0;
  min-width: 200px;
}

/* Fix dropdown positioning on smaller screens to prevent cutoff */
@media (max-width: 991px) {
  #menu .navbar-nav > li.dropdown > .dropdown-menu {
    right: 0;
    left: auto;
    transform: translateX(0);
  }
}

@media (max-width: 767px) {
  #menu .navbar-nav > li.dropdown > .dropdown-menu {
    right: auto;
    left: 0;
    transform: translateX(0);
  }
}

#menu .dropdown-menu > li > a {
  color: #333;
  padding: 8px 20px;
  display: block;
  clear: both;
  font-weight: 400;
  line-height: 1.42857143;
  white-space: nowrap;
  text-transform: none;
  font-size: 14px;
  text-decoration: none;
}

#menu .dropdown-menu > li > a:hover,
#menu .dropdown-menu > li > a:focus {
  color: #262626;
  text-decoration: none;
  background-color: #f5f5f5;
}

/* Nested Dropdown (Submenu) Styles */
#menu .dropdown-submenu {
  position: relative;
}

#menu .dropdown-submenu > .dropdown-menu {
  top: 0;
  left: 100%;
  margin-top: -6px;
  margin-left: -1px;
  border-radius: 0 6px 6px 6px;
}

#menu .dropdown-submenu:hover > .dropdown-menu {
  display: block;
}

/* Desktop hover behavior for nested dropdown */
@media (min-width: 768px) {
  #menu .dropdown-submenu:hover > .dropdown-menu {
    display: block;
  }
  
  /* Ensure dropdown stays open on hover */
  #menu .dropdown:hover > .dropdown-menu {
    display: block;
  }
  
  #menu .dropdown-submenu:hover > .dropdown-menu {
    display: block;
  }
}

/* Service Page 2 styling - make it same as Service Page 1 and 3 */

#menu .dropdown-submenu .service-page-2-link {
  display: block;
  padding: 8px 20px;
  color: #333;
  text-decoration: none;
  position: relative;
  padding-right: 40px; /* Space for caret */
}

#menu .dropdown-submenu .service-page-2-link:hover {
  color: #262626;
  background-color: #f5f5f5;
}

#menu .dropdown-submenu .dropdown-toggle-submenu {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  padding: 8px 5px;
  cursor: pointer;
  color: #333;
  text-decoration: none;
  display: flex;
  align-items: center;
  z-index: 1;
}

#menu .dropdown-submenu .dropdown-toggle-submenu:hover {
  color: #262626;
}

#menu .dropdown-submenu:hover .service-page-2-link {
  background-color: #f5f5f5;
}

#menu .dropdown-submenu .dropdown-toggle-submenu .caret {
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 2px;
  vertical-align: middle;
  border-top: 4px dashed;
  border-top: 4px solid;
  border-right: 4px solid transparent;
  border-left: 4px solid transparent;
}

/* Removed duplicate arrow - only one caret is shown now */

/* Fix nested dropdown positioning on smaller screens */
@media (max-width: 991px) {
  #menu .dropdown-submenu > .dropdown-menu {
    right: 100%;
    left: auto;
    margin-right: -1px;
    margin-left: 0;
    border-radius: 6px 0 6px 6px;
  }
}

/* Responsive Dropdown Styles */
@media (max-width: 767px) {
  #menu .dropdown-menu {
    position: static;
    float: none;
    width: auto;
    margin-top: 0;
    background-color: #fff;
    border: 0;
    box-shadow: none;
    padding-left: 20px;
    right: auto !important;
    left: 0 !important;
  }

  #menu .dropdown-submenu > .dropdown-menu {
    position: static;
    float: none;
    width: auto;
    margin-top: 0;
    background-color: #f5f5f5;
    border: 0;
    box-shadow: none;
    padding-left: 30px;
    right: auto !important;
    left: 0 !important;
    margin-right: 0 !important;
  }

  #menu .dropdown-submenu > a:after {
    display: none;
  }

  #menu .dropdown-menu > li > a {
    padding: 10px 15px;
  }

  #menu .dropdown-submenu .service-page-2-link {
    padding: 10px 15px;
    padding-right: 40px;
  }
  
  #menu .dropdown-submenu .dropdown-toggle-submenu {
    right: 5px;
    padding: 10px 5px;
  }
}

@media (min-width: 768px) {
  #menu .dropdown-submenu > .dropdown-menu {
    display: none;
  }
  #menu .dropdown-submenu:hover > .dropdown-menu {
    display: block;
  }
}

.section-title {
  margin-bottom: 70px;
}
.section-title h2 {
  position: relative;
  margin-top: 10px;
  margin-bottom: 15px;
  padding-bottom: 15px;
}
.section-title h2::after {
  position: absolute;
  content: "";
  background: linear-gradient(to right, #5ca9fb 0%, var(--brand-teal) 100%);
  height: 4px;
  width: 60px;
  bottom: 0;
  margin-left: -30px;
  left: 50%;
}
.section-title p {
  font-size: 18px;
}


/* === FIX: Remove extra top gap under navbar === */

/* Remove any unwanted body padding from Bootstrap or theme */
body {
  padding-top: 0 !important;
  margin-top: 0 !important;
  overflow-x: hidden;
}

/* Compensate for the fixed navbar height */
.navbar-fixed-top + #header {
  margin-top: 81px; /* your navbar height */
}

/* Make sure the header doesn't add internal top padding */
#header {
  padding-top: 0 !important;
  margin-top: 0 !important;
}




/* ================================
   FIXED HEADER / INTRO SECTION
================================ */
#header {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  margin: 0;
  padding: 0;
  position: relative;
  z-index: 10; /* keep above #about */
}

/* Learn more button */
.btn-custom {
  font-family: "Raleway", sans-serif;
  text-transform: uppercase;
  color: #fff;
  background: #023560;
  padding: 14px 34px;
  letter-spacing: 1px;
  margin: 0;
  transition: all 0.4s linear;
  font-size: 15px;
  font-weight: 500;
  border-radius: 25px;
  border: none;
  /* Learn more button shining effect */
  position: relative; 
  overflow: hidden;
}

/* Learn more button shining effect */
.btn-custom::after {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.5) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  transition: all 0.5s;
}
.btn-custom:hover::after {
  left: 125%;
}

/* optional subtle hover lift */
.btn-custom:hover {
  transform: translateY(-3px);
  color: #fff !important;
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.821);
  background: linear-gradient(to right, #0f2027 0%, #203a43 50%, #2c5364 100%)
}

.btn-custom:focus,
.btn-custom.focus,
.btn-custom:active,
.btn-custom.active {
  color: #fff;
  background-image: linear-gradient(to right, #0f2027 0%, #203a43 50%, #2c5364 100%);
}
.btn:active,
.btn.active {
  background-image: none;
  outline: 0;
  -webkit-box-shadow: none;
  box-shadow: none;
}
a:focus,
.btn:focus,
.btn:active:focus,
.btn.active:focus,
.btn.focus,
.btn:active.focus,
.btn.active.focus {
  outline: none;
  outline-offset: none;
}

/* === Wrapper for backgrounds === */
.intro {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  min-height: calc(100vh - 81px) !important; /* ensure full screen minus navbar */
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
}

/* === Create 3 background layers for crossfade === */
.intro-bg {
  position: absolute;
  inset: 0;
  background-color: linear-gradient(to right, #0f2027 0%, #203a43 50%, #2c5364 100%);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1);
  transition: opacity 1.5s ease-in-out, transform 18s ease-in-out;
  will-change: opacity, transform;
  backface-visibility: hidden;
  z-index: 1; /* below overlay/text */
}

/* === Assign backgrounds + staggered animations === */
.intro-bg:nth-child(1) {
  background-image: url("/img/intro-bg4.jpg");
  animation: fadeBg 27s infinite, zoomBg 27s infinite;
}
.intro-bg:nth-child(2) {
  background-image: url("/img/intro-bg2.jpg");
  animation: fadeBg 27s infinite 9s, zoomBg 27s infinite 9s;
}
.intro-bg:nth-child(3) {
  background-image: url("/img/intro-bg3.jpg");
  animation: fadeBg 27s infinite 18s, zoomBg 27s infinite 18s;
}

/* === Smooth fade-in/out === */
@keyframes fadeBg {
  0% { opacity: 0; }
  5% { opacity: 1; }   /* fade in */
  30% { opacity: 1; }  /* stay visible */
  35% { opacity: 0; }  /* fade out */
  100% { opacity: 0; }
}

/* === Subtle Ken Burns zoom (cinematic feel) === */
@keyframes zoomBg {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

/* === Overlay === */
.intro .overlay {
  position: absolute;
  inset: 0;
  background: rgba(164, 168, 173, 0.15);
  z-index: 2;
}

/* === Text Content === */
.intro-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  padding: 0 20px;
  text-align: center;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.intro-content h1 {
  font-family: "Raleway", sans-serif;
  color: #fff;
  font-size: 68px;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 20px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}
.intro-content p {
  color: #f1f1f1;
  font-size: 22px;
  font-weight: 300;
  line-height: 1.6;
  margin-bottom: 40px;
}
@media (max-width: 576px) {
  .intro-content h1 { font-size: 38px; }
  .intro-content p { font-size: 16px; }
}




/* ==============================================================
   BPOS Digital – About Section (with full responsive structure)
   ============================================================== */

/* 🖥️===========================
   DESKTOP / PC SCREENS (≥992px)
   =========================== */
   #about {
    position: relative;
    background: linear-gradient(135deg, #f5f8ff 0%, #ffffff 100%);
    padding-top: 80px;
    padding-bottom: 80px;
    overflow: hidden;
    z-index: 1;
    margin-top: 0;
  }
  
  /* Typography & Colors */
  #about h2 {
    color: #023560;
    position: relative;
    margin-bottom: 15px;
    padding-bottom: 15px;
  }
  #about h2::after {
    position: absolute;
    content: "";
    background: #023560;
    height: 4px;
    width: 60px;
    bottom: 0;
    left: 0;
  }
  #about h3 {
    color: #023560;
    font-size: 22px;
    margin: 0 0 20px;
  }
  #about p {
    color: #333;
    line-height: 24px;
    margin: 30px 0;
  }
  
  /* List Styles */
  #about .about-text {
    margin-top: 60px;
  }
  #about .about-text li {
    margin-bottom: 6px;
    margin-left: 6px;
    list-style: none;
    padding: 0;
  }
  #about .about-text li:before {
    content: "\f00c";
    font-family: "FontAwesome";
    color: #023560;
    font-size: 11px;
    font-weight: 300;
    padding-right: 8px;
  }
  
  /* Image Styles */
  #about img {
    width: 520px;
    margin-top: 10px;
    background: #fff;
    border-right: 0;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.06);
  }
  
  /* Decorative Background Bubbles */
  #about::before,
  #about::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: rgba(98, 166, 249, 0.15);
    z-index: 0;
    pointer-events: none;
  }
  #about::before {
    width: 200px;
    height: 200px;
    top: -60px;
    left: -60px;
    animation: float1 10s ease-in-out infinite alternate;
  }
  #about::after {
    width: 250px;
    height: 250px;
    bottom: -100px;
    right: -100px;
    animation: float2 12s ease-in-out infinite alternate;
  }
  
  /* Floating animation for subtle motion */
  @keyframes float1 {
    from { transform: translateY(0); opacity: 0.8; }
    to { transform: translateY(20px); opacity: 1; }
  }
  @keyframes float2 {
    from { transform: translateY(0); opacity: 0.9; }
    to { transform: translateY(-20px); opacity: 1; }
  }
  
  
  /* 📱===========================
     TABLETS (768px – 991px)
     =========================== */
  @media (min-width: 768px) and (max-width: 991px) {
    #about {
      padding-top: 70px;
      padding-bottom: 70px;
    }
  
    #about h2 {
      font-size: 30px;
    }
  
    #about h3 {
      font-size: 20px;
    }
  
    #about p {
      font-size: 15px;
      line-height: 1.7;
    }
  
    #about .about-text {
      margin-top: 40px;
    }
  
    /* ✅ Center-align image */
    #about img {
      display: block;
      margin: 40px auto 0 auto; /* center horizontally */
      width: 420px;
      max-width: 90%; /* responsive shrink */
    }
  
    /* Optional: Center align text blocks too if layout stacks vertically */
    #about .about-text {
      text-align: center;
    }
  }
  
  
/* 📞===========================
   MOBILES (≤767px)
   =========================== */
   @media (max-width: 767px) {
    #about {
      padding-top: 60px;
      padding-bottom: 60px;
    }
  
    #about h2 {
      font-size: 26px;
      text-align: center;
    }
  
    #about h2::after {
      left: 50%;
      transform: translateX(-50%);
    }
  
    #about h3 {
      font-size: 18px;
      text-align: center;
    }
  
    #about p {
      font-size: 14px;
      line-height: 1.7;
      margin: 20px 0;
      text-align: center;
    }
  
    #about .about-text {
      margin-top: 30px;
      text-align: center;
    }
  
    #about .about-text li {
      text-align: left;
      margin-left: 15px;
    }
  
    /* ✅ Center image on mobile — override any Bootstrap floats */
    #about img {
      display: block;
      margin: 30px auto 0 auto;
      width: 90%;
      max-width: 380px;
      float: none !important;         /* <– stop Bootstrap float */
    }
  
    /* ✅ Ensure parent column centers image (for Bootstrap grids) */
    #about .col-md-6,
    #about .col-sm-6,
    #about .col-xs-12 {
      display: flex;
      justify-content: center;
      align-items: center;
      flex-direction: column;
      text-align: center;
    }
  }
  



/* ==============================================================
   BPOS Digital – Features Section
   Organized Responsiveness for PC / Tablet / Mobile
   ============================================================== */

/* 🖥️===========================
   DESKTOP / PC SCREENS (≥992px)
   =========================== */
   #features {
    position: relative;
    background: #023560;
    padding-top: 50px;
    padding-bottom: 50px;
    overflow: hidden;
    z-index: 1;
  }
  
  /* Text & Icons */
  #features h2,
  #features h3,
  #features p {
    color: #fff;
  }
  
  #features i.fa {
    font-size: 38px;
    margin-bottom: 25px;
    margin-top: 5px;
    transition: all 0.5s;
    color: #fff;
    width: 100px;
    height: 100px;
    padding: 30px 0;
    border-radius: 50%;
    background: rgba(98, 166, 249, 0.15);
    box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.05);
  }
  
  /* Spacing & Layout */
  #features .col-xs-6.col-md-3 {
    margin-top: -70px !important;
    padding: 0 15px;
    min-width: 0;
  }
  
  #features h3 {
    margin: 0 0 25px 0 !important;
    font-size: 18px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
  }
  
  #features p {
    margin: 0 0 50px 0 !important;
    font-size: 14px;
    line-height: 1.6;
  }
  
  /* Decorative floating shapes */
  #features::before,
  #features::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: rgba(98, 166, 249, 0.15);
    z-index: 0;
    pointer-events: none;
  }
  
  #features::before {
    width: 200px;
    height: 200px;
    top: -60px;
    left: -60px;
    animation: float1 10s ease-in-out infinite alternate;
  }
  
  #features::after {
    width: 250px;
    height: 250px;
    bottom: -100px;
    right: -100px;
    animation: float2 12s ease-in-out infinite alternate;
  }
  
  /* Subtle floating animations */
  @keyframes float1 {
    from { transform: translateY(0); opacity: 0.8; }
    to { transform: translateY(20px); opacity: 1; }
  }
  @keyframes float2 {
    from { transform: translateY(0); opacity: 0.9; }
    to { transform: translateY(-20px); opacity: 1; }
  }
  
  
  /* 📱===========================
     TABLETS (768px – 991px)
     =========================== */
  @media (min-width: 768px) and (max-width: 991px) {
    #features {
      padding-top: 60px;
      padding-bottom: 60px;
    }
  
    #features .container {
      padding: 0 20px;
    }
  
    #features .section-title h2 {
      font-size: 32px;
      margin-bottom: 15px;
    }
  
    #features .section-subtitle {
      font-size: 15px;
      margin-bottom: 40px;
    }
  
    #features .col-xs-6.col-md-3 {
      padding: 0 15px;
      margin-top: -50px;
      margin-bottom: 40px;
    }
  
    #features i.fa {
      font-size: 32px;
      width: 80px;
      height: 80px;
      padding: 24px 0;
      margin-bottom: 20px;
    }
  
    #features h3 {
      font-size: 16px;
      margin-bottom: 15px;
      white-space: normal;
      overflow: visible;
      text-overflow: clip;
      line-height: 1.4;
    }
  
    #features p {
      font-size: 13px;
      margin-bottom: 30px;
      line-height: 1.6;
    }
  }
  
/* 📱===========================
   TABLETS (768px – 991px) — FIXED GRID ALIGNMENT
   =========================== */
   @media (min-width: 768px) and (max-width: 991px) {
    #features {
      padding-top: 70px;
      padding-bottom: 70px;
    }
  
    #features .container {
      padding: 0 25px;
    }
  
    #features .section-title h2 {
      font-size: 32px;
      margin-bottom: 20px;
    }
  
    #features .section-subtitle {
      font-size: 15px;
      margin-bottom: 45px;
    }
  
    /* ✅ Make row a flex container to control layout */
    #features .row {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      align-items: stretch;
    }
  
    /* ✅ Force 2 items per row evenly */
    #features .col-xs-6.col-md-3 {
      flex: 0 0 50%;
      max-width: 50%;
      box-sizing: border-box;
      padding: 0 20px;
      margin-top: 0 !important;
      margin-bottom: 50px;
      text-align: center;
    }
  
    #features i.fa {
      display: inline-block;
      font-size: 34px;
      width: 85px;
      height: 85px;
      padding: 26px 0;
      margin-bottom: 20px;
      margin-top: 0;
      background: rgba(98, 166, 249, 0.18);
      border-radius: 50%;
    }
  
    #features h3 {
      font-size: 17px;
      margin-bottom: 15px;
      line-height: 1.4;
      font-weight: 600;
      white-space: normal;
    }
  
    #features p {
      font-size: 14px;
      margin-bottom: 35px;
      line-height: 1.6;
    }
  }
  
  
/* 📞===========================
   MOBILES (≤767px) — FIXED OVERLAPPING ICONS
   =========================== */
   @media (max-width: 767px) {
    #features {
      padding-top: 60px;
      padding-bottom: 50px;
    }
  
    #features .container {
      padding: 0 15px;
    }
  
    #features .section-title {
      margin-bottom: 35px;
    }
  
    #features .section-title h2 {
      font-size: 28px;
      margin-bottom: 12px;
    }
  
    #features .section-subtitle {
      font-size: 14px;
      margin-bottom: 35px;
      padding: 0 10px;
    }
  
    #features .row {
      margin: 0 -10px;
    }
  
    #features .col-xs-6.col-md-3 {
      width: 100%;
      max-width: 100%;
      padding: 0 15px;
      margin-top: 0 !important; /* ✅ fix overlap */
      margin-bottom: 45px;
      flex: 0 0 100%;
      text-align: center;
    }
  
    #features i.fa {
      display: inline-block;
      font-size: 30px;
      width: 75px;
      height: 75px;
      padding: 22px 0;
      margin-bottom: 18px;
      margin-top: 0;
      background: rgba(98, 166, 249, 0.2);
    }
  
    #features h3 {
      font-size: 16px;
      margin-bottom: 12px;
      line-height: 1.4;
      font-weight: 600;
      white-space: normal;
    }
  
    #features p {
      font-size: 13px;
      margin-bottom: 25px;
      line-height: 1.6;
      padding: 0 5px;
    }
  }
  
  /* ✅ Optional: Slightly smaller phones */
  @media (max-width: 480px) {
    #features {
      padding-top: 40px;
      padding-bottom: 40px;
    }
  
    #features .section-title h2 {
      font-size: 24px;
    }
  
    #features .section-subtitle {
      font-size: 13px;
      line-height: 1.6;
    }
  
    #features .col-xs-6.col-md-3 {
      margin-bottom: 30px;
      padding: 0 10px;
    }
  
    #features i.fa {
      font-size: 24px;
      width: 60px;
      height: 60px;
      padding: 18px 0;
      margin-bottom: 12px;
    }
  
    #features h3 {
      font-size: 15px;
      margin-bottom: 10px;
    }
  
    #features p {
      font-size: 12px;
      margin-bottom: 20px;
      line-height: 1.6;
    }
  }
  
  





/* ========================================================================
   BPOS Digital – Unified Product Carousel / Gallery Section
   ------------------------------------------------------------------------
   📌 Purpose:
   This stylesheet defines the styling for the "Our Products" fullscreen
   dynamic carousel (used in #portfolio section). It ensures the carousel:
   - Fits full screen width and height
   - Is responsive across devices
   - Has hover, transition, and navigation effects
   - Cleanly integrates image + text layout
   ======================================================================== */

/* ====== 1️⃣ Base Section Setup ====== */
#portfolio {
  width: 100vw;
  min-height: 100vh;
  background: #f8f9fa;
  overflow: hidden;
  padding: 80px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* ====== 2️⃣ Section Title (Our Products) ====== */
#portfolio .section-title {
  text-align: center;
  margin-bottom: 40px;
}
#portfolio .section-title h2 {
  font-size: 40px;
  font-weight: 800;
  color: #023560;
  text-transform: uppercase;
  position: relative;
  margin-bottom: 20px;
}
#portfolio .section-title h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  width: 60px;
  height: 4px;
  background: #023560;
  transform: translateX(-50%);
  border-radius: 2px;
}

/* ====== 3️⃣ Carousel Container (Main Wrapper) ====== */
#portfolio .carousel-wrapper {
  position: relative;
  width: 100%;
  max-width: 1400px;
  height: 85vh;
  margin: 0 auto;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 60px;
}

/* ====== 4️⃣ Inner Track Area ====== */
#portfolio .carousel-track-container {
  width: 100%;
  height: 100%;
  overflow: hidden;
}
#portfolio .carousel-track {
  display: flex;
  width: 100%;
  transition: transform 0.6s ease-in-out;
}
#portfolio .carousel-slide {
  flex: 0 0 100%;
  height: 100%;
  display: flex;
  max-width: 100%;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  padding: 0 5%;
}

/* ====== 5️⃣ Slide Content Layout ====== */
#portfolio .product-slide {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 50px;
  width: 100%;
  height: 100%;
}

/* ====== 6️⃣ Product Image Styling ====== */
#portfolio .product-image-container {
  flex: 1.2;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 75vh;
}
#portfolio .product-image {
  max-height: 70vh;
  width: auto;
  max-width: 95%;
  border-radius: 12px;
  object-fit: contain;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  transition: transform 0.4s ease;
}
#portfolio .product-image:hover {
  transform: scale(1.04);
}

/* ====== 7️⃣ Product Text Styling ====== */
#portfolio .product-info {
  flex: 1;
  text-align: left;
  color: #333;
}
#portfolio .product-info h3 {
  color: #023560;
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 10px;
}
#portfolio .product-info p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
}
#portfolio .features-list {
  list-style: none;
  padding: 0;
}
#portfolio .features-list li {
  font-size: 15px;
  margin-bottom: 8px;
}
#portfolio .features-list i {
  color: #023560;
  margin-right: 8px;
}

/* ====== 8️⃣ Navigation Arrows ====== */
#portfolio .carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  border: 2px solid #023560;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  color: #023560;
  font-size: 18px;
}
#portfolio .carousel-arrow.left { left: 30px; }
#portfolio .carousel-arrow.right { right: 30px; }
#portfolio .carousel-arrow:hover {
  background: #023560;
  color: #fff;
  transform: translateY(-50%) scale(1.1);
}
#portfolio .carousel-arrow:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ====== 9️⃣ Pagination Dots ====== */
#portfolio .carousel-dots {
  display: flex;
  justify-content: center;
  margin-top: 25px;
  gap: 10px;
}
#portfolio .carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ccc;
  border: none;
  transition: all 0.3s ease;
  cursor: pointer;
}
#portfolio .carousel-dot.active {
  background: #023560;
  transform: scale(1.2);
}

/* ====== 🔟 Responsive ====== */
@media (max-width: 992px) {
  #portfolio .product-slide {
    flex-direction: column;
    text-align: center;
    gap: 30px;
    padding: 0 5%;
  }
  #portfolio .product-image-container {
    height: 45vh;
  }
  #portfolio .product-image {
    max-height: 40vh;
  }
  #portfolio .carousel-arrow {
    width: 42px;
    height: 42px;
  }
}
@media (max-width: 576px) {
  #portfolio .carousel-wrapper {
    padding: 0 20px;
    height: auto;
  }
  #portfolio .product-info h3 {
    font-size: 22px;
  }
  #portfolio .carousel-arrow {
    display: none;
  }
  #portfolio .carousel-dots {
    margin-top: 20px;
  }
}


/* ==============================================================
   BPOS Digital – Services Section (Fully Responsive)
   ============================================================== */

/* 🖥️===========================
   DESKTOP / PC SCREENS (≥992px)
   =========================== */
   #services {
    position: relative;
    padding: 100px 0;
    background: #023560;
    color: #fff;
    z-index: 1;
    overflow: hidden;
  }
  
  /* Text & Headings */
  #services h2,
  #services h3 {
    color: #fff;
  }
  #services p {
    color: rgba(255, 255, 255, 0.9);
  }
  #services .section-title h2::after {
    position: absolute;
    content: "";
    background: rgba(0, 0, 0, 0.15);
    height: 4px;
    width: 60px;
    bottom: 0;
    margin-left: -30px;
    left: 50%;
  }
  
  /* Layout */
  #services .row > [class^="col-"] {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 20px;
  }
  
  /* Icon Style */
  #services i.fa {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(98, 166, 249, 0.15);
    color: #fff;
    box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.1);
    margin-top: 35px;
    margin-bottom: 15px;
  }
  
  /* Cards */
  #services .service-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
    padding: 10px;
    transition: all 0.4s ease;
    transform: translateY(0) scale(1);
  }
  #services .service-card:hover {
    transform: translateY(-10px) scale(1.05);
  }
  #services .service-card h3 {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  #services .service-card p {
    min-height: 72px;
  }
  #services .service-desc {
    margin: 0;
    max-width: 360px;
    margin-bottom: 0px;
  }
  
  /* Decorative floating shapes */
  #services::before,
  #services::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: rgba(98, 166, 249, 0.15);
    z-index: 0;
  }
  #services::before {
    width: 200px;
    height: 200px;
    top: -60px;
    left: -60px;
  }
  #services::after {
    width: 250px;
    height: 250px;
    bottom: -100px;
    right: -100px;
  }
  #services * {
    position: relative;
    z-index: 1;
  }
  
  /* ✅ Ensure equal height rows */
  #services .services-row {
    display: flex;
    flex-wrap: wrap;
  }
  #services .services-row > [class^="col-"] {
    display: flex;
  }
  #services .services-row > [class^="col-"] > .service-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
  }
  
  
  /* 📱===========================
     TABLETS (768px – 991px)
     =========================== */
  @media (min-width: 768px) and (max-width: 991px) {
    #services {
      padding: 80px 0;
    }
  
    /* Make a 2x2 grid for iPad mini / tablets */
    #services .services-row {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      align-items: stretch;
      gap: 30px 0; /* vertical spacing */
    }
  
    #services .services-row > [class^="col-"] {
      flex: 0 0 50%;
      max-width: 50%;
      padding: 20px;
      box-sizing: border-box;
      display: flex;
      justify-content: center;
    }
  
    #services .service-card {
      padding: 20px;
    }
  
    #services i.fa {
      font-size: 38px;
      width: 100px;
      height: 100px;
      margin-top: 25px;
      margin-bottom: 15px;
    }
  
    #services h3 {
      font-size: 18px;
      margin-bottom: 10px;
    }
  
    #services p {
      font-size: 14px;
      line-height: 1.6;
    }
  }
  
  
  /* 📞===========================
     MOBILES (≤767px)
     =========================== */
  @media (max-width: 767px) {
    #services {
      padding: 70px 0;
    }
  
    #services .section-title h2 {
      font-size: 26px;
      margin-bottom: 20px;
    }
  
    #services .services-row {
      display: flex;
      flex-direction: column;
      align-items: center;
    }
  
    #services .services-row > [class^="col-"] {
      width: 100%;
      max-width: 100%;
      padding: 15px 0;
      display: flex;
      justify-content: center;
    }
  
    #services i.fa {
      font-size: 32px;
      width: 90px;
      height: 90px;
      margin-top: 20px;
      margin-bottom: 10px;
    }
  
    #services h3 {
      font-size: 16px;
      margin-bottom: 10px;
    }
  
    #services p {
      font-size: 13px;
      line-height: 1.6;
      margin-bottom: 25px;
      padding: 0 15px;
    }
  }
  
  



/* ==================================
   BPOS Digital – Testimonial Section
   ================================== */
#testimonials {
  padding: 100px 0;
  background: #f6f6f6;
}
#testimonials {
  background: linear-gradient(135deg, #f5f8ff 0%, #ffffff 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

/* Testimonials section text colors - override global styles */
#testimonials h2,
#testimonials h3,
#testimonials h4,
#testimonials p {
  color: #333;
}
#testimonials .section-title h2 {
  color:#023560;
  font-weight: 700;
  letter-spacing: 0.5px;
}
#testimonials .testimonial {
  background: #ffffff;
  border-radius: 16px;
  padding: 30px 25px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  margin-bottom: 40px;
  text-align: center;
  transition: all 0.4s ease;
  border-top: 5px solid #023560; /* brand accent */
}
#testimonials .testimonial:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
}
#testimonials .testimonial-image {
  text-align: center;
  margin-bottom: 20px;
}
#testimonials .testimonial-image img {
  width: 85px;
  height: 85px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #023560;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
#testimonials .testimonial-content p {
  font-style: italic;
  color: #4a4a4a;
  line-height: 1.7;
  font-size: 15.5px;
  margin-bottom: 15px;
}
#testimonials .testimonial-meta {
  color: #023560;
  font-weight: 600;
  font-size: 15px;
}

/* Decorative floating background shapes */
#testimonials::before,
#testimonials::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(98, 166, 249, 0.15);
  z-index: 0;
}
#testimonials::before {
  width: 200px;
  height: 200px;
  top: -60px;
  left: -60px;
}
#testimonials::after {
  width: 250px;
  height: 250px;
  bottom: -100px;
  right: -100px;
}

/* Mobile Responsiveness */
@media screen and (max-width: 480px) {
  #testimonials {
    padding: 60px 20px;
  }
  #testimonials .testimonial {
    padding: 25px 20px;
    margin-bottom: 25px;
  }
  #testimonials .testimonial-content p {
    font-size: 14.5px;
  }
  #testimonials .testimonial-meta {
    font-size: 13.5px;
  }
}
/* Learn More Button spacing - can be adjusted manually */
#about .about-learn-more-btn {
  margin-top: 40px;
}

@media (max-width: 768px) {
  #about img {
    margin: 50px 0;
  }
  #about .btn-custom {
    width: 100%;
    text-align: center;
    padding: 12px 20px;
    font-size: 14px;
  }
  #about .about-learn-more-btn {
    margin-top: 30px;
  }
}
@media (max-width: 480px) {
  #about .btn-custom {
    padding: 10px 15px;
    font-size: 13px;
  }
  #about .about-learn-more-btn {
    margin-top: 25px;
  }
}
@media screen and (max-width: 480px) {
  #testimonials {
    /*padding: 60px 20px;*/
    padding: 60px 0 !important; /* reduced from 100px or 80px */
  }
  #testimonials .testimonial {
    text-align: center;
    padding: 20px;
  }
  #testimonials .testimonial-content p {
    font-size: 14px;
    line-height: 1.6;
  }
  #testimonials .testimonial-meta {
    font-size: 13px;
    font-weight: 600;
  }
}

/* Product Pages Styling */
.product-page {
  background: #fff;
}

.product-content {
  padding: 20px 0;
}

.product-title {
  font-family: "Raleway", sans-serif;
  font-size: 48px;
  font-weight: 800;
  color: #023560;
  text-transform: uppercase;
  margin-bottom: 15px;
  line-height: 1.2;
}

.product-underline {
  width: 100px;
  height: 4px;
  background: linear-gradient(to right, #0ABEC6 0%, #608dfd 100%);
  margin-bottom: 30px;
}

.product-description {
  font-size: 16px;
  line-height: 1.8;
  color: #777;
  margin-bottom: 35px;
  max-width: 90%;
}

.btn-product-get-started {
  font-family: "Raleway", sans-serif;
  text-transform: uppercase;
  color: #fff;
  background: #023560;
  padding: 14px 34px;
  letter-spacing: 1px;
  margin: 0;
  transition: all 0.4s linear;
  font-size: 15px;
  font-weight: 500;
  border-radius: 25px;
  border: none;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.btn-product-get-started::after {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.5) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  transition: all 0.5s;
}

.btn-product-get-started:hover::after {
  left: 125%;
}

.btn-product-get-started:hover {
  transform: translateY(-3px);
  color: #fff !important;
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.821);
  background: linear-gradient(to right, #0f2027 0%, #203a43 50%, #2c5364 100%);
}

.btn-product-get-started:active {
  transform: translateY(0);
}

.product-subtitle {
  font-family: "Raleway", sans-serif;
  font-size: 36px;
  font-weight: 800;
  color: #023560;
  margin-top: 40px;
  margin-bottom: 15px;
  line-height: 1.2;
}

.product-image-wrapper {
  position: relative;
  text-align: center;
  padding: 20px;
}

.product-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.product-image:hover {
  transform: scale(1.02);
}

/* Responsive Product Pages */
@media (max-width: 991px) {
  .product-title {
    font-size: 36px;
  }
  
  .product-subtitle {
    font-size: 28px;
  }
  
  .product-description {
    max-width: 100%;
  }
  
  .product-image-wrapper {
    margin-top: 40px;
  }
}

@media (max-width: 767px) {
  .product-page {
    padding: 100px 15px 60px !important;
  }
  
  .product-title {
    font-size: 28px;
    margin-bottom: 10px;
  }
  
  .product-underline {
    width: 80px;
    height: 3px;
    margin-bottom: 20px;
  }
  
  .product-description {
    font-size: 15px;
    margin-bottom: 25px;
  }
  
  .btn-product-get-started {
    padding: 12px 28px;
    font-size: 14px;
    margin-bottom: 35px;
    width: 100%;
    max-width: 300px;
  }
  
  .product-subtitle {
    font-size: 22px;
    margin-top: 30px;
  }
  
  .product-image-wrapper {
    margin-top: 30px;
  }
}

@media (max-width: 480px) {
  .product-title {
    font-size: 24px;
  }
  
  .product-subtitle {
    font-size: 20px;
  }
  
  .product-description {
    font-size: 14px;
  }
  
  .btn-product-get-started {
    padding: 10px 24px;
    font-size: 13px;
  }
}

/* Service Page 2 - Dark Space Theme Design */
.service-page-2 {
  min-height: 100vh;
  background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 50%, #0f1419 100%);
  position: relative;
  overflow: hidden;
  padding: 0;
}

.service-page-2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 80% 20%, rgba(10, 190, 198, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(96, 141, 253, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.service-page-2-slide {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  z-index: 1;
}

.service-page-2-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 80px; /* Increased padding to prevent arrow overlap */
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  position: relative;
  z-index: 2;
}

.service-page-2-text {
  flex: 1;
  max-width: 600px;
  z-index: 3;
  padding-right: 20px; /* Extra padding to prevent arrow overlap */
}

.service-page-2-title {
  font-family: "Raleway", sans-serif;
  font-size: 72px;
  font-weight: 900;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 4px;
  margin: 0 0 10px 0;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
  line-height: 1.1;
}

.service-page-2-subtitle {
  font-family: "Raleway", sans-serif;
  font-size: 32px;
  font-weight: 600;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 0 0 40px 0;
  opacity: 0.9;
}

.service-page-2-description {
  font-family: "Open Sans", sans-serif;
  font-size: 18px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 50px 0;
  max-width: 90%;
}

.service-page-2-button {
  font-family: "Raleway", sans-serif;
  text-transform: uppercase;
  color: #fff;
  background: #023560;
  padding: 14px 34px;
  letter-spacing: 1px;
  margin: 0;
  transition: all 0.4s linear;
  font-size: 15px;
  font-weight: 500;
  border-radius: 25px;
  border: none;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.service-page-2-button::after {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.5) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  transition: all 0.5s;
}

.service-page-2-button:hover::after {
  left: 125%;
}

.service-page-2-button:hover {
  transform: translateY(-3px);
  color: #fff !important;
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.821);
  background: linear-gradient(to right, #0f2027 0%, #203a43 50%, #2c5364 100%);
}

.service-page-2-button:active {
  transform: translateY(0);
}

.service-page-2-image {
  flex: 1;
  max-width: 600px;
  position: relative;
  z-index: 2;
}

.service-page-2-product-img {
  width: 100%;
  height: auto;
  max-height: 600px;
  object-fit: contain;
  filter: drop-shadow(0 0 30px rgba(10, 190, 198, 0.4));
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* Navigation Arrows */
.service-page-2-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
}

.service-page-2-arrow:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-50%) scale(1.1);
}

.service-page-2-arrow:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.service-page-2-arrow.left {
  left: 20px; /* Positioned outside content area */
}

.service-page-2-arrow.right {
  right: 20px; /* Positioned outside content area */
}

/* Dots Indicator */
.service-page-2-dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.service-page-2-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.5);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.service-page-2-dot:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.8);
}

.service-page-2-dot.active {
  background: #fff;
  border-color: #fff;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
}

/* Responsive Service Page 2 */
@media (max-width: 991px) {
  .service-page-2-content {
    padding: 0 60px; /* Reduced padding for tablets */
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }
  
  .service-page-2-title {
    font-size: 48px;
  }
  
  .service-page-2-subtitle {
    font-size: 24px;
  }
  
  .service-page-2-description {
    font-size: 16px;
  }
  
  .service-page-2-text {
    max-width: 100%;
    padding-right: 0;
  }
  
  .service-page-2-description {
    max-width: 100%;
  }
  
  .service-page-2-image {
    max-width: 100%;
  }
  
  .service-page-2-arrow.left {
    left: 10px;
  }
  
  .service-page-2-arrow.right {
    right: 10px;
  }
}

@media (max-width: 767px) {
  .service-page-2-slide {
    padding: 100px 0 60px;
  }
  
  .service-page-2-content {
    padding: 0 60px; /* Extra padding for arrows on mobile */
    gap: 30px;
  }
  
  .service-page-2-title {
    font-size: 36px;
    letter-spacing: 2px;
  }
  
  .service-page-2-subtitle {
    font-size: 20px;
    margin-bottom: 30px;
  }
  
  .service-page-2-description {
    font-size: 15px;
    margin-bottom: 35px;
  }
  
  .service-page-2-button {
    padding: 14px 35px;
    font-size: 14px;
    width: 100%;
    max-width: 300px;
  }
  
  .service-page-2-arrow {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
  
  .service-page-2-arrow.left {
    left: 10px;
  }
  
  .service-page-2-arrow.right {
    right: 10px;
  }
  
  .service-page-2-dots {
    bottom: 30px;
  }
  
  .service-page-2-text {
    padding-right: 0;
  }
}

@media (max-width: 480px) {
  .service-page-2-title {
    font-size: 28px;
  }
  
  .service-page-2-subtitle {
    font-size: 18px;
  }
  
  .service-page-2-description {
    font-size: 14px;
  }
  
  .service-page-2-button {
    padding: 12px 30px;
    font-size: 13px;
  }
}

/* About Page Styling */
.about-page {
  min-height: 100vh;
  padding-top: 100px;
}

/* Top Section - Light Background */
.about-page-top {
  background: #F8F5ED;
  padding: 80px 0;
}

.about-story-label {
  display: inline-block;
  padding: 8px 20px;
  border: 1px solid #0ABEC6;
  border-radius: 25px;
  color: #0ABEC6;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 30px;
  font-family: "Raleway", sans-serif;
}

.about-main-heading {
  font-family: "Raleway", sans-serif;
  font-size: 48px;
  font-weight: 800;
  color: #023560;
  margin-bottom: 25px;
  line-height: 1.2;
}

.about-description {
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: #023560;
  margin-bottom: 0;
}

.about-statistics {
  padding-left: 40px;
}

.stat-item {
  margin-bottom: 20px;
}

.stat-number {
  font-family: "Raleway", sans-serif;
  font-size: 48px;
  font-weight: 800;
  color: #023560;
  line-height: 1;
  margin-bottom: 5px;
}

.stat-text {
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
  color: #023560;
  font-weight: 400;
}

.stat-divider {
  height: 1px;
  background: #E8E5D8;
  margin: 20px 0;
  width: 100%;
}

/* Middle Section - Image Gallery */
.about-page-middle {
  background: #F8F5ED;
  padding: 80px 0;
}

.about-gallery {
  position: relative;
}

.gallery-images {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  overflow: hidden;
}

.gallery-image-item {
  flex: 1;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.gallery-image-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-image-item:hover img {
  transform: scale(1.05);
}

.gallery-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.gallery-nav-buttons {
  display: flex;
  gap: 10px;
}

.gallery-nav-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #023560;
  background: transparent;
  color: #023560;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  font-size: 16px;
}

.gallery-nav-btn:hover {
  background: #023560;
  color: #fff;
}

.gallery-view-more {
  font-family: "Raleway", sans-serif;
  text-transform: uppercase;
  color: #fff;
  background: #023560;
  padding: 14px 34px;
  letter-spacing: 1px;
  transition: all 0.4s linear;
  font-size: 15px;
  font-weight: 500;
  border-radius: 25px;
  border: none;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  display: inline-block;
}

.gallery-view-more::after {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.5) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  transition: all 0.5s;
}

.gallery-view-more:hover::after {
  left: 125%;
}

.gallery-view-more:hover {
  transform: translateY(-3px);
  color: #fff !important;
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.821);
  background: linear-gradient(to right, #0f2027 0%, #203a43 50%, #2c5364 100%);
  text-decoration: none;
}

/* Bottom Section - Dark Background */
.about-page-bottom {
  background: linear-gradient(135deg, #023560 0%, #1a3633 100%);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.about-page-bottom::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(45deg, rgba(10, 190, 198, 0.05) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(10, 190, 198, 0.05) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(10, 190, 198, 0.05) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(10, 190, 198, 0.05) 75%);
  background-size: 60px 60px;
  background-position: 0 0, 0 30px, 30px -30px, -30px 0px;
  opacity: 0.3;
  pointer-events: none;
}

.about-bottom-heading {
  font-family: "Raleway", sans-serif;
  font-size: 42px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 60px;
  position: relative;
  z-index: 1;
}

.feature-block {
  text-align: left;
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
}

.feature-icon {
  width: 60px;
  height: 60px;
  border: 2px solid #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  color: #fff;
  font-size: 24px;
}

.feature-title {
  font-family: "Raleway", sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 15px;
}

.feature-description {
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
}

/* Product Learn More Button in Gallery */
.btn-product-learn-more {
  display: inline-block;
  margin-top: 25px;
  font-family: "Raleway", sans-serif;
  text-transform: uppercase;
  color: #fff;
  background: #023560;
  padding: 14px 34px;
  letter-spacing: 1px;
  transition: all 0.4s linear;
  font-size: 15px;
  font-weight: 500;
  border-radius: 25px;
  border: none;
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.btn-product-learn-more::after {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.5) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  transition: all 0.5s;
}

.btn-product-learn-more:hover::after {
  left: 125%;
}

.btn-product-learn-more:hover {
  transform: translateY(-3px);
  color: #fff !important;
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.821);
  background: linear-gradient(to right, #0f2027 0%, #203a43 50%, #2c5364 100%);
  text-decoration: none;
}

/* Responsive About Page */
@media (max-width: 991px) {
  .about-main-heading {
    font-size: 36px;
  }
  
  .about-statistics {
    padding-left: 0;
    margin-top: 40px;
  }
  
  .gallery-images {
    flex-direction: column;
  }
  
  .gallery-image-item img {
    height: 250px;
  }
  
  .about-bottom-heading {
    font-size: 32px;
  }
}

@media (max-width: 767px) {
  .about-page {
    padding-top: 80px;
  }
  
  .about-page-top,
  .about-page-middle,
  .about-page-bottom {
    padding: 60px 0;
  }
  
  .about-main-heading {
    font-size: 28px;
  }
  
  .stat-number {
    font-size: 36px;
  }
  
  .gallery-controls {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }
  
  .about-bottom-heading {
    font-size: 28px;
    margin-bottom: 40px;
  }
  
  .feature-title {
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .about-main-heading {
    font-size: 24px;
  }
  
  .about-description {
    font-size: 15px;
  }
  
  .stat-number {
    font-size: 32px;
  }
  
  .about-bottom-heading {
    font-size: 24px;
  }
}
#testimonials .testimonial {
  transform: translateY(0);
  transition: all 0.4s ease, transform 0.3s ease;
}
#testimonials .testimonial:hover {
  transform: translateY(-10px) scale(1.03);
}

/* === Testimonial Cards Fix === */
#testimonials .row {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch; /* Makes all cards equal height */
}
#testimonials .col-md-4 {
  display: flex;
}
.testimonial {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  padding: 30px 25px;
  margin-bottom: 30px;
  text-align: center;
  flex: 1; /* Fills equal height */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
}
.testimonial:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}
.testimonial-image img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #023560;
  margin-bottom: 20px;
}
.testimonial-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.testimonial-content p {
  font-style: italic;
  color: #444;
  flex-grow: 1;
  margin-bottom: 15px;
}
.testimonial-meta {
  font-weight: 600;
  color: #023560;
  margin-top: auto;
}




/* ===========================
   BPOS Digital – Team Section     (removed by changing it's file name into bkpTeam)
   =========================== */
#team {
  padding: 100px 0;
}
#team h4 {
  margin: 5px 0;
}
#team .team-img {
  width: 240px;
}
#team .thumbnail {
  background: transparent;
  border: 0;
}
#team .thumbnail .caption {
  padding: 10px 0 0;
  color: #888;
}




/* ==============================
   BPOS Digital – Contact Section
   ============================== */
#contact {
  position: relative;
  padding: 100px 0 60px;
  background: #023560;
  overflow: hidden;
}


/* Contact section text colors - override global styles */
#contact h2,
#contact h3,
#contact h4,
#contact p {
  color: rgba(255, 255, 255, 0.9);
}
#contact .section-title {
  margin-bottom: 40px;
}
#contact .section-title p {
  font-size: 16px;
}
#contact h2 {
  color: #fff;
  margin-top: 10px;
  margin-bottom: 15px;
  padding-bottom: 15px;
}
#contact .section-title h2::after {
  position: absolute;
  content: "";
  background: rgba(255, 255, 255, 0.3);
  height: 4px;
  width: 60px;
  bottom: 0;
  left: 30px;
}
#contact h3 {
  color: #fff;
  margin-top: 80px;
  margin-bottom: 25px;
  padding-bottom: 20px;
  font-weight: 400;
}
#contact form {
  padding-top: 20px;
}
#contact .text-danger {
  color: #cc0033;
  text-align: left;
}
#contact .btn-custom {
  margin: 30px 0;
  background: transparent;
  border: 2px solid #fff;
}
#contact .btn-custom:hover {
  color: #1f386e;
  background: linear-gradient(to right, #0f2027 0%, #203a43 50%, #2c5364 100%);
}
label {
  font-size: 12px;
  font-weight: 400;
  font-family: "Open Sans", sans-serif;
  float: left;
}
#contact .form-control {
  display: block;
  width: 100%;
  padding: 6px 12px;
  font-size: 16px;
  line-height: 1.42857143;
  color: #444;
  background-color: #fff;
  background-image: none;
  border: 1px solid #ddd;
  border-radius: 0;
  -webkit-box-shadow: none;
  box-shadow: none;
  -webkit-transition: none;
  -o-transition: none;
  transition: none;
}
#contact .form-control:focus {
  border-color: #999;
  outline: 0;
  -webkit-box-shadow: transparent;
  box-shadow: transparent;
}
.form-control::-webkit-input-placeholder {
  color: #777;
}
.form-control:-moz-placeholder {
  color: #777;
}
.form-control::-moz-placeholder {
  color: #777;
}
.form-control:-ms-input-placeholder {
  color: #777;
}
#contact .contact-item {
  margin: 20px 0;
}
#contact .contact-item span {
  color: rgba(255, 255, 255, 1);
  margin-bottom: 10px;
  display: block;
}
#contact .contact-item i.fa {
  margin-right: 10px;
}
#contact .social {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 50px;
  margin-top: 50px;
  text-align: center;
}
#contact .social ul li {
  display: inline-block;
  margin: 0 20px;
}
#contact .social i.fa {
  font-size: 22px;
  width: 48px;
  height: 48px;
  padding: 12px 0;
  border: 2px solid #fff;
  color: #fff;
  border-radius: 50%;
  transition: all 0.3s;
}
#contact .social i.fa:hover {
  color: var(--brand-teal);
  background: #fff;
}
#contact::before,
#contact::after {
  display: none;
}

#contact * {
  position: relative;
  z-index: 1; /* keep content above bubbles */
}

[data-aos="flip-left"],
[data-aos="flip-right"],
[data-aos="flip-up"] {
  transform-style: preserve-3d;
}

/* Contact form card styling - navy blue */
#contact .contact-card {
  background: linear-gradient(135deg, #1e3a72 0%, #2a5298 100%);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
  width: 100%;
  color: #fff; /* ensure readable text */
}
#contact .contact-card .row { margin-left: 0; margin-right: 0; }
#contact .contact-card .col-md-8, 
#contact .contact-card .col-md-3 { padding-top: 10px; padding-bottom: 10px; }
#contact .contact-card .section-title { margin-bottom: 20px; }
#contact .contact-card .btn-custom { margin-top: 10px; }

/* Bottom social + copyright */
#contact .social-bottom { 
  text-align: center; 
  margin-top: 80px; 
  padding-top: 50px; 
  border-top: 1px solid rgba(0,0,0,0.08);
}
#contact .social-bottom ul li { display: inline-block; margin: 0 12px; }
#contact .social-bottom i.fa { font-size: 22px; color: #1f1f1f; }
#contact .social-bottom i.fa:hover { color:#224ca0 0%, #2f72e4 100%; }
#contact .copyright-line { margin-top: 10px; color: #333; font-size: 13px; }

/* Full-bleed contact card - navy blue */
#contact .contact-full {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
 width: 100%;

  border-radius: 0;
  background: linear-gradient(135deg, #0d58ba 0%, #4989f8 100%);
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}



/* =============================
   BPOS Digital – Footer Section
   ============================= */
#footer {
  background: linear-gradient(135deg, #f5f8ff 0%, #ffffff 100%);
  padding: 30px 0;
}
#footer p {
  color: #023560;
  font-size: 14px;
}
#footer a {
  color: #023560;
}
#footer a:hover {
  border-bottom: 2px solid #023560;
}



