/* Static Websites (D0B999 & black & white) theme */
:root {
  --accent: #d0b999;
  --primary-color: #1a1a2e;
  --accent-color: #8b6f47;
  --muted: #6c6c6c;
  --bg: #fff;
  --dark-bg: #2c2c2c;
  --text-color: #000;
  --navbar-blf: #282e3f;
  --nav-main: #1e2a3a;
  --text-light: #666;
  --bg-light: #f8f9fa;
}
html,
body {
  background: var(--bg);
  color: var(--text-color);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto,
    "Helvetica Neue", Arial;
}
a {
  color: var(--accent);
}

.blf-color {
  color: var(--accent);
}

.navbar,
.footer {
  background: var(--navbar-blf);
}
.hero {
  position: relative;
  min-height: 100vh;
  background: url("../images/blf_law_banner.jpg") center center / cover no-repeat !important;
}

.hero-pattern,
.blf-background,
.swiper,
.swiper-wrapper,
.swiper-slide,
.hero-container {
  background: transparent !important;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1;
}

.hero > * {
  position: relative;
  z-index: 2;
}

/* MOBILE */
@media (max-width: 576px) {
  .hero-container {
    padding: 1.25rem !important; /* replaces p-5 */
  }
}

/* TABLET */
@media (min-width: 577px) and (max-width: 768px) {
  .hero-container {
    padding: 2rem !important;
  }
}

@media (max-width: 576px) {
  .hero h1,
  .hero h2,
  .hero h3 {
    font-size: 1.6rem;   /* main heading */
    line-height: 1.25;
  }

  .hero h4 {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
  }

  .hero small {
    font-size: 0.75rem;
    line-height: 1.3;
  }

  .hero .badge {
    font-size: 0.7rem;
    padding: 0.35em 0.5em;
  }

  .hero .btn-lg {
    font-size: 0.9rem;
    padding: 0.5rem 0.9rem;
  }
}

@media (max-width: 576px) {
  .swiper-pagination {
    transform: scale(0.8);
    right: 0px !important;
  }
}

/*@media (max-width: 768px) {*/
/*  .hero-section {*/
/*    display: none;*/
/*  }*/
/*}*/

@media (min-width: 1025px) {
  .hero-container {
    min-height: 100vh;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
 .hero,
  .hero-container {
    min-height: auto;
    height: auto;
  }

  .hero-container {
    align-items: flex-start !important;
    padding-bottom: 1.25rem !important;
  }

  .swiper,
  .swiper-wrapper,
  .swiper-slide {
    height: auto !important;
    min-height: unset !important;
  }

  .hero-img {
    max-height: 420px;
    object-fit: contain;
  }
  
}

@media (max-width: 1024px) {
  .image-wrapper {
    margin-bottom: 1.5rem; /* SAME spacing everywhere */
  }
}

/*@media (min-width: 768px) and (max-width: 1024px) {*/
/*  .hero-img {*/
/*    max-height: 420px;*/
/*    object-fit: contain;*/
/*  }*/
/*}*/

.btn-close:focus {
  outline: none !important;
  box-shadow: none !important;
}

.logo-mark {
  font-weight: 700;
  letter-spacing: 0.02em;
}
.brand-sub {
  font-size: 0.9rem;
  color: var(--muted);
}
/* Card border now uses the gold accent color */
.card .card-body {
  border-top: 4px solid var(--accent);
}

/* Services Section */
.services-section {
  padding: 100px 0;
  background: var(--bg-light);
}

.service-card {
  background: var(--accent-color);
  padding: 40px 30px;
  border-radius: 15px;
  text-align: center;
  transition: all 0.3s;
  height: 100%;
  border: 1px solid #e9ecef;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  border-color: var(--accent);
}

.service-icon {
  width: 90px;
  height: 90px;
  margin: 0 auto 25px;
  border-radius: 50%;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  color: var(--dark-bg);
}

.service-card h3 {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto,
    "Helvetica Neue", Arial;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--bg-light);
}

.service-card p {
  color: var(--bg);
  line-height: 1.7;
}

.modal-title {
  font-weight: 600;
}

.blf-buttons-click {
  cursor: pointer;
}

.time-slot-btn {
  min-width: 140px;
  font-size: 0.9rem;
  padding: 8px 12px;
}
.time-slot-btn.active {
  pointer-events: none;
}

.contact-card {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.nav-link.active {
  font-weight: 600;
}

.common-btn {
  position: relative;
  overflow: hidden;
  z-index: 1;
  background-color: var(--accent-color);
  color: var(--bg);
  border: 1px solid var(--accent);
  padding: 14px 36px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.35s ease;
}

/* hover layers (WHITE fill) */
.common-btn::before,
.common-btn::after {
  content: "";
  position: absolute;
  top: 0;
  height: 100%;
  width: 0%;
  background-color: #fff; /* white on hover */
  z-index: -1;
  transition: width 0.4s ease;
}

.common-btn::before {
  left: 0;
}

.common-btn::after {
  right: 0;
}

/* hover animation */
.common-btn:hover::before,
.common-btn:hover::after {
  width: 50%;
}

.common-btn:hover {
  color: var(--text-color); /* black text */
}

/* Top Bar */
.top-bar {
  background: var(--primary-color);
  color: var(--bg);
  padding: 10px 0;
  font-size: 0.9rem;
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-left,
.top-bar-right {
  display: flex;
  gap: 15px;
  align-items: center;
}

.top-bar a {
  color: var(--bg);
  text-decoration: none;
  transition: color 0.3s;
}

.top-bar a:hover {
  color: var(--accent);
}

.top-bar i {
  color: var(--accent);
}

.social-icons {
  display: flex;
  gap: 12px;
}

.social-icons a {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transition: all 0.3s;
}

.social-icons a:hover {
  background: var(--accent);
  transform: translateY(-2px);
}

/* Navigation */
.main-nav {
  background: var(--nav-main);
  padding: 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto,
    "Helvetica Neue", Arial;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--bg) !important;
  padding: 15px 0;
}

.brand-icon {
  width: 45px;
  height: 45px;
  background: var(--accent);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--bg);
}

.navbar-nav {
  gap: 5px;
}

.nav-link {
  color: var(--bg) !important;
  font-weight: 500;
  padding: 25px 20px !important;
  position: relative;
  transition: all 0.3s;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent) !important;
  /* background: rgba(212, 165, 116, 0.1); */
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 19px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: var(--accent);
  transition: width 0.3s;
}

.nav-link:hover::after {
  width: 60%;
}

/*.navbar-toggler {*/
/*  background-color: var(--bg) !important;*/
/*}*/

/*.hamburger-icon {*/
/*  display: flex;*/
/*  flex-direction: column;*/
/*  justify-content: space-between;*/
/*  width: 30px;*/
/*  height: 22px;*/
/*  cursor: pointer;*/
/*}*/

/*.hamburger-icon span {*/
/*  width: 100%;*/
/*  height: 2px;*/
/*  background-color: black;*/
/*  transition: all 0.3s ease-in-out;*/
/*}*/

/*.hamburger-icon.open span:first-child {*/
/*  transform: rotate(45deg) translate(9px, 6px);*/
/*}*/

/*.hamburger-icon.open span:nth-child(2) {*/
/*  opacity: 0;*/
/*}*/

/*.hamburger-icon.open span:last-child {*/
/*  transform: rotate(-45deg) translate(6px, -6px);*/
/*}*/

/*.custom-toggler {*/
/*  background-color: var(--bg) !important;*/
/*  border: none;*/
/*}*/

/* Navigation container adjustment */
.main-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Schedule Consultation Button */
.schedule-consultation-btn {
  margin-top: 0 !important;
  white-space: nowrap;
}

/* Desktop (after tablet) - show menu items normally */
@media (min-width: 992px) {
  .navbar-collapse {
    display: flex !important;
  }
  
  /*.schedule-consultation-btn {*/
  /*  margin-left: 1rem !important;*/
  /*  margin-right: 1rem !important;*/
  /*}*/
}

/* Mobile & tablet only - hide menu items, show only logo + button */
@media (max-width: 991px) {
  .menu-links {
    display: none !important; /* Hide menu on phone and tablet */
  }
  
  .main-nav .container {
    flex-wrap: nowrap;
  }
  
  .schedule-consultation-btn {
    font-size: 12px !important;
    padding: 6px 10px !important;
    margin: 0 !important;
    margin-left: auto !important;
  }
  
  .navbar-brand img {
    width: 70px; /* Smaller logo on mobile */
  }
}

/* Extra small phones */
@media (max-width: 576px) {
  .schedule-consultation-btn {
    font-size: 10px !important;
    padding: 5px 8px !important;
  }
  
  .navbar-brand img {
    width: 60px;
  }
}

/* Mobile & tablet only */
/*@media (max-width: 991px) {*/
/*  .menu-links {*/
/*    padding-top: 14px; */
/*  }*/

/*  .menu-links .nav-link {*/
/*    padding: 5px 0;      */
/*    font-size: 16px;     */
/*    line-height: 0.9;    */
/*  }*/

/*  .menu-links .nav-item {*/
/*    margin-bottom: 6px;    */
/*  }*/
/*}*/

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--accent-color);
}

.stat-item {
  text-align: center;
  padding: 25px;
}

.stat-number {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto,
    "Helvetica Neue", Arial;
  font-size: 3rem;
  font-weight: 700;
  color: var(--bg);
}

.stat-label {
  color: var(--bg);
  font-size: 0.95rem;
}

@media (max-width: 992px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
}

.aboutus-law {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.hero-section {
  /* background: #0f2b2a; */
  padding: 20px 0; 
  display: flex;
  justify-content: center;
  margin-bottom: 0;
  padding-bottom: 0;
}

.image-wrapper {
  position: relative;
  width: 420px;
}

/* OUTER DOUBLE BORDER */
.image-border {
  position: relative;
  padding: 14px;
  border: 2px solid var(--accent);
  border-radius: 15px 50px 30px;
}

.image-border::after {
  content: "";
  position: absolute;
  inset: -10px;
  border: 1px solid var(--accent);
  border-radius: 15px 50px 30px;
}

.image-border img {
  width: 100%;
  border-radius: 15px 50px 30px;
  display: block;
}

/* CIRCULAR TEXT */
.circle-text {
  position: absolute;
  left: -60px;
  top: 40%;
  width: 120px;
  height: 120px;
}

/* ROTATE THE SVG ITSELF */
.circle-svg {
  width: 100%;
  height: 100%;
}

/* ONLY text rotates */
.rotating-text {
  transform-origin: 50% 50%;
  transform-box: fill-box;
  animation: rotateText 12s linear infinite;
}

@keyframes rotateText {
  to {
    transform: rotate(360deg);
  }
}

.about-images {
  display: grid;
  grid-template-columns: 2fr 1fr; /* left big, right small */
  /*grid-template-rows: repeat(2, 250px);*/
  grid-auto-rows: auto;
  gap: 15px;
  flex: 1;
}

/* common image style */
.about-img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  display: block;
}

/* positions */
.about-img-1 {
  grid-column: 1 / 2;
  grid-row: 1 / 3; /* span 2 rows */
  max-height: 500px;    
}

.about-img-2 {
  grid-column: 2 / 3;
  grid-row: 1 / 2;
}

.about-img-3 {
  grid-column: 2 / 3;
  grid-row: 2 / 3;
}

@media (max-width: 992px) {
    .about-images {
    grid-auto-rows: auto;   
  }
  
  .about-img-1 {
    grid-column: 1 / 3;
    grid-row: 1 / 2;
    max-height: 420px; 
  }

  .about-img-2 {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
  }

  .about-img-3 {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
  }
}

@media (max-width: 576px) {
  .about-images {
    grid-template-columns: 1fr;
  }

  .about-img-1,
  .about-img-2,
  .about-img-3 {
    grid-column: 1 / -1;
    grid-row: auto;
     height: 360px; 
  }
}

/* Desktop only: make right images cover full height */
@media (min-width: 993px) {
  .about-images {
    grid-template-rows: 1fr 1fr;   /* equal height rows */
    height: 500px;                /* control total block height */
  }

  .about-img-1 {
    height: 100%;
    /*object-fit: contain;*/
  }

  .about-img-2,
  .about-img-3 {
    height: 100%;
    object-fit: cover;           /* fill space nicely */
  }
}

.contact-info-box {
  background: var(--nav-main);
  padding: 50px;
  border-radius: 20px;
  color: white;
  height: 100%;
}

.contact-info-item {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.contact-info-icon {
  width: 50px;
  height: 50px;
  background: var(--accent-color);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.contact-info-text h4 {
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.contact-info-text p {
  color: var(--bg);
  margin: 0;
}

/* Responsive */
@media (max-width: 992px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
  }

  .contact-info {
    grid-template-columns: 1fr;
  }
  .footer-section h4 {
        font-size: 1.1rem;
        margin-bottom: 15px;
        text-align: left;
    }
    
    .footer-section .address
    {
        text-align: left;
    }
    
    .footer-section ul li {
        margin-bottom: 10px;
    }
    
    .footer-section ul li a {
        font-size: 0.95rem;
    }
}
@media (max-width: 576px) {
    .footer-section {
        margin-bottom: 30px; /* Space between sections */
    }
    
    .footer-section h4 {
        font-size: 1rem;
        margin-bottom: 12px;
        text-align: left;
    }
    
    .footer-section .address
    {
        text-align: left;
    }
    
    .footer-section ul li {
        margin-bottom: 8px;
    }
    
    .footer-section ul li a {
        font-size: 0.9rem;
        line-height: 1.4;
        padding: 8px 0; /* Touch-friendly */
    }
}
@media (max-width: 768px) {
  .about-text h2,
  .services-section h2 {
    font-size: 2rem;
  }

  .footer-content {
    grid-template-columns: 1fr !important;
    gap: 25px;
  }

  .footer-section {
        text-align: center;
        margin-bottom: 0 !important;
    }
    
    .footer-section h4 {
        font-size: 1.1rem;
        margin-bottom: 15px;
        text-align: left;
    }
    
    .footer-section .address
    {
        text-align: left;
    }
    
    .footer-section ul {
        text-align: left;
    }
    
    .footer-section ul li a {
        font-size: 1rem;
        padding: 10px 0;
        display: block;
    }

    .top-bar-content {
      display: flex;
      font-size: 13px;
    }
    .nav-link::after {
      content: none !important;
    }
}

/* Extra small mobile */
@media (max-width: 480px) {
    .footer-content {
        gap: 20px;
        padding: 20px 0;
    }
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  /* background: #f8f9fa; */
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8b6f47;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-icon:hover {
  background: #8b6f47;
  color: white;
  transform: translateY(-3px);
}

.map-container {
  width: 100%;
  height: 350px;
  border-radius: 15px;
  overflow: hidden;
  margin-top: 30px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Footer */
.footer {
  background: linear-gradient(135deg, #1e3a52 0%, #0f2537 100%);
  color: white;
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 20px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.footer-logo i {
  font-size: 2rem;
  color: #8b6f47;
}

.footer-logo h3 {
  font-size: 24px;
  font-weight: 700;
  margin: 0;
}

.footer-section h4 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: #fff;
}

.footer-section i {
  width: 20px;       
  margin-top: 4px;  
  flex-shrink: 0;
  color: #c8a067;
}


.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 12px;
}

.footer-section ul li a {
  color: #bbb;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-section ul li a:hover {
  color: #8b6f47;
  padding-left: 5px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
  color: #bbb;
}

.footer-contact-item i {
  color: #8b6f47;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.footer-social a {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all 0.3s ease;
  text-decoration: none;
}

.footer-social a:hover {
  background: #8b6f47;
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 15px;
  text-align: center;
  color: #bbb;
  font-size: 0.9rem;
}

.small-muted {
  color: var(--muted);
  font-size: 0.95rem;
}

/* hover effects */
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.btn:hover {
  opacity: 0.7;
  transition: all 0.3s ease;
}
/* responsive spacing for single page */
@media (max-width: 1200px) {
  .hero {
    padding: 0rem 0;
  }
}

.swiper {
  width: 100%;
  height: 100vh;
  position: relative;
}

.hero-img {
  width: 420px;
  height: auto;
  border-radius: 20px;
}

/* Vertical pagination dots */
.swiper-pagination {
  position: absolute;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  display: flex !important;
  flex-direction: column;
  gap: 12px;
}

.swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: #777 !important;
  opacity: 1;
}

/* Active bullet now uses the gold accent color */
.swiper-pagination-bullet-active {
  background: var(--accent) !important;
  transform: scale(1.2);
}
.blf-back-to-top {
    position: fixed;
    bottom: 30px;
    right: 10px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--accent-color);
    color: white;
    border: none;
    font-size: 18px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    /*box-shadow: 0 4px 12px rgba(0,0,0,0.15);*/
    box-shadow: 0 4px 12px rgb(255 255 255 / 15%);
    z-index: 1000;
}

.blf-back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.blf-back-to-top:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
}

/* DISCLAIMER POPUP */
.disclaimer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9998;
}

.disclaimer-box {
  /*background: #fff;*/
  /*max-width: 600px;*/
  /*padding: 30px;*/
  /*border-radius: 12px;*/
  background: #fff;
  max-width: 520px;
  width: 90%;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  text-align: left;
  font-family: Arial, sans-serif;
}

/* Title */
.disclaimer-box h4 {
  margin-top: 10px;
  margin-bottom: 15px;
  font-weight: 700;
}

/* Text */
.disclaimer-box p {
  font-size: 14px;
  line-height: 1.6;
  color: #333;
}

/* Checkbox block (Bootstrap form-check) */
.disclaimer-box .form-check {
  margin: 20px 0;
  font-size: 14px;
}

/* Proceed button – disabled state */
#proceedBtn {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  font-size: 16px;
  background: #e0e0e0;
  color: #888;
  border: 1px solid #ccc;
  cursor: not-allowed;
  transition: all 0.2s ease;
}

/* Enabled state (when checkbox checked) */
#proceedBtn:not(:disabled) {
  background: var(--accent-color);
  color: #fff;
  border-color: var(--accent-color);
  cursor: pointer;
}

/* Hover state when enabled */
#proceedBtn:not(:disabled):hover {
  background: #fff;
  color: #000;
  border-color: var(--accent-color);
}

body.locked {
  overflow: hidden;
  height: 100vh;
}

/* SPLASH SCREEN */
#splashScreen {
  position: fixed;
  inset: 0;
  background: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

#splashScreen img {
  width: 140px;
  animation: fadeZoom 2s ease forwards;
}

@keyframes fadeZoom {
  0% { opacity: 0; transform: scale(0.9); }
  100% { opacity: 1; transform: scale(1); }
}
