/*
Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
Click nbfs://nbhost/SystemFileSystem/Templates/JSP_Servlet/CascadeStyleSheet.css to edit this template
*/
/* 
    Created on : 18 Jul 2026, 11:46:22 pm
    Author     : wanmu
*/


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

        body {
            font-family: "Segoe UI", sans-serif;
            background: #f8fbff;
            color: #111827;
            overflow-x: hidden;
        }

        a {
            text-decoration: none;
        }

        /* ===== BACKGROUND EFFECT ===== */
        .bg-blur-1,
        .bg-blur-2,
        .bg-blur-3 {
            position: fixed;
            border-radius: 50%;
            filter: blur(80px);
            z-index: -1;
            opacity: 0.35;
        }

        .bg-blur-1 {
            width: 260px;
            height: 260px;
            background: #60a5fa;
            top: 60px;
            left: -60px;
        }

        .bg-blur-2 {
            width: 320px;
            height: 320px;
            background: #a78bfa;
            top: 280px;
            right: -80px;
        }

        .bg-blur-3 {
            width: 220px;
            height: 220px;
            background: #34d399;
            bottom: 40px;
            left: 30%;
        }

        /* ===== NAVBAR ===== */
        header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 18px 70px;
            position: sticky;
            top: 0;
            background: rgba(255,255,255,0.88);
            backdrop-filter: blur(14px);
            border-bottom: 1px solid rgba(226,232,240,0.8);
            z-index: 1000;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 12px;
            font-weight: 800;
            font-size: 20px;
            color: #0f172a;
        }

        .logo img {
            width: 42px;
            height: 42px;
            object-fit: contain;
            border-radius: 12px;
            box-shadow: 0 8px 20px rgba(37,99,235,0.18);
        }

        .nav-btns {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .nav-btns a {
            padding: 10px 18px;
            border-radius: 10px;
            font-size: 14px;
            font-weight: 600;
            transition: all 0.25s ease;
        }

        .btn-login {
            color: #2563eb;
            border: 1px solid #2563eb;
            background: #fff;
        }

        .btn-login:hover {
            background: #eff6ff;
            transform: translateY(-2px);
        }

        .btn-register {
            background: linear-gradient(135deg, #2563eb, #1d4ed8);
            color: #fff;
            box-shadow: 0 10px 24px rgba(37,99,235,0.25);
        }

        .btn-register:hover {
            transform: translateY(-2px);
            box-shadow: 0 14px 28px rgba(37,99,235,0.32);
        }

        /* ===== HERO ===== */
        .hero {
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 50px;
            padding: 90px 70px 70px;
            min-height: 88vh;
        }

        .hero-text {
            flex: 1;
            max-width: 620px;
        }

        .hero-badge {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: #e0ecff;
            color: #1d4ed8;
            padding: 8px 14px;
            border-radius: 999px;
            font-size: 13px;
            font-weight: 700;
            margin-bottom: 20px;
        }

        .hero-text h1 {
            font-size: 56px;
            line-height: 1.1;
            font-weight: 800;
            color: #0f172a;
        }

        .hero-text h1 span {
            background: linear-gradient(135deg, #2563eb, #7c3aed);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .hero-text p {
            margin-top: 22px;
            font-size: 18px;
            line-height: 1.8;
            color: #475569;
            max-width: 560px;
        }

        .hero-actions {
            display: flex;
            gap: 14px;
            flex-wrap: wrap;
            margin-top: 32px;
        }

        .hero-actions a {
            padding: 14px 24px;
            border-radius: 12px;
            font-size: 15px;
            font-weight: 700;
            transition: all 0.25s ease;
        }

        .btn-primary {
            background: linear-gradient(135deg, #111827, #1f2937);
            color: #fff;
            box-shadow: 0 14px 30px rgba(17,24,39,0.18);
        }

        .btn-primary:hover {
            transform: translateY(-3px);
        }

        .btn-secondary {
            border: 1px solid #cbd5e1;
            background: #fff;
            color: #0f172a;
        }

        .btn-secondary:hover {
            background: #f8fafc;
            transform: translateY(-3px);
        }

        .hero-stats {
            display: flex;
            gap: 16px;
            flex-wrap: wrap;
            margin-top: 34px;
        }

        .hero-stat {
            min-width: 140px;
            background: rgba(255,255,255,0.8);
            border: 1px solid #e2e8f0;
            border-radius: 16px;
            padding: 16px 18px;
            box-shadow: 0 12px 28px rgba(15,23,42,0.05);
        }

        .hero-stat h3 {
            font-size: 24px;
            color: #2563eb;
            margin-bottom: 5px;
        }

        .hero-stat p {
            margin: 0;
            font-size: 13px;
            color: #64748b;
            line-height: 1.4;
        }

        .hero-visual {
            flex: 1;
            display: flex;
            justify-content: center;
        }

        .dashboard-card {
            width: 100%;
            max-width: 520px;
            background: rgba(255,255,255,0.88);
            border: 1px solid rgba(226,232,240,0.95);
            border-radius: 28px;
            box-shadow: 0 30px 60px rgba(37,99,235,0.15);
            padding: 24px;
            position: relative;
            overflow: hidden;
        }

        .dashboard-card::before {
            content: "";
            position: absolute;
            top: -70px;
            right: -70px;
            width: 180px;
            height: 180px;
            background: linear-gradient(135deg, rgba(37,99,235,0.18), rgba(124,58,237,0.18));
            border-radius: 50%;
        }

        .dashboard-top {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 22px;
            position: relative;
            z-index: 1;
        }

        .dashboard-top .mini-logo {
            display: flex;
            align-items: center;
            gap: 10px;
            font-weight: 700;
            color: #0f172a;
        }

        .dashboard-top .mini-logo img {
            width: 38px;
            height: 38px;
            object-fit: contain;
            border-radius: 10px;
            background: #eff6ff;
            padding: 6px;
        }

        .status-pill {
            background: #dcfce7;
            color: #166534;
            padding: 8px 12px;
            border-radius: 999px;
            font-size: 12px;
            font-weight: 700;
        }

        .dashboard-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 16px;
            position: relative;
            z-index: 1;
        }

        .mini-card {
            background: #f8fbff;
            border: 1px solid #e5e7eb;
            border-radius: 18px;
            padding: 18px;
            transition: 0.25s ease;
        }

        .mini-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 10px 20px rgba(15,23,42,0.06);
        }

        .mini-card .mini-icon {
            width: 48px;
            height: 48px;
            border-radius: 14px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 14px;
        }

        .mini-card h4 {
            font-size: 15px;
            margin-bottom: 6px;
            color: #0f172a;
        }

        .mini-card p {
            font-size: 13px;
            color: #64748b;
            line-height: 1.5;
        }

        .blue { background: #e8f1ff; color: #2563eb; }
        .green { background: #e9fdf1; color: #16a34a; }
        .purple { background: #f3e8ff; color: #9333ea; }
        .orange { background: #fff1e6; color: #ea580c; }
        .red { background: #ffeaea; color: #dc2626; }
        .teal { background: #e6fffa; color: #0d9488; }

        /* ===== TRUST SECTION ===== */
        .trust-section {
            padding: 10px 70px 30px;
        }

        .trust-box {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 18px;
        }

        .trust-item {
            background: #ffffff;
            border: 1px solid #e5e7eb;
            border-radius: 18px;
            padding: 20px;
            text-align: center;
            box-shadow: 0 12px 28px rgba(15,23,42,0.04);
        }

        .trust-item h3 {
            font-size: 26px;
            color: #2563eb;
            margin-bottom: 6px;
        }

        .trust-item p {
            font-size: 14px;
            color: #64748b;
        }

        /* ===== GENERAL SECTION ===== */
        .section {
            padding: 90px 70px;
            text-align: center;
        }

        .section-title {
            max-width: 700px;
            margin: 0 auto 50px;
        }

        .section-title h2 {
            font-size: 40px;
            margin-bottom: 14px;
            color: #0f172a;
        }

        .section-title p {
            font-size: 17px;
            color: #64748b;
            line-height: 1.8;
        }

        /* ===== FEATURES ===== */
        .features {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 24px;
        }

        .feature-card {
            background: rgba(255,255,255,0.9);
            border: 1px solid #e5e7eb;
            border-radius: 22px;
            padding: 28px 24px;
            text-align: left;
            transition: all 0.3s ease;
            box-shadow: 0 16px 30px rgba(15,23,42,0.04);
        }

        .feature-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 24px 40px rgba(37,99,235,0.10);
            border-color: #bfdbfe;
        }

        .feature-icon {
            width: 62px;
            height: 62px;
            border-radius: 18px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 18px;
        }

        .feature-card h4 {
            font-size: 20px;
            margin-bottom: 10px;
            color: #0f172a;
        }

        .feature-card p {
            color: #64748b;
            font-size: 15px;
            line-height: 1.7;
        }

        /* ===== HOW IT WORKS ===== */
        .steps-wrap {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 24px;
        }

        .step-card {
            background: #ffffff;
            border: 1px solid #e5e7eb;
            border-radius: 22px;
            padding: 32px 24px;
            box-shadow: 0 16px 30px rgba(15,23,42,0.04);
        }

        .step-number {
            width: 56px;
            height: 56px;
            background: linear-gradient(135deg, #2563eb, #7c3aed);
            color: #fff;
            border-radius: 18px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 18px;
            font-size: 20px;
            font-weight: 800;
            box-shadow: 0 12px 22px rgba(37,99,235,0.22);
        }

        .step-card h4 {
            margin-bottom: 10px;
            font-size: 20px;
            color: #0f172a;
        }

        .step-card p {
            color: #64748b;
            line-height: 1.7;
            font-size: 15px;
        }

        /* ===== EXTRA HIGHLIGHT ===== */
        .highlight-section {
            padding: 0 70px 90px;
        }

        .highlight-box {
            background: linear-gradient(135deg, #0f172a, #1e3a8a, #2563eb);
            border-radius: 32px;
            padding: 50px;
            color: #fff;
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 30px;
            box-shadow: 0 25px 50px rgba(30,64,175,0.22);
        }

        .highlight-text {
            max-width: 650px;
        }

        .highlight-text h2 {
            font-size: 38px;
            margin-bottom: 14px;
        }

        .highlight-text p {
            color: rgba(255,255,255,0.88);
            line-height: 1.8;
            font-size: 16px;
        }

        .highlight-actions a {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: #fff;
            color: #1d4ed8;
            padding: 14px 22px;
            border-radius: 12px;
            font-weight: 700;
            box-shadow: 0 12px 24px rgba(255,255,255,0.18);
            transition: 0.25s ease;
        }

        .highlight-actions a:hover {
            transform: translateY(-3px);
        }

        /* ===== CTA ===== */
        .cta {
            margin: 0 70px 70px;
            background: linear-gradient(135deg, #2563eb, #1d4ed8, #7c3aed);
            color: #fff;
            padding: 70px 30px;
            border-radius: 30px;
            text-align: center;
            box-shadow: 0 24px 50px rgba(37,99,235,0.18);
        }

        .cta h2 {
            font-size: 42px;
            margin-bottom: 14px;
        }

        .cta p {
            max-width: 700px;
            margin: 0 auto;
            color: rgba(255,255,255,0.92);
            font-size: 16px;
            line-height: 1.8;
        }

        .cta a {
            display: inline-block;
            margin-top: 28px;
            background: #fff;
            color: #2563eb;
            padding: 14px 24px;
            border-radius: 12px;
            font-weight: 800;
            transition: 0.25s ease;
            box-shadow: 0 12px 24px rgba(255,255,255,0.18);
        }

        .cta a:hover {
            transform: translateY(-3px);
        }

        /* ===== FOOTER ===== */
        footer {
            background: #0f172a;
            color: #cbd5e1;
            padding: 34px 20px;
            text-align: center;
            font-size: 14px;
            margin-top: 30px;
        }

        footer span {
            color: #ffffff;
            font-weight: 700;
        }

        /* ===== RESPONSIVE ===== */
        @media (max-width: 1100px) {
            .hero {
                flex-direction: column;
                text-align: center;
                padding: 70px 30px 50px;
            }

            .hero-text {
                max-width: 100%;
            }

            .hero-text p {
                margin-left: auto;
                margin-right: auto;
            }

            .hero-actions,
            .hero-stats {
                justify-content: center;
            }

            .trust-box,
            .steps-wrap {
                grid-template-columns: repeat(2, 1fr);
            }

            .highlight-box {
                flex-direction: column;
                text-align: center;
            }
        }

        @media (max-width: 768px) {
            header,
            .trust-section,
            .section,
            .highlight-section {
                padding-left: 20px;
                padding-right: 20px;
            }

            header {
                flex-direction: column;
                gap: 14px;
            }

            .nav-btns {
                flex-wrap: wrap;
                justify-content: center;
            }

            .hero-text h1 {
                font-size: 38px;
            }

            .section-title h2,
            .highlight-text h2,
            .cta h2 {
                font-size: 30px;
            }

            .trust-box,
            .steps-wrap,
            .dashboard-grid {
                grid-template-columns: 1fr;
            }

            .cta {
                margin: 0 20px 40px;
                padding: 50px 20px;
            }

            .highlight-box {
                padding: 34px 24px;
            }
        }
        
        /* ===== ANIMATION UPGRADE ===== */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(35px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floatSoft {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-12px);
    }
}

@keyframes glowMove {
    0%, 100% {
        transform: scale(1) translate(0, 0);
    }
    50% {
        transform: scale(1.12) translate(12px, -12px);
    }
}

.bg-blur-1,
.bg-blur-2,
.bg-blur-3 {
    animation: glowMove 8s ease-in-out infinite;
}

.bg-blur-2 {
    animation-delay: 1.5s;
}

.bg-blur-3 {
    animation-delay: 3s;
}

.hero-text,
.hero-visual,
.trust-item,
.feature-card,
.step-card,
.highlight-box,
.cta {
    opacity: 0;
    animation: fadeUp 0.9s ease forwards;
}

.hero-text {
    animation-delay: 0.15s;
}

.hero-visual {
    animation-delay: 0.35s;
}

.dashboard-card {
    animation: floatSoft 4s ease-in-out infinite;
}

.trust-item:nth-child(1),
.feature-card:nth-child(1),
.step-card:nth-child(1) {
    animation-delay: 0.15s;
}

.trust-item:nth-child(2),
.feature-card:nth-child(2),
.step-card:nth-child(2) {
    animation-delay: 0.3s;
}

.trust-item:nth-child(3),
.feature-card:nth-child(3),
.step-card:nth-child(3) {
    animation-delay: 0.45s;
}

.trust-item:nth-child(4),
.feature-card:nth-child(4) {
    animation-delay: 0.6s;
}

.feature-card:nth-child(5) {
    animation-delay: 0.75s;
}

.feature-card:nth-child(6) {
    animation-delay: 0.9s;
}

.hero-badge {
    animation: floatSoft 3s ease-in-out infinite;
}

.status-pill {
    animation: floatSoft 2.8s ease-in-out infinite;
}

.btn-primary,
.btn-secondary,
.btn-login,
.btn-register,
.cta a,
.highlight-actions a {
    position: relative;
    overflow: hidden;
}

.btn-primary::after,
.btn-secondary::after,
.btn-login::after,
.btn-register::after,
.cta a::after,
.highlight-actions a::after {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 80%;
    height: 100%;
    background: rgba(255,255,255,0.35);
    transform: skewX(-25deg);
    transition: 0.5s;
}

.btn-primary:hover::after,
.btn-secondary:hover::after,
.btn-login:hover::after,
.btn-register:hover::after,
.cta a:hover::after,
.highlight-actions a:hover::after {
    left: 130%;
}

.mini-card:hover,
.feature-card:hover,
.step-card:hover,
.trust-item:hover {
    transform: translateY(-8px) scale(1.02);
}

.activity-gallery{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:30px;
    margin-top:40px;
}

.activity-card{
    overflow:hidden;
    border-radius:24px;
    background:#fff;
    box-shadow:0 15px 40px rgba(0,0,0,0.08);
}

.activity-card img{
    width:100%;
    aspect-ratio:16/10;
    object-fit:contain;
    background:#f8fafc;
    display:block;
    transition:0.4s ease;
}

.activity-card img:hover{
    transform:scale(1.03);
}

@media(max-width:768px){
    .activity-gallery{
        grid-template-columns:1fr;
    }
}

/* =====================================
   MENGAPA MEMILIH ELDERCAREHUB
===================================== */

.why-section{
    padding:90px 8%;
    background:#f8fbff;
}

.section-title{
    text-align:center;
    margin-bottom:60px;
}

.section-title span{
    display:inline-block;
    color:#2563eb;
    font-size:14px;
    font-weight:700;
    letter-spacing:1px;
    text-transform:uppercase;
    margin-bottom:12px;
}

.section-title h2{
    font-size:40px;
    font-weight:700;
    color:#0f172a;
    margin:0 0 18px;
}

.section-title p{
    max-width:760px;
    margin:auto;
    font-size:16px;
    line-height:1.8;
    color:#64748b;
}

.why-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
    gap:30px;
}

.why-card{
    background:#ffffff;
    padding:35px 30px;
    border-radius:22px;
    text-align:center;
    box-shadow:0 12px 30px rgba(15,23,42,.08);
    border:1px solid #e5e7eb;
    transition:.35s ease;
}

.why-card:hover{
    transform:translateY(-8px);
    box-shadow:0 18px 40px rgba(37,99,235,.15);
}

.why-card i{
    width:80px;
    height:80px;
    line-height:80px;
    font-size:34px;
    color:#2563eb;
    background:#eff6ff;
    border-radius:50%;
    margin-bottom:22px;
}

.why-card h3{
    font-size:22px;
    color:#0f172a;
    margin-bottom:15px;
}

.why-card p{
    color:#64748b;
    line-height:1.8;
    font-size:15px;
}

/* RESPONSIVE */

@media(max-width:992px){

    .why-section{
        padding:70px 6%;
    }

    .section-title h2{
        font-size:34px;
    }

}

@media(max-width:768px){

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

    .section-title h2{
        font-size:30px;
    }

    .why-card{
        padding:30px 25px;
    }

    .why-card h3{
        font-size:20px;
    }

}

/* =====================================
   LOKASI & HUBUNGI KAMI
===================================== */

.location-section{
    padding:90px 8%;
    background:#ffffff;
}

.location-container{
    display:grid;
    grid-template-columns:2fr 1fr;
    gap:40px;
    margin-top:50px;
}

.map-box{
    overflow:hidden;
    border-radius:22px;
    box-shadow:0 15px 40px rgba(0,0,0,.08);
}

.map-box iframe{
    width:100%;
    height:450px;
    border:none;
}

.contact-box{
    background:#f8fbff;
    border-radius:22px;
    padding:35px;
    box-shadow:0 12px 30px rgba(0,0,0,.08);
}

.contact-box h3{
    color:#0f172a;
    margin-bottom:30px;
}

.contact-item{
    display:flex;
    gap:18px;
    margin-bottom:28px;
}

.contact-item:last-child{
    margin-bottom:0;
}

.contact-item i{
    width:55px;
    height:55px;
    line-height:55px;
    text-align:center;
    background:#2563eb;
    color:#fff;
    border-radius:50%;
    font-size:22px;
    flex-shrink:0;
}

.contact-item strong{
    display:block;
    margin-bottom:6px;
    color:#0f172a;
}

.contact-item p{
    margin:0;
    color:#64748b;
    line-height:1.7;
}

@media(max-width:992px){

    .location-container{
        grid-template-columns:1fr;
    }

    .map-box iframe{
        height:350px;
    }

}
