:root {
    --color-primary: #1E1E1E;
    --color-white: #ffffff;
    --color-accent: #E9B300;
    --mustardGold: #E9B300;
    --mid-tone-gray: #606060;
    --light-gray-border: #dddddd;
    --color-avenue: #0376BD;
    --color-secondary: #1E1E1E;
    --font-primary: "Albert Sans", sans-serif;
    --font-xs: 0.875rem;
    --font-sm: 1rem;
    --font-md: 1.125rem;
    --font-lg: 1.5rem;
    --font-xl: 2rem;
    --font-2xl: 2.5rem;
    --font-3xl: 3rem;
    --font-4xl: 3.75rem;
    --weight-light: 200;
    --weight-normal: 300;
    --weight-medium: 500;
    --weight-semibold: 600;
    --weight-bold: 700;

    --line-sm: 1.3;
    --line-md: 1.5;
    --line-lg: 1.7;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    font-size: var(--font-sm);
    font-weight: var(--weight-normal);
    line-height: var(--line-lg);
    color: var(--color-secondary);
}

html { scroll-behavior: smooth !important; }

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-primary);
    color: var(--color-primary);
}

p {
    /*line-height: var(--line-lg);*/
    /* font-weight: 100 !important; */
    line-height: 1.3 !important;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
}

.container {
    width:calc(100% - 2rem);
    max-width: 1240px;
    margin: 0 auto;
}

.important-notice {
    width: 100%;
    background: #1F9FEE;
    color: #fff;
    padding: clamp(4px, 0.8vw, 12px) 0;
    box-sizing: border-box;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    font-weight: normal;
    line-height: 100%;
}

.important-notice > .container{
        display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.notice-track {
    flex: 1;
    min-width: 0;
    position: relative;
    font-size: clamp(12px, 1vw, 16px);
    line-height: 120%;
}

.notice-slide {
    display: none;
    text-align: left;
    font-size: inherit;
    font-weight: normal;
}

.notice-slide.active {
    display: block;
}

.notice-slide a,
.notice-slide span {
    color: var(--color-white);
    font: inherit;
}

.notice-slide a {
    text-decoration: none;
}

.notice-slide strong {
    font-weight: 700;
    text-decoration: underline;
}

.notice-dots {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    flex-shrink: 0;
}

.notice-dot {
    width: 6px;
    height: 6px;
    padding: 0;
    border: 1px solid var(--color-white);
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
}

.notice-dot.active {
    background: #fff;
}

.notice-dot:focus-visible {
    outline: 2px solid var(--color-white);
    outline-offset: 3px;
}


@media (max-width: 1366px){
    .container{
        max-width: 1140px;
    }
}



 /***** FORM *****/
 form input,
 form textarea {
     border-radius: 0;
     appearance: none;
     -webkit-appearance: none;
 }

 form input:focus,
 form textarea:focus,
 form button:focus,
 form select:focus {
     outline: none;
 }

 form input:-webkit-autofill,
 form input:-webkit-autofill:hover,
 form input:-webkit-autofill:focus,
 form textarea:-webkit-autofill,
 form textarea:-webkit-autofill:hover,
 form textarea:-webkit-autofill:focus {
     -webkit-text-fill-color: #fff;
     transition: background-color 5000s ease-in-out 0s;
 }
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}
.prefooter {
    padding: 197px 0px 203px;
    width: 100%;
    min-height: 647px;
    background-position: center !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    display: flex;
        align-items: center;
}

.prefooter>div {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.prefooter h2 {
    color: var(--color-white)
}

.prefooter p {
    max-width: 960px;
    margin: 0px auto;
    color: var(--color-white);
    font-weight: 200;
    font-size: 30px;
    line-height: 41px;
    letter-spacing: 0%;
    text-align: center;
    margin-top: 25px;
    margin-bottom: 52px;
}

.prefooter .global-btn span:first-child {
    color: var(--color-white)
}

.prefooter .global-btn {
    position: relative;
    left: 4%;
}
/* section {
    padding-top: 5rem;
    padding-bottom: 5rem;
}   */ 

body.menu-open {
    overflow: hidden;
}


.title{
    font-weight: 200;
    font-size: clamp(48px, 5.46vw, 70px);
    line-height: 100%;
    letter-spacing: 0%;
    text-align: center;
    text-transform: capitalize;
    color: #fff;
     animation: fadeUp 0.8s ease forwards;
      animation-delay: 0.2s;
}
.title2{
    font-weight: 200;
    font-size: clamp(24px, 2.4vw, 30px);
    line-height: 137%;
    letter-spacing: 0%;
}
.title3 {
    font-family: Albert Sans;
    font-weight: 200;
    font-size: 18px;
    /*line-height: 116%;*/
    line-height: var(--line-md);
    letter-spacing: 0%;
}
/* .inner-banner {
    position: relative;
    height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background-size: cover !important;
    background-repeat: no-repeat !important;
} */
 .inner-hero {
    width: 100%;
    min-height: 800px;
    display: -webkit-flexbox;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: end;
    -ms-flex-align: end;
    align-items: flex-end;
    background-position: center !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    align-items: center;
    position: relative;
 }

a.down-arrow {
  position: absolute;
  left: 0;
  right: 0;
  margin: auto;
  width: 37px;
  bottom: 60px;
  animation: bounce 1.5s infinite;
}

a.down-arrow > img {
    margin: auto;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-5px);
  }
  60% {
    transform: translateY(0px);
  }
}

 .inner-hero .hero-wrap {
     display: flex;      
     flex-direction: column;
     text-align: center;
     margin: 0px auto;
     gap: 35px;
     padding: 0 !important;
 }

 .heading {
     font-size: clamp(48px, 5.46vw, 70px);
     line-height: 100%;
     font-weight: 200;
     color: var(--color-white);
     opacity: 0;
     animation: fadeUp 0.8s ease forwards;
     animation-delay: 0.2s;
 }

 .hero-wrap .p-txt {
     color: var(--color-white);
    font-size: clamp(24px, 2.4vw, 32px);
     line-height: 100%;
     font-weight: 200;
     animation: fadeUp 0.8s ease forwards;
     animation-delay: 0.3s;
     opacity: 0;
 }
.subheading {
    font-weight: 400;
    font-size: 20px;
    line-height: 100%;
    letter-spacing: 16%;
    text-align: center;
    text-transform: uppercase;
}
.inner-banner:after {
    content: "";
    background: #1F1F23;
    opacity: 30%;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
}
.caption_area {
    max-width: 820px;
    text-align: center;
    padding: 0 15px;
    z-index: 1;
    box-sizing: content-box;
}
.caption_area > p{
    font-weight: 200;
    font-size: clamp(28px, 2.5vw, 32px);
    line-height: 100%;
    letter-spacing: 0%;
    color: #fff;
    margin-top: 30px;
}
.inner-container {
    max-width: 982px;
    margin: auto;
    padding: 0 15px;
    box-sizing: content-box;
}
.caption_area2 {
    max-width: 1000px;
    text-align: center;
    padding: 0 15px;
    z-index: 1;
    box-sizing: content-box;
}

.inner-banner > .caption_area2,
.inner-banner > .caption_area{
    padding-top: 10%;
}

.single-news-insights .news-insights{
padding:220px 1rem 150px;max-width:1240px;margin:0px auto;width:100%;
}

@media (max-width: 767px){
    .inner-banner{
        height: 550px;
    }
}



/* =========================
   HERO
========================= */
/* Background image helper — used for <img> elements that act as CSS backgrounds */
.bg-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
    pointer-events: none;
}

.hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
}

/*.hero .container {
    width: unset;
}*/

/*.overlay {
    position: absolute;
    inset: 0;
    background: none;
}*/

/* =========================
   NAVBAR
========================= */
.header{
    position: fixed;
    width: 100%;
    transition: all 0.3s ease;
    z-index: 1000; 
    top: 0;
}

.header.sticky .navbar.sticky{
    position: static;
}

.navbar {
    padding: 22px 0;
}

.navbar.sticky {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    width: 100%;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar.sticky .nav-links a {
    color: var(--color-secondary);
}

.navbar .nav-links .current_page_item a {
    color: #0A152B;
    font-weight: var(--weight-semibold);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar .custom-logo-link svg:first-child {
    margin-right: 5px;
}

.navbar .custom-logo-link svg:last-child {
    margin-top: 10px;
}

.no-hero .custom-logo-link svg:last-child path {
    fill: #1F9FEE !important;
}

.no-hero.navbar .nav-links a {
    color: var(--color-secondary);
}

/* Sticky header */

.navbar.sticky .custom-logo-link svg:last-child path, .navbar:has(.hamburger.open) .custom-logo-link svg:last-child path {
    fill: #1F9FEE;
}

.navbar .custom-logo-link svg:last-child path .hamburger.open {
    fill: #0A152B !important;
}

/* Logo */
.custom-logo-link {
    display: inline-flex;
    align-items: center;
    line-height: 0;
}

.custom-logo-link .custom-logo {
    width: 295px;
    height: auto;
    max-width: 100%;
}

/* WordPress accessibility/site title — visually hidden */
.site-title {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.site-title a {
    display: none;
}

nav {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 25px;
    list-style: none;
}

.nav-links li {
    list-style: none;
}

.nav-links a {
    color: var(--color-white);
    text-decoration: none;
    font-size: var(--font-md);
    font-weight: var(--weight-normal);
    line-height: 100%;
}

.nav-links a:hover {
    opacity: 0.7;
}

.hamburger {
    display: none;
    cursor: pointer;
    z-index: 100;
}


/* =========================
   CONTENT
========================= */
.content {
    position: relative;
    width: 100%;
    z-index: 10;
    padding-top: 80px; /* accounts for the header */
}

.content h1 {
    color: var(--color-white);
    /*font-size: var(--font-4xl);*/
    font-size: 70px;
    font-weight: var(--weight-light);
}

.rotating-text {
    position: relative;
    width: 700px;
    min-height: 350px;
}

.item,
.credit {
    position: absolute;
    left: 0;
    opacity: 0;
    color: var(--color-white);
}

.item {
    /*font-size: var(--font-4xl);*/
    font-size: 60px;
    line-height: 100%;
    font-weight: var(--weight-light);
}

.item:nth-child(1) {
    top: 0;
    font-weight: 100; /* No token for 100 (lightest); keep as-is */
}

.item:nth-child(2) {
    top: 72px;
    font-weight: 100; /* No token for 100 (lightest); keep as-is */
}

.item:nth-child(3) {
    top: 144px;
    font-weight: 100; /* No token for 100 (lightest); keep as-is */
}

.item:nth-child(4) {
    top: 216px;
}

.credit {
    top: 80px;
    display: flex;
    flex-direction: column;
    gap: 8px;
   /* font-size: var(--font-4xl);*/
   font-size: 70px;
    line-height: 72px;
    font-weight: var(--weight-light);
}

/* =========================
   REPLAY BUTTON
========================= */
.replay {
    position: absolute;
    right: 60px;
    bottom: 80px;
    z-index: 10;
}

.replay img {
    width: 52px;
    cursor: pointer;
}

/* Button */
.global-btn {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: var(--color-primary);
    font-size: var(--font-md);
    font-weight: var(--weight-medium);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.global-btn span:first-child {
    white-space: nowrap;
    font-weight: 400;
    letter-spacing: 6%;
}

.global-btn-icon-wrapper {
    width: 110px; /* reserve space so the "Our Firm" span text never moves */
    overflow: hidden;
    display: flex;
   /* justify-content: center;*/
}

.global-btn-icon {
    position: relative;
    width: 36px;
    height: 35px;
    border-radius: 999px;
    background: var(--color-accent);
    overflow: hidden;
    transition: width 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: width;
}

.global-btn-icon-arrow {
    overflow: visible;
}

.arrow-line {
    transform-box: fill-box;
    transform-origin: left center;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.arrow-head {
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.global-btn:hover .arrow-line {
    transform: scaleX(3);
}

.global-btn:hover .arrow-head {
    transform: translateX(35px);
}
/* Arrowhead (chevron) */
.global-btn-icon-arrow {
    position: absolute;
    top: 50%;
    right: 10px;
    width: 14px;
    height: 14px;
    transform: translateY(-50%);
    transition: right 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.global-btn:hover .global-btn-icon {
    width: 75px;
}

.global-btn-icon-arrow-line {
    position: absolute;
    top: 50%;
    left: 12px;
    width: 10px;
    height: 2px;
    background: var(--color-white);
    transform: translateY(-50%);
    transform-origin: left center;
    transition: width 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.global-btn:hover .global-btn-icon-arrow-line {
    width: 56px;
}

.global-btn:hover .global-btn-icon-arrow {
    right: 45px;
}


.team_text{padding:103px 0px 63px}
.team-wrap{
    max-width: 838px;margin:0px auto
}

    .team_text .team-wrap .title3{
        max-width: 811px;
}

.error-404{
    padding: 292px 0px 278px; 
}
.error-404 h1{
    margin-bottom: 6px;
        font-size: clamp(48px, 5.46vw, 60px);
    line-height: 100%;
    font-weight: 200;  
    color:#0A152B;
    /* opacity: 0;
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 0.2s; */
}
.error-404 p{
color:#0A152B;
 font-size: clamp(20px, 2vw, 30px);
line-height: 41px;
font-weight: 200;margin-bottom: 21px;
}
.error-404 .back_btn{background-color:transparent;
    margin-top: 45px;width:auto;}
   .error-404 .back_btn a{ 
  background: url(/wp-content/themes/first-avenue/assets/images/arrow-alone.png) no-repeat;
    background-size: 36px 36px;
    background-position: left center;
    display: inline-block;
    height: 36px;
    padding-left: 53px;
        display: flex;
    align-items: center;   
}
.error-404 .back_btn a span{
 font-family: Albert Sans;
font-weight: 400;
font-size: 18px;
line-height: 100%;
letter-spacing: 6%;
text-transform: uppercase;color:#0A152B;
}


@media (min-width: 1279px) and (min-height: 890px) {
.error-404{
    padding: 292px 0px 278px; 
}
}
@media screen and (max-width:1440px) {
    .inner-hero .hero-wrap
    {
        padding-bottom: 150px;
    }
}
@media screen and (max-width:1368px) {
.error-404{
    padding: 220px 0px 150px; 
}
    .inner-hero {
        min-height: 600px;
        height: 100vh;
    }
        .cs-sec2,
        .cs-sec2 {
            padding: 135px 0
        }
}
@media (min-width: 1101px) and (max-width: 1368px) {
    .nav-links{gap:20px}
}

@media (min-width: 993px) and (max-width: 1100px) {
.nav-links a{font-size: 14px;}
.nav-links{gap:15px}
}
/* =========================
   TABLET
========================= */
@media (max-width: 992px) {
    .team-wrap{max-width: 100%;}
    .navbar .container {
        gap: 25px;
    }

    /* =====================
       HEADER
    ===================== */
    .navbar {
        z-index: 1000;
        padding: 18px 0;
    }

    .navbar .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .custom-logo-link {
        position: relative;
        z-index: 1001;
        width: 170px;
    }

    .custom-logo-link .custom-logo {
        width: 100%;
        height: auto;
    }

    /* =====================
       HAMBURGER
    ===================== */
    .hamburger {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        cursor: pointer;
        position: absolute;
        z-index: 1001;
        right: 16px;
    }

    .hamburger span {
        width: 28px;
        height: 2px;
        margin: 0;
        background: var(--color-white);
        transition: all 0.3s ease;
    }

    .no-hero .hamburger span {
        background: var(--color-primary);
    }

    .navbar.sticky .hamburger span {
        background: var(--color-primary);
    }

    .no-hero.navbar.sticky .hamburger span {
        background: var(--color-secondary);
    }

    .hamburger.open span {
        background: #111;
    }

    /*.hamburger.open span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .hamburger.open span:nth-child(2) {
        opacity: 0;
    }*/

    .hamburger.open span {
        position: absolute;
        right: 0;
    }

    .hamburger.open span:nth-child(1) {
            transform: rotate(45deg);
            width: 30px;
            top: 5px;
    }
    .hamburger.open span:nth-child(2) {
        display: none;
    }
    .hamburger.open span:nth-child(3) {
        transform: rotate(-45deg);
        width: 30px;
        top: 5px;
    }

    /*.hamburger.open span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }*/

    /* =====================
       MOBILE MENU
    ===================== */
    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: #fff;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 18px;
        padding: 80px 20px;
        transition: 0.35s ease;
        z-index: 999;
        overflow-y: auto;
    }

    nav.active {
        right: 0;
                display: flex;
        align-items: center;
        justify-content: center;
    }

    .nav-links {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links a {
        color: #111; /* No token for near-black menu text; keep as-is */
        font-size: 1.375rem; /* No token for 22px; keep as-is */
        font-weight: var(--weight-medium);
        text-decoration: none;
        padding: 8px 0;
        line-height: 100%;
    }


    /*nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 18px;
    }

    .custom-logo-link .custom-logo {
        width: 260px;
    }*/

    .content h1 {
        font-size: var(--font-3xl);
    }

    /*.navbar .custom-logo-link svg:last-child {
        margin-left: 5px;
    }*/

    .navbar .custom-logo-link svg:last-child {
        margin-top: 4px;
    }

    .rotating-text {
        width: 100%;
        min-height: 300px;
    }

    .item,
    .credit {
        font-size: var(--font-3xl);
        line-height: 58px;
    }

    .item:nth-child(2) {
        top: 60px;
    }

    .item:nth-child(3) {
        top: 120px;
    }

    .item:nth-child(4) {
        top: 180px;
    }

    .replay {
        right: 30px;
        bottom: 50px;
    }
        .cs-sec2,
        .cs-sec2 {
            padding: 120px 0
        }
    .global-btn-icon-wrapper {
        width: auto !important;
    }
    .global-btn:hover .arrow-line {
        transform: none !important;
    }

    .global-btn:hover .arrow-head {
        transform: none !important;
    }

    .global-btn:hover .global-btn-icon {
        width: 34px !important;
    }

    .global-btn:hover .global-btn-icon-arrow-line {
        width: 10px !important;
    }

    .global-btn:hover .global-btn-icon-arrow {
        right: 10px !important;
    }
    .single-news-insights .news-insights {
        padding: 100px 1rem 150px;
    }
    img {
        height: auto;
    }
    .prefooter .global-btn {
        left: 0 !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        text-align: center !important;
    }
    .global-btn {
        left: 0 !important;
    }
    .error-404 {
        height: auto;
    }
}

/* =========================
   MOBILE
========================= */
@media (max-width: 768px) {
    section {
        padding-top: 80px !important;
        padding-bottom: 80px !important;
    }

    p {
        line-height: var(--line-sm) !important;
    }
    .prefooter .global-btn {
        left: 0;
    }
    .cs-sec2,.cs-sec2{
        padding:80px 0
    }
    .hero {
        min-height: 100vh;
    }
.inner-hero .hero-wrap .p-txt,.inner-hero .hero-wrap{max-width: 100%;}
                .inner-hero {
                    min-height: 450px;
                }
         .inner-hero .hero-wrap {
             padding-bottom: 80px;
         }
    /* =====================
       CONTENT
    ===================== */
    .content {
        z-index: 2;
        padding: 80px 0 30px;
    }

    .content .container {
        padding: 0 0px;
    }

.content h1 {
        font-size: var(--font-xl);
        margin-bottom: 15px;
    }

    .rotating-text {
        width: 100%;
        min-height: 180px;
        overflow: hidden;
    }

    .item,
    .credit {
        font-size: var(--font-lg);
        line-height: 24px;
    }

    .item:nth-child(1) {
        top: 0;
    }

    .item:nth-child(2) {
        top: 40px;
    }

    .item:nth-child(3) {
        top: 80px;
    }

    .item:nth-child(4) {
        top: 120px;
    }

    /* =====================
       REPLAY
    ===================== */
    .replay {
        right: 20px;
        bottom: 20px;
        z-index: 2;
    }

    .replay img {
        width: 40px;
    }

    .global-btn-icon {
        width: 34px;
        height: 34px;
    }
.error-404 {
    padding: 150px 0px 80px !important;
    min-height: 550px;
    height: auto;
}
    /*.global-btn:hover .global-btn-icon {
        width: 86px;
    }

    .global-btn:hover .global-btn-icon-arrow-line {
        width: 54px;
    }

    .global-btn:hover .global-btn-icon-arrow {
        right: 50px;
    }*/
}

/* =========================
   SMALL DEVICES
========================= */
@media (max-width: 480px) {
    /* .container {
        padding: 0 16px;
    } */
    .inner-hero {
        min-height: 500px;
    }
.custom-logo-link {
        width: 150px;
    }

.content h1 {
        font-size: 1.75rem; /* No token for 28px; keep as-is */
    }

    .item,
    .credit {
        font-size: var(--font-lg);
        line-height: 32px;
    }

    .item:nth-child(2) {
        top: 40px;
    }

    .item:nth-child(3) {
        top: 80px;
    }

    .item:nth-child(4) {
        top: 120px;
    }

    .credit {
        top: 100px;
    }
}

/* =========================
   FOOTER
========================= */

.footer {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 127px 0;
    color: var(--color-white);
    background: #0a152b;
}

/*.footer .container {
    max-width: 1240px;
}*/

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
}

/* =========================
   RESET
========================= */

.footer ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer li {
    margin: 0;
    padding: 0;
}

/* =========================
   LEFT COLUMN
========================= */

.footer-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    max-width: 425px;
}

/* =========================
   LOGO
========================= */

.footer-logo img {
    width: auto;
}

/* =========================
   TOP LINKS
========================= */

.footer-top-links {
    display: flex;
    align-items: center;
    gap: 14px;
    font-family: "Poppins", sans-serif;
    font-size: 1.0625rem;
    font-weight: var(--weight-medium);
    line-height: 100%;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.footer-top-links li {
    display: flex;
    align-items: center;
}

.footer-top-links a {
    color: var(--color-white);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-top-links a:hover {
    opacity: 0.7;
}

.footer-divider {
    color: rgba(255, 255, 255, 0.6);
    font-weight: var(--weight-medium);
}

/* =========================
   EMAIL
========================= */

.footer-email {
    font-family: var(--font-primary);
    font-size: 1.0625rem;
    font-weight: var(--weight-medium);
    line-height: 100%;
    letter-spacing: 0.13em;
    /* text-transform: uppercase; */
    text-transform: lowercase;
    text-decoration: none;
    color: #1f9fee;
}
/* =========================
   COPYRIGHT
========================= */

.footer-copyright,
.footer-regulated {
    font-family: "Poppins", sans-serif;
    font-size: 0.9375rem;
    font-weight: 400;
    line-height: 100%;
    letter-spacing: -0.02em;
    color: var(--color-white);
}

.footer-email {
    margin-top: 70px;
    margin-bottom: 10px;
}

.footer-copyright {
    margin-top: 0px;
}

/* =========================
   LEGAL LINKS
========================= */

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
}

.footer-legal a {
    font-family: "Poppins", sans-serif;
    font-size: 0.9375rem;
    font-weight: 400;
    line-height: 100%;
    letter-spacing: -0.02em;
    text-decoration: underline;
    color: var(--color-white);
    transition: opacity 0.3s ease;
}

.footer-legal a:hover {
    opacity: 0.7;
}

/* =========================
   FOOTER LINKS
========================= */

.footer-links {
    display: flex;
    gap: 90px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.footer-col li {
    width: 100%;
}

.footer-col a {
    font-family: var(--font-primary);
    font-size: 1.25rem;
    font-weight: var(--weight-normal);
    line-height: 100%;
    text-transform: capitalize;
    text-decoration: none;
    color: var(--color-white);
    transition: opacity 0.3s ease;
}

.footer-col a:hover {
    opacity: 0.7;
}

/* =========================
   LABEL
========================= */

.footer-label {
    font-family: var(--font-primary);
    font-size: 1.0625rem;
    font-weight: var(--weight-normal);
    line-height: 20px;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: var(--color-white);
    opacity: 0.7;
    margin-bottom: 14px;
}
@media (max-width: 1400px) {
.prefooter {
    padding: 150px 0px 150px;
}
}

/* =========================
   TABLET
========================= */

@media (max-width: 992px) {
    /*.footer-container {
        flex-direction: column;
        gap: 40px;
    }*/

    .footer-links {
        gap: 40px;
    }
  .prefooter {
        padding: 120px 0px 120px;
    }
    .footer-container {
        flex-direction: row;
        gap: 25px;
    }
    .footer-left {
        max-width: 400px;
    }
}

/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {
    .footer {
        padding: 50px 0;
    }

    .footer-logo img {
        width: 180px;
    }

    .footer-links {
        flex-direction: row;
        gap: 40px;
    }

    .footer-col ul {
        gap: 20px;
    }

    .footer-col a {
        font-size: var(--font-md);
    }
        .prefooter {
            padding: 80px 0px 80px;
        }
    .footer-legal {
       order: 6;
        gap: 12px;
        margin: 0;
    }
     .footer-container {
         display: flex;
        flex-direction: column;
        gap: 15px;
    }
    .footer-col {
        gap: 10px;
    }
    /*
     * Make the contents of footer-left participate
     * directly in the mobile flex layout.
     */
    .footer-left {
        display: contents;
    }

    /* Logo */
    .footer-logo {
        order: 1;
    }

    .footer-email {
        margin-top: 30px;
    }

    .footer-email, .footer-copyright,.footer-regulated {
        order: 6;
    }

    /* Main footer links */
    .footer-links {
        order: 5;
        flex-direction: row;
        gap: 40px;
        margin-top: 30px;
    }
}


@media only screen and (max-width: 768px) and (orientation: landscape) {
   /* nav {
         height: 100dvh !important;
        max-height: 100dvh !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
    }*/
    .nav-links a {
        font-size: 14px !important;
        line-height: 0% !important;
        padding: 0 !important;
    }
    .nav-links {
        gap:2px !important;
    }
    .footer-container {
        flex-direction: column;
    }
}

.error404 .navbar .custom-logo-link svg:last-child path {
    fill: #1F9FEE;
}

.error404 .navbar .nav-links a {
    color: var(--color-secondary);
}

.error404 .navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
