*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html{
    scroll-behavior: smooth;
}



/* HERO LANDING PAGE */

/* Gradient Background */
.hero {
    position: relative;
    width: 100%;
    min-width: 300px;
    overflow: hidden;
    height: 100vh;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(
    -45deg,
    #3e787c,
    #03142f,
    #6ac9cd,
    #e4a200,
    #ab947b,
    #3e787c
);

    background-size: 5000% 5000%;
    animation: gradient-flow 25s ease-in-out infinite;
}

@keyframes gradient-flow {
    0% {
        background-position: 0% 50%;
    }

    25% {
        background-position: 50% 100%;
    }

    50% {
        background-position: 100% 50%;
    }

    75% {
        background-position: 50% 0%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Company Logo */
.hero-content{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 75px;
    padding: 0;
}

.hero-logo{
    display: flex;
}

.hero-logo img{
    width: min(600px, 80vw, 70vh);
    height: auto;
}



/* Hero - Span */
.hero-top-line{
    position: absolute;
    /* top: 100px; */
    top: clamp(30px, calc(0.53px + 9.21vh), 100px);
    left: 0;
    display: block;
    width: 75%;
    height: 3px;
    background-color: rgb(255, 255, 255, 0.5);
    transform: scaleX(0);
    transform-origin: left;
    animation: line-grow 2s ease-out forwards;
}

.hero-bottom-line{
    position: absolute;
    /* bottom: 100px; */
    bottom: clamp(30px, calc(0.53px + 9.21vh), 100px);
    right: 0;
    display: block;
    width: 75%;
    height: 3px;
    background-color: rgb(255, 255, 255, 0.5);
    transform: scaleX(0);
    transform-origin: right;
    animation: line-grow 2s ease-out forwards;
}

@keyframes line-grow {
    from {
        transform: scaleX(0);
    }

    to {
        transform: scaleX(1);
    }
}



/* ABOUT - SECTION 2 */
.section-2 {
    background: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-block: 75px;
    padding-inline: 75px;
}

.about-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
    max-width: 1500px;
    gap: 100px;
}

.text-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
    gap: 20px;
    font-family: "proxima-nova", sans-serif;
}

.text-container h5 {
    color: #3e787c;
}

.text-container h1 {
    color: #03142f;
    font-size: 4rem;
    line-height: 1.25;
}

.text-container p {
    color: #ab947b;
    max-width: 650px;
    line-height: 1.6;
}

.highlight-word {
    position: relative;
    font-style: italic;
}

.highlight-word::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 100%;
    height: 4px;
    background: #e4a200;
}

.img-container {
    flex: 0 1 600px;
    min-width: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.img-container img {
    display: block;
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 15px;
    opacity: 0.85;
    animation: image-float 6s ease-in-out infinite;
}

@keyframes image-float {

    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }

    100% {
        transform: translateY(0);
    }

}

/* SECTION 2 - SCROLL REVEAL */

.section-2 {
    overflow-x: clip;
}

.section-2 .text-container {
    opacity: 0;
    transform: translateX(-100px);
    transition:
        transform 1.2s ease,
        opacity 1.2s ease;
}

.section-2 .img-container {
    opacity: 0;
    transform: translateX(100px);
    transition:
        transform 1.2s ease,
        opacity 1.2s ease;
}

.section-2.reveal .text-container,
.section-2.reveal .img-container {
    opacity: 1;
    transform: translateX(0);
}



/* WHAT WE DO - SECTION 3 */

.section-3 {
    width: 100%;
    min-width: 300px;
    overflow: hidden;
    min-height: 300px;
    padding-block: 75px;
    padding-inline: 75PX;
    background: linear-gradient(
        -45deg,
        #3e787c,
        #03142f,
        #428788,
        #3e787c
    );

    background-size: 5000% 5000%;
    animation: gradient-flow 30s ease-in-out infinite;
}

@keyframes gradient-flow {

    0% {
        background-position: 0% 50%;
    }

    25% {
        background-position: 50% 100%;
    }

    50% {
        background-position: 100% 50%;
    }

    75% {
        background-position: 50% 0%;
    }

    100% {
        background-position: 0% 50%;
    }
}


/* TITLE */

.title-container {
    display: flex;
    flex-direction: column;
    /* gap: 25px; */
    padding-bottom: 30px;
    color: white;
    font-family: "proxima-nova",sans-serif;
}

.title-container h5{
    padding-bottom: 20px;
    color: #ab947b;
}

.title-container h1 {
    font-size: 2rem;
    padding-bottom: 20px;
}


/* SERVICES GRID */

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}


/* SERVICE BOX */

.service-box {
    position: relative;
    min-height: 250px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: white;
    font-family: "proxima-nova", sans-serif;
    background-color: rgba(3, 20, 47, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition:
        transform 0.4s ease,
        background-color 0.4s ease,
        box-shadow 0.4s ease;
}

.service-box:hover {
    transform: scale(1.02);
    background-color: #ab947b;
    z-index: 2;
}


/* SERVICE BOX CONTENT */

.service-box-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 80%;
    gap: 10px;
    text-align: left;
}

.service-box-content h3 {
    color: #e4a200;
}

.service-number {
    color: #6ac9cd;
}


/* SERVICE BOX LINE ANIMATION */

.service-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #eee;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 1s ease;
}

.service-box:hover::before {
    transform: scaleX(1);
}

/* SECTION 3 - SCROLL REVEAL */

.section-3 .title-container {
    opacity: 0;
    transform: translateY(70px);

    transition:
        transform 0.8s ease,
        opacity 0.8s ease;
}

.section-3 .service-box {
    opacity: 0;
    transform: translateY(100px);

    transition:
        transform 0.8s ease,
        opacity 0.8s ease,
        background-color 0.4s ease,
        box-shadow 0.4s ease;
}

.section-3.reveal .title-container {
    opacity: 1;
    transform: translateY(0);
}

.section-3.reveal .service-box {
    opacity: 1;
    transform: translateY(0);
}

.section-3.reveal .service-box:nth-child(1) {
    transition-delay: 0s;
}

.section-3.reveal .service-box:nth-child(2) {
    transition-delay: 0.12s;
}

.section-3.reveal .service-box:nth-child(3) {
    transition-delay: 0.24s;
}

.section-3.reveal .service-box:nth-child(4) {
    transition-delay: 0.36s;
}

.section-3.reveal .service-box:hover {
    transform: scale(1.02);
}



/* WHAT OUR SERVICES MEAN - SECTION 4 */

.section-4 {
    background: #eee;
    padding-block: 75px;
    padding-inline: 25px;
}


/* SERVICE ROW */

.service-detail-row {
    display: flex;
    align-items: center;
    max-width: 1500px;
    margin: 0 auto 35px;
    gap: 100px;
}

.service-detail-row.reverse {
    flex-direction: row-reverse;
}


/* TEXT + IMAGE SIDES */

.service-detail-text,
.service-detail-image {
    flex: 1;
    min-width: 0;
}


/* TEXT */

.service-detail-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    font-family: "proxima-nova", sans-serif;
}

.service-detail-text span {
    color: #e4a200;
}

.service-detail-text h2 {
    color: #03142f;
}

.service-detail-text h3 {
    color: #3e787c;
}

.service-detail-text p {
    max-width: 600px;
    color: #ab947b;
    line-height: 1.6;
}


/* IMAGE CONTAINER */

.service-detail-image {
    display: flex;
    align-items: center;
    justify-content: center;
}


/* OUTER FLIP CARD */

.service-flip-card {
    position: relative;
    width: 75%;
    max-width: 500px;
    aspect-ratio: 1 / 1;
    perspective: 1000px;
}


/* INNER FLIPPING ELEMENT */

.service-flip-inner {
    position: absolute;
    inset: 0;
    transform-style: preserve-3d;
    transition: transform 0.8s ease;
}


/* FLIP ON HOVER */

.service-flip-card:hover .service-flip-inner {
    transform: rotateY(180deg);
}


/* FRONT + BACK */

.service-flip-front,
.service-flip-back {
    position: absolute;
    inset: 0;
    box-sizing: border-box;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: 15px;
    overflow: hidden;
}


/* FRONT */

.service-flip-front {
    transform: rotateY(0deg);
}

.service-flip-front img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
}


/* BACK */

.service-flip-back {
    transform: rotateY(180deg);
    background: #03142f;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px;
    font-family: "proxima-nova", sans-serif;
}


/* BACK TITLE */

.service-flip-back h4 {
    margin: 0 0 25px;
    color: #6ac9cd;
    font-size: 1.5rem;
}


/* BACK LIST */

.service-flip-back ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0;
    padding-left: 20px;
}

.service-mobile-overlay {
    display: none;
    font-family: "proxima-nova", sans-serif;
}

/* SECTION 4 - SCROLL FADE */

.section-4 .service-detail-row {
    opacity: 0.1;

    transition: opacity 1.5s ease;
}

.section-4.reveal .service-detail-row {
    opacity: 1;
}



/* WHO WE WORK WITH - SECTION 5 */

.section-5 {
    background: #eee;
    padding-block: 30px;
    padding-inline: 25px;
}


/* MAIN CONTAINER */

.industries-container {
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
}


/* TITLE */

.industries-title {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
    font-family: "proxima-nova", sans-serif;
}

.industries-title h5 {
    color: #3e787c;
}

.industries-title h1 {
    color: #03142f;
    font-size: 3rem;
}


/* GRID */

.industries-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2px;
    background: rgba(3, 20, 47, 0.15);
}


/* INDIVIDUAL INDUSTRY BOX */

.industry-box {
    background: #eee;
    min-height: 350px;
    padding: 50px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 20px;
    font-family: "proxima-nova", sans-serif;
}


/* NUMBER */

.industry-number {
    color: #e4a200;
    font-size: 0.9rem;
    letter-spacing: 0.2em;
}


/* INDUSTRY TITLE */

.industry-box h2 {
    color: #03142f;
    font-size: 2rem;
}


/* INDUSTRY LIST */

.industry-box ul {
    margin: 0;
    padding-left: 20px;
    color: #3e787c;
    line-height: 1.8;
}


/* DESCRIPTION */

.industry-box p {
    max-width: 550px;
    margin: 0;
    color: #ab947b;
    line-height: 1.6;
}



/* LET'S TALK - SECTION 6 */

.section-6 {
    width: 100%;
    min-height: auto;
    background: #03142f;
    padding-block: 100px;
    padding-inline: 75px;
}


/* MAIN SPLIT LAYOUT */

.contact-container {
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 100px;
}


/* LEFT SIDE */

.contact-left,
.contact-right {
    flex: 1;
    min-width: 0;
}

.contact-left {
    display: flex;
    flex-direction: column;
    gap: 20px;
    font-family: "proxima-nova", sans-serif;
}

.contact-left h5 {
    color: #6ac9cd;
}

.contact-left h2 {
    color: white;
    font-size: 4rem;
    line-height: 1.1;
}

.contact-left p {
    max-width: 600px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}


/* RIGHT SIDE */

.contact-right {
    display: flex;
    flex-direction: column;
}


/* ACCORDION ITEM */

.contact-service {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}


/* ACCORDION HEADING */

.contact-service summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-block: 25px;
    cursor: pointer;
    list-style: none;
}

.contact-service summary::-webkit-details-marker {
    display: none;
}


/* SERVICE TITLE + ICON */

.contact-service-title {
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-service-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: lightseagreen;
}

.contact-service-icon svg {
    width: 100%;
    height: 100%;
}


/* SERVICE NAME */

.contact-service h3 {
    margin: 0;
    color: white;
    font-family: "proxima-nova", sans-serif;
    font-size: 1.1rem;
    letter-spacing: 0.08em;
}


/* PLUS ICON */

.contact-service-plus {
    color: #e4a200;
    font-size: 1.8rem;
    line-height: 1;
    transition: transform 0.3s ease;
}

.contact-service[open] .contact-service-plus {
    transform: rotate(45deg);
}


/* ACCORDION CONTENT */

.contact-service-content {
    padding-bottom: 25px;
}

.contact-service-content p {
    margin: 0;
    max-width: 600px;
    color: rgba(255, 255, 255, 0.7);
    font-family: "proxima-nova", sans-serif;
    line-height: 1.6;
}

/* SECTION 6 - SCROLL REVEAL */

.section-6 {
    overflow-x: clip;
}

.section-6 .contact-left {
    opacity: 0;
    transform: translateX(-100px);

    transition:
        transform 1.2s ease,
        opacity 1.2s ease;
}

.section-6 .contact-right {
    opacity: 0;
    transform: translateX(100px);

    transition:
        transform 1.2s ease,
        opacity 1.2s ease;
}

.section-6.reveal .contact-left,
.section-6.reveal .contact-right {
    opacity: 1;
    transform: translateX(0);
}


/* FOOTER */
.site-footer {
    background: #03142f;
    color: rgba(255, 255, 255, 0.65);

    padding-block: 50px;
    padding-inline: 75px;

    font-family: "proxima-nova", sans-serif;
}

.footer-container {
    max-width: 1500px;
    margin: 0 auto;

    display: flex;
    justify-content: space-between;

    gap: 50px;
}

.footer-brand h3 {
    margin-bottom: 10px;

    color: white;

    letter-spacing: 0.2em;
}

.footer-contact {
    display: flex;
    flex-direction: column;

    gap: 15px;
}

.footer-contact a,
.footer-socials a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;

    transition: color 0.3s ease;
}

.footer-contact a:hover,
.footer-socials a:hover {
    color: #6ac9cd;
}

.footer-socials {
    display: flex;
    gap: 20px;
}

.footer-bottom {
    max-width: 1500px;
    margin: 40px auto 0;

    padding-top: 20px;

    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

@media (max-width: 700px) {

    .site-footer {
        padding-inline: 25px;
    }

    .footer-container {
        flex-direction: column;
    }

}



/* SCROLL */
.hero-scroll-message {
    position: absolute;
    left: 50%;
    bottom: 15px;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    color: rgba(255, 255, 255, 0.6);
    font-family: "proxima-nova", sans-serif;
    font-size: 0.65rem;
    letter-spacing: 0.3em;
    z-index: 5;
    animation: scroll-message-motion 2.5s ease-in-out infinite;
}

.hero-scroll-message svg {
    width: 30px;
    height: 30px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

@keyframes scroll-message-motion {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
        opacity: 0.55;
    }

    50% {
        transform: translateX(-50%) translateY(6px);
        opacity: 1;
    }

}

