/* ============================================================
   KMLP – Optimised & Cleaned Styles
   ============================================================ */

/* -------------------- Variables -------------------- */
:root {
  --primary: #26A7DF;
  --primary-dark: #1e8bbf;
  --secondary: #59595c;
  --animation-curve: cubic-bezier(0.4, 0, 0.2, 1);
}

/* -------------------- Reset / Base -------------------- */
body {
  font-family: "Gill Sans", "Gill Sans MT", Calibri, sans-serif;
}

img {
  max-width: 100%;
  height: auto;
  aspect-ratio: attr(width) / attr(height); /* fallback for layout stability */
}

/* -------------------- Backgrounds -------------------- */
.bg-home {
  background: linear-gradient(180deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.3) 100%), url('../images/image1.jpg');
  background-size: cover;
  background-position: center;
}

#firm {
  background-color: #f3f3f7;
  background-image: url("https://www.transparenttextures.com/patterns/asfalt-dark.png");
  background-size: cover;
  background-position: center;
  color: #1a1717;
}

#about {
  background: linear-gradient(rgba(255, 255, 255), rgba(255, 255, 255)); /*url('../images/about-bg.jpg')*/
  background-size: cover;
  background-position: center;
  color: #1a1717;
}

#team {
  background: linear-gradient(rgba(255, 255, 255), rgba(255, 255, 255)); /*/url('../images/team-bg.jpg')*/
  background-size: cover;
  background-position: center;
  color: #f06f34;
}

#blog {
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('../images/blog-bg.jpg');
  background-size: cover;
  background-position: center;
  color: white;
}

#testimonials {
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('../images/testimonials-bg.jpg');
  background-size: cover;
  background-position: center;
  color: white;
}

#contacts {
  background: linear-gradient(rgb(16, 24, 39), rgba(245,241,241,0.6))/*, url('../images/contact-bg.jpg')*/;
  background-size: cover;
  background-position: center;
  color: white;
}

/* -------------------- Section Sizing -------------------- */
#firm, #home, #about, #team, #blog, #testimonials, #engage, #contacts {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 4rem;
  padding-bottom: 4rem;
  overflow-y: auto;
}

@media (max-width: 768px) {
  .bg-home, #about, #team, #blog, #testimonials, #contacts {
    background-attachment: scroll;
  }
}

/* -------------------- Typography -------------------- */
#home h1 {
  font-size: calc(1rem + 3vw);
  font-weight: 600;
  line-height: 0.9;
  font-family: "Gill Sans", "Gill Sans MT", Calibri, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

h2 {
  font-size: calc(0.9rem + 1vw);
  font-weight: 600;
  line-height: 0.9;
  font-family: "Gill Sans", "Gill Sans MT", Calibri, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

/* -------------------- Cards (General) -------------------- */
.card {
  border: 1px solid #ddd;
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  will-change: transform;  /* only on cards that animate on hover */
  backface-visibility: hidden;
  contain: content;
}
.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

/* -------------------- About Cards (with fill effect) -------------------- */
#about .card {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100%;
  margin: 0 auto;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 10px;
  z-index: 1;
  transition: box-shadow 0.4s cubic-bezier(0.165,0.84,0.44,1), border-color 0.3s ease;
  background: rgba(30, 139, 191);
  color: #ffffff;
}
#about .card:hover {
  transform: none;
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
  border: 2px solid #26A7DF;
  animation: pulse 2s infinite;
}

#about .color-fill {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: linear-gradient(to top, #f3f3f7, #1e8bbf);
  transition: height 0.9s cubic-bezier(0.4,0,0.2,1);
  z-index: 1;
}
#about .card:hover .color-fill {
  height: 100%;
}

#about .card-body {
  position: relative;
  z-index: 2;
  padding: 15px;
  text-align: center;
}
#about .card-title { font-size: 1.2rem; margin-bottom: 0.5rem; }
#about .card-text { font-size: 0.9rem; margin-bottom: 0.5rem; }
#about .btn { font-size: 0.9rem; padding: 6px 12px; }

/* Ripple effect (GSAP used) */
.ripple-effect {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(255,255,255,0.3), rgba(255,255,255,0) 70%);
  border-radius: 50%;
  transform: translate(-50%, 50%) scale(0);
  z-index: 1;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

/* -------------------- Team Cards -------------------- */
#team .container { max-width: 1200px; padding-left: 15px; padding-right: 15px; }
#team .row {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  margin: 0 -5px;
}
#team .col-md-4 {
  flex: 0 0 auto;
  width: auto;
  padding: 0 5px;
}
#team .card {
  width: 220px;
  margin: 0;
  padding: 0px;
  border: 1px solid #ddd;
  border-radius: 10px;
  z-index: 1;
  transition: box-shadow 0.4s cubic-bezier(0.165,0.84,0.44,1), border-color 0.3s ease;
  background: linear-gradient(179.97deg, rgba(32,32,32,0) 20.42%, #202020 99.97%);
  will-change: transform;
  backface-visibility: hidden;
  contain: content;
}
#team .card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 16px rgba(255,255,255,0.9);
  animation: pulse 1s infinite;
}
#team .card-img-top {
  height: 250px;
  object-fit: cover;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}
#team .card-body { padding: 15px; text-align: center; }
#team .card-title {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  text-align: center;
  color: white;
}
#team .card-text {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  text-align: center;
  color: white;
}
#team .btn { font-size: 0.9rem; padding: 6px 12px; }

/* Team - Responsive */
@media (max-width: 991.98px) {
  #team .row { flex-wrap: wrap; justify-content: flex-start; }
  #team .col-md-4 { flex: 0 0 33.333%; max-width: 33.333%; padding: 0 10px; }
  #team .card { width: 100%; margin: 0 0 20px 0; }
}
@media (max-width: 767.98px) {
  #team .col-md-4 { flex: 0 0 50%; max-width: 50%; }
}
@media (max-width: 575.98px) {
  #team .col-md-4 { flex: 0 0 100%; max-width: 100%; }
  #team .card { margin: 0 0 20px 0; }
}

/* -------------------- Buttons -------------------- */
.btn {
  position: relative;
  overflow: hidden;
  transition: all 0.6s ease;
  border-radius: 50px;
  padding: 0.75rem 1.5rem;
  font-weight: bold;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.btn::before,
.btn-primary::before,
.btn-secondary::before,
.btn-light::before,
#viewAllTeamBtn::before {
  content: '';
  position: absolute;
  top: var(--y);
  left: var(--x);
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(1);
  transition: width 0.3s ease, height 0.3s ease;
  z-index: 0;
}
.btn span { position: relative; z-index: 1; }

.btn-primary {
  background-color: #26A7DF;
  border: 1px solid #ffffff;
  color: white;
}
.btn-primary:hover {
  background-color: white;
  color: #26A7DF;
}
.btn-primary::before { background-color: #ffffff; }

.btn-secondary {
  background-color: #6c757d;
  border: 1px solid #26A7DF;
  color: white;
}
.btn-secondary:hover { background-color: #5a6268; }
.btn-secondary::before { background-color: #26A7DF; }

.btn-light {
  background-color: white;
  border: 1px solid #26A7DF;
  color: #26A7DF;
}
.btn-light:hover {
  background-color: #26A7DF;
  color: white;
}
.btn-light::before { background-color: #26A7DF; }

#viewAllTeamBtn::before { background-color: #59595c; }

/* Home buttons */
#home .btn { margin-bottom: 0.5rem; }
@media (max-width: 768px) {
  #home .btn {
    flex-direction: column;
    text-align: center;
    width: 100%;
    padding: 0.30rem 0.5rem;
  }
}

/* -------------------- Faux Lines -------------------- */
.faux-line-vertical {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 2.5px;
  height: 100px;
  background-color: #26A7DF;
}
.faux-line-top { top: -7rem; }
.faux-line-bottom { bottom: -7rem; }
@media (max-width: 575px) {
  .faux-line-vertical { height: 25%; }
  .faux-line-top { top: -4.5rem; }
  .faux-line-bottom { bottom: -4.5rem; }
}

.faux-line-horizontal {
  position: absolute;
  top: 50%;
  width: 200px;
  height: 2.5px;
  background-color: #26A7DF;
  transform: translateY(-50%);
}
.faux-line-left { left: 1rem; }
.faux-line-right { right: 1rem; }
@media (max-width: 992px) { .faux-line-horizontal { width: 30px; } }
@media (max-width: 768px) { .faux-line-horizontal { display: none; } }

/* -------------------- Header -------------------- */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  height: 5em;
  background: transparent;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: background-color 0.3s ease;
}
header.scrolled {
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(5px);
  z-index: 1020;
}
.navbar-brand img { height: 2.3em; }

/* Mobile logo */
.mobile-logo { display: none; }
@media (max-width: 576px) {
  .desktop-logo { display: none; }
  .mobile-logo { display: block; }
}

/* Hamburger */
.navbar-toggler {
  display: block;
  border: none;
  cursor: pointer;
  z-index: 3;
  padding: 0.5rem;
}
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255, 255, 255, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
  background-size: 120%;
  width: 2em;
  height: 2em;
}

/* Mobile Nav */
.mobile-nav {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 5em;
  right: 5%;
  width: 90%;
  background: rgba(0,0,0,0.9);
  text-align: left;
  z-index: 2;
  opacity: 0;
  transform: translateY(-20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.mobile-nav.active {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}
.mobile-nav > div {
  width: 100%;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  padding: 0.5em;  
}
.mobile-nav a {
  color: #fff;
  font-size: 1.3rem;
  text-decoration: none;
  display: block;
  padding: 0.5rem;
  transition: color 0.3s ease;
}
.mobile-nav a:hover {
  color: #26A7DF;
  background-color: rgba(38,167,223,0.1);
}
.mobile-nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: #26A7DF;
  transition: width 0.3s ease;
}
.mobile-nav a:hover::after { width: 100%; }
.mobile-nav a.active {
  color: #26A7DF;
  font-weight: 500;
}
.mobile-nav a.active::after { width: 100%; }

/* Dropdown */
.dropdown-content {
  display: none;
  position: absolute;
  background: rgba(0,0,0,0.9);
  min-width: 97.5%;
  z-index: 1;
}
.dropdown:hover .dropdown-content { display: block; }
.dropdown-content a {
  display: block;
  padding: 0.5em;
  text-decoration: none;
  color: white;
}
.dropdown-content a:hover {
  background: rgba(255,255,255,0.1);
  padding-left: 1.75rem;
}
.dropdown > a::after {
  content: '▾';
  margin-left: 8px;
  display: inline-block;
  transition: transform 0.3s ease;
}
.dropdown:hover > a::after { transform: rotate(180deg); }


/*---------------------------
Highlight Active Nav Item 
-----------------------------*/
.mobile-nav a {
    position: relative;
    transition: color 0.3s ease;
}

.mobile-nav a:hover {
    color: #26A7DF;
}

.mobile-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #26A7DF;
    transition: width 0.3s ease;
}

.mobile-nav a:hover::after {
    width: 100%;
}

/* Active Section Highlight */
.mobile-nav a.active {
    color: #26A7DF;
    font-weight: 500;
}

.mobile-nav a.active::after {
    width: 100%;
}
/* -------------------- Search -------------------- */
.search-container {
  position: relative;
  display: flex;
  align-items: center;
}
#search-icon {
  font-size: 1.5em;
  color: white;
  cursor: pointer;
  transition: color 0.3s ease;
}
#search-icon:hover { color: #26A7DF; }
#search-input {
  width: 0;
  padding: 0;
  border: none;
  background: transparent;
  color: white;
  font-size: 1em;
  transition: width 0.3s ease, padding 0.3s ease;
  opacity: 0;
  visibility: hidden;
}
#search-input:focus { outline: none; }
.search-container.active #search-input {
  width: 150px;
  padding: 0.5em;
  opacity: 1;
  visibility: visible;
  border-bottom: 1px solid #26A7DF;
}
#clear-search {
  display: none;
  cursor: pointer;
  margin-left: 0.5em;
  color: white;
  transition: color 0.3s ease;
}
#clear-search:hover { color: #26A7DF; }

.highlight {
  background-color: #ffeb3b;
  color: #000;
  font-weight: bold;
}

.spinner {
  border: 3px solid rgba(255,255,255,0.3);
  border-top: 3px solid #26A7DF;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  animation: spin 1s linear infinite;
  display: inline-block;
  margin-left: 10px;
}
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
#search-feedback { margin-top: 10px; font-size: 0.9rem; color: #26A7DF; }
#no-results { color: #ff6b6b; font-weight: bold; }

/* -------------------- Social Icons & Contact Icon -------------------- */
.contact-icon {
  cursor: pointer;
  font-size: 1.5em;
  color: white;
  transition: color 0.3s ease;
}
.contact-icon:hover { color: #26A7DF; }

.social-icons {
  display: flex;
  align-items: center;
  gap: 1em;
}
.social-icons a {
  color: white;
  font-size: 1.2em;
  transition: color 0.3s ease, transform 0.3s ease;
}
.social-icons a:hover {
  color: #26A7DF;
  transform: scale(1.2);
}
@media (max-width: 575px) {
  .social-icons, #search-icon { display: none; }
}

/* -------------------- Blog -------------------- */
.featured-posts {
  width: 100%;
  height: auto;
  padding: 20px 0;
}

#blog .card {
  width: 100%;
  height: 400px;
  border: 1px solid #ddd;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  will-change: transform;
  backface-visibility: hidden;
  contain: content;
}
#blog .card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}
#blog .card-img-top { height: 200px; object-fit: cover; }
#blog .card-body { padding: 15px; text-align: center; }
#blog .card-title { font-size: 1.2rem; margin-bottom: 0.5rem; }
#blog .card-text { font-size: 0.9rem; margin-bottom: 1rem; }
#blog .btn { font-size: 0.9rem; padding: 6px 12px; }

.swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: #26A7DF;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}
.swiper-pagination-bullet-active { opacity: 1; }
.swiper-button-next,
.swiper-button-prev {
  color: #26A7DF;
  background-color: rgba(255,255,255,0.8);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.swiper-button-next:hover,
.swiper-button-prev:hover { background-color: rgba(255,255,255,1); }

@media (max-width: 767.98px) {
  .featured-posts.swiper { padding: 0 20px !important; overflow: visible !important; }
  .featured-posts .swiper-wrapper { padding-bottom: 30px; }
  .featured-posts .swiper-slide { width: 100% !important; margin: 0 auto; transform: scale(0.95); transition: transform 0.3s ease; }
  .featured-posts .swiper-slide-active { transform: scale(1); z-index: 2; }
  #blog .card { height: auto !important; min-height: 380px; }
  .swiper-button-next, .swiper-button-prev { display: none !important; }
  .swiper-pagination { position: relative; margin-top: 15px; }
}

/* -------------------- Blog Filters & Search -------------------- */
.blog-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 1.5rem;
  padding: 0 10px;
}
.blog-filters .btn {
  flex: 1 0 auto;
  min-width: max-content;
  padding: 0.5rem 0.8rem;
  margin: 0 !important;
  white-space: nowrap;
  font-size: 0.85rem;
}
.blog-search {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 2rem;
  padding: 0 10px;
}
#blog-search-input {
  flex: 1 1 100%;
  min-width: 0;
  padding: 0.6rem 1rem;
  border: 1px solid #ddd;
  border-radius: 20px;
  max-width: 100%;
}
#blog-search-button,
#clear-search-button,
#reset-filters-button {
  flex: 1 1 calc(50% - 5px);
  padding: 0.6rem;
  white-space: nowrap;
}
@media (min-width: 768px) {
  .blog-filters .btn { flex: 0 0 auto; padding: 0.5rem 1rem; font-size: 1rem; }
  #blog-search-input { flex: 0 1 300px; }
  #blog-search-button,
  #clear-search-button,
  #reset-filters-button { flex: 0 0 auto; padding: 0.5rem 1.2rem; }
  .blog-search { flex-wrap: nowrap; }
}

/* -------------------- Testimonials (custom slider) -------------------- */
.km-testimonial-slider { position: relative; width: 100%; margin: 0 auto; }
.km-slider-container { position: relative; width: 100%; height: 50vh; overflow: hidden; }
.km-slide { position: absolute; width: 100%; height: 100%; opacity: 0; transition: opacity 0.6s ease; padding: 0 15px; box-sizing: border-box; }
.km-slide.active { opacity: 1; }
.km-testimonial-card {
  height: 100%;
  width: 80%;
  display: flex;
  position: relative;
  background: white;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.km-card-content { width: 60%; padding: 40px; display: flex; flex-direction: column; justify-content: center; z-index: 2; }
.km-testimonial-text { font-size: 1.25rem; line-height: 1.6; margin-bottom: 1.5rem; color: #333; }
.km-client-name { font-size: 1.1rem; font-weight: 600; margin-bottom: 0.25rem; color: #222; }
.km-client-title { font-size: 0.9rem; color: #666; }
.km-image-container {
  position: absolute;
  right: 0;
  top: 2.5%;
  bottom: 2.5%;
  width: 40%;
  left: 80%;
  overflow: hidden;
  z-index: 1;
  margin-left: -2%;
  width: calc(40% + 2%);
}
.km-client-image { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.km-slider-nav { display: flex; justify-content: center; align-items: center; margin-top: 20px; gap: 20px; }
.km-prev-btn, .km-next-btn {
  background: none;
  border: 1px solid #ddd;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
.km-prev-btn:hover, .km-next-btn:hover { background: #f0f0f0; }
.km-pagination { display: flex; gap: 8px; }
.km-pagination .km-dot { width: 12px; height: 12px; border-radius: 50%; background: #ddd; cursor: pointer; }
.km-pagination .km-dot.active { background: #333; }

@media (max-width: 767.98px) {
  #testimonials, .km-testimonial-slider { display: none !important; }
}

/* -------------------- Values -------------------- */
/* =========================================================
   PROFESSIONAL VALUES SECTION
   ========================================================= */

.professional-values-section {
    position: relative;
    padding: 65px 0 45px;

    background:
        radial-gradient(
            circle at 10% 20%,
            rgba(36, 143, 214),
            transparent 30%
        ),
        radial-gradient(
            circle at 90% 80%,
            rgba(255, 255, 255, 0.04),
            transparent 30%
        ),
        #ffffff; /*original #101827*/

    overflow: hidden;
}


/* =========================================================
   DECORATIVE BACKGROUND ELEMENTS
   ========================================================= */

.professional-values-section::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 50%;
    top: -220px;
    right: -150px;
    pointer-events: none;
}

.professional-values-section::after {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    bottom: -160px;
    left: -100px;
    pointer-events: none;
}


/* =========================================================
   SECTION HEADER
   ========================================================= */

.values-header {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 720px;
    margin: 0 auto 42px;
}


/* Eyebrow */

.values-eyebrow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(16, 24, 39);
}

.values-eyebrow span {
    width: 35px;
    height: 1px;
    background: rgba(16, 24, 39);
}


/* Main heading */

.values-header h2 {
    margin: 0 0 12px;
    color: #101827;
    font-size: clamp(36px, 5vw, 52px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -1.5px;
}


/* Header description */

.values-header p {
    margin: 0 auto;
    max-width: 600px;
    color: rgba(16, 24, 39);
    font-size: 16px;
    line-height: 1.55;
}


/* =========================================================
   VALUES GRID
   ========================================================= */

.professional-values-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}


/* =========================================================
   VALUE CARD
   ========================================================= */

.professional-value-card {
    position: relative;
    padding: 25px 24px 19px;
    display: flex;
    flex-direction: column;
    background: rgba(37, 38, 38);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 18px;
    overflow: hidden;
    transition:
        transform 0.35s ease,
        background 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease;
}


/* =========================================================
   SUBTLE CARD GLOW
   ========================================================= */

.professional-value-card::before {
    content: "";
    position: absolute;
    width: 130px;
    height: 130px;
    top: -65px;
    right: -65px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 50%;
    transition: transform 0.4s ease;
    pointer-events: none;
}


/* =========================================================
   CARD HOVER
   ========================================================= */

.professional-value-card:hover {
    transform: translateY(-6px);

    background: rgba(240, 111, 52);

    border-color: rgba(255, 255, 255, 0.22);

    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.25);
}

.professional-value-card:hover::before {
    transform: scale(1.8);
}


/* =========================================================
   VALUE NUMBER
   ========================================================= */

.value-number {
    position: absolute;

    top: 18px;
    right: 21px;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 1px;

    color: rgba(255, 255, 255, 0.30);

    z-index: 2;
}


/* =========================================================
   VALUE ICON
   ========================================================= */

.professional-value-icon {
    width: 50px;
    height: 50px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin-bottom: 18px;

    border-radius: 14px;

    background: rgba(255, 255, 255, 0.10);

    border: 1px solid rgba(255, 255, 255, 0.12);

    color: #ffffff;

    font-size: 18px;

    transition:
        transform 0.35s ease,
        background 0.35s ease;

    position: relative;
    z-index: 2;
}

.professional-value-card:hover .professional-value-icon {
    transform: translateY(-3px) scale(1.05);

    background: rgba(255, 255, 255, 0.16);
}


/* =========================================================
   VALUE CONTENT
   ========================================================= */

.professional-value-content {
    position: relative;

    z-index: 2;
}

.professional-value-content h3 {
    margin: 0 0 7px;

    color: #ffffff;

    font-size: 18px;

    font-weight: 650;

    line-height: 1.3;
}

.professional-value-content p {
    margin: 0;

    color: rgba(255, 255, 255, 0.60);

    font-size: 13.5px;

    line-height: 1.5;
}


/* =========================================================
   CARD ARROW
   ========================================================= */

.value-card-arrow {
    position: relative;

    left: auto;
    bottom: auto;

    width: 29px;
    height: 29px;

    margin-top: 14px;

    display: flex;

    align-items: center;
    justify-content: center;

    color: rgba(255, 255, 255, 0.35);

    font-size: 11px;

    border-radius: 50%;

    transition:
        transform 0.35s ease,
        color 0.35s ease,
        background 0.35s ease;

    z-index: 2;
}

.professional-value-card:hover .value-card-arrow {
    transform: translateX(6px);

    color: #ffffff;

    background: rgba(255, 255, 255, 0.10);
}



/* =========================================================
   LARGE TABLETS
   ========================================================= */

@media (max-width: 1199px) {

    .professional-values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


/* =========================================================
   TABLETS
   ========================================================= */

@media (max-width: 767px) {

    .professional-values-section {
        padding: 55px 0 35px;
    }

    .values-header {
        margin-bottom: 35px;
    }

    .values-header h2 {
        font-size: 40px;
    }

    .values-header p {
        font-size: 15px;

        line-height: 1.5;
    }

    .professional-values-grid {
        grid-template-columns: 1fr;

        gap: 14px;
    }

    .professional-value-card {
        padding: 23px 22px 18px;
    }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .professional-values-section {
        padding: 45px 0 28px;
    }

    .values-eyebrow {
        font-size: 10px;

        letter-spacing: 2px;

        gap: 9px;
    }

    .values-eyebrow span {
        width: 25px;
    }

    .values-header {
        margin-bottom: 30px;
    }

    .values-header h2 {
        font-size: 34px;

        letter-spacing: -1px;
    }

    .values-header p {
        font-size: 14px;

        line-height: 1.5;
    }

    .professional-value-card {
        padding: 22px 20px 17px;

        border-radius: 16px;
    }

    .professional-value-icon {
        width: 47px;
        height: 47px;

        margin-bottom: 17px;

        font-size: 17px;
    }

    .professional-value-content h3 {
        font-size: 17px;

        margin-bottom: 6px;
    }

    .professional-value-content p {
        font-size: 13px;

        line-height: 1.45;
    }

    .value-card-arrow {
        width: 27px;
        height: 27px;

        margin-top: 12px;
    }

}

/* -------------------- Modals (General & Enhanced) -------------------- */
.modal {
  transform: translateZ(0);
  backface-visibility: hidden;
}
.modal-dialog { transform: translateZ(0); backface-visibility: hidden; }
.modal-content {
  transform: translateZ(0);
  backface-visibility: hidden;
  border-radius: 10px;
  border: none;
}
.modal-header {
  background-color: #26A7DF;
  color: white;
  border-radius: 10px 10px 0 0;
}
body.modal-open {
  overflow: hidden !important;
  position: fixed;
  width: 100%;
}
.modal-body img { border-radius: 10px; margin-bottom: 1rem; }
.modal-body p { margin-bottom: 0.5rem; }
.modal-body ul { padding-left: 1.5rem; }
.modal-body ul li { margin-bottom: 0.5rem; }

.nav-tabs { border-bottom: 2px solid #26A7DF; }
.nav-tabs .nav-link {
  color: #26A7DF;
  border: none;
  border-bottom: 2px solid transparent;
}
.nav-tabs .nav-link.active {
  color: #26A7DF;
  border-bottom: 2px solid #26A7DF;
}
.nav-tabs .nav-link:hover {
  color: #1e8bbf;
  border-bottom: 2px solid #1e8bbf;
}
.tab-content { padding: 1rem 0; }
.tab-content h6 { color: #26A7DF; margin-top: 1rem; }
.tab-content ul { padding-left: 1.5rem; }
.tab-content ul li { margin-bottom: 0.5rem; }

/* About/Service Modal Enhancements */
.about-modal .modal-dialog { max-width: 900px; }
.about-modal .modal-content { border-radius: 12px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.15); }
.modal-breadcrumb {
  padding: 14px 20px;
  background: rgba(38,167,223,0.08);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.modal-breadcrumb .breadcrumb { margin: 0; padding: 0; background: transparent; font-size: 0.9rem; }
.modal-breadcrumb .breadcrumb-item a {
  color: #26A7DF;
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
}
.modal-breadcrumb .breadcrumb-item a:hover { color: #1e8bbf; text-decoration: underline; }
.modal-breadcrumb .breadcrumb-item.active { color: #555; font-weight: 500; }
.modal-breadcrumb .breadcrumb-item + .breadcrumb-item::before { content: "›"; color: #999; font-size: 1.1rem; line-height: 1; }

.about-modal .modal-header {
  border-bottom: 1px solid rgba(0,0,0,0.08);
  padding: 1.25rem 1.5rem;
  background: #f9f9f9;
}
.about-modal .modal-title { font-weight: 600; color: #333; display: flex; align-items: center; }
.about-modal .modal-title i { font-size: 1.2em; margin-right: 10px; color: #26A7DF; }
.about-modal .btn-close { background-size: 0.8rem; opacity: 0.5; transition: all 0.3s ease; }
.about-modal .btn-close:hover { opacity: 1; transform: rotate(90deg); }
.about-modal .modal-body { padding: 1.5rem 1.75rem; }
.about-modal .lead { font-size: 1.1rem; color: #444; margin-bottom: 1.25rem; font-weight: 500; line-height: 1.5; }
.about-modal p { color: #555; line-height: 1.7; margin-bottom: 1.5rem; }

.service-features {
  background: rgba(38,167,223,0.03);
  border-left: 3px solid #26A7DF;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  border-radius: 0 4px 4px 0;
}
.service-features h6 { font-size: 0.95rem; color: #26A7DF; margin-bottom: 0.75rem; display: flex; align-items: center; }
.styled-list { list-style: none; padding-left: 0; margin-bottom: 0; }
.styled-list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.65rem;
  color: #444;
  line-height: 1.5;
}
.styled-list li:before {
  content: "•";
  color: #26A7DF;
  font-weight: bold;
  font-size: 1.2rem;
  position: absolute;
  left: 0;
  top: -1px;
}

.modal-image-container {
  position: relative;
  margin-top: 1.5rem;
  padding: 0.5rem;
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transform: translateY(0);
  transition: all 0.4s cubic-bezier(0.175,0.885,0.32,1.1);
}
.modal-image-container:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}
.modal-image {
  border-radius: 6px;
  width: 100%;
  height: auto;
  object-fit: cover;
  min-height: 350px;
  border: 1px solid rgba(0,0,0,0.08);
}
.image-caption {
  position: absolute;
  right: -10px;
  bottom: -10px;
  background: #26A7DF;
  color: white;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 500;
  box-shadow: 0 3px 10px rgba(38,167,223,0.3);
  z-index: 2;
  transform: rotate(2deg);
  transition: all 0.3s ease;
}
.modal-image-container:hover .image-caption {
  transform: rotate(0) translateY(-5px);
  background: #1e8bbf;
}
@media (max-width: 992px) { .about-modal .modal-dialog { margin: 1rem auto; } }
@media (max-width: 768px) {
  .about-modal .modal-body { padding: 1.25rem; }
  .about-modal .row { flex-direction: column-reverse; }
  .modal-image-container { max-width: 320px; margin: 0 auto 1.5rem; text-align: center; }
  .image-caption { right: auto; left: 50%; transform: translateX(-50%) rotate(0); bottom: -15px; }
}
@media (max-width: 576px) {
  .about-modal .modal-content { border-radius: 0; }
  .about-modal .modal-header,
  .about-modal .modal-body { padding: 1rem; }
  .modal-breadcrumb { padding: 10px 15px; }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.about-modal.show .modal-dialog { animation: fadeInUp 0.4s cubic-bezier(0.175,0.885,0.32,1.1) forwards; }

/* Team Modal Enhancements */
.team-modal .modal-dialog { max-width: 950px; }
.team-modal .modal-content { border-radius: 12px; overflow: hidden; border: none; box-shadow: 0 15px 40px rgba(0,0,0,0.15); }
.profile-image-container {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  transition: all 0.4s ease;
}
.profile-image { width: 100%; height: auto; display: block; transition: all 0.4s ease; }
.profile-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(38,167,223,0.8);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
}
.profile-image-container:hover .profile-overlay { opacity: 1; }
.profile-social a {
  color: white;
  font-size: 1.2rem;
  margin: 0 10px;
  transition: all 0.3s ease;
}
.profile-social a:hover { transform: translateY(-3px); color: #fff; }

.team-tabs {
  border-bottom: 2px solid rgba(38,167,223,0.1);
  margin-bottom: 1.5rem;
}
.team-tabs .nav-link {
  border: none;
  color: #666;
  font-weight: 500;
  padding: 0.75rem 1.25rem;
  position: relative;
}
.team-tabs .nav-link.active {
  color: #26A7DF;
  background: transparent;
}
.team-tabs .nav-link.active:after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #26A7DF;
}
.team-tabs .nav-link i { margin-right: 5px; }
.team-tab-content { padding: 0 0.5rem; }
.expertise-tags { margin-top: 1.5rem; }
.expertise-tag {
  display: inline-block;
  background: rgba(38,167,223,0.1);
  color: #26A7DF;
  padding: 0.35rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
}
.timeline {
  position: relative;
  padding-left: 30px;
}
.timeline-item {
  position: relative;
  padding-bottom: 1.5rem;
}
.timeline-badge {
  position: absolute;
  left: -30px;
  top: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #26A7DF;
  border: 3px solid white;
  box-shadow: 0 0 0 2px #26A7DF;
}
.timeline-content {
  padding-bottom: 1.5rem;
  border-bottom: 1px dashed #eee;
}
.timeline-item:last-child .timeline-content { border-bottom: none; }
@media (max-width: 768px) {
  .team-modal .modal-dialog { margin: 1rem auto; }
  .team-modal .row { flex-direction: column; }
  .profile-image-container { max-width: 250px; margin: 0 auto 1.5rem; }
  .team-tabs .nav-link { padding: 0.5rem 0.75rem; font-size: 0.85rem; }
}

/* Section Divider for Team Modal */
.section-divider {
  display: flex;
  align-items: center;
  color: #26A7DF;
  margin: 30px 0 20px;
  font-size: 1.2rem;
}
.section-divider::before,
.section-divider::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid #ddd;
  margin: 0 15px;
}

#viewAllTeamBtn {
  transition: all 0.3s ease;
  padding: 10px 25px;
  font-weight: 500;
  position: relative;
}
#viewAllTeamBtn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* -------------------- Contact Section -------------------- */
#contacts .card {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(247, 243, 242);
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
#contacts .card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}
#contacts .card-body { padding: 1.5rem; color: white}
#contacts .card-title { font-size: 1.25rem; margin-bottom: 1rem; color: white;}
#contacts .list-unstyled li { margin-bottom: 0.75rem; }
#contacts .list-unstyled i { color: #26A7DF; margin-right: 0.5rem; }
#contacts iframe { border-radius: 10px; }
#contacts form .form-control {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: white;
}
#contacts form .form-control:focus {
  background: rgba(255,255,255,0.2);
  border-color: #26A7DF;
  box-shadow: none;
}
#contacts form .btn-primary {
  background-color: #26A7DF;
  border: none;
  width: 100%;
  margin-top: 1rem;
}
#contacts form .btn-primary:hover { background-color: #1e8bbf; }
#contacts .card.h-100 { display: flex; flex-direction: column; }
#contacts .card-body.p-0 { flex-grow: 1; display: flex; }
#contacts iframe { flex-grow: 1; border-radius: 10px; }

/* -------------------- Back to Top -------------------- */
#back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: none;
  padding: 10px 15px;
  background-color: #26A7DF;
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: opacity 0.3s ease, transform 0.3s ease;
  font-size: 1.2rem;
  z-index: 1000;
}
#back-to-top:hover {
  background-color: #1e8bbf;
  transform: scale(1.1);
}
#back-to-top:focus { outline: none; box-shadow: 0 0 0 3px rgba(38,167,223,0.5); }

/* -------------------- Progress Bar -------------------- */
#km-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  z-index: 1031;
  background: transparent;
  pointer-events: none;
}
#km-progress-bar {
  height: 100%;
  width: 0;
  background: #26A7DF;
  transition: width 0.1s linear;
  box-shadow: 0 0 8px rgba(38,167,223,0.6);
}

/* -------------------- CTA Section -------------------- */
.hover-shadow:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
}
.transition-all { transition: all 0.3s ease; }

/* -------------------- LinkedIn Embed (if used) -------------------- */
.linkedin-embed-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}
.linkedin-embed-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.linkedin-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
  font-size: 0.85rem;
  color: #666;
}

/* ===== Cookie Consent ===== */
#cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #2c3e50;
  color: white;
  padding: 20px;
  z-index: 9999;
  display: none;
  box-shadow: 0 -2px 15px rgba(0,0,0,0.2);
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.165,0.84,0.44,1);
}
#cookie-consent.visible {
  display: block;
  transform: translateY(0);
}
.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
.cookie-content p { margin: 0; flex: 1; min-width: 250px; font-size: 15px; line-height: 1.5; }
.cookie-buttons { display: flex; gap: 12px; flex-shrink: 0; }
.cookie-btn {
  padding: 10px 22px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s ease;
  font-size: 15px;
  white-space: nowrap;
}
.settings-btn { background: #34495e; color: white; }
.settings-btn:hover { background: #3d566e; transform: translateY(-2px); }
.accept-btn { background: #3498db; color: white; }
.accept-btn:hover { background: #2980b9; transform: translateY(-2px); }

#cookie-settings-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(5px);
  z-index: 10000;
  display: none;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}
#cookie-settings-modal.visible { display: flex; opacity: 1; }
.cookie-modal-content {
  background: white;
  border-radius: 10px;
  width: 100%;
  max-width: 550px;
  max-height: 85vh;
  overflow-y: auto;
  transform: translateY(30px);
  transition: transform 0.3s ease, opacity 0.3s ease;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
#cookie-settings-modal.visible .cookie-modal-content { transform: translateY(0); }
.cookie-modal-header {
  padding: 20px;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  background: white;
  z-index: 1;
}
.cookie-modal-header h3 { margin: 0; color: #2c3e50; font-size: 1.3rem; }
.close-modal {
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: #7f8c8d;
  transition: color 0.3s ease;
  line-height: 1;
  padding: 5px;
}
.close-modal:hover { color: #34495e; transform: rotate(90deg); }
.cookie-modal-body { padding: 20px; }
.cookie-category {
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 1px solid #f0f0f0;
}
.cookie-category:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.cookie-category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}
.cookie-category h4 { margin: 0; color: #2c3e50; font-size: 1.1rem; }
.cookie-category p { margin: 0; color: #7f8c8d; font-size: 14px; line-height: 1.6; }
.cookie-modal-footer {
  padding: 20px;
  border-top: 1px solid #eee;
  text-align: right;
  position: sticky;
  bottom: 0;
  background: white;
}
.save-btn { background: #27ae60; color: white; padding: 10px 25px; font-weight: 500; }
.save-btn:hover { background: #219653; transform: translateY(-2px); }

.cookie-toggle {
  position: relative;
  display: inline-block;
  width: 52px;
  height: 26px;
}
.cookie-toggle input { opacity: 0; width: 0; height: 0; }
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: .4s;
  border-radius: 34px;
}
.slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}
input:checked + .slider { background-color: #3498db; }
input:checked + .slider:before { transform: translateX(26px); }
input:disabled + .slider { background-color: #95a5a6; cursor: not-allowed; }

@media (max-width: 768px) {
  .cookie-content { flex-direction: column; text-align: center; }
  .cookie-content p { margin-bottom: 15px; min-width: auto; }
  .cookie-buttons { width: 100%; justify-content: center; }
  .cookie-modal-content { max-width: 90%; margin: 20px; }
}
@media (max-width: 480px) {
  .cookie-buttons { flex-direction: column; gap: 10px; }
  .cookie-btn { width: 100%; }
  .cookie-modal-content { max-height: 80vh; }
}

/* ===== GPU & Performance Helpers ===== */
#home, #firm, #values, #about, #team, #engage, #contacts,
#insights, #belief {
  transform: translateZ(0);
  backface-visibility: hidden;
}

.card, .value-item, .insight-card, .belief-card {
  will-change: transform, opacity;
}

/* Off-screen sections: avoid painting when hidden */
#blog, #testimonials, #teamMembersModal {
  content-visibility: auto;
  contain-intrinsic-size: auto 500px;
}

/* Utility: ensure all images have aspect ratio for stability */
img {
  aspect-ratio: attr(width) / attr(height);
}


/* ===== Team Eyebrow ===== */
.team-eyebrow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(12, 14, 15);
}

.team-eyebrow span {
    width: 35px;
    height: 1px;
    background: rgba(12, 14, 15);
}


/* ===== Services Eyebrow ===== */
.about-eyebrow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(12, 14, 15);
}

.about-eyebrow span {
    width: 35px;
    height: 1px;
    background: rgba(12, 14, 15);
}

/* ===== Contacts Eyebrow ===== */
.contacts-eyebrow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(245, 248, 250);
}

.contacts-eyebrow span {
    width: 35px;
    height: 1px;
    background: rgba(245, 248, 250);
}

/* ===== Engage Eyebrow ===== */
.engage-eyebrow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(12, 14, 15);
}

.engage-eyebrow span {
    width: 35px;
    height: 1px;
    background: rgba(12, 14, 15);
}


/*========================================
    Engage Card Properties
==========================================*/

#engage .card {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100%;
  margin: 0 auto;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 10px;
  z-index: 1;
  transition: box-shadow 0.4s cubic-bezier(0.165,0.84,0.44,1), border-color 0.3s ease;
}


/*=========================================================
     ENGAGEMENT / MODAL STYLES
     =========================================================*/

    /* Contact detail hover */
    .contact-detail {
        background: #f8f9fa;
        transition: all 0.25s ease;
    }

    .contact-detail:hover {
        background: #eef8fc;
        transform: translateY(-2px);
    }


    /* Contact icons */
    .contact-icon {
        width: 45px;
        height: 45px;
        border-radius: 50%;
        background: rgba(38, 167, 223, 0.12);
        color: #26A7DF;

        display: flex;
        align-items: center;
        justify-content: center;

        flex-shrink: 0;
    }


    /* Social buttons */
    .social-contact-btn {
        width: 52px;
        height: 52px;

        border-radius: 50%;

        display: inline-flex;
        align-items: center;
        justify-content: center;

        background: #26A7DF;
        color: #ffffff;

        font-size: 1.25rem;

        text-decoration: none;

        box-shadow: 0 4px 12px rgba(38, 167, 223, 0.25);

        transition: all 0.25s ease;
    }


    .social-contact-btn:hover {
        background: #1d91c5;
        color: #ffffff;

        transform: translateY(-4px);

        box-shadow: 0 7px 18px rgba(38, 167, 223, 0.35);
    }


    /* Modal tabs */
    #opportunityTabs .nav-link {
        color: #6c757d;
        font-weight: 600;
        border: none;
        padding: 12px 20px;
    }


    #opportunityTabs .nav-link:hover {
        color: #26A7DF;
    }


    #opportunityTabs .nav-link.active {
        color: #26A7DF;
        border-bottom: 3px solid #26A7DF;
        background: transparent;
    }


    /* Modal appearance */
    .modal-content {
        border-radius: 15px;
        overflow: hidden;
    }


    /* Consultation iframe */
    #consultationModal iframe {
        display: block;
        width: 100%;
        min-height: 650px;
    }


    /* Mobile iframe height */
    @media (max-width: 767px) {

        #consultationModal .modal-body > div {
            height: 600px !important;
        }

        #consultationModal iframe {
            min-height: 600px;
        }

    }




