* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'instrument sans', sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

body {
    background-color: #f5f7fa;
    font-family: 'Instrument Sans', sans-serif;
    padding-top: 80px;
    box-sizing: border-box;
}

/* HEADER STYLES */

.header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.bottom__bar {
    position: fixed;
    width: 100%;
    top: 0;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    transition: opacity 250ms ease;
}

.bottom__bar__content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;

}

.logo {
    display: flex;
    align-items: center;
    column-gap: 10px;
}

.logo__img {
    height: 50px;

}

.logo__text {
    color: #000;
    font-size: 32px;
    font-weight: 500;
    letter-spacing: -0.5px;

}

.nav {
    padding-right: 40px;
}

.nav__list {
    display: flex;
    align-items: center;
    column-gap: 40px;
}

.nav__item {
    display: flex;
    align-items: center;
}

.nav__link {
    color: rgba(0, 0, 0, 1);
    transition: all 0.2s;
    font-size: 16px;
    
}

.nav__link--button {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font: inherit;
}

.nav__link:hover{
    color: rgba(0, 0, 0, 0.75);
}

.nav .btn {
    color: #fff;
    background-color: #e77e1d;
    padding: 12px 30px;
    font-family: 'Instrument Sans', sans-serif;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s;

}

.nav .btn:hover{
    background-color: #de8129;
}

/* Language Selector */
.language__selector {
    position: relative;
    margin-left: 16px;
    display: flex;
    align-items: center;
}

.language__button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: background-color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
}

.language__button:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.language__icon {
    width: 16px;
    height: 16px;
}

.language__dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    min-width: 140px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    z-index: 1000;
    margin-top: 4px;
}

.language__dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language__option {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    transition: background-color 0.2s;
}

.language__option:hover {
    background-color: #f5f5f5;
}

.language__option:first-child {
    border-radius: 8px 8px 0 0;
}

.language__option:last-child {
    border-radius: 0 0 8px 8px;
}

.language__flag {
    margin-right: 10px;
    font-size: 16px;
}

.language__text {
    font-weight: 500;
}


.hamburger {
    display: none;

}

.bar {
    height: 2px;
    background-color: #000;
    width: 27px;
    margin: 5px 0;
    opacity: 0.8;
    transition: all 0.3s;

}

.scroll-lock {
    overflow: hidden;
}

.nav.is-transitioning {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav.no-transition {
    transition: none !important;
}

.nav--open {
    transform: translateX(0%) !important;

}

.hamburger--open .bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);

}

.hamburger--open .bar:nth-child(2) {
    opacity: 0;

}

.hamburger--open .bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);

}


body.menu-open--mega .bottom__bar { opacity: 0; }

@media only screen and (max-width: 900px) {
    .nav {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        padding: 10px 0 25px;
        transform: translateX(-100%);
        will-change: transform;
        z-index: 999;
        background: rgba(255, 255, 255, 0.8);
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }
    
    .nav::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        z-index: -1;
    }

    .nav__list {
        flex-direction: column;
        row-gap: 24px;
        align-items: center;
    }

    .nav__link {
        font-size: 14px;
    }

    .nav .btn {
        font-size: 14px;
        padding: 10px 20px;

    }

    .hamburger {
        display: block;
        cursor: pointer;

    }
    
}

/* MEGA MENU (top slide-in floating sheet) */

.mega__menu {
    position: fixed;
    inset: 0;
    z-index: 1100;
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, visibility 0s linear .25s; 
}

.mega__menu.is-open { opacity: 1; visibility: visible; transition: opacity .25s ease, visibility 0s linear 0s; }

.mega__menu__close {
    position: absolute;
    top: 18px;
    right: 18px;
    border: none;
    background: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    font-size: 20px;
    cursor: pointer;
    z-index: 2; 
}

.mega__menu__sheet {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: clamp(560px, 80vh, 780px);
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transform: translateY(-100%);
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    overflow: hidden; /* sheet owns its scrolling on mobile */
}

.mega__menu.is-open .mega__menu__sheet { transform: translateY(0); }

.mega__menu__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 30px 60px;
}


@media (min-width: 1000px) {
    .mega__menu__inner {
        padding: 80px 30px 40px; /* was 120/60 */
    }
    .mega__menu__header h2 {
        margin-bottom: 16px; /* was 24 */
    }
    .mega__menu__col__title {
        margin-bottom: 12px; /* was 20 */
    }
    .mega__menu__links {
        gap: 12px; /* was 16 */
    }
}

.mega__menu__header h2 {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #666;
    margin-bottom: 24px;
    opacity: 0;
    transform: translateY(-12px);
    transition: opacity 320ms ease, transform 320ms ease;
    transition-delay: 220ms; 
}
.mega__menu__footer {
    display: flex;
    justify-content: center;
    margin-top: 48px;
}

.mega__menu__overview__btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 32px;
    background: linear-gradient(135deg, #005bff 0%, #0047cc 100%);
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 10px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 320ms ease;
    box-shadow: 0 4px 14px rgba(0, 91, 255, 0.3);
    opacity: 0;
    transform: translateY(-12px);
    transition-delay: 660ms;
}

.mega__menu.is-open .mega__menu__overview__btn {
    opacity: 1;
    transform: translateY(0);
}

.mega__menu__overview__btn:hover {
    opacity: 0.9;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
}


.mega__menu__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 80px;
}

.mega__menu__col__title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(-12px);
    transition: opacity 320ms ease, transform 320ms ease;
}

.mega__menu__links {
    display: grid;
    gap: 16px;
}

.mega__menu__links a {
    color: #000;
    text-decoration: none;
    font-size: 1.05rem;
}

.mega__menu__links a:hover {
    text-decoration: underline;
}

/* Reveal titles when open */
.mega__menu.is-open .mega__menu__header h2,
.mega__menu.is-open .mega__menu__col__title {
    opacity: 1;
    transform: translateY(0);
}


.mega__menu.is-open .mega__menu__col:nth-child(1) .mega__menu__col__title { transition-delay: 280ms; }
.mega__menu.is-open .mega__menu__col:nth-child(2) .mega__menu__col__title { transition-delay: 320ms; }
.mega__menu.is-open .mega__menu__col:nth-child(3) .mega__menu__col__title { transition-delay: 360ms; }
.mega__menu.is-open .mega__menu__col:nth-child(4) .mega__menu__col__title { transition-delay: 400ms; }


.mega__menu__links li {
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 300ms ease, transform 300ms ease;
}

.mega__menu.is-open .mega__menu__links li { opacity: 1; transform: translateY(0); }


.mega__menu.is-open .mega__menu__links li:nth-child(1) { transition-delay: 420ms; }
.mega__menu.is-open .mega__menu__links li:nth-child(2) { transition-delay: 450ms; }
.mega__menu.is-open .mega__menu__links li:nth-child(3) { transition-delay: 480ms; }
.mega__menu.is-open .mega__menu__links li:nth-child(4) { transition-delay: 510ms; }
.mega__menu.is-open .mega__menu__links li:nth-child(5) { transition-delay: 540ms; }
.mega__menu.is-open .mega__menu__links li:nth-child(6) { transition-delay: 570ms; }
.mega__menu.is-open .mega__menu__links li:nth-child(7) { transition-delay: 600ms; }
.mega__menu.is-open .mega__menu__links li:nth-child(8) { transition-delay: 630ms; }


.mega__menu.is-closing .mega__menu__header h2,
.mega__menu.is-closing .mega__menu__col__title {
    transition: opacity 220ms ease, transform 220ms ease;
    transition-delay: 0ms !important;
}

.mega__menu.is-closing .mega__menu__links li {
    transition: opacity 200ms ease, transform 200ms ease;
    transition-delay: 0ms !important;
}



/* Mega menu responsive */
@media (max-width: 1000px) {
    .mega__menu__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 24px;
    }
}

@media (max-width: 560px) {
    .mega__menu__grid {
        grid-template-columns: 1fr;
    }
    /* Give the mega menu more usable space on small screens */
    .mega__menu__sheet {
        height: 100dvh; /* full dynamic viewport height on mobile */
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    .mega__menu__inner {
        padding: 72px 20px 24px; /* tighter padding but more content room */
        max-height: none; /* allow natural height; sheet scrolls */
    }
    .mega__menu__header h2 { margin-bottom: 12px; }
    .mega__menu__col__title { margin-bottom: 10px; }
    .mega__menu__links { gap: 10px; }
    .mega__menu__close {
        top: calc(env(safe-area-inset-top, 0px) + 12px);
        right: calc(env(safe-area-inset-right, 0px) + 12px);
    }
}


/* HERO STYLES */

.hero {
    width: 100%;
    height: 90vh;
    background: 
        linear-gradient(rgba(174, 95, 22, 0.4), rgba(174, 95, 22, 0.4)),
        url('heroabout.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    margin-top: -80px;
}

.hero__content {
    width: 100%;
    height: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 30vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    text-align: center;
    color: #333;
}

.hero__content h1 {
    font-size: 4rem;
    font-weight: 600;
    line-height: 1.2;
    color: white;
    z-index: 10;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.hero__content p {
    font-size: 1.25rem;
    color: #fff;
    max-width: 800px;
    z-index: 10;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.section22 ul {
    list-style-type: disc;
    margin-top: 12px;
}

.section22 ul li {
    line-height: 1.6;
}


/* Language Selector Mobile Responsiveness */
@media (max-width: 900px) {
    .language__selector {
        margin-left: 8px;
    }
    
    .language__button {
        padding: 8px;
    }
    
    /* Hero Responsive */
    .hero__content h1 {
        font-size: 2.5rem;
    }
    
    .hero__content p {
        font-size: 1.1rem;
        padding: 0 20px;
    }
    
    /* Content Section Responsive */
    .intro-text {
        font-size: 20px;
        padding: 0 20px;
        margin-bottom: 60px;
    }
    
    .container {
        padding: 0 30px !important;
    }
    
    .content-section h2 {
        font-size: 36px;
    }
    
    .content-section h3 {
        font-size: 24px;
    }
    
    .content-section p {
        font-size: 16px;
    }
    
    .bullet-list li {
        font-size: 16px;
    }
    
    /* Section2 Responsive */
    .section2wrapper {
        padding: 0 20px;
    }
    
    .section22 {
        padding: 80px 30px;
    }
    
    .section22 h3 {
        font-size: 24px;
    }
    
    .section22 p {
        font-size: 16px;
    }
    
    /* WhyMatters Responsive */
    .whymatters {
        height: auto;
        min-height: 60vh;
        padding: 60px 20px;
    }
    
    .whymatters__content {
        width: 100%;
        max-width: none;
    }
    
    .whymatters h2 {
        font-size: 36px;
        margin-bottom: 16px;
    }
    
    .whymatters p {
        font-size: 16px;
        margin-bottom: 40px;
    }
    
    .whymatterstable h3 {
        font-size: 24px;
        margin-bottom: 16px;
    }
    
    .whymatterstable li {
        height: 60px;
        padding: 0 16px;
        margin-bottom: 16px;
        font-size: 14px;
    }
    
    /* Team Section Responsive */
    .team-section {
        padding: 60px 20px;
    }
    
    .team-section h2 {
        font-size: 36px;
        margin-bottom: 32px;
    }
    
    .team-content p {
        font-size: 16px;
    }
    
    footer .content {
        flex-direction: column;
        gap: 12px;
    }
}

@media (max-width: 560px) {
    /* Hero Mobile */
    .hero__content h1 {
        font-size: 2rem;
    }
    
    .hero__content p {
        font-size: 1rem;
        padding: 0 20px;
    }
    
    /* Content Section Mobile */
    .intro-text {
        font-size: 18px;
        padding: 0 20px;
    }
    
    .container {
        padding: 0 20px !important;
    }
    
    .content-section h2 {
        font-size: 28px;
    }
    
    .content-section h3 {
        font-size: 20px;
    }
    
    .content-section p {
        font-size: 14px;
    }
    
    .bullet-list li {
        font-size: 14px;
        padding-left: 20px;
    }
    
    /* Section2 Mobile */
    .section2wrapper {
        padding: 0 20px;
    }
    
    .section22 {
        padding: 32px 24px;
    }
    
    .section22 h3 {
        font-size: 20px;
    }
    
    .section22 p {
        font-size: 14px;
    }
    
    /* WhyMatters Mobile */
    .whymatters {
        padding: 40px 20px;
    }
    
    .whymatters h2 {
        font-size: 28px;
    }
    
    .whymatters p {
        font-size: 14px;
    }
    
    .whymatterstable h3 {
        font-size: 20px;
    }
    
    .whymatterstable li {
        height: 50px;
        padding: 0 12px;
        font-size: 12px;
    }
    
    /* Team Section Mobile */
    .team-section {
        padding: 40px 20px;
    }
    
    .team-section h2 {
        font-size: 28px;
        margin-bottom: 24px;
    }
    
    .team-content p {
        font-size: 14px;
    }
}

/* CONTENT SECTION STYLES */
.content-section {
    padding: 50px 30px !important;
    display: block !important;
}

.container {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 40px 40px !important;
    display: flex !important;
    flex-direction: column;
    border-radius: 28px;
    box-shadow: 0 4px 15px rgba(231, 126, 29, 0.3);
}

.intro-text {
    font-size: 24px;
    line-height: 1.4;
    color: rgba(0, 0, 0, 0.8);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 80px auto;
    padding: 16px 0;
    text-align: left;
}

.content-section h2 {
    font-size: 48px;
    margin-bottom: 10px;
    margin-top: 20px;
    font-weight: 600;
    color: #000;
    font-family: 'Instrument Sans', sans-serif;
}

.wwbp {
    margin-bottom: 20px;
}

.content-section h3 {
    font-size: 32px;
    font-weight: 600;
    color: #000;
    font-family: 'Instrument Sans', sans-serif;
    margin-bottom: 10px;
}

.content-section p {
    font-size: 18px;
    line-height: 1.6;
    color: rgba(0, 0, 0, 0.75);
    max-width: 800px;
}

.bullet-list {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.bullet-list li {
    font-size: 18px;
    line-height: 1.6;
    color: rgba(0, 0, 0, 0.75);
    padding-left: 24px;
    position: relative;
    margin-bottom: 8px;
}

.bullet-list li::before {
    content: "●";
    color: #e77e1d;
    font-size: 20px;
    position: absolute;
    left: 0;
    top: 0;
}

.closingp {
    margin-bottom: 20px;
}

.section2wrapper {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    padding: 40px 30px;
}

.section22 {
    width: 100%;
    max-width: 1200px;
    background-color: #ebebeb;
    padding: 32px 40px;
    border-radius: 28px;
    margin-bottom: 80px;
}

.whymatters {
    width: 100%;
    background-color: #ebebeb;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 80px 30px;
}

.whymatters__content {
    width: 100%;
    max-width: 1200px;
}

.whymatters__content h2 {
    font-size: 48px;
    margin-bottom: 20px;
    margin-top: 20px;
    font-weight: 600;
    color: #000;
    font-family: 'Instrument Sans', sans-serif;
}

.whymatters__content p {
    margin-bottom: 40px;
}

.whymatterstable {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.whymatterstable li {
    width: 100%;
    height: 80px;
    background: white;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    padding: 0 20px;
    box-sizing: border-box;
    border-radius: 14px;
    font-size: 18px;
}

.workwithus {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 100px 30px;
    min-height: 40vh;
    background-color: BLACK;
    color: white;
}

.workwithus__content {
    max-width: 800px;
}

.workwithus__content h2 {
    text-align: center;
    font-size: 2.8rem;
    font-weight: 600;
    font-family: 'instrument sans', sans-serif;
    margin-bottom: 20px;
}

.workwithus__content p {
    font-size: 1.1rem;
    line-height: 1.5;
    margin-bottom: 40px;
    opacity: 0.8;
}

.workwithus__buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.workwithus__buttons a {
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.workwithus__button--primary {
    color: white;
    background: linear-gradient(180deg, #005bff 0%, #0047cc 100%);
}

.workwithus__button--primary:hover {
    opacity: 0.9;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
}

.workwithus__button--secondary {
    background-color: white;
    color: black;
    border: 1px solid #e0e0e0;
}

.workwithus__button--secondary:hover {
    background-color: #f0f0f0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
/* TEAM SECTION STYLES */
.team-section {
    width: 100%;
    background-color: #ebebeb;
    padding: 80px 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.team-container {
    width: 100%;
    max-width: 1200px;
    text-align: center;
}

.team-section h2 {
    font-size: 48px;
    font-weight: 600;
    color: #000;
    font-family: 'Instrument Sans', sans-serif;
    margin-bottom: 40px;
    line-height: 1.2;
}

.team-content {
    max-width: 900px;
    margin: 0 auto;
}

.team-content p {
    font-size: 18px;
    line-height: 1.6;
    color: rgba(0, 0, 0, 0.75);
    margin-bottom: 8px;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    font-size: 0.9rem;
    color: #999;
    display: flex;
    justify-content: center;
    align-items: center;
}

footer .content{
    width: 100%;
    max-width: 1200px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.section2 {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 40px;
}

.main__text {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.main__text li {
    color: #999;
    font-size: 0.9rem;
    line-height: 1.4;
}

.footermenu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.footermenu li {
    margin: 0;
}

.footermenu a {
    color: #999;
    text-decoration: none;
    font-size: 0.9rem;
    line-height: 1.4;
}

.footermenu a:hover {
    color: #666;
}
