/* ================================================
   Tharass Solutions — Visuele Verbeteringen
   ================================================ */

/* --- Case study stijlen --- */
.case-hero-label {
  display: inline-block;
  background: rgba(27, 177, 220, 0.2);
  color: #1bb1dc;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 18px;
  border: 1px solid rgba(27, 177, 220, 0.4);
}
.case-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.case-tag {
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.85);
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,0.2);
}
.case-tag i {
  margin-right: 5px;
}
.case-intro {
  font-size: 18px;
  line-height: 1.8;
  color: #413e66;
  font-weight: 500;
  border-left: 4px solid #1bb1dc;
  padding-left: 20px;
  margin-bottom: 25px;
}
.case-block {
  background: #fff;
  border-radius: 10px;
  padding: 30px;
  height: 100%;
  box-shadow: 0 8px 28px rgba(68, 88, 144, 0.1);
  transition: all 0.3s ease;
}
.case-block:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(68, 88, 144, 0.15);
}
.case-block-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.case-block-icon i {
  font-size: 28px;
  line-height: 1;
}
.case-block h4 {
  color: #413e66;
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 14px;
}
.case-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.case-list li {
  padding: 6px 0;
  font-size: 14px;
  color: #555;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.case-list li i {
  color: #1bb1dc;
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 1px;
}
.case-question {
  margin-top: 18px;
  background: #f5f8fd;
  border-left: 3px solid #1bb1dc;
  padding: 14px 16px;
  border-radius: 0 6px 6px 0;
  font-size: 14px;
  color: #413e66;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.case-question i {
  color: #1bb1dc;
  font-size: 22px;
  flex-shrink: 0;
}
.case-value-block {
  padding: 40px;
  background: #f5f8fd;
  border-radius: 16px;
}
.case-value-icon {
  font-size: 48px;
  color: #1bb1dc;
  display: block;
  margin-bottom: 20px;
}
.case-value-block h3 {
  color: #413e66;
  font-weight: 700;
  margin-bottom: 20px;
}
.case-value-block p {
  color: #555;
  line-height: 1.8;
}
.tech-badge {
  display: inline-block;
  background: #eaeff8;
  color: #413e66;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 50px;
  margin: 4px 2px;
}

/* --- Resultaat statistieken blokken --- */
.result-stat {
  background: #f5f8fd;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 20px;
  border-left: 3px solid #1bb1dc;
}
.result-stat i {
  font-size: 28px;
  color: #1bb1dc;
  display: block;
  margin-bottom: 8px;
}
.result-stat h5 {
  font-size: 15px;
  font-weight: 700;
  color: #413e66;
  margin-bottom: 6px;
}
.result-stat p {
  font-size: 13px;
  color: #666;
  margin: 0;
  line-height: 1.5;
}

/* --- Case study overzicht kaarten --- */
.case-card-link {
  text-decoration: none;
  display: block;
  margin-bottom: 30px;
}
.case-card {
  background: #fff;
  border-radius: 10px;
  padding: 32px;
  box-shadow: 0 8px 28px rgba(68, 88, 144, 0.1);
  transition: all 0.3s ease;
  border-top: 3px solid #1bb1dc;
  height: 100%;
  margin-bottom: 30px;
}
.case-card-link:hover .case-card {
  transform: translateY(-8px);
  box-shadow: 0 20px 44px rgba(68, 88, 144, 0.18);
}
.case-card-soon {
  border-top-color: #ddd;
  opacity: 0.7;
}
.case-card-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #1bb1dc;
  margin-bottom: 12px;
}
.case-card-soon .case-card-label {
  color: #999;
}
.case-card h4 {
  color: #413e66;
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 12px;
}
.case-card p {
  color: #666;
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 16px;
}
.case-card-cta {
  color: #1bb1dc;
  font-weight: 600;
  font-size: 14px;
  margin-top: 16px;
}
.case-card-cta i {
  transition: transform 0.2s;
}
.case-card-link:hover .case-card-cta i {
  transform: translateX(4px);
}

/* --- Service pagina hero --- */
.page-hero {
  padding: 130px 0 70px 0;
  background: linear-gradient(135deg, #2d2a52 0%, #413e66 100%);
  color: #fff;
}
.page-hero h1 {
  font-size: 44px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 18px;
  font-family: 'Montserrat', sans-serif;
}
.page-hero h1 span {
  color: #1bb1dc;
}
.page-hero p {
  font-size: 18px;
  color: rgba(255,255,255,0.82);
  max-width: 620px;
  line-height: 1.7;
  margin-bottom: 30px;
}
.breadcrumb-nav {
  margin-bottom: 22px;
  font-size: 14px;
}
.breadcrumb-nav a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.2s;
}
.breadcrumb-nav a:hover {
  color: #1bb1dc;
}
.breadcrumb-nav .separator {
  color: rgba(255,255,255,0.3);
  margin: 0 8px;
}
.breadcrumb-nav .current {
  color: #1bb1dc;
}

/* --- Service pagina CTA sectie onderaan --- */
.service-cta {
  background: linear-gradient(135deg, #2d2a52 0%, #413e66 100%);
  padding: 70px 0;
  color: #fff;
}
.service-cta h3 {
  font-size: 30px;
  font-weight: 700;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  margin-bottom: 0;
}
.service-cta p {
  color: rgba(255,255,255,0.8);
  font-size: 17px;
  max-width: 560px;
  margin: 0 auto 10px auto;
}

/* --- Hero: CTA knop --- */
.btn-get-started {
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 1px;
  display: inline-block;
  padding: 13px 38px;
  border-radius: 50px;
  transition: all 0.3s ease;
  background: linear-gradient(135deg, #1bb1dc, #0a98c0);
  color: #fff !important;
  box-shadow: 0 4px 20px rgba(27, 177, 220, 0.4);
  text-decoration: none;
}
.btn-get-started:hover {
  background: linear-gradient(135deg, #0a98c0, #0772a0);
  box-shadow: 0 8px 28px rgba(27, 177, 220, 0.55);
  transform: translateY(-2px);
  color: #fff !important;
  text-decoration: none;
}

/* --- Hero: badges moderniseren --- */
.intro-availability {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.intro-availability .badge {
  font-size: 12px;
  padding: 8px 14px;
  border-radius: 50px;
  font-weight: 500;
  letter-spacing: 0.4px;
}

/* --- Sectie-headers: accent lijn --- */
.section-header h3::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: linear-gradient(135deg, #1bb1dc, #0a98c0);
  margin: 14px auto 0 auto;
  border-radius: 3px;
}

/* --- Service cards: lift i.p.v. schaal --- */
#services .box {
  transition: all 0.3s ease !important;
  border-top: 3px solid transparent !important;
}
#services .box:hover {
  transform: translateY(-10px) !important;
  box-shadow: 0 22px 44px rgba(68, 88, 144, 0.18) !important;
  border-top-color: #1bb1dc !important;
}

/* --- Portfolio cards: zelfde stijl --- */
#portfolio .box {
  padding: 30px;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  margin: 0 10px 40px 10px;
  background: #fff;
  box-shadow: 0 10px 29px 0 rgba(68,88,144,.1);
  transition: all 0.3s ease;
  text-align: center;
  border-top: 3px solid transparent;
}
#portfolio .box:hover {
  transform: translateY(-10px);
  box-shadow: 0 22px 44px rgba(68, 88, 144, 0.18);
  border-top-color: #1bb1dc;
}
#portfolio .box .icon {
  margin: 0 auto 15px auto;
  padding-top: 12px;
  display: inline-block;
  text-align: center;
  border-radius: 50%;
  width: 60px;
  height: 60px;
}
#portfolio .box .icon i {
  font-size: 36px;
  line-height: 1;
}
#portfolio .box .title {
  font-weight: 700;
  margin-bottom: 10px;
  font-size: 17px;
}
#portfolio .box .title a {
  color: #111;
  text-decoration: none;
}
#portfolio .box:hover .title a {
  color: #1bb1dc;
}
#portfolio .box .description {
  font-size: 14px;
  line-height: 26px;
  color: #666;
}

/* --- Navigatie: animerende onderlijn --- */
.main-nav a {
  position: relative;
}
.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: #1bb1dc;
  transition: all 0.3s ease;
  transform: translateX(-50%);
  border-radius: 2px;
}
.main-nav a:hover::after,
.main-nav .active > a::after {
  width: 55%;
}

/* --- Knoppen: gradient --- */
.btn-primary {
  background: linear-gradient(135deg, #1bb1dc, #0a98c0) !important;
  border: none !important;
  border-radius: 50px !important;
  padding: 10px 28px !important;
  box-shadow: 0 4px 15px rgba(27, 177, 220, 0.3) !important;
  transition: all 0.3s ease !important;
  font-weight: 600 !important;
  letter-spacing: 0.5px;
}
.btn-primary:hover {
  background: linear-gradient(135deg, #0a98c0, #0772a0) !important;
  box-shadow: 0 8px 22px rgba(27, 177, 220, 0.45) !important;
  transform: translateY(-2px);
}

/* --- Contact formulier knop --- */
#footer .form button[type="submit"] {
  background: linear-gradient(135deg, #1bb1dc, #0a98c0);
  border: none;
  border-radius: 50px;
  padding: 10px 34px;
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(27, 177, 220, 0.3);
  transition: all 0.3s ease;
  cursor: pointer;
}
#footer .form button[type="submit"]:hover {
  background: linear-gradient(135deg, #0a98c0, #0772a0);
  box-shadow: 0 8px 22px rgba(27, 177, 220, 0.45);
  transform: translateY(-2px);
}

/* --- Sectie achtergrond: iets sterker contrast --- */
.section-bg {
  background: #eaeff8 !important;
}

/* --- Footer: donker en professioneel --- */
#footer {
  background: #1a1834;
  color: #c0bdd4;
}
#footer .footer-top {
  background: #231f43;
  padding: 60px 0 30px 0;
}
#footer .footer-top .footer-info h3 {
  color: #fff;
  font-weight: 600;
}
#footer .footer-top .footer-info p {
  color: #d4d1e8;
}
#footer .footer-top h4 {
  color: #fff;
}
#footer .footer-top .footer-links p,
#footer .footer-top .footer-links p strong {
  color: #d4d1e8;
  line-height: 26px;
}
#footer .footer-top .form h4 {
  color: #fff;
}
#footer .footer-top .form p {
  color: #d4d1e8;
}
#footer .form input,
#footer .form textarea {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  border-radius: 6px;
}
#footer .form input::placeholder,
#footer .form textarea::placeholder {
  color: rgba(255, 255, 255, 0.32);
}
#footer .form .validation {
  color: #ff8fa3;
}

/* Contact form validation */
.form .validation {
  color: #dc3545;
  font-size: 13px;
  margin-top: 4px;
  display: block;
}
.form input.is-invalid,
.form textarea.is-invalid {
  border-color: #dc3545 !important;
  box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.15);
}

/* Contact page sendmessage / errormessage — zelfde stijl als footer */
.form #sendmessage {
  color: #fff;
  background: #1bb1dc;
  display: none;
  text-align: center;
  padding: 15px;
  font-weight: 600;
  margin-bottom: 15px;
  border-radius: 6px;
}
.form #errormessage {
  color: #fff;
  background: #dc3545;
  display: none;
  text-align: center;
  padding: 15px;
  font-weight: 600;
  margin-bottom: 15px;
  border-radius: 6px;
}
.form #sendmessage.show,
.form #errormessage.show {
  display: block;
}
}
#footer #sendmessage {
  background: linear-gradient(135deg, #1bb1dc, #0a98c0);
  border-radius: 6px;
}
#footer .contact-badges .badge {
  font-size: 11px;
  padding: 6px 12px;
  border-radius: 50px;
}
#footer .copyright {
  color: #6b6885;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  margin-top: 5px;
  font-size: 14px;
}

/* --- Terug naar boven knop: gradient --- */
.back-to-top {
  background: linear-gradient(135deg, #1bb1dc, #0a98c0) !important;
  box-shadow: 0 4px 15px rgba(27, 177, 220, 0.4);
}
.back-to-top:hover {
  background: linear-gradient(135deg, #0a98c0, #0772a0) !important;
}

/* --- KeyCase outline knop --- */
.cta-keycase .btn-outline-primary {
  border-radius: 50px !important;
  padding: 10px 28px !important;
  border: 2px solid #1bb1dc !important;
  color: #1bb1dc !important;
  background: transparent !important;
  box-shadow: none !important;
  font-weight: 600 !important;
  transition: all 0.3s ease !important;
}
.cta-keycase .btn-outline-primary:hover {
  background: linear-gradient(135deg, #1bb1dc, #0a98c0) !important;
  color: #fff !important;
  box-shadow: 0 4px 15px rgba(27, 177, 220, 0.3) !important;
}

/* --- Feature image hover --- */
.feature-item img {
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}
.feature-item img:hover {
  box-shadow: 0 16px 45px rgba(0,0,0,0.15);
  transform: translateY(-4px);
}

/* --- About foto: extra diepte --- */
.about-img img {
  border-radius: 6px;
  box-shadow: 0 12px 35px rgba(0,0,0,0.12) !important;
}

/* --- Intro description tekst --- */
.intro-description {
  font-size: 16px;
  line-height: 1.75;
  color: #555;
  margin-bottom: 24px;
}

/* --- Services dropdown stijl --- */
.main-nav .drop-down ul {
  border-top: 3px solid #1bb1dc;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 8px 30px rgba(65, 62, 102, 0.15);
  min-width: 220px;
}
.main-nav .drop-down ul a {
  font-size: 13px;
  padding: 10px 20px;
  color: #413e66;
  font-weight: 500;
  border-bottom: 1px solid #f0f0f0;
  transition: all 0.2s ease;
}
.main-nav .drop-down ul a:hover {
  color: #1bb1dc;
  background: #f8fbff;
  padding-left: 26px;
}
.main-nav .drop-down ul li:last-child a {
  border-bottom: none;
}

/* --- Header op service/case pagina's: altijd wit, verticaal gecentreerd --- */
#header.header-pages {
  background-color: #fff !important;
  box-shadow: 0 2px 20px rgba(65, 62, 102, 0.12) !important;
  height: 70px !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
}
#header.header-pages > .container {
  display: flex !important;
  align-items: center !important;
  width: 100%;
}
#header.header-pages .logo.float-left {
  float: none !important;
}
#header.header-pages .main-nav.float-right {
  float: none !important;
  margin-left: auto;
}
#header.header-pages .logo h1 {
  margin: 0;
  line-height: 1;
}
#header.header-pages .logo h1 a,
#header.header-pages .logo h1 a span {
  color: #413e66 !important;
}
#header.header-pages .main-nav a {
  color: #413e66 !important;
}
#header.header-pages .main-nav a:hover,
#header.header-pages .main-nav .active > a {
  color: #1bb1dc !important;
}

/* --- Logo kleur fix (scrolled staat) --- */
#header .logo h1 a,
#header .logo h1 a:hover,
#header .logo h1 a span {
  color: #413e66 !important;
  text-decoration: none;
}
#header.header-scrolled .logo h1 a,
#header.header-scrolled .logo h1 a span {
  color: #413e66 !important;
}

/* --- Breadcrumb beter leesbaar in donkere hero --- */
.breadcrumb-nav a {
  color: rgba(255, 255, 255, 0.88) !important;
}
.breadcrumb-nav .separator {
  color: rgba(255, 255, 255, 0.55) !important;
}
.breadcrumb-nav .current {
  color: #6dd5f0 !important;
}

/* --- Contact pagina --- */
.contact-info-block h4 {
  color: #413e66;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}
.contact-info-block a {
  color: #1bb1dc;
  text-decoration: none;
}
.contact-info-block a:hover {
  text-decoration: underline;
}
.contact-detail strong {
  display: block;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #888;
  margin-bottom: 2px;
}

/* ================================================
   Mobiele responsiviteit
   ================================================ */

/* --- Tablet (max 991px) --- */
@media (max-width: 991px) {
  /* Page hero: minder hoog */
  .page-hero {
    padding: 110px 0 50px 0;
  }
  .page-hero h1 {
    font-size: 36px;
  }
  .page-hero p {
    font-size: 16px;
  }

  /* Service CTA */
  .service-cta {
    padding: 50px 0;
  }
  .service-cta h3 {
    font-size: 26px;
  }

  /* Case cards: gelijke hoogte los op kleinere grids */
  .case-card {
    min-height: auto;
  }
}

/* --- Mobiel (max 767px) --- */
@media (max-width: 767px) {

  /* About afbeelding: decoratieve pseudo-elementen verwijderen op mobiel */
  #about .about-img::before,
  #about .about-img::after {
    display: none;
  }
  #about .about-img {
    margin: 0 0 30px 0;
  }

  /* Page hero: compact op telefoon */
  .page-hero {
    padding: 100px 0 40px 0;
    text-align: center;
  }
  .page-hero h1 {
    font-size: 30px;
    margin-bottom: 12px;
  }
  .page-hero p {
    font-size: 15px;
    max-width: 100%;
    margin-bottom: 20px;
  }
  .breadcrumb-nav {
    justify-content: center;
    display: flex;
  }

  /* Intro hero: tekst en badges centreren */
  #intro .intro-info {
    text-align: center;
  }
  .intro-availability {
    justify-content: center;
  }
  .btn-get-started {
    font-size: 14px;
    padding: 11px 28px;
  }

  /* Sectie spacing verkleinen */
  section[style*="padding: 80px"] {
    padding: 50px 0 !important;
  }
  section[style*="padding: 60px"] {
    padding: 40px 0 !important;
  }
  section[style*="padding: 70px"] {
    padding: 40px 0 !important;
  }

  /* Service/portfolio boxen: minder padding */
  .box {
    padding: 20px !important;
    margin-bottom: 20px;
  }

  /* Case blocks: minder padding */
  .case-block {
    padding: 20px;
  }
  .case-block h4 {
    font-size: 17px;
  }

  /* Case cards: minder padding, nette hoogte */
  .case-card {
    padding: 22px !important;
    min-height: auto;
  }
  .case-card h4 {
    font-size: 17px;
  }
  .case-card p {
    font-size: 14px;
  }

  /* Tech badges: kleiner op mobiel */
  .tech-badge {
    font-size: 11px !important;
    padding: 4px 10px !important;
  }

  /* Result stats: 2 per rij op mobiel */
  .result-stat {
    margin-bottom: 24px;
  }

  /* Feature items: afbeelding boven tekst */
  .feature-item .order-1 {
    order: 2 !important;
  }
  .feature-item .order-2 {
    order: 1 !important;
  }

  /* Service CTA */
  .service-cta {
    padding: 40px 0;
  }
  .service-cta h3 {
    font-size: 22px;
  }
  .service-cta p {
    font-size: 15px;
  }

  /* Footer: contactformulier stacking */
  #footer .footer-top .form {
    margin-top: 30px;
  }
  #footer .footer-top .col-lg-6 {
    margin-bottom: 10px;
  }

  /* Section header */
  .section-header h3 {
    font-size: 22px;
  }
  .section-header p {
    font-size: 14px;
  }

  /* Knoppen in CTA naast elkaar op smal scherm */
  .service-cta .btn-outline-light,
  .service-cta .btn-primary {
    display: block;
    width: 100%;
    margin: 0 0 12px 0 !important;
  }
  .service-cta .btn-get-started {
    display: inline-block;
    width: auto;
  }

  /* About content heading */
  .about-content h3 {
    font-size: 18px;
  }

  /* Keycase / feature blokken */
  .keycase-content,
  .keycase-features {
    padding: 0;
  }
  .feature-block {
    margin-bottom: 20px !important;
  }

  /* Contact pagina: info boven formulier */
  .contact-info-block {
    margin-bottom: 30px;
  }
}

/* --- Kleine telefoons (max 480px) --- */
@media (max-width: 480px) {
  .page-hero h1 {
    font-size: 26px;
  }

  #intro .intro-info h2 {
    font-size: 28px !important;
  }

  .btn-get-started {
    font-size: 13px;
    padding: 10px 22px;
  }

  .box .icon {
    width: 50px;
    height: 50px;
  }

  .case-block-icon {
    width: 46px;
    height: 46px;
  }

  /* Result stats op 1 kolom */
  .result-stat {
    flex: 0 0 50%;
    max-width: 50%;
  }

  /* Footer form inputs volle breedte */
  #footer .contactForm input,
  #footer .contactForm textarea {
    font-size: 14px;
  }

  /* Sectie headers */
  .section-header h3::after {
    width: 40px;
  }
}
