/*

TemplateMo 567 Nomad Force

https://templatemo.com/tm-567-nomad-force

*/

/*---------------------------------------
  CUSTOM PROPERTIES ( VARIABLES )             
-----------------------------------------*/
:root {
  --white-color:                  #FFFFFF;
  --primary-gradient:            linear-gradient(90deg, #0B74A8 0%, #0B74A8 100%);
  --primary-color:               #0B74A8; /* single professional accent color */
  --section-bg-color:            #f9f9f9;
  --dark-color:                  #0b0b0b;
  --text-color:                  #1f1f1f;
  --muted-color:                 #6b6b6f;
  --title-color:                 #2b2b2b;
  --p-color:                      #6c6c70;
  --accent-1:                    var(--primary-color);
  --accent-2:                    var(--primary-color);
  --accent-3:                    var(--primary-color);
  --accent-4:                    var(--primary-color);

  --body-font-family:           'Inter', 'Roboto', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --heading-font-family:        'Inter', 'Roboto', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;

  --base-font-size:            16px;
  --base-line-height:          1.65;

  --h1-font-size:               clamp(30px, 4.5vw, 72px);
  --h2-font-size:               clamp(24px, 3.2vw, 42px);
  --h3-font-size:               clamp(20px, 2.4vw, 36px);
  --h4-font-size:               clamp(18px, 2.0vw, 32px);
  --h5-font-size:               20px;
  --h6-font-size:               16px;
  --p-font-size:                16px;
  --copyright-text-font-size:   14px;
  --custom-link-font-size:      14px;

  --container-max-width:        1180px;

  --font-weight-light:          300;
  --font-weight-normal:         400;
  --font-weight-medium:         500;
  --font-weight-bold:           700;
  --font-weight-black:          900;
}

/* Base typography */
html, body {
  font-family: var(--body-font-family);
  font-size: var(--base-font-size);
  line-height: var(--base-line-height);
  color: var(--text-color);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body,
html {
  height: 100%;
}

body {
    background: var(--white-color);
    font-family: var(--body-font-family);    
    position: relative;
}

/*---------------------------------------
  TYPOGRAPHY               
-----------------------------------------*/

h2,
h3,
h4,
h5,
h6 {
  color: var(--dark-color);
  line-height: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: var(--font-weight-bold);
}

h1,
h2 {
  font-weight: var(--font-weight-black);
}

h1 {
  font-size: var(--h1-font-size);
  line-height: normal;
}

h2 {
  font-size: var(--h2-font-size);
}

h3 {
  font-size: var(--h3-font-size);
}

h4 {
  font-size: var(--h4-font-size);
}

h5 {
  font-size: var(--h5-font-size);
}

h6 {
  font-size: var(--h6-font-size);
}

p {
  color: var(--muted-color);
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-normal);
  letter-spacing: 0.2px;
  line-height: 1.7;
}

.text-secondary-white-color {
  color: var(--text-secondary-white-color);
}

a, 
button {
  touch-action: manipulation;
  transition: all 0.3s;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: var(--font-weight-medium);
}

a:hover {
  color: color-mix(in srgb, var(--primary-color) 80%, #000 20%);
  text-decoration: underline;
}

/* Primary buttons — solid, rounded, modern */
.btn-primary {
  background: var(--primary-color);
  border: none;
  color: var(--white-color);
  padding: .75rem 1.5rem;
  font-weight: var(--font-weight-bold);
  border-radius: 9999px;
  box-shadow: 0 8px 24px rgba(15,23,42,0.08);
  transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(15,23,42,0.12);
  opacity: 0.98;
}
.btn-primary:focus {
  outline: none;
  box-shadow: 0 0 0 6px rgba(11,116,168,0.12);
}
.btn-primary:active { transform: translateY(0); opacity: 0.97; }

.btn-outline-primary {
  border-color: var(--primary-color);
  color: var(--primary-color);
  border-radius: 9999px;
  padding: .6rem 1.25rem;
  background: transparent;
  transition: background .18s ease, transform .18s ease;
}
.btn-outline-primary:hover {
  background: rgba(11,116,168,0.08);
  color: var(--primary-color);
  transform: translateY(-1px);
}
.btn-outline-primary:focus { box-shadow: 0 0 0 6px rgba(11,116,168,0.08); }


::selection {
  background: var(--dark-color);
  color: var(--white-color);
}

.custom-underline {
  border-bottom: 2px solid var(--white-color);
  color: var(--white-color);
  padding-bottom: 4px;
}

.videoWrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  z-index: -100;
}

.custom-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.overlay {
  background: linear-gradient(to top, rgba(0,0,0,0.82), rgba(0,0,0,0.06) 55%);
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  pointer-events: none;
}

/*---------------------------------------
  CUSTOM LINK               
-----------------------------------------*/
.custom-links {
  max-width: 230px;
}

.custom-link {
  position: relative;
  overflow: hidden;
  z-index: 1;
  display: inline-block;
  transition: all .3s cubic-bezier(.645,.045,.355,1);
}

.custom-link::after {
  content: "";
  width: 0;
  height: 2px;
  bottom: 0;
  position: absolute;
  left: auto;
  right: 0;
  z-index: -1;
  transition: width .6s cubic-bezier(.25,.8,.25,1) 0s;
  background: currentColor;
}

.custom-link:hover::after {
  width: 100%;
  left: 0;
  right: auto;
}

.custom-link:hover,
.custom-link:hover::after {
  color: var(--white-color);
}

b,
strong {
  font-weight: var(--font-weight-bold);
}

/*---------------------------------------
  NAVIGATION               
-----------------------------------------*/

.navbar {
  z-index: 9;
  right: 0;
  left: 0;
  padding-top: 12px;
  padding-bottom: 12px;
  background: rgba(255,255,255,0.98);
  box-shadow: 0 6px 20px rgba(27,31,35,0.06);
}

.navbar-brand {
  color: var(--dark-color);
  font-weight: var(--font-weight-black);
  letter-spacing: -0.5px;
  font-size: 1.05rem;
}
.nav-logo {
  width: 34px;
  height: auto;
  object-fit: contain;
  filter: none;
}
.navbar .nav-link {
  color: var(--muted-color);
  padding: 0.5rem 0.9rem;
  font-weight: var(--font-weight-medium);
}

@media screen and (max-width: 991px) {
  .navbar-collapse {
    background: #fff;
    padding: 1.25rem;
    border-radius: 8px;
    box-shadow: 0 8px 28px rgba(0,0,0,0.06);
    margin-top: 0.5rem;
  }
}
.navbar .nav-link:hover,
.navbar .nav-item.active .nav-link {
  color: var(--primary-color);
  text-decoration: none;
}
  font-size: 24px;
  font-weight: var(--font-weight-bold);
}

.navbar-expand-lg .navbar-nav .nav-link {
  padding-right: 15px;
  padding-left: 15px;
}

.navbar-nav .nav-link::after {
  content: "\f140";
  font-family: bootstrap-icons;
  display: inline-block;
  margin-left: 10px;
  color: var(--primary-color);
  opacity: 0;
  -webkit-transition: opacity 0.3s, -webkit-transform 0.3s;
  -moz-transition: opacity 0.3s, -moz-transform 0.3s;
  transition: opacity 0.3s, transform 0.3s;
  -webkit-transform: translateY(10px);
  -moz-transform: translateY(10px);
  transform: translateY(10px);
}

.navbar-nav .nav-link:hover::after {
  opacity: 1;
  -webkit-transform: translateY(0px);
  -moz-transform: translateY(0px);
  transform: translateY(0px);
}

.navbar-nav .nav-link {
  color: var(--p-color);
  font-size: 18px;
  font-weight: var(--font-weight-bold);
  position: relative;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-item.active .nav-link::after {
  color: var(--primary-color);
  opacity: 1;
  -webkit-transform: translateY(0px);
  -moz-transform: translateY(0px);
  transform: translateY(0px);
}

.navbar-nav .nav-item.active .nav-link,
.nav-link:focus, 
.nav-link:hover {
  color: var(--dark-color);
}

.nav-link:focus {
  color: var(--p-color);
}

.navbar-toggler {
  border: 0;
  padding: 0;
  cursor: pointer;
  margin: 0;
  width: 30px;
  height: 35px;
  outline: none;
}

.navbar-toggler:focus {
  outline: none;
  box-shadow: none;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
  background: transparent;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before,
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {
  transition: top 300ms 50ms ease, -webkit-transform 300ms 350ms ease;
  transition: top 300ms 50ms ease, transform 300ms 350ms ease;
  transition: top 300ms 50ms ease, transform 300ms 350ms ease, -webkit-transform 300ms 350ms ease;
  top: 0;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before {
  transform: rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {
  transform: rotate(-45deg);
}

.navbar-toggler .navbar-toggler-icon {
  background: var(--dark-color);
  transition: background 10ms 300ms ease;
  display: block;
  width: 30px;
  height: 2px;
  position: relative;
}

.navbar-toggler .navbar-toggler-icon:before,
.navbar-toggler .navbar-toggler-icon:after {
  transition: top 300ms 350ms ease, -webkit-transform 300ms 50ms ease;
  transition: top 300ms 350ms ease, transform 300ms 50ms ease;
  transition: top 300ms 350ms ease, transform 300ms 50ms ease, -webkit-transform 300ms 50ms ease;
  position: absolute;
  right: 0;
  left: 0;
  background: var(--dark-color);
  width: 30px;
  height: 2px;
  content: '';
}

.navbar-toggler .navbar-toggler-icon:before {
  top: -8px;
}

.navbar-toggler .navbar-toggler-icon:after {
  top: 8px;
}

/*---------------------------------------
  HERO              
-----------------------------------------*/
.hero {
  position: relative;
  overflow: hidden;
}

.logo-container {
  position: absolute;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-logo {
  max-width: 120px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

@media screen and (min-width: 992px) {
  .hero {
    height: 100vh;
  }

  .custom-video,
  .news-detail-image {
    object-fit: cover;
    width: 100vw;
    height: 100vh;
  }

  .sticky-wrapper {
    position: relative;
    bottom: 76px;
  }
}

.heroText {
  position: absolute;
  z-index: 9;
  top: 50%;
  left: 8%;
  transform: translateY(-50%);
  width: 44%;
  text-align: left;
  max-width: 760px;
}

/* Tighten hero vertical spacing and use fluid heading sizes */
.heroText h1 {
  font-size: clamp(32px, 5vw, 68px);
  line-height: 1.02;
  margin: 0 0 8px 0;
  color: var(--white-color);
  font-weight: var(--font-weight-black);
  text-shadow: 0 12px 30px rgba(0,0,0,0.45);
}

.heroText p {
  font-size: 18px;
  margin: 0 0 18px 0;
  line-height: 1.4;
  color: rgba(255,255,255,0.94);
  font-weight: var(--font-weight-normal);
}

.heroText .btn {
  margin-top: 12px;
  padding: .9rem 1.6rem;
  font-size: 18px;
  border-radius: 9999px;
  box-shadow: 0 10px 30px rgba(15,23,42,0.08);
  background: var(--primary-color);
  color: var(--white-color);
  border: none;
}
@media screen and (max-width: 992px) {
  .heroText .btn { font-size: 16px; padding: .8rem 1.25rem; }
}


/* Responsive hero text adjustments for smaller screens */
@media screen and (max-width: 992px) {
  .heroText {
    top: 46%;
    left: 50%;
    transform: translate(-50%, -46%);
    text-align: center;
    width: 92%;
    padding: 0 1.25rem;
    max-width: 860px;
    z-index: 99;
  }

  .heroText h1 {
    font-size: clamp(28px, 6vw, 48px);
    margin: 0 0 6px 0;
  }

  .heroText p {
    font-size: 16px;
    margin: 0 0 12px 0;
  }

  .heroText .btn {
    font-size: 15px;
    padding: 10px 20px;
  }
}

/* Mobile-specific readability fixes */
@media screen and (max-width: 768px) {
  /* hide the centered logo so it doesn't overlap hero text */
  .logo-container { display: none; }

  /* darken overlay on mobile for better contrast */
  .overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.82), rgba(0,0,0,0.06) 70%);
  }

  .heroText {
    top: 38%;
  }

  .heroText h1, .heroText p {
    text-shadow: 0 10px 24px rgba(0,0,0,0.6);
  }

  .heroText .btn { margin-top: 14px; }
}

@media screen and (max-width: 576px) {
  .heroText {
    top: 24%;
    width: 94%;
  }

  .heroText h1 {
    font-size: 26px;
  }

  .heroText p {
    font-size: 14px;
  }

  .heroText .btn {
    font-size: 14px;
    padding: 8px 14px;
  }
}

/*---------------------------------------
  ABOUT & TEAM MEMBERS               
-----------------------------------------*/

/* Portfolio tweaks */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
}
.portfolio-grid > [class*="col-"] {
  padding: 0;
  width: 100%;
}
@media (min-width: 992px) {
  .portfolio-grid > [class*="col-"]:nth-child(1) { grid-column: 1; grid-row: 1; }
  .portfolio-grid > [class*="col-"]:nth-child(2) { grid-column: 2; grid-row: 1; }
  .portfolio-grid > [class*="col-"]:nth-child(3) { grid-column: 1; grid-row: 2; }
  .portfolio-grid > [class*="col-"]:nth-child(4) { grid-column: 2; grid-row: 2; }
  .portfolio-grid > [class*="col-"]:nth-child(5) { grid-column: 3; grid-row: 1; }
  .portfolio-grid > [class*="col-"]:nth-child(6) { grid-column: 3; grid-row: 2; }
}
@media (max-width: 991.98px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 767.98px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
}

.portfolio-item { height: 330px; overflow: hidden; }
.portfolio-item img {
  width: 100%;
  height: 100%; /* fill parent */
  object-fit: cover;
  border-radius: 8px;
  transition: transform .35s ease, box-shadow .35s ease;
} 
.portfolio-item:hover img {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 18px 48px rgba(10,12,14,0.08);
}
@media (max-width: 767px) {
  .portfolio-item img { height: 240px; }
}

/* Service card styling for a more polished look */
.service-card {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(32,33,36,0.06);
  transition: transform .28s ease, box-shadow .28s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 48px rgba(32,33,36,0.12);
}
.service-card-image {
  position: relative;
}
.service-card-image img {
  display: block;
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform .5s ease;
}
.service-card:hover .service-card-image img {
  transform: scale(1.04);
}
.service-card-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 18px;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.75) 100%);
}
.service-card-title {
  margin: 0;
  color: var(--white-color);
  font-weight: var(--font-weight-bold);
  font-size: 1.05rem;
}
@media screen and (max-width: 767px) {
  .service-card-image img { height: 200px; }
}

/* Feature list look */
.feature-item .feature-number {
  background: rgba(11,116,168,0.08);
  color: var(--primary-color);
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: var(--font-weight-bold);
  min-width: 52px;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.feature-title {
  margin: 0;
  font-weight: var(--font-weight-bold);
  color: var(--title-color);
}
.feature-text {
  margin: 0;
  color: var(--muted-color);
}

/* Process cards */
.process-card {
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 10px 28px rgba(20,21,23,0.06);
  background: #fff;
  height: 100%;
}
.process-card .process-number {
  height: 46px;
  width: 46px;
  background: rgba(11,116,168,0.08);
  color: var(--primary-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-weight: var(--font-weight-bold);
  margin-bottom: 12px;
}
.process-title { margin: 0 0 8px 0; }
.process-text { margin: 0; color: var(--muted-color); }

.about-image,
.team-image {
  width: 100%;
  height: 100%;
  max-height: 635px;
  min-height: 475px;
  object-fit: cover;
}

/*---------------------------------------
  SERVICE CARDS               
-----------------------------------------*/
.service-card-link {
  text-decoration: none;
  display: block;
  height: 100%;
}

.service-card {
  position: relative;
  height: 100%;
  min-height: 300px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
}

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

.service-card {
  padding: 0; /* ensure image touches card edges */
  background: #fff;
  border-radius: 12px;
  overflow: hidden; /* clip image to rounded corners */
}

.service-card-image {
  position: relative;
  width: 100%;
  height: 260px; /* fixed visual height to avoid gaps */
  overflow: hidden;
}

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

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

.service-card-overlay {
  /* Hidden by default to avoid a persistent bottom bar; visible on hover */
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: auto;
  height: 64px;
  padding: 16px 20px;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.65) 100%);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  transition: opacity 0.25s ease, transform 0.25s ease;
  color: var(--white-color);
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
}

.service-card:hover .service-card-overlay {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: var(--white-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  box-shadow: 0 8px 20px rgba(15,23,42,0.06);
  color: var(--primary-color);
  font-size: 22px;
  border: 1px solid rgba(0,0,0,0.03);
}

@media screen and (max-width: 767px) {
  .service-icon { width: 48px; height: 48px; font-size: 18px; }
}

.service-card-image img {
  display: block;
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform .5s ease;
  filter: saturate(0.9) brightness(0.95);
}

.service-card-title { color: var(--dark-color); }

.service-card-image .play-icon { display: none; }

.service-card-image a .external-icon { display: none; }

/* Removed review CTA styles */

.service-card-title {
  color: var(--white-color);
  font-size: 20px;
  font-weight: var(--font-weight-bold);
  margin: 0;
  text-transform: capitalize;
}

.team-thumb {
  background: var(--white-color);
  position: absolute;
  bottom: 0;
  right: 0;
  width: 65%;
  padding: 22px 32px 32px 32px;
}

.carousel-control-next, 
.carousel-control-prev {
  top: auto;
  bottom: 2.5rem;
}

.carousel-control-prev {
  right: 4rem;
  left: auto;
}

.carousel-control-next-icon, 
.carousel-control-prev-icon {
  background-color: var(--dark-color);
  background-size: 50% 50%;
  border-radius: 100px;
  width: 3rem;
  height: 3rem;
}

/*---------------------------------------
  PORTFOLIO               
-----------------------------------------*/

/* Make the grid a little more spacious and add space for view-more button */
.portfolio-grid {
  row-gap: 2rem; /* larger vertical spacing between rows */
  column-gap: 1.5rem; /* slightly more horizontal breathing room */
}

.portfolio-section .view-more {
  margin-top: 28px; /* keep the button away from the images */
}
.portfolio-thumb {
  position: relative;
  overflow: hidden;
}

.portfolio-info {
  margin: 20px;
}

/*---------------------------------------
  NEWS & EVENTS               
-----------------------------------------*/

.news,
.related-news {
  background: var(--section-bg-color);
  background-image: url('../images/background1.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
}

.news::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.96);
  z-index: 1;
  pointer-events: none;
}

.news > .container {
  position: relative;
  z-index: 2;
}

.related-news::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.96);
  z-index: 1;
  pointer-events: none;
}

.related-news > .container {
  position: relative;
  z-index: 2;
}

.news-thumb {
  position: relative;
}

.news-category {
  background: var(--white-color);
  position: absolute;
  z-index: 9;
  top: 0;
  left: 0;
  padding: 4px 12px;
  display: inline-block;
}

.news-text-info {
  margin: 0 20px;
}

.news-title {
  margin-top: 15px;
  margin-bottom: 15px;
}

.news-title-link {
  color: var(--title-color);
  display: inline-block;
}

.news-title-link:hover {
  color: var(--dark-color);
}

.portfolio-image,
.news-image {
  display: block;
  transition: transform 0.6s ease-out;
}

.news-image-hover {
  display: inline-block;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: all .3s cubic-bezier(.645,.045,.355,1);
  padding-bottom: 4px;
  height: 100%;
}

.news-image-hover::after {
  content: "";
  width: 0;
  height: 4px;
  bottom: 0;
  position: absolute;
  left: auto;
  right: 0;
  z-index: -1;
  transition: width .6s cubic-bezier(.25,.8,.25,1) 0s;
  background: #198754;
}

.news-image-hover-warning::after {
  background: var(--primary-color);
}

.news-image-hover-primary::after {
  background: var(--primary-color);
}

.news-image-hover-success::after {
  background: var(--primary-color);
}

.news-image-hover:hover::after {
  width: 100%;
  left: 0;
  right: auto;
  z-index: 9;
}

.image-popup:hover .portfolio-image,
.news-image-hover:hover .news-image {
  transform: scale(1.02);
}

.news-two-column {
  min-height: 199px;
  margin-bottom: 16px;
}

.news-two-column .news-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.social-share-link,
.social-share-link + span {
  color: rgba(255, 255, 255, 0.65);
}

/*---------------------------------------
  SECTION               
-----------------------------------------*/
.section-padding {
  padding-top: 7rem;
  padding-bottom: 7rem;
}

/* Limit global container width for consistent rhythm */
.container {
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
}

/* Increase font size for the "Ako to funguje?" subtitle in the process section */
#process .lead {
  font-size: 1.4rem;
}

/*---------------------------------------
  CONTACT              
-----------------------------------------*/
.contact-info {
  padding: 36px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(22,23,25,0.05);
  border: 1px solid rgba(0,0,0,0.04);
  display: inline-block;
  text-align: left;
  max-width: 560px;
}
@media screen and (max-width: 767px) {
  .contact-info { text-align: center; }
  .contact-info .contact-link { justify-content: center; }
}

.contact-link {
  display: inline-flex;
  align-items: center;
  font-size: 18px;
  color: var(--dark-color);
  text-decoration: none;
  transition: all 0.25s ease;
  font-weight: var(--font-weight-bold);
}

.contact-link i {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  background: rgba(11,116,168,0.06);
  color: var(--primary-color);
  border-radius: 8px;
}

.contact-link:hover {
  color: var(--primary-color);
  transform: translateX(4px);
}

.contact-form .form-control {
  border-radius: 6px;
  font-weight: var(--font-weight-normal);
  padding: 12px 14px;
  border: 1px solid #e8e8ea;
  box-shadow: none;
}
.contact-form .form-control:focus {
  border-color: rgba(11,116,168,0.9);
  box-shadow: 0 6px 18px rgba(11,116,168,0.08);
  outline: none;
}

.contact-form button[type='submit'] {
  background: var(--dark-color);
  border: none;
  border-radius: 100px;
  color: var(--white-color);
  font-weight: var(--font-weight-bold);
  text-transform: uppercase;
  padding: 16px;
  transition: all 0.6s ease-out;
}

.contact-form button[type='submit']:hover {
  background: var(--primary-color);
}

.form-label {
  color: var(--p-color);
  font-weight: var(--font-weight-bold);
}

.map-iframe {
  display: block;
  filter: grayscale(100);
}

/*---------------------------------------
  FAQ                
-----------------------------------------*/
.faq-section .faq-heading {
  text-align: center;
  margin-bottom: 2rem;
}
.faq-section h2 {
  font-weight: 800;
  letter-spacing: -0.5px;
}
.faq-section .accordion {
  max-width: 100%;
}
.faq-section .accordion-item {
  border: none;
  border-bottom: 1px solid #e9ecef;
  padding: 0;
}
.faq-section .accordion-button {
  font-weight: 600;
  color: var(--dark-color);
  padding: 1.1rem 1.25rem;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
}
.faq-section .accordion-button:hover {
  background: rgba(0,0,0,0.02);
}
.faq-section .accordion-button:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(11,116,168,0.12);
  border-radius: 4px;
}
.faq-section .accordion-button::after {
  display: none; /* hide default bootstrap caret */
}
.faq-section .faq-icon {
  font-size: 1rem;
  color: rgba(0,0,0,0.6);
  transition: transform 0.2s ease, color 0.2s ease;
}
.faq-section .accordion-button:not(.collapsed) .faq-icon {
  transform: rotate(180deg);
  color: var(--primary-color);
}
.faq-section .accordion-body {
  color: var(--p-color);
  padding: 1rem 1.25rem 1.5rem;
  background: transparent;
  font-weight: 400;
}
@media screen and (max-width: 767px) {
  .faq-section .col-md-6 {
    margin-bottom: 1.5rem;
  }
} 

/*---------------------------------------
  SITE FOOTER               
-----------------------------------------*/
.site-footer {
  background: var(--dark-color);
  padding-top: 4.5rem;
  padding-bottom: 2.5rem;
  border-top: 1px solid rgba(255,255,255,0.04);
}
.site-footer .custom-link {
  color: rgba(255,255,255,0.75);
}
.site-footer .text-white {
  font-weight: var(--font-weight-medium);
}
.site-footer .social-icon-link {
  font-size: 1.15rem;
  opacity: 0.9;
}
.site-footer .social-icon-link:hover {
  transform: translateY(-3px);
  color: var(--primary-color);
}


.site-footer .custom-link {
  color: rgba(255, 255, 255, 0.65);
  font-size: var(--p-font-size);
}

.site-footer .custom-link:hover,
.site-footer .social-icon-link:hover {
  color: var(--white-color);
}

.copyright-text {
  color: rgba(255, 255, 255, 0.45);
  font-size: var(--copyright-text-font-size);
}

/*---------------------------------------
  SOCIAL ICON               
-----------------------------------------*/
.social-icon {
  margin: 0;
  padding: 0;
}

.social-icon li {
  list-style: none;
  display: inline-block;
  vertical-align: top;
}

.social-icon-link {
  color: rgba(255, 255, 255, 0.45);
  font-size: 1rem;
  display: inline-block;
  vertical-align: top;
  margin-top: 4px;
  margin-bottom: 4px;
  margin-right: 15px;
}

.social-icon-link:hover {
  color: var(--primary-color);
}

/*---------------------------------------
  RESPONSIVE STYLES               
-----------------------------------------*/
@media screen and (min-width: 1600px) {
  .news-two-column {
    min-height: 232.5px;
  }
}

@media screen and (max-width: 991px) {
  h1 {
    font-size: 48px;
  }

  h2 {
    font-size: 36px;
  }

  h3 {
    font-size: 32px;
  }

  h4 {
    font-size: 28px;
  }

  h5 {
    font-size: 20px;
  }

  h6 {
    font-size: 18px;
  }

  .navbar {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .section-padding {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }

  .team-thumb {
    left: 0;
    width: auto;
  }

  .news-two-column {
    height: auto !important;
    min-height: inherit;
  }

  .news .col-12 .news-two-column:first-child {
    margin-bottom: 38px;
  }
}

@media screen and (max-width: 767px) {
  .news-detail-title {
    font-size: 36px;
  }
}

@media screen and (max-width: 360px) {
  h1 {
    font-size: 32px;
  }

  .heroText p {
    font-size: 14px;
    margin-top: 10px;
  }
}

@media screen and (max-width: 359px) {
  .news-detail-title {
    font-size: 22px;
  }
}

/*---------------------------------------
  COOKIE CONSENT BANNER
-----------------------------------------*/
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--dark-color);
  color: var(--white-color);
  padding: 20px;
  z-index: 9999;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
  display: none;
}

/* Skip link for accessibility */
.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
  padding: 8px 12px;
  background: var(--primary-color);
  color: var(--white-color);
  z-index: 99999;
  border-radius: 6px;
}

/* Visible focus styles for keyboard users */
:focus {
  outline: none;
}
:focus-visible {
  outline: 3px solid rgba(11,116,168,0.16);
  outline-offset: 2px;
}
.cookie-consent-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.cookie-text {
  flex: 1;
  min-width: 250px;
}

.cookie-text h5 {
  color: var(--white-color);
  font-size: 16px;
  font-weight: var(--font-weight-bold);
  margin-bottom: 8px;
}

.cookie-text p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  margin: 0;
  line-height: 1.5;
}

.cookie-link {
  color: var(--white-color);
  text-decoration: underline;
  transition: color 0.3s ease;
}

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

.cookie-buttons {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.btn-accept,
.btn-reject {
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 14px;
  font-weight: var(--font-weight-bold);
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
}

.btn-accept {
  background: var(--primary-color);
  color: var(--white-color);
  border-radius: 999px;
  padding: 10px 18px;
  box-shadow: 0 8px 24px rgba(15,23,42,0.08);
}

.btn-accept:hover {
  opacity: 0.95;
  transform: translateY(-2px);
}

.btn-reject {
  background: transparent;
  color: var(--white-color);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px;
  padding: 10px 16px;
}
.btn-reject:hover { background: rgba(255,255,255,0.06); color: var(--primary-color); }


.btn-reject:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--primary-color);
  color: var(--primary-color);
}

@media screen and (max-width: 768px) {
  .cookie-consent-content {
    flex-direction: column;
    gap: 15px;
    align-items: stretch;
  }

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

  .btn-accept,
  .btn-reject {
    width: 100%;
  }

  .cookie-text {
    min-width: auto;
  }
}
/*---------------------------------------
  FEATURE SECTION (Numbered List Design)             
-----------------------------------------*/
.feature-item {
  padding: 20px 0;
  border-bottom: 1px solid #f0f0f0;
  transition: all 0.3s ease;
}

.feature-item:last-child {
  border-bottom: none;
}

.feature-number {
  font-size: 45px;
  font-weight: var(--font-weight-black);
  color: var(--primary-color);
  min-width: 60px;
  flex-shrink: 0;
}

.feature-title {
  font-size: 20px;
  font-weight: var(--font-weight-bold);
  margin-bottom: 8px;
  color: var(--dark-color);
}

.feature-text {
  font-size: 16px;
  color: var(--p-color);
  line-height: 1.5;
  margin: 0;
}

/*---------------------------------------
  PROCESS TIMELINE DESIGN             
-----------------------------------------*/
.process-timeline {
  position: relative;
  padding: 40px 0;
}

.process-timeline::before {
  content: '';
  position: absolute;
  left: 30px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--primary-color), transparent);
}

.timeline-item {
  position: relative;
  padding-left: 100px;
  margin-bottom: 40px;
  padding-bottom: 20px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: 0;
  top: 5px;
  width: 60px;
  height: 60px;
  background: var(--white-color);
  border: 3px solid var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline-content {
  padding: 20px 25px;
  background: var(--section-bg-color);
  border-radius: 8px;
  border-left: 3px solid var(--primary-color);
  transition: all 0.3s ease;
}

.timeline-content:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transform: translateX(5px);
}

.process-title {
  font-size: 26px;
  font-weight: var(--font-weight-bold);
  margin-bottom: 8px;
  color: var(--dark-color);
}

.process-text {
  font-size: 18px;
  color: var(--p-color);
  line-height: 1.5;
  margin: 0;
}

/* Clean process cards — white card, accent border, compact chip */
.process-card {
  padding: 34px 26px;
  border-radius: 14px;
  background: rgba(255,255,255,0.98);
  color: var(--text-color);
  border: 1px solid rgba(20,20,20,0.04);
  box-shadow: 0 8px 24px rgba(32,33,36,0.06);
  transition: transform .25s ease, box-shadow .25s ease, border-left-width .2s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.process-card .process-title { font-size: 20px; margin-top: 6px; margin-bottom: 6px; }
.process-card .process-text { color: var(--muted-color); font-size: 15px; }

@media screen and (max-width: 767px) {
  .process-card { padding: 22px 18px; }
}

.process-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 26px 60px rgba(32,33,36,0.12);
}

.process-card .process-title { color: var(--title-color); margin: 0 0 8px 0; }
.process-card .process-text { color: var(--muted-color); margin: 0; }

.process-number {
  width: 44px;
  height: 44px;
  font-size: 15px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  margin-bottom: 14px;
  background: rgba(0,0,0,0.06);
  font-weight: 800;
  box-shadow: 0 8px 22px rgba(0,0,0,0.06);
  flex-shrink: 0;
  align-self: flex-start; /* keep chip aligned to left */
  transform: translateY(-2px);
}

/* Icons inside numbered chips */
.process-number i {
  font-size: 18px;
  color: #fff;
  line-height: 1;
}

/* Accent borders and numbered backgrounds */
.process-card.bg-1 { border-left: 6px solid var(--accent-1); }
.process-card.bg-1 .process-number { background: var(--primary-color); box-shadow: 0 10px 28px rgba(11,116,168,0.14); }

.process-card.bg-2 { border-left: 6px solid var(--accent-2); }
.process-card.bg-2 .process-number { background: var(--primary-color); box-shadow: 0 10px 28px rgba(11,116,168,0.14); }

.process-card.bg-3 { border-left: 6px solid var(--primary-color); }
.process-card.bg-3 .process-number { background: var(--primary-color); box-shadow: 0 10px 28px rgba(11,116,168,0.14); }

.process-card.bg-4 { border-left: 6px solid var(--primary-color); }
.process-card.bg-4 .process-number { background: var(--primary-color); box-shadow: 0 10px 28px rgba(11,116,168,0.14); }

.process-card:hover { border-left-width: 8px; }



/*---------------------------------------
  TESTIMONIALS SECTION               
-----------------------------------------*/
.testimonials-section {
  background: var(--section-bg-color);
}

.testimonial-card {
  padding: 30px;
  background: var(--white-color);
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border-left: 4px solid var(--primary-color);
  height: 100%;
}

/* Google Reviews Cards */
.google-review-card {
  background: #fff;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
  margin-bottom: 1rem;
}
.google-review-rating {
  color: #F7C948;
  font-size: 16px;
}
.google-review-author {
  font-weight: 700;
  margin-top: 10px;
}
.google-review-text {
  color: #6c757d;
  margin-top: 8px;
}

.testimonial-card:hover {
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
  transform: translateY(-5px);
}

.testimonial-stars {
  margin-bottom: 15px;
  font-size: 18px;
  color: #ffc107;
}

.testimonial-stars i {
  margin-right: 2px;
}

.testimonial-text {
  font-size: 15px;
  color: var(--p-color);
  line-height: 1.6;
  margin-bottom: 15px;
  font-style: italic;
}

.testimonial-author {
  font-size: 14px;
  color: var(--dark-color);
  margin: 0;
}

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

/*---------------------------------------
  RESPONSIVE ADJUSTMENTS               
-----------------------------------------*/
@media screen and (max-width: 768px) {
  .feature-card,
  .process-card,
  .testimonial-card {
    padding: 20px;
  }

  .process-number {
    width: 45px;
    height: 45px;
    font-size: 20px;
  }

  .feature-icon {
    width: 70px;
    height: 70px;
    font-size: 40px;
  }
}

.service-card-image a { display: block; }
.service-card-image a .service-card-overlay { cursor: pointer; }
