
/* ==========================================
   DULTRAST WEBSITE
   COMPLETE DESIGN SYSTEM
========================================== */

:root {
    --background: #050b16;
    --background-light: #091426;
    --panel: #102641;
    --blue: #258bff;
    --cyan: #00e5ff;
    --white: #ffffff;
    --muted: #a9bbd2;
    --border: rgba(0, 210, 255, .2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: var(--background);
    color: var(--white);
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}


/* BACKGROUND */

.background-grid {
    position: fixed;
    inset: 0;
    z-index: -3;
    pointer-events: none;

    background-image:
        linear-gradient(rgba(0, 180, 255, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 180, 255, .035) 1px, transparent 1px);

    background-size: 45px 45px;
}

.background-glow {
    position: fixed;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    filter: blur(130px);
    pointer-events: none;
    z-index: -2;
    opacity: .12;
}

.glow-one {
    top: 5%;
    left: -200px;
    background: #0077ff;
}

.glow-two {
    bottom: 0;
    right: -200px;
    background: #00e5ff;
}


/* SCROLL PROGRESS */

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    z-index: 2000;
    background: linear-gradient(90deg, var(--blue), var(--cyan));
    box-shadow: 0 0 12px var(--cyan);
}


/* HEADER */

.header {
    position: sticky;
    top: 0;
    z-index: 1000;

    display: flex;
    justify-content: space-between;
    align-items: center;

    width: 100%;
    padding: 12px 7%;

    background: rgba(5, 11, 22, .82);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(0, 210, 255, .12);
}

.brand img {
    display: block;
    width: 150px;
    height: 60px;
    object-fit: contain;
    transition: .3s ease;
}

.brand img:hover {
    filter: drop-shadow(0 0 12px rgba(0, 229, 255, .6));
}

.navigation {
    display: flex;
    align-items: center;
    gap: 35px;
}

.nav-link {
    position: relative;
    color: #bdcde0;
    font-size: 13px;
    transition: .3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--cyan);
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -9px;
    width: 0;
    height: 2px;
    background: var(--cyan);
    transition: .3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}


/* MOBILE MENU */

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    padding: 10px;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--cyan);
    transition: .3s ease;
}

.menu-toggle.open span:first-child {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.open span:last-child {
    transform: translateY(-8px) rotate(-45deg);
}


/* HERO */

.hero {
    position: relative;
    min-height: 780px;
    padding: 100px 10% 120px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;

    overflow: hidden;
}

.hero-content {
    max-width: 650px;
    z-index: 2;
}

.hero-label,
.section-label {
    color: var(--cyan);
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 4px;
}

.hero h1 {
    font-size: clamp(55px, 8vw, 105px);
    line-height: .98;
    letter-spacing: -5px;
    margin: 30px 0;
    font-weight: 900;
}

.hero h1 span,
.section-heading h2 span,
.vision-content h2 span {
    background: linear-gradient(90deg, var(--blue), var(--cyan));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-description {
    max-width: 540px;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.9;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 35px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 16px 23px;
    border-radius: 7px;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 1px;
    transition: .3s ease;
    cursor: pointer;
}

.primary-button {
    color: #00101c;
    background: linear-gradient(100deg, var(--blue), var(--cyan));
    box-shadow: 0 0 25px rgba(0, 180, 255, .2);
}

.primary-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 35px rgba(0, 229, 255, .45);
}

.secondary-button {
    color: var(--white);
    border: 1px solid var(--border);
    background: rgba(0, 130, 255, .06);
}

.secondary-button:hover {
    border-color: var(--cyan);
    background: rgba(0, 180, 255, .12);
    transform: translateY(-4px);
}

.hero-status {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 55px;
    color: #8ba9c5;
    font-size: 10px;
    letter-spacing: 2px;
}

.status-dot,
.gcash-dot {
    width: 9px;
    height: 9px;
    background: var(--cyan);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--cyan);
}


/* HERO VISUAL */

.hero-visual {
    position: relative;
    width: 380px;
    height: 380px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
}

.orbit {
    position: absolute;
    border: 1px solid rgba(0, 210, 255, .28);
    border-radius: 50%;
}

.orbit-one {
    width: 230px;
    height: 230px;
    animation: rotate 15s linear infinite;
}

.orbit-two {
    width: 310px;
    height: 310px;
    border-style: dashed;
    animation: rotate 24s linear infinite reverse;
}

.orbit-three {
    width: 375px;
    height: 375px;
    border-color: rgba(37, 139, 255, .18);
    animation: rotate 35s linear infinite;
}

.core-visual {
    width: 160px;
    height: 160px;
    display: grid;
    place-items: center;
    border: 2px solid var(--cyan);
    transform: rotate(45deg);
    background: rgba(0, 130, 255, .1);
    box-shadow:
        0 0 30px rgba(0, 229, 255, .2),
        inset 0 0 30px rgba(0, 229, 255, .1);
}

.core-inner {
    width: 115px;
    height: 115px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(0, 229, 255, .5);
}

.core-inner span {
    color: var(--cyan);
    font-size: 65px;
    font-weight: 900;
    transform: rotate(-45deg);
    text-shadow: 0 0 25px var(--cyan);
}

.floating-label {
    position: absolute;
    padding: 12px 16px;
    background: rgba(8, 25, 45, .95);
    border: 1px solid var(--border);
    color: #c5d8eb;
    font-size: 10px;
    letter-spacing: 2px;
}

.floating-label span {
    color: var(--cyan);
    margin-right: 7px;
}

.label-top {
    top: 35px;
    right: -20px;
}

.label-bottom {
    bottom: 35px;
    left: -20px;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: #829bb5;
    font-size: 9px;
    letter-spacing: 3px;
}

.scroll-indicator span {
    width: 1px;
    height: 35px;
    background: linear-gradient(var(--cyan), transparent);
}


/* SHARED SECTIONS */

.section {
    padding: 115px 9%;
}

.section-heading {
    max-width: 760px;
    margin: 0 auto 65px;
    text-align: center;
}

.section-heading h2 {
    margin: 22px 0;
    color: var(--white);
    font-size: clamp(40px, 6vw, 70px);
    line-height: 1.08;
    letter-spacing: -2px;
}

.section-heading p {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.9;
}


/* TECHNOLOGY */

.technology-section {
    background:
        linear-gradient(180deg, transparent, rgba(0, 100, 200, .055), transparent);
}

.technology-grid {
    max-width: 1150px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.technology-card {
    position: relative;
    overflow: hidden;
    padding: 30px 23px;
    min-height: 290px;

    background: rgba(13, 32, 55, .72);
    border: 1px solid var(--border);
    border-radius: 13px;

    transition: .35s ease;
}

.technology-card:hover {
    transform: translateY(-9px);
    border-color: var(--cyan);
    box-shadow: 0 15px 35px rgba(0, 120, 255, .15);
}

.tech-icon {
    color: var(--cyan);
    font-size: 38px;
    margin-bottom: 30px;
    text-shadow: 0 0 18px rgba(0, 229, 255, .5);
}

.tech-index {
    display: block;
    margin-bottom: 13px;
    color: #5e9bbd;
    font-size: 9px;
    letter-spacing: 2px;
}

.technology-card h3 {
    font-size: 18px;
    margin-bottom: 13px;
}

.technology-card p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.8;
}

.tech-line {
    width: 40px;
    height: 2px;
    background: var(--cyan);
    margin-top: 25px;
    transition: .35s ease;
}

.technology-card:hover .tech-line {
    width: 100%;
    box-shadow: 0 0 12px var(--cyan);
}


/* ABOUT / PROJECT CARDS */

.about-section {
    background:
        radial-gradient(ellipse at 10% 20%, rgba(0, 130, 255, .1), transparent 45%),
        radial-gradient(ellipse at 90% 80%, rgba(0, 225, 255, .07), transparent 45%);
}

.about-grid {
    max-width: 1100px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.about-card {
    position: relative;
    overflow: hidden;
    padding: 32px;
    border: 1px solid var(--border);
    border-radius: 17px;
    background: linear-gradient(145deg, rgba(17, 42, 72, .92), rgba(5, 15, 30, .96));
    transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}

.about-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 20%, rgba(0, 229, 255, .09), transparent 80%);
    transform: translateX(-120%);
    transition: transform .8s ease;
    pointer-events: none;
}

.about-card:hover::before {
    transform: translateX(120%);
}

.about-card:hover {
    transform: translateY(-8px);
    border-color: var(--cyan);
    box-shadow: 0 18px 45px rgba(0, 140, 255, .16);
}

.card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.card-number,
.detail-label {
    color: var(--cyan);
    font-size: 10px;
    font-weight: bold;
    letter-spacing: 3px;
}

.card-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(0, 229, 255, .4);
    border-radius: 12px;
    color: var(--cyan);
    font-size: 25px;
    background: rgba(0, 150, 255, .1);
}

.about-card h3 {
    position: relative;
    font-size: 22px;
    margin-bottom: 12px;
}

.about-card > p {
    position: relative;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.85;
}

.card-details {
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0;
    transition: grid-template-rows .4s ease, opacity .35s ease, margin .35s ease;
    margin-top: 0;
}

.card-details ul {
    overflow: hidden;
    padding-left: 20px;
    color: #b9d2e8;
    font-size: 13px;
    line-height: 2.1;
}

.detail-divider {
    height: 1px;
    background: var(--border);
    margin-bottom: 18px;
}

.detail-label {
    display: block;
    margin-bottom: 12px;
}

.about-card.expanded .card-details {
    grid-template-rows: 1fr;
    opacity: 1;
    margin-top: 20px;
}

.card-toggle {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-top: 25px;
    padding: 14px 15px;

    color: var(--cyan);
    font-size: 10px;
    font-weight: bold;
    letter-spacing: 2px;

    background: rgba(0, 140, 255, .08);
    border: 1px solid rgba(0, 229, 255, .3);
    border-radius: 8px;
    cursor: pointer;
    transition: .3s ease;
}

.card-toggle:hover {
    background: rgba(0, 180, 255, .18);
    border-color: var(--cyan);
}

.toggle-icon {
    font-size: 22px;
    transition: transform .3s ease;
}

.about-card.expanded .toggle-icon {
    transform: rotate(45deg);
}


/* VISION */

.vision-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 70px;
    background: linear-gradient(90deg, rgba(0, 80, 180, .08), transparent);
}

.vision-content {
    max-width: 650px;
}

.vision-content h2 {
    font-size: clamp(48px, 7vw, 85px);
    line-height: 1.05;
    margin: 25px 0;
    letter-spacing: -3px;
}

.vision-content p {
    max-width: 550px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.9;
}

.vision-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 35px;
}

.vision-tags span {
    padding: 10px 13px;
    color: var(--cyan);
    font-size: 9px;
    letter-spacing: 2px;
    border: 1px solid var(--border);
    border-radius: 5px;
    background: rgba(0, 140, 255, .07);
}

.vision-decoration {
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.vision-circle {
    width: 270px;
    height: 270px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(0, 229, 255, .5);
    border-radius: 50%;
    box-shadow: 0 0 65px rgba(0, 140, 255, .15), inset 0 0 45px rgba(0, 140, 255, .1);
    animation: pulse 4s ease-in-out infinite;
}

.vision-circle-inner {
    display: grid;
    place-items: center;
    width: 180px;
    height: 180px;
    border: 2px solid var(--cyan);
    border-radius: 50%;
    background: rgba(0, 120, 255, .12);
}

.vision-circle-inner span {
    color: var(--cyan);
    font-size: 100px;
    font-weight: 900;
    text-shadow: 0 0 30px var(--cyan);
}


/* DONATION */

.donate-section {
    text-align: center;
    background:
        radial-gradient(ellipse at center, rgba(0, 100, 220, .12), transparent 60%);
}

.gcash-card {
    width: 100%;
    max-width: 420px;
    margin: auto;
    padding: 32px;

    background: linear-gradient(145deg, #102641, #071321);
    border: 1px solid rgba(0, 229, 255, .25);
    border-radius: 19px;

    box-shadow: 0 20px 60px rgba(0, 100, 255, .12);
    transition: .35s ease;
}

.gcash-card:hover {
    transform: translateY(-6px);
    border-color: var(--cyan);
    box-shadow: 0 20px 65px rgba(0, 160, 255, .2);
}

.gcash-header {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    color: var(--cyan);
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 2px;
}

.qr-frame {
    width: 245px;
    max-width: 100%;
    margin: 30px auto;
    padding: 12px;
    background: white;
    border-radius: 13px;
    transition: .3s ease;
}

.qr-frame:hover {
    transform: scale(1.04);
    box-shadow: 0 0 30px rgba(0, 229, 255, .3);
}

.gcash-qr {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 5px;
}

.gcash-card h3 {
    margin: 20px 0 12px;
    font-size: 23px;
}

.gcash-card > p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.8;
}

.gcash-warning {
    margin-top: 20px;
    padding: 12px;
    color: #bceeff;
    font-size: 11px;
    line-height: 1.6;
    border: 1px solid rgba(0, 229, 255, .18);
    border-radius: 8px;
    background: rgba(0, 140, 255, .08);
}

.qr-button {
    display: flex;
    margin-top: 22px;
}

.voluntary-note {
    display: block;
    margin-top: 22px;
    color: #7da9c5;
    font-size: 9px;
    letter-spacing: 3px;
}


/* FOOTER */

.footer {
    padding: 45px 9% 20px;
    background: #030812;
    border-top: 1px solid var(--border);
}

.footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    padding-bottom: 35px;
}

.footer-brand img {
    width: 125px;
    height: 55px;
    object-fit: contain;
}

.footer-top p {
    color: #829bb5;
    font-size: 12px;
    line-height: 1.8;
}

.back-to-top {
    color: var(--cyan);
    font-size: 10px;
    letter-spacing: 2px;
    transition: .3s ease;
}

.back-to-top:hover {
    text-shadow: 0 0 12px var(--cyan);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, .08);
    color: #66809a;
    font-size: 9px;
    letter-spacing: 1px;
}


/* SCROLL REVEAL */

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .8s ease, transform .8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}


/* ANIMATIONS */

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 45px rgba(0, 140, 255, .12);
    }
    50% {
        transform: scale(1.04);
        box-shadow: 0 0 75px rgba(0, 229, 255, .25);
    }
}


/* RESPONSIVE */

@media (max-width: 1000px) {
    .hero {
        padding-left: 7%;
        padding-right: 7%;
    }

    .hero-visual {
        transform: scale(.8);
    }

    .technology-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 750px) {
    .header {
        padding: 10px 5%;
    }

    .brand img {
        width: 125px;
        height: 50px;
    }

    .menu-toggle {
        display: flex;
    }

    .navigation {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;

        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;

        padding: 0 7%;
        max-height: 0;
        overflow: hidden;

        background: rgba(5, 11, 22, .98);
        border-bottom: 1px solid transparent;
        transition: max-height .35s ease, padding .35s ease;
    }

    .navigation.open {
        max-height: 350px;
        padding: 15px 7% 25px;
        border-color: var(--border);
    }

    .nav-link {
        padding: 15px 0;
    }

    .nav-link::after {
        display: none;
    }

    .hero {
        min-height: auto;
        padding: 90px 7% 100px;
        flex-direction: column;
        align-items: flex-start;
    }

    .hero h1 {
        font-size: clamp(48px, 13vw, 75px);
        letter-spacing: -3px;
    }

    .hero-visual {
        align-self: center;
        transform: scale(.75);
        margin: -15px 0;
    }

    .hero-status {
        margin-top: 35px;
    }

    .section {
        padding: 85px 7%;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .vision-section {
        flex-direction: column;
        align-items: flex-start;
    }

    .vision-decoration {
        align-self: center;
    }

    .vision-circle {
        width: 220px;
        height: 220px;
    }

    .vision-circle-inner {
        width: 145px;
        height: 145px;
    }

    .vision-circle-inner span {
        font-size: 75px;
    }

    .footer-top,
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 450px) {
    .technology-grid {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        margin-left: -25px;
        transform: scale(.65);
        transform-origin: left center;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .about-card {
        padding: 25px;
    }

    .gcash-card {
        padding: 22px;
    }

    .footer-bottom {
        line-height: 1.8;
    }
}


/* ACCESSIBILITY */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}
