/* Estate Planning Mistakes - Clean CSS */

/* Test to ensure CSS is loading */
body {
  font-family: "Roboto", sans-serif;
}

/* Page Header */
.page-header {
  margin: 0;
  padding: 0;
}

.page-title {
  background-color: #001F54;
  color: white;
  padding: 10px 30px;
  margin: 0;
  font-size: 2.5rem;
  font-weight: 300;
  line-height: 1.2;
}

.thin-font {
  font-weight: 300;
}

/* Hero Banner Section - Aligned with Global Standards */
.banner-sect {
  position: relative;
  width: 100%;
  height: 920px; /* Increased to show more of image */
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  display: block;
  margin: 0;
}

/* Mobile banner image - hidden by default */
.mobile-banner-image {
  display: none;
}

/* Blue Diagonal Bar - Fixed Desktop Positioning */
.crossbanner-lr {
  position: absolute;
  bottom: -210px; /* Much lower to cover bottom corner */
  left: 0;
  width: 100%;
  height: 350px;
  z-index: 10;
}

.crossbanner-lr-gradeup {
  position: absolute;
  bottom: -30px; /* Much lower to cover bottom corner */
  left: 0;
  width: 100%;
  height: 350px;
  z-index: 10;
}

.crossbanner-lr::before, .crossbanner-lr-gradeup::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  /* width: 170%; */  
  height: 170%;
  background-color: #017cdA;
  /* clip-path: polygon(0 55%, 100% 15%, 100% 55%, 0 100%); */
  /*below  adjust bar to not go off screen, can remove and uncomment if issue arise, but this will help not have bar 70% beyond screen width */
  clip-path: polygon(0% 55%, 170% 15%, 170% 55%, 0% 100%);
  width: 100%;
  z-index: -1;
}
.mobile-bg-img {
    top: 0;
    left: 0;
    width: 100%;  
    object-fit: cover;
    margin-top: -35%;
}

/* Content within blue bar */
.crossbanner-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  /* height: 350px; */
  padding: 0 4% 4% 4%;
  position: relative;
  z-index: 2;
  margin-top: -8em;
  /* bottom: 9em; */
}

.crossbanner-left-text {
  display: flex;
  align-items: center;
  justify-content: center;
}

.crossbanner-left-text h4 {
  color: white;
  font-size: 1.4rem;
  font-weight: 400;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.4;
  margin: 20px;
  display: none;
}

.crossbanner-content img {
  width: 100%;
  max-width: 480px;
  height: auto;
  border-radius: 8px;
  border: #001F54;
  border-width: 10px;
  justify-self: center;
  box-shadow: 0px 2px 12px 0px rgba(0, 0, 0, 0.57);
  padding: 12px;
  background-color: #f7f9f9;
}

.crossbanner-content a {
  justify-self: center;
}

/* Content sections */
.hero-content-sect {
  background-color: #fff;
  padding: 60px 0;
}

.layout-wrapper {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.breadcrumb {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}

.breadcrumb .crumb {
  display: inline;
  color: #1a4587;
}

.breadcrumb .crumb:not(:last-child)::after {
  /* content: " > "; */
  margin: 0 5px;
}

.crumb-link {
  color: #1a4587;
  text-decoration: none;
}

.crumb-link:hover {
  text-decoration: underline;
}

.hero-content p {
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  margin-bottom: 20px;
}

/* Content sections */
.content-sect2 {
  padding: 40px 0;
}

/* .content-sect2-1 {
  margin-top: 300px;
} */

.sect-title {
  color: #001F54;
  font-size: 1.8rem;
  font-weight: 500;
  margin: 40px 0 20px 0;
  line-height: 1.3;
}

.sect-list {
  margin: 20px 0;
  padding-left: 20px;
  /* color: #017cdA; */
}

.sect-list li {
  margin-bottom: 5px;
  line-height: 1.5;
}

.grid-container{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: minmax(100px, auto);
  grid-template-areas: "top top" ". bottom";
}

.grid-item-1{
  grid-area: top;
}

.grid-item-2{
  grid-area: bottom;
}

.sect-cont-title {
  color: #001F54;
}
.cont-list-title{
  /* color: #017cdA; */
  font-weight: 600;
}

.free-sect{
  background-color: #017cdA;
  padding: 2rem;    
}

.free-sect h4 {
  font-size: 2rem;
  line-height: 1.75;
  color: white;
  margin-top: 0;
}

.free-flex{
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: visible;
  max-height: 300px;
}

.free-flex div{
  flex: 1;
  text-align: center;
  justify-items: center;
}

.get-book {
  display: block;
  background-color: #1Ed760;
  /* margin: 25px auto 0; */
  color: var(--white);
  text-shadow: 1px 1px 1px var(--black);
  box-shadow: 0 10px 6px -6px #222222;
  border-radius: 5px;
  border-color: transparent;
  width: 150px;
  height: 40px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 1px
}

.freq-asked {
  background-color: #001F54;
  
}

.freq-content{
  margin: 0 auto;
  padding: 20px;
  max-width: 1400px;    
}

.freq-content h5, .freq-content p{
  color: #f7f9f9;
  line-height: 1.6;
}

.freq-content h5 {
  margin: 6px;
}

.freq-title{
  color: #001F54 !important;
}

.table-couple{
  margin-top: -500px;
}

.blue-bar-title{
  padding-bottom: 47px;
  text-align: center;
  margin-right: 10%;
  display: block;
  justify-items: end;
  margin-top: -15%;
}

.blue-bar-title h2{
  color: #f7f9f9;
  font-weight: 400 ;
}

.desk-banner{
  width: 100%;
  object-fit: contain;
}

.free-sect-book {
  max-width: 620px;
}

.table-couple-img{
  width: 100%;
}

.table-couple-title{
  display: none;
}

.tablet-banner{
  display: none;
}

.mobile-table-couple{
  display: none;
}

.mobile-hand-doc{
  display: none;
}

.studies-mobile{
  display: none;
}
/* Responsive Design - Aligned with Global System */

@media screen and (min-width:2200px) {
  .crumb-sect {
    margin-top: 60px;
  }
}


@media  screen and (max-width:2560px) {
  .layout-wrapper {
    max-width: 1800px;
  }

  p {
    font-size: 1.35rem;
  }

  .crumb, .crumb-link{
    font-size: 1.25rem;
  }

  .banner-sect{
    height: 940px;
  }
  
  .crossbanner-lr-gradeup{
    bottom: 15em;
  }

  .page-title{
    font-size: 3.5rem;
  }

  .crossbanner-left-text h4{
    font-size: 1.8rem;
  }
  .mobile-bg-img{
    margin-top: -30%;
  }

  .freq-content {
    max-width: 1800px;
  }

  .table-couple{
    background-position: center;
  }

  .blue-bar-title{
    margin-right: 10%;
    padding-bottom: 76px;
  }
}

@media screen and (min-width: 2100px){
  .table-couple{
    padding-bottom: 4%;
  }
}

/* Large Desktop - 1200px+ (Global Standard) */
@media screen and (max-width: 1921px) {
  p {
    font-size: 1.125rem;
  }

  .crumb,
  .crumb-link {
    font-size: 16px;
  }

  .crossbanner-left-text h4 {
    font-size: 1.8rem;
  }

  .page-title {
    font-size: 2.8rem;
    padding: 15px 40px;
  }

  .banner-sect{
    height: 730px;
  }
  
  .crossbanner-lr-gradeup {
    position: absolute;
    /* bottom: 100px; */
    bottom: 0px;
    left: 0;
    width: 100%;
    height: 350px;
    z-index: 10;
  }
  
  .crossbanner-left-text h4 {
    font-size: 1.5rem;
  }
  
  .crossbanner-content img {
    max-width: 500px;
  }

  .mobile-bg-img {
    margin-top: -37%;
  }

  /* .table-couple{
    height: 890px;
  } */
}

@media screen and (max-width:1800px) {
  .crossbanner-content {
    margin-top: -10em;
  }
}

@media screen and (min-width:1650px) {
  .freq-content{
    width: 80%;
  }  
}

@media screen and (max-width:1600px){
  
    .crossbanner-content {
      margin-top: -15em;
    }
  
    .blue-bar-title {
      margin-right: 7%;
      padding-bottom: 48px;
      margin-top: -17%;
    }

    .table-couple{
      margin-top: -30%;
    }
}

@media screen and (max-width: 1400px){
  .free-sect-book{
    max-width: 420px;
  }

  .crossbanner-content {
  margin-top: -18em;
  }

  .grid-container{
    padding-bottom: 3vw;
  }

    .table-couple {
      margin-top: -35%;
    }
}

@media screen and (max-width: 1320px) {
  .blue-bar-title h2{
    font-size: 26px;
  }
}

/* Desktop/Tablet Transition - 1024px to 1199px */
@media screen and (max-width: 1199px) {
  .banner-sect {
    height: auto; /* Align with global tablet standard */
  }
  
  .crossbanner-lr, .crossbanner-lr-gradeup {
    height: 300px;
    bottom: 280px; /* Even lower to fully cover bottom corner */
  }
  
  .crossbanner-content {
    height: 300px;
    gap: 30px;
    padding: 260px 5% 30px 5%;
  }
  
  .crossbanner-left-text h4 {
    font-size: 2rem;
    margin: 20px;
  }
  
  .crossbanner-content img {
    max-width: 650px;
  }
  
  .content-sect2-1 {
    margin-top: 250px;
  }

  .grid-container {
    padding-bottom: 5vw;
  }

  .tablet-banner{
    display: block;
    width: 100%;
    object-fit: contain;
  }

  .desk-banner{
    display: none;
  }

  .crossbanner-content {
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    text-align: center;
    height: auto;
    padding: 10px 5% 10px 5%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    margin-top: -42%;
  }

  .crossbanner-content img {
    margin-bottom: -9em;
  }

    .content-sect2-1{
      margin-top: 36px;
    }

  .crossbanner-left-text h4{
    display: block;
  }

  .breadcrumb{
    margin-top: 10em;
  }

}


/* Tablet - 768px to 1023px (Global Standard) */
@media screen and (max-width: 1024px) {
  .page-title {
    padding: 20px 25px;
    font-size: 2.3rem;
  }
  
  .banner-sect {
    height: auto; /* Align with global mobile standard */
  }
  
  .crossbanner-lr, .crossbanner-lr-gradeup {
    height: 250px;
    bottom: 405px; /* Even lower to fully cover bottom corner */
  }
  
  /* .crossbanner-content {
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: center;
    height: 250px;
    padding: 220px 5% 30px 5%;
  } */
  
  .crossbanner-left-text {
    order: 1;
  }
  
  .crossbanner-left-text h4 {
    font-size: 1.6rem;
    margin: 15px;
  }
  
  .crossbanner-content img {
    max-width: 500px;
    order: 2;
  }

    .crossbanner-content a {
      max-width: 500px;
      order: 2;
      padding-bottom: 30px;
    }
  
  .content-sect2-1 {
    margin-top: 40px;
  }

  /* .breadcrumb{
  margin-top: 400px;
  }  */

  .mobile-bg-img{
    margin-top: -10%;
  }

  .grid-container{
    grid-template-areas: "top top" "bottom bottom";
  }

  .grid-item-1{
    padding-bottom: 0;
  }

  .grid-item-2{
    padding-top: 0;
  }

  .blue-bar-title {
    padding-bottom: 14px;
    margin-top: -9em;
    margin-right: 4.5em;
  }

  .blue-bar-title h2 {
    font-size: 1.2rem;
  }

  .table-couple{
    padding-bottom: 36px;
    margin-top: -5em;
  }

  .free-sect h4{
    font-size: 1.4rem;
  }

  .free-sect-book{
    max-width: 100%;
    height: auto;
  }

  /* .breadcrumb{
    margin-top: 48px;
  } */

  .crossbanner-content {
    grid-template-columns: 1fr;
    gap: 60px;
    text-align: center;
    height: auto;
    padding: 10px 5% 10px 5%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    margin-top: -46%;
  }
}

/* Mobile - 767px and below (Global Standard) */
@media screen and (max-width: 767px) {
  .page-title {
    padding: 25px 20px;
    font-size: 2rem;
  }
  
  .banner-sect {
   
    background-image: none;
    padding: 0;
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
    height: auto;
  }
  
  .mobile-banner-image {
    display: block;
    width: 100%;
    height: 120%;
    object-fit: cover;
    object-position: center 40%;
  }
  
  .crossbanner-lr, .crossbanner-lr-gradeup {
    position: static;
    width: 100%;
    height: 40px;
    z-index: 10;
    margin-top: 30px;
  }
  
  .crossbanner-lr::before, .crossbanner-lr-gradeup::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height:85%;
    background-color: #017cdA;
    clip-path: none; /* Straight bar for mobile */
    z-index: -1;
  }
  
  .crossbanner-content {
    grid-template-columns: 1fr;
    gap: 60px;
    text-align: center;
    height: auto;
    padding: 20px 5% 10px 5%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    margin-top: -46%;
  }
  
  .crossbanner-left-text {
    order: 1;
    margin-bottom: -15px;
  }
  
  .crossbanner-left-text h4 {
    font-size: 1.0rem;
    margin: 0;
    line-height: 1.2;
  }
  
  .crossbanner-content img {
    max-width: 480px;
    order: 2;
    margin: 0 0 30px 0;
  }
  
  .content-sect2-1 {
  margin-top: 50px;
  }

  .crossbanner-lr-gradeup {
  height: auto;
  margin-top: 0;
  }

  .blue-bar-title{
    margin-right: 2em;
    margin-top: -8em;
  }

  .breadcrumb{

    margin-top: -4em;
  }
}

@media screen and (max-width:660px) {

  .blue-bar-title h2{
    font-size: 1rem;
    padding-top: 18px;
  }
}

/* Small Mobile - 480px and below */
@media screen and (max-width: 580px) {
  p {
    font-size: 1.1rem;
  }
  
  .page-title {
    font-size: 1.8rem;
    padding: 20px 15px;
  }
  
  .crossbanner-lr-gradeup {
    height: auto;
    margin-top: 0;
  }
  
  .crossbanner-left-text h4 {
    font-size: 1rem;
  }
  
  .crossbanner-content img {
    max-width: 300px;
    margin-bottom: -6em;
  }
    .layout-wrapper {
    margin-top: 10%;
  }

  .breadcrumb {
    margin-top: 8em;
  }

  .content-sect2{
    padding-top: 0px;
  }

  .mobile-bg-img{
    margin-top: -18%;
  }

  .table-couple{
    height: auto;
    background-position: left;
    margin-top: 0;
  }

  .blue-bar-title h2 {
    display: none;
  }

  .free-sect h4 {
    font-size: 1rem;
  }

  .free-sect-book{
    padding-top: 20px;
  }

  .free-flex{
    flex-direction: column;
    max-height: none;
  }

    .crossbanner-lr::before,
    .crossbanner-lr-gradeup::before{
      background-color: transparent;
    }

    .mobile-hand-doc{
      display: block;
      width: 100%;
      height: auto;
    }

    .mobile-bg-img{
      display: none;
    }

    .studies-mobile{
      display: block;
      margin-top: 0;
      margin-bottom: -8em;
      position: relative;
      color: #f7f9f9;
      text-align: center;
      text-transform: uppercase;
      font-size: 1.4rem;
    }
    .table-couple-img {
      display: none;
    }

    .mobile-table-couple {
      display: block;
      height: auto;
      width: 100%;
    }

    .table-couple-title{
      display: block;
      text-align: center;
      color: #f7f9f9;
      margin-bottom: -5em;
      position: relative;
      padding-top: 20px;
      font-size: 2rem;
    }

    .blue-bar-title{
      display: none;
    }
}
