/*
===================
SKIN: PTB INTERNATIONAL
Brand Colors: Blue, Yellow, Grey
===================
*/

@import url('https://fonts.googleapis.com/css?family=Mukta+Vaani:300,400,500,700|Sanchez|Open+Sans:800');

/*
* ===================
* PTB BRAND COLORS
* ===================
* Primary Blue: #0056b3
* Vibrant Yellow: #ffc107
* Dark Grey: #2c3e50
* Light Grey: #f8f9fa
*/

:root {
  --ptb-blue: #0056b3;
  --ptb-blue-dark: #003d82;
  --ptb-blue-light: #0066cc;
  --ptb-yellow: #ffc107;
  --ptb-yellow-dark: #e0a800;
  --ptb-yellow-light: #ffcd39;
  --ptb-grey-dark: #2c3e50;
  --ptb-grey: #6c757d;
  --ptb-grey-light: #f8f9fa;
}

/*
* ===================
* FONTS
* ===================
*/

body,
.adv-img p,
.caption-bottom p,
.adv-circle .caption p,
.advs-box p,
p {
  font-family: 'Mukta Vaani', sans-serif;
  font-size: 15px;
  line-height: 23px;
  font-weight: 300;
  color: #555555;
}

.timeline > li > .timeline-label p,
.niche-box-testimonails-cloud p,
.adv-img-half-content .big-text,
.adv-big h2,
.advs-box-side-img h2 a,
.step-number,
.font-2,
.block-quote,
.niche-box-post h2,
.home-slider li p,
.title-base p,
.box-menu-inner .icon-box-cell p,
.pricing-table h3,
.adv-img-down-text .caption-bottom p,
.tweets_txt span,
.comment-list .name span,
.tag-row a,
.tag-row.icon-row span,
.niche-box-team h4,
.niche-box-testimonails-cloud .name-box .subtitle .subtxt,
.adv-img-full-content p,
.quote-author,
.niche-box-testimonails > h5 span {
  font-family: 'Sanchez', cursive;
  line-height: 25px;
}

.pricing-price,
.text-black {
  font-family: 'Open Sans', cursive;
}

.timeline-body > p {
  font-size: 14px;
}

/*
* ===================
* PRIMARY BLUE COLORS
* ===================
*/
.mega-menu .fa-ul .fa-li,
li.panel-item .fa-li,
.btn-default i,
.btn i,
.btn-text i,
.list-texts li b,
.side-menu i,
.accordion-list .list-group-item > a.active,
.img-box.i-bottom i:before,
.accordion-list .list-group-item:after,
.pricing-table .pricing-price span,
.btn-text,
.dropdown-menu > li > a:before,
.navbar-nav > li.dropdown > a:after,
.nav-pills > li > a:hover,
.fa-li,
i.icon,
.counter-inverse .icon-box-cell p,
i.square,
i.circle,
.niche-box-testimonails > h5 span,
.timeline small a.collapse-button:hover,
li.panel-item .fa-li,
.fullpage-menu li.active i,
.fullpage-menu li.active span,
.fullpage-menu li:hover i,
.fullpage-menu li:hover span,
.icon-list .list-item i,
.adv-img i,
.accordion-list .list-group-item > a:hover,
.side-menu > li.active > a > i,
.navbar-default .navbar-nav > .active > a,
.adv-img-full-content p.sub {
  color: #0056b3;
}

.overlaybox .btn-group-icons .btn i {
  color: #fff;
}

header .navbar-nav .dropdown li > a:hover,
.pricing-table .pricing-price,
.list-group-item.pricing-price:hover,
.nav-tabs > li:hover > a,
.nav-tabs > li:hover > a i,
.nav-tabs > li.active > a,
.nav-tabs > li.active > a i,
.list-group-item:not(.active):hover > a:not(.btn),
.icon-menu .navbar-collapse ul.nav > li > a:hover i,
header .btn-search:hover,
.nav.ms-minimal > li.active > a,
.icon-background.boxed-inverse:not(.bg-color) .i-background,
.icon-box-cell > i,
.advs-box.boxed a.btn,
.advs-box.boxed a i,
.dropdown.btn-group .active > a,
.bootgrid-header .dropdown-item:hover,
.white .box-side-icon-small .icon-box i,
.btn-text:hover,
.side-menu .active > a,
.sidebar-nav a:hover,
.sidebar-nav a:focus,
.sidebar-nav a:active,
.advs-box-top-icon .icon,
.advs-box-top-icon.boxed .btn,
.footer-minimal .footer-title,
.advs-box-top-icon.boxed .circle-button,
.white .text-color,
.text-color,
.boxed .circle-button:hover i,
.btn-text i,
.boxed .circle-button,
.tag-row i,
.pagination > .active > a,
.pagination > li > a:hover,
.datepicker-panel > ul > li:hover,
.adv-img-button-content .caption i,
.white .icon-box-cell > i.square,
.white .icon-box-cell > i.circle,
.navbar-default .navbar-nav > li:hover > a,
.navbar-default .navbar-nav > li.active > a,
header .navbar-nav > li.active > a i,
.white .pagination > li > a:hover,
.white .pagination > .active > a,
.btn-border {
  color: #0056b3 !important;
}

/* Blue Backgrounds */
[class*='col-md-'].boxed,
.fa-angle-up.scroll-top,
.call-action-box,
.white .img-box.adv-img-half-content .caption,
.ul-dots li:before,
.header-bootstrap,
.btn-default:active,
.btn-default.active,
.open > .dropdown-toggle.btn-default {
  background-color: #0056b3 !important;
}

.bg-color,
.home-fullpage p,
.home-fullpage a:hover,
ul.side-menu li.active:before,
#twosides-menu,
.subline-bar,
.accordion-list .list-group-item:before,
.advs-box.boxed .advs-box-content,
.advs-box.boxed,
.box-social-page,
.btn,
.circle-button .navbar-inner .nav:not(.ms-rounded) li a:before {
  background-color: #0056b3;
}

.white .btn {
  background-color: #0056b3 !important;
  border-color: #0056b3 !important;
}

div.adv-img-side-content .btn:hover,
.nav-pills > li.active > a,
.mega-menu .nav-tabs li.active,
.list-items .list-item span,
div.adv-img-side-content .btn:hover i,
.nav.inner.ms-rounded li a:hover,
.nav.inner.ms-rounded li.active a,
.datepicker-panel > ul > li.picked,
.datepicker-panel > ul > li.picked:hover {
  border-color: #0056b3 !important;
  color: #0056b3 !important;
}

.white .btn:hover,
.niche-box-post.boxed .block-infos {
  border-color: #0056b3 !important;
}

.circle-button,
.btn-border,
.btn {
  border-color: #0056b3;
}

.tab-box > .panel,
.niche-box-team .content-box hr,
hr.e,
.datepicker-top-left,
.datepicker-top-right {
  border-top-color: #0056b3 !important;
}

.tab-box.right .panel-box,
.adv-big,
.mi-menu li.active {
  border-right-color: #0056b3 !important;
}

.title-base.text-left p .img-box.adv-img-half-content .caption {
  border-left-color: #0056b3 !important;
}

.list-items .list-item:hover,
.title-modern h2,
.tab-box.inverse .panel,
.datepicker-top-left:before,
.datepicker-top-right:before,
.navbar .nav > li.active {
  border-bottom-color: #0056b3 !important;
}

/* Blue Hover States */
.subline-bar li:hover,
.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus,
.btn:hover {
  background-color: #003d82 !important;
}

.header-base .breadcrumb.b a,
.header-base .breadcrumb > .active {
  color: #003d82 !important;
}

.btn-border:hover {
  color: #003d82 !important;
  border-color: #003d82 !important;
}

.advs-box-top-icon.boxed .icon,
.white .btn:hover,
.advs-box.boxed a.btn {
  background-color: #003d82 !important;
  border-color: #003d82 !important;
}

.btn:hover,
body div .btn.white:hover {
  border-color: #003d82 !important;
}

.flex-direction-nav li a {
  background-color: #0056b3 !important;
}

@media (max-width: 992px) {
  header.bg-transparent .navbar-default .navbar-nav > li.active > a {
    color: #0056b3 !important;
  }
}

/*
* ===================
* VIBRANT YELLOW ACCENT COLORS
* ===================
*/
.btn-accent,
.btn-yellow {
  background-color: #ffc107 !important;
  border-color: #ffc107 !important;
  color: #2c3e50 !important;
}

.btn-accent:hover,
.btn-yellow:hover {
  background-color: #e0a800 !important;
  border-color: #e0a800 !important;
}

/* Yellow Highlights */
.title-base hr,
hr.anima {
  background-color: #ffc107;
  height: 4px !important;
}

.progress-bar {
  background-color: #ffc107 !important;
}

.text-accent,
.text-yellow {
  color: #ffc107 !important;
}

.bg-accent,
.bg-yellow {
  background-color: #ffc107 !important;
}

.advs-box-multiple div.circle {
  background-color: #ffc107;
  color: #2c3e50;
}

.flex-control-paging li a.flex-active,
.flex-control-paging li a:hover {
  background-color: #ffc107 !important;
}

.timeline > li > .timeline-badge,
.timeline > li:hover > .timeline-badge {
  background-color: #ffc107;
  color: #2c3e50;
}

.block-infos p.bd-day {
  background-color: #ffc107 !important;
  color: #2c3e50 !important;
}

.adv-img-half-content .sub-text {
  background-color: #ffc107 !important;
  color: #2c3e50 !important;
}

/* Social Icons with Yellow Hover */
.social-group i.circle,
.social-button i.circle {
  background-color: #0056b3;
  border-color: #0056b3;
  color: #fff !important;
}

.social-group i.circle:hover,
.social-button i.circle:hover,
.social-line .social-group i.circle:hover {
  background-color: #ffc107 !important;
  border-color: #ffc107 !important;
  color: #2c3e50 !important;
}

/* Yellow Accent Border */
.advs-box.boxed-inverse,
[class*='col-md-'].boxed-inverse {
  border: 1px solid #e2e2e2 !important;
  border-top: 4px solid #ffc107 !important;
  background-color: #fff;
}

/* Service Box Yellow Accent */
.advs-box-top-icon.boxed-inverse .icon,
.advs-box-top-icon.boxed-inverse {
  border: 1px solid #e2e2e2 !important;
}

.advs-box-top-icon.boxed-inverse {
  border-top: 4px solid #ffc107 !important;
}

/*
* ===================
* HEADER & NAVIGATION - PROMINENT BRANDING
* ===================
*/
header.fixed-top {
  background-color: #ffffff;
}


header .navbar-main {
  border-bottom: none;
  padding-top: 0;
}

/* Navigation links */
header .navbar-nav {
  margin-bottom: 0;
}

.navbar-default .navbar-nav > li > a {
  transition: all 0.3s ease;
}

.navbar-default .navbar-nav > li.active > a,
.navbar-default .navbar-nav > li:hover > a {
  color: #1e4b8e !important;
}

header .navbar-brand {
  padding: 10px 15px;
  height: auto;
}

header .navbar-brand img {
  max-height: 55px;
  transition: transform 0.3s ease;
}

header .navbar-brand:hover img {
  transform: scale(1.02);
}

/*
* ===================
* HERO BUTTONS (shared across all pages)
* ===================
*/
.hero-btn {
  display: inline-block;
  padding: 13px 32px;
  font-family: 'HomepageBaukasten Bold', Arial, sans-serif;
  font-size: 14px;
  font-weight: normal;
  border-radius: 15px;
  text-decoration: none;
  letter-spacing: 0.3px;
  transition: all 0.25s ease;
  color: #fff;
  text-align: center;
}
.hero-btn:hover,
.hero-btn:focus {
  text-decoration: none;
  color: #fff;
}
.hero-btn-primary {
  background: rgba(0, 74, 173, 0.7);
  color: #fff;
  box-shadow: 0 2px 8px rgba(0, 74, 173, 0.3);
  border: none;
}
.hero-btn-primary:hover {
  background: rgba(0, 74, 173, 1);
  box-shadow: 0 4px 16px rgba(0, 74, 173, 0.4);
  transform: translateY(-1px);
  color: #fff;
}
.hero-btn-secondary {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
}
.hero-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  transform: translateY(-1px);
  border-color: #fff;
}

/*
* ===================
* FOOTER
* ===================
*/
footer.footer-base {
  background: rgba(255, 255, 255, 0.95) !important;
  border-top: none !important;
  position: relative;
  overflow: hidden;
  color: #1a1a2e;
  font-family: 'HomepageBaukasten Bold', Arial, sans-serif !important;
  letter-spacing: 0.3px;
}

/* Override base style.css footer defaults */
footer.footer-base {
  background-color: #f0f4f8 !important;
}

footer.footer-base .container {
  padding: 0 15px;
}

/* Footer row — responsive margins (replaces inline style) */
.footer-row {
  margin-left: 30px;
  margin-right: 30px;
}

footer.footer-base p {
  font-family: 'HomepageBaukasten Bold', Arial, sans-serif !important;
  font-weight: normal;
  color: #4a5568;
  letter-spacing: 0.3px;
}

footer.footer-base h5 {
  margin-top: 0;
}

footer.footer-base::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #004aad, #f6d00b);
}

footer.footer-base::after {
  display: none;
}

.footer-main {
  padding: 35px 0 25px;
}

.footer-main .container {
  padding: 0 15px !important;
}

.footer-main .row {
  display: flex;
  flex-wrap: wrap;
}

.footer-col {
  margin-bottom: 20px;
  text-align: left;
}

/* Logo */
.footer-logo {
  max-width: 140px;
  margin-bottom: 14px;
  filter: none;
  opacity: 1;
}

/* Tagline */
.footer-tagline {
  font-family: 'HomepageBaukasten Bold', Arial, sans-serif !important;
  font-weight: normal;
  font-size: 0.85rem;
  letter-spacing: 0.3px;
  line-height: 1.6;
  color: #4a5568;
  margin-bottom: 16px;
}

/* Contact items */
.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: 'HomepageBaukasten Bold', Arial, sans-serif !important;
  font-weight: normal;
  font-size: 0.82rem;
  letter-spacing: 0.3px;
  line-height: 1.5;
  color: #4a5568;
}

.footer-contact-item i {
  color: #004aad;
  font-size: 13px;
  margin-top: 3px;
  width: 16px;
  text-align: center;
  flex-shrink: 0;
}

.footer-contact-item a {
  color: #4a5568;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-contact-item a:hover {
  color: #004aad;
}

/* Headings */
.footer-heading {
  color: #004aad !important;
  font-family: 'HomepageBaukasten Bold', Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
  padding-bottom: 8px;
  position: relative;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: #f6d00b;
}

.footer-heading-social {
  margin-top: 24px;
}

/* Links */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links li a {
  color: #4a5568;
  text-decoration: none;
  font-family: 'HomepageBaukasten Bold', Arial, sans-serif !important;
  font-weight: normal;
  font-size: 0.85rem;
  letter-spacing: 0.3px;
  transition: all 0.2s ease;
  position: relative;
  padding-left: 0;
}

.footer-links li a::before {
  content: '';
  display: inline-block;
  width: 0;
  height: 1px;
  background: #f6d00b;
  vertical-align: middle;
  margin-right: 0;
  transition: all 0.2s ease;
}

.footer-links li a:hover {
  color: #004aad;
  padding-left: 12px;
}

.footer-links li a:hover::before {
  width: 8px;
  margin-right: 4px;
}

/* Certification badges */
.footer-badges {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-badges img {
  height: 34px;
  width: auto;
  object-fit: contain;
  opacity: 0.75;
  transition: opacity 0.3s ease;
  padding: 4px 8px;
  border-radius: 4px;
}

.footer-badges img:hover {
  opacity: 1;
}

/* Social icons */
.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 6px;
  background: rgba(0, 74, 173, 0.1);
  color: #004aad;
  text-decoration: none;
  transition: all 0.25s ease;
}

.footer-social a i {
  font-size: 15px;
  color: #004aad !important;
}

.footer-social a:hover {
  background: #004aad;
  transform: translateY(-2px);
}

.footer-social a:hover i {
  color: #fff !important;
}

/* Bottom bar */
.footer-bottom {
  border-top: 1px solid rgba(0, 74, 173, 0.1);
  padding: 12px 0;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: 'HomepageBaukasten Bold', Arial, sans-serif !important;
  font-weight: normal;
  font-size: 0.75rem;
  letter-spacing: 0.3px;
  color: #4a5568;
}

.footer-powered a {
  color: #004aad;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-powered a:hover {
  color: #f6d00b;
}

/* Footer responsive — Tablet */
@media (max-width: 991px) {
  .footer-row {
    margin-left: 15px;
    margin-right: 15px;
  }
  .footer-main {
    padding: 40px 0 24px;
  }

  .footer-main .row {
    display: flex;
    flex-wrap: wrap;
  }

  /* Brand column: full width, centered */
  .footer-main .col-md-5 {
    width: 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }

  /* Reset the offset so Quick Links sits flush */
  .footer-main .col-md-offset-1 {
    margin-left: 0;
  }

  /* Quick Links, Services, Certifications: three equal columns */
  .footer-main .col-md-2 {
    width: 33.333%;
    flex: 0 0 33.333%;
    max-width: 33.333%;
  }

  .footer-heading::after {
    left: 50%;
    transform: translateX(-50%);
  }

  footer.footer-base .footer-col {
    text-align: center;
    margin-bottom: 24px;
  }

  /* Brand section: generous spacing below to breathe before links */
  footer.footer-base .footer-main .col-md-5.footer-col {
    margin-bottom: 8px;
    padding-bottom: 28px;
  }

  .footer-logo {
    max-width: 120px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 12px;
    display: block;
  }

  .footer-tagline {
    max-width: 380px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 18px;
    line-height: 1.65;
  }

  .footer-contact-list {
    align-items: center;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

  .footer-contact-item {
    justify-content: center;
    text-align: left;
  }

  .footer-badges {
    justify-content: center;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-links li a:hover {
    padding-left: 0;
  }

  .footer-links li a:hover::before {
    display: none;
  }

  /* Bottom bar — stacked, centered */
  .footer-bottom {
    padding: 14px 0;
  }
  .footer-bottom-inner {
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }
}

/* Footer accordion — hidden checkbox (all screens) */
.footer-toggle {
  display: none;
}

/* Footer responsive — Small screens */
@media (max-width: 768px) {
  .footer-main {
    padding: 34px 0 18px;
  }

  footer.footer-base .footer-col {
    margin-bottom: 6px;
  }
  footer.footer-base .footer-main .col-md-5.footer-col {
    margin-bottom: 6px;
    padding-bottom: 22px;
  }

  /* Logo — slightly smaller for proportion */
  .footer-logo {
    max-width: 110px;
    margin-bottom: 10px;
  }

  /* Tagline — constrained for readability */
  .footer-tagline {
    font-size: 0.82rem;
    margin-bottom: 16px;
    max-width: 340px;
  }

  /* Contact — tighter but readable */
  .footer-contact-list {
    gap: 11px;
  }

  /* Heading spacing — tighter, cleaner */
  .footer-heading {
    margin-bottom: 10px;
    padding-bottom: 6px;
    font-size: 0.78rem;
    letter-spacing: 1.8px;
  }
  .footer-heading-social {
    margin-top: 14px;
  }

  /* Link list spacing */
  .footer-links li {
    margin-bottom: 7px;
  }
  .footer-links li a {
    font-size: 0.83rem;
  }

  /* Badges — 2x2 grid */
  .footer-badges {
    display: grid;
    grid-template-columns: repeat(2, auto);
    gap: 8px;
    justify-content: center;
  }
  .footer-badges img {
    height: 30px;
  }

  /* Bottom bar */
  .footer-bottom {
    padding: 12px 0;
  }
  .footer-bottom-inner {
    gap: 4px;
    font-size: 0.72rem;
  }
}

/* Footer responsive — Phone */
@media (max-width: 576px) {
  .footer-row {
    margin-left: 8px;
    margin-right: 8px;
  }
  .footer-main {
    padding: 28px 0 8px;
  }

  /* Brand section — centered, constrained, breathing room below */
  footer.footer-base .footer-main .col-md-5.footer-col {
    padding-bottom: 6px;
    margin-bottom: 10px;
  }

  .footer-logo {
    max-width: 100px;
    margin-bottom: 10px;
  }

  .footer-tagline {
    font-size: 0.8rem;
    line-height: 1.6;
    max-width: 300px;
    margin-bottom: 14px;
  }

  .footer-contact-list {
    gap: 10px;
    max-width: 320px;
  }

  .footer-contact-item {
    font-size: 0.78rem;
    gap: 8px;
  }

  .footer-contact-item i {
    font-size: 12px;
    margin-top: 2px;
  }

  /* ---- Links section: Company + Services side by side ---- */
  .footer-main .footer-accordion,
  .footer-certs-social {
    width: 100% !important;
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }

  .footer-main .footer-accordion {
    width: 50% !important;
    flex: 0 0 50% !important;
    max-width: 50% !important;
    text-align: center;
    margin-bottom: 0;
    padding-top: 18px;
    padding-bottom: 14px;
  }

  /* Breathing room between the two link columns via inner padding */
  .footer-main .col-md-offset-1.footer-accordion {
    padding-right: 10px;
  }
  .footer-main .col-md-2.footer-accordion:not(.col-md-offset-1) {
    padding-left: 10px;
  }

  /* Footer Company & Services — always visible on mobile */
  .footer-accordion .footer-heading {
    cursor: default;
    text-align: center;
    margin-bottom: 10px;
    padding-bottom: 8px;
    font-size: 0.72rem;
    letter-spacing: 2px;
  }
  .footer-accordion .footer-heading::before {
    display: none;
  }
  .footer-accordion .footer-heading::after {
    width: 22px;
    height: 2px;
  }
  .footer-accordion .footer-links {
    max-height: none;
    overflow: visible;
    margin-top: 2px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding-left: 0;
  }
  .footer-accordion .footer-links li {
    margin-bottom: 4px;
  }
  .footer-accordion .footer-links li a {
    font-size: 0.8rem;
    color: #4a5568;
    display: inline-block;
    padding: 6px 0;
    min-height: 44px;
    line-height: 1.6;
  }
  .footer-accordion .footer-links li:last-child {
    margin-bottom: 0;
  }

  /* ---- Certifications & Social: stacked vertically ---- */
  .footer-certs-social {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 10px 0 6px !important;
    margin-top: 2px;
  }

  /* Certifications block — centered, full width */
  .footer-certs-block {
    width: 100%;
    text-align: center;
    padding: 0;
    margin-bottom: 16px;
  }
  .footer-certs-block .footer-heading {
    display: block;
    text-align: center;
    font-size: 0.7rem;
    letter-spacing: 2px;
    margin-bottom: 10px;
    padding-bottom: 6px;
  }
  .footer-certs-block .footer-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
  }
  .footer-certs-block .footer-badges img {
    height: 30px;
    padding: 2px 4px;
    opacity: 0.8;
  }

  /* Follow Us block — centered below certifications */
  .footer-social-block {
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
  }
  .footer-social-block .footer-heading {
    display: block;
    text-align: center;
    font-size: 0.7rem;
    letter-spacing: 2px;
    margin-bottom: 10px;
    padding-bottom: 6px;
  }
  .footer-social-block .footer-heading-social {
    margin-top: 0;
  }
  .footer-social-block .footer-social {
    justify-content: center;
  }
  .footer-social-block .footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 8px;
  }

  /* ---- Bottom bar — clean, stacked, and deliberate ---- */
  .footer-bottom {
    padding: 16px 0 24px;
  }
  .footer-bottom-inner {
    flex-direction: column;
    gap: 8px;
    text-align: center;
    font-size: 0.7rem;
    line-height: 1.5;
    padding: 0 16px;
  }
  .footer-bottom-inner > span:first-child {
    order: 1;
  }
  .footer-bottom-links {
    order: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
  }
  .footer-divider {
    display: none;
  }
  .footer-powered {
    opacity: 0.55;
    font-size: 0.63rem;
    letter-spacing: 0.2px;
  }
}

/*
* ===================
* SECTION BACKGROUNDS - VIBRANT BRANDING
* ===================
*/
.section-bg-color {
  background-color: #f0f4f8 !important;
  position: relative;
}

/* Alternating section pattern for visual interest */
.section-bg-color::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: #ffc107;
}

/* Blue Section */
.section-blue,
.bg-blue {
  background: #0056b3 !important;
  color: #ffffff;
  position: relative;
}

.section-blue::after,
.bg-blue::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: #ffc107;
}

.section-blue h1,
.section-blue h2,
.section-blue h3,
.section-blue h4,
.bg-blue h1,
.bg-blue h2,
.bg-blue h3,
.bg-blue h4 {
  color: #ffffff !important;
}

.section-blue p,
.bg-blue p {
  color: #e8e8e8 !important;
}

/* Yellow Section - BOLD & ATTENTION GRABBING */
.section-yellow,
.bg-yellow-section {
  background: #ffc107 !important;
  color: #2c3e50;
  position: relative;
}

.section-yellow::before,
.bg-yellow-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: #0056b3;
}

.section-yellow h1,
.section-yellow h2,
.section-yellow h3,
.bg-yellow-section h1,
.bg-yellow-section h2,
.bg-yellow-section h3 {
  color: #0056b3 !important;
}

/* Grey Section */
.section-grey,
.bg-grey {
  background: #2c3e50 !important;
  color: #ffffff;
}

.section-grey h1,
.section-grey h2,
.section-grey h3,
.section-grey h4,
.bg-grey h1,
.bg-grey h2,
.bg-grey h3,
.bg-grey h4 {
  color: #ffffff !important;
}

/* BRANDED SECTIONS - Add yellow accents */
.section-empty,
.section-item {
  position: relative;
}

/* Decorative corner accent for sections - disabled */
.section-empty .title-base::before,
.section-item .title-base::before {
  display: none;
}

/*
* ===================
* BUTTONS - ULTRA VIBRANT STYLING
* ===================
*/
.btn {
  transition: all 0.3s ease;
  padding: 14px 36px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transition: left 0.5s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary,
.btn-default,
.btn {
  background: #0056b3 !important;
  border: none !important;
  color: #ffffff !important;
  box-shadow: 0 4px 15px rgba(0, 86, 179, 0.3);
}

.btn-primary:hover,
.btn-default:hover,
.btn:hover {
  background: #003d82 !important;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 86, 179, 0.5);
}

.btn-border {
  background: transparent !important;
  border: 3px solid #0056b3 !important;
  color: #0056b3 !important;
  box-shadow: none;
}

.btn-border:hover {
  background: #0056b3 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 15px rgba(0, 86, 179, 0.4);
}

/* Yellow Button Variant - BOLD & PROMINENT */
.btn-yellow,
.btn-accent {
  background: #ffc107 !important;
  border: none !important;
  color: #2c3e50 !important;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(255, 193, 7, 0.4);
}

.btn-yellow:hover,
.btn-accent:hover {
  background: #e0a800 !important;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 193, 7, 0.5);
}

/* Dual Color Button */
.btn-dual {
  background: #0056b3 !important;
  transition: all 0.3s ease;
}

.btn-dual:hover {
  background: #ffc107 !important;
  color: #2c3e50 !important;
}

/*
* ===================
* HEADINGS & TEXT
* ===================
*/
h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
h5,
h6,
.icon-box.text-bold label,
.countdown .countdown-values {
  color: #2c3e50;
}

a {
  color: #0056b3;
  transition: color 0.3s;
}

a:hover {
  color: #ffc107;
}

.text-color {
  color: #0056b3 !important;
}

/*
* ===================
* TAB STYLING - VIBRANT
* ===================
*/
.nav-tabs {
  border-bottom: 3px solid #e9ecef;
  position: relative;
}

.nav-tabs::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 3px;
  background: #ffc107;
  transition: width 0.3s ease;
}

.nav-tabs > li > a {
  color: #2c3e50;
  font-weight: 600;
  border: none;
  border-radius: 0;
  padding: 15px 25px;
  transition: all 0.3s ease;
  position: relative;
  margin-right: 5px;
}

.nav-tabs > li > a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: transparent;
  transition: background 0.3s ease;
}

.nav-tabs > li > a:hover {
  background-color: rgba(0, 86, 179, 0.05);
  color: #0056b3;
}

.nav-tabs > li > a:hover::before {
  background: #0056b3;
}

.nav-tabs > li.active > a,
.nav-tabs > li.active > a:hover,
.nav-tabs > li.active > a:focus {
  background: #0056b3 !important;
  color: #ffffff !important;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 86, 179, 0.3);
}

.nav-tabs > li.active > a::before {
  background: #ffc107 !important;
  height: 4px;
}

.nav-tabs > li.active > a i {
  color: #ffc107 !important;
}

.tab-box > .panel {
  border-top: 4px solid #ffc107 !important;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  border-radius: 0 0 8px 8px;
}

/* Tab content area */
.tab-box .panel {
  padding: 30px;
  background: #ffffff;
}

/*
* ===================
* GRID TABLE BORDERS
* ===================
*/
.grid-table.full-border-table {
  border: 2px solid #0056b3 !important;
}

.grid-table.full-border-table td {
  border-color: #dee2e6;
}

.grid-table.full-border-table td:hover {
  background-color: #f8f9fa;
}

/*
* ===================
* CARDS & BOXES - VIBRANT BRANDING
* ===================
*/
.advs-box.boxed {
  background: #0056b3;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  transition: all 0.3s ease;
}

.advs-box.boxed::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: #ffc107;
}

.advs-box.boxed:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 86, 179, 0.4);
}

.advs-box.boxed .advs-box-content {
  background: transparent;
}

.advs-box.boxed h3 {
  color: #ffffff;
}

.advs-box.boxed p {
  color: #e8e8e8;
}

.advs-box.boxed-inverse {
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
}

.advs-box.boxed-inverse:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.advs-box.boxed-inverse .extra-content {
  background: #ffc107;
  color: #2c3e50;
}

/* Service icon boxes */
.advs-box-top-icon {
  transition: all 0.3s ease;
  border-radius: 8px;
}

.advs-box-top-icon:hover {
  transform: translateY(-5px);
}

.advs-box-top-icon .icon {
  background: #0056b3 !important;
  color: #ffffff !important;
  box-shadow: 0 8px 25px rgba(0, 86, 179, 0.3);
  transition: all 0.3s ease;
}

.advs-box-top-icon:hover .icon {
  background: #ffc107 !important;
  color: #2c3e50 !important;
  transform: scale(1.1);
}

/* Icon box styling */
.icon-box-cell > i {
  color: #0056b3 !important;
  transition: all 0.3s ease;
}

.icon-box:hover .icon-box-cell > i {
  color: #ffc107 !important;
  transform: scale(1.1);
}

/* Image boxes */
.adv-img {
  border-radius: 8px;
  overflow: hidden;
}

.adv-img .caption {
  background: rgba(0, 86, 179, 0.95);
}

.adv-img:hover .caption {
  background: rgba(255, 193, 7, 0.95);
}

.adv-img:hover .caption h2,
.adv-img:hover .caption p {
  color: #2c3e50 !important;
}

/*
* ===================
* PROGRESS BARS
* ===================
*/
.progress {
  overflow: visible;
  height: 8px;
  background-color: #e9ecef;
  border-radius: 4px;
}

.progress-bar {
  box-shadow: none !important;
  background-color: #ffc107 !important;
  height: 8px;
  border-radius: 4px;
}

.progress-bar > span {
  color: #2c3e50;
  font-weight: 700;
}

.progress-label {
  font-weight: 700;
  color: #2c3e50;
  text-transform: uppercase;
}

/*
* ===================
* COUNTERS & STATS - VIBRANT
* ===================
*/
.counter,
.counter-box-icon label {
  color: #0056b3 !important;
  font-weight: 700;
  text-shadow: 1px 1px 2px rgba(0, 86, 179, 0.1);
}

.counter-box-icon {
  transition: all 0.3s ease;
  padding: 20px;
  border-radius: 8px;
}

.counter-box-icon:hover {
  background: rgba(0, 86, 179, 0.05);
  transform: translateY(-5px);
}

.counter-box-icon:hover .counter {
  color: #ffc107 !important;
}

.counter-box-icon p {
  color: #2c3e50;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.counter-box-icon i {
  color: #ffc107 !important;
  font-size: 48px;
  margin-bottom: 15px;
  transition: all 0.3s ease;
}

.counter-box-icon:hover i {
  transform: scale(1.2);
  color: #0056b3 !important;
}

/* Progress circles */
.progress-circle {
  position: relative;
}

.progress-circle .inner-circle {
  background: #ffffff;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.progress-circle .inner-circle .main {
  color: #0056b3 !important;
  font-weight: 700;
}

/*
* ===================
* TESTIMONIALS
* ===================
*/
.niche-box-testimonails > h5 span {
  color: #ffc107 !important;
}

.block-quote.quote-1:before,
.block-quote.quote-2:before {
  color: #ffc107;
  opacity: 0.5;
}

/*
* ===================
* PORTFOLIO/GALLERY
* ===================
*/
.adv-img-down-text h2 {
  color: #2c3e50;
}

.adv-img-down-text h2:hover {
  color: #0056b3;
}

.maso-filters li a {
  transition:
    color 0.3s ease,
    border-bottom 0.3s ease;
  padding-bottom: 5px;
  border-bottom: 2px solid transparent;
}

.maso-filters li.active a,
.maso-filters li.current-active a,
.maso-filters li a:hover {
  color: #0056b3 !important;
  border-bottom: 2px solid #ffc107;
}

/*
* ===================
* FORM ELEMENTS
* ===================
*/
.form-control {
  border: 2px solid #dee2e6;
  border-radius: 3px;
}

.form-control:focus {
  border-color: #0056b3;
  box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.1);
}

/*
* ===================
* SCROLL TO TOP - BRANDED
* ===================
*/
.scroll-top {
  background: #0056b3 !important;
  color: #ffffff !important;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(0, 86, 179, 0.4);
  transition: all 0.3s ease;
  border: 3px solid #ffc107;
}

.scroll-top:hover {
  background: #ffc107 !important;
  color: #2c3e50 !important;
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 8px 25px rgba(255, 193, 7, 0.5);
  border-color: #0056b3;
}

.scroll-top-mobile {
  background: #ffc107 !important;
  color: #2c3e50 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 1;
  padding: 0;
}
.scroll-top-mobile::before {
  display: none !important;
  content: none !important;
}
.scroll-top-mobile::after {
  content: "";
  width: 10px;
  height: 10px;
  border-top: 3px solid #2c3e50;
  border-right: 3px solid #2c3e50;
  transform: rotate(-45deg);
  margin-top: 4px;
}
@media (max-width: 576px) {
  .scroll-top-mobile {
    width: 44px;
    height: 44px;
    right: 14px;
    bottom: 24px;
    box-shadow: 0 2px 10px rgba(0, 86, 179, 0.25);
    border-width: 2px;
  }
}

/*
* ===================
* PAGE HEADERS - BOLD BRANDING
* ===================
*/
.header-title {
  position: relative;
  overflow: hidden;
}

.header-title:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 86, 179, 0.9);
  z-index: 1;
}

/* Decorative diagonal stripe */
.header-title:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 8px;
  background: #ffc107;
  z-index: 3;
}

.header-title .container {
  position: relative;
  z-index: 2;
}

.header-title h1 {
  color: #ffffff !important;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  position: relative;
}

.header-title p {
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 18px;
}

.header-title .title-base hr {
  background-color: #ffc107 !important;
  height: 5px !important;
  width: 80px;
  box-shadow: 0 2px 10px rgba(255, 193, 7, 0.5);
}

/* Hero slider enhancements */
.home-slider {
  position: relative;
}

.home-slider::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: #ffc107;
  z-index: 99;
}

/*
* ===================
* PRICING TABLES
* ===================
*/
.pricing-table .pricing-price {
  color: #0056b3 !important;
  font-size: 48px;
}

.pricing-table .pricing-name {
  background-color: #0056b3;
  color: #ffffff;
}

.pricing-table-big .pricing-name {
  background-color: #ffc107;
  color: #2c3e50;
}

/*
* ===================
* FLEXSLIDER
* ===================
*/

/* Carousel container positioning */
.flexslider.carousel {
  position: relative;
}

/* Direction nav container */
.flexslider .flex-direction-nav {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  z-index: 10;
  pointer-events: none;
  margin: 0;
  padding: 0;
  list-style: none;
  height: 0;
}

/* Nav buttons base style */
.flex-direction-nav li {
  position: absolute;
  pointer-events: auto;
}

.flex-direction-nav li:first-child {
  left: -20px;
}

.flex-direction-nav li:last-child {
  right: -20px;
}

.flex-direction-nav li a,
.flex-direction-nav a {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 45px !important;
  height: 45px !important;
  background-color: #0056b3 !important;
  border-radius: 50% !important;
  color: #ffffff !important;
  text-decoration: none;
  opacity: 1 !important;
  box-shadow: 0 4px 15px rgba(0, 86, 179, 0.3);
  transition: all 0.3s ease;
}

.flex-direction-nav li a:hover,
.flex-direction-nav a:hover {
  background-color: #ffc107 !important;
  color: #2c3e50 !important;
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(255, 193, 7, 0.4);
}

.no-hover-nav .flex-direction-nav li a:hover,
.no-hover-nav .flex-direction-nav a:hover {
  background-color: #0056b3 !important;
  color: #ffffff !important;
  transform: none;
  box-shadow: 0 4px 15px rgba(0, 86, 179, 0.3);
}

/* Simple arrow navigation */
.simple-nav .flex-direction-nav li a,
.simple-nav .flex-direction-nav a {
  width: auto !important;
  height: auto !important;
  background: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  font-size: 24px !important;
  color: #333 !important;
  padding: 5px 10px !important;
  transition: none !important;
}

.simple-nav .flex-direction-nav a:before {
  content: '<' !important;
  font-family: inherit !important;
}

.simple-nav .flex-direction-nav a.flex-next:before {
  content: '>' !important;
}

.simple-nav .flex-direction-nav li a:hover,
.simple-nav .flex-direction-nav a:hover {
  background: none !important;
  color: #0056b3 !important;
  transform: none !important;
  box-shadow: none !important;
}

.simple-nav .flex-direction-nav .flex-prev {
  left: -40px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
}

.simple-nav .flex-direction-nav .flex-next {
  right: -40px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
}

.simple-nav:hover .flex-direction-nav .flex-prev {
  left: -40px !important;
}

.simple-nav:hover .flex-direction-nav .flex-next {
  right: -40px !important;
}

/* Arrow icons */
.flex-direction-nav a:before {
  font-size: 18px !important;
  color: inherit !important;
}

.flex-control-paging li a {
  background-color: #dee2e6;
}

/* Outer navs variant - buttons outside carousel */
.flexslider.outer-navs .flex-direction-nav li:first-child {
  left: -25px;
}

.flexslider.outer-navs .flex-direction-nav li:last-child {
  right: -25px;
}

/*
* ===================
* FIXED COLORS (WHITE TEXT)
* ===================
*/
.btn,
.btn:hover,
.header-bootstrap i,
.btn.focus,
.btn:not(.btn-border) i,
.input-group .btn:not(.btn-border),
.adv-img h2,
.adv-img a,
.white .progress-bar,
.subline-bar a,
header .input-group .btn:not(.btn-border):hover {
  color: #fff;
}

.advs-box-side-img.boxed h2 a,
header .navbar-toggle:hover > i,
.boxed .tag-row i,
.advs-box-side-icon.boxed .icon-box i,
body div .btn.white:hover,
body div .btn.white:hover i,
.advs-box.boxed a.btn,
header.bg-transparent .navbar-default .navbar-nav > li:hover > a,
header.bg-transparent .navbar-default .navbar-nav > li.active > a,
.white .btn:hover,
.advs-box-top-icon.boxed .icon,
.boxed .btn-text:hover,
.white .icon-box-cell > i,
.white.icon-box-cell > i {
  color: #fff !important;
}

.white .btn-border,
.white .btn-border:hover,
.boxed.white .btn,
.boxed.white .btn i {
  color: #fff !important;
  border-color: #fff !important;
}

.btn-search,
.btn-search:hover,
.btn-border {
  background-color: rgba(255, 255, 255, 0) !important;
}

.white .icon-box:not(.icon-box-top-bottom) .icon-box-cell:first-child,
div.white .countdown > div:after {
  border-right: 1px solid rgba(255, 255, 255, 0.25);
}

/*
* ===================
* SECTION BORDERS
* ===================
*/
.section-border {
  border-top: 3px solid #ffc107;
  border-bottom: 1px solid #dee2e6;
}

.section-border .content > .row > [class*='col-md'] {
  border-right: 1px solid #dee2e6;
}

/*
* ===================
* SOLID BACKGROUNDS
* ===================
*/
.bg-gradient {
  background: #0056b3;
}

.bg-gradient-yellow {
  background: #ffc107;
}

/*
* ===================
* CUSTOM CLASSES
* ===================
*/
.mk-intro {
  height: 763px;
}

.intro-demos {
  border-top: 1px solid #cecece;
}

.intro-demos .adv-img-down-text h2 a {
  font-size: 15px;
}

.btn-200 {
  width: 200px;
}

.btn-group > .btn {
  padding: 8px 10px 10px 10px;
}

.btn-group-icons:not(.social-colors) i {
  font-size: 15px;
  line-height: 10px;
  color: #2c3e50;
}

.btn-group-icons a:hover i {
  color: #fff !important;
}

.btn-group-icons a:hover {
  background-color: #0056b3 !important;
}

.menu-outer ul.nav {
  position: absolute;
  top: -85px;
  text-align: right;
}

.home-slider {
  height: 500px;
}

.img-man {
  position: absolute;
  left: 0;
  bottom: -90px;
}

.img-man.pull-right {
  right: 0;
  left: auto;
}

body .section-border .content {
  padding-top: 0;
  padding-bottom: 0;
}

.section-border .content > .row > [class*='col-md'] {
  padding-top: 70px;
  padding-bottom: 70px;
  padding-left: 50px;
  padding-right: 50px;
}

.section-border .content > .row > [class*='col-md']:last-child {
  border-right: none;
}

.section-border .content > .row {
  margin: 0 -50px;
}

.width-650 {
  max-width: 650px;
  margin: auto;
}

.shadow-1 {
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.4);
}

.shadow-2 {
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.14);
}

.box-steps .step-item {
  padding: 0 50px;
}

.box-steps .step-item:after {
  content: '\e660';
  font-family: 'icomoon' !important;
  position: absolute;
  top: 50%;
  right: 20px;
  margin-top: -12.5px;
  font-size: 25px;
  opacity: 0.5;
}

.box-steps .step-item > h3 {
  font-weight: 300;
}

.form-box p,
b {
  font-weight: 500;
}

.box-steps .step-number {
  position: absolute;
  left: 15px;
  font-size: 40px;
  line-height: 40px;
  opacity: 0.3;
  color: #0056b3;
}

.box-steps .step-item:last-child:after {
  display: none;
}

.grid-box.margin-30 .grid-item {
  padding: 30px 0 !important;
  margin: 5px;
}

/* Services grid alignment */
.grid-list .grid-box {
  display: flex;
  flex-wrap: wrap;
}

.grid-list .grid-box .grid-item {
  display: flex;
  margin-bottom: 30px;
}

.grid-list .grid-box .grid-item .advs-box {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.grid-list .grid-box .grid-item .advs-box .img-box {
  height: 200px;
  overflow: hidden;
  display: block;
}

.grid-list .grid-box .grid-item .advs-box .img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.grid-list .grid-box .grid-item .advs-box .advs-box-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.grid-list .grid-box .grid-item .advs-box .advs-box-content p {
  flex: 1;
}

.grid-list .list-nav {
  width: 100%;
  text-align: center;
  margin-top: 20px;
}

[class*='col-md-'].boxed-fp,
.boxed-fp {
  padding: 80px;
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.21);
  background-color: rgba(0, 86, 179, 0.9);
}

.hr-dark {
  border-top: 1px solid #d8d8d8;
}

header form.search-input {
  margin-top: 11px;
  padding-right: 0;
}

header .caret:before {
  transform: rotate(135deg);
  top: 1px;
}

.navbar-mini .lan-menu .dropdown li {
  height: 42px;
}

.lan-menu li a span {
  position: relative;
  top: -30px;
}

.box-menu-inner .icon-box-cell p {
  padding-top: 0;
}

.form-box .btn-sm {
  padding-top: 4px;
  padding-bottom: 3px;
}

.form-box .btn-sm i {
  font-size: 15px;
  display: inline-block;
  transform: translateY(2px);
}

.form-inline.form-box .btn-sm i {
  transform: translateY(2px);
}

.portfolio-home {
  overflow: visible;
  padding-top: 5px !important;
  margin-bottom: -11px;
  z-index: 9999;
}

.portfolio-home .nav {
  position: absolute;
  z-index: 9999999999;
  top: -50px;
}

body .portfolio-home .nav > li > a {
  background-color: #fff !important;
  opacity: 1 !important;
  border: none !important;
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2) !important;
}

.compact-table td {
  text-align: left;
}

.compact-table td > img {
  margin: -25px;
}

.nav-inner-bottom-right .flex-control-nav {
  text-align: right;
  bottom: -10px;
}

.nav-inner-bottom-right.flexslider {
  margin-bottom: 0 !important;
}

.load-more-inner {
  position: relative;
}

.load-more-inner .btn {
  position: absolute;
  top: -80px;
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.21);
  z-index: 99;
  left: 50%;
  width: 150px;
  margin-left: -75px;
}

/*
* ===================
* GENERAL
* ===================
*/
.container.content,
.section-empty > .content,
.section-bg-image > .content,
.section-bg-video > .content,
.section-bg-animation > .content,
.section-slider > .content,
.section-bg-color > .content,
.section-item > .content,
.section-two-blocks .content {
  padding-top: 70px;
  padding-bottom: 70px;
}

h4,
.h4 {
  line-height: 23px;
}

h3,
.h3 {
  line-height: 32px;
  margin-bottom: 20px;
}

.porfolio-bar a {
  font-weight: 500;
  font-size: 16px;
}

.porfolio-bar i {
  transform: translateY(2px);
  font-weight: 900 !important;
}

.porfolio-bar a i,
.porfolio-bar a i:hover {
  transform: translateY(0);
  margin-top: -10px;
  font-weight: 400 !important;
}

.comment-list .name {
  font-weight: 500;
}

.list-group-item.active,
.list-group-item.active:hover,
.list-group-item.active:focus {
  font-weight: 500;
  font-size: 18px;
  background-color: #0056b3;
  border-color: #0056b3;
}

.list-blog h5 {
  font-weight: 500;
}

.title-modern {
  margin-bottom: 50px;
}

.title-modern hr {
  display: none;
}

.title-modern h3 {
  border-bottom: none;
  font-weight: 400;
}

.title-modern .scroll-top {
  margin-top: -17px;
}

@keyframes fadeleftTitle {
  0% {
    transform: translateX(-100px);
  }
  100% {
    transform: translateX(0);
  }
}

@keyframes faderightTitle {
  0% {
    transform: translateX(100px);
  }
  100% {
    transform: translateX(0);
  }
}

.header-title,
.header-animation:not(.section-bg-animation),
.header-video,
.header-slider {
  height: 250px;
}

.header-slider h1,
.header-:not(.section-bg-animation) h1,
.header-title h1,
.header-video h1 {
  font-size: 28px;
  font-weight: 500;
  text-transform: none;
  margin-top: 0;
  animation: fadeleftTitle 1.5s;
}

.header-title p,
.header-video p,
.header-title p,
.header-slider p,
.header-animation:not(.section-bg-animation) p {
  animation: faderightTitle 1.5s;
  text-align: left;
  max-width: 100% !important;
}

.header-title h1,
.header-video h1,
.header-base h1,
.header-slider h1,
.header-animation:not(.section-bg-animation) h1 {
  text-transform: none;
  text-align: left;
}

.header-animation:not(.section-bg-animation) .title-base {
  margin-top: 150px;
}

.header-bootstrap {
  background-image: none;
}

.header-parallax:not(.full-screen-title) .flex-control-nav {
  top: 225px;
}

i.circle,
i.square {
  padding: 20px;
  background-color: rgba(255, 255, 255, 0);
  border-style: solid;
  border-width: 2px;
  display: inline-block;
}

i.cover,
i.onlycover {
  border: none;
}

.input-group .input-group-btn button {
  max-height: 34px;
  line-height: 11px;
}

.anima-button.btn-xs i {
  margin-top: -11px;
}

.btn i {
  font-size: 20px;
  transform: translateY(3px);
  display: inline-block;
}

.btn-sm {
  font-size: 14px;
  letter-spacing: 0.3px;
  padding: 8px 25px;
}

.btn-sm i {
  font-size: 15px;
  transform: translateY(2px);
  line-height: 16px;
}

.anima-button.btn-sm:hover i {
  margin-left: -27px;
}

.btn.btn-xs {
  letter-spacing: 0.3px;
  padding: 4px 15px;
  font-size: 12px;
}

.btn-xs i {
  transform: translateY(2px);
  font-size: 12px;
}

.btn-xs.nav-justified {
  max-width: 260px;
}

.btn-sm.anima-button:hover {
  padding-left: 50px;
}

.btn-lg {
  padding: 15px 30px 11px 30px;
  font-size: 20px;
}

.btn-xs.anima-button:hover {
  padding-left: 30px;
}

.btn-border,
.white .btn-border {
  border-width: 2px;
  border-style: solid;
  background: none !important;
}

.btn-text {
  border-bottom: none;
  font-weight: 500;
  position: relative;
  margin-right: 13px;
  color: #0056b3;
}

.btn-text:after {
  content: '\5E';
  margin: -12px 0px 0px 0;
  text-decoration: none;
  position: absolute;
  font-size: 19px;
  right: -10px;
  z-index: 9;
  top: 50%;
  transform: rotate(90deg);
  display: inline-block;
  transition: right 0.3s;
}

.btn-text:hover:after {
  right: -20px;
}

.title-base hr,
.block-infos .block-comment,
.advs-box-side-img hr {
  display: block;
}

.title-base hr {
  display: none;
}

/* Enhanced title styling */
.title-base h2,
.title-base h1 {
  position: relative;
  display: inline-block;
}

/* Section title with brand accent */
.section-empty .title-base h2::after,
.section-item .title-base h2::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 3px;
  background: #0056b3;
  transition: width 0.3s ease;
}

.section-empty:hover .title-base h2::after,
.section-item:hover .title-base h2::after {
  width: 100%;
}

.img-box.i-bottom i:after {
  content: '';
  background: #fff;
  width: 80px;
  margin: 0 0 -56px -56px;
  height: 80px;
  display: block;
  transform: rotate(45deg);
  z-index: 0;
}

.img-box.i-bottom i:before {
  margin: 0 0 -38px -14px;
  display: block;
  position: relative;
  z-index: 2;
  text-shadow: none;
}

.section-bg-color hr {
  border-color: #dedede;
}

.text-bold {
  font-weight: 400;
}

.text-black {
  font-weight: 500;
}

.text-xl {
  line-height: 57px;
}

ul.list-texts li b {
  font-weight: 500;
}

#particles-js canvas {
  top: 0;
  max-height: 300px;
  position: absolute;
  z-index: -1;
  left: 0;
}

.title-base h2,
.title-base h1,
.title-icon h2,
.title-icon h1,
.title-base.title-small h2 {
  font-weight: 600;
  font-size: 26px;
  line-height: 34px;
  text-transform: none;
  margin-top: 0;
  color: #2c3e50;
}

.title-base.text-left p,
.title-base.text-right p {
  border: none;
  margin-left: 1px;
  max-width: 650px;
}

.title-base {
  margin-bottom: 30px;
}

.header-title .title-base,
.header-video .title-base,
.header-slider .title-base {
  margin-bottom: 0;
}

.title-base p {
  margin: auto;
  font-size: 14px;
  opacity: 0.8;
}

.social-group {
  margin: 0 0;
}

.thumbnail:not(.circle) {
  border-radius: 0;
}

.btn-group-icons:not(.social-group) a {
  border: 2px solid #dee2e6;
  background: none;
  line-height: 15px;
  padding-top: 12px;
}

.social-group a i,
.social-group a i {
  margin: 0;
  border-radius: 0 !important;
}

.search-box {
  margin-top: 75px;
}

.icon-box.text-bold label {
  font-weight: 600;
}

.icon-box:not(.icon-box-top-bottom) .icon-box-cell:first-child {
  padding-right: 15px;
  margin-right: 15px;
  border-right: 1px solid rgba(123, 123, 123, 0.25);
}

.form-control {
  border-radius: 3px;
}

.block-quote.quote-1,
.block-quote.quote-2 {
  font-size: 17px;
}

.progress-circle .inner-circle .main {
  font-weight: 600;
  margin-bottom: 2px;
  font-size: 16px;
  text-transform: uppercase;
  color: #0056b3;
}

.progress-circle .inner-circle .sub {
  font-weight: 300;
  font-size: 14px;
  line-height: 20px;
  margin-top: 15px;
}

.progress-circle hr {
  background: none;
  border-top: 1px solid #d2d2d2;
  max-width: 100px;
}

.counter-circle,
.counter.text-m {
  font-weight: 500;
}

.progress-bar > span {
  padding: 2px 0 2px 5px;
  width: 60px;
  transform: translateY(-31px);
  border-radius: 3px;
  display: block;
  text-align: right;
  white-space: nowrap;
  font-weight: 700;
  letter-spacing: 1px;
  float: right;
  font-size: 12px;
}

.social-feed-fb li .meta-header .avatar,
.social-feed-fb li .media .image img,
.social-feed-tw .tweets_media {
  border-radius: 0;
}

.tweets_txt span {
  display: block;
  font-size: 11px;
  opacity: 0.7;
}

.tweets_txt a {
  opacity: 0.7;
  font-size: 12px;
}

.well {
  border-radius: 0;
  background: #fbfbfb;
}

div .countdown > div {
  position: relative;
}

div .countdown > div:after {
  content: '';
  width: 1px;
  height: 50px;
  margin-top: -25px;
  top: 50%;
  right: -5px;
  background-color: rgba(76, 76, 76, 0.15);
  position: absolute;
}

div .countdown .countdown-values {
  margin: 10px 20px;
}

div .countdown > div:last-child:after {
  display: none;
}

.header-base {
  position: relative;
  background-color: #fdfdfd !important;
  border-bottom-width: 2px;
  padding-bottom: 15px;
  height: auto;
}

.header-base.bg-cover {
  height: 350px;
}

.header-base .title-base p {
  color: #828282;
}

.header-base.bg-cover > div > .row {
  position: absolute;
  bottom: 0;
  max-width: 1170px;
  width: 100%;
  z-index: 1;
}

.header-base .col-md-3 {
  float: right;
}

.header-base .breadcrumb.b a,
.header-base .breadcrumb > .active {
  font-weight: 500;
  text-transform: uppercase;
  font-size: 13px;
}

#particles-js.header-base canvas {
  z-index: 0;
}

.header-base h1 {
  font-size: 35px;
  line-height: 42px;
  margin-bottom: 20px;
  font-weight: 500;
}

.list-items .list-item h3 {
  text-transform: none;
  font-weight: 500;
  font-size: 18px;
}

.list-items .list-item {
  border-bottom-style: solid;
  background: none;
  padding-bottom: 30px;
  margin-bottom: 20px;
}

.list-items .list-item:hover {
  background: none;
}

.list-items .list-item span {
  font-weight: 300;
}

.list-items .list-item p {
  font-size: 14px;
}

.list-items .list-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
}

/*
* ===================
* HEADER NAVIGATION
* ===================
*/
header .navbar-nav .dropdown li > a {
  font-weight: 400;
  font-size: 13px;
  color: #555;
  border-bottom: 1px solid #f3f3f3;
  transition: all 0.3s;
}

header .col li > a {
  padding: 5px 0;
}

header .col li:last-child > a {
  border-bottom: none;
}

header .navbar-nav .dropdown li > a:hover {
  padding-left: 25px;
  color: #0056b3;
}

header .col li > a:hover {
  padding-left: 5px !important;
}

div.mega-menu-fullwidth .mega-dropdown .mega-menu {
  margin-top: -1px;
}

header .navbar-nav li.dropdown-submenu a,
header .navbar-nav .dropdown > .dropdown-menu > li > a {
  padding-top: 10px;
  padding-bottom: 10px;
}

.mega-tabs .nav-tabs {
  display: block;
  border-bottom: 1px solid #eaeaea;
}

.mega-tabs .nav-tabs:before {
  display: none;
}

.mega-tabs .tab-box .nav-tabs > li > a {
  text-transform: none;
  font-size: 15px;
  padding-left: 30px !important;
}

.mega-menu h5 {
  margin-bottom: 20px;
}

.mega-menu .fa-ul .fa-li {
  padding-top: 5px;
}

.mega-tabs .tab-box .panel {
  padding-bottom: 20px;
  margin: 0 0 0 0 !important;
}

.col .fa-ul {
  margin-left: 43px;
}

.mi-menu .sidebar-nav {
  background: #fff;
}

.side-menu i {
  margin-right: 15px;
  transform: translateY(2px);
  display: inline-block;
}

.side-menu li:after {
  content: '';
  position: absolute;
  height: 1px;
  width: 100%;
  width: calc(100% - 36px);
  margin-right: 19px;
  margin-left: 18px;
  border-top: 1px solid #e0e0e0;
}

.side-menu li:last-child:after {
  display: none;
}

.side-menu li {
  font-weight: 500;
}

.sidebar-nav ul a:hover {
  background: none;
  background-color: rgba(0, 0, 0, 0) !important;
}

.side-menu-fixed .bottom-area p {
  color: #b1b1b1;
  letter-spacing: 1px;
}

.side-menu .active {
  font-weight: 500;
}

.mi-menu li,
.mi-menu li.active {
  background: none;
}

.mi-menu li.active {
  border-right: 1px solid #2d2d2d;
}

.nav > li > a {
  font-size: 15px;
  padding: 19px 18px 17px 18px;
  font-weight: 500;
}

header .social-group a i.fa {
  color: #b1b1b1;
  font-size: 13px;
  padding: 4px;
}

header .side-menu .fa.arrow:before,
ul ul .dropdown-toggle:after {
  opacity: 0.5;
}

.mi-menu .sidebar-nav ul li:first-child > a .dropdown-submenu > a:after {
  border: none;
}

.navbar-default .navbar-nav li > a,
.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li:hover,
.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover {
  color: #2c3e50;
  background-color: rgba(255, 255, 255, 0);
}

.navbar .nav > li.active {
  border-bottom-style: solid;
  border-bottom-width: 3px;
  border-radius: 0;
}

.caret {
  border: none;
}

.caret:before {
  content: '\5E';
  transform: rotate(180deg);
  display: inline-block;
  position: absolute;
  top: 15px;
  font-weight: 900;
  opacity: 0.4;
}

.navbar-brand {
  height: 57px;
}

header .navbar-default .lan-menu li a {
  font-size: 14px;
  font-weight: 900;
}

.btn-search {
  border: none;
  font-size: 22px;
  margin-top: 6px;
  padding-bottom: 8px;
}

header form a.btn-search {
  margin: 0 0 0 0;
  padding: 6px 15px 5px 16px;
  background-color: #f8f8f8 !important;
  font-size: 15px;
  border: 1px solid #d2d2d2;
}

.nav.inner {
  background: none;
  margin-bottom: 20px;
}

.nav.inner li a {
  border-bottom: 1px solid rgba(255, 255, 255, 0);
  text-transform: uppercase;
  font-size: 14px;
  opacity: 0.6;
  padding-top: 0;
  padding-bottom: 0;
  background: none !important;
  font-weight: 500;
}

.nav.inner li:last-child a {
  margin-right: 0;
}

.navbar .nav.inner li {
  border-bottom: none;
}

.nav.inner:not(.ms-rounded) > li.active {
  background: none;
}

.nav.inner:not(.ms-rounded) > li.active a,
.nav.inner li:hover a {
  opacity: 1;
}

.nav.ms-minimal > li > a,
.nav.ms-minimal > li:last-child > a {
  padding-bottom: 15px;
  padding-right: 18px;
}

.nav.inner .caret:before {
  display: none;
}

header.bg-transparent .navbar-default .navbar-nav > li.active {
  border-bottom-color: #ffc107 !important;
}

.menu-transparent:not(.scroll-css) li.dropdown:hover {
  background: rgba(199, 199, 199, 0.05) !important;
}

/*
* ===================
* RESPONSIVE STYLES
* ===================
*/
@media (max-width: 992px) {
  .nav-tabs.nav-center {
    left: 0;
    transform: none;
    display: block;
  }

  .pricing-table-big {
    margin-top: 0 !important;
  }

  .tab-box .nav-tabs > li {
    border: none;
    width: 100%;
  }

  header .tab-box .nav-tabs > li {
    width: 100%;
  }

  .tab-box.left > .panel,
  .tab-box.left > .panel-box > .panel,
  .tab-box.right > .panel {
    padding-left: 0;
  }

  div.mega-menu-fullwidth .mega-dropdown .mega-menu {
    width: 100%;
  }

  .advs-box-side .img-box img {
    width: auto;
    margin: auto;
  }

  .advs-box-side .img-box {
    text-align: center;
  }


  .navbar-toggle > i,
  header .fa-bars {
    font-size: 34px;
    margin-top: 0;
    color: #0056b3;
  }

  header .navbar-toggle {
    height: 40px;
  }

  .img-man {
    position: static;
  }

  .btn-xs.nav-justified {
    max-width: 100%;
  }

  .tab-box.left,
  .tab-box.right {
    display: block;
  }

  .tab-box.left .nav-tabs,
  .tab-box.right .nav-tabs {
    width: 100%;
  }

  .tab-box.left .nav-tabs:after,
  .tab-box.right .nav-tabs:after {
    display: none;
  }

  .tab-box.left:not(.pills) .panel-box .panel,
  .tab-box.right:not(.pills) .panel-box .panel {
    border: none;
    padding: 1px 1px 1px 1px;
    margin: 0 0 0 0;
  }

  .title-modern .scroll-top {
    display: none;
  }

  .portfolio-home .nav {
    position: static;
  }

  .navbar-inner .navbar-toggle span {
    font-size: 15px;
    transform: translateY(-1px);
  }

  .hamburger-button {
    margin-top: 7px;
    padding-bottom: 0;
  }

  .flexslider.nav-inner .flex-control-nav {
    right: 0px;
    left: 0px;
  }

  .flex-control-paging li a {
    width: 10px;
  }

  .adv-img-classic-box .caption-inner h2 {
    font-size: 18px;
  }

  .text-xl {
    line-height: 45px;
  }

  .box-steps .step-item {
    padding-bottom: 30px;
  }

  .advs-box-side-img .col-md-4 {
    margin-right: 0;
    padding-right: 15px;
  }

  [class*='col-md-'].boxed-fp,
  .boxed-fp {
    padding: 15px;
  }

  .mk-intro {
    height: 100%;
  }

  .flexslider {
    margin: 0 0 15px 0 !important;
  }

  .flex-control-nav {
    bottom: -35px;
  }

  .ul-squares,
  .ul-dots,
  .ul-decimal {
    padding-left: 20px;
  }

  .advs-box-side.boxed-inverse > .row > div,
  .advs-box-side.boxed > .row > div {
    flex: none;
    padding-top: 0;
    padding-bottom: 15px;
  }
}

@media (max-width: 767px) {
  .header-base h1 {
    text-align: center;
    font-size: 22px;
  }

  .section-border .content > .row > [class*='col-md'] {
    padding-top: 0;
    padding-bottom: 0;
    width: 100%;
  }

  .section-border {
    padding: 15px 0;
  }

  /* Mobile navbar fixes */
  header.fixed-top::before {
    height: 4px;
  }

  header .navbar-nav {
    border-bottom: none;
  }

  .navbar-default .navbar-nav > li > a {
    border-bottom: 1px solid rgba(0, 86, 179, 0.1);
    margin-bottom: 0;
  }

  .navbar-default .navbar-nav > li.active > a {
    background: #0056b3 !important;
    border-left: 4px solid #ffc107;
    color: #ffffff !important;
  }
}

/*
* ===================
* ADDITIONAL BRANDING ELEMENTS
* ===================
*/

/* Call to Action Sections */
.call-action-box,
.cta-section {
  background: #0056b3 !important;
  position: relative;
  overflow: hidden;
}

.call-action-box::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: rgba(255, 193, 7, 0.15);
  border-radius: 50%;
}

.call-action-box::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: #ffc107;
}

.call-action-box h2,
.call-action-box h3 {
  color: #ffffff !important;
}

.call-action-box p {
  color: rgba(255, 255, 255, 0.9) !important;
}

.call-action-box .btn {
  background: #ffc107 !important;
  color: #2c3e50 !important;
  border: none !important;
}

.call-action-box .btn:hover {
  background: #ffffff !important;
  color: #0056b3 !important;
}

/* Client/Partner Logos Section */
.clients-section,
.partners-section {
  background: #f8f9fa;
  position: relative;
}

.clients-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: #ffc107;
}

.clients-section img,
.partners-section img {
  filter: grayscale(100%);
  opacity: 0.6;
  transition: all 0.3s ease;
}

.clients-section img:hover,
.partners-section img:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.1);
}

/* Testimonial Cards */
.niche-box-testimonails {
  background: #ffffff;
  border-radius: 10px;
  border-left: 5px solid #ffc107;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.niche-box-testimonails:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 86, 179, 0.15);
  border-left-color: #0056b3;
}

.niche-box-testimonails .block-quote::before {
  color: #ffc107 !important;
  font-size: 60px;
}

/* Team Member Cards */
.niche-box-team {
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.niche-box-team:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 86, 179, 0.2);
}

.niche-box-team .content-box {
  background: #ffffff;
}

.niche-box-team h4 {
  color: #0056b3 !important;
}

.niche-box-team hr {
  background: #ffc107 !important;
  height: 3px !important;
}

/* Portfolio/Gallery Items */
.maso-item {
  transition: opacity 0.3s ease;
}

.adv-img-classic-box {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition:
    transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    box-shadow 0.4s ease,
    z-index 0s;
  position: relative;
}

.maso-item:hover .adv-img-classic-box {
  transform: scaleX(1.08) scaleY(1.02);
  box-shadow: 0 15px 40px rgba(0, 86, 179, 0.3);
  z-index: 100;
  overflow: visible;
}

/* Image zoom on hover */
.adv-img-classic-box .img-box img {
  transition: transform 0.5s ease;
}

.maso-item:hover .adv-img-classic-box .img-box img {
  transform: scale(1.1);
}

/* Caption inner positioning */
.adv-img-classic-box .caption-inner {
  position: relative !important;
  bottom: auto !important;
  padding: 15px;
  transition:
    transform 0.4s ease,
    max-height 0.8s ease;
}

.maso-item:hover .adv-img-classic-box .caption-inner {
  transform: translateY(0);
}

/* Title underline animation */
.adv-img-classic-box .caption h2 {
  position: relative;
}

.adv-img-classic-box .caption h2::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #ffc107;
  transition: width 0.4s ease;
}

.maso-item:hover .adv-img-classic-box .caption h2::after {
  width: 100%;
}

.adv-img-classic-box .caption {
  background: rgba(0, 86, 179, 0.95);
  position: absolute;
  bottom: 0 !important;
  top: auto !important;
  left: 0;
  right: 0;
  height: auto !important;
  max-height: 100px;
  overflow: hidden;
  transition:
    max-height 0.4s ease,
    background 0.3s ease;
}

.maso-item:hover .adv-img-classic-box .caption {
  max-height: 400px;
  overflow: visible;
  background: rgba(0, 86, 179, 0.98);
}

/* Fix caption-inner height on hover */
.maso-item:hover .adv-img-classic-box .caption-inner {
  max-height: 400px !important;
  overflow: visible !important;
}

/* Fix big-text description - hidden by default, expands on hover */
.adv-img-classic-box .caption-inner p.big-text {
  height: auto !important;
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.4s ease,
    opacity 0.3s ease;
  opacity: 0;
}

.maso-item:hover .adv-img-classic-box .caption-inner p.big-text {
  max-height: 200px;
  overflow: visible;
  opacity: 1;
}

.adv-img-classic-box .caption h2 {
  color: #ffffff !important;
  border-bottom: 2px solid #ffc107;
  padding-bottom: 10px;
  display: inline-block;
}

.adv-img-classic-box .caption p,
.adv-img-classic-box .caption .sub-text,
.adv-img-classic-box .caption .big-text,
.adv-img-classic-box:hover .caption h2,
.adv-img-classic-box:hover .caption p,
.adv-img-classic-box:hover .caption .sub-text,
.adv-img-classic-box:hover .caption .big-text {
  color: #ffffff !important;
}

/* Portfolio grid alignment - uniform sizing */
.maso-list.gallery {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Portfolio filter navigation - fix z-index */
.maso-list.gallery .navbar-inner {
  text-align: center;
  margin-bottom: 30px;
  position: relative;
  z-index: 10;
}

/* Card sizing - let isotope handle positioning */
.maso-list.gallery .maso-item {
  padding: 10px;
}

.maso-list.gallery .maso-item .adv-img,
.maso-list.gallery .maso-item .adv-img-classic-box {
  width: 100%;
  height: 260px;
}

.maso-list.gallery .maso-item .adv-img-classic-box > .img-box,
.maso-list.gallery .maso-item .img-box {
  height: 260px;
  max-height: 260px;
  display: block;
  overflow: hidden;
}

.maso-list.gallery .maso-item .adv-img-classic-box > .img-box img,
.maso-list.gallery .maso-item .img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Isotope filter animations */
.maso-box {
  transition: height 0.4s ease;
}

.maso-list.gallery .maso-box > .maso-item {
  visibility: visible;
  opacity: 1;
}

.maso-list.gallery .maso-item > * {
  opacity: 1;
}

.maso-item {
  transition:
    transform 0.4s ease,
    opacity 0.4s ease;
}

/* Hidden state for filtered items */
.maso-item.isotope-hidden {
  opacity: 0 !important;
  transform: scale(0.8);
  pointer-events: none;
}

/* Visible state for filtered items */
.maso-item:not(.isotope-hidden) {
  opacity: 1;
  transform: scale(1);
}

/* Loading animations */
@keyframes pulse-brand {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.4);
  }
  50% {
    box-shadow: 0 0 0 15px rgba(255, 193, 7, 0);
  }
}

.load-more-maso,
.btn-load-more {
  animation: pulse-brand 2s infinite;
}

/* Feature highlights */
.feature-box {
  position: relative;
  padding: 30px;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border-top: 4px solid #0056b3;
}

.feature-box:hover {
  border-top-color: #ffc107;
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 86, 179, 0.15);
}

.feature-box::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: #ffc107;
  transition: width 0.3s ease;
}

.feature-box:hover::after {
  width: 80%;
}

/* Lists with brand colors */
.ul-squares li::before,
.ul-dots li::before {
  color: #ffc107 !important;
}

.fa-li,
.list-item i {
  color: #0056b3 !important;
}

/* Form styling enhancements */
.form-control:focus {
  border-color: #ffc107 !important;
  box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.2);
}

input[type='submit'],
button[type='submit'] {
  background: #0056b3 !important;
  border: none !important;
  color: #ffffff !important;
  transition: all 0.3s ease;
}

input[type='submit']:hover,
button[type='submit']:hover {
  background: #ffc107 !important;
  color: #2c3e50 !important;
}

/* Breadcrumb styling */
.breadcrumb {
  background: transparent;
}

.breadcrumb a {
  color: #0056b3;
}

.breadcrumb > .active {
  color: #ffc107;
}

/* Selection highlight color */
::selection {
  background: #ffc107;
  color: #2c3e50;
}

::-moz-selection {
  background: #ffc107;
  color: #2c3e50;
}

/* Link underline animation */
a:not(.btn):not(.navbar-brand) {
  position: relative;
}

.content a:not(.btn):hover::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #ffc107;
}

/* Blockquotes */
blockquote,
.blockquote {
  border-left: 4px solid #ffc107;
  background: rgba(255, 193, 7, 0.05);
  padding: 20px 30px;
  font-style: italic;
}

/* Tables */
.table > thead > tr > th {
  background: #0056b3;
  color: #ffffff;
  border: none;
}

.table-striped > tbody > tr:nth-of-type(odd) {
  background-color: rgba(0, 86, 179, 0.03);
}

.table > tbody > tr:hover {
  background-color: rgba(255, 193, 7, 0.1);
}

/* Alerts */
.alert-info {
  background: rgba(0, 86, 179, 0.1);
  border-left: 4px solid #0056b3;
  color: #0056b3;
}

.alert-success {
  border-left: 4px solid #ffc107;
}

/* Badges and labels */
.badge,
.label {
  background: #0056b3;
}

.badge-accent,
.label-accent {
  background: #ffc107;
  color: #2c3e50;
}

/*
* ===================
* PARTNERS CAROUSEL - SQUARE LOGOS
* ===================
*/
.partners-carousel img {
  border-radius: 0 !important;
}

/*
* ===================
* CAROUSEL NAV WITH ARROWS INLINE
* ===================
*/
.nav-with-arrows {
  position: relative;
  padding-bottom: 50px;
}

.nav-with-arrows .flex-control-nav {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: auto;
  z-index: 10;
}

.nav-with-arrows .flex-direction-nav {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 80px;
  width: auto;
  height: auto;
  top: auto;
  pointer-events: none;
  z-index: 11;
}

.nav-with-arrows .flex-direction-nav li {
  position: static;
  pointer-events: auto;
}

.nav-with-arrows .flex-direction-nav li:first-child {
  left: auto;
  order: 1;
}

.nav-with-arrows .flex-direction-nav li:last-child {
  right: auto;
  order: 2;
}

.nav-with-arrows .flex-direction-nav a {
  width: 32px !important;
  height: 32px !important;
  font-size: 14px !important;
}

.nav-with-arrows .flex-direction-nav a:before {
  font-size: 14px !important;
}

/*
* ===================
* FLOATING ICONS ANIMATION - NEWSLETTER SECTION
* ===================
*/
.floating-icons {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: visible;
}

.floating-icon {
  position: absolute;
  display: block;
  font-size: 32px;
  color: #ffc107 !important;
  opacity: 0.4;
  animation: floatUpDown 4s ease-in-out infinite;
  line-height: 1;
  width: auto;
  height: auto;
  text-shadow: 0 0 10px rgba(255, 193, 7, 0.3);
}

.floating-icon:before {
  color: #ffc107 !important;
  font-size: inherit;
  line-height: inherit;
}

.floating-icon:nth-child(odd) {
  animation: floatUpDownAlt 5s ease-in-out infinite;
}

@keyframes floatUpDown {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(10deg);
  }
}

@keyframes floatUpDownAlt {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(15px) rotate(-10deg);
  }
}

/* Responsive - hide some icons on mobile */
@media (max-width: 768px) {
  .floating-icon {
    font-size: 24px;
    opacity: 0.3;
    color: #ffc107 !important;
  }
  .floating-icon:before {
    color: #ffc107 !important;
  }
  .floating-icon:nth-child(n + 5) {
    display: none;
  }
}

/*
* ===================
* TAB SECTION - UNIFORM IMAGE SIZES
* ===================
*/
.tab-box .panel .advs-box-side .img-box {
  width: 100%;
  height: 180px;
  overflow: hidden;
  border-radius: 8px;
}

.tab-box .panel .advs-box-side .img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}


/*
* ===================
* SERVICE CARDS GRID
* ===================
*/
.service-cards-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.service-cards-row > [class*='col-'] {
  margin-bottom: 30px;
  padding-left: 15px;
  padding-right: 15px;
  flex: 0 0 25%;
  max-width: 25%;
}

.service-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
  transition:
    transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    box-shadow 0.4s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(0, 86, 179, 0.08);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 86, 179, 0.18);
}

.service-card-img {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.service-card-img::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: rgba(255, 255, 255, 0.9);
  pointer-events: none;
}

.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-card-img img {
  transform: scale(1.08);
}

.service-card-content {
  padding: 25px 20px 30px;
  text-align: center;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.service-card-content .icon {
  font-size: 40px;
  color: #0056b3;
  margin-bottom: 15px;
  transition:
    transform 0.3s ease,
    color 0.3s ease;
}

.service-card:hover .service-card-content .icon {
  transform: scale(1.1);
  color: #ffc107;
}

.service-card-content h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #2c3e50;
}

.service-card-content p {
  font-size: 14px;
  line-height: 1.6;
  color: #666;
  margin-bottom: 20px;
  flex-grow: 1;
}

.service-card-content .btn {
  margin-top: auto;
  padding: 10px 25px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Responsive adjustments for service cards */
@media (max-width: 991px) {
  .service-cards-row > [class*='col-'] {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

@media (max-width: 767px) {
  .service-cards-row > [class*='col-'] {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .service-card-img {
    height: 180px;
  }

  .service-card-content {
    padding: 20px 15px 25px;
  }

  .service-card-content .icon {
    font-size: 36px;
  }

  .service-card-content h3 {
    font-size: 18px;
  }
}

/*
* ===================
* ENHANCED CARD HOVER EFFECTS
* ===================
*/

/* Service grid cards lift effect */
.grid-table td {
  transition:
    transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    box-shadow 0.4s ease,
    background-color 0.3s ease;
  position: relative;
}

.grid-table td:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 86, 179, 0.15);
  background-color: rgba(0, 86, 179, 0.02);
  z-index: 10;
}

.grid-table td:hover .text-color {
  color: #003d82 !important;
}

.grid-table td:hover .btn {
  transform: translateX(5px);
}

.grid-table td .btn {
  transition:
    transform 0.3s ease,
    background-color 0.3s ease,
    box-shadow 0.3s ease;
}

/* Enhanced advs-box hover */
.advs-box {
  transition:
    transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    box-shadow 0.4s ease !important;
}

.advs-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 86, 179, 0.2) !important;
}

/* Icon boxes enhanced hover */
.advs-box-top-icon {
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease,
    background 0.4s ease;
}

.advs-box-top-icon:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 25px 50px rgba(0, 86, 179, 0.25);
}

.advs-box-top-icon .icon {
  transition:
    transform 0.4s ease,
    color 0.3s ease;
}

.advs-box-top-icon:hover .icon {
  transform: scale(1.15) rotate(5deg);
  color: #ffc107 !important;
}

/* Tab panel cards */
.tab-box .panel .advs-box-side {
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  border-radius: 8px;
}

.tab-box .panel .advs-box-side:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 86, 179, 0.15);
}

/*
* ===================
* HERO SECTION ENHANCEMENTS
* ===================
*/

/* Hero text glow effect */
.section-bg-image h2.text-light,
.section-bg-image .text-xl {
  text-shadow:
    0 0 30px rgba(255, 255, 255, 0.3),
    0 0 60px rgba(0, 86, 179, 0.2);
}

/* Hero buttons enhanced */
.section-bg-image .btn {
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    background 0.3s ease !important;
}

.section-bg-image .btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
}

/*
* ===================
* SECTION WAVE DIVIDERS
* ===================
*/

/* Wave divider - white to colored section */
.section-divider-wave {
  position: relative;
  overflow: visible;
}

.section-divider-wave::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 60px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60'%3E%3Cpath fill='%23f8f9fa' d='M0,30 C360,60 720,0 1080,30 C1260,45 1380,45 1440,30 L1440,60 L0,60 Z'/%3E%3C/svg%3E")
    no-repeat center bottom;
  background-size: 100% 100%;
  z-index: 10;
  pointer-events: none;
}

/* Wave divider - colored to white section */
.section-divider-wave-reverse::after {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60'%3E%3Cpath fill='%23ffffff' d='M0,30 C360,60 720,0 1080,30 C1260,45 1380,45 1440,30 L1440,60 L0,60 Z'/%3E%3C/svg%3E")
    no-repeat center bottom;
}

/* Wave divider - blue theme */
.section-divider-wave-blue::after {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60'%3E%3Cpath fill='%230056b3' fill-opacity='0.1' d='M0,30 C360,60 720,0 1080,30 C1260,45 1380,45 1440,30 L1440,60 L0,60 Z'/%3E%3C/svg%3E")
    no-repeat center bottom;
}

/*
* ===================
* SCROLL-TRIGGERED ANIMATIONS
* ===================
*/

/* Fade up reveal animation */
.scroll-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered reveal for grid items */
.scroll-reveal-stagger > * {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.scroll-reveal-stagger.revealed > *:nth-child(1) {
  transition-delay: 0.1s;
}
.scroll-reveal-stagger.revealed > *:nth-child(2) {
  transition-delay: 0.2s;
}
.scroll-reveal-stagger.revealed > *:nth-child(3) {
  transition-delay: 0.3s;
}
.scroll-reveal-stagger.revealed > *:nth-child(4) {
  transition-delay: 0.4s;
}
.scroll-reveal-stagger.revealed > *:nth-child(5) {
  transition-delay: 0.5s;
}
.scroll-reveal-stagger.revealed > *:nth-child(6) {
  transition-delay: 0.6s;
}

.scroll-reveal-stagger.revealed > * {
  opacity: 1;
  transform: translateY(0);
}

/*
* ===================
* MICRO-INTERACTIONS
* ===================
*/

/* Button ripple effect */
.btn {
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition:
    width 0.6s ease,
    height 0.6s ease,
    opacity 0.6s ease;
  opacity: 0;
  pointer-events: none;
}

.btn:active::after {
  width: 300px;
  height: 300px;
  opacity: 0;
}

/* Enhanced button glow on hover */
.btn:hover {
  box-shadow:
    0 8px 25px rgba(0, 86, 179, 0.4),
    0 0 0 2px rgba(255, 193, 7, 0.3);
}

.btn-border:hover {
  box-shadow:
    0 8px 25px rgba(0, 86, 179, 0.3),
    inset 0 0 20px rgba(0, 86, 179, 0.1);
}

/* Enhanced form focus states */
.form-control {
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.2s ease !important;
}

.form-control:focus {
  border-color: #ffc107 !important;
  box-shadow:
    0 0 0 4px rgba(255, 193, 7, 0.2),
    0 5px 20px rgba(0, 86, 179, 0.1) !important;
  transform: translateY(-2px);
}

/* Input group button enhancement */
.input-group .btn {
  transition: all 0.3s ease;
}

.input-group .btn:hover {
  transform: scale(1.05);
}

/*
* ===================
* SMOOTH TAB TRANSITIONS
* ===================
*/
.tab-box .panel {
  animation: fadeInUp 0.5s ease forwards;
}

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

/*
* ===================
* COUNTER SECTION ENHANCEMENTS
* ===================
*/
.counter-box-icon {
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
}

.counter-box-icon:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 15px 40px rgba(0, 86, 179, 0.2);
}

.counter-box-icon .counter {
  transition: color 0.3s ease;
}

.counter-box-icon:hover .counter {
  color: #ffc107 !important;
}

/*
* ===================
* PORTFOLIO SECTION ENHANCEMENTS
* ===================
*/
.maso-list .maso-item {
  transition:
    transform 0.4s ease,
    opacity 0.4s ease;
}

.maso-list .adv-img-down-text {
  transition:
    transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    box-shadow 0.4s ease;
  border-radius: 8px;
  overflow: hidden;
}

.maso-list .adv-img-down-text:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(0, 86, 179, 0.25);
}

.maso-list .adv-img-down-text .img-box img {
  transition: transform 0.6s ease;
}

.maso-list .adv-img-down-text:hover .img-box img {
  transform: scale(1.1);
}

.maso-list .caption-bottom {
  transition: background 0.3s ease;
}

.maso-list .adv-img-down-text:hover .caption-bottom {
  background: #0056b3;
}

.maso-list .adv-img-down-text:hover .caption-bottom h2 a,
.maso-list .adv-img-down-text:hover .caption-bottom p {
  color: #ffffff !important;
}

/*
* =====================================================
* MOBILE & TABLET RESPONSIVE OPTIMIZATION
* =====================================================
* Breakpoints:
* - Mobile: ≤768px
* - Tablet: 768px - 1024px
* - Desktop: >1024px
* =====================================================
*/

/* ===================
   BASE RESPONSIVE UTILITIES
   =================== */

/* Fluid typography base */
html {
  font-size: 16px;
}

/* Prevent horizontal overflow */
body {
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}

/* Ensure all images are responsive by default */
img {
  max-width: 100%;
  height: auto;
}

/* ===================
   TABLET STYLES (768px - 1024px)
   =================== */
@media (min-width: 768px) and (max-width: 1024px) {
  /* Container padding adjustment */
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  /* Grid table - 2 columns on tablet */
  .grid-table {
    display: block;
  }

  .grid-table tbody {
    display: flex;
    flex-wrap: wrap;
  }

  .grid-table tr {
    display: contents;
  }

  .grid-table td {
    display: block;
    width: 50%;
    box-sizing: border-box;
    padding: 25px;
  }

  /* Stats counter - 3 columns on tablet */
  .grid-table.border-table:not(.full-border-table) td {
    width: 33.333%;
  }

  /* Hero section text sizing */
  .text-xl {
    font-size: 36px !important;
    line-height: 44px !important;
  }

  /* Portfolio grid - 2 columns */
  .maso-list .col-md-3 {
    width: 50%;
  }

  /* Tab panel cards */
  .tab-box .panel .col-md-4 {
    width: 50%;
    margin-bottom: 20px;
  }

  /* Service cards on services page */
  .grid-list .col-md-4 {
    width: 50%;
  }

  /* Partners section layout */
  .partners-carousel {
    margin-top: 20px;
  }

  /* Navigation adjustments */
  .navbar-nav > li > a {
    padding: 15px 12px;
    font-size: 14px;
  }

  /* Touch-friendly button sizing */
  .btn {
    min-height: 44px;
    padding: 12px 20px;
  }

  .btn-xs {
    min-height: 40px;
    padding: 10px 16px;
  }

  .btn-sm {
    min-height: 44px;
    padding: 12px 20px;
  }

  /* Advs-box adjustments */
  .advs-box-side .row > div {
    margin-bottom: 15px;
  }

  /* Form inputs */
  .form-control {
    min-height: 48px;
    font-size: 16px; /* Prevents iOS zoom on focus */
  }

  /* Spacing adjustments */
  hr.space {
    margin: 25px 0;
  }

  hr.space.l {
    margin: 40px 0;
  }

  /* Map overlay */
  .section-map .overlaybox-side {
    position: relative;
    width: 100%;
  }

  .section-map .overlaybox-inner {
    padding: 30px;
  }
}

/* ===================
   MOBILE STYLES (≤768px)
   =================== */
@media (max-width: 768px) {
  /* Fluid typography for mobile */
  html {
    font-size: 15px;
  }

  body {
    font-size: 15px;
    line-height: 1.6;
  }

  /* Container full width with padding */
  .container {
    padding-left: 15px;
    padding-right: 15px;
    width: 100%;
  }

  /* Section padding reduction */
  .section-empty,
  .section-bg-color,
  .section-item {
    padding: 40px 0;
  }

  /* ===================
       NAVIGATION - MOBILE
       =================== */

  /* Mobile menu button */
  .navbar-toggle {
    display: block;
    padding: 10px;
    margin: 8px 0;
    background: transparent;
    border: 2px solid #0056b3;
    border-radius: 4px;
    min-width: 48px;
    min-height: 48px;
  }

  .navbar-toggle:hover,
  .navbar-toggle:focus {
    background: rgba(0, 86, 179, 0.1);
  }

  .navbar-toggle .fa-bars {
    font-size: 24px;
    color: #0056b3;
  }

  /* Mobile menu container */
  .navbar-collapse {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    max-height: calc(100vh - 70px);
    overflow-y: auto;
    z-index: 1000;
  }

  .navbar-collapse.in {
    display: block;
  }

  /* Mobile menu items */
  .navbar-nav {
    margin: 0;
    padding: 10px 0;
  }

  .navbar-nav > li {
    display: block;
    width: 100%;
  }

  .navbar-nav > li > a {
    display: block;
    padding: 15px 20px;
    font-size: 16px;
    color: #2c3e50;
    border-bottom: 1px solid rgba(0, 86, 179, 0.1);
    min-height: 50px;
    line-height: 20px;
  }

  .navbar-nav > li > a:hover,
  .navbar-nav > li > a:focus {
    background: rgba(0, 86, 179, 0.05);
    color: #0056b3;
  }

  .navbar-nav > li.active > a {
    background: #0056b3;
    border-left: 4px solid #ffc107;
    color: #ffffff !important;
    font-weight: 500;
  }

  /* Logo sizing */
  .navbar-brand img {
    max-height: 45px;
    width: auto;
  }

  /* ===================
       HERO SECTION - MOBILE
       =================== */
  .section-bg-image {
    min-height: auto;
    padding: 80px 0 60px 0;
    background-size: cover !important;
    background-position: center center !important;
  }

  /* Override no-bg-xs to keep background on mobile */
  .section-bg-image.no-bg-xs {
    background-image: inherit !important;
  }

  .section-bg-image .box-middle {
    padding: 20px 0;
    display: block;
    position: relative;
    transform: none;
    top: auto;
  }

  .section-bg-image .box-middle-container .container {
    position: relative;
  }

  .section-bg-image .col-md-6 {
    width: 100%;
    padding: 0 15px;
  }

  .text-xl {
    font-size: 26px !important;
    line-height: 34px !important;
    margin-bottom: 15px;
  }

  .section-bg-image p.font-2 {
    font-size: 15px;
    line-height: 24px;
    margin-bottom: 20px;
  }

  /* Hero buttons stack on mobile */
  .section-bg-image .anima {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .section-bg-image .anima .btn {
    width: 50%;
    text-align: center;
    padding: 14px 24px;
  }

  .section-bg-image .anima .space {
    display: none;
  }

  /* Ensure hero text is readable */
  .section-bg-image h2,
  .section-bg-image p {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  }

  /* ===================
       GRID TABLE - MOBILE (Stack to 1 column)
       =================== */
  .grid-table {
    display: block;
    width: 100%;
  }

  .grid-table tbody,
  .grid-table tr {
    display: block;
    width: 100%;
  }

  .grid-table td {
    display: block;
    width: 100%;
    padding: 25px 20px;
    border-bottom: 1px solid rgba(0, 86, 179, 0.1);
  }

  .grid-table td:last-child {
    border-bottom: none;
  }

  /* Stats counter - 2 columns on mobile */
  .grid-table.border-table:not(.full-border-table) tbody {
    display: flex;
    flex-wrap: wrap;
  }

  .grid-table.border-table:not(.full-border-table) td {
    width: 50%;
    text-align: center;
    padding: 20px 10px;
  }

  .counter-box-icon .counter {
    font-size: 28px;
  }

  .counter-box-icon p {
    font-size: 12px;
  }

  /* ===================
       BUTTONS - TOUCH FRIENDLY
       =================== */
  .btn {
    min-height: 48px;
    padding: 14px 24px;
    font-size: 15px;
    border-radius: 6px;
    /* Ensure touch target meets 44px minimum */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .btn-xs {
    min-height: 44px;
    padding: 12px 20px;
    font-size: 14px;
  }

  .btn-sm {
    min-height: 48px;
    padding: 14px 24px;
  }

  /* Full width buttons in certain contexts */
  .title-base .btn,
  .advs-box .btn {
    width: 100%;
    margin-top: 10px;
  }

  /* Button groups stack */
  .btn-group-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }

  .btn-group-icons .btn {
    min-width: 48px;
    min-height: 48px;
  }

  /* ===================
       TYPOGRAPHY - MOBILE
       =================== */
  h1 {
    font-size: 28px;
    line-height: 1.3;
  }

  h2 {
    font-size: 24px;
    line-height: 1.3;
  }

  h3 {
    font-size: 20px;
    line-height: 1.4;
  }

  h4 {
    font-size: 18px;
    line-height: 1.4;
  }

  p {
    font-size: 15px;
    line-height: 1.7;
  }

  .title-base h2 {
    font-size: 26px;
  }

  .title-base p {
    font-size: 15px;
  }

  /* ===================
       PORTFOLIO/GALLERY - MOBILE
       =================== */
  .maso-list .col-md-3,
  .maso-list .col-md-4 {
    width: 100%;
    padding: 0 15px;
    margin-bottom: 20px;
  }

  .maso-list.gallery .maso-item {
    width: 100% !important;
    margin-bottom: 20px;
  }

  /* Portfolio filter navigation */
  .maso-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    padding: 10px;
  }

  .maso-filters li {
    margin: 0;
  }

  .maso-filters li a {
    padding: 10px 16px;
    font-size: 14px;
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  /* Portfolio card adjustments */
  .adv-img-classic-box {
    margin-bottom: 15px;
  }

  .adv-img-classic-box .caption-inner h2 {
    font-size: 18px;
  }

  .adv-img-classic-box .caption-inner p {
    font-size: 14px;
  }

  /* ===================
       TAB SECTION - MOBILE
       =================== */
  .tab-box .nav-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
  }

  .tab-box .nav-tabs > li {
    flex: 1 1 calc(50% - 5px);
    min-width: calc(50% - 5px);
  }

  .tab-box .nav-tabs > li > a {
    padding: 12px 10px;
    font-size: 13px;
    text-align: center;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .tab-box .nav-tabs > li > a i {
    margin-right: 5px;
    font-size: 16px;
  }

  .tab-box .panel .col-md-4 {
    width: 100%;
    margin-bottom: 25px;
  }

  .tab-box .panel .advs-box-side .img-box {
    height: 200px;
    margin-bottom: 15px;
  }

  /* ===================
       FORMS - TOUCH OPTIMIZED
       =================== */
  .form-control {
    min-height: 50px;
    padding: 12px 16px;
    font-size: 16px; /* Prevents iOS zoom */
    border-radius: 6px;
    -webkit-appearance: none;
    appearance: none;
  }

  .form-control:focus {
    font-size: 16px;
  }

  /* Input groups */
  .input-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .input-group .form-control {
    width: 100%;
    border-radius: 6px;
  }

  .input-group-btn {
    width: 100%;
  }

  .input-group-btn .btn {
    width: 100%;
    border-radius: 6px;
  }

  /* Contact form spacing */
  .form-box .form-control {
    margin-bottom: 15px;
  }

  textarea.form-control {
    min-height: 120px;
  }

  /* ===================
       CARDS & BOXES - MOBILE
       =================== */
  .advs-box {
    margin-bottom: 25px;
  }

  .advs-box-top-icon {
    padding: 25px 20px;
  }

  .advs-box-top-icon .icon {
    font-size: 40px;
    margin-bottom: 15px;
  }

  .advs-box-top-icon h3 {
    font-size: 18px;
    margin-bottom: 10px;
  }

  .advs-box-side .img-box {
    margin-bottom: 15px;
  }

  .advs-box-side .col-md-4,
  .advs-box-side .col-md-8 {
    width: 100%;
  }

  /* Service cards grid */
  .grid-list .col-md-4 {
    width: 100%;
    margin-bottom: 20px;
  }

  .advs-box-multiple {
    margin-bottom: 25px;
  }

  /* ===================
       SPACING - MOBILE
       =================== */
  hr.space {
    margin: 20px 0;
  }

  hr.space.xs {
    margin: 8px 0;
  }

  hr.space.s {
    margin: 12px 0;
  }

  hr.space.m {
    margin: 20px 0;
  }

  hr.space.l {
    margin: 30px 0;
  }

  /* Row column spacing */
  .row > [class*='col-'] {
    margin-bottom: 20px;
  }

  .row > [class*='col-']:last-child {
    margin-bottom: 0;
  }

  /* ===================
       FOOTER - MOBILE
       =================== */
  footer {
    text-align: center;
    padding: 30px 0;
  }

  footer .col-md-3,
  footer .col-md-4,
  footer .col-md-5,
  footer .col-md-6 {
    width: 100%;
    margin-bottom: 25px;
  }

  footer .col-md-2 {
    width: 100%;
    margin-bottom: 25px;
  }

  footer h4 {
    margin-top: 20px;
  }

  footer .fa-ul {
    padding-left: 0;
    list-style: none;
  }

  footer .fa-ul li {
    padding: 8px 0;
  }

  /* Social buttons */
  footer .btn-group {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
  }

  /* ===================
       MAP SECTION - MOBILE
       =================== */
  .section-map {
    height: auto !important;
    min-height: 500px;
  }

  .section-map iframe {
    height: 300px;
  }

  .section-map .overlaybox,
  .section-map .overlaybox-side {
    position: relative;
    width: 100%;
    padding: 0;
  }

  .section-map .overlaybox-inner {
    position: relative;
    padding: 25px;
    background: #ffffff;
    margin: 0;
  }

  .section-map .overlaybox-inner .col-md-6 {
    width: 100%;
    margin-bottom: 20px;
  }

  /* ===================
       NEWSLETTER SECTION - MOBILE
       =================== */
  .newsletter-section {
    padding: 40px 0;
  }

  .newsletter-section h3 {
    font-size: 22px;
  }

  .newsletter-section p {
    font-size: 15px;
    padding: 0 10px;
  }

  /* Floating icons - reduce on mobile */
  .floating-icon {
    font-size: 20px;
    opacity: 0.25;
  }

  .floating-icon:nth-child(n + 5) {
    display: none;
  }

  /* ===================
       CAROUSEL/SLIDER - MOBILE
       =================== */
  .flexslider {
    margin-bottom: 20px;
  }

  .flex-direction-nav a {
    width: 40px;
    height: 40px;
  }

  .flex-control-nav {
    bottom: -30px;
  }

  .flex-control-paging li a {
    width: 10px;
    height: 10px;
  }

  /* Partners carousel */
  .partners-carousel img {
    max-height: 50px;
  }

  /* ===================
       HEADER TITLE PAGES - MOBILE
       =================== */
  .header-title {
    min-height: 250px;
    padding: 60px 0;
  }

  .header-title h1 {
    font-size: 28px;
  }

  .header-title p {
    font-size: 15px;
  }

  /* ===================
       ABOUT PAGE - MOBILE
       =================== */
  .block-quote {
    padding: 20px;
    font-size: 15px;
  }

  .block-quote.quote-1 {
    margin: 20px 0;
  }

  /* Resources section */
  .btn-xs.nav-justified {
    display: block;
    width: 100%;
    margin-bottom: 10px;
  }

  /* ===================
       CONTACT PAGE - MOBILE
       =================== */
  .business-hours table {
    font-size: 14px;
  }

  .business-hours td {
    padding: 10px 8px;
  }


  /* ===================
       OUR PROCESS SECTION - MOBILE
       =================== */
  .section-empty[style*='left: 100px'] {
    left: 0 !important;
    padding: 20px 0 !important;
  }

  .section-empty[style*='left: 100px'] .container {
    padding: 0 15px;
  }

  .section-empty .row[style*='display: flex'] {
    flex-direction: column !important;
    margin: 0;
  }

  .section-empty .row[style*='display: flex'] > .col-md-6 {
    width: 100%;
    margin-bottom: 15px;
    padding: 0;
  }

  .section-empty .row[style*='display: flex'] > .col-md-6.text-center {
    margin-top: 5px;
  }

  /* ===================
       HIDE MAN IMAGE - MOBILE
       =================== */
  .img-man {
    display: none !important;
  }

  /* ===================
       PREVENT OVERFLOW
       =================== */
  .container,
  .row,
  section,
  .section-empty,
  .section-bg-color {
    overflow-x: hidden;
  }

  /* Fix for any absolute positioned elements */
  .overlaybox,
  .box-middle-container {
    max-width: 100vw;
  }
}

/* ===================
   SMALL MOBILE (≤480px)
   =================== */
@media (max-width: 480px) {
  /* Even smaller text adjustments */
  .text-xl {
    font-size: 24px !important;
    line-height: 32px !important;
  }

  h1 {
    font-size: 24px;
  }

  h2 {
    font-size: 22px;
  }

  /* Stats counter - still 2 columns but tighter */
  .grid-table.border-table:not(.full-border-table) td {
    padding: 15px 5px;
  }

  .counter-box-icon .counter {
    font-size: 24px;
  }

  /* Tab navigation - full width each */
  .tab-box .nav-tabs > li {
    flex: 1 1 100%;
    min-width: 100%;
  }

  /* Service icons section - 2 columns */
  .advs-box-top-icon {
    padding: 20px 15px;
  }

  /* Buttons */
  .btn {
    padding: 12px 20px;
    font-size: 14px;
  }
}

/* ===================
   LANDSCAPE MOBILE
   =================== */
@media (max-width: 768px) and (orientation: landscape) {
  /* Hero section height adjustment */
  .section-bg-image {
    min-height: 350px;
    padding: 40px 0;
  }

  /* Navbar height reduction */
  .navbar-brand img {
    max-height: 40px;
  }

  /* Mobile menu max height */
  .navbar-collapse {
    max-height: 60vh;
  }
}

/* ===================
   HIGH DPI / RETINA DISPLAYS
   =================== */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  /* Ensure crisp borders */
  .btn,
  .form-control {
    border-width: 1px;
  }
}

/* ===================
   TOUCH DEVICE OPTIMIZATIONS
   =================== */
@media (hover: none) and (pointer: coarse) {
  /* Remove hover effects that don't work well on touch */
  .grid-table td:hover {
    transform: none;
    box-shadow: none;
  }

  .advs-box:hover {
    transform: none;
  }

  .advs-box-top-icon:hover {
    transform: none;
  }

  /* Add active states instead */
  .btn:active {
    transform: scale(0.98);
  }

  .grid-table td:active {
    background-color: rgba(0, 86, 179, 0.05);
  }

  /* Ensure adequate spacing for touch targets */
  a,
  button,
  .btn,
  input,
  select,
  textarea {
    touch-action: manipulation;
  }
}

/* ===================
   ACCESSIBILITY - FOCUS STATES
   =================== */
@media (max-width: 1024px) {
  /* Enhanced focus states for keyboard navigation */
  a:focus,
  button:focus,
  .btn:focus,
  input:focus,
  select:focus,
  textarea:focus {
    outline: 3px solid #ffc107;
    outline-offset: 2px;
  }

  /* Skip link for accessibility */
  .skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #0056b3;
    color: #ffffff;
    padding: 10px 20px;
    z-index: 100000;
    transition: top 0.3s;
  }

  .skip-link:focus {
    top: 0;
  }
}

/* =============================
   FLOATING LANGUAGE TOGGLE
   ============================= */
/* ===== NAVBAR LANGUAGE TOGGLE ===== */
.nav-lang-toggle a {
  display: flex !important;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.nav-lang-toggle .lang-flag {
  display: inline-block !important;
  width: 20px !important;
  height: 15px !important;
  line-height: 15px !important;
  border-radius: 2px;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  vertical-align: middle;
}

.nav-lang-toggle .lang-text {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
