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

/* ===== NAV (shared pattern) ===== */
.main {
    display: flex;
    justify-content: space-between;
    border-radius: 50px;
    width: 84%;
    margin: auto;
    background: #D9D9D9;
}
.sub {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-left: 20px;
}
.sub img {
    height: 30px;
}
.container {
    display: flex;
    width: 60%;
    height: 100%;
}
.container ul {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    list-style: none;
    height: 100%;
    width: 90%;
    box-sizing: content-box;
    margin: 1em 0;
    padding-left: 40px;
}
.container ul li {
    width: 200px;
    text-align: center;
}
.container ul li a {
    position: relative;
    text-decoration: none;
    color: black;
    font-size: 1rem;
    font-weight: 600;
}
.container ul li a:not(.contact-btn)::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #ff4b2b, #ff416c);
    transition: width 0.3s ease;
}
.container ul li a:not(.contact-btn):hover::after {
    width: 100%;
}
.contact-btn {
    display: inline-block;
    padding: 7px 20px;
    border-radius: 50px;
    background: linear-gradient(90deg, #ff4b2b, #ff416c);
    color: white !important;
}

/* ===== SHARED HELPERS ===== */
.gradient-text {
    background: linear-gradient(90deg, #FF5A1F, #FF3D6E);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.label {
    color: #FF5A1F;
    font-weight: 600;
    letter-spacing: 4px;
    font-size: 0.95rem;
}
.label.center {
    text-align: center;
}
.center {
    text-align: center;
}
.btn-solid {
    padding: 14px 28px;
    border: none;
    border-radius: 50px;
    background: linear-gradient(90deg, #FF5A1F, #FF3D6E);
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
}
.btn-solid.light {
    background: white;
    color: #111111;
}
.btn-solid.dark {
    background: #111111;
    color: white;
}
.btn-outline {
    padding: 14px 28px;
    border-radius: 50px;
    border: 1px solid currentColor;
    background: transparent;
    color: inherit;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
}
.btn-link {
    margin-top: 30px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 26px;
    border-radius: 50px;
    border: 1px solid #111111;
    background: transparent;
    color: inherit;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
}
.btn-solid,
.btn-outline,
.btn-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}
.arrow {
    font-size: 1rem;
    line-height: 1;
}

/* ===== HERO ===== */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    background: url("./imgs/home.png") center/cover no-repeat;
}
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.75) 10%, rgba(0,0,0,0.1) 60%);
}
.nav-wrapper {
    position: absolute;
    top: 30px;
    left: 0;
    right: 0;
    z-index: 5;
}
.hero-content {
    position: absolute;
    bottom: 70px;
    left: 80px;
    right: 80px;
    max-width: 700px;
    z-index: 5;
    color: white;
}
.hero-content h1 {
    font-size: 3rem;
    font-weight: 600;
    line-height: 1.2;
}
.hero-content p {
    margin-top: 20px;
    font-size: 1rem;
    color: #e6e6e6;
    max-width: 550px;
}
.hero-buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}
.hero-buttons .btn-outline {
    color: white;
}

/* ===== WHO WE ARE ===== */
.who-section {
    width: 84%;
    margin: 100px auto;
}
.who-card {
    position: relative;
    overflow: hidden;
    background: #E9E9EC;
    border-radius: 32px;
    display: flex;
    align-items: flex-start;
    gap: 70px;
    padding: 70px 64px;
}
.who-left,
.who-right {
    position: relative;
    z-index: 1;
    flex: 1;
    min-width: 0;
}
.who-left h2 {
    font-size: 2.35rem;
    font-weight: 700;
    line-height: 1.28;
    margin-top: 14px;
}
.who-left .btn-link {
    margin-top: 34px;
}
.who-right {
    padding-top: 2px;
}
.who-text {
    color: #444444;
    line-height: 1.75;
}
.who-text + .who-text {
    margin-top: 22px;
}

/* decorative brandmark watermark — the RELYCO "CO" mark, scaled up */
.who-decor {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
    background-image: url("./imgs/Big Brandmark 1.png");
    background-repeat: no-repeat;
    background-position: right -80px center;
    background-size: 1000px auto;
}

/* ===== DIVISIONS ===== */
.divisions-section {
    width: 84%;
    margin: 100px auto;
}
.divisions-section h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-top: 10px;
}
.division-cards {
    display: flex;
    gap: 30px;
    margin-top: 50px;
}
.division-card {
    flex: 1;
    border-radius: 20px;
    padding: 40px;
}
.division-card.dark {
    background: #111111;
    color: white;
}
.division-card.light {
    background: #EDEDED;
    color: #111111;
}
.division-logo {
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 1px;
}
.division-tag {
    color: #FF5A1F;
    font-weight: 600;
    font-size: 0.85rem;
    margin: 20px 0 8px;
}
.division-card h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
}
.division-card p {
    line-height: 1.6;
    opacity: 0.85;
    margin-bottom: 30px;
}
.division-card .btn-outline {
    border-color: currentColor;
}

/* ===== RELIABILITY ===== */
.reliability-section {
    width: 84%;
    margin: 100px auto;
}
.reliability-text {
    max-width: 550px;
    margin: 15px auto 0;
    text-align: center;
    color: #444444;
    line-height: 1.7;
}
.reliability-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 0;
    row-gap: 0;
    margin-top: 50px;
}
.reliability-grid::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 1px;
    background: #e6e6e6;
}
.reliability-grid::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 1px;
    background: #e6e6e6;
}
.reliability-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 56px 70px;
}
.reliability-head {
    position: relative;
    display: inline-flex;
    margin-bottom: 30px;
}
.reliability-number {
    position: absolute;
    right: calc(100% + 22px);
    top: 50%;
    transform: translateY(-50%);
    font-size: 2.5rem;
    font-weight: 400;
    color: #111111;
    line-height: 1;
    white-space: nowrap;
}
.icon-circle {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FF5A1F, #FF3D6E);
    display: flex;
    align-items: center;
    justify-content: center;
}
.icon-circle img {
    width: 26px;
    height: 26px;
    filter: brightness(0) invert(1);
}
.icon-circle.outline {
    background: transparent;
    border: 1px solid #444444;
}
.icon-circle.outline img {
    filter: none;
    opacity: 0.8;
}
.reliability-head .icon-circle {
    width: 76px;
    height: 76px;
}
.reliability-head .icon-circle img {
    width: 32px;
    height: 32px;
}
.reliability-item h4 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
}
.reliability-item p {
    max-width: 260px;
    color: #555555;
    line-height: 1.6;
}

/* ===== VISION / MISSION ===== */
.vision-mission-section {
    width: 100%;
    margin: 100px 0;
    padding: 0;
    background: #111111;
}
.vm-inner {
    width: 84%;
    margin: 0 auto;
    display: flex;
    align-items: stretch;
    padding: 80px 0;
    gap: 60px;
}
.vm-item {
    flex: 1;
    color: white;
    text-align: center;
}
.vm-item .icon-circle {
    margin: 0 auto 20px;
}
.vm-item p:not(.label) {
    margin-top: 15px;
    color: #cccccc;
    line-height: 1.7;
}
.vm-divider {
    width: 1px;
    background: #333333;
}

/* ===== BUILT AROUND OUR CLIENTS ===== */
.clients-section {
    width: 84%;
    margin: 100px auto;
}
.clients-text {
    max-width: 600px;
    margin: 15px auto 0;
    text-align: center;
    color: #444444;
    line-height: 1.7;
}
.steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    margin-top: 70px;
}
.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 0 0 auto;
    width: 190px;
}
.step-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 2px solid #111111;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 20px;
}
.step h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 8px;
}
.step p {
    font-size: 0.85rem;
    color: #555555;
    line-height: 1.5;
}
.connector {
    position: relative;
    flex: 1 1 auto;
    min-width: 40px;
    height: 2px;
    background: #111111;
    margin-top: 35px;
}
.connector::before,
.connector::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #111111;
    transform: translateY(-50%);
}
.connector::before {
    left: -4px;
}
.connector::after {
    right: -4px;
}
.connector.highlight {
    background: linear-gradient(90deg, #FF5A1F, #FF3D6E);
}
.connector.highlight::before {
    background: #FF5A1F;
}
.connector.highlight::after {
    background: #FF3D6E;
}

/* ===== BUILT TO EVOLVE ===== */
.evolve-section {
    width: 84%;
    margin: 100px auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}
.evolve-text {
    flex: 0 0 340px;
}
.evolve-text p:not(.label) {
    margin: 20px 0 30px;
    color: #444444;
    line-height: 1.7;
}
.evolve-img {
    flex: 1;
    min-width: 0;
}
.evolve-img img {
    width: 100%;
    border-radius: 20px;
    display: block;
}

/* ===== CTA ===== */
.cta-section {
    width: 84%;
    margin: 0 auto 60px;
    padding: 80px 40px;
    border-radius: 20px;
    background: linear-gradient(135deg, #FF5A1F, #FF3D6E);
    text-align: center;
    color: white;
}
.cta-section h2 {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.3;
}
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}
.cta-buttons .btn-outline {
    color: white;
}

/* ===== FOOTER (shared pattern) ===== */
footer {
    width: 100%;
    margin: 60px 0 0;
    padding: 0;
    background: #111111;
    color: #ffffff;
}
.site-footer{
    width: 84%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    height: 50vh;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
.footer-logo{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 400px;
}
.footer-logo img {
    filter: brightness(0) invert(1);
}
.footer-links{

    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}
.footer-content{
    gap: 10px;
    display: flex;
    flex-direction: column;
    width: 300px;
    height: 200px;
    justify-items: center;
    list-style: none;

}
.footer-content h3 {
    color: #ffffff;
}
.footer-content a{
    text-decoration: none;
    color: rgba(255, 255, 255, 0.75);
}
.bottom{
    width: 84%;
    margin: 0 auto;
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    color: rgba(255, 255, 255, 0.6);
}
.right{

    display: flex;
    gap: 50px;
    width: 400px;
    justify-content: center;
    align-items: center;
}
.left{
    width: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ===== RESPONSIVE NAV ===== */
.nav-toggle {
    display: none;
}
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    margin-right: 15px;
    cursor: pointer;
}
.hamburger span {
    display: block;
    height: 2px;
    width: 100%;
    background: #111111;
    border-radius: 2px;
}
@media (max-width: 860px) {
    .main {
        position: relative;
        flex-wrap: wrap;
    }
    .hamburger {
        display: flex;
    }
    .container {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        margin-top: 10px;
        width: 100%;
        height: auto;
        background: #D9D9D9;
        border-radius: 20px;
        z-index: 30;
    }
    .nav-toggle:checked ~ .container {
        display: block;
    }
    .container ul {
        flex-direction: column;
        width: 100%;
        height: auto;
        gap: 15px;
        padding: 20px;
        margin: 0;
        box-sizing: border-box;
    }
    .container ul li {
        width: 100%;
        text-align: center;
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .nav-wrapper {
        z-index: 50;
    }
    .hero-content {
        left: 30px;
        right: 30px;
    }
    .hero-content h1 {
        font-size: 2.2rem;
    }
    .who-card {
        flex-direction: column;
        gap: 40px;
        padding: 44px 28px;
        border-radius: 24px;
    }
    .who-decor {
        background-size: 560px auto;
        background-position: right -60px center;
    }
    .division-cards {
        flex-direction: column;
    }
    .reliability-grid {
        grid-template-columns: 1fr;
    }
    .reliability-grid::before {
        display: none;
    }
    .reliability-grid::after {
        display: none;
    }
    .reliability-item {
        padding: 36px 20px;
    }
    .reliability-item + .reliability-item {
        border-top: 1px solid #e6e6e6;
    }
    .vm-inner {
        flex-direction: column;
        padding: 50px 0;
    }
    .vm-divider {
        width: 100%;
        height: 1px;
    }
    .steps {
        flex-direction: column;
        align-items: center;
    }
    .connector {
        flex: 0 0 auto;
        width: 2px;
        height: 30px;
        min-width: 0;
        margin: 10px 0;
    }
    .connector::before,
    .connector::after {
        left: 50%;
        top: auto;
        transform: translateX(-50%);
    }
    .connector::before {
        top: -4px;
    }
    .connector::after {
        bottom: -4px;
        right: auto;
    }
    .evolve-section {
        flex-direction: column;
        text-align: center;
    }
    .evolve-text {
        flex: 1 1 auto;
        max-width: 100%;
    }
    .site-footer {
        flex-direction: column;
        height: auto;
        gap: 40px;
        padding: 20px 0;
    }
    .footer-logo {
        width: 100%;
    }
    .footer-links {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }
    .footer-content {
        width: 100%;
        height: auto;
    }
    .bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        padding: 20px 0;
    }
    .left, .right {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }
    .who-section h2,
    .divisions-section h2,
    .cta-section h2 {
        font-size: 1.6rem;
    }
    .hero-buttons,
    .cta-buttons {
        flex-direction: column;
    }
}

/* ===== SCROLL REVEAL ===== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
.reveal-group > .reveal:nth-child(1) { transition-delay: 0s; }
.reveal-group > .reveal:nth-child(2) { transition-delay: 0.08s; }
.reveal-group > .reveal:nth-child(3) { transition-delay: 0.16s; }
.reveal-group > .reveal:nth-child(4) { transition-delay: 0.24s; }
.reveal-group > .reveal:nth-child(5) { transition-delay: 0.32s; }
.reveal-group > .reveal:nth-child(6) { transition-delay: 0.4s; }
@media (prefers-reduced-motion: reduce) {
    .reveal {
        transition: none;
        opacity: 1;
        transform: none;
    }
}

/* ===== SPLIT TITLE REVEAL ===== */
.split-title {
    opacity: 0;
}
.split-title.split-ready {
    opacity: 1;
}
.split-title .split-line {
    display: block;
    overflow: hidden;
    padding-bottom: 0.14em;
    margin-bottom: -0.14em;
}
.split-title .split-line-inner {
    display: block;
    will-change: transform, opacity;
    transform: translateY(105%) rotate(1.5deg);
    transform-origin: left bottom;
    opacity: 0;
    transition: transform 0.85s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s ease;
}
.split-title.center .split-line-inner,
.split-title.split-line-inner.center {
    transform-origin: center bottom;
}
.split-title.split-active .split-line-inner {
    transform: translateY(0) rotate(0deg);
    opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
    .split-title {
        opacity: 1;
    }
    .split-title .split-line-inner {
        transition: none;
        transform: none;
        opacity: 1;
    }
}

/* ===== HERO ENTRANCE ===== */
.hero-content p,
.hero-content .hero-buttons {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero-content p {
    transition-delay: 0.55s;
}
.hero-content .hero-buttons {
    transition-delay: 0.7s;
}
.hero-content.hero-active p,
.hero-content.hero-active .hero-buttons {
    opacity: 1;
    transform: translateY(0);
}
.nav-wrapper {
    opacity: 0;
    transform: translateY(-16px);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-wrapper.hero-active {
    opacity: 1;
    transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
    .hero-content p,
    .hero-content .hero-buttons,
    .nav-wrapper {
        transition: none;
        opacity: 1;
        transform: none;
    }
}

/* ===== HOVER SPLIT TEXT (nav links + buttons) ===== */
.hs {
    display: inline-flex;
}
.hs-col {
    position: relative;
    display: inline-block;
    overflow: hidden;
    height: 1.2em;
    line-height: 1.2em;
    vertical-align: top;
}
.hs-char {
    display: block;
    transition: transform 0.45s cubic-bezier(0.65, 0, 0.35, 1);
}
.hs-bottom {
    position: absolute;
    top: 100%;
    left: 0;
}
a:hover .hs-char,
button:hover .hs-char {
    transform: translateY(-100%);
}
@media (prefers-reduced-motion: reduce) {
    .hs-char {
        transition: none;
    }
    a:hover .hs-char,
    button:hover .hs-char {
        transform: none;
    }
}
