.lustria{
  font-family: "Lustria", serif;
  font-weight: 400;
  font-style: normal;
}

.bebas-neue {
  font-family: "Bebas Neue", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.inter-body {
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

:root{
  --brand-blue: #26AEE4;
  --brand-gold:#C79D20;
  --ink:#121212;
  --muted:#6c757d;
  --card-radius:2px;
  --shadow: 0 10px 28px rgba(0,0,0,.14);
}

html { scroll-behavior: smooth; }

/* Mobile navbar menu background */
@media (max-width: 991px) {
  .navbar-collapse {
    background: rgba(31, 31, 31, 0.8);
    margin-top: 12px;
    padding: 12px 0;
    border-radius: 4px;
  }
}

/* Mobile floating quote button */
.btn-mobile-quote {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  padding: 16px 24px;
  border-radius: 50px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  transition: opacity .9s ease, box-shadow .8s ease;
  opacity: 0;
  pointer-events: none;
}
.btn-mobile-quote:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}
@media (min-width: 992px) {
  .btn-mobile-quote {
    display: none !important;
  }
}

/* Burger menu X icon */
.navbar-toggler {
  position: relative;
  padding: 0.25rem 0.5rem;
  transition: all 0.3s ease;
}
.navbar-toggler .navbar-toggler-icon {
  transition: all 0.3s ease;
}
.navbar-toggler.toggler-active .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='rgba%28255,255,255,0.55%29' d='M4.646 4.646a.5.5 0 0 1 .708 0L8 7.293l2.646-2.647a.5.5 0 0 1 .708.708L8.707 8l2.647 2.646a.5.5 0 0 1-.708.708L8 8.707l-2.646 2.647a.5.5 0 0 1-.708-.708l2.647-2.646-2.647-2.646a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

/* Responsive logo */
.navbar-brand img.logo-img {
  max-width: 140px;
  height: auto;
  display: block;
}
@media (max-width: 576px) {
  .navbar-brand img.logo-img {
    max-width: 110px;
  }
}

/* ===== Navbar ===== */
.navbar-brand{
  margin-left: -10px;
  padding: 0;
}
.navbar{
  transition: background .3s ease, backdrop-filter .3s ease;
  padding: 0 1rem; /* reduce navbar padding for thinner height */
}
.navbar.scrolled{
  background: rgba(0,0,0,.95);
  backdrop-filter: none;
}
.navbar .nav-link{
  color: rgba(255,255,255,.85);
  font-family: 'Bebas Neue', sans-serif;
  font-weight: 400;
  font-size: 20px;
  letter-spacing: .2px;
  position: relative;
  padding: .25rem .65rem; /* even thinner navbar links */
}
.navbar .nav-link:hover{ color: #fff; }
.navbar .nav-link::after{
  content:"";
  position:absolute;
  left: .9rem; bottom: .2rem;
  width: 0; height: 2px;
  background: var(--brand-gold);
  transition: width .25s ease;
}
.navbar .nav-link:hover::after{ width: calc(100% - 1.8rem); }

.btn-quote{
  background: var(--brand-gold);
  color: #111;
  font-family: 'Bebas Neue', sans-serif;
  font-weight: 400;
  font-size: 20px;
  letter-spacing: .2px;
  border: none;
  padding: 12px 32px; /* reduced padding for thinner navbar */
  border-radius: 3px;
  transition: transform .15s ease, filter .15s ease, box-shadow .15s ease;
}
.btn-quote:hover{
  background: var(--brand-gold);
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow: 0 10px 22px rgba(212,163,0,.25);
}

/* ===== Hero ===== */
.hero{
  min-height: 82vh;
  display:flex;
  align-items:center;
  color:#fff;
  position:relative;
  background:
    linear-gradient(90deg, rgba(0,0,0,.72), rgba(0,0,0,.4)),
    url("images/photos/hero.webp?auto=format&fit=crop&w=2400&q=80");
  background-size: cover;
  background-position: center;
  padding-top: 90px; /* sticky navbar space */
}
.hero h1{
  font-family: "Lustria", Georgia, serif;
  font-weight: 450;
  line-height: 1.05;
  font-size: clamp(3rem, 4vw, 4rem);
  text-shadow: 0 10px 22px rgba(0,0,0,1);
}
.hero p{
  font-family: "Inter", sans-serif;
  text-shadow: 0 10px 22px rgba(0,0,0,1);
  max-width: 620px;
  color: rgba(255,255,255,.88);
}

.btn-primary-soft{
  background: var(--brand-blue);
  color: white;
  border: none;
  font-family: 'Bebas Neue', sans-serif;
  font-weight: 450;
  font-size: 24px;
  letter-spacing: .2px;
  border: none;
  padding: 20px 36px;
  border-radius: 3px;
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.btn-primary-soft:hover{
  background: var(--brand-blue);
  transform: translateY(-1px);
  filter: brightness(1.06);
    box-shadow: 0 10px 22px rgba(0, 109, 212, 0.25);

}

/* ===== Sections ===== */
section{ padding: 82px 0; }
.section-title{
  font-family: "Lustria", Georgia, serif;
  font-weight: 400;
  font-size: 3rem;
  margin-bottom: 18px;
}
.section-title-about{
  font-family: "Lustria", Georgia, serif;
  font-weight: 400;
  font-size: 3rem;
  margin-bottom: 18px;
}
.section-subheading{
  font-family: "Lustria", Georgia, serif;
  font-weight: 400;
  font-size: 2rem;
  margin-bottom: 18px;
}

.section{
  color: var(--muted);
  margin-bottom: 32px;
}

.anchor-offset { scroll-margin-top: 90px; }

/* ===== About ===== */
.about-block{
  display: flex;
  justify-content: center; /* Horizontal */
  align-items: center;     /* Vertical */
}

.about-block.align-items-stretch {
  align-items: center !important; /* override bootstrap utility class */
}

.about-block .col-lg-6 {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* About section fade-in animation */
.fade-in-element {
  opacity: 0;
  transform: translateY(20px);
}

.fade-in-element.is-visible {
  animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.about-card{
  border-radius: var(--card-radius);
  box-shadow: var(--shadow);
  overflow:hidden;
  background:#fff;
}

.about-bill-image{
  min-height: 500px;
  background: url("images/photos/about_bill.webp");
  background-size: cover;
  background-position: center;
}

.about-kris-image{
  min-height: 500px;
  background: url("images/photos/about_kris.webp");
  background-size: cover;
  background-position: center;
}


.mission-vision {
  padding: 32px 20px;
}

.mission-vision blockquote {
  font-size: 1.8rem;
  font-weight: 300;
  max-width: 900px;
  margin: 0px auto;
  line-height: 1.6;
  font-style: italic;
}

.mission-vision blockquote::before {
  content: "“";
  font-size: 4rem;
  color: #3db3ff;
}

/* ===== Service Tiles ===== */
.tile {
  position: relative;
  border-radius: var(--card-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  cursor: pointer;
  user-select: none;
  height: 400px;
  background: #111;
}

.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease, filter 0.35s ease;
}

.tile:hover img {
  transform: scale(1.06);
  filter: saturate(1.06);
}

.tile-label {
  position: absolute;
  left: 14px;
  bottom: 12px;
  padding: 0.4rem 0.55rem;
  border-radius: 3px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-family: "Bebas Neue", sans-serif;
  font-weight: 400;
  letter-spacing: 0.2px;
  text-transform: uppercase;
  font-size: 1.25rem;
  backdrop-filter: blur(6px);
  z-index: 2;
}

/* Fullscreen overlay */
.tile-overlay {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 9999;
}

.tile-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.overlay-box {
  position: relative;
  background: #fff;
  color: #222;
  padding: 32px 28px;
  max-width: 760px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  border-radius: 3px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  animation: fadeInUp 0.3s ease;
}

/* Optional close button */
.overlay-close {
  position: absolute;
  top: 14px;
  right: 18px;
  border: none;
  background: transparent;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  color: #222;
}

@keyframes fadeInUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.overlay-box h5 {
  margin: 0 0 14px 0;
  font-family: "Bebas Neue", sans-serif;
  font-weight: 400;
  font-size: 2rem;
  letter-spacing: 0.5px;
  color: #111;
}

.overlay-box p {
  margin: 0 0 14px 0;
  color: #444;
  font-family: "Inter", sans-serif;
  font-size: 0.98rem;
  line-height: 1.7;
}

.overlay-box ul {
  margin: 0 0 18px 1.2rem;
  padding: 0;
  color: #444;
  font-family: "Inter", sans-serif;
  font-size: 0.98rem;
  line-height: 1.7;
}

.overlay-box li {
  margin-bottom: 6px;
}

.overlay-box .mini {
  margin-top: 18px;
  font-size: 0.9rem;
  color: #666;
  font-family: "Inter", sans-serif;
}

.overlay-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
}

.overlay-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  font-family: "Inter", sans-serif;
  color: #444;
  line-height: 1.6;
}

.overlay-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: #111;
  font-size: 1rem;
}

.pill {
  display: inline-block;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: #f1f1f1;
  color: #222;
  margin-right: 8px;
  margin-bottom: 8px;
  font-size: 0.85rem;
  font-family: "Inter", sans-serif;
}

body.modal-open {
  overflow: hidden;
}

/* ===== Carousel logos ===== */
.logo-wrap{
  display:flex;
  justify-content:center;
  opacity:.9;
  transition: transform .2s ease, opacity .2s ease;
}
.logo-wrap:hover{
  transform: scale(1.04);
  opacity:1;
}
.logo-wrap img{
  max-height: 100px;
  max-width: 360px;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,.12));
}

/* ===== Quote form ===== */
.quote-card{
  border-radius: var(--card-radius);
  box-shadow: var(--shadow);
  overflow:hidden;
  background:#fff;
}
.quote-card .left{
  background:
    linear-gradient(135deg, rgba(13,110,253,.85), rgba(0,0,0,.25)),
    url("images/photos/quote.webp?auto=format&fit=crop&w=2400&q=80");
  background-size: cover;
  background-position: center;
  color:#fff;
  padding: 28px;
  min-height: 260px;
}
.quote-card .left h3{
  font-family: "Lustria", serif;
  font-weight: 400;
  font-size: 2.5rem;
  margin-bottom: 6px;
}
.form-control, .form-select{
  border-radius: 12px;
  padding: .75rem .9rem;
}

.btn-submit{
  background: #111;
  color:#fff;
  font-family: 'Bebas Neue', sans-serif;
  font-weight: 400;
  font-size: 1.15rem;
  border:none;
  border-radius: 2px;
  padding: .75rem 1rem;
  transition: transform .15s ease, filter .15s ease;
}
.btn-submit:hover{
  background: #111;
  color:#fff;
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow: 0 10px 22px rgba(0, 12, 23, 0.25);
}

.form-status {
  color: #6c757d;
  transition: all 0.25s ease;
}

.form-status.is-success {
  color: #198754;
  font-weight: 600;
}

.form-status.is-error {
  color: #dc3545;
  font-weight: 600;
}

.btn-submit {
  min-width: 160px;
  position: relative;
  transition: all 0.25s ease;
}

.btn-submit:disabled {
  opacity: 0.85;
  cursor: not-allowed;
}

.quote-card .form-control,
.quote-card .form-select {
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.quote-card .form-control:focus,
.quote-card .form-select:focus {
  box-shadow: 0 0 0 0.2rem rgba(0, 0, 0, 0.08);
}

.contact-item{
  display:flex;
  align-items:center;
  margin-bottom:15px;
}

.contact-item .icon{
  width:40px;
  height:40px;
  border-radius:50%;
  background:#0d6efd;
  color:white;
  display:flex;
  align-items:center;
  justify-content:center;
  margin-right:12px;
  font-size:16px;
}

.contact-item div{
  font-size:15px;
}

/* ===== Footer ===== */
footer{
  background:#0b0b0b;
  color: rgba(255,255,255,.72);
  padding: 28px 0;
}
.social a{
  color: rgba(255,255,255,.75);
  font-size: 1.15rem;
  margin-right: 14px;
  transition: transform .15s ease, color .15s ease;
  display:inline-block;
}
.social a:hover{
  color: #fff;
  transform: translateY(-2px);
}