/********** Template CSS **********/
:root {
    --primary: #06263f;
    /*--primary: #2124B1;*/
    --secondary: #4777F5;
    --light: #F7FAFF;
    --dark: #1D1D27;
}

html, body {
  margin: 0 !important;
  padding: 0 !important;
  width: 100%;
  height: 100%;
}

body.loading {
  overflow: hidden !important;
}



/* ========================================
   BYTEGRID NAVBAR - CLEAN REBUILD
======================================== */

#mainNavbar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  transition: all 0.3s ease;
  background: transparent;
}

#mainNavbar .navbar-brand img {
  height: 52px;
  width: auto;
}

#mainNavbar .logo-dark,
#mainNavbar .logo-light {
  display: none;
}





/* =========================
   TOP STATE
========================= */
#mainNavbar.nav-top {
  background: transparent;
}

#mainNavbar.nav-top .logo-dark {
  display: inline-block;
}

#mainNavbar.nav-top .logo-light {
  display: none;
}

#mainNavbar.nav-top .nav-link {
  color: #ffffff !important;
}



/* active main nav link */
#mainNavbar .nav-link.active {
  position: relative;
  font-weight: 600;
  color: #4777F5 !important;
}

#mainNavbar .nav-link:hover,
#mainNavbar .nav-link:focus {
  color: #4777F5 !important;
}



#mainNavbar .nav-link.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 6px;
  width: 100%;
  height: 2px;
  background: #1e2096;
  border-radius: 2px;
}

/* careers button - top */
#mainNavbar .careers-btn {
  border-radius: 999px;
  padding: 0.5rem 1.5rem;
  font-weight: 300;
  transition: all 0.3s ease;
  text-decoration: none;
}

#mainNavbar.nav-top .careers-btn {
  background: #06263f;
  color: #ffffff !important;
  border: 1px solid #ffffff;
}

#mainNavbar.nav-top .careers-btn:hover,
#mainNavbar.nav-top .careers-btn:focus,
#mainNavbar.nav-top .careers-btn:active {
  background: #ffffff;
  color: #4777F5 !important;
  border-color: #ffffff;
}

/* =========================
   STICKY / SCROLLED STATE
========================= */
#mainNavbar.nav-scrolled {
  position: fixed;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

#mainNavbar.nav-scrolled .logo-dark {
  display: none;
}

#mainNavbar.nav-scrolled .logo-light {
  display: inline-block;
}

#mainNavbar.nav-scrolled .nav-link {
  color: #06263f !important;
}

#mainNavbar.nav-scrolled .nav-link:hover,
#mainNavbar.nav-scrolled .nav-link:focus {
  color: #06263f !important;
}

/* active stays same when scrolled */
#mainNavbar.nav-scrolled .nav-link.active {
  color: #1e2096 !important;
}

#mainNavbar.nav-scrolled .nav-link.active::after {
  background: #1e2096;
}

/* careers button - scrolled */
#mainNavbar.nav-scrolled .careers-btn {
  background: #06263f;
  color: #ffffff !important;
  border: 1px solid #06263f;
}

#mainNavbar.nav-scrolled .careers-btn:hover,
#mainNavbar.nav-scrolled .careers-btn:focus,
#mainNavbar.nav-scrolled .careers-btn:active {
  background: #1e2096;
  color: #ffffff !important;
  border-color: #1e2096;
}

/* =========================
   COMMON NAV STYLES
========================= */
#mainNavbar .navbar-nav .nav-link {
  font-weight: 500;
  padding: 28px 14px;
  transition: all 0.3s ease;
}

#mainNavbar .dropdown-menu {
  border: 0;
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  padding: 8px 0;
  min-width: 240px;
}

#mainNavbar .dropdown-item {
  padding: 10px 18px;
  color: #06263f;
  transition: all 0.25s ease;
}

#mainNavbar .dropdown-item:hover,
#mainNavbar .dropdown-item:focus {
  background: #eef2ff;
  color: #1e2096;
}

/* active child dropdown item */
#mainNavbar .dropdown-item.active,
#mainNavbar .dropdown-item:active {
  background: #1e2096; /* lighter than #1e2096 */
  color: #ffffff !important;
}

/* toggler */
#mainNavbar .navbar-toggler {
  box-shadow: none !important;
}

#mainNavbar.nav-top .navbar-toggler {
  border: 1px solid rgba(255, 255, 255, 0.45);
}

#mainNavbar.nav-top .navbar-toggler .fa-bars {
  color: #ffffff;
}

#mainNavbar.nav-scrolled .navbar-toggler {
  border: 1px solid rgba(6, 38, 63, 0.25);
}

#mainNavbar.nav-scrolled .navbar-toggler .fa-bars {
  color: #06263f;
}
#mainNavbar.nav-top {
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }

@media (min-width: 992px) {
  #mainNavbar .mobile-submenu {
    display: none !important;
  }

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


@media (max-width: 991.98px) {
  #mainNavbar {
    position: relative !important;
    background: #06263f !important;
    box-shadow: none !important;
  }

  /* mobile logo: gamitin yung gusto mong dark file */
  #mainNavbar .logo-light {
    display: none !important;
  }

  #mainNavbar .logo-dark {
    display: inline-block !important;
  }

  #mainNavbar .navbar-toggler {
    border: 1px solid rgba(255, 255, 255, 0.45) !important;
  }

  #mainNavbar .navbar-toggler .fa-bars {
    color: #ffffff !important;
  }

  #mainNavbar .navbar-collapse {
    background: #06263f;
    margin-top: 14px;
    padding: 16px 18px;
    border-radius: 14px;
  }

  #mainNavbar .navbar-nav .nav-link,
  #mainNavbar.nav-top .navbar-nav .nav-link,
  #mainNavbar.nav-scrolled .navbar-nav .nav-link {
    color: #ffffff !important;
    padding: 10px 0;
  }

  #mainNavbar .nav-link.active {
    color: #ffffff !important;
  }

  #mainNavbar .nav-link.active::after {
    display: none;
  }

  /* desktop dropdown hidden on mobile */
  #mainNavbar .dropdown-menu {
    display: none !important;
  }

  /* mobile toggle row */
  #mainNavbar .mobile-toggle {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }

  #mainNavbar .mobile-arrow {
    font-size: 12px;
    transition: transform 0.25s ease;
  }

  #mainNavbar .mobile-toggle.open .mobile-arrow {
    transform: rotate(180deg);
  }

  /* mobile submenu */
  #mainNavbar .mobile-submenu {
    display: none;
    margin: 4px 0 8px;
    padding: 8px 0 8px 10px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 10px;
  }

  #mainNavbar .mobile-submenu.show {
    display: block;
  }

  #mainNavbar .mobile-submenu .dropdown-item {
    display: block;
    color: #ffffff;
    padding: 8px 12px;
    border-radius: 8px;
  }

  #mainNavbar .mobile-submenu .dropdown-item:hover,
  #mainNavbar .mobile-submenu .dropdown-item:focus {
    background: transparent;
    color: #cfd8ff;
  }

  #mainNavbar .mobile-submenu .dropdown-item.active,
  #mainNavbar .mobile-submenu .dropdown-item:active {
    background: #4777F5;
    color: #ffffff !important;
  }

  #mainNavbar .careers-btn {
    display: none !important;
  }
}

@media (min-width: 992px) {
  #mainNavbar .mobile-submenu,
  #mainNavbar .mobile-toggle {
    display: none !important;
  }

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

  #mainNavbar .dropdown-menu {
    display: none;
  }
}


@media (max-width: 991.98px) {
  #mainNavbar .navbar-brand,
  #mainNavbar .navbar-toggler {
    position: relative;
    z-index: 1002;
  }

  #mainNavbar .navbar-collapse {
    position: relative;
    z-index: 1001;
  }
}


#page-loader {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  min-height: 100vh !important;
  background: #ffffff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 999999 !important;
  margin: 0 !important;
  padding: 0 !important;
}

#page-loader img {
  width: 300px !important;
  max-width: 300px !important;
  height: auto !important;
  display: block !important;
  margin: 0 !important;
  position: static !important;
}

body.loading #page-content {
  visibility: hidden !important;
}

body.loaded #page-content {
  visibility: visible !important;
}

body.loaded #page-loader {
  display: none !important;
}

#spinner {
  display: none !important;
}
   





.privacypolicy-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 99999;
}

.privacypolicy-modal.show {
  display: flex;
}

.privacypolicy-modal-card,
.privacypolicy-card {
  width: min(900px, 100%);
  max-height: 90vh;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
}

.privacypolicy-modal-header,
.privacypolicy-header,
.privacypolicy-modal-footer,
.privacypolicy-footer {
  flex-shrink: 0;
  padding: 18px 22px;
  background: #fff;
}

.privacypolicy-modal-header,
.privacypolicy-header {
  border-bottom: 1px solid #e9ecef;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.privacypolicy-modal-footer,
.privacypolicy-footer {
  border-top: 1px solid #e9ecef;
}

.privacypolicy-modal-body,
.privacypolicy-body {
  padding: 22px;
  overflow-y: auto;
  flex: 1 1 auto;
  min-height: 0;
}

.privacypolicy-modal-close,
.privacypolicy-close {
  background: transparent;
  border: 0;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}


.privacy-policy-content {
  color: #1f2937;
  font-size: 15px;
  line-height: 1.65;
}

.privacy-policy-content h2 {
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 12px;
  color: #111827;
}

.privacy-policy-content h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 10px;
  color: #111827;
}

.privacy-policy-content h4 {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 8px;
  color: #1f2937;
}

.privacy-policy-content p {
  margin: 0 0 12px;
}

.privacy-policy-content ul {
  margin: 0 0 12px 18px;
  padding: 0;
}

.privacy-policy-content li {
  margin-bottom: 6px;
}

.privacy-policy-intro {
  padding-bottom: 14px;
  margin-bottom: 18px;
  border-bottom: 1px solid #e5e7eb;
}

.privacy-policy-section {
  margin-bottom: 18px;
}

.privacy-policy-contact {
  padding: 16px 18px;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
}

.privacy-policy-content a {
  color: #0d6efd;
  text-decoration: none;
}

.privacy-policy-content a:hover {
  text-decoration: underline;
}










.bg-primary{background-color:#06263f !important}
.text-primary{color:#06263f !important}

/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}



.back-to-top.btn-primary,
.back-to-top.btn.btn-primary {
  background-color: #1e2096 !important;
  border-color: #1e2096 !important;
}

.back-to-top.btn-primary:hover,
.back-to-top.btn.btn-primary:hover {
  background-color: #fff !important;
  border-color: #fff !important;
  color: #1e2096 !important;
}



/*** Heading ***/
h1,
h2,
h3,
.fw-bold {
    font-weight: 700 !important;
}

h4,
h5,
h6,
.fw-medium {
    font-weight: 500 !important;
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 50px;
}


/*** Navbar ***/
.navbar-light .navbar-nav .nav-link {
    position: relative;
    margin-left: 25px;
    padding: 35px 0;
    color: var(--light) !important;
    outline: none;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-nav .nav-link {
    padding: 20px 0;
    color: var(--dark) !important;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--secondary) !important;
}

.navbar-light .navbar-brand h1 {
    color: #FFFFFF;
}

.navbar-light .navbar-brand img {
    max-height: 60px;
    transition: .5s;
}

.logo-light, .signin-dark {
    display: none;
}
.logo-dark, .signin-light {
    display: block;
}

.sticky-top .logo-light, .sticky-top .signin-dark {
    display: block;
}
.sticky-top .logo-dark, .sticky-top .signin-light {
    display: none;
}

.sticky-top.navbar-light .navbar-brand img {
    max-height: 45px;
}

@media (max-width: 991.98px) {
    .sticky-top.navbar-light {
        position: relative;
        background: #FFFFFF;
    }

    .navbar-light .navbar-collapse {
        margin-top: 15px;
        border-top: 1px solid #DDDDDD;
    }

    .navbar-light .navbar-nav .nav-link,
    .sticky-top.navbar-light .navbar-nav .nav-link {
        padding: 10px 0;
        margin-left: 0;
        color: var(--dark) !important;
    }

    .navbar-light .navbar-brand h1 {
        color: var(--primary);
    }

    .navbar-light .navbar-brand img {
        max-height: 45px;
    }
}

@media (min-width: 992px) {
    .navbar-light {
        position: absolute;
        width: 100%;
        top: 0;
        left: 0;
        border-bottom: 1px solid rgba(256, 256, 256, .1);
        z-index: 999;
    }
    
    .sticky-top.navbar-light {
        position: fixed;
        background: #FFFFFF;
    }

    .navbar-light .navbar-nav .nav-link::before {
        position: absolute;
        content: "";
        width: 0;
        height: 2px;
        bottom: -1px;
        left: 50%;
        background: var(--secondary);
        transition: .5s;
    }

    .navbar-light .navbar-nav .nav-link:hover::before,
    .navbar-light .navbar-nav .nav-link.active::before {
        width: 100%;
        left: 0;
    }

    .navbar-light .navbar-nav .nav-link.nav-contact::before {
        display: none;
    }

    .sticky-top.navbar-light .navbar-brand h1 {
        color: var(--primary);
    }
}

.footer-img-container {
    margin-top: 20px !important;
}

.number-email-container {
    display: flex;
    gap: 24px;
}

.location-text {
    display: flex;
    align-items: center;
    justify-content: center;
}


/*** Hero Header ***/
.hero-header {
/*    background:
        url(../img/bg-dot.png),
        url(../img/bg-dot.png),
        url(../img/bg-round.png),
        url(../img/bg-tree.png),
        url(../img/bg-bottom-hero.png);
    background-position:*/
/*        10px 10px,
        bottom 190px right 10px,
        left 55% top -1px,
        left 45% bottom -1px,
        center bottom -1px;
    background-repeat: no-repeat;
    background-size:
/*        auto,
        auto,
        auto,
        auto,
        100% auto;*/
}


/*** Section Title ***/
.section-title::before {
    position: absolute;
    content: "";
    width: 45px;
    height: 4px;
    bottom: 0;
    left: 0;
    background: var(--dark);
}

.section-title::after {
    position: absolute;
    content: "";
    width: 4px;
    height: 4px;
    bottom: 0;
    left: 50px;
    background: var(--dark);
}

.section-light::before, .section-light::after {
    background: var(--light);
}

.section-title.text-center::before {
    left: 50%;
    margin-left: -25px;
}

.section-title.text-center::after {
    left: 50%;
    margin-left: 25px;
}

/*.section-title h6::before,
.section-title h6::after {
    position: absolute;
    content: "";
    width: 10px;
    height: 10px;
    top: 2px;
    left: 0;
    background: rgba(33, 66, 177, .5);
}*/

.section-title h6::after {
    top: 5px;
    left: 3px;
}


/*** Service ***/
.service-item {
    position: relative;
    height: 350px;
    padding: 20px 10px 20px 10px;
    background: #FFFFFF;
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    transition: .5s;
}

.service-item:hover {
    background: var(--primary);
}

.service-item .service-icon {
    margin: 0 auto 10px auto;
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
/*    background: url(../img/icon-shape-primary.png) center center no-repeat;*/
    transition: .5s;
}

.service-item:hover .service-icon {
    color: var(--light);
    background: url(../img/hover.png);
}

.service-item h5,
.service-item p {
    transition: .5s;
}

.service-item:hover h5,
.service-item:hover p {
    color: var(--light);
}

.service-item a.btn {
    position: relative;
    display: flex;
    color: var(--primary);
    transition: .5s;
    z-index: 1;
}

.service-item:hover a.btn {
    color: var(--primary);
}

.service-item a.btn::before {
    position: absolute;
    content: "";
    width: 35px;
    height: 35px;
    top: 0;
    left: 0;
    border-radius: 35px;
    background: #DDDDDD;
    transition: .5s;
    z-index: -1;
}

.service-item:hover a.btn::before {
    width: 100%;
    background: var(--light);
}


/*** Project Portfolio ***/
.portfolio-overlay {
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 30px;
    top: 0;
    left: 0;
    background: var(--primary);
    transition: .5s;
    z-index: 1;
    opacity: 0;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-item .btn {
    position: absolute;
    width: 90px;
    height: 90px;
    top: 0px;
    right: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url(../img/icon-shape-white.png) center center no-repeat;
    border: none;
    transition: .5s;
    opacity: 0;
    z-index: 2;
}

.portfolio-item:hover .btn {
    opacity: 1;
    transition-delay: .15s;
}


/*** Footer ***/
.footer {
/*    background: url(../img/footer.png) center center no-repeat;
    background-size: contain;*/
}

.footer .btn.btn-social {
    margin-right: 5px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    border: 1px solid rgba(256, 256, 256, .1);
    border-radius: 40px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 10px;
    padding: 0;
    text-align: left;
    color: var(--light);
    font-weight: normal;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 14px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, .1);
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}

.testimonial-section {
  background: #2b2fcf;
  padding: 80px 0;
}

/* Swiper layout */
.swiper {
  padding: 40px 0;
}

.swiper-slide {
  transition: all 0.4s ease;
  display: flex;
  justify-content: center;
}

/* Default = dark (side cards) */
.testimonial-card {
  padding: 40px;
  border-radius: 16px;
  height: 100%;
  max-width: 360px;
  transition: all 0.4s ease;
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.25);
  transform: scale(0.92);
  opacity: 0.6;
}
    .testimonial-card h5 {
        color: #fff;
    }

/* ACTIVE (CENTER) */
.swiper-slide-active .testimonial-card {
  background: #ffffff;
  color: #1e293b;
  border: none;
  transform: scale(1);
  opacity: 1;
}
    .swiper-slide-active .testimonial-card h5 {
        color: #1e293b;
    }

/* Quote */
.quote {
  font-size: 60px;
  font-weight: 700;
  display: block;
  margin-bottom: 15px;
  opacity: 0.8;
}

.swiper-slide-active .quote {
  color: #1e293b;
}

/* Client */
.client {
  display: flex;
  align-items: center;
  gap: 15px;
}

.client img {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  object-fit: cover;
}

.client h5 {
  margin: 0;
  font-size: 16px;
}

.client span {
  font-size: 14px;
  opacity: 0.7;
}

/* Navigation */
.swiper-button-next,
.swiper-button-prev {
  color: #fff;
}

.team-section {
  background: #fff;
}

/* Card */
.team-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  text-align: center;
  transition: all 0.4s ease;
  position: relative;
}

/* Image */
.team-img {
  position: relative;
  overflow: hidden;
}

.team-img img {
  width: 100%;
  border-radius: 16px 16px 0 0;
}

/* Social icons */
.team-social {
  position: absolute;
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 12px;
  opacity: 0;
  transition: all 0.4s ease;
}

.team-social a {
  width: 40px;
  height: 40px;
  background: #ffffff;
  color: #06263f;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Info */
.team-info {
  padding: 25px;
  transition: all 0.4s ease;
}

.team-info h5 {
  margin-bottom: 5px;
  font-weight: 700;
}

.team-info span {
  font-size: 14px;
  color: #6b7280;
}

/* HOVER EFFECT */
.team-card:hover,
.team-card.active {
  background: #06263f;
}

.team-card:hover .team-info h5,
.team-card:hover .team-info span,
.team-card.active .team-info h5,
.team-card.active .team-info span {
  color: #ffffff;
}

.team-card:hover .team-social,
.team-card.active .team-social {
  opacity: 1;
  left: 30px;
}

/* Icon hover */
.team-social a:hover {
  background: #06263f;
  color: #fff;
}

/* Background overlay */
.privacypolicy-modal {
  display: none;          /* hidden by default */
  position: fixed;
  inset: 0;               /* top:0; left:0; bottom:0; right:0 */
  background: rgba(0,0,0,0.6);
  z-index: 9999;
  overflow-y: auto;       /* allow scrolling if content is tall */
  padding: 1rem;
}

/* Modal card */
.privacypolicy-modal-card {
  background: #fff;
  margin: 5% auto;        /* vertical and horizontal centering */
  padding: 2rem;          /* inner spacing */
  width: 700px;           /* <-- increase this to make modal wider */
  max-width: 90%;         /* ensures it still fits on small screens */
  border-radius: 8px;
  position: relative;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

/* Modal header */
.privacypolicy-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

/* Modal title */
.privacypolicy-modal-header h3 {
  margin: 0;
  font-size: 1.5rem;
}

/* Close button (top-right) */
.privacypolicy-modal-close {
  background: none;
  border: none;
  font-size: 1.25rem;
  cursor: pointer;
}

/* Modal body */
.privacypolicy-modal-body {
  margin-bottom: 1.5rem;
}

/* Footer */
.privacypolicy-modal-footer {
  text-align: right;
  gap: 0.5rem;
}

/* Buttons in footer */
.privacypolicy-modal-footer .btn {
  cursor: pointer;
}

/* === ByteGrid brand button/link overrides === */
:root {
  --bg-brand-primary: #06263f;
  --bg-brand-secondary: #1e2096;
}

a,
a:visited {
  color: var(--bg-brand-primary);
}

a:hover,
a:focus,
a:active {
  color: var(--bg-brand-secondary);
}

.btn-primary,
.btn.btn-primary,
button.btn-primary,
input[type="button"].btn-primary,
input[type="submit"].btn-primary,
input[type="reset"].btn-primary {
  background-color: var(--bg-brand-primary) !important;
  border-color: var(--bg-brand-primary) !important;
  color: #fff !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active,
.show > .btn-primary.dropdown-toggle,
.btn-check:checked + .btn-primary,
.btn-check:active + .btn-primary {
  background-color: var(--bg-brand-secondary) !important;
  border-color: var(--bg-brand-secondary) !important;
  color: #fff !important;
  box-shadow: none !important;
}

.btn-secondary,
.btn.btn-secondary,
button.btn-secondary,
input[type="button"].btn-secondary,
input[type="submit"].btn-secondary,
input[type="reset"].btn-secondary {
  background-color: #fff !important;
  border-color: var(--bg-brand-primary) !important;
  color: var(--bg-brand-primary) !important;
}

.btn-secondary:hover,
.btn-secondary:focus,
.btn-secondary:active,
.btn-secondary.active,
.show > .btn-secondary.dropdown-toggle,
.btn-check:checked + .btn-secondary,
.btn-check:active + .btn-secondary {
  background-color: var(--bg-brand-secondary) !important;
  border-color: var(--bg-brand-secondary) !important;
  color: #fff !important;
  box-shadow: none !important;
}


/* Footer / service / portfolio button color alignment */
.service-item a.btn,
.service-item:hover a.btn,
.portfolio-item .btn,
.portfolio-item:hover .btn,
.privacypolicy-modal-footer .btn,
.footer .btn.btn-link:hover,
.footer .btn.btn-link,
.footer .btn.btn-link::before {
  color: var(--bg-brand-primary);
}

.footer .btn.btn-link:hover {
  color: var(--bg-brand-secondary);
}


/* ===== PATCH: unify active navbar underline across all items ===== */
#mainNavbar.navbar-light .navbar-nav .nav-link::before,
#mainNavbar.navbar-light .navbar-nav .nav-link:hover::before,
#mainNavbar.navbar-light .navbar-nav .nav-link.active::before,
#mainNavbar.navbar-light .navbar-nav .nav-link.nav-contact::before {
  display: none !important;
  content: none !important;
}

#mainNavbar .nav-link.active::after {
  height: 3px !important;
  background: #4777F5 !important;
  border-radius: 3px !important;
}

#mainNavbar.nav-scrolled .nav-link.active,
#mainNavbar.nav-top .nav-link.active {
  color: #4777F5 !important;
}
