/********** Template CSS **********/
:root {
    --primary: #763c18;
    --secondary: #34AD54;
    --light: #EEF9FF;
    --dark: #091E3E;
}


/*** Spinner ***/
.spinner {
    width: 40px;
    height: 40px;
    background: var(--primary);
    margin: 100px auto;
    -webkit-animation: sk-rotateplane 1.2s infinite ease-in-out;
    animation: sk-rotateplane 1.2s infinite ease-in-out;
}

@-webkit-keyframes sk-rotateplane {
    0% {
        -webkit-transform: perspective(120px)
    }
    50% {
        -webkit-transform: perspective(120px) rotateY(180deg)
    }
    100% {
        -webkit-transform: perspective(120px) rotateY(180deg) rotateX(180deg)
    }
}

@keyframes sk-rotateplane {
    0% {
        transform: perspective(120px) rotateX(0deg) rotateY(0deg);
        -webkit-transform: perspective(120px) rotateX(0deg) rotateY(0deg)
    }
    50% {
        transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg);
        -webkit-transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg)
    }
    100% {
        transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
        -webkit-transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
    }
}

#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Heading ***/
h1,
h2,
.fw-bold {
    font-weight: 800 !important;
}

h3,
h4,
.fw-semi-bold {
    font-weight: 700 !important;
}

h5,
h6,
.fw-medium {
    font-weight: 600 !important;
}


/*** Button ***/
.btn {
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    transition: .5s;
}

.btn-primary,
.btn-secondary {
    color: #FFFFFF;
    box-shadow: inset 0 0 0 50px transparent;
}

.btn-primary:hover {
    box-shadow: inset 0 0 0 0 var(--primary);
}

.btn-secondary:hover {
    box-shadow: inset 0 0 0 0 var(--secondary);
}

.btn-square {
    width: 36px;
    height: 36px;
}

.btn-sm-square {
    width: 30px;
    height: 30px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}

.navbar-brand img {
    max-height: 40px; /* logo height */
    width: auto;  
}

/*** Navbar ***/
.navbar-dark .navbar-nav .nav-link {
    font-family: 'Nunito', sans-serif;
    position: relative;
    margin-left: 25px;
    padding: 15px 0;
    color: #000000;
    font-size: 15px;
    font-weight: 800;
    outline: none;
    transition: .5s;
}
.navbar-nav {
    margin: 0 auto;   
}

.sticky-top.navbar-dark .navbar-nav .nav-link {
    padding: 20px 0;
    color: var(--dark);
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar-dark .navbar-brand h1 {
    color: #FFFFFF;
}

.navbar-dark .navbar-toggler {
    color: var(--primary) !important;
    border-color: var(--primary) !important;
}

@media (max-width: 991.98px) {
    .sticky-top.navbar-dark {
        position: relative;
        background: #FFFFFF;
    }

    .navbar-dark .navbar-nav .nav-link,
    .navbar-dark .navbar-nav .nav-link.show,
    .sticky-top.navbar-dark .navbar-nav .nav-link {
        padding: 10px 0;
        color: var(--dark);
    }

    .navbar-dark .navbar-brand h1 {
        color: var(--primary);
    }
}

@media (min-width: 992px) {
    .navbar-dark {
        position: absolute;
        width: 100%;
        top: 0;
        left: 0;
        border-bottom: 1px solid rgba(256, 256, 256, .1);
        z-index: 999;
    }
    
    .sticky-top.navbar-dark {
        position: fixed;
        background: #FFFFFF;
    }

    .navbar-dark .navbar-nav .nav-link::before {
        position: absolute;
        content: "";
        width: 0;
        height: 2px;
        bottom: -1px;
        left: 50%;
        background: var(--primary);
        transition: .5s;
    }

    .navbar-dark .navbar-nav .nav-link.nav-contact::before {
        display: none;
    }

    .sticky-top.navbar-dark .navbar-brand h1 {
        color: var(--primary);
    }
}
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95); /* Slight white background */
  backdrop-filter: blur(6px); /* Adds modern blur effect */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
.navbar a {
  color: #001f3f !important; /* Deep navy text */
  font-weight: 600;
}

/*** Section Title ***/
.section-title::before {
    position: absolute;
    content: "";
    width: 150px;
    height: 5px;
    left: 0;
    bottom: 0;
    background: var(--primary);
    border-radius: 2px;
}

.section-title.text-center::before {
    left: 50%;
    margin-left: -75px;
}

.section-title.section-title-sm::before {
    width: 90px;
    height: 3px;
}

.section-title::after {
    position: absolute;
    content: "";
    width: 6px;
    height: 5px;
    bottom: 0px;
    background: #FFFFFF;
    -webkit-animation: section-title-run 5s infinite linear;
    animation: section-title-run 5s infinite linear;
}

.section-title.section-title-sm::after {
    width: 4px;
    height: 3px;
}

.section-title.text-center::after {
    -webkit-animation: section-title-run-center 5s infinite linear;
    animation: section-title-run-center 5s infinite linear;
}

.section-title.section-title-sm::after {
    -webkit-animation: section-title-run-sm 5s infinite linear;
    animation: section-title-run-sm 5s infinite linear;
}

@-webkit-keyframes section-title-run {
    0% {left: 0; } 50% { left : 145px; } 100% { left: 0; }
}

@-webkit-keyframes section-title-run-center {
    0% { left: 50%; margin-left: -75px; } 50% { left : 50%; margin-left: 45px; } 100% { left: 50%; margin-left: -75px; }
}

@-webkit-keyframes section-title-run-sm {
    0% {left: 0; } 50% { left : 85px; } 100% { left: 0; }
}

/*--------------------------------------------------------------
# Search Box Styles
--------------------------------------------------------------*/
.lc-searchbox {
    max-width: 600px;
    margin: 0 auto;
}

.lc-input {
    width: 100%;
    padding: 8px;
    border-radius: 6px;
    font-size: 16px;
}

.lc-btn {
    height: 44px;
    padding: 0 20px;
    font-weight: 700;
    background: #763c18;
    border: 1px solid #763c18;
    color: #fff;
    border-radius: 6px;
}

.lc-panel {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    max-height: 60vh;
    overflow: auto;
    padding: .4rem;
    z-index: 1000;
}

.lc-panel ul {
    padding: 0;
}

.lc-panel ul li {
    padding: 8px 16px;
    cursor: pointer;
}

.lc-panel ul li:hover {
    background-color: #f4f4f4;
}


/*** Miscellaneous ***/
@media (min-width: 991.98px) {
    .facts {
        position: relative;
        margin-top: -75px;
        z-index: 1;
    }
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}
/*--------------------------------------------------------------
# Page Banner
--------------------------------------------------------------*/
/* Universal Banner */
.page-banner {
  position: relative;
  width: 100%;
  height: 420px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0px;
}

/* Banner Image */
.page-banner .banner-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(80%);
}

/* Dark overlay */
.page-banner .banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6));
}

/* Text content */
.banner-content {
  position: absolute;
  z-index: 2;
}

.banner-content h1 {
  color: #ffffff;
  font-weight: 700;
  font-size: 48px;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}
/* Page Banner Caption */
.banner-content .sub-heading {
  color: #f1f1f1; /* Light text for visibility */
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
  margin-top: 10px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4); /* better readability on images */
}

@media (max-width: 768px) {
  .banner-content .sub-heading {
    font-size: 15px;
  }
}


/* Responsive */
@media (max-width: 768px) {
  .page-banner {
    height: 300px;
  }
  .banner-content h1 {
    font-size: 32px;
  }
}

.link-animated a {
    transition: .5s;
}

.link-animated a:hover {
    padding-left: 10px;
}

@media (min-width: 767.98px) {
    .footer-about {
        margin-bottom: -75px;
    }
}
/* Page Banner Caption */
.banner-content .sub-heading {
  color: #f1f1f1; /* Light text for visibility */
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
  margin-top: 10px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4); /* better readability on images */
}

@media (max-width: 768px) {
  .banner-content .sub-heading {
    font-size: 15px;
  }
}


.hero {
  background: #f8f9fa;
  padding: 80px 0;
}

.search-bar input {
  max-width: 600px;
  margin: 0 auto;
}

.top-searches .badge {
  margin: 5px;
  padding: 10px 15px;
  font-size: 14px;
}
.hero h1 {
  margin-top: 30px;
}
.top-searches {
  text-align: center;
}

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/

.services .service-box {
  text-align: left;
  padding: 20px;
  border: 1px solid #eee;
  border-radius: 6px;
  background: #fff;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 100%;
}

.services .service-box i {
  font-size: 28px;
  color: #0d6efd;
}

.services .service-box h5 {
  font-size: 16px;
  font-weight: 600;
}

/* ✅ Mobile view */
@media (max-width: 576px) {
  .services .service-box h5 {
    font-size: 14px;
    white-space: normal; /* mobile me wrap allow */
  }

  .services .service-box i {
    font-size: 22px;
  }
}

/* ✅ Desktop view */
@media (min-width: 992px) {
  .services .service-box h5 {
    white-space: nowrap; /* desktop me 1 line me force */
  }
}


/*--------------------------------------------------------------
# google-review
--------------------------------------------------------------*/
.google-review {
  text-align: center;
  margin: 20px 0;
}

.google-review .review-link {
  text-decoration: none;
  font-size: 20px;
  font-weight: 600;
  color: #000;
}

.google-review img {
  height: 30px;
  vertical-align: middle;
  margin-right: 8px;
}

.google-review .stars {
  color: #fbbc05; /* Google yellow star */
  margin-left: 5px;
  font-size: 22px;
}

/*--------------------------------------------------------------
# Testimonial
--------------------------------------------------------------*/
.testimonial-carousel .owl-dots {
    margin-top: 15px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    background: #DDDDDD;
    border-radius: 2px;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    width: 30px;
    background: var(--primary);
}

.testimonial-carousel .owl-item.center {
    position: relative;
    z-index: 1;
}

.testimonial-carousel .owl-item .testimonial-item {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-item {
    background: #FFFFFF !important;
    box-shadow: 0 0 30px #DDDDDD;
}


/*--------------------------------------------------------------
# Team
--------------------------------------------------------------*/
.team-item {
    transition: .5s;
}

.team-social {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .5s;
}

.team-social a.btn {
    position: relative;
    margin: 0 3px;
    margin-top: 100px;
    opacity: 0;
}

.team-item:hover {
    box-shadow: 0 0 30px #DDDDDD;
}

.team-item:hover .team-social {
    background: rgba(9, 30, 62, .7);
}

.team-item:hover .team-social a.btn:first-child {
    opacity: 1;
    margin-top: 0;
    transition: .3s 0s;
}

.team-item:hover .team-social a.btn:nth-child(2) {
    opacity: 1;
    margin-top: 0;
    transition: .3s .05s;
}

.team-item:hover .team-social a.btn:nth-child(3) {
    opacity: 1;
    margin-top: 0;
    transition: .3s .1s;
}

.team-item:hover .team-social a.btn:nth-child(4) {
    opacity: 1;
    margin-top: 0;
    transition: .3s .15s;
}

.team-item .team-img img,
.blog-item .blog-img img  {
    transition: .5s;
}

.team-item:hover .team-img img,
.blog-item:hover .blog-img img {
    transform: scale(1.15);
}


/* ✅ Mobile View Tweaks */
@media (max-width: 768px) {
  .tab-item a {
    font-size: 14px;
    padding: 7px 10px;
  }
}
/*--------------------------------------------------------------
# faq Tabs
--------------------------------------------------------------*/
.faq-section {
  background: #f8f9fa;
  border-top: 1px solid #e0e0e0;
}

.faq-container {
  max-width: 1100px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background: #fff;
  margin-bottom: 12px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  outline: none;
  padding: 14px 18px;
  font-size: 16px;
  font-weight: 600;
  color: #001f3f;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: background 0.3s;
}

.faq-question:hover {
  background: rgba(118, 60, 24, 0.08);
}

.faq-icon {
  font-size: 20px;
  color: #763c18;
  transition: transform 0.3s ease;
}

.faq-answer {
  display: none;
  padding: 12px 18px;
  border-top: 1px solid #eee;
  color: #555;
  background: #fff;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

/*--------------------------------------------------------------
# HOW TO START SECTION
--------------------------------------------------------------*/
.how-to-start {
  background: #fff;
  padding: 10px 20px;
  text-align: center;
}

.section-title {
  font-size: 16px;
  font-weight: 400;
  margin-bottom: 40px;
  color: #222;
  position: relative;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 25px;
}

.step-box {
  background: #f9f9f9;
  border: 1px solid #eee;
  padding: 25px 20px;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.05);
  transition: 0.3s;
}
.step-box:hover {
  box-shadow: 0 8px 18px rgba(118,60,24,0.2);
  transform: translateY(-5px);
  background: #fff;
}

.icon {
  font-size: 36px;
  color: #763c18;
  margin: 0 auto 15px;
  display: flex;
  justify-content: center;
}

.step-box h3 {
  font-size: 18px;
  font-weight: 700;
  color: #111;
  margin-bottom: 8px;
}

.step-box p {
  color: #555;
  font-size: 15px;
  line-height: 1.6;
}
.tabs-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  border-bottom: 1px solid #eee;
  background: #fff;
  padding: 10px 0;
  position: relative;
  z-index: 10;
}

.tab {
  padding: 8px 15px;
  background: #f8f9fa;
  border: 1px solid #ddd;
  border-radius: 6px;
  color: #111;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.tab:hover,
.tab.active {
  background: #763c18;
  color: #fff;
  border-color: #763c18;
}

.tabs-container.sticky {
  position: fixed;
  top: 62px; /* Adjust to your menu height */
  left: 0;
  right: 0;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  z-index: 999;
}

/* Sticky Form */
.sticky-form {
  position: sticky;
  top: 120px;
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  margin-top: 65px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  
}
.lawcify-services .service-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}

.lawcify-services .service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
}

.lawcify-services .service-img {
  height: 150px;
  overflow: hidden;
}

.lawcify-services .service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lawcify-services .service-body {
  padding: 14px 16px 16px;
}

.lawcify-services .service-body h5 {
  font-size: 1.05rem;
  margin-bottom: 6px;
  color: #001f3f;
}

.lawcify-services .service-body p {
  font-size: 0.9rem;
  margin-bottom: 10px;
  color: #6c757d;
}

.lawcify-services .service-btn {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid #c96a2b;
  color: #c96a2b;
}

.lawcify-services .service-btn:hover {
  background: #c96a2b;
  color: #ffffff;
}

/* Mobile tweaks */
@media (max-width: 575.98px) {
  .lawcify-services .service-img {
    height: 130px;
  }

  .lawcify-services .service-body h5 {
    font-size: 1rem;
  }

  .lawcify-services .service-body p {
    font-size: 0.85rem;
  }
}



