section{
  padding:0 !important;
}
@font-face{
  font-family:'icomoon';
  src:url('https://www.klclawfirm.com/wp-content/themes/klc/fonts/icommon/fonts/icomoon.woff?py9j18');
  font-weight:normal;font-style:normal;}

.bricks-mobile-menu-wrapper ul li a{
  color:white
}
.onepage-pagination{
  visibility: hidden;
}

@media (max-width: 767px) {
  nav{
    height:54% !important;
  }
}
.team{
    overflow: clip;
  }



.height-full {
    height: 87vh !important;
    display: none !important;
    visibility: hidden !important;
}

.adv-modal {
  display: none; 
  position: fixed; 
  z-index: 999; 
  left: 0; top: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.6); 
  justify-content: center; align-items: center;
  font-family: 'Segoe UI', sans-serif;
}

.adv-modal-content {
  background: #fff; 
  padding: 30px; 
  border-radius: 4px; 
  text-align: center;
  max-width: 400px; 
  width: 80%;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  animation: fadeIn 0.5s ease;
}

.adv-modal-content h2 {
  margin-top: 0;
  font-size: 1.8em;
  color: #333;
}

.adv-modal-content p {
  text-align:justify;
  font-size: 1em;
  color: #555;
}

.agree-btn {
  background: #1889e2; 
  color: #fff; 
  padding: 10px 20px; 
  border: none; 
  border-radius: 6px; 
  font-size: 1em;
  cursor: pointer; 
  margin-top: 15px;
  transition: background 0.3s;
}

.agree-btn:hover {
  background: #085ea1;
}

@keyframes fadeIn {
  from {opacity: 0; transform: translateY(-20px);}
  to {opacity: 1; transform: translateY(0);}
}

.teamDiv{
  margin-top:-80px;
  overflow:clip
}

.hero-slider{
  overflow:clip
}

.hero-slider .slide-item {
  position: relative;
  height: 88vh; /* adjust to your taste */
  background-size: cover;
  background-position: center;
}

.hero-slider .overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 72, 0.4); /* deep navy overlay */
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}


.hero-slider .overlay h1 {
  color: #fff;
  font-family: 'Merriweather', serif;
  font-size: 2.2em;
  font-weight: 500;
  max-width: 80%;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

@media (max-width: 768px) {
  .hero-slider .overlay h1 {
    font-size: 1.5em;
  }
}

    body {
  margin: 0;
  font-family: 'Open Sans', sans-serif;
  background: #f5f7fa; /* light background */
  color: #003366;
}

.foreword-section {
  display: flex;
  overflow:clip;
  align-items: center;
  flex-direction: row;
  justify-content: space-between;
  box-sizing: border-box;
  background:#f3fafc
}

.values-section {
  display: flex;
  overflow:clip;
  align-items: center;
  flex-direction: row;
  justify-content: space-between;
  box-sizing: border-box;
  background:#f3fafc
}

.valuesImg {
          background: #0e2c46;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
  flex: 1 1 35%;
}

.indexDiv{
  font-size: 1.1em;
    color: lightslategray;
    /* margin: 16px 0 0 70px; */
    /* font-family: auto; */
    margin: 20px auto -10px auto;
    padding: 15px 20px;
    float: left;
    width:100%;
    max-width: 900px;
    /* background: #ffffff; */
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.forewordText, .valuesText {
  flex: 1 1 50%;
  padding-left:10px;
  margin-right:40px;
}

.valuesText{
    margin-left:20px;
    margin-right:10px;
}
.forewordText h2, .valuesText h2 {
  font-size: 2.5em;
  color: #03124d; /* blue title */
  margin-bottom: 10px;
}

.line {
  width: 50px;
  height: 4px;
  background-color: #003366; /* dark blue underline */
}

.forewordText p, .valuesText p {
  font-size: 1.05em;
  line-height: 1.6;
  margin-bottom: 20px;
  color: #003366;
      text-align: justify;
    padding-right: 12px;
}

.author {
  font-style: italic;
  color: #03124d;
  font-size: 1.1em;
}

.forewordImage {
      background: #031730;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
  flex: 1 1 35%;
  text-align: right;
  padding-right: 20px;
  margin-right:20px;
}

.forewordImage img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}

.forewordText button, .valuesText button{
  background: #03124d;
    padding: 10px;
    border-radius: 4px;
    color: white;    margin-top: -5px;
    margin-bottom: 10px;    float: right;
    margin-right: 25px;
}



@media (max-width: 768px) {

  .valuesImg{
    flex: 1 1 53%;
  }
  .forewordImage{
    flex: 1 1 53%;

  }
    }    

@media (max-width: 700px) {
  
  
  .foreword-section {
    flex-direction: column;
    text-align: center;
  }
  .values-section {
    flex-direction: column;
    text-align: center;
  }
  .valuesText{
    order: 1;
    flex: 1 1 100%;
    margin-left:10px;
    margin-right:0;
    margin-top:15px;
    float:left;
  }
  .valuesText h2{
    font-size: 2em;
    margin-top:15px;
    float:left
  }
  .valuesText p{
    float: inline-start;
  }
  .valuesImg img{
    max-width:70%;
  }
  .valuesImg {
    order: 2;
    flex: 1 1 100%;
  }
  .forewordText {
    order: 1;
    flex: 1 1 100%;
    margin-right:0;
    margin-top:15px;
  }.forewordText h2{
    font-size: 2em;
    margin-top:15px
  }
  .line{
    display:none
  }
  .forewordText p{
    display:none; 
  }
  .forewordText button{
    margin-top:10px;
    float:none;
  }
  .forewordExtra{
    display:none;
  }
  .forewordImage img{
    max-width:70%;
  }
  .forewordImage {
    order: 2;
    flex: 1 1 100%;
    text-align: center;
    padding-right: 0px;
  margin-right:0px;
  }
}

video::-webkit-media-controls-start-playback-button {
  display: none !important;
}

/* For other browsers, you might need variations or hide all controls */
video::-webkit-media-controls {
  display: none !important;
}

video::-moz-media-controls {
  display: none !important;
}

video::-ms-media-controls {
  display: none !important;
}

@media (max-width: 560px) {
.valuesImg img{
    max-width:80%;
  }
  .forewordImage img{
    max-width:80%;
  }
}

@media (max-width: 500px) {
.valuesImg img{
    max-width:88%;
  }
  .forewordImage img{
    max-width:88%;
  }
}

@media (max-width: 400px) {
.valuesImg img{
    max-width:100%;
  }
  .forewordImage img{
    max-width:100%;
  }
}

.team-image-container {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.bg-image {
  width: 100%;
  height: auto;          /* Keeps aspect ratio */
  display: block;        /* Remove bottom gap */
}

/*MEET THE TEAM BUTTON*/
.custom-button {
  position: absolute;
  width: 280px;
  top: 68%;
  left: 9%;
  color: white;
  border: none;
  cursor: pointer
}

h2.title{
      margin-top: 20px;
    margin-left: 10px;
    margin-bottom: 15px;
    color: #03124d;
}

.practice-areas, .resources{
  overflow:clip
}

.practice-carousel .item {
  background: #fff;
  padding: 20px;
  margin: 10px;
  border-radius: 8px;
  min-height: 150px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.practice-carousel .item h3 {
  margin-top: 0;
  color: #03124dbf;
  font-size: 1.2em;
}

.practice-carousel .item p {
  font-size: 0.95em;
  line-height: 1.5;
  margin: 10px 0 0;
}

.resource-carousel .resourceBox{
  margin: 10px;
}

.resourceBox{
    margin: 10px;
    border-radius: 8px;
    overflow: hidden;
        width:354px;
        box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
        background: #ffffff;
        border-bottom: solid 1px #ccc;
        padding: 25px 15px 20px 15px;
    }
    .resourceBox img{
        width:100%;
        height:230px;
    }
    .resourceBox h3{
      text-align:center;
      font-size:1.5em;
      padding-top:15px;
    }
    .resourceBox p{
      margin-top:5px;
      margin-bottom:5px !important;
    }
    .resourceBox button{
        width:100%;
        display: inline-block;
        text-decoration: none;
        cursor: pointer;
        border: 0;
        border-radius: 5px;
            background: #2f87cd;
        color: #fff !important;
        font-weight: 700;
        outline: 0;
        font-size: 1.1em;
        padding: 0.65em 1.5em 0.65em 1.5em;
        text-align: center;
    }

    /* FLOATING BUTTON */
.floating-btn {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 14px 36px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  z-index: 10;
  animation: floatUp 1s ease forwards;
  opacity: 0;
}

@media (max-width: 1100px) {
  .team-image-container{
    display:none !important;
    visibility:hidden !important;
  }
  .height-full{
    display:block !important;
    visibility:visible !important;
  }
}

@media (max-width: 600px) {
  .practice-carousel .item {
    padding: 15px;
  }
}
/* .team h2 {
  text-align: center;
  margin: 30px 0 20px;
  font-size: 2em;
  color: #004080;
  margin-bottom:50px;
} */

.our-team{
  background: #636e84;
    overflow: clip;
}

.our-team h2{
      font-family: 'Playfair Display';
}

.owl-carousel .team-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  margin: 10px;
    display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
    height: 280px;
    /* width: ; */
}

.team-card img {
  width: 100%;
  height: auto;
}

.team-card .info {
  padding: 15px;
}

.team-card .info h3 {
  margin: 10px 0 5px;
  font-size: 1.1em;
  color: #03124d;
}

.team-card .info p {
  margin: 0;
  font-size: 0.95em;
  color: #555;
}

.readMoreBtn {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 15px;
  font-size: 0.9em;
  color: #fff;
  background-color: #03124d;
  border-radius: 4px;
  text-decoration: none;
}

.team-img{
  width: 160px;
    height: 160px;
    overflow: hidden;
        border-radius: 100px;
}

.team-img img{
      width: 160px;
    height: 160px;
    border-radius: 100px;
}

@media (max-width: 600px) {
  .team-card .info h3 { font-size: 1em; }
  .team-card .info p { font-size: 0.9em; }

}


.hero {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 40px;
  color:white;
  background: #003366; /* dark blue border on sides */
}

.hero-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3em;
  font-weight: 700;
  margin: 0 0 20px;
  color:white;
  margin-top:40px;
}

.hero-content span {
  display: block;
  font-size: 1.7em;
}

.btn {
  display: inline-block;
  color: #fff;
  border: 2px solid #fff;
  padding: 10px 30px;
  text-decoration: none;
  font-size: 1em;
  margin-top: 10px;
}

.btn:hover{
    background:white;
    color:grey;

}

.hero-footer {
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: 800px;
  margin-top: 50px;
  font-size: 0.9em;
  flex-wrap: wrap;
}

.hero-footer .left, .hero-footer .right {
  flex: 1 1 45%;
  text-align: right;
  margin: 10px;
}

.hero-footer p {
  margin: 4px 0;
}

@media (max-width: 600px) {
  .hero-content{
    font-size:0.6em;
  }
  .hero-footer {
    flex-direction: column;
    text-align: center;
  }
  .hero-footer .left, .hero-footer .right {
    text-align: center;
  }
}