/* ------------------------------------------------------
File: assets/css/site.css  (or replace images/main.css)
Purpose: Minimal CSS for advocatejk.in homepage (header, slider, services, booking, form, footer)
Notes:
  - Keep bootstrap.css
  - Keep owl.css + animate.css if you use owl-carousel + wow animations
  - Keep jquery-ui.css for datepicker
  - This file replaces the heavy template main.css
------------------------------------------------------ */

/* ----------------------------
Base / Reset
---------------------------- */
:root{
  --brand:#0b2a5b;
  --brand2:#b11f2a;
  --text:#1f2937;
  --muted:#6b7280;
  --bg:#ffffff;
  --bg2:#f6f7fb;
  --border:#e5e7eb;
  --shadow:0 10px 25px rgba(0,0,0,0.08);
}

*{box-sizing:border-box;}
html,body{height:100%;}
body{
  margin:0;
  font-family:system-ui,-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  color:var(--text);
  background:var(--bg);
  line-height:1.6;
}
img{max-width:100%;height:auto;display:block;}
a{color:inherit;text-decoration:none;}
a:hover{text-decoration:none;}
ul{margin:0;padding:0;list-style:none;}
.container{max-width:1140px;}

/* ----------------------------
Page wrapper + preloader
---------------------------- */
.page-wrapper{position:relative;overflow:hidden;min-height:100%;}
.preloader{
  position:fixed;
  left:0;top:0;right:0;bottom:0;
  z-index:9999;
  background:#fff;
  display:none; /* template script toggles; keep hidden to avoid blocking */
}

/* ----------------------------
Buttons
---------------------------- */
.theme-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:12px 22px;
  border-radius:10px;
  font-weight:700;
  text-transform:capitalize;
  border:1px solid transparent;
  transition:transform .15s ease, box-shadow .15s ease, background .15s ease;
  cursor:pointer;
  white-space:nowrap;
}
.theme-btn:active{transform:translateY(1px);}
.btn-style-one{
  background:linear-gradient(135deg,var(--brand),#123b7a);
  color:#fff;
  box-shadow:0 8px 18px rgba(11,42,91,.20);
}
.btn-style-one:hover{
  box-shadow:0 12px 26px rgba(11,42,91,.26);
  color:#fff;
}

/* ----------------------------
Header / Navigation
---------------------------- */
.main-header{
  position:absolute;
  left:0;right:0;top:0;
  z-index:50;
}
.header-upper{
  padding:18px 0;
}
.header-upper .container{position:relative;}
.logo-box{display:flex;align-items:center;}
.logo img{height:54px;width:auto;}

.nav-outer{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
}
.main-menu{display:flex;align-items:center;}
.main-menu .navbar-collapse{display:block;}
.navigation{
  display:flex;
  align-items:center;
  gap:28px;
}
.navigation > li > a{
  color:#fff;
  font-weight:700;
  letter-spacing:.2px;
  font-size:15px;
  opacity:.95;
  padding:10px 0;
  display:inline-block;
}
.navigation > li.current > a,
.navigation > li > a:hover{opacity:1;text-decoration:none;}

.outer-box{display:flex;align-items:center;gap:10px;}
.search-box-outer .search-box-btn{
  width:42px;height:42px;
  border-radius:10px;
  border:1px solid rgba(255,255,255,.25);
  background:rgba(0,0,0,.08);
  color:#fff;
}
.search-panel{
  min-width:280px;
  padding:12px;
  border-radius:12px;
  border:1px solid var(--border);
  box-shadow:var(--shadow);
}
.search-panel .form-group{display:flex;gap:8px;margin:0;}
.search-panel input[type="search"]{
  flex:1;
  height:42px;
  border-radius:10px;
  border:1px solid var(--border);
  padding:0 12px;
  outline:none;
}
.search-panel .search-btn{
  width:42px;height:42px;
  border-radius:10px;
  border:0;
  background:var(--brand);
  color:#fff;
}

/* Header background overlay on top of slider */
.main-header:after{
  content:"";
  position:absolute;
  left:0;right:0;top:0;
  height:110px;
  background:linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,0) 100%);
  pointer-events:none;
}

/* ----------------------------
Banner / Slider
---------------------------- */
.banner-section{position:relative;}
.main-slider-carousel .slide{
  min-height:560px;
  display:flex;
  align-items:center;
  background-size:cover;
  background-position:center;
  position:relative;
}
.main-slider-carousel .slide:before{
  content:"";
  position:absolute;inset:0;
  background:linear-gradient(90deg, rgba(0,0,0,.62) 0%, rgba(0,0,0,.28) 60%, rgba(0,0,0,.08) 100%);
}
.banner-section .content{
  position:relative;
  z-index:2;
  max-width:720px;
  padding:50px 0 70px;
}
.banner-section .content .title{
  color:#fff;
  font-weight:700;
  letter-spacing:.6px;
  text-transform:uppercase;
  opacity:.92;
  margin-bottom:10px;
  font-size:13px;
}
.banner-section h1{
  color:#fff;
  font-weight:800;
  line-height:1.1;
  font-size:44px;
  margin:0 0 22px;
}

/* owl dots (minimal) */
.owl-theme .owl-dots{
  position:absolute;
  left:0;right:0;
  bottom:24px;
  display:flex;
  justify-content:center;
  gap:10px;
}
.owl-theme .owl-dots .owl-dot span{
  width:10px;height:10px;border-radius:999px;
  display:block;
  background:rgba(255,255,255,.40);
}
.owl-theme .owl-dots .owl-dot.active span{background:#fff;}

/* ----------------------------
Section title helper (used in Services Two / Form)
---------------------------- */
.section-title{margin-bottom:30px;}
.section-title.centered{text-align:center;}
.section-title .title{
  font-weight:800;
  color:var(--brand2);
  letter-spacing:.3px;
  text-transform:uppercase;
  font-size:13px;
  margin-bottom:8px;
}
.section-title h3{
  margin:0;
  font-weight:800;
  color:#fff;
  line-height:1.25;
}
.section-title.light h3{color:#fff;}

/* ----------------------------
Booking Section (Custom)
---------------------------- */
.booking-section{
  padding:70px 0;
  background:var(--bg2);
}
.booking-heading{
  text-align:center;
  margin-bottom:26px;
}
.booking-heading h2{
  margin:0 0 8px;
  font-size:30px;
  font-weight:900;
  color:var(--brand);
}
.booking-heading p{
  margin:0;
  color:var(--muted);
}
.booking-grid{margin-top:10px;}
.booking-card{
  background:#fff;
  border:1px solid var(--border);
  border-radius:14px;
  box-shadow:0 10px 25px rgba(0,0,0,0.05);
  padding:18px;
  margin-bottom:18px;
}
.booking-calendar-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding-bottom:12px;
  border-bottom:1px solid var(--border);
  margin-bottom:14px;
}
.booking-month-label{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:800;
  color:var(--brand);
}
.booking-icon{
  width:36px;height:36px;border-radius:12px;
  background:rgba(11,42,91,.08);
  display:flex;align-items:center;justify-content:center;
  color:var(--brand);
}

.booking-slots{display:flex;flex-wrap:wrap;gap:10px;}
.booking-muted{color:var(--muted);font-size:14px;}
.booking-slot-btn{
  border:1px solid var(--border);
  background:#fff;
  border-radius:10px;
  padding:10px 12px;
  font-weight:700;
  font-size:13px;
  transition:background .15s ease, border-color .15s ease, color .15s ease;
}
.booking-slot-btn:hover{
  border-color:rgba(11,42,91,.35);
  background:rgba(11,42,91,.04);
}
.booking-slot-btn.is-selected{
  background:var(--brand);
  border-color:var(--brand);
  color:#fff;
}
.booking-slot-btn.is-disabled{
  opacity:.45;
  cursor:not-allowed;
}

.booking-card-title{
  font-weight:900;
  color:var(--brand);
  margin-bottom:10px;
}

.booking-form-row{margin-bottom:14px;}
.booking-form-row label{
  display:block;
  font-weight:800;
  margin-bottom:6px;
  color:#111827;
  font-size:13px;
}
.booking-form-row input{
  width:100%;
  height:44px;
  border-radius:10px;
  border:1px solid var(--border);
  padding:0 12px;
  outline:none;
}
.booking-form-row input:focus{
  border-color:rgba(11,42,91,.45);
  box-shadow:0 0 0 3px rgba(11,42,91,.10);
}
.booking-fee-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:12px 14px;
  border-radius:12px;
  background:rgba(177,31,42,.06);
  border:1px solid rgba(177,31,42,.12);
  margin:10px 0 14px;
}
.booking-fee-label{font-weight:800;color:var(--brand2);}
.booking-fee-amt{font-weight:900;color:#111827;}

.booking-pay-btn{
  width:100%;
  height:48px;
  border-radius:12px;
  border:0;
  background:linear-gradient(135deg,var(--brand2),#8e1720);
  color:#fff;
  font-weight:900;
  box-shadow:0 12px 26px rgba(177,31,42,.22);
}
.booking-pay-btn:disabled{
  opacity:.5;
  cursor:not-allowed;
  box-shadow:none;
}
.booking-terms{
  margin-top:10px;
  color:var(--muted);
  font-size:12px;
}
.booking-msg{
  margin-top:12px;
  font-weight:700;
  font-size:13px;
}
.booking-msg.is-ok{color:#137333;}
.booking-msg.is-error{color:#b11f2a;}

/* jQuery UI Datepicker look (only what we need) */
#bookingDatePicker .ui-datepicker{
  width:100%;
  border:1px solid var(--border);
  border-radius:14px;
  padding:12px;
  background:#fff;
}
#bookingDatePicker .ui-datepicker-header{
  border:0;
  background:transparent;
  padding:8px 6px 12px;
}
#bookingDatePicker .ui-datepicker-title{
  font-weight:900;
  color:var(--brand);
}
#bookingDatePicker .ui-state-default{
  border:1px solid transparent;
  background:transparent;
  border-radius:10px;
  padding:10px 0;
  text-align:center;
}
#bookingDatePicker .ui-state-hover{
  border-color:rgba(11,42,91,.25);
  background:rgba(11,42,91,.05);
}
#bookingDatePicker .ui-state-active{
  background:var(--brand);
  border-color:var(--brand);
  color:#fff;
}

/* ----------------------------
Services Section (3 blocks)
---------------------------- */
.services-section{
  padding:60px 0 15px;
  background:#fff;
}
.services-block .inner-box{
  position:relative;
  padding:28px 26px;
  background:#fff;
  border:1px solid var(--border);
  border-radius:16px;
  box-shadow:0 10px 25px rgba(0,0,0,0.05);
  margin-bottom:28px;
  overflow:hidden;
}
.services-block .border-one,
.services-block .border-two{
  position:absolute;
  border-radius:999px;
  opacity:.18;
  pointer-events:none;
}
.services-block .border-one{
  width:180px;height:180px;
  right:-90px;top:-90px;
  border:18px solid rgba(11,42,91,.25);
}
.services-block .border-two{
  width:140px;height:140px;
  left:-70px;bottom:-70px;
  border:16px solid rgba(177,31,42,.22);
}
.services-block .icon-box{
  width:54px;height:54px;
  border-radius:16px;
  background:rgba(11,42,91,.08);
  display:flex;
  align-items:center;
  justify-content:center;
  color:var(--brand);
  margin-bottom:14px;
  font-weight:900;
}
.services-block h6{
  margin:0 0 10px;
  font-size:16px;
  font-weight:900;
  color:#111827;
}
.services-block .text{color:var(--muted);}

/* ----------------------------
Services Section Two (grid cards with overlay)
---------------------------- */
.services-section-two{
  padding:80px 0 55px;
  background-size:cover;
  background-position:center;
  position:relative;
}
.services-section-two:before{
  content:"";
  position:absolute;inset:0;
  background:rgba(11,42,91,.78);
}
.services-section-two .container{position:relative;z-index:2;}
.services-block-two .inner-box{
  position:relative;
  border-radius:16px;
  background:#fff;
  overflow:hidden;
  box-shadow:0 12px 28px rgba(0,0,0,0.10);
  margin-bottom:26px;
  border:1px solid rgba(255,255,255,.12);
}
.services-block-two .icon-box{
  width:56px;height:56px;border-radius:16px;
  background:rgba(11,42,91,.08);
  color:var(--brand);
  display:flex;align-items:center;justify-content:center;
  margin:18px 18px 10px;
  font-size:22px;
}
.services-block-two h3{
  margin:0 18px 10px;
  font-weight:900;
  color:#111827;
  font-size:18px;
}
.services-block-two .text{
  margin:0 18px 18px;
  color:var(--muted);
  font-size:14px;
}
.services-block-two .overlay-box{
  position:absolute;inset:0;
  background-size:cover;
  background-position:center;
  transform:translateY(100%);
  transition:transform .25s ease;
}
.services-block-two .overlay-box:before{
  content:"";
  position:absolute;inset:0;
  background:rgba(0,0,0,.62);
}
.services-block-two .overlay-inner{
  position:relative;
  height:100%;
  display:flex;
  align-items:flex-end;
  padding:18px;
}
.services-block-two .overlay-inner .content{
  width:100%;
}
.services-block-two .overlay-inner .icon{
  font-size:24px;
  color:#fff;
  opacity:.95;
}
.services-block-two .overlay-inner h4{
  margin:10px 0 12px;
  font-weight:900;
  color:#fff;
  font-size:18px;
}
.services-block-two .overlay-inner h4 a{color:#fff;}
.services-block-two .inner-box:hover .overlay-box{transform:translateY(0);}

/* ----------------------------
Form Section (contact form)
---------------------------- */
.form-section{
  padding:80px 0;
  background-size:cover;
  background-position:center;
  position:relative;
}
.form-section:before{
  content:"";
  position:absolute;inset:0;
  background:rgba(0,0,0,.60);
}
.form-section .container{position:relative;z-index:2;}
.form-section .upper-content{margin-bottom:18px;}
.list-style-two li{
  color:#fff;
  font-weight:700;
  margin-bottom:10px;
  display:flex;
  align-items:center;
  gap:10px;
  opacity:.95;
}
.list-style-two .icon{color:#fff;}

.default-form input,
.default-form textarea{
  width:100%;
  border:1px solid rgba(255,255,255,.22);
  background:rgba(255,255,255,.06);
  color:#fff;
  border-radius:12px;
  padding:14px 14px;
  outline:none;
}
.default-form input::placeholder,
.default-form textarea::placeholder{color:rgba(255,255,255,.70);}
.default-form textarea{min-height:130px;resize:vertical;}
.default-form input:focus,
.default-form textarea:focus{
  border-color:rgba(255,255,255,.40);
  box-shadow:0 0 0 3px rgba(255,255,255,.10);
}
.default-form .form-group{margin-bottom:16px;}
.form-section .theme-btn.btn-style-one{
  background:linear-gradient(135deg,var(--brand2),#8e1720);
  box-shadow:0 12px 26px rgba(177,31,42,.22);
}

/* ----------------------------
Footer
---------------------------- */
.main-footer{
  background:#081a38;
  color:rgba(255,255,255,.88);
  padding:60px 0 0;
}
.main-footer .logo img{height:48px;}
.footer-widget h4{
  color:#fff;
  font-weight:900;
  margin:0 0 14px;
}
.footer-widget .text{margin:12px 0 18px;color:rgba(255,255,255,.80);}
.list-style-three li{
  margin-bottom:10px;
  display:flex;
  align-items:flex-start;
  gap:10px;
  color:rgba(255,255,255,.86);
}
.list-link li{margin-bottom:10px;}
.list-link a{color:rgba(255,255,255,.86);}
.list-link a:hover{color:#fff;}

.footer-bottom{
  margin-top:40px;
  border-top:1px solid rgba(255,255,255,.12);
  padding:18px 0;
}
.footer-bottom .copyright a,
.footer-bottom .developed-by a{color:#fff;}
.footer-bottom .developed-by{color:rgba(255,255,255,.86);}

/* ----------------------------
Responsive
---------------------------- */
@media (max-width: 991px){
  .main-header{position:relative;background:#071833;}
  .main-header:after{display:none;}
  .navigation{flex-wrap:wrap;gap:14px;}
  .main-slider-carousel .slide{min-height:460px;}
  .banner-section h1{font-size:34px;}
}
@media (max-width: 767px){
  .header-upper{padding:14px 0;}
  .logo img{height:44px;}
  .banner-section .content{padding:34px 0 60px;}
  .banner-section h1{font-size:28px;}
  .navigation{gap:10px;}
  .booking-section{padding:50px 0;}
}
