/* =========================================================
   ZANCLUS DAYA CIPTA
   Technology. Research. Exploration.
   RED & WHITE THEME
   ========================================================= */


/* =========================
   RESET
   ========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: #171717;
    background: #ffffff;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}


/* =========================
   COLORS
   ========================= */

:root {
    --red: #d71920;
    --red-dark: #a90f15;
    --black: #111111;
    --dark: #1a1a1a;
    --gray: #666666;
    --light-gray: #f5f5f5;
    --white: #ffffff;
}


/* =========================
   NAVBAR
   ========================= */

.navbar {
    position: fixed;
    top: 0;
    left: 0;

    width: 100%;
    height: 82px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 6%;

    background: rgba(255, 255, 255, 0.96);

    border-bottom: 1px solid #eeeeee;

    z-index: 1000;
}


/* LOGO */

.logo {
    display: flex;
    align-items: center;
    height: 60px;
}

.logo img {
    display: block;
    width: 75px;
    height: 55px;
    object-fit: contain;
}


/* NAVIGATION */

.navbar nav {
    display: flex;
    gap: 28px;
}

.navbar nav a {
    position: relative;

    font-size: 13px;
    font-weight: 600;

    color: #222;

    transition: 0.3s;
}

.navbar nav a:hover {
    color: var(--red);
}

.navbar nav a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -7px;

    width: 0;
    height: 2px;

    background: var(--red);

    transition: 0.3s;
}

.navbar nav a:hover::after {
    width: 100%;
}


/* =========================
   HERO
   ========================= */

.hero {
    min-height: 100vh;

    display: flex;
    align-items: center;

    position: relative;

    padding: 140px 8% 100px;

    background:
        linear-gradient(
            90deg,
            #ffffff 0%,
            #ffffff 55%,
            #f7f7f7 100%
        );

    overflow: hidden;
}


/* RED DECORATION */

.hero::after {
    content: "";

    position: absolute;

    right: -150px;
    top: 0;

    width: 45%;
    height: 100%;

    background: var(--red);

    clip-path: polygon(
        35% 0,
        100% 0,
        100% 100%,
        0 100%
    );

    opacity: 0.96;

    z-index: 0;
}


.hero-content {
    max-width: 760px;

    position: relative;

    z-index: 2;
}


.eyebrow {
    color: var(--red);

    font-size: 13px;

    font-weight: 700;

    letter-spacing: 4px;

    margin-bottom: 25px;
}


.hero h1 {
    font-size: clamp(55px, 8vw, 110px);

    line-height: 0.95;

    letter-spacing: -4px;

    font-weight: 800;

    color: var(--black);

    margin-bottom: 35px;
}


.hero h1::first-line {
    color: var(--black);
}


.hero-text {
    max-width: 540px;

    font-size: 18px;

    color: #555;

    margin-bottom: 35px;
}


/* =========================
   BUTTON
   ========================= */

.button {
    display: inline-block;

    padding: 15px 30px;

    background: var(--red);

    color: white;

    font-size: 13px;

    font-weight: 700;

    letter-spacing: 1px;

    border: 2px solid var(--red);

    transition: 0.3s;
}

.button:hover {
    background: transparent;

    color: var(--red);
}


/* =========================
   SECTION
   ========================= */

.section {
    padding: 130px 8%;
}


.section-label {
    color: var(--red);

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 3px;

    margin-bottom: 50px;
}


/* =========================
   ABOUT
   ========================= */

.about {
    display: grid;

    grid-template-columns: 25% 75%;

    background: white;
}


.about-content {
    max-width: 850px;
}


.about-content h2 {
    font-size: clamp(38px, 5vw, 70px);

    line-height: 1.05;

    letter-spacing: -2px;

    margin-bottom: 40px;
}


.about-content p {
    max-width: 720px;

    font-size: 18px;

    color: var(--gray);

    margin-bottom: 20px;
}


/* =========================
   THREE PILLARS
   ========================= */

.pillars {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    min-height: 500px;
}


.pillar {
    position: relative;

    padding: 70px 55px;

    display: flex;

    flex-direction: column;

    justify-content: flex-end;

    border-top: 1px solid #ddd;

    transition: 0.4s;
}


.pillar-number {
    position: absolute;

    top: 40px;
    left: 55px;

    font-size: 13px;

    font-weight: 700;

    color: var(--red);
}


.pillar h2 {
    font-size: 45px;

    margin-bottom: 15px;
}


.pillar p {
    color: #555;

    margin-bottom: 15px;
}


.pillar span {
    font-size: 12px;

    color: #888;

    letter-spacing: 1px;
}


/* RESEARCH */

.pillar.research {
    background: white;
}


/* TECHNOLOGY */

.pillar.technology {
    background: var(--black);

    color: white;
}

.pillar.technology p,
.pillar.technology span {
    color: #bbbbbb;
}


/* EXPLORATION */

.pillar.exploration {
    background: var(--red);

    color: white;
}

.pillar.exploration p,
.pillar.exploration span {
    color: #ffe6e6;
}

.pillar.exploration .pillar-number {
    color: white;
}


/* HOVER */

.pillar:hover {
    transform: translateY(-8px);
}


/* =========================
   PROJECTS
   ========================= */

.projects {
    background: #f7f7f7;
}


.projects-header {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 80px;

    margin-bottom: 70px;
}


.projects-header h2 {
    font-size: clamp(40px, 5vw, 70px);

    line-height: 1;

    letter-spacing: -2px;
}


.projects-header p {
    max-width: 550px;

    color: #666;

    font-size: 17px;
}


/* PROJECT GRID */

.project-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 25px;
}


.project-card {
    background: white;

    padding: 40px;

    min-height: 330px;

    border: 1px solid #e4e4e4;

    display: flex;

    flex-direction: column;

    transition: 0.3s;
}


.project-card:hover {
    border-color: var(--red);

    transform: translateY(-8px);

    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}


.project-category {
    font-size: 10px;

    font-weight: 700;

    letter-spacing: 2px;

    color: var(--red);

    margin-bottom: 35px;
}


.project-card h3 {
    font-size: 28px;

    margin-bottom: 20px;
}


.project-card p {
    color: #666;

    font-size: 15px;
}


.project-link {
    margin-top: auto;

    color: var(--red);

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 1px;
}


/* =========================
   DIVE CENTER
   ========================= */

.dive-section {
    min-height: 650px;

    display: flex;

    align-items: center;

    padding: 100px 8%;

    position: relative;

    overflow: hidden;

    background: var(--black);

    color: white;
}


.dive-section::before {
    content: "";

    position: absolute;

    right: -200px;
    top: -200px;

    width: 650px;
    height: 650px;

    border: 2px solid var(--red);

    border-radius: 50%;

    opacity: 0.6;
}


.dive-section::after {
    content: "";

    position: absolute;

    right: 100px;
    bottom: -300px;

    width: 500px;
    height: 500px;

    border: 1px solid white;

    border-radius: 50%;

    opacity: 0.15;
}


.dive-content {
    position: relative;

    z-index: 2;
}


.dive-content h2 {
    font-size: clamp(55px, 8vw, 100px);

    line-height: 0.9;

    letter-spacing: -4px;

    margin-bottom: 30px;
}


.dive-content p {
    color: #bbbbbb;

    font-size: 18px;

    margin-bottom: 35px;
}


.button-light {
    background: white;

    color: var(--black);

    border-color: white;
}


.button-light:hover {
    background: transparent;

    color: white;
}


/* =========================
   CONTACT
   ========================= */

.contact {
    background: white;

    display: grid;

    grid-template-columns: 25% 75%;
}


.contact-content h2 {
    font-size: clamp(50px, 7vw, 90px);

    line-height: 0.95;

    letter-spacing: -3px;

    margin-bottom: 35px;
}


.contact-content p {
    color: #666;

    font-size: 18px;

    margin-bottom: 25px;
}


.contact-email {
    color: var(--red);

    font-size: 22px;

    font-weight: 700;

    border-bottom: 2px solid var(--red);

    padding-bottom: 5px;
}


/* =========================
   FOOTER
   ========================= */

footer {
    padding: 50px 8%;

    background: var(--black);

    color: white;
}


.footer-logo {
    color: var(--red);

    font-weight: 800;

    letter-spacing: 2px;

    margin-bottom: 10px;
}


footer p {
    color: #999;

    font-size: 13px;
}


.copyright {
    margin-top: 30px;

    font-size: 11px;
}


/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 900px) {

    .navbar {
        padding: 0 5%;
    }

    .navbar nav {
        gap: 14px;
    }

    .navbar nav a {
        font-size: 11px;
    }


    .hero {
        padding-left: 6%;
        padding-right: 6%;
    }

    .hero::after {
        opacity: 0.15;
    }


    .about,
    .contact {
        grid-template-columns: 1fr;
    }


    .pillars {
        grid-template-columns: 1fr;
    }


    .pillar {
        min-height: 400px;
    }


    .projects-header {
        grid-template-columns: 1fr;

        gap: 30px;
    }


    .project-grid {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 600px) {

    .navbar {
        height: 70px;
    }

    .navbar nav {
        display: none;
    }


    .hero {
        min-height: 90vh;

        padding-top: 120px;
    }


    .hero h1 {
        font-size: 55px;

        letter-spacing: -2px;
    }


    .section {
        padding: 90px 6%;
    }


    .pillar {
        padding: 55px 35px;
    }


    .pillar-number {
        left: 35px;
    }


    .dive-section {
        min-height: 550px;

        padding: 80px 6%;
    }

}

/* =========================
   HERO UPDATE
   ========================= */

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 28px;
}

.text-button {
    font-size: 13px;
    font-weight: 700;
    color: var(--black);
    transition: 0.3s;
}

.text-button:hover {
    color: var(--red);
}

.hero-mark {
    position: absolute;
    right: 7%;
    top: 50%;
    width: 430px;
    height: 430px;
    transform: translateY(-50%);
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-circle {
    position: absolute;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    border: 2px solid rgba(215, 25, 32, 0.35);
}

.hero-circle::before {
    content: "";
    position: absolute;
    inset: 35px;
    border-radius: 50%;
    border: 1px solid rgba(215, 25, 32, 0.25);
}

.hero-circle::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    background: var(--red);
    top: 50%;
    left: 0;
    transform: rotate(-25deg);
    opacity: 0.8;
}

.hero-zdc {
    position: relative;
    font-size: 110px;
    font-weight: 900;
    letter-spacing: -8px;
    color: var(--red);
    opacity: 0.95;
}

@media (max-width: 900px) {

    .hero-mark {
        right: -120px;
        opacity: 0.12;
    }

}

@media (max-width: 600px) {

    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .hero-mark {
        right: -180px;
    }

}
.hero-mark {
    display: none !important;
}

