/* =========================================================
   HBNI SITEMAP 2
   CARD ONLY DESIGN - LIGHT / WHITE THEME
========================================================= */


/* =========================================================
   RESET & GLOBAL
========================================================= */
a, 
a:hover, 
a:focus, 
a:active {
    text-decoration: none !important;
}
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    font-family: Inter, "Segoe UI", Arial, Helvetica, sans-serif;
    color: #1e293b;
    background: #f8fafc; /* Crisp Light Background */
}


/* =========================================================
   PAGE CONTAINER
========================================================= */

.sitemap-page {
    width: 100%;
    min-height: 100vh;
    padding: 45px 50px 100px;
}


/* =========================================================
   HEADER
========================================================= */

.page-header {
    position: relative;
    width: 100%;
    margin: 0 auto 65px;
    text-align: center;
}


/* =========================================================
   BACK BUTTON
========================================================= */

.back-button {
    position: absolute;
    left: 0;
    top: 10px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    color: #0284c7;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid #bae6fd;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    transition: all 0.25s ease;
}

.back-button:hover {
    color: #0369a1;
    border-color: #38bdf8;
    background: #f0f9ff;
    transform: translateX(-3px);
}


/* =========================================================
   HEADER TEXT
========================================================= */

.header-content span {
    display: block;
    margin-bottom: 8px;
    color: #0284c7;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 5px;
}

.header-content h1 {
    color: #0f172a;
    font-size: clamp(35px, 5vw, 60px);
    font-weight: 800;
    letter-spacing: 2px;
}

.header-content p {
    margin-top: 10px;
    color: #64748b;
    font-size: 14px;
}


/* =========================================================
   SECTION DIVIDERS & TITLES
========================================================= */

.sitemap-section {
    margin-bottom: 70px;
}

.section-title {
    text-align: center;
    margin-bottom: 35px;
    font-size: 16px;
    letter-spacing: 4px;
    color: #0284c7;
    position: relative;
    font-weight: 700;
}

.section-title::before,
.section-title::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 30%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.4), transparent);
}

.section-title::before { 
    left: 5%; 
}

.section-title::after { 
    right: 5%; 
}

.topic-icon {
    display: inline-block;
    margin-right: 6px;
    color: #0284c7;
}


/* =========================================================
   CARD GRID
========================================================= */

.card-grid {
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(280px, 1fr));
    gap: 30px;
    align-items: start;
}


/* =========================================================
   SITE CARD
========================================================= */

.site-card {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
    opacity: 0;
    animation: cardAppear 0.55s ease forwards;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

/* CARD HOVER */
.site-card:hover {
    transform: translateY(-7px);
    border-color: #38bdf8;
    box-shadow: 0 20px 35px -10px rgba(14, 165, 233, 0.15);
}

/* CARD TOP GLOW BAR */
.site-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #38bdf8, #0284c7);
}


/* =========================================================
   CARD HEADER
========================================================= */

.card-header {
    min-height: 90px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 22px 20px 18px;
    background: #f0f9ff; /* Light Blue Tint for Header */
}

/* CARD NUMBER */
.card-number {
    margin-bottom: 7px;
    color: #0284c7;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
}

/* CARD TITLE */
.card-header h2 {
    color: #0f172a;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.3;
}

/* CARD TITLE LINK */
.card-title-link {
    color: #0f172a;
    text-decoration: none;
    transition: color 0.25s ease;
}

.card-title-link:hover {
    color: #0284c7;
}


/* =========================================================
   DIVIDER
========================================================= */

.card-divider {
    width: 100%;
    height: 1px;
    background: #e2e8f0;
}


/* =========================================================
   POINT LIST & POINTS
========================================================= */

.point-list {
    display: flex;
    flex-direction: column;
    background: #ffffff;
}

.point {
    min-height: 54px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid #f1f5f9;
    font-size: 15px;
    font-weight: 600;
    opacity: 0;
    animation: pointAppear 0.4s ease forwards;
    transition: background 0.2s ease, color 0.2s ease;
}

.point:last-child {
    border-bottom: none;
}

.point:hover {
    background: #f0f9ff;
}

.point-number {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    text-align: center;
}

/* POINT LINK */
.point-link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 54px;
    padding: 12px 16px;
    color: #334155;
    text-decoration: none;
    transition: color 0.2s ease;
}

.point-link:hover {
    color: #0284c7;
}


/* =========================================================
   ANIMATIONS
========================================================= */

@keyframes cardAppear {
    from {
        opacity: 0;
        transform: translateY(25px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pointAppear {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* =========================================================
   RESPONSIVE BREAKPOINTS
========================================================= */

/* LARGE SCREEN (4 Columns) */
@media (min-width: 1650px) {
    .card-grid {
        grid-template-columns: repeat(4, minmax(280px, 1fr));
    }
}

/* TABLET (2 Columns) */
@media (max-width: 1050px) {
    .sitemap-page {
        padding: 40px 30px 80px;
    }

    .card-grid {
        grid-template-columns: repeat(2, minmax(280px, 1fr));
    }

    .section-title::before,
    .section-title::after {
        width: 20%;
    }
}

/* MOBILE (1 Column) */
@media (max-width: 650px) {
    .sitemap-page {
        padding: 30px 18px 60px;
    }

    .page-header {
        margin-bottom: 45px;
    }

    .back-button {
        position: static;
        margin-bottom: 30px;
    }

    .card-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .header-content h1 {
        font-size: 38px;
    }

    .section-title::before,
    .section-title::after {
        display: none;
    }
}