/* =========================================================
   INVESTIGATION NETWORK
   PREMIUM PROFESSIONAL LANDING PAGE
========================================================= */


/* =========================================================
   ROOT VARIABLES
========================================================= */

:root {
    --black: #101010;
    --dark: #171717;
    --dark-2: #0b0b0b;

    --red: #9d1c25;
    --red-dark: #75131a;

    --cream: #f6f5f1;
    --white: #ffffff;

    --gray: #737373;
    --light-gray: #a8a8a8;

    --border: #deddd8;
    --dark-border: #333333;
}


/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;

    font-family: "DM Sans", sans-serif;

    color: var(--black);

    background: var(--cream);

    line-height: 1.6;

    overflow-x: hidden;
}

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

button {
    font-family: inherit;
}

img {
    width: 100%;
    display: block;
}


/* =========================================================
   COMMON CONTAINER
========================================================= */

.container {
    width: min(1180px, 90%);

    margin: 0 auto;
}


/* =========================================================
   COMMON SECTION
========================================================= */

section {
    padding: 120px 0;
}

.section-label {
    display: block;

    color: var(--red);

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 3px;

    margin-bottom: 18px;
}

.section-label.light {
    color: #a8a8a8;
}

h2 {
    margin: 0;

    font-family: "Playfair Display", serif;

    font-size: clamp(42px, 5vw, 65px);

    line-height: 1.05;

    font-weight: 600;

    letter-spacing: -1.5px;
}

h2 span {
    display: block;

    color: var(--red);
}


/* =========================================================
   NAVBAR
========================================================= */

.navbar {
    position: absolute;

    top: 0;
    left: 0;

    width: 100%;

    z-index: 1000;

    background: rgba(8, 8, 8, 0.72);

    border-bottom: 1px solid rgba(255, 255, 255, 0.12);

    backdrop-filter: blur(10px);

    -webkit-backdrop-filter: blur(10px);
}

.nav-container {
    width: min(1280px, 92%);

    height: 88px;

    margin: auto;

    display: flex;

    align-items: center;

    justify-content: space-between;
}


/* =========================================================
   LOGO
========================================================= */






.logo {
    display: flex;

    align-items: center;

    gap: 12px;

    color: white;
}

.logo-icon {
    width: 42px;
    height: 42px;

    display: flex;

    align-items: center;

    justify-content: center;

    background: var(--red);

    color: white;

    font-size: 18px;

    flex-shrink: 0;
}

.logo-text {
    display: flex;

    flex-direction: column;

    line-height: 1;
}

.logo-text strong {
    font-size: 15px;

    font-weight: 700;

    letter-spacing: 2px;
}

.logo-text span {
    margin-top: 5px;

    color: #cfcfcf;

    font-size: 13px;

    letter-spacing: 4px;
}


/* =========================================================
   NAVIGATION
========================================================= */

.nav-menu {
    display: flex;

    align-items: center;

    gap: 34px;
}

.nav-menu a {
    position: relative;

    color: #e7e7e7;

    font-size: 13px;

    font-weight: 500;

    transition: 0.3s ease;
}

.nav-menu a:hover {
    color: white;
}

.nav-menu a.active {
    color: white;
}

.nav-menu a:not(.nav-cta)::after {
    content: "";

    position: absolute;

    left: 0;

    bottom: -8px;

    width: 0;

    height: 1px;

    background: var(--red);

    transition: 0.3s ease;
}

.nav-menu a:not(.nav-cta):hover::after {
    width: 100%;
}


/* =========================================================
   NAV CTA
========================================================= */

.nav-cta {
    padding: 13px 20px;

    border: 1px solid rgba(255, 255, 255, 0.40);

    transition: 0.3s ease;
}

.nav-cta:hover {
    background: var(--red);

    border-color: var(--red);
}

.nav-cta i {
    margin-left: 8px;
}


/* =========================================================
   MOBILE MENU BUTTON
========================================================= */

.menu-btn {
    display: none;

    border: none;

    background: transparent;

    color: white;

    font-size: 23px;

    cursor: pointer;
}


/* =========================================================
   MOBILE MENU
========================================================= */

.mobile-menu {
    position: fixed;

    top: 0;

    right: -100%;

    width: 310px;

    height: 100vh;

    padding: 95px 35px;

    z-index: 2000;

    display: flex;

    flex-direction: column;

    gap: 25px;

    background: #111111;

    transition: right 0.4s ease;
}

.mobile-menu.show {
    right: 0;
}

.mobile-menu a {
    padding-bottom: 14px;

    color: white;

    font-size: 18px;

    border-bottom: 1px solid #292929;
}

.close-menu {
    position: absolute;

    top: 28px;

    right: 28px;

    border: none;

    background: transparent;

    color: white;

    font-size: 25px;

    cursor: pointer;
}


/* =========================================================
   HERO SECTION
========================================================= */

.hero {
    position: relative;

    width: 100%;

    min-height: 760px;

    /*
        PROFESSIONAL HERO IMAGE
    */

    background-image: url(
        "https://images.unsplash.com/photo-1556157382-97eda2d62296?auto=format&fit=crop&w=2200&q=90"
    );

    background-repeat: no-repeat;

    background-size: cover;

    /*
        Desktop image position
    */

    background-position: center center;

    color: white;

    overflow: hidden;
}


/* =========================================================
   HERO OVERLAY
========================================================= */

.hero-overlay {
    position: absolute;

    inset: 0;

    width: 100%;

    height: 100%;

    z-index: 1;

    background:
        linear-gradient(
            90deg,
            rgba(5, 5, 5, 0.97) 0%,
            rgba(5, 5, 5, 0.90) 30%,
            rgba(5, 5, 5, 0.72) 55%,
            rgba(5, 5, 5, 0.45) 78%,
            rgba(5, 5, 5, 0.28) 100%
        );
}


/* =========================================================
   HERO CONTAINER
========================================================= */

.hero-container {
    position: relative;

    z-index: 2;

    width: min(1180px, 90%);

    min-height: 760px;

    margin: 0 auto;

    display: flex;

    align-items: center;

    justify-content: space-between;
}


/* =========================================================
   HERO CONTENT
========================================================= */

.hero-content {
    width: 65%;

    max-width: 720px;

    padding-top: 50px;
}


/* =========================================================
   HERO EYEBROW
========================================================= */

.eyebrow {
    display: flex;

    align-items: center;

    gap: 12px;

    margin-bottom: 25px;

    color: #ddd;

    font-size: 11px;

    font-weight: 600;

    letter-spacing: 3px;
}

.eyebrow span {
    width: 35px;

    height: 1px;

    background: var(--red);

    flex-shrink: 0;
}


/* =========================================================
   HERO TITLE
========================================================= */

.hero h1 {
    margin: 0;

    font-family: "Playfair Display", serif;

    font-size: clamp(70px, 9vw, 125px);

    line-height: 0.88;

    font-weight: 600;

    letter-spacing: -5px;

    color: white;
}

.hero h1 em {
    display: block;

    margin-left: 90px;

    color: #d4d4d4;

    font-style: normal;
}


/* =========================================================
   HERO DESCRIPTION
========================================================= */

.hero-description {
    max-width: 540px;

    margin-top: 38px;

    color: #cfcfcf;

    font-size: 16px;

    line-height: 1.8;
}


/* =========================================================
   HERO BUTTONS
========================================================= */

.hero-buttons {
    display: flex;

    align-items: center;

    gap: 15px;

    margin-top: 35px;
}


/* =========================================================
   PRIMARY BUTTON
========================================================= */

.btn-primary {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 14px;

    padding: 16px 25px;

    background: var(--red);

    color: white;

    font-size: 13px;

    font-weight: 600;

    transition: 0.3s ease;
}

.btn-primary:hover {
    background: var(--red-dark);

    transform: translateY(-2px);
}

.btn-primary i {
    transition: 0.3s ease;
}

.btn-primary:hover i {
    transform: translateX(4px);
}


/* =========================================================
   SECONDARY BUTTON
========================================================= */

.btn-secondary {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 16px 25px;

    border: 1px solid rgba(255, 255, 255, 0.35);

    color: white;

    font-size: 13px;

    transition: 0.3s ease;
}

.btn-secondary:hover {
    background: white;

    color: #111111;

    border-color: white;
}


/* =========================================================
   HERO TRUST
========================================================= */

.hero-trust {
    display: flex;

    flex-wrap: wrap;

    gap: 30px;

    margin-top: 65px;

    padding-top: 22px;

    border-top: 1px solid rgba(255, 255, 255, 0.20);
}

.hero-trust div {
    display: flex;

    align-items: center;

    gap: 9px;

    color: #d5d5d5;

    font-size: 11px;
}

.hero-trust i {
    color: #ddd;
}


/* =========================================================
   HERO SIDE TEXT
========================================================= */

.hero-side {
    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 13px;

    writing-mode: vertical-rl;

    color: #aaa;

    font-size: 10px;

    letter-spacing: 4px;
}

.vertical-line {
    width: 1px;

    height: 90px;

    margin-bottom: 5px;

    background: var(--red);
}


/* =========================================================
   ABOUT
========================================================= */

.about {
    background: var(--cream);
}

.section-heading {
    display: grid;

    grid-template-columns: 1fr 0.7fr;

    gap: 100px;

    align-items: end;

    margin-bottom: 75px;
}

.section-heading p {
    color: var(--gray);

    font-size: 15px;

    line-height: 1.9;
}


/* =========================================================
   ABOUT GRID
========================================================= */

.about-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 80px;

    align-items: center;
}


/* =========================================================
   ABOUT IMAGE
========================================================= */

.about-image {
    position: relative;
}

.about-image img {
    height: 530px;

    object-fit: cover;

    filter: grayscale(100%);

    transition: 0.5s ease;
}

.about-image:hover img {
    filter: grayscale(0%);
}

.about-image::after {
    content: "";

    position: absolute;

    top: 20px;

    left: 20px;

    width: 100%;

    height: 100%;

    border: 1px solid var(--red);

    z-index: -1;
}


/* =========================================================
   EXPERIENCE BADGE
========================================================= */

.image-badge {
    position: absolute;

    right: 0;

    bottom: 0;

    display: flex;

    align-items: center;

    gap: 15px;

    padding: 25px 30px;

    background: var(--red);

    color: white;
}

.image-badge strong {
    font-family: "Playfair Display", serif;

    font-size: 45px;

    line-height: 1;
}

.image-badge span {
    font-size: 11px;

    line-height: 1.4;

    text-transform: uppercase;

    letter-spacing: 1px;
}


/* =========================================================
   ABOUT ITEMS
========================================================= */

.about-content {
    display: flex;

    flex-direction: column;
}

.about-item {
    display: grid;

    grid-template-columns: 60px 1fr;

    gap: 20px;

    padding: 28px 0;

    border-bottom: 1px solid var(--border);
}

.about-number {
    color: var(--red);

    font-size: 13px;

    font-weight: 700;
}

.about-item h3 {
    margin-bottom: 9px;

    font-size: 20px;
}

.about-item p {
    color: var(--gray);

    font-size: 14px;

    line-height: 1.7;
}


/* =========================================================
   SERVICES
========================================================= */

.services {
    background: white;
}

.services-header {
    display: grid;

    grid-template-columns: 1fr 0.65fr;

    gap: 100px;

    align-items: end;

    margin-bottom: 60px;
}

.services-header p {
    color: var(--gray);

    font-size: 15px;

    line-height: 1.9;
}


/* =========================================================
   SERVICES GRID
========================================================= */

.services-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    border-top: 1px solid var(--border);

    border-left: 1px solid var(--border);
}


/* =========================================================
   SERVICE CARD
========================================================= */

.service-card {
    position: relative;

    min-height: 300px;

    padding: 32px;

    background: white;

    border-right: 1px solid var(--border);

    border-bottom: 1px solid var(--border);

    transition:
        background 0.35s ease,
        color 0.35s ease;
}

.service-card:hover {
    background: #161616;

    color: white;
}

.service-top {
    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-bottom: 55px;
}

.service-top span {
    color: #aaa;

    font-size: 11px;
}

.service-top i {
    color: var(--red);

    font-size: 25px;
}

.service-card h3 {
    margin-bottom: 12px;

    font-family: "Playfair Display", serif;

    font-size: 25px;

    line-height: 1.2;
}

.service-card p {
    color: var(--gray);

    font-size: 13px;

    line-height: 1.7;
}

.service-card:hover p {
    color: #aaa;
}


/* =========================================================
   SERVICE LINK
========================================================= */

.service-card a {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    margin-top: 25px;

    color: var(--red);

    font-size: 12px;

    font-weight: 600;
}

.service-card a i {
    transition: 0.3s ease;
}

.service-card a:hover i {
    transform: translateX(5px);
}


/* =========================================================
   PROCESS
========================================================= */

.process {
    background: #171717;

    color: white;
}

.process-heading {
    margin-bottom: 65px;

    text-align: center;
}

.process-heading .section-label {
    color: #aaa;
}


/* =========================================================
   PROCESS GRID
========================================================= */

.process-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);
}

.process-card {
    position: relative;

    min-height: 290px;

    padding: 35px;

    border-left: 1px solid var(--dark-border);
}

.process-card:last-child {
    border-right: 1px solid var(--dark-border);
}

.process-card > span {
    color: #666;

    font-size: 12px;

    letter-spacing: 2px;
}

.process-card i {
    display: block;

    margin: 35px 0 25px;

    color: var(--red);

    font-size: 27px;
}

.process-card h3 {
    margin-bottom: 10px;

    font-size: 19px;
}

.process-card p {
    color: #999;

    font-size: 13px;

    line-height: 1.7;
}


/* =========================================================
   CONTACT / CTA
========================================================= */

.contact {
    position: relative;

    overflow: hidden;

    background: #101010;

    color: white;
}

.contact-bg {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(15, 15, 15, 0.98),
            rgba(15, 15, 15, 0.78)
        ),
        url(
            "https://images.unsplash.com/photo-1516321318423-f06f85e504b3?auto=format&fit=crop&w=1800&q=85"
        )
        center / cover no-repeat;

    opacity: 0.8;
}

.contact .container {
    position: relative;

    z-index: 2;
}

.contact-content {
    max-width: 700px;
}

.contact h2 {
    font-size: clamp(50px, 6vw, 82px);
}

.contact p {
    max-width: 560px;

    margin: 25px 0 35px;

    color: #aaa;

    line-height: 1.8;
}


/* =========================================================
   CONTACT INFORMATION
========================================================= */

.contact-info {
    display: flex;

    gap: 80px;

    margin-top: 100px;

    padding-top: 25px;

    border-top: 1px solid #333;
}

.contact-info div {
    display: flex;

    flex-direction: column;

    gap: 6px;
}

.contact-info span {
    color: #777;

    font-size: 10px;

    letter-spacing: 2px;
}

.contact-info a {
    font-size: 14px;

    transition: 0.3s ease;
}

.contact-info a:hover {
    color: #ddd;
}


/* =========================================================
   FOOTER
========================================================= */

footer {
    background: #0c0c0c;

    color: white;
}

.footer-main {
    display: grid;

    grid-template-columns: 1.5fr 1fr 1fr 1fr;

    gap: 50px;

    padding: 75px 0;
}

.footer-brand p {
    margin-top: 20px;

    color: #777;

    font-size: 13px;
}

.footer-links {
    display: flex;

    flex-direction: column;

    gap: 11px;
}

.footer-links h4 {
    margin-bottom: 10px;

    color: #777;

    font-size: 10px;

    letter-spacing: 2px;
}

.footer-links a {
    color: #aaa;

    font-size: 12px;

    transition: 0.3s ease;
}

.footer-links a:hover {
    color: white;

    transform: translateX(3px);
}


/* =========================================================
   FOOTER BOTTOM
========================================================= */

.footer-bottom {
    border-top: 1px solid #222;
}

.footer-bottom .container {
    min-height: 65px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    color: #666;

    font-size: 10px;
}


/* =========================================================
   FLOATING BUTTON
========================================================= */

.floating-btn {
    position: fixed;

    right: 25px;

    bottom: 25px;

    width: 48px;

    height: 48px;

    z-index: 500;

    display: flex;

    align-items: center;

    justify-content: center;

    background: var(--red);

    color: white;

    transition: 0.3s ease;
}

.floating-btn:hover {
    background: var(--red-dark);

    transform: translateY(-3px);
}


/* =========================================================
   LARGE DESKTOP 1400+
========================================================= */

@media (min-width: 1400px) {

    .hero {
        min-height: 820px;

        /*
            Better crop for large monitors
        */

        background-position: center 28%;
    }

    .hero-container {
        min-height: 820px;

        width: min(1280px, 90%);
    }

    .hero-content {
        max-width: 760px;
    }

}


/* =========================================================
   DESKTOP 1001 - 1399
========================================================= */

@media (min-width: 1001px) and (max-width: 1399px) {

    .hero {
        min-height: 740px;

        background-size: cover;

        background-position: center center;
    }

    .hero-container {
        min-height: 740px;
    }

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {

    .nav-menu {
        gap: 18px;
    }

    .section-heading {
        grid-template-columns: 1fr;

        gap: 25px;
    }

    .services-header {
        grid-template-columns: 1fr;

        gap: 25px;
    }

    .about-grid {
        gap: 45px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-card:nth-child(3) {
        border-top: 1px solid #333;
    }

    .footer-main {
        grid-template-columns: repeat(2, 1fr);
    }

}


/* =========================================================
   MOBILE / TABLET 800
========================================================= */

@media (max-width: 800px) {

    section {
        padding: 80px 0;
    }


    /* Navbar */

    .nav-menu {
        display: none;
    }

    .menu-btn {
        display: block;
    }


    /* Hero */

    .hero {
        min-height: 720px;

        background-position: 65% center;

        background-size: cover;
    }

    .hero-container {
        min-height: 720px;

        align-items: flex-end;

        padding-bottom: 70px;
    }

    .hero-content {
        width: 100%;

        max-width: 100%;
    }

    .hero-side {
        display: none;
    }


    /* Hero title */

    .hero h1 {
        font-size: clamp(65px, 17vw, 100px);

        letter-spacing: -3px;
    }

    .hero h1 em {
        margin-left: 35px;
    }


    /* Hero description */

    .hero-description {
        margin-top: 30px;

        font-size: 14px;
    }


    /* Hero buttons */

    .hero-buttons {
        flex-direction: column;

        align-items: flex-start;
    }


    /* Trust */

    .hero-trust {
        flex-wrap: wrap;

        gap: 15px 25px;

        margin-top: 45px;
    }


    /* About */

    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-image img {
        height: 420px;
    }


    /* Services */

    .services-grid {
        grid-template-columns: 1fr;
    }


    /* Process */

    .process-grid {
        grid-template-columns: 1fr;
    }

    .process-card {
        border-right: 1px solid #333;

        border-bottom: 1px solid #333;
    }

    .process-card:nth-child(3) {
        border-top: none;
    }


    /* Contact */

    .contact-info {
        flex-direction: column;

        gap: 25px;

        margin-top: 60px;
    }

}


/* =========================================================
   MOBILE 600
========================================================= */

@media (max-width: 600px) {

    .container {
        width: 90%;
    }


    /* Navbar */

    .nav-container {
        height: 78px;
    }

    .logo-text strong {
        font-size: 12px;
    }

    .logo-text span {
        font-size: 10px;

        letter-spacing: 3px;
    }

    .logo-icon {
        width: 37px;

        height: 37px;

        font-size: 16px;
    }


    /* Hero */

    .hero {
        min-height: 720px;

        /*
            Mobile crop
        */

        background-position: 68% center;
    }

    .hero-container {
        min-height: 720px;

        padding-bottom: 55px;
    }


    /* Hero title */

    .hero h1 {
        font-size: 65px;

        letter-spacing: -3px;
    }

    .hero h1 em {
        margin-left: 20px;
    }


    /* Buttons */

    .btn-primary,
    .btn-secondary {
        width: 100%;

        justify-content: center;
    }


    /* Trust */

    .hero-trust div {
        font-size: 10px;
    }


    /* Headings */

    h2 {
        font-size: 42px;
    }


    /* About image */

    .about-image img {
        height: 350px;
    }


    /* Experience badge */

    .image-badge {
        padding: 17px 20px;
    }

    .image-badge strong {
        font-size: 35px;
    }


    /* Services */

    .service-card {
        min-height: 270px;
    }


    /* Footer */

    .footer-main {
        grid-template-columns: 1fr;

        gap: 40px;

        padding: 55px 0;
    }

    .footer-bottom .container {
        flex-direction: column;

        align-items: flex-start;

        gap: 8px;

        padding: 20px 0;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 400px) {

    .hero {
        min-height: 700px;

        background-position: 70% center;
    }

    .hero-container {
        min-height: 700px;
    }

    .hero h1 {
        font-size: 58px;
    }

    .eyebrow {
        font-size: 9px;

        letter-spacing: 2px;
    }

    .hero-description {
        font-size: 13px;
    }

    .hero-trust {
        gap: 12px;
    }

    .hero-trust div {
        font-size: 9px;
    }

    .mobile-menu {
        width: 280px;
    }

}


/* =========================================================
   TEXT SELECTION
========================================================= */

::selection {
    background: var(--red);

    color: white;
}