/* <!-- ===================== resource Section Header============================== --> */

.resource-page-header
{
    padding: 70px 0;
        background-image:url(../assets/resource-page-image/resource-hero.png) ;
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
}
.resouce-page-header-box
{
    text-align: center;
    /* max-width: 800px; */
    margin: 0 auto;
}
.hero__eyebrow.resource-eyebrow
{
        color: var(--lw-muted);
}
.hero__title.resource--title
{
      color: #000;
    line-height: 1.1;
    max-width: unset;
    font-size: 42px;
    margin-bottom: 16px;
}
.resouce-page-header-box .hero-desc
{
        max-width: 40%;
    margin: auto;
}


/* <!-- ===================== resource page Resource============================== --> */
.resource-page-resource-block
{
    padding:70px 0px;
}
.resources-block
{
    padding: 30px 0;
}
.resources-block .resorce-heading
{
     font-size: 28px ;
     font-weight: 600;
     margin-bottom: 20px;
}
.resource-list-wrap
{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 30px;

}
.resource-list-item
{
        background: linear-gradient(45deg, #dbe5ed75, #cacac85c);
        padding: 26px ;
        border-radius: 20px;
}
.resource-top-block
{
    margin-bottom: 16px;
}
.resource-top-block h3{
font-size: 22px;
font-weight: 600;
}
.resource-top-block span{
color: #333333;
font-size: 16px;
}
.resource-middle-block.resorce-image
{
border-radius: 16px;
overflow: hidden;
}
.resource-middle-block.resorce-image img
{
    transition: 0.4s ease;
}
.resource-middle-block.resorce-image:hover img
{
scale: 1.1;
}
.resource-bottom-wrap
{
    display: flex;
    align-items: center;
    margin-top: 20px;

}
.resource-desc
{
    font-size: 14px;
    flex: 1;
        padding-right: 20px;
}
.resource-download-btn
{
     border: 1px solid gray;
    display: flex;
    align-items: center;
    gap: 8px;
    height: max-content;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    transition: 0.3s ease;
    cursor: pointer;
    z-index: 9;
}
.resource-download-btn::before
{
 content: "";
    position: absolute;
    inset: 0;
    background: #fff;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
    z-index: -1;

}
.resource-download-btn:hover::before {
    transform: scaleX(1);
}
.resource-download-btn:hover
{
    border: 1px solid white;
    box-shadow: 0 2px 2px #504f4f68;
}

.resource-download-btn > * {
    position: relative;
    z-index: 3;
    color: black;
}

/* <!-- ===================== resource page CTA============================== --> */
.resource-page-cta
{
    padding: 100px 0;
    background-image:url(../assets/resource-page-image/resource-cta.png) ;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}
.cta-section-content
{
    max-width: 35%;
}
.cta-section-content h2{
font-size: 42px;
    font-weight: 600;
    margin: 10px auto 20px;
    max-width: 550px;
    line-height: 1.3;
    color: white;
}
.cta-section-content p{
        color: #dfdfdf;
    margin-bottom: 20px;
}

/* ==========================================================================
   RESOURCES PAGE — RESPONSIVE (desktop ≥1200px unchanged)
   ========================================================================== */

@media (max-width: 1199px) {
  .resource-page-header {
    padding: 64px 0;
  }

  .hero__title.resource--title {
    font-size: clamp(36px, 4vw, 42px);
  }

  .resouce-page-header-box .hero-desc {
    max-width: 55%;
  }

  .resource-page-resource-block {
    padding: 56px 0;
  }

  .resource-list-wrap {
    gap: 24px;
  }

  .resource-page-cta {
    padding: 80px 0;
  }

  .cta-section-content {
    max-width: 50%;
  }

  .cta-section-content h2 {
    font-size: 36px;
  }
}

@media (max-width: 991px) {
  .resource-page-header {
    padding: 56px 0 48px;
    background-position: unset;
  }

  .resouce-page-header-box {
    text-align: left;
  }

  .hero__title.resource--title,
  .hero__title.resource--title.section-title {
    font-size: clamp(30px, 5vw, 40px);
    margin-bottom: 14px;
    line-height: 1.2;
  }

  .resouce-page-header-box .hero-desc {
    max-width: none;
    margin: 0;
    font-size: 15px;
    line-height: 1.65;
    text-align: left;
  }

  .section-title,
  .resources-block .resorce-heading,
  .cta-section-content h2 {
    font-size: clamp(30px, 4vw, 40px);
    line-height: 1.2;
  }

  .resources-block .resorce-heading {
    font-size: 24px;
    margin-bottom: 16px;
  }

  .resource-page-resource-block {
    padding: 48px 0;
  }

  .resources-block {
    padding: 24px 0;
  }

  .resource-list-wrap {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .resource-list-item {
    padding: 20px;
    border-radius: 16px;
  }

  .resource-top-block h3 {
    font-size: 20px;
  }

  .resource-page-cta {
    padding: 64px 0;
    background-position: unset;
  }

  .cta-section-content {
    max-width: none;
    text-align: left;
  }

  .cta-section-content h2 {
    margin: 10px 0 16px;
    max-width: none;
  }

  .cta-section-content p {
    margin-bottom: 20px;
  }

  .cta-section-content .hero__btn {
    width: 100%;
    max-width: 360px;
  }
}

@media (max-width: 767px) {
  .resource-page-header {
    padding: 48px 0 40px;
  }

  .hero__eyebrow.resource-eyebrow {
    font-size: 12px;
    letter-spacing: 0.14em;
  }

  .hero__title.resource--title,
  .hero__title.resource--title.section-title {
    font-size: 34px;
    line-height: 1.25;
    letter-spacing: -0.02em;
  }

  .resouce-page-header-box .hero-desc {
    font-size: 14px;
  }

  .section-title,
  .cta-section-content h2 {
    font-size: 28px;
    line-height: 1.25;
    letter-spacing: -0.02em;
  }

  .resources-block .resorce-heading {
    font-size: 20px;
  }

  .resource-page-resource-block {
    padding: 40px 0;
  }

  .resources-block {
    padding: 20px 0;
  }

  .resource-list-wrap {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .resource-list-item {
    padding: 16px;
    border-radius: 14px;
  }

  .resource-top-block {
    margin-bottom: 12px;
  }

  .resource-top-block h3 {
    font-size: 18px;
  }

  .resource-top-block span {
    font-size: 14px;
  }

  .resource-middle-block.resorce-image {
    border-radius: 12px;
  }

  .resource-bottom-wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    margin-top: 16px;
  }

  .resource-desc {
    padding-right: 0;
    font-size: 13px;
  }

  .resource-download-btn {
    width: 100%;
    justify-content: center;
    padding: 10px 12px;
  }

  .resource-page-cta {
    padding: 48px 0;
  }

  .cta-section-content p {
    font-size: 14px;
  }

  .cta-section-content .hero__btn {
    max-width: none;
  }
}

@media (max-width: 576px) {
  .resource-page-header {
    padding: 100px 0 80px;
    position: relative;
  }
  .resource-page-header::before{
    content: "";
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(253, 253, 253, 0.453) 0%, rgb(248 248 248) 30%, rgba(255, 255, 255, 0.303) 55%, rgb(249 247 247 / 83%) 75%);
  }
  .resource-page-header>*
  {
    position: relative;
    z-index: 1;
  }
  .hero__title.resource--title,
  .hero__title.resource--title.section-title {
    font-size: 34px;
  }

  .section-title,
  .cta-section-content h2 {
    font-size: 24px;
  }

  .resources-block .resorce-heading {
    font-size: 18px;
  }

  .resource-page-resource-block {
    padding: 32px 0;
  }

  .resource-list-item {
    padding: 14px;
  }

  .resource-page-cta {
    padding: 40px 0;
  }

  .cta-section-content .hero__btn {
    height: 48px;
    font-size: 14px;
  }
}

@media (max-width: 360px) {
  .hero__title.resource--title,
  .hero__title.resource--title.section-title {
    font-size: 30px;
  }

  .section-title,
  .cta-section-content h2 {
    font-size: 24px;
  }

  .resources-block .resorce-heading {
    font-size: 16px;
  }

  .resource-top-block h3 {
    font-size: 16px;
  }
}