




/*  profile1 2 3 form */
.profileform {
    border: 4px solid gray;
    box-shadow: 5px 6px 7px 5px grey;
    background-color: #cce5ff;
    margin-top: 70px;
    border-radius: 15px;
    margin-bottom: 3rem; /* mb-5 equivalent in Bootstrap */
    font-size:16px;
}
@media (max-width: 576px) {
    .profileform {
        margin-top: 30px;      /* reduce top margin */
        margin-bottom: 1.5rem; /* reduce bottom margin */
        border-radius: 10px;   /* slightly smaller radius */
        font-size: 14px;       /* smaller font for mobile */
        padding: 15px;         /* reduce padding */
        box-shadow: 3px 3px 5px 2px grey; /* softer shadow for mobile */
    }
}
/*  POP-UP BASE */
.message-popup-success.active {
    display: flex !important;
    opacity: 1;
    visibility: visible;
}

.popup {
    visibility: hidden;
    opacity: 0;
    position: fixed;
    top: 20px;
    right: 20px;
    width: 300px;
    padding: 15px;
    background-color: #28a745; /* Success color */
    color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    font-size: 16px;
}

/* When active */
.popup.active {
    visibility: visible;
    opacity: 1;
}

/* Close button */
.popup .close-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 20px;
    float: right;
    cursor: pointer;
}

/* Progress bar */
.progress-bar {
    background-color: white;
    height: 5px;
    width: 0;
    transition: width 3s linear;
    margin-top: 20px;
}

/*mobile resposive popup*/

@media (max-width: 480px) {
    .popup {
        top: 15px;
        right: 10px;
        width: 85%;              /* makes it fit nicely */
        padding: 12px;
        font-size: 12px;         /* smaller text */
        border-radius: 6px;
    }

    .popup .close-btn {
        font-size: 14px;         /* slightly smaller */
    }

    .progress-bar {
        height: 3px;             /* subtle slim */
    }
}



/* ============================
   Button Section Styling
   ============================ */
.button-container {
  margin-top: 5px;
  margin-bottom: 70px;
}

.action-btn {
  padding: 6px 12px;
  font-size: 15px;
  width: 100%;
  border-radius: 5px;
  font-weight: 500;
  transition: all 0.3s ease;
}

/* Optional Hover Effect */
.action-btn:hover {
  background-color: #0056b3;
  transform: translateY(-2px);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
}

     

/* Coming Soon Section Styling */
  .coming-soon-section {
      background:#ffc4f861;
      padding: 50px 0;
  }

  /* Coming Soon Heading */
  .coming-soon-heading {
      font-size: 30px;
      text-transform: uppercase;
      letter-spacing: 1.5px;
      color: #343a40;
      font-weight: bold;
  }

  /* Coming Soon Slider Container */
  .coming-soon-slider {
      overflow: hidden;
      white-space: nowrap;
      position: relative;
      width: 100%;
  }

  /* Coming Soon Track (Scrolling Effect) */
  .coming-soon-track {
      display: flex;
      width: 200%;
      animation: scrollComingSoon 15s linear infinite;
  }
  
.no-select{
    user-select: none !important;
}
#content {
    user-select: none; /* Standard property */
    -webkit-user-select: none; /* Safari and Chrome */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Edge/IE */
    touch-action: manipulation; /* Helps prevent long-press selection */
    background-color:#e1e1e1;
}


.icon{
    color: blue !important;
}
/* slider */
.card {
  border: 3px solid #ccc;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 20px;
}
.card-body h5 a{
    margin-left: 0px !important;
    position:absolute !important;
    left:10px !important;
}
.btn-slide
{
  width: 100%;
  font-size: 20px;
  background: transparent !important;
  color: #0f0ecd !important;
  border-color: #0f0ecd !important;
  margin-bottom: 20px;
}

.h3
{
  font-size: 19px;
  font-weight: 600;
  margin-top: -110px;
  margin-left: 150px;
}
.p1
{

  font-size: 17px;
  /* margin-left: 150px; */
}
.p2
{
  font-size: 15px;
  margin-left: 115px;
}
 .fa-location-pin
{
  line-height: 25px;
  left: 175px;
  position:absolute;
  font-size: 20px;
  color: #56974d;
}

.fa-1x
{
  
   font-size: 25px;
  color: #1a0dc9;
  padding: 10px; 
  
  
} 
.h3-pratice
{
  font-size: 15px;
  margin-top: 60px;
  text-align: center;
}
.p-city
{
  margin-top: 30px;
  font-size: 20px;
}
.h-sizing
{
  font-size: 25px; 
  font-weight: bold;
}
 .carousel-control-next .carousel-control-next-icon
{
  background-color: rgb(46, 5, 5) !important;
}
.carousel-control-prev .carousel-control-prev-icon
{
  background-color: rgb(61, 0, 0) !important;
} 

.h-sizing
{
  font-size: 25px; 
  font-weight: bold;
}

.background
{
  background: #014E78;
}
.heading1
{
  padding-top: 2%;
    text-align: center;
    color: white; 
    font-size: 1 rem; 
    font-weight: 400;
}
.fa-nfc-directional
{
    position:absolute;
    left: -95px;
    top: 12px;
    font-size: 16px;
}

.heading2
{
    text-align:center; 
    color: white; 
    font-weight: 200;
}
.btn1
{
   width: 500px;
}
.btn2
{
    width: 650px;
    margin-top: 100%; 
    margin-left: 20px;
}
#btn1
{
   border: 2px solid white !important;
   border-radius: 0% !important;
   background: blue!important;
   border: 2px solid #0f0ecd;
   color: #e2e7ea!important;
   width: 180px;
}
#btn1:hover
{
    background-color: #8e70d8 !important;
    color:white !important;
}
.search-btn
{
    background:orangered !important;
    color: white !important;
    border-radius: 0px !important;
    width: 130px;
}
.navbar-dark .navbar-nav a.nav-link {
    color: #ffffff;
    font-size: 1.1em;
}

/* legal answer */
.C-btn
{
    background: blue !important;
    color: white !important;
    border-color: blue !important;
}
.c-width
{
  width: 20rem;
}
.icons-font
{
  font-size: 100px;
}
.p-sizing
{
  font-size: 25px;
}
.i-sizing
{
  font-size: 30px;
}
/* slider */

/* topic this week*/
.heading-1
{
    margin-top: 50px !important;
    margin-bottom: 60px !important;
    text-decoration: underline;
}
.topic {
    background-color: #25191f;
}
.topic a
{
    margin-left: 40px;
    color: white !important;
}
.topic ul li
{
    list-style: none;
}
.topic ul li a
{
    text-decoration: none;
    color: #837f7f;
    list-style: none;
    font-size: medium;
    line-height: 40px;
}

.fa-solid
{
    text-decoration: none;
    color: #7f8380;
    list-style: none;
    font-size: medium;
    line-height: 40px;
}
/*week icons */
.fa-arrows-turn-right
  {
    margin-left: 20px;
    margin-top: 12px;
    line-height: 18px;
    color: white;
  }
  .fa-circle-question
  {
    position: absolute;
    top: 20px;
    left: 15px;
  }
/* find a lawyer */
#nav-tab #nav-home-tab, #nav-contact-tab,#nav-profile-tab
{
    width: 106px;
    font-size: 20px;
    font-weight: 500;
    color: rgb(14, 33, 117);
}
.link:hover
{
    background-color: blue !important;
    color:white !important;
}
.tab-content
{
    border: 1px solid black;
}
.tab-content ul
{
    margin-top: 30px;
    margin-left: 20px;
    text-decoration: none;
    font-size: 20px;
    list-style: none;
    
}
.tab-content ul li
{
    margin-left: 30px;
}
.tab-content ul li a
{
    text-decoration: none;
    color: black;
}
.fa-location-arrow
{
    margin-top: 12px;
    line-height: 18px;
}
.buttn
{
  background: blue !important;
  width: 200px;
  height: 50px;
 
  font-size: 15px;
  margin-bottom: 10px;
  }
  .buttn5
{
  background: rgb(240, 240, 245) !important;
  border-color: orangered;
  color: orangered;
  font-weight: 500;
  width: 200px;
  height: 50px;
  font-size: 17px;
  margin-bottom: 10px;
  }
  .buttn6
{
  background: rgb(240, 240, 245) !important;
  border-color: orangered;
  color: orangered;
  font-weight: 500;
  /* width: 140px; */
  /* height: 4px; */
  font-size: 17px;
  margin-bottom: 10px;
  }
  /* law guides*/

  
/* testimoinal slider */
.testimonial-slider {
  position: relative;
  width: 90%;
  height: 300px;
  margin: 0 auto;
  padding: 20px;
  text-align: center;
}
.testimonial-slider .testimonial {
  display: none;
  font-size: 20px;
  font-weight: 400;
  text-align:center;
}

.testimonial-slider .testimonial.active {
  display: block;
}
.testimonial-slider .controls {
  position: absolute;
  left: 0;
  right: 0;
}
.next-btn 
{
  margin-top: -70px;
}

.previous-btn
{
  margin-top: -70px;
}

/* 2nd page free legal advice */
.form
{
  width: 70%;
}
.bttn
{
  background: #321678 !important;
  border-color: #321678 !important;
}

.display
{
  display: flex; 
  justify-content: space-between;
}
.btn-block
{
  width: 50px; 
  background: blue !important;
}
.btn-block:hover
{
  background: rgb(31, 31, 196) !important;
}
#btn2
{
  width: 140px;
  height:50px;
  font-size: 13px;
  color: rgb(8, 8, 8) !important;
  font-weight: 500;
  border-color: blue !important;
}
#btn2:hover
{
  color: #ff3815 !important;
}
#btn
{
  width: 140px;
  height: 50px;
  font-size: 13px;
  color: rgb(8, 8, 8) !important;
  font-weight: 500;
  border-color: #321678 !important;
}
#btn:hover
{
  color: #fff !important;
}

.main {
  border: 3px solid rgb(207, 203, 203);
  border-radius: 20px;
  width: 100%;
  margin-bottom: 40px;
}
 .main a
{
  margin-left: 40px;
}

.main ul
{
  padding: 0px;
  margin: 0px;
}
.main ul li
{
  list-style: none;
}
.main ul li a
{
  text-decoration: none;
  color: #181818;
  list-style: none;
  font-size: 0.9rem;
  line-height: 40px;
  font-weight: 500;
}
.main .fa-arrows-turn-right
  {
    margin-left: 7px;
    margin-top: 12px;
    line-height: 18px;
    color: #11c918;
  }
  .forms
  {
    padding: 30px;
    border: 2px solid rgb(207, 203, 203);
  border-radius: 5px;
  width: 93%;
  margin-bottom: 40px;
  }
.color
{
  background:#cce5ff;
}

center
{
  margin-bottom: 40px; color: black;
}

.lawyers-card{
    border:2px solid #A7D477;
    border-radius:5px;
}

.image img{
    height:113px;
    width:85px;
}

/* pakistani-laws */
 .heading-2
{
  padding-top: 5px;
  padding-bottom: 5px;
  background: #ffffff;
  text-align: center;
  color: #6682ef;
  margin-top: 20px !important;
    margin-bottom: 25px !important;
     margin-right: 20px !important;
      margin-left: 20px !important;
    
}
.card-heading
{
    height: 110px;
    padding: 1px;
    background:#e5e5e5;
    color: #fff;
    font-size: 15px;
    box-shadow: 0 5px 10px #a6a6ff;
    border-color: #c0c0ff;
    width: 100%;
}
.bttn
{
  background: blue !important;
  width: 200px;
  height: 50px;
  font-size: 13px;
  margin-bottom: 10px;
}

.cards ul
{
  padding: 0px;
  margin: 0px;
}
.cards ul li
{
  list-style: none;
}
.cards ul li a
{
  margin-left: 25px;
  text-decoration: none;
  color: #837f7f;
  list-style: none;
  font-size: 1rem;
  line-height: 35px;
}
.cards .fa-arrows-turn-right
  {
    margin-left: 2px;
    margin-top: 12px;
    line-height: 10px;
    color: #5c2dd3;
    font-size: 17px;
  }
  .cards ul li a
  {
    color: rgb(133, 133, 133);
  }
 .h-cards
{
  height: 95%;
} 
.view-btn
{
  background: blue !important;
} 

/* penal code */
.question
{
  border: 2px solid rgb(207, 203, 203) !important;
  border-radius: 5px !important;
  margin-left: 2px;
  width: 100%;
  
}
ol
{
  color: rgb(18, 18, 128);}
ol li a
{
  text-decoration: none;
  color: rgb(18, 18, 128);
}
.accordion-collapse:hover
{
  border-color: white !important;
}

.Card-1
{
  background-color:#94949d;
  height: 100px;
}

.h4-col
{
  color: #f1f1f1;
}


.h5-col
{
  color: blue;
  padding: 5px;
  background: #f1f1f1;
  display: inline-block;
}
.card_style a
{
  text-decoration: none;
  color: #5270ff;
}

/* section 420 */
.accordion-button
{
  box-shadow: none !important;
}
.border-question
{
  border: 2px solid rgb(207, 203, 203);
  width: 100%;
  margin-left: 2px;
  border-radius: 5px;
}
.accordion-body ol li a ,ol
{
  color: black !important;
  text-decoration: none;
}

/* ===== Base Form Section ===== */
.form-section {
    padding: 20px;
    border: 3px solid rgb(203, 203, 203);
    border-radius: 20px;
    width: 100%;
    margin-bottom: 40px;
    margin-left: 2px;
    background-color:  #d9e8ff70;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.form-section:hover {
    box-shadow: 0 0 12px rgba(0, 123, 255, 0.2);
}

/* ===== Feedback Form ===== */
.feedback-container {
    max-width: 100%;
    padding: 5px;
}

.feedback-form h3 {
    text-align: center;
    font-size: 1.2rem;
    font-weight: 600;
    color: #003366;
    margin-bottom: 15px;
}

.feedback-note {
    display: block;
    font-size: 0.9rem;
    color: #333;
    line-height: 1.5;
    margin-bottom: 10px;
    text-align: center;
}

/* Textarea styling */
.feedback-form textarea {
    font-size: 0.9rem;
    padding: 10px;
    width: 100%;
    border: 1px solid #b3cce6;
    border-radius: 5px;
    resize: vertical;
    transition: all 0.3s ease;
}

.feedback-form textarea:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.3);
}

.feedback-form .btn-outline-primary:hover {
    background-color: #007bff;
    color: white;
}

/* Button styling */
.feedback-form .btn-outline-primary {
    font-size: 0.9rem;
    padding: 5px 13px;
    width: 100%;
    font-weight: 500;
    border-radius: 5px;
    transition: all 0.3s ease;
    color: black;
}



  /* devoice property */
  .img-card img
  {
    width: 100px;
    height: 100px;
  }
  .verified-badge{
      width:130px !important;
      position:static;
      top: -28px;
      height: 50px;
      margin-left: -10px;
  }
  .verified-badge1{
      width:200px !important;
      position:static;
      top: 99px;
      height: 88px;
  }
  .verified-badge2{
   width: 145px !important;
    position: static;
    top: 170;
    height: 60;
    margin-left: -35;
  }
  .card-slide
  {
    width: 300px;
    height: 150px;
  }
#carousel-set.card-slide {
  border: 1px solid #ccc;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 20px;
}
#carousel-set.btn-slide
{
  width: 100%;
  font-size: 20px;
  background: transparent !important;
  color: #0f0ecd !important;
  border-color: #0f0ecd !important;
  margin-bottom: 20px;
}
#carousel-set.card img{
  width: 30%;
  height: 150px;
  border-radius: 10px;
  margin-top:10px;
  float: left;
  }
  .para
  {
  
    font-size: 17px;
    margin-top: 0px;
    margin-left: 100px;
  }
  .head-3
    {
      font-size: 16px;
      font-weight: 700;
      margin-top: -95px;
      margin-left: 100px;
    }
/* Divorce */
.fa-thumbs-up
{
  color: orange;
}
.body-card
{
  color: rgb(27, 95, 183);
}
.sty-body
{
margin-top: -20px; 
margin-left: -20px;
}
.img-sty
{
  margin-right: 30px; 
  margin-top: -20px; 
  margin-left: -20px;
}

#btn-2
{
  width: 120px;
  height:35px;
  font-size: 13px;
  color: rgb(8, 8, 8) !important;
  font-weight: 500;
  border-color: blue !important;
}
/* .colr
{
  color: blue;
} */
.pagination
{
  align-items: center;
  justify-content: center;
}
.law-links a
{
  margin-left: 40px;
  color: rgb(14, 14, 14) !important;
}
.law-links ul
{
  padding: 0px;
  margin: 0px;
}
.law-links ul li
{
  list-style: none;
}
.law-links ul li a
{
  text-decoration: none;
  color: #837f7f;
  list-style: none;
  font-size: medium;
  line-height: 40px;
}
.law-links,.fa-arrows-turn-right
  {
    margin-left: 20px;
    margin-top: 12px;
    line-height: 18px;
    color: rgb(247, 247, 247);
  }
  .filter a
  {
    text-decoration: none;
  }
  .filter-btn
  {
    width: 35%;
  }
  .filter-btn:hover
  {
    background: blue !important;
  }
  
  
  /* YouTube logo container styling */
.youtube-logo-container {
    position: relative;
    display: inline-block;
    margin-top: 10px;
    margin-left: 15px; /* ✅ Added proper left spacing */
}

.youtube-logo-container img {
    display: block;
    width: 90px;
    border-radius: 0.25rem; /* Slightly rounded corners */
}

/* Glowing shine animation */
@keyframes glowing-shine {
    0% {
        opacity: 0;
        transform: scale(1.1);
    }
    50% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(1.1);
    }
}

/* Active/selected state */
.nav-btn.active {
    color: #fff;
    background-color: #198754;
    border-radius: 4px;
}
/* Common button style */
.butn {
  margin: 5px 8px;
  padding: 5px 12px;
  color: black;
}

/* Apply the glow overlay */
.youtube-logo-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.3));
    animation: glowing-shine 2s ease-in-out infinite;
    z-index: 1;
    border-radius: 0.25rem;
    pointer-events: none; /* ✅ Ensures clickable area still works */
}

/* Optional hover zoom for interactivity */
.youtube-logo-container:hover img {
    transform: scale(1.05);
    transition: transform 0.3s ease-in-out;
}


/* lawyers details */
.card img{
  width: 50%;
  /* height: 150px; */
  border-radius: 10px;
  margin-top:10px;
  float: left;
  }
.heading_3
{
  font-size: 19px;
  font-weight: 600;
  margin-top: -130px;
  margin-left: 60px;
}
.p1
{

  font-size: 17px;
  margin-left: 190px;
}
.p2
{
  font-size: 15px;
  margin-left: 115px;
}

/* Base Button */
.sidecard-btn {
  display: inline-block;
  padding: 10px 18px;
  background: #2563eb;   /* blue */
  color: #fff;
  font-size: 16px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}
/* ============================
   MOBILE RESPONSIVE (≤ 768px)
   ============================ */
@media (max-width: 768px) {
  .sidecard-btn {
    width: 100%;         /* full width button */
    font-size: 14px;
    padding: 6px 6px;
    border-radius: 10px; /* more rounded on small screens */
    text-align: center;
  }
}


#btn-4
{
  width: 300px;
  height:40px;
  font-size: 13px;
  color: rgb(8, 8, 8) !important;
  font-weight: 500;
  border-color: blue !important;
}
.freq-question
{
  /* border: 2px solid rgb(207, 203, 203) !important; */
  /* border-radius: 5px !important; */
  margin-left: 2px;
  width: 100%;
}
.card-hover:hover
{
  color: blue;
}
.card-hover .fa-solid
{
  font-size: 40px !important;
  color: #212529 !important;
}
/* login form */
.login-form
{
  padding: 30px;
  border: 2px solid rgb(207, 203, 203);
  background-color: #cce5ff;
  border-radius: 5px;
  margin-bottom: 40px;
  max-width: 500px;
  
}
.login-btn a
{
 text-decoration: none;
 color: #f4f4f4;
}

/* form lawyers */
   #profile-box {
    width: 100px;
    height: 100px;
    border: 2px dashed #ccc;
    border-radius: 10px;
    cursor: pointer;
    overflow: hidden;
  }

  #profile-image {
    max-width: 100%;
    max-height: 100%;
    display: block;
    margin: auto;
  }
  /* fake charges */
  /* .re-question li 
  {
    list-style: none;
  } */
.re-question li a
{
  text-decoration: none;
}
.btn-center 
{
  margin-top: -40px;
  margin-bottom: -40px;
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
}



/* ===== Best Pak Lawyers Card Section ===== */
.card-lawyers {
  background-color:  rgb(227 227 227);
  height: auto;
  padding: 10px;
  margin: 5px;
  margin-bottom: 30px;
  max-width: 98%;
  font-size: 0.9rem;
  border-radius: 12px;
  color: #fff;
}

/* Heading Style */
.lawyer-heading {
  font-size: 1rem;
  color:#000000;
  font-weight: 600;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Lawyer Button */
.lawyer-btn {
  margin-bottom: 1rem;
  font-weight: 600;
  border: 2px solid #007bff;
  color: #279b20 !important;
  background-color: #000000 !important;
  transition: all 0.3s ease-in-out;
  display: inline-block;
  text-align: center;
  border-radius: 5px; /* optional: nicer look on small screens */
  width: auto;         /* allows button to shrink */
  max-width: 100%;     /* prevents overflow on small screens */
}

/* Hover effect */
.lawyer-btn:hover {
  background-color: #007bff !important;
  color: #ffffff !important;
}

/* Hover effect for button */
.lawyer-btn:hover {
  background-color: #007bff !important;
  color: #fff !important;
  transform: scale(1.05);
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.15);
}


/* latest court details */
.btn_1
{
  color: blue !important;
  border-color: blue !important;
}


/* Keyframes */
@keyframes spinText {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* General container and card */
.fixed-right {
  top: 40px !important;
  position: sticky;
  border-radius: 10px;
}

.pakarbiter-container {
  margin-top: 50px;
}

/* Headings and text */
.pakarbiter-heading {
  font-weight: 500;
  font-size: 17px;
  color: black;
}

.headingh1 {
     
      font-weight: 600;
  }
.headingh2 {
     
      font-weight: 600;
  }


/* ============================
   FAQ Section Styling
============================ */
.faq-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #343a40;
  margin-bottom: 20px;
}
 /* offence table start */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
}
/* Table */
.offence-table {
  width: 100%;
  border: 2px solid #d9f1ff;
  border-radius: 10px;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed; /* 🔥 prevents layout shift */
}
/* Header and cell text size, spacing */
.offence-table th,
.offence-table td {
  padding: 8px;
  font-size: 0.8rem;
  word-wrap: break-word;
  vertical-align: middle;
}
/* Table Base */
.offence-table {
  width: 100%;
  table-layout: auto;
  border-collapse: separate;
  border-spacing: 0;
}
/* Table Data Cells */
.offence-table tbody td {
  padding: 8px;
  font-size: 0.8rem;
  border-right: 1px solid #d9f1ff;
  vertical-align: top;
}
/* offence table end */

/* ============================
   Stylish Box
============================ */
.stylish-box {
  background: linear-gradient(135deg, #ffffff, #f8f9fa);
  border-radius: 20px;
  padding: 25px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease-in-out;
}

.stylish-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.15);
}

/* Main container for table scroll */
.offence-table-container {
  overflow-x: auto;
}

/* Base table design */
.offence-table {
  width: 100%;
  border: 2px solid #d9f1ff;
  border-radius: 10px;
}

/* Header and cell text size, spacing */
.offence-table th,
.offence-table td {
  padding: 8px;
  font-size: 0.8rem;
  word-wrap: break-word;
  vertical-align: middle;
}

/* Add border to right side of columns */
.offence-table .border-right {
  border-right: 1px solid #d0d0d0;
}

/* Table header background handled by Bootstrap (.table-primary),
   so no need to override unless you want a custom color. */


/* Table Container */
.offence-table-container {
  overflow-x: auto;
  width:100%;
    
}

/* Table Base */
.offence-table {
  width: 100%;
  border: 2px solid #d9f1ff;
  border-radius: 10px;
  table-layout: auto;
  border-collapse: separate;
  border-spacing: 0;
}

/* Table Headers */
.offence-table thead th {
 
  background-color: #e8f4ff; /* optional enhancement */
  text-align: left;
  font-weight: 700;
  color: #333;
}

/* Table Data Cells */
.offence-table tbody td {
  padding: 8px;
  font-size: 0.8rem;
  border-right: 1px solid #d9f1ff;
  vertical-align: top;
}

/* Remove border on last column */
.offence-table tbody td:last-child {
  border-right: none;
}

/* Row Hover Effect */
.offence-table tbody tr:hover {
  background-color: #f5fbff;
  transition: background-color 0.2s ease;
}

/* Table Rounded Corners */
.offence-table {
  border-radius: 10px;
  overflow: hidden;
}

/* ============================
   Accordion Buttons
============================ */
.stylish-button {
  background-color: #f8f9fa;
  font-weight: 600;
  color: #007bff;
  border-radius: 10px;
  transition: background-color 0.3s ease-in-out;
}

.stylish-button:hover {
  background-color: #e9ecef;
}

/* ============================
   Text Styles
============================ */
.text-muted {
  font-size: 1rem;
  color: #6c757d !important;
}

.form-label {
  font-weight: 600; /* or bold */
}

/* ✅ Bail Display Styles */
.bail-cell {
  padding: 8px;
  font-size: 0.8rem;
  vertical-align: middle;
  margin-top: 20px;
}

.bail-heading {
  margin-bottom: 5px;
  font-weight: bold;
  color: black;
}

.bail-value {
  font-size: 1rem;
  font-weight: bold;
    
}

.bail-svg-container {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.bail-svg {
  width: 260px;
  height: 200px;
}

/* 📱 Responsive Adjustment */
@media (max-width: 768px) {
  .bail-cell {
    font-size: 0.7rem;
    padding: 6px;
    margin-top: 20px;
  }

  .bail-value {
    font-size: 0.9rem;
  }

  .bail-svg {
    width: 180px;
    height: 140px;
  }
}

.section-link {
    display: inline-block;
    flex: 1;
    margin-left: 20px;
    padding: 6px 12px;
    text-decoration: none;
    border: 1px;
    border-radius: 5px;

    /* Smooth animations - transform & opacity only */
    transition: transform 0.3s ease, opacity 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    will-change: transform, opacity;
}

/* Hover Effects */
.section-link:hover {
    transform: translateX(5px) scale(1.05);
    opacity: 0.9;
    background: linear-gradient(45deg, #3498db, #2980b9);
    color: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
.bordered-section {
    border: 3px solid #ccc; /* Add your border if missing */
    padding: 15px;
    border-radius: 10px;
    box-sizing: border-box; /* critical to prevent flicker */
    width: 100%;
    margin-bottom: 20px;
    background-color: #fff; /* optional, stabilize background */
}

@media (max-width: 565px) {
  .section-header .section-title {
    font-size: 16px;
    text-align: center;
  }

  .section-header .butn {
    width: 100%;         /* full width on mobile */
    font-size: 14px;
  }
  .section-header .row {
    flex-direction: column;
    text-align: center;
  }
  .section-header {
    margin-bottom: 10px;
  }
}
/* h1,h2.h3,h4,h5,h6 anp <p> mobile respoenive */
@media (max-width: 768px) {
.headingh1 {
      font-size: 22px;
      font-weight: 400;
  }
.headingh2 {
      font-size: 20px;
      font-weight: 400;
  }
  .headingh4 {
      font-size: 18px
  }
  .textp {
      font-size: 15px  
  }
}
@media (max-width: 768px) {
/* section rsposnive */
  ul li {
    display: flex;
    align-items: flex-start;
    gap: 10px ;
    margin-bottom: 10px ;
    flex-wrap: nowrap;
  }
  /* SVG icon smaller */
  ul li svg {
    width: 14px ;
    height: 14px;
    flex-shrink: 0;
    margin-top: 3px;
  }
  /* Link text */
  .section-link {
    line-height: 24px ;
    margin-left: 10px ;
    display: block;
  }
}

/*lawgat css all*/
/* ============================================
   GLOBAL VARIABLES
============================================ */
:root {
    --primary: #0d6efd;
    --primary-dark: #0a58ca;
    --secondary: #309046;
    --secondary-dark: #2a7e3d;

    --light-bg: #f8f9fa;
    --text-primary: #212529;
    --text-secondary: #6c757d;

    --border-radius: 12px;
    --card-shadow: 0 4px 12px rgba(0,0,0,0.08);
    --transition: all 0.3s ease;
}

body {
    background-color: #ffffff;
   
}

/* ============================================
   COMPACT NAVIGATION + BREADCRUMBS
============================================ */
.compact-nav {
    padding: 0.5rem 0;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    margin-bottom: 1.5rem;
}

.compact-breadcrumb {
    margin-bottom: 0;
    font-size: 1.2rem;
    font-weight: 600;
    padding: 0 1rem;
}

.compact-breadcrumb .breadcrumb-item a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

.compact-breadcrumb .breadcrumb-item a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.compact-breadcrumb .breadcrumb-item.active {
    color: var(--text-secondary);
}

/* ============================================
   COMPACT HEADER
============================================ */
.compact-header {
    text-align: center;
    margin: 1rem 0 1.5rem;
}

.compact-header h1 {
    font-size: 2.5rem;
    color: #204e91;
    margin-bottom: 0.5rem;
}

.compact-header p {
    font-size: 0.9rem;
    color: #6c757d;
}

/* ============================================
   COMPACT LIST
============================================ */
.compact-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* ============================================
   COMPACT CARDS
============================================ */
.compact-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    transition: box-shadow 0.2s ease;
}

.compact-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.compact-card-body {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
}

.compact-card-icon {
    font-size: 1.5rem;
    color: #204e91;
    margin-right: 1rem;
    width: 40px;
    text-align: center;
}

.compact-card-content {
    flex-grow: 1;
}

.compact-card-content h5 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.compact-card-meta {
    display: flex;
    gap: 1rem;
}

.compact-card-meta span {
    font-size: 0.8rem;
    color: #6c757d;
}

.compact-card-action {
    margin-left: auto;
}

/* ============================================
   QUESTION CARD (SHARED COMPONENT)
============================================ */
.question-card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    border: none;
    overflow: hidden;
}

.question-card:hover {
    box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

/* ============================================
   SIDEBAR CARD
============================================ */
.sidebar-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    overflow: hidden;
    margin-bottom: 2rem;
}

.sidebar-image {
    width: 80px;
    height: auto;
    margin-top: -25px;
}

.sidebar-brand {
    color: var(--secondary);
    font-weight: 600;
    text-decoration: none;
}

.sidebar-brand:hover {
    text-decoration: underline;
}

.sidebar-content {
    padding: 1.5rem;
    text-align: center;
}

.sidebar-content h3 {
    font-weight: 600;
    font-size: 1.25rem;
    color: black;
    margin-bottom: 1rem;
}

.sidebar-content p {
    font-weight: 300;
    font-size: 0.95rem;
    color: black;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.sidebar-button {
    background-color: var(--secondary);
    border: none;
    padding: 0.6rem 1.5rem;
    font-weight: 500;
    transition: background-color 0.3s;
}

.sidebar-button:hover {
    background-color: var(--secondary-dark);
}

/* ============================================
   GUIDELINES PANEL (SLIDER)
============================================ */
.guidelines-panel {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background: white;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    z-index: 1000;
    transition: right 0.3s ease;
    overflow-y: auto;
}

.guidelines-panel.active {
    right: 0;
}

.guidelines-header {
    padding: 12px 15px;
    background: var(--primary);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.close-guidelines {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
}

.guidelines-content {
    padding: 15px;
}

.guidelines-content ul {
    padding-left: 20px;
}

.guidelines-content li {
    margin-bottom: 10px;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* ============================================
   EMPTY STATE
============================================ */
.compact-empty {
    text-align: center;
    padding: 2rem;
    color: #6c757d;
}

.compact-empty i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.compact-empty h4 {
    margin-bottom: 0.5rem;
}

/* ============================================
   RESPONSIVE BREAKPOINTS
============================================ */
@media (max-width: 992px) {
    .sidebar-card {
        margin-top: 2rem;
    }
}

@media (max-width: 768px) {
    .compact-card-body {
        flex-wrap: wrap;
    }

    .compact-card-action {
        margin-left: 0;
        width: 100%;
        margin-top: 0.5rem;
        text-align: right;
    }

    .guidelines-panel {
        width: 85%;
        right: -85%;
    }

    .header-stats {
        flex-direction: column;
        gap: 0.5rem;
    }

    .timer-content {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
}
/*lawgat css all*/





