/* =====================================================
   RESET
===================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Manrope", sans-serif;
    color: #173b52;
    background: #f8fbfc;
    line-height: 1.6;
}

img {
    width: 100%;
    display: block;
    object-fit: cover;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea {
    font: inherit;
}

button {
    border: none;
    cursor: pointer;
}


/* =====================================================
   VARIABLES
===================================================== */

:root {

    --dark: #123c56;
    --dark-2: #1c526f;

    --green: #347b9d;
    --green-light: #4d92b2;

    --cream: #f8fbfc;
    --white: #ffffff;

    --muted: #647d8c;
    --border: #dbe7ec;

    --gold: #9bcedb;

    --container: 1240px;

}


/* =====================================================
   GLOBAL
===================================================== */

.container {
    width: min(92%, var(--container));
    margin: auto;
}

.section {
    padding: 110px 0;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2.5px;

    color: rgba(255,255,255,.75);

    margin-bottom: 20px;
}

.eyebrow span {
    width: 28px;
    height: 1px;
    background: var(--gold);
}

.eyebrow.dark {
    color: var(--green);
}

.section-heading {
    max-width: 760px;
}

.section-heading.center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.section-heading h2,
.section-top h2,
.about-content h2,
.contact-info h2,
.cta-container h2 {

    font-family: "Manrope", sans-serif;

    font-size: clamp(36px, 5vw, 60px);

    line-height: 1.08;

    font-weight: 600;

    letter-spacing: -1.5px;

}

h2 em {
    color: var(--green);
    font-style: italic;
}

.section-heading p {
    margin-top: 22px;
    color: var(--muted);
    font-size: 16px;
}


/* =====================================================
   BUTTONS
===================================================== */

.btn {

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 13px;

    padding: 15px 23px;

    font-size: 14px;
    font-weight: 700;

    border-radius: 10px;

    transition: .3s ease;

}

.btn-primary {

    background: var(--green);
    color: white;

}

.btn-primary:hover {

    background: var(--green-light);

    transform: translateY(-2px);

}

.btn-outline {

    color: white;

    border: 1px solid rgba(255,255,255,.4);

}

.btn-outline:hover {

    background: white;
    color: var(--dark);

}

.btn-dark {

    background: var(--dark);
    color: white;

}

.btn-dark:hover {

    background: var(--green);
    transform: translateY(-2px);

}


/* =====================================================
   HEADER
===================================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 18px 0;
    background: transparent;
    transition: 0.3s ease;
}

.header.scrolled {
    padding-top: 12px;
}

.header.scrolled .nav-container {
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.09);
}

.nav-container {
    width: min(94%, 1200px);
    height: 68px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 18px 0 28px;

    background: rgba(255, 255, 255, 0.88);

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    border: 1px solid rgba(255, 255, 255, 0.7);

    border-radius: 40px;

    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.logo {
    display: flex;
    align-items: center;
    gap: 11px;
    color: var(--dark);
}

.logo-mark {
    width: 40px;
    height: 40px;

    display: grid;
    place-items: center;

    border: 1px solid rgba(18, 60, 86, 0.28);

    border-radius: 50%;

    font-family: "Playfair Display", serif;

    font-size: 22px;
}

.logo-text {

    display: flex;

    flex-direction: column;

    line-height: 1;

}

.logo-text strong {
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 3px;

}

.footer-logo .logo-text strong {
    color: white;
}

.logo-text small {
    align-self: center;
    color: var(--green);
    font-family: "Montserrat", sans-serif;
    font-size: 8px;
    font-weight: 500;
    letter-spacing: 5px;
    margin: 5px 0 0 5px;
    opacity: 1;

}

.navbar {

    display: flex;

    align-items: center;

    gap: 34px;

}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.nav-link {
    color: var(--dark);

    font-size: 14px;
    font-weight: 600;

    position: relative;
}

.nav-link::after {

    content: "";

    position: absolute;

    left: 0;
    bottom: -8px;

    width: 0;
    height: 1px;

    background: var(--gold);

    transition: .3s;

}

.nav-link:hover::after,
.nav-link.active::after {

    width: 100%;

}

.nav-cta {
    padding: 12px 20px;

    background: var(--dark);
    color: white;

    border-radius: 30px;

    font-size: 13px;
    font-weight: 700;

    display: flex;
    align-items: center;
    gap: 10px;

    transition: 0.3s ease;
}

.nav-cta:hover {
    background: var(--green);
    transform: translateY(-1px);
}

.menu-toggle {

    display: none;

    background: transparent;

    color: white;

    font-size: 23px;

}


/* =====================================================
   HERO
===================================================== */

.hero {

    min-height: 780px;

    height: 100vh;

    max-height: 950px;

    position: relative;

    display: flex;

    align-items: center;

    background:

        linear-gradient(
            90deg,
            rgba(12, 48, 70, .87) 0%,
            rgba(23, 75, 102, .62) 50%,
            rgba(52, 123, 157, .20) 100%
        ),

        url("images/hero.png") center / cover;

}

.hero::after {

    content: "";

    position: absolute;

    right: 0;
    bottom: 0;
    left: 0;

    height: 52px;

    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath d='M0 61C130 105 265 108 405 61C553 11 665 5 811 45C963 87 1082 97 1215 55C1308 26 1384 25 1440 44V120H0Z' fill='%23f8fbfc'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat;

    pointer-events: none;

    z-index: 1;

}

.hero-container {

    position: relative;

    z-index: 2;

}

.hero-content {

    max-width: 750px;

    padding-top: 70px;

}

.hero h1 {

    font-family: "Manrope", sans-serif;

    font-size: clamp(50px, 7vw, 82px);

    line-height: .98;

    color: white;

    letter-spacing: -3px;

    font-weight: 600;

}

.hero h1 span {

    color: #b4dfe7;

    font-style: italic;

}

.hero-content > p {

    max-width: 610px;

    color: rgba(255,255,255,.78);

    font-size: 18px;

    margin-top: 27px;

}

.hero-buttons {

    display: flex;

    gap: 12px;

    margin-top: 35px;

}

.hero-trust {

    display: flex;

    gap: 45px;

    margin-top: 55px;

    padding-top: 25px;

    border-top: 1px solid rgba(255,255,255,.2);

}

.hero-trust div {

    display: flex;

    flex-direction: column;

}

.hero-trust strong {

    color: white;

    font-size: 15px;

}

.hero-trust span {

    color: rgba(255,255,255,.55);

    font-size: 12px;

    margin-top: 3px;

}

/* =====================================================
   BUSINESS
===================================================== */

.business-section {

    background: var(--cream);

    position: relative;

    z-index: 2;

}

.business-grid {

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 25px;

    margin-top: 70px;

}

.business-card {

    background: white;

    border-radius: 16px;

    overflow: hidden;

    display: grid;

    grid-template-columns: 42% 58%;

    min-height: 270px;

    border: 1px solid var(--border);

    transition: .3s;

}

.business-card:hover {

    transform: translateY(-5px);

    box-shadow: 0 20px 50px rgba(0,0,0,.08);

}

.card-image {

    overflow: hidden;

}

.card-image img {

    height: 100%;

    transition: .6s;

}

.business-card:hover .card-image img {

    transform: scale(1.06);

}

.business-content {

    padding: 35px;

    display: flex;

    flex-direction: column;

    align-items: flex-start;

}

.card-icon {

    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    background: #edf6f8;

    color: var(--green);

    border-radius: 10px;

    margin-bottom: 20px;

}

.business-content h3 {

    font-family: "Manrope", sans-serif;

    font-size: 25px;

    line-height: 1.15;

}

.business-content p {

    color: var(--muted);

    font-size: 14px;

    margin-top: 12px;

}

.business-content a,
.product-info a {

    margin-top: auto;

    color: var(--green);

    font-size: 12px;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 1px;

    display: flex;

    align-items: center;

    gap: 10px;

}

.business-content a i,
.product-info a i {

    transition: .3s;

}

.business-content a:hover i,
.product-info a:hover i {

    transform: translateX(5px);

}


/* =====================================================
   ABOUT
===================================================== */

.about-section {

    background: white;

}

.about-grid {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 100px;

    align-items: center;

}

.about-image {

    position: relative;

    min-height: 650px;

}

.about-image > img {

    height: 650px;

    border-radius: 20px;

}

.about-content .lead {

    font-size: 19px;

    color: #315b71;

    margin-top: 28px;

}

.about-content > p:not(.lead) {

    color: var(--muted);

    font-size: 15px;

    margin-top: 20px;

}

.strength-list {

    margin-top: 35px;

    display: flex;

    flex-direction: column;

    gap: 25px;

}

.strength {

    display: flex;

    gap: 17px;

}

.strength-icon {

    width: 38px;
    height: 38px;

    flex-shrink: 0;

    display: grid;
    place-items: center;

    background: #edf6f8;

    color: var(--green);

    border-radius: 10px;

}

.strength h4 {

    font-size: 15px;

}

.strength p {

    font-size: 13px;

    color: var(--muted);

    margin-top: 3px;

}


/* =====================================================
   PRODUCTS
===================================================== */

.products-section {

    background: #f0f7f9;

}

.section-top {

    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    gap: 50px;

}

.section-top > p {

    max-width: 400px;

    color: var(--muted);

    font-size: 14px;

}

.filter-buttons {

    display: flex;

    gap: 10px;

    margin-top: 45px;

    flex-wrap: wrap;

}

.filter-btn {

    padding: 10px 17px;

    background: transparent;

    border: 1px solid var(--border);

    color: #466b7f;

    font-size: 12px;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 1px;

    border-radius: 999px;

}

.filter-btn.active,
.filter-btn:hover {

    background: var(--green);

    border-color: var(--green);

    color: white;

}

.product-grid {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 22px;

    margin-top: 30px;

}

.product-card {

    background: white;

    border: 1px solid var(--border);

    border-radius: 16px;

    overflow: hidden;

    transition: .3s;

}

.product-card:hover {

    transform: translateY(-5px);

    box-shadow: 0 15px 40px rgba(0,0,0,.07);

}

.product-image {

    height: 230px;

    position: relative;

    overflow: hidden;

}

.product-image img {

    height: 100%;

    transition: .5s;

}

.product-card:hover .product-image img {

    transform: scale(1.06);

}

.product-tag {

    position: absolute;

    top: 15px;
    left: 15px;

    background: var(--dark);

    color: white;

    padding: 6px 9px;

    font-size: 10px;

    letter-spacing: 1.3px;

    font-weight: 700;

    border-radius: 6px;

}

.product-info {

    padding: 23px;

    min-height: 185px;

    display: flex;

    flex-direction: column;

}

.product-info h3 {

    font-family: "Manrope", sans-serif;

    font-size: 21px;

}

.product-info p {

    color: var(--muted);

    font-size: 13px;

    margin-top: 8px;

}

.product-info a {

    margin-top: auto;

}


/* =====================================================
   PROCESS
===================================================== */

.process-section {

    background: var(--dark);

    color: white;

}

.section-heading.light h2 {

    color: white;

}

.section-heading.light p {

    color: rgba(255,255,255,.6);

}

.process-grid {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    margin-top: 70px;

    border-top: 1px solid rgba(255,255,255,.15);

    border-bottom: 1px solid rgba(255,255,255,.15);

    border-radius: 16px;

    overflow: hidden;

}

.process-item {

    padding: 45px 35px;

    position: relative;

    border-right: 1px solid rgba(255,255,255,.15);

}

.process-item:last-child {

    border-right: none;

}

.process-number {

    position: absolute;

    right: 25px;
    top: 25px;

    color: rgba(255,255,255,.2);

    font-family: "Manrope", sans-serif;

    font-size: 22px;

}

.process-icon {

    width: 50px;
    height: 50px;

    display: grid;
    place-items: center;

    border: 1px solid rgba(255,255,255,.25);

    color: var(--gold);

    border-radius: 10px;

    margin-bottom: 30px;

}

.process-item h3 {

    font-family: "Manrope", sans-serif;

    font-size: 23px;

}

.process-item p {

    color: rgba(255,255,255,.55);

    font-size: 13px;

    margin-top: 10px;

}


/* =====================================================
   CTA
===================================================== */

.cta-section {

    background: #e7f3f6;

    padding: 90px 0;

}

.cta-container {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 50px;

}

.cta-container > div {

    max-width: 650px;

}

.cta-container h2 {

    font-size: clamp(36px, 5vw, 56px);

}

.cta-container p {

    color: #557487;

    margin-top: 15px;

}


/* =====================================================
   CONTACT
===================================================== */

.contact-section {

    background: white;

}

.contact-grid {

    display: grid;

    grid-template-columns: .8fr 1.2fr;

    gap: 100px;

}

.contact-info > p {

    color: var(--muted);

    max-width: 500px;

    margin-top: 25px;

}

.contact-details {

    margin-top: 45px;

    display: flex;

    flex-direction: column;

    gap: 25px;

}

.contact-detail {

    display: flex;

    align-items: center;

    gap: 15px;

}

.contact-icon {

    width: 43px;
    height: 43px;

    display: grid;
    place-items: center;

    background: #edf6f8;

    color: var(--green);

    border-radius: 10px;

}

.contact-detail > div:last-child {

    display: flex;

    flex-direction: column;

}

.contact-detail span {

    font-size: 11px;

    text-transform: uppercase;

    letter-spacing: 1px;

    color: #7c94a1;

}

.contact-detail a,
.contact-detail strong {

    font-size: 15px;

    margin-top: 3px;

}

.contact-form-wrapper {

    background: #f3f8fa;

    padding: 45px;

    border-radius: 16px;

}

.form-row {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 18px;

}

.form-group {

    margin-bottom: 22px;

}

.form-group label {

    display: block;

    font-size: 12px;

    font-weight: 700;

    margin-bottom: 8px;

}

.form-group input,
.form-group textarea {

    width: 100%;

    border: 1px solid #d2e2e8;

    background: white;

    padding: 14px 15px;

    outline: none;

    font-size: 14px;

    resize: vertical;

    border-radius: 10px;

}

.form-group input:focus,
.form-group textarea:focus {

    border-color: var(--green);

}

.form-submit {

    width: 100%;

}

.form-note {

    text-align: center;

    color: #768e9b;

    font-size: 11px;

    margin-top: 13px;

}


/* =====================================================
   FOOTER
===================================================== */

.footer {

    background: var(--dark);

    color: white;

    padding: 70px 0 25px;

}

.footer-main {

    display: grid;

    grid-template-columns: 2fr 1fr 1fr 1.4fr;

    gap: 60px;

    padding-bottom: 60px;

    border-bottom: 1px solid rgba(255,255,255,.12);

}

.footer-brand > p {

    color: rgba(255,255,255,.5);

    font-size: 13px;

    max-width: 250px;

    margin-top: 20px;

}

.social-links {

    display: flex;

    gap: 8px;

    margin-top: 25px;

}

.social-links a {

    width: 35px;
    height: 35px;

    display: grid;
    place-items: center;

    border: 1px solid rgba(255,255,255,.2);

    color: rgba(255,255,255,.7);

    font-size: 12px;

    transition: .3s;

    border-radius: 8px;

}

.social-links a:hover {

    background: white;

    color: var(--dark);

}

.footer-column {

    display: flex;

    flex-direction: column;

    gap: 10px;

}

.footer-column h4 {

    font-size: 13px;

    text-transform: uppercase;

    letter-spacing: 1.5px;

    margin-bottom: 10px;

}

.footer-column a,
.footer-column span {

    font-size: 12px;

    color: rgba(255,255,255,.5);

}

.footer-column a:hover {

    color: white;

}

.footer-bottom {

    padding-top: 25px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    color: rgba(255,255,255,.35);

    font-size: 11px;

}

.footer-bottom div {

    display: flex;

    gap: 20px;

}


/* =====================================================
   BACK TO TOP
===================================================== */

.back-top {

    position: fixed;

    right: 25px;
    bottom: 25px;

    width: 45px;
    height: 45px;

    background: var(--green);

    color: white;

    display: grid;
    place-items: center;

    opacity: 0;

    pointer-events: none;

    transform: translateY(15px);

    transition: .3s;

    z-index: 100;

    border-radius: 12px;

}

.back-top.show {

    opacity: 1;

    pointer-events: auto;

    transform: translateY(0);

}


/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 1050px) {

    .navbar {
        gap: 20px;
    }

    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .about-grid {
        gap: 50px;
    }

}


@media (max-width: 850px) {


    .nav-container {
        height: 62px;
        padding: 0 15px 0 20px;
    }

    .header {
        padding: 12px 0;
    }

    .navbar {
        top: 82px;
        border-radius: 20px;
        margin: 0 3%;
        width: 94%;
    }

    .navbar {

        position: fixed;

        top: 88px;
        left: 0;

        width: 100%;

        background: var(--dark);

        padding: 30px;

        flex-direction: column;

        align-items: flex-start;

        gap: 22px;

        transform: translateY(-150%);

        transition: .4s;

    }

    .navbar .nav-link {
        color: white;
    }

    .navbar .nav-link.active,
    .navbar .nav-link:hover {
        color: var(--gold);
    }

    .navbar.open {

        transform: translateY(0);

    }

    .menu-toggle {
        display: block;
        background: transparent;
        color: var(--dark);
        font-size: 23px;
        line-height: 1;
        padding: 8px;
    }

    .business-grid,
    .about-grid,
    .contact-grid {

        grid-template-columns: 1fr;

    }

    .about-image {

        min-height: 500px;

    }

    .about-image > img {

        height: 500px;

    }

    .product-grid {

        grid-template-columns: repeat(2, 1fr);

    }

    .process-grid {

        grid-template-columns: repeat(2, 1fr);

    }

    .process-item:nth-child(2) {

        border-right: none;

    }

    .process-item:nth-child(-n+2) {

        border-bottom: 1px solid rgba(255,255,255,.15);

    }

    .footer-main {

        grid-template-columns: 1fr 1fr;

    }

}


@media (max-width: 600px) {

    .section {

        padding: 75px 0;

    }

    .hero {

        min-height: 700px;

    }

    .hero::after {

        height: 40px;

    }

    .hero h1 {

        font-size: 48px;

        letter-spacing: -2px;

    }

    .hero-content > p {

        font-size: 15px;

    }

    .hero-trust {

        gap: 20px;

        flex-wrap: wrap;

    }

    .business-card {

        grid-template-columns: 1fr;

    }

    .card-image {

        height: 220px;

    }

    .business-content {

        min-height: 270px;

    }

    .section-top {

        flex-direction: column;

        align-items: flex-start;

    }

    .product-grid {

        grid-template-columns: 1fr;

    }

    .process-grid {

        grid-template-columns: 1fr;

    }

    .process-item {

        border-right: none;

        border-bottom: 1px solid rgba(255,255,255,.15);

    }

    .process-item:last-child {

        border-bottom: none;

    }

    .cta-container {

        flex-direction: column;

        align-items: flex-start;

    }

    .contact-form-wrapper {

        padding: 25px;

    }

    .form-row {

        grid-template-columns: 1fr;

        gap: 0;

    }

    .footer-main {

        grid-template-columns: 1fr;

        gap: 35px;

    }

    .footer-bottom {

        flex-direction: column;

        align-items: flex-start;

        gap: 15px;

    }

    .footer-bottom div {

        flex-direction: column;

        gap: 8px;

    }

}
