/* ================================
   FONTS
================================ */
@font-face {
    font-family: "Riddim-UltraBlack";
    src: url("https://www.cwc.com/fonts/Riddim-UltraBlack.woff") format("woff"),
        url("https://www.cwc.com/fonts/Riddim-UltraBlack.ttf") format("truetype");
    font-weight: 900;
}

@font-face {
    font-family: "Barlow-Regular";
    src: url("https://www.cwc.com/fonts/Barlow-Regular.ttf") format("truetype");
    font-weight: 400;
}

/* ================================
   RESET & BASE
================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    overflow-x: hidden;
    font-family: 'Barlow-Regular', sans-serif;
    background: #F5F5F5;
    color: #3a3a3a;
    margin-top: -8px !important;
}

/* ================================
   HEADER
================================ */
.main-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 90%;
    z-index: 1000;
    background: transparent;
    padding: 20px 0;
    transition: background 0.3s ease;
}




@media (max-width: 768px) {

    /* Default hidden state */
    #headerNav {
        position: fixed;
        top: 0;
        right: 0;
        width: 75%;
        height: 65%;
        background: #FD5F00B2;

        transform: translateX(100%);
        opacity: 0;
        visibility: hidden;

        transition: transform 0.4s ease, opacity 0.3s ease;
        z-index: 999;
    }

    /* When menu is open */
    #headerNav.active {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
    }

    .main-header {
        width: 100% !important;
    }
}

.header-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.logo {
    flex-shrink: 0;
}

.liberty-logo {
    width: 150px;
    height: auto;
}

/* ================================
   NAVIGATION
================================ */
.header-container {
    flex: 0 0 auto;
    max-width: 600px;
    border-radius: 35px;
    padding: 6px 8px;
}

.header-row {
    background: #FD5F00B2;
    border-radius: 25px;
    padding: 4px 8px;
    display: flex;
    align-items: center;
    gap: 0;
}

.nav-item {
    position: relative;


    background: transparent;
    color: white;
    border: none;

    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    font-family: 'Barlow-Regular';
}

.nav-item:not(:last-of-type)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);

    height: 16px;
    width: 1px;
    background: rgba(255, 255, 255, 0.3);

    transition: opacity 0.3s ease;
}

.nav-item:last-of-type {
    border-right: none;
}

.nav-item:hover {
    background: #fff;
    color: #FD5F00;
    border-radius: 20px;
    margin-left: -5px;
}


.nav-item:hover::after {
    opacity: 0;
}

/*  Hide divider of NEXT item */
.nav-item:hover+.nav-item::after {
    opacity: 0;
}

.search-btn {
    background: transparent;
    border: none;
    color: white;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 4px;
    transition: all 0.3s ease;
}

.search-btn:hover {
    background: rgba(255, 255, 255, 0.15);
}

.search-icon {
    width: 20px;
    height: 20px;
}

/* ================================
   SEARCH BAR
================================ */
.search-bar {
    background: #FD5F00B2;
    border-radius: 25px;
    padding: 8px 15px;
    display: none;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
}

.search-bar--active {
    display: flex;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.search-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    outline: none;
    color: white;
    padding: 10px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-family: 'Barlow-Regular';
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.close-search-btn {
    background: transparent;
    border: none;
    color: white;
    cursor: pointer;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-search-btn:hover {
    background: rgba(255, 255, 255, 0.15);
}

.close-search-btn svg {
    width: 18px;
    height: 18px;
}

/* ================================
   HAMBURGER MENU
================================ */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: #FD5F00;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 1px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(9px, -7px);
}

@media (max-width: 992px) {
    .header-wrapper {
        padding: 0 30px;
    }

    .nav-item {
        padding: 8px 15px;
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .header-row {
        flex-direction: column;
        background: transparent;
        padding: 0;
        gap: 0;
    }


    .nav-item {
        width: 100%;
        text-align: left;
        padding: 15px 20px;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 0;
        font-size: 16px;
    }

    .nav-item:hover {
        background: rgba(253, 95, 0, 0.7);
        border-radius: 8px;
        color: white;
    }

    .search-btn {
        width: 100%;
        justify-content: flex-start;
        padding: 15px 20px;
        margin-left: 0;
        border-radius: 0;
    }

    .search-btn:hover {
        background: rgba(253, 95, 0, 0.3);
        border-radius: 8px;
    }

    .search-bar {
        margin-top: 15px;
        background: rgba(253, 95, 0, 0.5);
    }

    .liberty-logo {
        width: 120px;
    }


}

@media (max-width: 480px) {
    .liberty-logo {
        width: 100px;
    }
}

/* ================================
   HERO BANNER
================================ */
.hero-banner {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    background-image: url('https://lla-cms-prod.directus.app/assets/efe29df1-72d2-48e0-8ba4-eb1653134064');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    color: #fff;
    overflow: hidden;
}

.overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.1));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    margin-left: 10%;
    margin-top: 5%;
    max-width: 800px;
}

.hero-content h1 {
    font-size: 85px;
    font-weight: 800;
    line-height: 0.95;
    margin-bottom: 20px;
}

.light-text {
    color: #F3EFEA;
    font-weight: 600;
    font-family: 'Riddim-UltraBlack';
}

.orange-text {
    color: #FD5F00;
    font-weight: 900;
    font-family: 'Riddim-UltraBlack';
}

.hero-desc {
    font-size: 26px;
    line-height: 1.4;
    font-weight: 400;
    max-width: 660px;
    margin-top: 20px;
    font-family: 'Barlow-Regular';
}

/* ================================
   STORIES SECTION
================================ */
.stories {
    background: #F5F5F5;
}

.stories__container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 60px 20px;
}

.stories__title {
    text-align: center;
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 60px;
    color: #636363;
    font-family: 'Riddim-UltraBlack';
}

.stories__title span {
    color: #FD5F00;
}

.stories__row {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
    align-items: start;
}

.stories__row--reverse {
    grid-template-columns: 1fr 2fr;
}

.story {
    display: flex;
    flex-direction: column;
}

.story__image {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 16px;
    display: block;
}

.story__content {
    margin-top: 16px;
}

.story__tag {
    display: inline-block;
    background: #EF6623;
    color: #fff;
    font-size: 14px;
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: 500;
    margin-bottom: 12px;
}

.story__heading {
    font-size: 24px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 12px;
    color: #636363;
    font-family: 'Riddim-UltraBlack';
}

.story__text {
    font-size: 16px;
    line-height: 1.7;
    color: #6a6a6a;
    margin-bottom: 14px;
}

.story__link {
    font-size: 14px;
    color: #E52A73;
    text-decoration: none;
    font-weight: 500;
}

.story__link:hover {
    text-decoration: underline;
}

/* ================================
   FADE ANIMATIONS
================================ */
.fade-item {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-item.show {
    opacity: 1;
    transform: translateY(0);
}

/* ================================
   CONTACT SECTION - FIXED
================================ */
.contact-section {
    width: 100%;
    padding: 80px 5% 120px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
    flex-wrap: wrap;
}

.contact-left {
    flex: 1 1 45%;
    /* REMOVED opacity: 0 and transform - this was hiding the section */
}

.contact-heading {
    font-size: 44px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 25px;
    font-family: 'Riddim-UltraBlack';
    color: #636363;
}

.orange {
    color: #FD5F00;
}

.contact-text {
    margin-bottom: 25px;
    font-size: 17px;
    color: #333;
    line-height: 1.6;
}

.contact-bottom {
    margin-top: 30px;
    font-size: 20px;
    font-weight: 600;
}

.open-roles {
    color: #FD5F00;
    font-size: 16px;
    text-decoration: none;
    font-weight: 600;
}

.open-roles:hover {
    text-decoration: underline;
}

.contact-form-container {
    flex: 1 1 45%;
    background: #636363;
    padding: 40px;
    border-radius: 18px;
    color: white;
    /* REMOVED opacity: 0 and transform - this was hiding the section */
}

.contact-form-title {
    font-size: 14px;
    margin-bottom: 10px;
    font-family: 'Riddim-UltraBlack';
}

.contact-form-heading {
    font-size: 28px;
    line-height: 1.3;
    margin-bottom: 30px;
    font-weight: 700;
    font-family: 'Riddim-UltraBlack';
}

.contact-form-container input::placeholder,
.contact-form-container textarea::placeholder {
    color: #FFF;
    opacity: 1;
}

.form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

input,
select,
textarea {
    width: 100%;
    padding: 14px 16px;
    border-radius: 8px;
    border: none;
    font-size: 15px;
    background: #838383;
    outline: none;
    color: #ffffff;
    font-family: 'Barlow-Regular';
}

textarea {
    height: 120px;
    resize: none;
    margin-bottom: 20px;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    background: white;
    padding: 12px 22px;
    border-radius: 40px;
    color: #FD5F00;
    font-weight: 600;
    font-size: 15px;
    border: none;
    cursor: pointer;
    gap: 10px;
    font-family: 'Barlow-Regular';
    transition: all 0.3s ease;
}

.contact-btn:hover {
    background: #FD5F00;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(239, 102, 35, 0.35);
}

.contact-btn:hover .btn-arrow {
    background: #ffffff;
    color: #FD5F00;
}

.btn-arrow {
    background: #FF6A2B;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ================================
   RESPONSIVE
================================ */
@media (max-width: 1200px) {
    .hero-content h1 {
        font-size: 70px;
    }
}

@media (max-width: 992px) {
    .header-wrapper {
        padding: 0 30px;
    }

    .nav-item {
        padding: 8px 15px;
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .header-container {
        position: absolute;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: linear-gradient(135deg, rgba(253, 95, 0, 0.7) 0% 100%);
        padding: 80px 20px 20px;
        transition: right 0.4s ease;
        max-width: none;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
    }

    .header-container.active {
        right: 0;
        height: 50vh;
    }

    .header-row {
        flex-direction: column;
        background: transparent;
        padding: 0;
        gap: 0;
    }

    .nav-item {
        width: 100%;
        text-align: left;
        padding: 15px 20px;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 0;
        font-size: 16px;
    }

    .nav-item:hover {
        background: rgba(253, 95, 0, 0.7);
        border-radius: 8px;
        color: white;
    }

    .search-btn {
        width: 100%;
        justify-content: flex-start;
        padding: 15px 20px;
        margin-left: 0;
        border-radius: 0;
    }

    .search-btn:hover {
        background: rgba(253, 95, 0, 0.3);
        border-radius: 8px;
    }

    .search-bar {
        margin-top: 15px;
        background: rgba(253, 95, 0, 0.5);
    }

    .liberty-logo {
        width: 120px;
    }

    .hero-banner {
        height: auto;
        padding: 120px 30px 80px;
    }

    .hero-content {
        margin-left: 0;
    }

    .hero-content h1 {
        font-size: 50px;
    }

    .hero-desc {
        font-size: 20px;
    }

    .stories__row,
    .stories__row--reverse {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .story__image {
        height: 250px;
    }

    .stories__title {
        font-size: 30px;
    }

    .story__heading {
        font-size: 20px;
    }

    .contact-section {
        flex-direction: column;
        padding: 60px 5% 80px;
    }

    .contact-left,
    .contact-form-container {
        flex: 1 1 100%;
    }
}

@media (max-width: 480px) {
    .header-wrapper {
        padding: 0 20px;
    }

    .liberty-logo {
        width: 100px;
    }

    .header-container {
        width: 260px;
    }

    .hero-content h1 {
        font-size: 40px;
    }

    .hero-desc {
        font-size: 16px;
    }

    .contact-heading {
        font-size: 32px;
    }

    .contact-form-heading {
        font-size: 24px;
    }
}

.footer {
    background: #636363;
    color: white;
    padding: 40px 0 0 !important;
    /* remove bottom padding */
    position: relative;
}


/* ---------- FOOTER LAYOUT (IMPORTANT FIX) ---------- */
.footer-inner {
    display: flex;
    flex-wrap: nowrap;
    /* forces alignment in one row */
    justify-content: space-between;
    align-items: flex-start;
    /* PERFECT vertical alignment */
    gap: 0px;
    /* removes unwanted spacing */
    max-width: 1300px;
    margin: auto;
}

/* ---------- EACH COLUMN ---------- */
.footer-col {
    min-width: 200px;
    /* consistent width */
}

/* ---------- TITLES ---------- */
.footer-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    /* reduced for cleaner look */
    color: white;
    font-family: 'Barlow-Regular';
}

/* ---------- LINKS ---------- */
.footer-links a {
    display: block;
    color: white;
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 8px;
    /* tighter spacing */
    text-decoration: none;
    font-family: 'Barlow-Regular';
}

.footer-links a:hover {
    opacity: 1;
}

/* ---------- EMAIL (Styled as requested) ---------- */
.email {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 14px;
    color: white;
    opacity: 1;
    display: inline-block;
    font-family: 'Barlow-Regular';
}

/* ---------- SOCIAL ICONS ---------- */
.social-icons {
    display: flex;
    gap: 14px;

}

/* ---------- BIG BACKGROUND ÃƒÂ¢Ã¢â€šÂ¬Ã…â€œLIBERTYÃƒÂ¢Ã¢â€šÂ¬Ã‚Â TEXT ---------- */
.footer-bg-text {
    position: absolute;
    bottom: 40px;
    /* perfect centered position */
    left: 50%;
    transform: translateX(-50%);
    font-size: 180px;
    font-weight: 800;
    opacity: 0.12;
    pointer-events: none;
    white-space: nowrap;
}

/* ---------- COPYRIGHT ---------- */
.footer-bottom {
    background: #585858;
    text-align: center;
    padding: 16px 10px;
    font-size: 14px;
    margin-top: 40px;
    font-family: 'Barlow-Regular';
    /* gives clean separation */
}

/* ---------- RESPONSIVE FIXES ---------- */
@media (max-width: 1200px) {
    .footer-inner {
        flex-wrap: wrap;
        /* allow wrapping on mid screens */
        gap: 30px;
    }
}

@media (max-width: 768px) {

    .footer {
        padding: 40px 20px 80px;
    }

    .footer-inner {
        flex-direction: column;
        gap: 25px;
    }

    .footer-col {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        padding-bottom: 80px;
    }

    .footer-bg-text {
        font-size: 95px;
        bottom: 120px;
    }

    .social-icons {
        display: flex;
        gap: 14px;
        justify-content: center;
    }
}