/* ============================================
   CodePro Association — Main Stylesheet v2
   Inspired by: simpleinfo.cc
   Key: Bold color blocks, sharp cuts, big type,
        geometric accents, zero generic AI feel
   ============================================ */

/* ----- Design Tokens ----- */
:root {
    --sky: #5BC0EB;
    --sky-light: #a8dff5;
    --sky-dark: #2a9fd6;
    --mint: #A6E3D7;
    --mint-light: #d4f3ed;
    --mint-dark: #6fc7b5;
    --coral: #FF6F61;
    --coral-light: #ffa99f;
    --coral-dark: #e04e41;
    --sun: #FFD166;
    --sun-light: #ffe5a0;
    --lavender: #C3AED6;
    --ink: #1B1B1B;
    --ink-light: #555;
    --off-white: #F5F5F0;
    --white: #FFFFFF;
    --shadow-sm: 0 2px 8px rgba(27, 27, 27, 0.06);
    --shadow-md: 0 6px 20px rgba(27, 27, 27, 0.09);
    --shadow-lg: 0 12px 32px rgba(27, 27, 27, 0.13);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 18px;
    --radius-xl: 24px;
    --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ----- Scroll Progress Bar ----- */
.cpro-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--sky), var(--coral));
    width: 0%;
    z-index: 9999;
    transition: none;
}

/* ----- Global ----- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Chiron GoRound TC", "Noto Sans TC", sans-serif;
    font-weight: 400;
    font-optical-sizing: auto;
    color: var(--ink);
    background-color: var(--off-white);
    line-height: 1.75;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Chiron GoRound TC", sans-serif;
    font-weight: 800;
    line-height: 1.25;
}

a {
    color: var(--sky-dark);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--coral);
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* ----- Section Pattern ----- */
.cpro-section {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

.cpro-section--alt {
    background-color: var(--white);
}

.cpro-section--sky {
    background-color: var(--sky);
    color: var(--white);
}

.cpro-section--sky .cpro-section__title::after {
    background: var(--white);
}

.cpro-section--mint-light {
    background-color: var(--mint-light);
}

.cpro-section--sun {
    background-color: var(--sun);
}

.cpro-section__title {
    font-size: 2.4rem;
    font-weight: 900;
    margin-bottom: 0.6rem;
    position: relative;
    display: inline-block;
}

.cpro-section__title::after {
    content: '';
    display: block;
    width: 40px;
    height: 5px;
    background: var(--sun);
    border-radius: 3px;
    margin-top: 10px;
}

.cpro-section__subtitle {
    color: var(--ink-light);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    max-width: 560px;
}

/* Highlight marker (like SimpleInfo's yellow underline) */
.cpro-highlight {
    background: linear-gradient(180deg, transparent 55%, rgba(255, 209, 102, 0.45) 55%);
    padding: 0 4px;
}

/* ----- Wave Dividers ----- */
.cpro-wave-top,
.cpro-wave-bottom {
    position: absolute;
    left: 0;
    width: 100%;
    line-height: 0;
    overflow: hidden;
    z-index: 1;
}

.cpro-wave-top {
    top: -1px;
    transform: rotate(180deg);
}

.cpro-wave-bottom {
    bottom: -1px;
}

.cpro-wave-top svg,
.cpro-wave-bottom svg {
    display: block;
    width: 100%;
    height: 60px;
}

/* ----- Diagonal Cut Divider ----- */
.cpro-diagonal {
    position: absolute;
    left: 0;
    width: 100%;
    height: 80px;
    z-index: 1;
    overflow: hidden;
}

.cpro-diagonal--top {
    top: -1px;
}

.cpro-diagonal--bottom {
    bottom: -1px;
}

/* ----- Navbar ----- */
.cpro-navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: none;
    padding: 14px 0;
    transition: all var(--transition);
    z-index: 1050;
}

.cpro-navbar.scrolled {
    padding: 8px 0;
    box-shadow: 0 2px 12px rgba(27, 27, 27, 0.08);
}

.cpro-brand {
    display: flex;
    align-items: center;
    font-weight: 900;
    font-size: 1.3rem;
    color: var(--ink) !important;
    letter-spacing: -0.02em;
}

.brand-icon {
    font-size: 28px;
    color: var(--sky);
}

img.brand-icon {
    max-height: 40px;
    width: auto;
    object-fit: contain;
    /* Slight spacing if needed */
}

.brand-sub {
    font-weight: 500;
    font-size: 0.78em;
    color: var(--ink-light);
    margin-left: 2px;
}

.cpro-navbar .nav-link {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--ink) !important;
    padding: 8px 16px !important;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    position: relative;
}

/* Yellow geometric underline for active/hover state */
.cpro-navbar .nav-link::before {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 16px;
    right: 16px;
    height: 6px;
    background: var(--sun);
    z-index: -1;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-radius: 2px;
}

.cpro-navbar .nav-link:hover,
.cpro-navbar .nav-link:focus {
    color: var(--sky-dark) !important;
    background: rgba(91, 192, 235, 0.04);
}

.cpro-navbar .nav-link:hover::before {
    transform: scaleX(1);
}

/* Active state */
.cpro-navbar .nav-link.active {
    color: var(--ink) !important;
}

.cpro-navbar .nav-link.active::before {
    transform: scaleX(1);
}

.cpro-nav-cta {
    background-color: var(--sun);
    color: var(--ink) !important;
    padding: 8px 18px !important;
    border-radius: 40px !important;
    margin-left: 10px;
    font-weight: 800;
    /* Remove the yellow underline for the pill button initially */
}

.cpro-nav-cta::before {
    /* Keep ::before active but scale 0 so it animates properly */
    content: '';
    transform: scaleX(0);
}

.cpro-nav-cta:hover {
    transform: translateY(-2px);
    background-color: transparent !important;
    color: var(--sky-dark) !important;
}

/* Add custom yellow underline just for the CTA hover to match user request */
.cpro-nav-cta:hover::before {
    transform: scaleX(0.8);
    bottom: 2px;
}

/* Toggler */
.cpro-toggler {
    border: none;
    padding: 6px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.cpro-toggler:focus {
    outline: none;
    box-shadow: none;
}

.toggler-bar {
    display: block;
    width: 24px;
    height: 2.5px;
    background: var(--ink);
    border-radius: 2px;
    transition: all var(--transition);
}

/* Dropdown */
.cpro-dropdown {
    border: none;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    padding: 12px 8px;
    background: var(--white);
    min-width: 180px;
}

.cpro-dropdown .dropdown-item {
    border-radius: var(--radius-sm);
    padding: 8px 16px;
    font-weight: 500;
    transition: all var(--transition);
}

.cpro-dropdown .dropdown-item:hover {
    background: rgba(91, 192, 235, 0.1);
    color: var(--sky-dark);
}

/* ----- Hero ----- */
.cpro-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: var(--off-white);
    overflow: hidden;
    padding-top: 80px;
}

.cpro-hero__content {
    position: relative;
    z-index: 2;
}

.cpro-hero__title {
    font-size: 3.4rem;
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 1.2rem;
    color: var(--ink);
    letter-spacing: -0.03em;
}

.cpro-hero__subtitle {
    font-size: 1.15rem;
    color: var(--ink-light);
    font-weight: 400;
    margin-bottom: 2.5rem;
    max-width: 480px;
    line-height: 1.8;
}

.cpro-hero__cta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.cpro-hero__img-wrapper {
    position: relative;
    z-index: 2;
}

.cpro-hero__img {
    width: 100%;
    max-width: 480px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    transition: transform var(--transition);
}

.cpro-hero__img:hover {
    transform: scale(1.02) rotate(-0.5deg);
}

/* Hero accent shapes (geometric, not circles) */
.hero-accent {
    position: absolute;
    z-index: 0;
    pointer-events: none;
}

.hero-accent--triangle {
    top: 12%;
    right: 8%;
    width: 0;
    height: 0;
    border-left: 40px solid transparent;
    border-right: 40px solid transparent;
    border-bottom: 70px solid var(--sun);
    opacity: 0.35;
}

.hero-accent--bar {
    bottom: 25%;
    left: -20px;
    width: 120px;
    height: 8px;
    background: var(--sky);
    border-radius: 4px;
    opacity: 0.5;
    transform: rotate(-12deg);
}

.hero-accent--cross {
    top: 55%;
    right: 42%;
    font-size: 32px;
    color: var(--coral);
    opacity: 0.25;
    font-weight: 300;
}

.hero-accent--dots {
    bottom: 12%;
    right: 15%;
    display: grid;
    grid-template-columns: repeat(4, 6px);
    gap: 8px;
}

.hero-accent--dots span {
    width: 6px;
    height: 6px;
    background: var(--mint);
    border-radius: 50%;
    opacity: 0.4;
}

/* ----- Cards ----- */
.cpro-card {
    background: var(--white);
    border: 1.5px solid rgba(27, 27, 27, 0.05);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 36px 28px;
    transition: all var(--transition);
}

.cpro-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.cpro-card__icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 18px;
    color: var(--white);
}

.cpro-card__icon--sky {
    background: var(--sky);
}

.cpro-card__icon--mint {
    background: var(--mint-dark);
}

.cpro-card__icon--coral {
    background: var(--coral);
}

.cpro-card__icon--sun {
    background: var(--sun);
    color: var(--ink);
}

.cpro-card__icon--lavender {
    background: var(--lavender);
}

.cpro-card__title {
    color: var(--ink);
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.cpro-card__text {
    color: var(--ink-light);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ----- Service cards ----- */
.cpro-service-card {
    background: var(--white);
    border: 1px solid rgba(27, 27, 27, 0.08);
    border-radius: var(--radius-lg);
    padding: 0;
    box-shadow: var(--shadow-sm);
    position: relative;
    height: 100%;
    transition: all var(--transition);
    overflow: hidden;
}

.cpro-service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 4px;
    width: 100%;
    background: var(--sky);
    border-top-left-radius: var(--radius-lg);
    border-top-right-radius: var(--radius-lg);
    z-index: 2;
}

.cpro-service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.cpro-service-card__media {
    position: relative;
    width: 100%;
    height: 220px;
    background: rgba(255, 255, 255, 0.85);
}

.cpro-service-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cpro-service-card__media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0));
}

.cpro-service-card__body {
    padding: 24px 28px 26px;
    background: var(--white);
}

.cpro-service-card__title {
    color: var(--ink);
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.cpro-service-card__text {
    color: var(--ink-light);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 14px;
}

.cpro-service-stat {
    border-left: 1px solid rgba(27, 27, 27, 0.1);
    padding-left: 24px;
    text-align: center;
}

.cpro-service-stat__number {
    font-size: 2.4rem;
    font-weight: 900;
    color: var(--sky-dark);
    line-height: 1.1;
    letter-spacing: 0.02em;
}

.cpro-service-stat__label {
    font-size: 0.85rem;
    color: var(--ink-light);
    font-weight: 600;
    margin-top: 6px;
}

/* ----- Buttons ----- */
.cpro-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.95rem;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
}

.cpro-btn--sm {
    padding: 8px 18px;
    font-size: 0.85rem;
    border-width: 1.5px;
}

.cpro-btn--primary {
    background: var(--sky);
    color: var(--white);
    box-shadow: none;
}

.cpro-btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(91, 192, 235, 0.3);
    color: var(--white);
    background: var(--sky-dark);
}

.cpro-btn--secondary {
    background: transparent;
    color: var(--ink);
    border-color: var(--ink);
}

.cpro-btn--secondary:hover {
    background: var(--ink);
    color: var(--white);
    transform: translateY(-2px);
}

.cpro-btn--sun {
    background: var(--sun);
    color: var(--ink);
    font-weight: 800;
}

.cpro-btn--sun:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 209, 102, 0.4);
    color: var(--ink);
}

.cpro-btn--coral {
    background: var(--coral);
    color: var(--white);
}

.cpro-btn--coral:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 111, 97, 0.35);
    color: var(--white);
    background: var(--coral-dark);
}

/* Pill link (SimpleInfo style) */
.cpro-pill-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--ink);
    padding: 8px 0;
    border-bottom: 2px solid var(--ink);
    transition: all var(--transition);
}

.cpro-pill-link:hover {
    color: var(--sky-dark);
    border-color: var(--sky-dark);
    gap: 10px;
}

.cpro-who-link {
    position: relative;
    top: -10px;
}

/* ----- Tags ----- */
.cpro-tag {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 4px;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.cpro-tag--sky {
    background: var(--sky-light);
    color: var(--sky-dark);
}

.cpro-tag--mint {
    background: var(--mint-light);
    color: var(--mint-dark);
}

.cpro-tag--coral {
    background: rgba(255, 111, 97, 0.15);
    color: var(--coral-dark);
}

.cpro-tag--sun {
    background: var(--sun-light);
    color: #8a6d00;
}

.cpro-tag--lavender {
    background: rgba(195, 174, 214, 0.25);
    color: #7a5ca0;
}

/* ----- Stat block ----- */
.cpro-stat {
    text-align: center;
    padding: 20px;
}

.cpro-stat__number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--sky-dark);
    line-height: 1.1;
}

.cpro-stat__label {
    font-size: 0.88rem;
    color: var(--ink-light);
    font-weight: 500;
    margin-top: 4px;
}

@media (max-width: 767.98px) {
    .cpro-service-stat {
        border-left: none;
        border-top: 1px solid rgba(27, 27, 27, 0.1);
        padding: 16px 0 0;
        margin-top: 16px;
    }

    .cpro-service-card__media {
        height: 150px;
    }
}

/* ----- Event / News Card Row ----- */
.cpro-card-row {
    background: var(--white);
    border: 1.5px solid rgba(27, 27, 27, 0.05);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    overflow: hidden;
    margin-bottom: 20px;
}

.cpro-card-row:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.cpro-card-row__img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.cpro-card-row__body {
    padding: 24px;
}

.cpro-card-row__date {
    font-size: 0.82rem;
    color: var(--ink-light);
    font-weight: 500;
}

/* ----- About section image ----- */
.cpro-about-img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

/* ----- CTA Section ----- */
.cpro-cta-section {
    background: var(--sky);
    color: var(--white);
    position: relative;
}

.cpro-cta-section__header {
    text-align: center;
    margin-bottom: 34px;
}

.cpro-cta-section__header h2 {
    color: var(--white);
    font-size: 2.2rem;
    font-weight: 900;
    margin-bottom: 10px;
}

.cpro-cta-section__header p {
    color: rgba(255, 255, 255, 0.86);
    font-size: 1.05rem;
    margin: 0;
}

.cpro-cta-panel {
    width: min(920px, 100%);
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 26px 30px;
    background: rgba(255, 255, 255, 0.18);
    border: 1.5px solid rgba(255, 255, 255, 0.28);
    border-radius: var(--radius-lg);
    box-shadow: 0 18px 40px rgba(11, 92, 122, 0.18);
    backdrop-filter: blur(10px);
}

.cpro-cta-panel__icon {
    flex: 0 0 58px;
    width: 58px;
    height: 58px;
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.95);
    color: var(--sky);
}

.cpro-cta-panel__icon .material-icons-round {
    font-size: 30px;
}

.cpro-cta-panel__body {
    flex: 1;
    min-width: 0;
}

.cpro-cta-panel__body h3 {
    color: var(--white);
    font-size: 1.35rem;
    font-weight: 900;
    margin-bottom: 6px;
}

.cpro-cta-panel__body p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin: 0;
}

.cpro-cta-panel__action {
    flex: 0 0 auto;
}

.cpro-cta-panel__action .cpro-btn {
    padding: 12px 24px;
    font-size: 0.95rem;
}

.cpro-cta-panel__action .material-icons-round {
    font-size: 18px;
}

.cpro-cta-card {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    padding: 36px 24px;
    text-align: center;
    transition: all var(--transition);
    height: 100%;
}

.cpro-cta-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.22);
}

.cpro-cta-card__icon {
    font-size: 36px;
    margin-bottom: 12px;
    display: block;
}

.cpro-cta-card__title {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.cpro-cta-card__text {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 16px;
}

/* ----- Certificate ----- */
.cpro-cert-result {
    background: var(--white);
    border: 1px solid rgba(27, 27, 27, 0.12);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-md);
}

.cpro-cert-result--invalid {
    border-color: var(--coral);
}

.cpro-cert-result__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(27, 27, 27, 0.08);
    margin-bottom: 22px;
}

.cpro-cert-result__kicker {
    font-size: 0.75rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-light);
}

.cpro-cert-result__title {
    font-size: 1.35rem;
    font-weight: 800;
    margin: 6px 0 4px;
    color: var(--ink);
}

.cpro-cert-result__desc {
    margin: 0;
    color: var(--ink-light);
    font-size: 0.95rem;
}

.cpro-cert-result__status {
    margin-top: 4px;
}

.cpro-cert-section-title {
    font-weight: 700;
    margin: 10px 0 12px;
    color: var(--ink);
    font-size: 1rem;
}

.cpro-cert-section-title--spaced {
    margin-top: 22px;
}

.cpro-cert-table {
    font-size: 0.95rem;
    margin-bottom: 0;
}

.cpro-cert-table td {
    padding: 8px 0;
    border-bottom: 1px solid rgba(27, 27, 27, 0.06);
}

.cpro-cert-table tr:last-child td {
    border-bottom: none;
}

.cpro-cert-table__label {
    width: 130px;
    font-weight: 600;
    color: var(--ink);
}

.cpro-cert-table--compact td {
    padding: 7px 0;
}

.cpro-cert-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.9rem;
    border: 1px solid transparent;
}

.cpro-cert-badge--active {
    background: rgba(48, 180, 140, 0.12);
    color: var(--mint-dark);
    border-color: rgba(48, 180, 140, 0.2);
}

.cpro-cert-badge--expired {
    background: rgba(255, 111, 97, 0.15);
    color: var(--coral-dark);
    border-color: rgba(255, 111, 97, 0.25);
}

.cpro-cert-badge--revoked {
    background: rgba(27, 27, 27, 0.1);
    color: var(--ink-light);
    border-color: rgba(27, 27, 27, 0.2);
}

/* ----- Contact form ----- */
.cpro-form .form-control {
    border-radius: var(--radius-sm);
    border: 2px solid rgba(27, 27, 27, 0.10);
    padding: 12px 16px;
    font-size: 0.95rem;
    transition: all var(--transition);
}

.cpro-form .form-control:focus {
    border-color: var(--sky);
    box-shadow: 0 0 0 3px rgba(91, 192, 235, 0.12);
}

/* ----- Footer ----- */
.cpro-footer {
    background: var(--ink);
    color: rgba(255, 255, 255, 0.8);
    padding: 70px 0 30px;
    position: relative;
    overflow: hidden;
}

.footer-title {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.footer-desc {
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.social-link {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    transition: all var(--transition);
}

.social-link:hover {
    background: var(--sky);
    color: var(--white);
    transform: translateY(-2px);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.9rem;
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--sun);
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.footer-contact .material-icons-round {
    font-size: 18px;
    margin-top: 3px;
    color: var(--sky-light);
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact a:hover {
    color: var(--sun);
}

.footer-reg {
    font-size: 0.85rem;
    line-height: 1.7;
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.08);
    margin: 30px 0 20px;
}

.footer-bottom {
    text-align: center;
    font-size: 0.82rem;
    opacity: 0.5;
}

/* ----- Background Shapes Container ----- */
.cpro-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.shape {
    position: absolute;
}

/* ----- Page Header (inner pages) ----- */
.cpro-page-header {
    background: var(--off-white);
    padding: 130px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cpro-page-header__title {
    font-size: 2.8rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.cpro-page-header__desc {
    font-size: 1.05rem;
    color: var(--ink-light);
    max-width: 600px;
    margin: 0 auto;
}

/* ----- Feature Block (side-by-side image + text) ----- */
.cpro-feature-block {
    display: flex;
    align-items: center;
    gap: 60px;
}

.cpro-feature-block--reverse {
    flex-direction: row-reverse;
}

.cpro-feature-block__img {
    flex: 0 0 48%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.cpro-feature-block__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cpro-feature-block__text {
    flex: 1;
}

/* ----- Responsive ----- */
@media (max-width: 991.98px) {
    .cpro-hero__content {
        text-align: center;
    }

    .cpro-hero__title {
        font-size: 2.5rem;
        text-align: center;
    }

    .cpro-hero__subtitle {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

    .cpro-hero__cta {
        justify-content: center;
    }

    .cpro-hero__img {
        max-width: 350px;
        margin: 40px auto 0;
        display: block;
    }

    .cpro-navbar .nav-link::before {
        display: none !important;
    }

    .cpro-nav-cta {
        background-color: transparent !important;
        margin-left: 0;
        border-radius: var(--radius-sm) !important;
        font-weight: 600;
    }

    .cpro-nav-cta:hover,
    .cpro-nav-cta:focus {
        background: rgba(91, 192, 235, 0.04) !important;
        color: var(--sky-dark) !important;
        transform: none;
    }

    .cpro-section {
        padding: 70px 0;
    }

    .cpro-page-header {
        padding: 100px 0 40px;
    }

    .cpro-page-header__title {
        font-size: 2.2rem;
    }

    .cpro-feature-block {
        flex-direction: column;
        gap: 30px;
    }

    .cpro-feature-block--reverse {
        flex-direction: column;
    }

    .cpro-feature-block__img {
        flex: none;
        width: 100%;
        max-height: 320px;
    }

    .cpro-cta-panel {
        align-items: flex-start;
        flex-direction: column;
    }

    .cpro-cta-panel__action,
    .cpro-cta-panel__action .cpro-btn {
        width: 100%;
    }

    .cpro-cta-panel__action .cpro-btn {
        justify-content: center;
    }
}

@media (max-width: 575.98px) {
    .cpro-hero__title {
        font-size: 2rem;
    }

    .cpro-hero__subtitle {
        font-size: 1rem;
    }

    .cpro-section__title {
        font-size: 1.8rem;
    }

    .cpro-card {
        padding: 24px 20px;
    }

    .cpro-section {
        padding: 60px 0;
    }

    .cpro-cta-section__header h2 {
        font-size: 1.9rem;
    }

    .cpro-cta-panel {
        padding: 22px;
        gap: 16px;
    }

    .cpro-cta-panel__body h3 {
        font-size: 1.2rem;
    }
}

/* =========================================
   Hover Image Card Grid (Vision & Mission)
========================================= */
.cpro-vm-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

@media (min-width: 768px) {
    .cpro-vm-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .cpro-vm-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.vm-grid-card {
    position: relative;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.vm-grid-card__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Base overlay: dim the image from the bottom up */
.vm-grid-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 20, 40, 0.8) 0%, rgba(10, 20, 40, 0.1) 100%);
    transition: background 0.4s ease;
}

.vm-grid-card__content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px 25px;
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.vm-grid-card__title {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 0;
    transition: transform 0.4s ease, margin 0.4s ease;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.vm-grid-card__text {
    font-size: 1.05rem;
    line-height: 1.6;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    margin-top: 0;
    margin-bottom: 0;
    transition: max-height 0.4s ease, opacity 0.4s ease, margin 0.4s ease;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
}

/* Hover Effects */
.vm-grid-card:hover .vm-grid-card__bg {
    transform: scale(1.08);
}

.vm-grid-card:hover .vm-grid-card__overlay {
    /* 增加不透明度，讓白字更清晰 */
    background: linear-gradient(to top, rgba(10, 20, 40, 0.95) 0%, rgba(10, 20, 40, 0.5) 100%);
}

.vm-grid-card:hover .vm-grid-card__title {
    margin-bottom: 12px;
}

.vm-grid-card:hover .vm-grid-card__text {
    max-height: 150px;
    opacity: 1;
}

/* =========================================
   Back to Top Button (Geometric & Bold)
========================================= */
.cpro-back-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 60px;
    height: 60px;
    background-color: var(--sun);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) rotate(-10deg);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), clip-path 0.4s ease-in-out, transform 0.6s ease-in-out;
    /* 12-point Sun shape using polygon */
    clip-path: polygon(50% 0%, 61% 15%, 79% 10%, 82% 28%, 100% 35%, 90% 50%, 100% 65%, 82% 72%, 79% 90%, 61% 85%, 50% 100%, 39% 85%, 21% 90%, 18% 72%, 0% 65%, 10% 50%, 0% 35%, 18% 28%, 21% 10%, 39% 15%);
    box-shadow: 0 10px 30px rgba(255, 209, 102, 0.4);
}

.cpro-back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) rotate(0deg);
}

.cpro-back-to-top .material-icons-round {
    font-size: 28px;
    font-weight: 900;
    transition: transform 0.5s;
}

.cpro-back-to-top:hover,
.cpro-back-to-top:focus {
    background-color: var(--sky);
    color: var(--white);
    text-decoration: none;
    transform: translateY(-5px) scale(1.1) rotate(360deg);
    box-shadow: 0 15px 40px rgba(91, 192, 235, 0.4);
}

.cpro-back-to-top:hover .material-icons-round {
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .cpro-back-to-top {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
}
