:root {
    --primary-bg: #F0F7FF;
    --secondary-bg: #FFFFFF;
    --primary-text: #000000;
    --secondary-text: #000000;
    --accent-color: #007BFF;
    --accent-soft: #E1F0FF;
    --border-color: rgba(0, 123, 255, 0.1);
    --shadow-color: rgba(0, 40, 100, 0.08);
    --font-main: 'Inter', sans-serif;
    --radius: 20px;
    --transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: var(--font-main);
    background-color: var(--primary-bg);
    color: var(--primary-text);
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
}

.text-muted {
    color: #000000 !important;
}

/* Force all text to black color across the site */
body, p, span, li, td, th, label, a:not(.btn), div, h1, h2, h3, h4, h5, h6 {
    color: #000000;
}

/* Keep hero text white on dark backgrounds */
.hero-surface-atlas .text-white,
.hero-surface-atlas h1,
.hero-surface-atlas .lead,
.detail-hero .text-white,
.detail-hero h1,
.detail-hero .breadcrumb,
.detail-hero .lead,
.course-hero-block .text-white,
.course-hero-block span {
    color: #ffffff !important;
}

/* Keep footer text readable */
.surface-footer .footer-description,
.surface-footer .footer-links a,
.surface-footer .contact-list a,
.surface-footer .contact-list span,
.surface-footer .copyright-text,
.surface-footer .footer-heading,
.surface-footer .footer-title {
    color: #000000;
}

/* Keep button text white */
.btn-primary, .btn-primary *, .btn-danger, .btn-danger * {
    color: #ffffff !important;
}

/* Increase button height across the site */
.btn {
    padding-top: 0.625rem;
    padding-bottom: 0.625rem;
}
.btn-sm {
    padding-top: 0.45rem;
    padding-bottom: 0.45rem;
}
.btn-lg {
    padding-top: 0.8rem;
    padding-bottom: 0.8rem;
}

/* Keep nav link colors as they are */
.surface-header .nav-link {
    color: #000000 !important;
}

/* Keep white text on dark overlays */
.card-overlay-info, .composition-card .card-overlay-info {
    color: #ffffff !important;
}

/* Keep badge text white */
.badge.bg-primary, .badge.bg-danger, .badge.bg-success {
    color: #ffffff !important;
}

.floating-card {
    background: var(--secondary-bg);
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px var(--shadow-color);
    transition: var(--transition);
    transform-style: preserve-3d;
}

.floating-card:hover {
    transform: translateY(-12px) rotateX(1deg) rotateY(1deg);
    box-shadow: 0 25px 50px var(--shadow-color);
}

.btn-3d {
    transition: var(--transition);
    transform: translateZ(0);
    border-radius: 12px;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0.5px;
}

.btn-3d:hover {
    transform: translateY(-3px) translateZ(10px);
    box-shadow: 0 8px 20px rgba(0, 123, 255, 0.3);
}

.glass-panel {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.section-spacing {
    padding: clamp(2rem, 5vw, 6rem) 0;
}

/* ===== header ===== */
.surface-header .navbar {
    background-color: #FFFFFF !important;
    border-bottom: 1px solid rgba(0, 123, 255, 0.1);
    z-index: 1050;
}

.surface-header .nav-link {
    color: #1A2B3C !important;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.surface-header .nav-link:hover {
    color: #007BFF !important;
    transform: translateY(-1px);
}

.surface-header .dropdown-toggle::after {
    border: none;
    font-family: 'Phosphor';
    content: '\e0e0';
    vertical-align: middle;
    margin-left: 0.4rem;
    font-size: 0.8rem;
}

.surface-header .dropdown-menu {
    border-radius: 16px;
    padding: 0.75rem;
    min-width: 220px;
    border: 1px solid rgba(0, 123, 255, 0.05);
}

.surface-header .dropdown-item {
    border-radius: 8px;
    color: #50667F;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.surface-header .dropdown-item:hover {
    background-color: #E1F0FF;
    color: #007BFF;
}

.surface-header .btn-primary {
    background-color: #007BFF !important;
    border: none;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

.surface-header .btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 123, 255, 0.25) !important;
}

@media (max-width: 991.98px) {
    .surface-header .nav-link {
        padding: 0.75rem 0;
        font-size: 0.9rem;
    }

    .surface-header .dropdown-menu {
        box-shadow: none !important;
        border: none;
        padding-left: 1rem;
        background-color: #F8FBFF;
    }

    .surface-header .navbar-collapse {
        padding-top: 1rem;
        padding-bottom: 1rem;
    }
}

/* ===== hero ===== */
.hero-surface-atlas {
    background-color: #1A2B3C;
    font-family: 'Inter', sans-serif;
}

.hero-surface-atlas h1 {
    font-size: clamp(1.5rem, 6vw, 3.5rem);
    line-height: 1.1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-surface-atlas .btn-primary {
    background-color: #007BFF !important;
    border-radius: 12px;
    text-transform: none;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-surface-atlas .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.4) !important;
}

.hero-composition {
    min-height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.composition-layer {
    position: relative;
    transition: transform 0.1s ease-out;
}

.layer-main {
    width: 80%;
    height: 350px;
    z-index: 2;
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
}

.composition-card {
    width: 100%;
    height: 100%;
    position: relative;
}

.card-overlay-info {
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
}

.layer-sub {
    position: absolute;
    bottom: -30px;
    right: 0;
    width: 200px;
    height: 200px;
    z-index: 3;
}

.composition-card-mini {
    width: 100%;
    height: 100%;
}

.floating-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 100px;
    height: 100px;
    background: #FFFFFF;
    border-radius: 50%;
    z-index: 4;
    animation: float 4s ease-in-out infinite;
}

.decorative-shape-1 {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100px;
    height: 100px;
    background: rgba(0, 123, 255, 0.2);
    border-radius: 20px;
    z-index: 1;
    transform: rotate(15deg);
}

.decorative-shape-2 {
    position: absolute;
    bottom: -40px;
    left: 20%;
    width: 150px;
    height: 150px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    z-index: 1;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

@media (max-width: 991.98px) {
    .hero-surface-atlas {
        text-align: center;
    }

    .hero-content-wrapper {
        margin-bottom: 3rem;
    }

    .hero-surface-atlas h1 {
        font-size: 1.125rem !important;
    }

    .hero-surface-atlas p {
        font-size: 0.875rem !important;
    }

    .layer-main {
        width: 100%;
        height: 300px;
    }

    .layer-sub {
        width: 150px;
        height: 150px;
    }

    .d-flex.flex-wrap {
        justify-content: center;
    }
}

/* ===== problem-solution ===== */
.problem-solution-block {
    background-color: #F0F7FF;
    overflow: hidden;
}

.problem-solution-block .text-primary-dark {
    color: #1A2B3C;
}

.problem-solution-block .text-secondary-dark {
    color: #50667F;
}

.problem-solution-block .ps-card {
    background: #FFFFFF;
    border-radius: 24px;
    padding: 2.5rem;
    border: 1px solid rgba(0, 123, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 40, 100, 0.05);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
    position: relative;
}

.problem-solution-block .ps-card:hover {
    transform: translateY(-10px) rotateX(2deg);
    box-shadow: 0 20px 40px rgba(0, 40, 100, 0.12);
}

.problem-solution-block .ps-icon-box {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    font-size: 1.75rem;
}

.problem-solution-block .bg-danger-soft {
    background-color: #FFF0F0;
}

.problem-solution-block .bg-success-soft {
    background-color: #F0FFF4;
}

.problem-solution-block .ps-list i {
    font-size: 1.25rem;
}

.problem-solution-block .ps-image-wrapper {
    height: 200px;
    background: #F8FBFF;
    border: 1px solid rgba(0, 123, 255, 0.05);
}

.problem-solution-block .ps-image-wrapper img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.problem-solution-block .ps-btn-3d {
    background-color: #007BFF;
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 0 #0056b3, 0 8px 15px rgba(0, 123, 255, 0.3);
    transition: all 0.2s ease;
    color: #FFFFFF !important;
}

.problem-solution-block .ps-btn-3d:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 0 #0056b3, 0 12px 20px rgba(0, 123, 255, 0.4);
    background-color: #0069d9;
}

.problem-solution-block .ps-btn-3d:active {
    transform: translateY(2px);
    box-shadow: 0 2px 0 #0056b3, 0 4px 10px rgba(0, 123, 255, 0.3);
}

@media (max-width: 767.98px) {
    .problem-solution-block .ps-card {
        padding: 1.5rem;
    }

    .problem-solution-block h2 {
        font-size: 1.5rem !important;
    }

    .problem-solution-block h3 {
        font-size: 1.25rem !important;
    }
}

/* ===== contractor-questions ===== */
#contractor-questions-section {
    background-color: #F0F7FF;
    overflow: hidden;
}

#contractor-questions-section .cq-card {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), shadow 0.4s ease;
    position: relative;
    z-index: 1;
    perspective: 1000px;
}

#contractor-questions-section .cq-card:hover {
    transform: translateY(-8px) rotateX(2deg) rotateY(2deg);
    box-shadow: 0 20px 40px rgba(0, 40, 100, 0.12) !important;
    border-color: rgba(0, 123, 255, 0.3) !important;
}

#contractor-questions-section .cq-icon-wrapper {
    transition: transform 0.3s ease;
}

#contractor-questions-section .cq-card:hover .cq-icon-wrapper {
    transform: scale(1.1) translateZ(20px);
}

#contractor-questions-section .btn-primary {
    background-color: #007BFF;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

#contractor-questions-section .btn-primary:hover {
    background-color: #0069D9;
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
    transform: translateY(-2px);
}

@media (max-width: 767.98px) {
    #contractor-questions-section .display-5 {
        font-size: 1.75rem;
    }

    #contractor-questions-section .p-5 {
        padding: 2rem !important;
    }

    #contractor-questions-section .cq-card:hover {
        transform: translateY(-5px);
    }
}

/* ===== cost-of-inaction ===== */
.cost-of-inaction {
    background-color: #F0F7FF;
    position: relative;
    overflow: hidden;
}

.cost-of-inaction .text-primary-text-light-bg {
    color: #1A2B3C;
}

.cost-of-inaction .text-secondary-text-light-bg {
    color: #50667F;
}

.cost-of-inaction .text-accent-color {
    color: #007BFF;
}

.cost-of-inaction .bg-accent-soft {
    background-color: #E1F0FF;
}

.cost-of-inaction .rounded-4 {
    border-radius: 24px;
}

.cost-of-inaction .calculator-inputs {
    perspective: 1000px;
    transition: transform 0.4s ease;
}

.cost-of-inaction .results-card {
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    transform-style: preserve-3d;
}

.cost-of-inaction .results-card:hover {
    transform: translateY(-8px) rotateX(2deg) rotateY(-2deg);
    box-shadow: 0 30px 60px rgba(0, 40, 100, 0.12) !important;
}

.cost-of-inaction .result-item {
    border: 1px solid rgba(0, 123, 255, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cost-of-inaction .result-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 40, 100, 0.05);
}

.cost-of-inaction .form-control:focus {
    box-shadow: 0 0 0 0.25rem rgba(0, 123, 255, 0.1);
    border-color: #007BFF;
}

.cost-of-inaction .btn-primary {
    background-color: #007BFF;
    border: none;
    transition: all 0.3s ease;
}

.cost-of-inaction .btn-primary:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(0, 123, 255, 0.2);
}

@media (max-width: 767.98px) {
    .cost-of-inaction .display-6 {
        font-size: 1.5rem;
    }

    .cost-of-inaction .h4 {
        font-size: 1.1rem;
    }
}

/* ===== core-topics ===== */
.core-topics-section {
    background-color: #F0F7FF;
    perspective: 1000px;
}

.core-topics-section .text-primary-text {
    color: #1A2B3C;
}

.core-topics-section .text-secondary-text {
    color: #50667F;
}

.core-topics-section .topic-card {
    background-color: #FFFFFF;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 40, 100, 0.08);
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.5s ease;
    transform-style: preserve-3d;
    border: 1px solid rgba(0, 123, 255, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.core-topics-section .topic-card:hover {
    box-shadow: 0 20px 40px rgba(0, 40, 100, 0.15);
    transform: translateY(-8px) rotateX(2deg) rotateY(2deg);
}

.core-topics-section .topic-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.core-topics-section .topic-card:hover .topic-img {
    transform: scale(1.05);
}

.core-topics-section .icon-box {
    width: 48px;
    height: 48px;
    background-color: #E1F0FF;
    color: #007BFF;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.core-topics-section .topic-card:hover .icon-box {
    background-color: #007BFF;
    color: #FFFFFF;
}

.core-topics-section .topic-cta-btn {
    background-color: #007BFF;
    border: none;
    box-shadow: 0 8px 20px rgba(0, 123, 255, 0.3);
    transition: all 0.3s ease;
    transform: translateZ(10px);
}

.core-topics-section .topic-cta-btn:hover {
    background-color: #0056b3;
    box-shadow: 0 12px 25px rgba(0, 123, 255, 0.4);
    transform: translateY(-2px) translateZ(15px);
}

@media (max-width: 768px) {
    .core-topics-section .topic-img {
        height: 180px;
    }

    .core-topics-section h2 {
        font-size: 1.5rem !important;
    }

    .core-topics-section .display-5 {
        font-size: 1.75rem !important;
    }
}

/* ===== courses-grid ===== */
.courses-grid-section {
    padding: 80px 0;
    background-color: #F0F7FF;
    perspective: 1000px;
}

.courses-grid-section .section-title {
    color: #1A2B3C;
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.courses-grid-section .section-subtitle {
    color: #50667F;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 3rem auto;
}

.courses-grid-section .course-card {
    background-color: #FFFFFF;
    border-radius: 20px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 40, 100, 0.08);
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.5s ease;
    transform-style: preserve-3d;
    border: 1px solid rgba(0, 123, 255, 0.05);
}

.courses-grid-section .course-card:hover {
    transform: translateY(-12px) rotateX(4deg) rotateY(2deg);
    box-shadow: 0 20px 40px rgba(0, 40, 100, 0.15);
}

.courses-grid-section .course-image-wrapper {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.courses-grid-section .course-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.courses-grid-section .course-card:hover .course-image {
    transform: scale(1.08);
}

.courses-grid-section .course-card-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.courses-grid-section .course-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.courses-grid-section .course-rating {
    color: #FFB400;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.courses-grid-section .course-price {
    background-color: #E1F0FF;
    color: #007BFF;
    padding: 4px 12px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
}

.courses-grid-section .course-title {
    color: #1A2B3C;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    transition: color 0.3s ease;
}

.courses-grid-section .course-title-link:hover .course-title {
    color: #007BFF;
}

.courses-grid-section .course-footer {
    margin-top: auto;
}

.courses-grid-section .btn-course-cta {
    display: block;
    width: 100%;
    text-align: center;
    background-color: #007BFF;
    color: #FFFFFF;
    padding: 12px 20px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.2);
}

.courses-grid-section .btn-course-cta:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 123, 255, 0.3);
    color: #FFFFFF;
}

@media (max-width: 767px) {
    .courses-grid-section {
        padding: 60px 0;
    }

    .courses-grid-section .section-title {
        font-size: 1.75rem;
    }

    .courses-grid-section .course-image-wrapper {
        height: 180px;
    }
}

/* ===== criteria-grid ===== */
.criteria-grid-block {
    background-color: #F0F7FF;
    padding: 100px 0;
}

.criteria-grid-block .card {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
    background-color: #FFFFFF;
    border: 1px solid rgba(0, 123, 255, 0.05);
}

.criteria-grid-block .js-article-card:hover {
    box-shadow: 0 25px 50px rgba(0, 40, 100, 0.12) !important;
}

.criteria-grid-block .btn-primary {
    background-color: #007BFF;
    border: none;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.2);
    transition: all 0.3s ease;
}

.criteria-grid-block .btn-primary:hover {
    background-color: #0069D9;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 123, 255, 0.3);
}

.criteria-grid-block .js-sort-btn {
    color: #50667F;
    background: transparent;
    transition: all 0.3s ease;
}

.criteria-grid-block .js-sort-btn.active {
    background-color: #007BFF !important;
    color: #FFFFFF !important;
    font-weight: 600;
}

.criteria-grid-block .ratio img {
    transition: transform 0.6s ease;
}

.criteria-grid-block .js-article-card:hover .ratio img {
    transform: scale(1.08);
}

.criteria-grid-block h3 a:hover {
    color: #007BFF !important;
}

/* ===== press-mentions ===== */
.press-mentions-block {
    background-color: #F0F7FF;
    overflow: hidden;
    perspective: 1000px;
}

.press-mentions-block .press-mentions-title {
    color: #1A2B3C;
    font-weight: 700;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
}

.press-mentions-block .press-mentions-subtitle {
    color: #50667F;
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

.press-mentions-block .press-card {
    background: #FFFFFF;
    border-radius: 20px;
    border: 1px solid rgba(0, 123, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 40, 100, 0.05);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
    transform-style: preserve-3d;
    display: flex;
    flex-direction: column;
}

.press-mentions-block .press-card:hover {
    transform: translateY(-10px) rotateX(2deg) rotateY(2deg);
    box-shadow: 0 20px 40px rgba(0, 40, 100, 0.12);
}

.press-mentions-block .press-logo-wrapper { height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #E1F0FF;
    border-radius: 12px;
    padding: 10px;
}

.press-mentions-block .press-logo {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: filter 0.3s ease, opacity 0.3s ease;
}

.press-mentions-block .press-card:hover .press-logo {
    filter: grayscale(0%);
    opacity: 1;
}

.press-mentions-block .press-quote-icon { font-size: 3rem;
    color: #007BFF;
    opacity: 0.2;
}

.press-mentions-block .press-quote {
    color: #1A2B3C;
    font-style: italic;
    font-size: 0.95rem;
    line-height: 1.6;
    flex-grow: 1;
}

.press-mentions-block .press-source-name {
    font-weight: 600;
    font-size: 0.85rem;
    color: #007BFF;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .press-mentions-block .press-mentions-title {
        font-size: 1.25rem;
    }

    .press-mentions-block .press-mentions-subtitle {
        font-size: 0.9rem;
    }
}

/* ===== consultation-booking ===== */
.booking-section {
    background-color: #F0F7FF;
    font-family: 'Inter', sans-serif;
    position: relative;
    overflow: hidden;
}

.booking-section .booking-info-card,
.booking-section .booking-form-card {
    background: #FFFFFF;
    border-radius: 24px;
    border: 1px solid rgba(0, 123, 255, 0.1);
    box-shadow: 0 12px 40px rgba(0, 40, 100, 0.08);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}

.booking-section .booking-info-card:hover,
.booking-section .booking-form-card:hover {
    transform: translateY(-8px) perspective(1000px) rotateX(1deg);
    box-shadow: 0 20px 50px rgba(0, 40, 100, 0.12);
}

.booking-section .booking-title {
    color: #1A2B3C;
    font-weight: 700;
    line-height: 1.2;
}

.booking-section .booking-lead {
    color: #50667F;
    font-size: 1.1rem;
    line-height: 1.6;
}

.booking-section .booking-step-title {
    color: #1A2B3C;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.booking-section .booking-step-title i {
    color: #007BFF;
}

.booking-section .booking-option-btn,
.booking-section .booking-slot-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    background-color: #F0F7FF;
    color: #1A2B3C;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    font-weight: 500;
}

.booking-section .booking-option-btn:hover,
.booking-section .booking-slot-btn:hover {
    background-color: #E1F0FF;
    color: #007BFF;
}

.booking-section .booking-option-btn.active,
.booking-section .booking-slot-btn.active {
    background-color: #007BFF;
    color: #FFFFFF;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.booking-section .booking-topic-card {
    padding: 1rem;
    border-radius: 16px;
    background-color: #FFFFFF;
    border: 2px solid #F0F7FF;
    transition: all 0.3s ease;
    color: #1A2B3C;
}

.booking-section .booking-topic-card .small {
    color: #50667F;
    transition: color 0.3s ease;
}

.booking-section .booking-topic-card:hover {
    background-color: #F0F7FF;
    border-color: #007BFF;
}

.booking-section .booking-topic-card.active {
    background-color: #E1F0FF;
    border-color: #007BFF;
}

.booking-section .booking-topic-card.active .small {
    color: #007BFF;
}

.booking-section .form-control {
    padding: 0.75rem 1rem;
    border-radius: 12px;
    border: 1px solid #E1F0FF;
    background-color: #F8FBFF;
    color: #1A2B3C;
    transition: all 0.3s ease;
}

.booking-section .form-control:focus {
    background-color: #FFFFFF;
    border-color: #007BFF;
    box-shadow: 0 0 0 0.25rem rgba(0, 123, 255, 0.1);
}

.booking-section .input-group-text {
    border: 1px solid #E1F0FF;
    border-radius: 12px 0 0 12px;
    color: #007BFF;
}

.booking-section .booking-submit-btn {
    background-color: #007BFF;
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0, 123, 255, 0.2);
    transition: all 0.3s ease;
}

.booking-section .booking-submit-btn:hover {
    background-color: #0062CC;
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(0, 123, 255, 0.3);
}

@media (max-width: 768px) {
    .booking-section .booking-title {
        font-size: 1.5rem;
    }

    .booking-section .booking-info-card,
    .booking-section .booking-form-card {
        padding: 1.5rem !important;
        border-radius: 20px;
    }
}

/* ===== footer ===== */
.surface-footer {
    background-color: #F0F7FF;
    border-top: 1px solid rgba(0, 123, 255, 0.1);
    color: #1A2B3C;
    font-family: 'Inter', sans-serif;
}

.surface-footer .footer-logo {
    max-width: 50px;
    height: auto;
    transition: transform 0.3s ease;
}

.surface-footer .footer-logo:hover {
    transform: scale(1.05);
}

.surface-footer .footer-title {
    color: #1A2B3C;
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.surface-footer .footer-description {
    color: #50667F;
    font-size: 0.9rem;
    line-height: 1.6;
}

.surface-footer .footer-heading {
    color: #1A2B3C;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
}

.surface-footer .footer-links li {
    margin-bottom: 0.75rem;
}

.surface-footer .footer-links a {
    color: #50667F;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.surface-footer .footer-links a:hover {
    color: #007BFF;
    padding-left: 5px;
}

.surface-footer .contact-list i {
    color: #007BFF;
    font-size: 1.2rem;
    margin-top: 2px;
}

.surface-footer .contact-list a {
    color: #50667F;
    text-decoration: none;
    transition: color 0.3s ease;
}

.surface-footer .contact-list a:hover {
    color: #007BFF;
}

.surface-footer .contact-list span {
    color: #50667F;
    font-size: 0.95rem;
}

.surface-footer .footer-divider {
    border-color: rgba(0, 123, 255, 0.1);
    opacity: 1;
}

.surface-footer .copyright-text {
    color: #50667F;
    font-size: 0.85rem;
}

@media (max-width: 767.98px) {
    .surface-footer .footer-heading {
        margin-bottom: 1rem;
        margin-top: 1rem;
    }

    .surface-footer .footer-links li {
        margin-bottom: 0.5rem;
    }

    .surface-footer .text-center {
        text-align: left !important;
    }
}

/* ===== PAGE: about ===== */
.about-section {
  background-color: #F0F7FF;
  font-family: 'Inter', sans-serif;
  overflow: hidden;
}

.about-section .text-primary-dark {
  color: #1A2B3C;
}

.about-section .text-secondary-dark {
  color: #50667F;
}

.about-section .text-accent {
  color: #007BFF;
}

.about-section .shadow-soft {
  box-shadow: 0 10px 30px rgba(0, 40, 100, 0.08);
}

.about-section .floating-card {
  perspective: 1000px;
  transition: transform 0.6s cubic-bezier(0.2, 0, 0.2, 1);
}

.about-section .pillar-card {
  background: #FFFFFF;
  border: 1px solid rgba(0, 123, 255, 0.1);
  transition: all 0.4s ease;
  position: relative;
  z-index: 1;
}

.about-section .pillar-card:hover {
  transform: translateY(-10px) rotateX(2deg) rotateY(2deg);
  box-shadow: 0 20px 40px rgba(0, 40, 100, 0.12);
  border-color: rgba(0, 123, 255, 0.3);
}

.about-section .step-num {
  font-size: 1.5rem;
  font-weight: 700;
  color: rgba(0, 123, 255, 0.2);
  line-height: 1;
  flex-shrink: 0;
  min-width: 40px;
}

.about-section .method-step {
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.about-section .method-step:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.about-section .atlas-link-card {
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.about-section .atlas-link-card:hover {
  transform: scale(1.03);
  background: #E1F0FF;
  border-color: #007BFF;
}

.about-section .icon-box {
  width: 60px;
  height: 60px;
  background: #E1F0FF;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 767.98px) {
  .about-section h1 {
    font-size: 1.75rem;
  }
  .about-section .display-5 {
    font-size: 2rem;
  }
  .about-section .method-image {
    height: 250px !important;
  }
}

/* ===== PAGE: lightburn ===== */
.lightburn-page-wrapper {
  background-color: #F0F7FF;
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
}

.lightburn-update-banner {
  background: #FFFFFF;
  border-left: 6px solid #007BFF;
  transition: transform 0.3s ease;
}

.lightburn-update-banner:hover {
  transform: translateY(-5px);
}

.lightburn-update-banner h2 {
  color: #1A2B3C !important;
}

.lightburn-card {
  background: #FFFFFF;
  border: 1px solid rgba(0, 123, 255, 0.1);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 40, 100, 0.05);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  z-index: 1;
}

.lightburn-card:hover {
  transform: perspective(1000px) rotateX(2deg) rotateY(2deg) translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 40, 100, 0.12);
  border-color: #007BFF;
}

.lightburn-card .icon-box {
  width: 48px;
  height: 48px;
  background: #E1F0FF;
  color: #007BFF;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 1.5rem;
}

.lightburn-card h3 {
  color: #1A2B3C !important;
}

.lightburn-card p {
  color: #50667F;
  font-size: 0.95rem;
  line-height: 1.6;
}

.lightburn-technical-box {
  background: #FFFFFF;
  border: 1px solid rgba(0, 123, 255, 0.15);
  position: relative;
}

.lightburn-technical-box::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  right: -20px;
  bottom: -20px;
  background: rgba(0, 123, 255, 0.03);
  z-index: -1;
  border-radius: 40px;
}

.lightburn-technical-box h2 {
  color: #1A2B3C !important;
}

.lightburn-page-wrapper .btn-outline-primary {
  border-width: 2px;
  border-radius: 10px;
  font-weight: 600;
  text-transform: none;
  padding: 0.6rem 1.5rem;
}

.lightburn-page-wrapper .btn-outline-primary.active {
  background-color: #007BFF;
  color: #FFFFFF;
  box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.accordion-item {
  border: 1px solid rgba(0, 123, 255, 0.1);
  border-radius: 12px !important;
  overflow: hidden;
}

.accordion-button:not(.collapsed) {
  background-color: #E1F0FF;
  color: #007BFF;
  box-shadow: none;
}

.accordion-button {
  font-size: 1rem;
  color: #1A2B3C;
}

@media (max-width: 768px) {
  .lightburn-page-wrapper h1 {
    font-size: 1.5rem;
  }
  .lightburn-page-wrapper h2 {
    font-size: 1.25rem;
  }
  .lightburn-card {
    margin-bottom: 1rem;
  }
}

/* ===== PAGE: contrast-vocabulary ===== */
.vocab-section { background-color: #F0F7FF; perspective: 1000px; overflow: hidden; }
.vocab-section .vocab-text-card, .vocab-section .vocab-image-card { background: #FFFFFF; border-radius: 24px; border: 1px solid rgba(0, 123, 255, 0.1); box-shadow: 0 10px 30px rgba(0, 40, 100, 0.08); transition: transform 0.4s ease, box-shadow 0.4s ease; position: relative; z-index: 1; }
.vocab-section .vocab-text-card:hover { transform: translateY(-8px) rotateX(2deg); box-shadow: 0 20px 40px rgba(0, 40, 100, 0.12); }
.vocab-section .vocab-main-heading { color: #1A2B3C; font-weight: 700; line-height: 1.2; font-size: 2.5rem; }
.vocab-section .vocab-lead-text { color: #50667F; font-size: 1.1rem; line-height: 1.6; }
.vocab-section .vocab-term-item { background: #F8FBFF; border: 1px solid rgba(0, 123, 255, 0.05); border-radius: 16px; transition: all 0.3s ease; height: 100%; }
.vocab-section .vocab-term-item:hover { background: #E1F0FF; transform: scale(1.02); }
.vocab-section .vocab-term-icon { color: #007BFF; font-size: 1.5rem; }
.vocab-section .vocab-term-item p { color: #50667F; line-height: 1.4; }
.vocab-section .vocab-info-box { background-color: #E1F0FF; color: #1A2B3C; border-radius: 12px; }
.vocab-section .vocab-image-card { overflow: hidden; transform-style: preserve-3d; }
.vocab-section .vocab-main-image { object-fit: cover; transition: transform 0.6s ease; min-height: 400px; }
.vocab-section .vocab-image-card:hover .vocab-main-image { transform: scale(1.05); }
.vocab-section .vocab-image-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 50%); border-radius: 24px; pointer-events: none; }
@media (max-width: 768px) {
  .vocab-section .vocab-main-heading { font-size: 18px !important; }
  .vocab-section .vocab-lead-text { font-size: 14px; }
  .vocab-section .vocab-term-item h3 { font-size: 14px !important; }
  .vocab-section .vocab-term-item p { font-size: 12px !important; }
  .vocab-section .vocab-main-image { min-height: 300px; }
}

/* ===== PAGE: edge-definition ===== */
.edge-def-section {
  background-color: #F0F7FF;
  overflow: hidden;
}

.edge-def-section .text-primary-dark {
  color: #1A2B3C !important;
}

.edge-def-section .text-secondary-dark {
  color: #50667F !important;
  line-height: 1.6;
}

.edge-def-section .text-accent {
  color: #007BFF !important;
}

.edge-def-section .bg-accent-soft {
  background-color: #E1F0FF !important;
}

.edge-def-section .border-light-blue {
  border-color: rgba(0, 123, 255, 0.1) !important;
}

.edge-def-section .perspective-container {
  perspective: 1200px;
  padding: 2rem;
}

.edge-def-section .edge-card-3d {
  position: relative;
  background: #FFFFFF;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.5s;
  transform-style: preserve-3d;
  aspect-ratio: 4/5;
}

.edge-def-section .edge-card-3d:hover {
  transform: translateZ(20px) rotateX(2deg) rotateY(-2deg);
  box-shadow: 0 30px 60px rgba(0, 40, 100, 0.15) !important;
}

.edge-def-section .edge-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.4));
  color: #FFFFFF;
}

.edge-def-section .glass-tag {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 0.875rem;
  font-weight: 500;
}

.edge-def-section .btn-primary {
  background-color: #007BFF;
  border: none;
  box-shadow: 0 10px 20px rgba(0, 123, 255, 0.2);
  transition: all 0.3s ease;
}

.edge-def-section .btn-primary:hover {
  background-color: #0056b3;
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(0, 123, 255, 0.3);
}

@media (max-width: 991.98px) {
  .edge-def-section .edge-card-3d {
    aspect-ratio: 16/9;
    margin-top: 2rem;
  }
  .edge-def-section .perspective-container {
    padding: 0;
  }
  .edge-def-section h1 {
    font-size: 1.75rem;
  }
}

/* ===== PAGE: surface-consistency ===== */
.sc-section {
    background-color: #F0F7FF;
    min-height: 600px;
    overflow: hidden;
}

.sc-section .sc-content-card {
    background: #FFFFFF;
    padding: clamp(2rem, 5vw, 3rem);
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 40, 100, 0.05);
    border: 1px solid rgba(0, 123, 255, 0.1);
}

.sc-section .sc-main-title {
    color: #1A2B3C;
    font-weight: 700;
    font-size: clamp(24px, 4vw, 36px);
    line-height: 1.2;
}

.sc-section .sc-subtitle {
    color: #007BFF;
    font-weight: 600;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
}

.sc-section .sc-lead {
    color: #50667F;
    font-size: 1.1rem;
    line-height: 1.7;
}

.sc-section .sc-icon-box {
    background: #E1F0FF;
    color: #007BFF;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.sc-section .sc-list li:hover .sc-icon-box {
    transform: scale(1.1);
}

.sc-section .sc-list strong {
    color: #1A2B3C;
    display: block;
    margin-bottom: 4px;
}

.sc-section .sc-list p {
    color: #50667F;
    font-size: 0.95rem;
}

.sc-section .sc-cta-box {
    background: linear-gradient(135deg, #007BFF 0%, #0056b3 100%);
    color: #FFFFFF;
    box-shadow: 0 8px 20px rgba(0, 123, 255, 0.2);
}

.sc-section .sc-cta-title {
    color: #FFFFFF !important;
    font-weight: 600;
}

.sc-section .sc-image-wrapper {
    position: relative;
    perspective: 1000px;
}

.sc-section .sc-image-wrapper img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.6s ease;
}

.sc-section .sc-image-overlay {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 2;
}

.sc-section .sc-image-overlay .badge {
    background: rgba(255, 255, 255, 0.9);
    color: #1A2B3C;
    padding: 10px 20px;
    font-weight: 600;
    backdrop-filter: blur(4px);
}

@media (max-width: 991px) {
    .sc-section .sc-image-wrapper img {
        height: 400px;
    }
}

@media (max-width: 767px) {
    .sc-section .sc-main-title {
        font-size: 22px;
    }
    .sc-section .sc-content-card {
        padding: 1.5rem;
    }
}

/* ===== PAGE: texture-observations ===== */
.texture-obs-section {
  background-color: #F0F7FF;
  font-family: 'Inter', sans-serif;
}

.texture-obs-section .texture-obs-content-card {
  background: #FFFFFF;
  border-radius: 24px;
  box-shadow: 0 10px 40px rgba(0, 40, 100, 0.08);
  border: 1px solid rgba(0, 123, 255, 0.05);
  position: relative;
  z-index: 2;
}

.texture-obs-section .texture-obs-image-container {
  position: relative;
  perspective: 1000px;
}

.texture-obs-section .texture-obs-floating-frame {
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
  transform-style: preserve-3d;
}

.texture-obs-section .texture-obs-floating-frame:hover {
  transform: translateY(-10px) rotateX(2deg) rotateY(-2deg);
}

.texture-obs-section .texture-obs-overlay-info {
  position: absolute;
  bottom: 20px;
  left: 20px;
  z-index: 5;
}

.texture-obs-section .texture-obs-feature-card {
  background: #FFFFFF;
  border-radius: 16px;
  border: 1px solid rgba(0, 123, 255, 0.1);
  box-shadow: 0 4px 20px rgba(0, 40, 100, 0.04);
  transition: all 0.4s ease;
}

.texture-obs-section .texture-obs-feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 40, 100, 0.12);
  border-color: #007BFF;
}

.texture-obs-section .feature-icon-wrapper {
  width: 50px;
  height: 50px;
  background: #E1F0FF;
  color: #007BFF;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.texture-obs-section .btn-primary {
  background-color: #007BFF;
  border: none;
  border-radius: 12px;
  padding: 12px 28px;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
  transition: all 0.3s ease;
}

.texture-obs-section .btn-primary:hover {
  background-color: #0069d9;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}

.texture-obs-section .list-group-item {
  border-color: rgba(0, 123, 255, 0.05);
  color: #1A2B3C;
}

.texture-obs-section .text-primary-emphasis {
  color: #1A2B3C !important;
}

.texture-obs-section .text-secondary-emphasis {
  color: #50667F !important;
}

/* ===== PAGE: visible-marks ===== */
.visible-marks-section { background-color: #F0F7FF; min-height: 60vh; display: flex; align-items: center; overflow: hidden; } .visible-marks-section .content-card { background: #FFFFFF; border-radius: 24px; box-shadow: 0 20px 40px rgba(0, 40, 100, 0.08); border: 1px solid rgba(0, 123, 255, 0.1); position: relative; z-index: 2; } .visible-marks-section .section-title { color: #1A2B3C; font-weight: 700; line-height: 1.2; } .visible-marks-section p { color: #50667F; line-height: 1.7; } .visible-marks-section .icon-wrapper { background: #E1F0FF; color: #007BFF; padding: 12px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; } .visible-marks-section .info-item h3 { color: #1A2B3C; font-weight: 600; } .visible-marks-section .cta-block { background: #F8FBFF; border-left: 4px solid #007BFF; } .visible-marks-section .image-container-3d { position: relative; perspective: 1000px; transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1); } .visible-marks-section .image-container-3d img { transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1); width: 100%; object-fit: cover; height: auto; display: block; } .visible-marks-section .image-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border-radius: 24px; background: linear-gradient(45deg, rgba(0, 123, 255, 0.1), transparent); pointer-events: none; } @media (max-width: 767px) { .visible-marks-section .section-title { font-size: 1.5rem; } .visible-marks-section .content-card { padding: 2rem !important; } .visible-marks-section .image-container-3d { margin-top: 2rem; } }

/* ===== PAGE: sample-comparisons ===== */
.sample-comparisons-section {
  background-color: #F0F7FF;
  overflow: hidden;
  position: relative;
}

.sample-comparisons-section .comparison-content-card {
  background: #FFFFFF;
  border-radius: 24px;
  box-shadow: 0 10px 40px rgba(0, 40, 100, 0.08);
  border: 1px solid rgba(0, 123, 255, 0.1);
  position: relative;
  z-index: 2;
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
}

.sample-comparisons-section .comparison-content-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0, 40, 100, 0.12);
}

.sample-comparisons-section h1 {
  color: #1A2B3C;
  line-height: 1.2;
}

.sample-comparisons-section .feature-icon-wrapper {
  width: 48px;
  height: 48px;
  background: #E1F0FF;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sample-comparisons-section .feature-icon-wrapper i {
  font-size: 24px;
}

.sample-comparisons-section .comparison-image-container {
  position: relative;
  padding: 20px;
}

.sample-comparisons-section .floating-image-wrapper {
  position: relative;
  z-index: 2;
  border-radius: 24px;
  overflow: hidden;
  transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
  transition: transform 0.5s ease;
}

.sample-comparisons-section .floating-image-wrapper:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.sample-comparisons-section .floating-image-wrapper img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
}

.sample-comparisons-section .image-overlay-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  z-index: 3;
}

.sample-comparisons-section .decorative-box {
  position: absolute;
  top: -10px;
  left: -10px;
  width: 100px;
  height: 100px;
  background: #007BFF;
  opacity: 0.1;
  border-radius: 16px;
  z-index: 1;
}

.sample-comparisons-section .info-alert-card {
  background: #E1F0FF;
  border-radius: 16px;
  border-left: 5px solid #007BFF;
  color: #1A2B3C;
}

@media (max-width: 768px) {
  .sample-comparisons-section .floating-image-wrapper img {
    height: 300px;
  }
  .sample-comparisons-section .floating-image-wrapper {
    transform: none !important;
  }
  .sample-comparisons-section h1 {
    font-size: 24px !important;
  }
}

/* ===== PAGE: acceptance-language ===== */
.acceptance-language-section {
  background-color: #F0F7FF;
  font-family: 'Inter', sans-serif;
  color: #1A2B3C;
}

.acceptance-language-section .text-primary-dark {
  color: #1A2B3C;
}

.acceptance-language-section .text-secondary-dark {
  color: #50667F;
}

.acceptance-language-section .content-card {
  background: #FFFFFF;
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(0, 40, 100, 0.05);
  position: relative;
  z-index: 2;
}

.acceptance-language-section .icon-box {
  width: 48px;
  height: 48px;
  background: #E1F0FF;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #007BFF;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.acceptance-language-section .image-container-3d {
  position: relative;
  transform: perspective(1000px) rotateY(-5deg);
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.acceptance-language-section .image-container-3d:hover {
  transform: perspective(1000px) rotateY(0deg) scale(1.02);
}

.acceptance-language-section .image-container-3d img {
  object-fit: cover;
  min-height: 400px;
  width: 100%;
}

.acceptance-language-section .glass-overlay {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  border: 1px solid rgba(0, 123, 255, 0.1);
  color: #007BFF;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.acceptance-language-section .info-card {
  background: #FFFFFF;
  border-radius: 16px;
  border: 1px solid rgba(0, 123, 255, 0.05);
  transition: all 0.4s ease;
  box-shadow: 0 4px 10px rgba(0, 40, 100, 0.03);
}

.acceptance-language-section .info-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 40, 100, 0.08);
}

.acceptance-language-section .bg-soft-primary {
  background-color: #E1F0FF;
}

.acceptance-language-section .ls-wide {
  letter-spacing: 0.1em;
}

.acceptance-language-section .btn-outline-primary {
  border-color: #007BFF;
  color: #007BFF;
}

.acceptance-language-section .btn-outline-primary.active {
  background-color: #007BFF !important;
  color: #FFFFFF !important;
}

.acceptance-language-section .js-content-item {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

@media (max-width: 767px) {
  .acceptance-language-section .display-5 {
    font-size: 1.8rem;
  }
  .acceptance-language-section .image-container-3d {
    transform: none !important;
  }
  .acceptance-language-section .content-card {
    padding: 2rem !important;
  }
}

/* ===== PAGE: courses ===== */
.catalog-list-section {
  background-color: #F0F7FF;
  font-family: 'Inter', sans-serif;
}

.catalog-list-section .bg-primary-soft {
  background-color: #E1F0FF;
}

.catalog-list-section .course-card {
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 10px 30px rgba(0, 40, 100, 0.05);
  position: relative;
  z-index: 1;
}

.catalog-list-section .course-card:hover {
  transform: translateY(-12px) rotateX(1deg) rotateY(1deg);
  box-shadow: 0 20px 40px rgba(0, 40, 100, 0.12);
}

.catalog-list-section .course-card-img {
  height: 200px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.catalog-list-section .course-card:hover .course-card-img {
  transform: scale(1.05);
}

.catalog-list-section .search-filter-wrapper {
  transition: box-shadow 0.3s ease;
}

.catalog-list-section .search-filter-wrapper:focus-within {
  box-shadow: 0 10px 25px rgba(0, 123, 255, 0.15) !important;
}

.catalog-list-section .btn-primary {
  background-color: #007BFF;
  box-shadow: 0 4px 10px rgba(0, 123, 255, 0.3);
  border: none;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.catalog-list-section .btn-primary:hover {
  background-color: #0069D9;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 123, 255, 0.4);
}

.catalog-list-section .btn-outline-primary {
  color: #007BFF !important;
  border: 2px solid #007BFF !important;
  border-radius: 12px;
  font-weight: 600;
  background-color: transparent;
  transition: all 0.3s ease;
}

.catalog-list-section .btn-outline-primary:hover {
  background-color: #007BFF;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 123, 255, 0.3);
}

.catalog-list-section .form-control:focus {
  background-color: #FFFFFF !important;
  box-shadow: none;
}

.catalog-list-section .modal-content {
  background-color: #FFFFFF;
}

.catalog-list-section .course-title {
  line-height: 1.3;
  min-height: 2.6em;
}

@media (max-width: 768px) {
  .catalog-list-section h1 {
    font-size: 24px;
  }
  .catalog-list-section .course-card-img {
    height: 180px;
  }
}

/* ===== PAGE: criteria ===== */
.criteria-section {
  background-color: #F0F7FF;
  min-height: 800px;
}

.criteria-section .criteria-main-title {
  color: #1A2B3C;
  font-weight: 700;
  letter-spacing: -0.5px;
}

@media (max-width: 767.98px) {
  .criteria-section .criteria-main-title {
    font-size: 18px !important;
  }
}

.criteria-section .criteria-lead {
  color: #50667F;
  font-size: 1.1rem;
  line-height: 1.6;
}

.criteria-section .search-container .form-control {
  background-color: #FFFFFF;
  border: 1px solid rgba(0, 123, 255, 0.1);
  border-radius: 12px;
  padding-left: 1.5rem;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.criteria-section .search-container .form-control:focus {
  box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.15);
  border-color: #007BFF;
}

.criteria-section .search-container .form-control::placeholder {
  color: #50667F;
  opacity: 0.6;
}

.criteria-section .criteria-card {
  border: none;
  border-radius: 20px;
  background: #FFFFFF;
  box-shadow: 0 10px 30px rgba(0, 40, 100, 0.05);
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
  transform-style: preserve-3d;
  perspective: 1000px;
  overflow: hidden;
}

.criteria-section .criteria-card:hover {
  transform: translateY(-8px) rotateX(1deg) rotateY(1deg);
  box-shadow: 0 20px 50px rgba(0, 70, 150, 0.12);
}

.criteria-section .criteria-img {
  height: 220px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.criteria-section .criteria-card:hover .criteria-img {
  transform: scale(1.08);
}

.criteria-section .criteria-badge {
  background-color: #E1F0FF;
  color: #007BFF;
  font-weight: 600;
  padding: 0.5em 1em;
  border-radius: 6px;
}

.criteria-section .criteria-card-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

@media (max-width: 767.98px) {
  .criteria-section .criteria-card-title {
    font-size: 14px !important;
  }
}

.criteria-section .criteria-card-title a {
  color: #1A2B3C;
  text-decoration: none;
  transition: color 0.3s ease;
}

.criteria-section .criteria-card-title a:hover {
  color: #007BFF;
}

.criteria-section .criteria-btn {
  background-color: #007BFF;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  padding: 8px 16px;
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.criteria-section .criteria-btn:hover {
  background-color: #0056b3;
  transform: translateZ(10px);
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.criteria-section .card-text {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.5;
  font-size: 0.95rem;
}

/* ===== PAGE: blog ===== */
.blog-posts-section {
  background-color: #F0F7FF;
  font-family: 'Inter', sans-serif;
  perspective: 1000px;
}

.blog-posts-section .blog-posts-section__heading {
  color: #1A2B3C;
  letter-spacing: -0.02em;
}

.blog-posts-section .blog-posts-section__lead {
  color: #50667F !important;
  max-width: 600px;
}

.blog-posts-section .blog-posts-section__card {
  background-color: #FFFFFF;
  border-radius: 20px !important;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  transform-style: preserve-3d;
  overflow: hidden;
}

.blog-posts-section .blog-posts-section__card:hover {
  transform: translateY(-8px) rotateX(2deg) rotateY(1deg);
  box-shadow: 0 20px 40px rgba(0, 40, 100, 0.12) !important;
}

.blog-posts-section .blog-posts-section__img {
  height: 240px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.blog-posts-section .blog-posts-section__card:hover .blog-posts-section__img {
  transform: scale(1.08);
}

.blog-posts-section .blog-posts-section__title {
  color: #1A2B3C;
  line-height: 1.3;
  transition: color 0.3s ease;
}

.blog-posts-section .blog-posts-section__title:hover {
  color: #007BFF;
}

.blog-posts-section .blog-posts-section__meta {
  font-size: 0.85rem;
  color: #50667F;
  font-weight: 500;
}

.blog-posts-section .blog-posts-section__meta i {
  color: #007BFF;
}

.blog-posts-section .blog-posts-section__btn {
  background-color: #007BFF !important;
  border: none;
  border-radius: 12px;
  padding: 12px 24px;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(0, 123, 255, 0.25);
  transition: all 0.3s ease;
}

.blog-posts-section .blog-posts-section__btn:hover {
  background-color: #0056b3 !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 123, 255, 0.35);
}

.blog-posts-section .blog-posts-section__search-wrap .form-control {
  height: 48px;
  border-radius: 0 12px 12px 0 !important;
  color: #1A2B3C;
}

.blog-posts-section .blog-posts-section__search-wrap .input-group-text {
  border-radius: 12px 0 0 12px !important;
  color: #007BFF;
}

.blog-posts-section .blog-posts-section__search-wrap .form-control::placeholder {
  color: #A0B3C9 !important;
}

.blog-posts-section .dropdown .btn-white {
  height: 48px;
  border-radius: 12px;
  border: none;
  font-weight: 600;
  color: #1A2B3C;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-posts-section .dropdown-menu {
  border-radius: 16px;
  padding: 10px;
}

.blog-posts-section .dropdown-item {
  border-radius: 8px;
  padding: 8px 16px;
  color: #50667F;
  font-weight: 500;
  transition: all 0.2s ease;
}

.blog-posts-section .dropdown-item:hover {
  background-color: #E1F0FF;
  color: #007BFF;
}

@media (max-width: 768px) {
  .blog-posts-section .blog-posts-section__heading {
    font-size: 1.75rem;
  }
  .blog-posts-section .blog-posts-section__img {
    height: 200px;
  }
}

/* ===== PAGE: contact ===== */
.contact-section {
  background-color: #F0F7FF;
  perspective: 1000px;
}

.contact-section .contact-card {
  background: #FFFFFF;
  border-radius: 20px;
  border: 1px solid rgba(0, 123, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 40, 100, 0.08);
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
  height: 100%;
}

.contact-section .contact-card:hover {
  transform: translateY(-8px) rotateX(1deg) rotateY(-1deg);
  box-shadow: 0 20px 50px rgba(0, 40, 100, 0.15);
}

.contact-section .contact-heading {
  color: #1A2B3C;
  font-weight: 700;
  font-size: 1.5rem;
}

.contact-section .contact-subtext {
  color: #50667F;
  font-size: 0.95rem;
}

.contact-section .icon-circle {
  width: 48px;
  height: 48px;
  background-color: #E1F0FF;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #007BFF;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.contact-section .detail-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #50667F;
  font-weight: 600;
  margin-bottom: 2px;
}

.contact-section .detail-value {
  color: #1A2B3C;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-section a.detail-value:hover {
  color: #007BFF;
}

.contact-section .form-outline .form-control {
  background-color: #F8FBFF;
  border-radius: 10px;
  border: 1px solid rgba(0, 123, 255, 0.1);
}

.contact-section .form-outline .form-label {
  color: #50667F;
}

.contact-section .btn-primary {
  background-color: #007BFF;
  border: none;
  border-radius: 12px;
  padding: 1rem;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
  transition: all 0.4s ease;
}

.contact-section .btn-primary:hover {
  background-color: #0056b3;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}

.contact-section .success-icon {
  font-size: 5rem;
  color: #00C851;
}

.contact-section .avatar-box img {
  border: 3px solid #E1F0FF;
  padding: 2px;
}

@media (max-width: 767.98px) {
  .contact-section .contact-heading {
    font-size: 1.25rem;
  }
  .contact-section .contact-card {
    padding: 1.5rem !important;
  }
  .contact-section .icon-circle {
    width: 40px;
    height: 40px;
    font-size: 1.25rem;
  }
}

/* ===== PAGE: privacy ===== */
.legal-section { background-color: #F0F7FF; min-height: 80vh; }
.legal-section .legal-content-card { background: #FFFFFF; border-radius: 24px; border: 1px solid rgba(0, 123, 255, 0.1); box-shadow: 0 20px 40px rgba(0, 40, 100, 0.08); padding: 40px; transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1); }
.legal-section .legal-content-card:hover { transform: translateY(-5px); }
.legal-section .icon-box { width: 80px; height: 80px; background: #E1F0FF; color: #007BFF; display: flex; align-items: center; justify-content: center; border-radius: 50%; font-size: 2.5rem; }
.legal-section .text-primary-dark { color: #1A2B3C; }
.legal-section .legal-toc-wrapper { background: #F8FBFF; border-radius: 16px; border-left: 4px solid #007BFF; }
.legal-section .js-toc-list a { color: #50667F; text-decoration: none; transition: color 0.3s ease, transform 0.3s ease; font-weight: 500; }
.legal-section .js-toc-list a:hover { color: #007BFF; transform: translateX(5px); }
.legal-section h2 { color: #1A2B3C; font-weight: 700; margin-top: 2rem; margin-bottom: 1.25rem; border-bottom: 2px solid #E1F0FF; padding-bottom: 0.5rem; }
.legal-section .legal-body-text p { color: #50667F; line-height: 1.8; margin-bottom: 1.5rem; }
.legal-section .legal-body-text ul { color: #50667F; line-height: 1.8; margin-bottom: 1.5rem; }
.legal-section .legal-body-text li { margin-bottom: 0.75rem; }
.legal-section .data-info-card { background: #FFFFFF; border: 1px solid rgba(0, 123, 255, 0.05); padding: 24px; border-radius: 16px; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02); transition: box-shadow 0.3s ease; }
.legal-section .data-info-card:hover { box-shadow: 0 10px 20px rgba(0, 123, 255, 0.1); }
.legal-section .data-info-card i { font-size: 2rem; color: #007BFF; margin-bottom: 1rem; display: block; }
.legal-section .data-info-card h5 { color: #1A2B3C; font-weight: 600; margin-bottom: 0.5rem; }
.legal-section .contact-details-box { background: #F0F7FF; border-radius: 12px; border: 1px dashed #007BFF; color: #1A2B3C; }
@media (max-width: 767.98px) {
  .legal-section .legal-content-card { padding: 24px; border-radius: 16px; }
  .legal-section h1 { font-size: 1.75rem; }
  .legal-section h2 { font-size: 1.4rem; }
}

/* ===== PAGE: terms ===== */
.legal-content-section {
  background-color: #F0F7FF;
  min-height: 100vh;
  position: relative;
  z-index: 1;
}

.legal-content-section .legal-card {
  background-color: #FFFFFF;
  border-radius: 24px;
  border: 1px solid rgba(0, 123, 255, 0.08);
  box-shadow: 0 10px 30px rgba(0, 40, 100, 0.05);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.legal-content-section .legal-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 40, 100, 0.08);
}

.legal-content-section .legal-nav-card {
  background-color: #FFFFFF;
  border-radius: 24px;
  border: 1px solid rgba(0, 123, 255, 0.1);
  box-shadow: 0 8px 24px rgba(0, 40, 100, 0.06);
}

.legal-content-section .legal-nav-link {
  color: #50667F;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 8px 12px;
  border-radius: 12px;
  display: block;
  transition: all 0.3s ease;
}

.legal-content-section .legal-nav-link:hover {
  color: #007BFF;
  background-color: #E1F0FF;
  padding-left: 18px;
}

.legal-content-section .legal-nav-link.active {
  color: #FFFFFF;
  background-color: #007BFF;
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.legal-content-section .sticky-top {
  top: 100px;
}

.legal-content-section h2 {
  position: relative;
  color: #1A2B3C !important;
}

.legal-content-section h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 40px;
  height: 3px;
  background: #007BFF;
  border-radius: 2px;
}

.legal-content-section .text-secondary {
  color: #50667F !important;
  line-height: 1.7;
}

.legal-content-section .btn-primary {
  background-color: #007BFF !important;
  border-color: #007BFF !important;
  color: #FFFFFF !important;
  font-weight: 600;
  transition: all 0.4s ease;
}

.legal-content-section .btn-primary:hover {
  background-color: #0056b3 !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 123, 255, 0.2) !important;
}

.legal-content-section .btn-outline-primary {
  border: 2px solid #007BFF !important;
  color: #007BFF !important;
  font-weight: 600;
  transition: all 0.4s ease;
}

.legal-content-section .btn-outline-primary:hover {
  background-color: #E1F0FF !important;
  color: #007BFF !important;
  transform: translateY(-2px);
}

.legal-content-section .alert-info {
  background-color: #E1F0FF !important;
  color: #1A2B3C !important;
}

@media (max-width: 991px) {
  .legal-content-section .legal-card {
    padding: 2rem !important;
  }
  .legal-content-section h2 {
    font-size: 1.25rem;
  }
}

/* ===== PAGE: disclaimer ===== */
.legal-content-section {
  background-color: #F0F7FF;
  font-family: 'Inter', sans-serif;
  color: #1A2B3C;
  perspective: 1000px;
}

.legal-content-section .legal-card-3d {
  background: #FFFFFF;
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(0, 40, 100, 0.08), 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
  border: 1px solid rgba(0, 123, 255, 0.1);
  overflow: hidden;
  position: relative;
}

.legal-content-section .legal-card-3d:hover {
  transform: translateY(-10px) rotateX(2deg);
  box-shadow: 0 30px 60px rgba(0, 40, 100, 0.12);
}

.legal-content-section .legal-header-decoration {
  height: 8px;
  background: linear-gradient(90deg, #007BFF, #E1F0FF);
  position: relative;
}

.legal-content-section .legal-header-decoration i {
  position: absolute;
  top: 20px;
  right: 40px;
  font-size: 3rem;
  opacity: 0.1;
}

.legal-content-section .legal-title {
  font-weight: 700;
  color: #1A2B3C;
  font-size: clamp(1.75rem, 5vw, 2.5rem);
}

.legal-content-section .last-updated {
  color: #50667F;
  font-size: 0.9rem;
  border-bottom: 1px solid #E1F0FF;
  padding-bottom: 1rem;
  display: inline-block;
}

.legal-content-section .legal-subtitle {
  color: #1A2B3C;
  font-weight: 600;
  font-size: 1.25rem;
}

.legal-content-section .legal-subtitle i {
  color: #007BFF;
}

.legal-content-section .legal-text {
  line-height: 1.8;
  color: #50667F;
}

.legal-content-section .legal-link-card {
  display: block;
  background: #FFFFFF;
  border-radius: 16px;
  border: 1px solid rgba(0, 123, 255, 0.1);
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 40, 100, 0.04);
}

.legal-content-section .legal-link-card:hover {
  transform: translateY(-5px);
  border-color: #007BFF;
  box-shadow: 0 12px 24px rgba(0, 40, 100, 0.08);
}

.legal-content-section .legal-link-card h3 {
  color: #1A2B3C;
  font-weight: 600;
}

.legal-content-section .legal-link-card p {
  color: #50667F;
}

@media (max-width: 768px) {
  .legal-content-section .legal-body {
    padding: 2rem 1.5rem !important;
  }
  .legal-content-section .legal-title {
    font-size: 1.5rem;
  }
}

.main-comment-card {
    background: #FFFFFF;
    border: 1px solid rgba(0, 123, 255, 0.1);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(0, 40, 100, 0.04), 0 2px 10px rgba(0, 40, 100, 0.02);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, box-shadow;
    position: relative;
    max-width: 700px;
    margin-bottom: 20px;
}

.main-comment-card:hover {
    transform: translateY(-6px) translateZ(0);
    box-shadow: 0 20px 40px rgba(0, 40, 100, 0.08), 0 4px 15px rgba(0, 123, 255, 0.06);
}

.comment-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.comment-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #E1F0FF;
    box-shadow: 0 4px 10px rgba(0, 40, 100, 0.05);
}

.comment-meta {
    display: flex;
    flex-direction: column;
}

.comment-author-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.comment-author-name {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: #1A2B3C;
}

.comment-badge {
    background-color: #E1F0FF;
    color: #007BFF;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.comment-time {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: #50667F;
    margin-top: 2px;
}

.comment-body {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: #1A2B3C;
    margin-bottom: 20px;
}

.comment-footer {
    display: flex;
    align-items: center;
    gap: 12px;
}

.comment-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #FFFFFF;
    border: 1px solid rgba(0, 123, 255, 0.1);
    padding: 8px 16px;
    border-radius: 30px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #50667F;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 40, 100, 0.02);
}

.comment-action-btn:hover {
    background: #E1F0FF;
    color: #007BFF;
    border-color: rgba(0, 123, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.1);
}

.comment-action-btn.active {
    background: #E1F0FF;
    color: #007BFF;
    border-color: rgba(0, 123, 255, 0.3);
    font-weight: 600;
}

.comment-action-btn i {
    font-size: 16px;
}

.reply-comment-wrapper {
    position: relative;
    padding-left: 48px;
    margin-top: 12px;
    max-width: 700px;
}

.reply-connector-line {
    position: absolute;
    left: 20px;
    top: -20px;
    bottom: 24px;
    width: 2px;
    background: rgba(0, 123, 255, 0.15);
    border-radius: 1px;
}

.reply-comment-card {
    background: #FFFFFF;
    border: 1px solid rgba(0, 123, 255, 0.08);
    border-radius: 18px;
    padding: 20px;
    box-shadow: 0 8px 24px rgba(0, 40, 100, 0.03), 0 2px 6px rgba(0, 40, 100, 0.01);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, box-shadow;
}

.reply-comment-card:hover {
    transform: translateY(-4px) translateZ(0);
    box-shadow: 0 16px 32px rgba(0, 40, 100, 0.06), 0 4px 12px rgba(0, 123, 255, 0.04);
}

.reply-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #E1F0FF;
}

.reply-indicator-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: #50667F;
    font-weight: 500;
}

.reply-indicator-tag i {
    color: #007BFF;
    font-size: 14px;
}

.reply-comment-card .comment-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.reply-comment-card .comment-meta {
    display: flex;
    flex-direction: column;
}

.reply-comment-card .comment-author-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.reply-comment-card .comment-author-name {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 15px;
    color: #1A2B3C;
}

.reply-comment-card .comment-time {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: #50667F;
    margin-top: 1px;
}

.reply-comment-card .comment-body {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 1.55;
    color: #1A2B3C;
    margin-bottom: 16px;
}

.reply-comment-card .comment-footer {
    display: flex;
    align-items: center;
    gap: 10px;
}

.reply-comment-card .comment-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #FFFFFF;
    border: 1px solid rgba(0, 123, 255, 0.08);
    padding: 6px 12px;
    border-radius: 30px;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 500;
    color: #50667F;
    cursor: pointer;
    transition: all 0.3s ease;
}

.reply-comment-card .comment-action-btn:hover {
    background: #E1F0FF;
    color: #007BFF;
    border-color: rgba(0, 123, 255, 0.2);
    transform: translateY(-2px);
}

.reply-comment-card .comment-action-btn.active {
    background: #E1F0FF;
    color: #007BFF;
    border-color: rgba(0, 123, 255, 0.3);
}


/* ===== PAGE TEMPLATE: courses ===== */
.surface-header .navbar {
    background-color: #FFFFFF !important;
    border-bottom: 1px solid rgba(0, 123, 255, 0.1);
    z-index: 1050;
}

.surface-header .nav-link {
    color: #1A2B3C !important;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.surface-header .nav-link:hover {
    color: #007BFF !important;
    transform: translateY(-1px);
}

.surface-header .dropdown-toggle::after {
    border: none;
    font-family: 'Phosphor';
    content: '\e0e0';
    vertical-align: middle;
    margin-left: 0.4rem;
    font-size: 0.8rem;
}

.surface-header .dropdown-menu {
    border-radius: 16px;
    padding: 0.75rem;
    min-width: 220px;
    border: 1px solid rgba(0, 123, 255, 0.05);
}

.surface-header .dropdown-item {
    border-radius: 8px;
    color: #50667F;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.surface-header .dropdown-item:hover {
    background-color: #E1F0FF;
    color: #007BFF;
}

.surface-header .btn-primary {
    background-color: #007BFF !important;
    border: none;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

.surface-header .btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 123, 255, 0.25) !important;
}

@media (max-width: 991.98px) {
    .surface-header .nav-link {
        padding: 0.75rem 0;
        font-size: 0.9rem;
    }

    .surface-header .dropdown-menu {
        box-shadow: none !important;
        border: none;
        padding-left: 1rem;
        background-color: #F8FBFF;
    }

    .surface-header .navbar-collapse {
        padding-top: 1rem;
        padding-bottom: 1rem;
    }
}

.surface-footer {
    background-color: #F0F7FF;
    border-top: 1px solid rgba(0, 123, 255, 0.1);
    color: #1A2B3C;
    font-family: 'Inter', sans-serif;
}

.surface-footer .footer-logo {
    max-width: 50px;
    height: auto;
    transition: transform 0.3s ease;
}

.surface-footer .footer-logo:hover {
    transform: scale(1.05);
}

.surface-footer .footer-title {
    color: #1A2B3C;
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.surface-footer .footer-description {
    color: #50667F;
    font-size: 0.9rem;
    line-height: 1.6;
}

.surface-footer .footer-heading {
    color: #1A2B3C;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
}

.surface-footer .footer-links li {
    margin-bottom: 0.75rem;
}

.surface-footer .footer-links a {
    color: #50667F;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.surface-footer .footer-links a:hover {
    color: #007BFF;
    padding-left: 5px;
}

.surface-footer .contact-list i {
    color: #007BFF;
    font-size: 1.2rem;
    margin-top: 2px;
}

.surface-footer .contact-list a {
    color: #50667F;
    text-decoration: none;
    transition: color 0.3s ease;
}

.surface-footer .contact-list a:hover {
    color: #007BFF;
}

.surface-footer .contact-list span {
    color: #50667F;
    font-size: 0.95rem;
}

.surface-footer .footer-divider {
    border-color: rgba(0, 123, 255, 0.1);
    opacity: 1;
}

.surface-footer .copyright-text {
    color: #50667F;
    font-size: 0.85rem;
}

@media (max-width: 767.98px) {
    .surface-footer .footer-heading {
        margin-bottom: 1rem;
        margin-top: 1rem;
    }

    .surface-footer .footer-links li {
        margin-bottom: 0.5rem;
    }

    .surface-footer .text-center {
        text-align: left !important;
    }
}

.course-hero-block {
    background: linear-gradient(135deg, #1A2B3C 0%, #0056b3 100%);
    position: relative;
}

.course-hero-block::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 123, 255, 0.15) 0%, transparent 60%);
    z-index: 1;
    pointer-events: none;
}

.course-detail-container {
    background-color: #F0F7FF !important;
    font-family: 'Inter', sans-serif;
}

.course-detail-container h2 {
    color: #1A2B3C !important;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
}

.course-detail-container h3 {
    color: #1A2B3C !important;
    font-size: 1.4rem;
}

.course-detail-container h4 {
    color: #1A2B3C !important;
    font-size: 1.15rem;
}

.course-detail-container .js-course-tabs .nav-link {
    background-color: transparent;
    color: #50667F;
    border: 1px solid rgba(0, 123, 255, 0.1);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.course-detail-container .js-course-tabs .nav-link.active {
    background-color: #007BFF !important;
    color: #FFFFFF !important;
    border-color: #007BFF !important;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.2);
}

.course-detail-container .js-course-tabs .nav-link:hover:not(.active) {
    background-color: #E1F0FF;
    color: #007BFF;
}

.course-detail-container .js-faq-item {
    border: 1px solid rgba(0, 123, 255, 0.1) !important;
    border-radius: 12px !important;
    background-color: #FFFFFF;
}

.course-detail-container .js-faq-btn {
    box-shadow: none !important;
    border: none !important;
    transition: background-color 0.3s ease;
}

.course-detail-container .js-faq-btn:not(.collapsed) {
    background-color: #F8FBFF !important;
    color: #007BFF !important;
}

.course-detail-container .faq-icon {
    transition: transform 0.3s ease;
}

.course-detail-container .main-comment-card {
    background: #FFFFFF;
    border: 1px solid rgba(0, 123, 255, 0.08);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 40, 100, 0.03);
}

.course-detail-container .comment-header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.course-detail-container .comment-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.course-detail-container .comment-meta {
    display: flex;
    flex-direction: column;
}

.course-detail-container .comment-author-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.course-detail-container .comment-author-name {
    font-weight: 600;
    color: #1A2B3C;
}

.course-detail-container .comment-badge {
    background-color: #E1F0FF;
    color: #007BFF;
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    font-weight: 500;
}

.course-detail-container .comment-time {
    color: #50667F;
    font-size: 0.8rem;
    margin-top: 0.25rem;
}

.course-detail-container .comment-body {
    margin-top: 1rem;
    color: #50667F;
    line-height: 1.6;
}

.course-detail-container .comment-footer {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    border-top: 1px solid rgba(0, 123, 255, 0.05);
    padding-top: 0.75rem;
}

.course-detail-container .comment-action-btn {
    background: none;
    border: none;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    color: #50667F;
    font-size: 0.85rem;
    transition: all 0.2s ease;
    cursor: pointer;
}

.course-detail-container .comment-action-btn:hover,
.course-detail-container .comment-action-btn.active {
    color: #007BFF;
}

.course-detail-container .reply-comment-wrapper {
    position: relative;
    padding-left: 2.5rem;
}

.course-detail-container .reply-connector-line {
    position: absolute;
    left: 1.25rem;
    top: 0;
    bottom: 1.5rem;
    width: 2px;
    background-color: rgba(0, 123, 255, 0.1);
}

.course-detail-container .reply-comment-card {
    background: #F8FBFF;
    border: 1px solid rgba(0, 123, 255, 0.05);
    border-radius: 12px;
    padding: 1.25rem;
}

.course-detail-container .reply-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.course-detail-container .reply-indicator-tag {
    font-size: 0.75rem;
    color: #007BFF;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    background: rgba(0, 123, 255, 0.05);
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
}

.course-detail-container .form-control,
.course-detail-container .form-select {
    background-color: #FFFFFF !important;
    border: 1px solid rgba(0, 123, 255, 0.25) !important;
    color: #1A2B3C !important;
}

.course-detail-container .form-control:focus,
.course-detail-container .form-select:focus {
    border-color: #007BFF !important;
    box-shadow: 0 0 0 0.25rem rgba(0, 123, 255, 0.15) !important;
}

.course-detail-container .form-control::placeholder {
    color: #50667F !important;
    opacity: 0.8;
}

@media (max-width: 767.98px) {
    .course-hero-block h1 {
        font-size: 18px !important;
    }

    .course-detail-container h2 {
        font-size: 16px !important;
    }

    .course-detail-container h3 {
        font-size: 14px !important;
    }

    .course-detail-container h4 {
        font-size: 13px !important;
    }

    .course-detail-container h5 {
        font-size: 12px !important;
    }
}

@media (min-width: 992px) {
    .course-detail-container .sidebar-sticky {
        position: sticky;
        top: 100px;
    }
}

/* ===== PAGE TEMPLATE: criteria ===== */
.surface-header .navbar {
    background-color: #FFFFFF !important;
    border-bottom: 1px solid rgba(0, 123, 255, 0.1);
    z-index: 1050;
}

.surface-header .nav-link {
    color: #1A2B3C !important;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.surface-header .nav-link:hover {
    color: #007BFF !important;
    transform: translateY(-1px);
}

.surface-header .dropdown-toggle::after {
    border: none;
    font-family: 'Phosphor';
    content: '\e0e0';
    vertical-align: middle;
    margin-left: 0.4rem;
    font-size: 0.8rem;
}

.surface-header .dropdown-menu {
    border-radius: 16px;
    padding: 0.75rem;
    min-width: 220px;
    border: 1px solid rgba(0, 123, 255, 0.05);
}

.surface-header .dropdown-item {
    border-radius: 8px;
    color: #50667F;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.surface-header .dropdown-item:hover {
    background-color: #E1F0FF;
    color: #007BFF;
}

.surface-header .btn-primary {
    background-color: #007BFF !important;
    border: none;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

.surface-header .btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 123, 255, 0.25) !important;
}

@media (max-width: 991.98px) {
    .surface-header .nav-link {
        padding: 0.75rem 0;
        font-size: 0.9rem;
    }

    .surface-header .dropdown-menu {
        box-shadow: none !important;
        border: none;
        padding-left: 1rem;
        background-color: #F8FBFF;
    }

    .surface-header .navbar-collapse {
        padding-top: 1rem;
        padding-bottom: 1rem;
    }
}

.surface-footer {
    background-color: #F0F7FF;
    border-top: 1px solid rgba(0, 123, 255, 0.1);
    color: #1A2B3C;
    font-family: 'Inter', sans-serif;
}

.surface-footer .footer-logo {
    max-width: 50px;
    height: auto;
    transition: transform 0.3s ease;
}

.surface-footer .footer-logo:hover {
    transform: scale(1.05);
}

.surface-footer .footer-title {
    color: #1A2B3C;
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.surface-footer .footer-description {
    color: #50667F;
    font-size: 0.9rem;
    line-height: 1.6;
}

.surface-footer .footer-heading {
    color: #1A2B3C;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
}

.surface-footer .footer-links li {
    margin-bottom: 0.75rem;
}

.surface-footer .footer-links a {
    color: #50667F;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.surface-footer .footer-links a:hover {
    color: #007BFF;
    padding-left: 5px;
}

.surface-footer .contact-list i {
    color: #007BFF;
    font-size: 1.2rem;
    margin-top: 2px;
}

.surface-footer .contact-list a {
    color: #50667F;
    text-decoration: none;
    transition: color 0.3s ease;
}

.surface-footer .contact-list a:hover {
    color: #007BFF;
}

.surface-footer .contact-list span {
    color: #50667F;
    font-size: 0.95rem;
}

.surface-footer .footer-divider {
    border-color: rgba(0, 123, 255, 0.1);
    opacity: 1;
}

.surface-footer .copyright-text {
    color: #50667F;
    font-size: 0.85rem;
}

@media (max-width: 767.98px) {
    .surface-footer .footer-heading {
        margin-bottom: 1rem;
        margin-top: 1rem;
    }

    .surface-footer .footer-links li {
        margin-bottom: 0.5rem;
    }

    .surface-footer .text-center {
        text-align: left !important;
    }
}

.criteria-detail-page {
    background-color: #F0F7FF;
    padding-bottom: 3rem;
}

.criteria-detail-page .criteria-article-body h2 {
    font-size: 1.25rem;
    color: #1A2B3C !important;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.criteria-detail-page .criteria-article-body p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #50667F;
}

.criteria-detail-page .criteria-checklist li {
    font-size: 0.925rem;
    line-height: 1.5;
}

.criteria-detail-page .sidebar-card {
    border-radius: 16px;
    border: 1px solid rgba(0, 123, 255, 0.1);
    background-color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(0, 40, 100, 0.03);
}

.criteria-detail-page .main-comment-card {
    background-color: #FFFFFF;
    border: 1px solid rgba(0, 123, 255, 0.1);
    border-radius: 16px;
    padding: 1.25rem;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 40, 100, 0.04);
}

.criteria-detail-page .comment-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.criteria-detail-page .comment-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
}

.criteria-detail-page .comment-meta {
    display: flex;
    flex-direction: column;
}

.criteria-detail-page .comment-author-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.criteria-detail-page .comment-author-name {
    font-weight: 600;
    font-size: 0.95rem;
    color: #1A2B3C;
}

.criteria-detail-page .comment-badge {
    background-color: #E1F0FF;
    color: #007BFF;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.15rem 0.5rem;
    border-radius: 12px;
}

.criteria-detail-page .comment-time {
    font-size: 0.75rem;
    color: #50667F;
}

.criteria-detail-page .comment-body {
    font-size: 0.925rem;
    color: #50667F;
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.criteria-detail-page .comment-footer {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.criteria-detail-page .comment-action-btn {
    background: none;
    border: none;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.85rem;
    color: #50667F;
    cursor: pointer;
    transition: color 0.2s ease;
}

.criteria-detail-page .comment-action-btn:hover {
    color: #007BFF;
}

.criteria-detail-page .comment-action-btn.active {
    color: #007BFF;
    font-weight: 600;
}

.criteria-detail-page .reply-comment-wrapper {
    position: relative;
    padding-left: 2.5rem;
    display: flex;
    flex-direction: column;
}

.criteria-detail-page .reply-connector-line {
    position: absolute;
    left: 1.25rem;
    top: -1rem;
    bottom: 1.5rem;
    width: 2px;
    background-color: rgba(0, 123, 255, 0.15);
}

.criteria-detail-page .reply-comment-card {
    background-color: #F8FBFF;
    border: 1px solid rgba(0, 123, 255, 0.08);
    border-radius: 16px;
    padding: 1rem;
    box-shadow: 0 2px 8px rgba(0, 40, 100, 0.02);
}

.criteria-detail-page .reply-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}

.criteria-detail-page .reply-indicator-tag {
    font-size: 0.75rem;
    color: #50667F;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.criteria-detail-page .form-control {
    background-color: #FFFFFF;
    border: 1px solid rgba(0, 123, 255, 0.15);
    color: #1A2B3C;
    border-radius: 8px;
}

.criteria-detail-page .form-control:focus {
    background-color: #FFFFFF;
    border-color: #007BFF;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
    color: #1A2B3C;
}

/* ===== PAGE TEMPLATE: blog ===== */
.surface-header .navbar {
    background-color: #FFFFFF !important;
    border-bottom: 1px solid rgba(0, 123, 255, 0.1);
    z-index: 1050;
}

.surface-header .nav-link {
    color: #1A2B3C !important;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.surface-header .nav-link:hover {
    color: #007BFF !important;
    transform: translateY(-1px);
}

.surface-header .dropdown-toggle::after {
    border: none;
    font-family: 'Phosphor';
    content: '\e0e0';
    vertical-align: middle;
    margin-left: 0.4rem;
    font-size: 0.8rem;
}

.surface-header .dropdown-menu {
    border-radius: 16px;
    padding: 0.75rem;
    min-width: 220px;
    border: 1px solid rgba(0, 123, 255, 0.05);
}

.surface-header .dropdown-item {
    border-radius: 8px;
    color: #50667F;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.surface-header .dropdown-item:hover {
    background-color: #E1F0FF;
    color: #007BFF;
}

.surface-header .btn-primary {
    background-color: #007BFF !important;
    border: none;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

.surface-header .btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 123, 255, 0.25) !important;
}

@media (max-width: 991.98px) {
    .surface-header .nav-link {
        padding: 0.75rem 0;
        font-size: 0.9rem;
    }

    .surface-header .dropdown-menu {
        box-shadow: none !important;
        border: none;
        padding-left: 1rem;
        background-color: #F8FBFF;
    }

    .surface-header .navbar-collapse {
        padding-top: 1rem;
        padding-bottom: 1rem;
    }
}

.surface-footer {
    background-color: #F0F7FF;
    border-top: 1px solid rgba(0, 123, 255, 0.1);
    color: #1A2B3C;
    font-family: 'Inter', sans-serif;
}

.surface-footer .footer-logo {
    max-width: 50px;
    height: auto;
    transition: transform 0.3s ease;
}

.surface-footer .footer-logo:hover {
    transform: scale(1.05);
}

.surface-footer .footer-title {
    color: #1A2B3C;
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.surface-footer .footer-description {
    color: #50667F;
    font-size: 0.9rem;
    line-height: 1.6;
}

.surface-footer .footer-heading {
    color: #1A2B3C;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
}

.surface-footer .footer-links li {
    margin-bottom: 0.75rem;
}

.surface-footer .footer-links a {
    color: #50667F;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.surface-footer .footer-links a:hover {
    color: #007BFF;
    padding-left: 5px;
}

.surface-footer .contact-list i {
    color: #007BFF;
    font-size: 1.2rem;
    margin-top: 2px;
}

.surface-footer .contact-list a {
    color: #50667F;
    text-decoration: none;
    transition: color 0.3s ease;
}

.surface-footer .contact-list a:hover {
    color: #007BFF;
}

.surface-footer .contact-list span {
    color: #50667F;
    font-size: 0.95rem;
}

.surface-footer .footer-divider {
    border-color: rgba(0, 123, 255, 0.1);
    opacity: 1;
}

.surface-footer .copyright-text {
    color: #50667F;
    font-size: 0.85rem;
}

@media (max-width: 767.98px) {
    .surface-footer .footer-heading {
        margin-bottom: 1rem;
        margin-top: 1rem;
    }

    .surface-footer .footer-links li {
        margin-bottom: 0.5rem;
    }

    .surface-footer .text-center {
        text-align: left !important;
    }
}

.blog-detail-container {
    background-color: #F0F7FF;
    padding-top: 3rem;
    padding-bottom: 5rem;
    font-family: 'Inter', sans-serif;
}

.blog-detail-container .breadcrumb-item a {
    color: #007BFF;
    text-decoration: none;
    font-weight: 500;
}

.blog-detail-container .breadcrumb-item.active {
    color: #50667F;
}

.blog-detail-container .article-wrapper {
    background: #FFFFFF;
    border-radius: 24px;
    border: 1px solid rgba(0, 123, 255, 0.1);
    box-shadow: 0 15px 40px rgba(0, 40, 100, 0.05);
    padding: 2.5rem;
}

.blog-detail-container .article-header {
    margin-bottom: 2rem;
}

.blog-detail-container .category-badge {
    background-color: #E1F0FF;
    color: #007BFF;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.blog-detail-container h1.article-title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 700;
    color: #1A2B3C;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.blog-detail-container .article-subtitle {
    font-size: 1.15rem;
    color: #50667F;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.blog-detail-container .article-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: center;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(0, 123, 255, 0.1);
    color: #50667F;
    font-size: 0.9rem;
}

.blog-detail-container .meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-detail-container .meta-item i {
    color: #007BFF;
    font-size: 1.1rem;
}

.blog-detail-container .blog-article-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #2D3E50;
}

.blog-detail-container .blog-article-content h2 {
    font-size: 1.5rem;
    color: #1A2B3C;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.blog-detail-container .blog-article-content h3 {
    font-size: 1.25rem;
    color: #1A2B3C;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.blog-detail-container .blog-article-content p {
    margin-bottom: 1.5rem;
}

.blog-detail-container .blog-article-content ul,
.blog-detail-container .blog-article-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.blog-detail-container .blog-article-content li {
    margin-bottom: 0.5rem;
}

.blog-detail-container .sidebar-card {
    background: #FFFFFF;
    border-radius: 20px;
    border: 1px solid rgba(0, 123, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 40, 100, 0.04);
    padding: 2rem;
    margin-bottom: 2rem;
}

.blog-detail-container .sidebar-author-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #E1F0FF;
}

.blog-detail-container .share-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #50667F;
    background: #F0F7FF;
    border: 1px solid rgba(0, 123, 255, 0.1);
    transition: all 0.3s ease;
    text-decoration: none;
}

.blog-detail-container .share-btn:hover {
    color: #FFFFFF;
    background: #007BFF;
    transform: translateY(-3px);
}

.blog-detail-container .related-section-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1A2B3C;
    margin-bottom: 2rem;
}

.blog-detail-container .related-card {
    background: #FFFFFF;
    border-radius: 20px;
    border: 1px solid rgba(0, 123, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 40, 100, 0.04);
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-detail-container .related-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 123, 255, 0.1) !important;
}

.blog-detail-container .related-img-wrapper {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.blog-detail-container .related-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-detail-container .related-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-detail-container .related-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: #1A2B3C;
    line-height: 1.4;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-detail-container .related-meta {
    margin-top: auto;
    font-size: 0.8rem;
    color: #50667F;
    display: flex;
    justify-content: space-between;
}

.blog-detail-container .form-control {
    background-color: #FFFFFF !important;
    border: 1px solid rgba(0, 123, 255, 0.2);
    border-radius: 12px;
    padding: 0.75rem 1rem;
    color: #1A2B3C;
}

.blog-detail-container .form-control:focus {
    border-color: #007BFF;
    box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.15);
}

.blog-detail-container .form-control::placeholder {
    color: #90A4AE !important;
    opacity: 1;
}

.blog-detail-container .main-comment-card {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid rgba(0, 123, 255, 0.1);
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 40, 100, 0.03);
}

.blog-detail-container .comment-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.blog-detail-container .comment-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    margin-right: 1rem;
    object-fit: cover;
}

.blog-detail-container .comment-meta {
    flex-grow: 1;
}

.blog-detail-container .comment-author-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.blog-detail-container .comment-author-name {
    font-weight: 600;
    color: #1A2B3C;
}

.blog-detail-container .comment-badge {
    background-color: #E1F0FF;
    color: #007BFF;
    font-size: 0.75rem;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    font-weight: 500;
}

.blog-detail-container .comment-time {
    font-size: 0.8rem;
    color: #50667F;
}

.blog-detail-container .comment-body {
    color: #1A2B3C;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.blog-detail-container .comment-footer {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.blog-detail-container .comment-action-btn {
    background: transparent;
    border: none;
    color: #50667F;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.85rem;
    padding: 0.4rem 0.75rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.blog-detail-container .comment-action-btn:hover {
    background-color: #F0F7FF;
    color: #007BFF;
}

.blog-detail-container .comment-action-btn.active {
    color: #007BFF;
    background-color: #E1F0FF;
}

.blog-detail-container .reply-comment-wrapper {
    position: relative;
    padding-left: 3rem;
    margin-top: -0.5rem;
    margin-bottom: 1.5rem;
}

.blog-detail-container .reply-connector-line {
    position: absolute;
    left: 1.5rem;
    top: -1.5rem;
    bottom: 1.5rem;
    width: 2px;
    background-color: rgba(0, 123, 255, 0.15);
}

.blog-detail-container .reply-comment-card {
    background: #F8FBFF;
    border-radius: 16px;
    padding: 1.25rem;
    border: 1px solid rgba(0, 123, 255, 0.08);
    box-shadow: 0 4px 12px rgba(0, 40, 100, 0.02);
}

.blog-detail-container .reply-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 0.75rem;
    object-fit: cover;
}

.blog-detail-container .reply-indicator-tag {
    font-size: 0.75rem;
    color: #50667F;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.blog-detail-container .rating-star-btn {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.blog-detail-container .rating-star-btn:hover {
    transform: scale(1.15);
}

.blog-detail-container .rating-star-btn i.active {
    color: #FFC107 !important;
}

@media (max-width: 767.98px) {
    .blog-detail-container {
        padding-top: 1.5rem;
        padding-bottom: 3rem;
    }

    .blog-detail-container .article-wrapper {
        padding: 1.5rem;
    }

    .blog-detail-container .reply-comment-wrapper {
        padding-left: 1.5rem;
    }

    .blog-detail-container .reply-connector-line {
        left: 0.75rem;
    }

    .blog-detail-container h1 {
        font-size: 18px !important;
        hyphens: auto;
    }

    .blog-detail-container h2 {
        font-size: 16px !important;
        hyphens: auto;
    }

    .blog-detail-container h3 {
        font-size: 14px !important;
        hyphens: auto;
    }
}