/* Core Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.page-header {
    padding-top: 180px;
    padding-bottom: 100px;
    min-height: 450px;
    background: var(--color-brand);
    text-align: center;
    color: var(--color-secondary);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    clip-path: polygon(0 0, 100% 0, 100% 85%, 50% 100%, 0 85%);
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(../images/header123.jpg);
    background-size: cover;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    z-index: 0;
    animation: pageHeaderBgEnter 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.page-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 28, 80, 0.65);
    /* Navy overlay - matches footer */
    z-index: 0;
}

@keyframes pageHeaderBgEnter {
    0% {
        transform: scale(0.8);
    }

    100% {
        transform: scale(1);
    }
}

/* Fix visibility of titles/subtitles inside the dark header */
.page-header .section-title,
.page-header .section-subtitle {
    color: var(--color-secondary);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* .page-header .section-subtitle {
    opacity: 0.9;
} */

.page-header .container {
    position: relative;
    z-index: 1;
}


.text-gold {
    color: var(--color-accent-dark);
}

.text-white {
    color: var(--color-secondary);
}

.text-center {
    text-align: center;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 2px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.btn-gold {
    background: var(--gradient-gold);
    color: #000;
    border: none;
    box-shadow: 0 4px 10px rgba(212, 175, 55, 0.3);
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
}

.btn-outline {
    border: 1px solid var(--color-brand);
    color: var(--color-brand);
}

.btn-outline:hover {
    background: var(--color-brand);
    color: var(--color-secondary);
}

/* Sections */
section {
    padding: var(--spacing-xl) 0;
    position: relative;
    background-color: var(--color-primary);
}

.bg-darker {
    background-color: var(--color-brand-deep);
    color: var(--color-secondary);
}

/* Moderate spacing for sections with cards overlap/extensions */
.section-padded-bottom {
    padding-bottom: 5rem;
}

/* Reduced spacing for sections followed by CTA */
.section-reduced-bottom {
    padding-bottom: 0;
}

.section-reduced-top {
    padding-top: var(--spacing-lg);
}

/* Ensure titles in dark sections are also white */
.bg-darker .section-title,
.bg-darker .section-subtitle {
    color: var(--color-secondary);
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--color-text-heading);
    text-align: center;
    margin-bottom: var(--spacing-sm);
}

.section-subtitle {
    text-align: center;
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto var(--spacing-lg);
}

/* Utility Spacing */
.mt-md {
    margin-top: var(--spacing-md);
}

.mb-xl {
    margin-bottom: var(--spacing-xl);
}

/* Global Utilities */
.relative {
    position: relative;
}

.z-1 {
    z-index: 1;
}

.z-2 {
    z-index: 2;
}

.max-w-800 {
    max-width: 800px;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

/* Animations (Basic) */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.8s ease forwards;
}

/* -- Main Header & Navigation -- */
.main-header {
    position: absolute;
    /* Changed to absolute to float cleanly inside sticky wrapper */
    top: 0;
    left: 0;
    right: 0;
    background: #1d2b58;
    /* Navy Blue */
    border-bottom: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    z-index: 3000;
    transition: all 0.3s ease;
    height: 90px;
    /* Increased slightly for larger logo */
    display: flex;
    /* Ensure alignment */
    align-items: center;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 0 40px;
    /* Default Desktop Padding */
}

.logo {
    display: flex;
    align-items: center;
    height: 100%;
}

.logo-img {
    height: 70px;
    /* Bigger logo following GWR reference */
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-left: auto;
    /* Move nav to right */
}

.nav-item {
    font-size: 0.9rem;
    /* Unify size with Lang selector */
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #FFFFFF;
    /* White text on navy bg */
    opacity: 0.9;
    font-weight: 600;
    /* Unify weight */
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 10px 5px;
    position: relative;
    transition: var(--transition-fast);
}

.nav-item:hover,
.nav-item.active {
    opacity: 1;
    color: var(--color-accent);
}

.dropdown-icon-small {
    font-size: 0.7rem;
    opacity: 0.6;
    margin-top: -2px;
}

.header-actions {
    display: flex;
    align-items: stretch;
    /*Changed from center to stretch for full height blocks */
    gap: 0;
    /* Remove gap */
    height: 100%;
    margin-left: 0;
}

/* =========================================
   Refined Header Actions (Gold/Blue Theme)
   ========================================= */
.header-actions-refined {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: 20px;
    /* Space between nav and actions */
}

/* Language Dropdown (Clean Text Style) */
.lang-dropdown {
    position: relative;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    color: #FFFFFF;
    /* White text on navy bg */
    padding: 10px;
    transition: color 0.3s ease;
}

.lang-dropdown:hover {
    color: #D4AF37;
    /* Gold on hover */
}

/* User Icon Button (Blue) */
.btn-gold-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #FFFFFF;
    /* White circle */
    color: #1d2b58;
    /* Navy icon */
    border: none;
    /* Clean look without border */
    border-radius: 50%;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    text-decoration: none;
}

.btn-gold-icon:hover {
    background: #2B2D73;
    /* Brand Blue on Hover */
    color: #FFFFFF;
    /* White Icon */
    border-color: #2B2D73;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(43, 45, 115, 0.15);
}

/* Dropdown Content Specifics */
/* Dropdown Content Specifics */
.user-dropdown-content {
    top: 100%;
    right: 0;
    left: auto;
    width: 200px;
    background: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    margin-top: 10px;
    /* Moves visual box down */
    overflow: visible;
    /* Allow pseudo-element outside */
    display: none;
    /* Default hidden */
    position: absolute;
    z-index: 2000;
}

/* Invisible Bridge for User Dropdown */
.user-dropdown-content::before {
    content: '';
    position: absolute;
    top: -15px;
    /* Cover the margin gap */
    left: 0;
    width: 100%;
    height: 15px;
    background: transparent;
}

/* Ensure hover works for this specific dropdown class */
.user-action:hover .user-dropdown-content {
    display: block;
    animation: fadeIn 0.2s ease;
}

.user-dropdown-content a {
    color: #2B2D73;
    padding: 12px 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
}

.user-dropdown-content a:hover {
    background: #f8f9fb;
    color: #D4AF37;
    padding-left: 25px;
}

.user-dropdown-content a i {
    width: 20px;
    text-align: center;
}

/* Fix Mobile Burger Alignment */
@media (max-width: 1280px) {
    .header-actions {
        align-items: center;
    }
}

.lang-switch a {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    padding: 0 5px;
}

.lang-switch a.active {
    color: var(--color-brand);
    font-weight: bold;
}

/* Mobile Submenu Helper */
.mobile-dropdown-menu {
    display: none;
    padding-left: 1.2rem;
    background: rgba(0, 0, 0, 0.02);
    margin-bottom: 0.5rem;
    border-left: 2px solid var(--color-border);
    /* Fix: Ensure items stack */
    flex-direction: column;
    gap: 0;
}

.mobile-dropdown-menu a {
    display: block;
    /* Critical fix for "mixing together" */
    font-size: 0.95rem;
    /* Slightly smaller than main items */
    padding: 8px 0;
    text-transform: none;
    /* Sentence case for sub-items */
    border-bottom: 1px dashed rgba(0, 0, 0, 0.05);
    /* Different border style */
    color: var(--color-text-muted);
}

.mobile-dropdown-menu a:last-child {
    border-bottom: none;
}

.mobile-dropdown.active .mobile-dropdown-menu {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.mobile-dropdown-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.transform-icon {
    transition: transform 0.3s ease;
    font-size: 0.8rem;
    opacity: 0.7;
}

.mobile-dropdown.active .transform-icon {
    transform: rotate(180deg);
    opacity: 1;
    color: var(--color-brand);
}

/* Dropdown Menu Styles */
.dropdown-parent {
    position: relative;
    cursor: pointer;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background-color: #FFFFFF;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    z-index: 2000;
    padding: 0.5rem 0;
    border: 1px solid var(--color-border);
}

/* Invisible Bridge */
.dropdown-content::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 0;
    width: 100%;
    height: 15px;
    background: transparent;
}

.dropdown-parent:hover .dropdown-content {
    display: block;
    animation: fadeIn 0.2s ease;
}

.dropdown-content a {
    color: var(--color-text-main);
    padding: 12px 20px;
    text-decoration: none;
    display: block;
    font-size: 0.85rem;
    font-weight: 400;
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.02);
}

.dropdown-content a:last-child {
    border-bottom: none;
}

.dropdown-content a:hover {
    background-color: var(--color-primary-light);
    color: #2B2D73;
    /* Brand Blue */
    padding-left: 25px;
    /* Slight slide effect */
}

/* Responsive Header Styles */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #FFFFFF;
    /* White burger lines on navy header */
    border-radius: 3px;
}

.mobile-sidebar {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100%;
    background: #FFFFFF;
    z-index: 21000;
    /* Above header (15000) */
    transition: 0.3s ease-in-out;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

.mobile-sidebar.active {
    right: 0;
}

.sidebar-header {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: var(--color-brand-deep);
}

.close-sidebar {
    font-size: 2rem;
    color: #ffffff;
    cursor: pointer;
    background: none;
    border: none;
    line-height: 1;
}

.mobile-user-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #fff;
    color: var(--color-brand-deep);
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.mobile-user-btn:hover {
    background-color: #f0f0f0;
    transform: scale(1.05);
}

.mobile-user-dropdown {
    position: relative;
}

.mobile-user-dropdown.active .user-popup-menu {
    display: block;
    animation: fadeInDown 0.3s ease forwards;
}

.user-popup-menu {
    display: none;
    position: absolute;
    top: 50px;
    right: 0;
    width: 180px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    padding: 10px 0;
    z-index: 1000;
}

.user-popup-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    color: var(--color-brand-deep);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: bold;
    /* Changed to bold */
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: background 0.2s ease;
}

.user-popup-menu a:last-child {
    border-bottom: none;
}

.user-popup-menu a:hover {
    background: #f8f9fa;
    color: var(--color-accent);
}

.sidebar-content {
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.sidebar-content a {
    color: var(--color-brand-deep);
    font-size: 15.2px;
    font-weight: bold;
    /* Changed to bold */
    text-transform: uppercase;
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* Ensure dropdown links inside sidebar also inherit bold */
.mobile-dropdown-menu a {
    font-weight: bold !important;
}

.sidebar-content .btn-gold-mobile {
    background: var(--gradient-gold);
    color: #000;
    text-align: center;
    border-radius: 4px;
    margin-top: 10px;
    font-weight: 700;
    border: none;
    padding: 12px;
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 20000;
    /* Between header (15000) and sidebar (21000) */
    opacity: 0;
    pointer-events: none;
    transition: 0.3s ease;
}

.sidebar-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.logo-img {
    height: 90px;
    /* Default larger size */
    transition: height 0.3s ease;
}

.mobile-lang {
    margin-top: 20px;
    display: flex;
    gap: 15px;
    justify-content: center;
}

.mobile-lang a {
    color: var(--color-brand);
    font-weight: bold;
    border: none;
}

.mobile-lang a.active {
    text-decoration: underline;
}

/* Responsive Breakpoints & Logic */

/* 1600px: Tighten Desktop Menu */
@media (max-width: 1680px) {
    .header-container {
        padding: 0 30px;
    }

    .nav-links {
        gap: 8px;
    }

    .nav-item {
        font-size: 0.75rem;
        padding: 10px 4px;
    }
}

/* 1280px: Switch to Mobile Sidebar */
@media (max-width: 1280px) {

    /* Hide Desktop Elements */
    .desktop-only,
    .nav-links {
        display: none !important;
    }

    /* Show Mobile Elements */
    .mobile-menu-btn {
        display: flex;
    }

    .header-container {
        padding: 0 20px;
    }
}

/* Mobile Tweaks */
@media (max-width: 768px) {
    .header-container {
        padding: 0 15px;
    }

    .logo-img {
        height: 55px;
    }

    .main-header {
        height: 80px;
    }

    /* Responsive Spacing Overrides */
    :root {
        --spacing-xl: 4rem;
        --spacing-lg: 3rem;
        --spacing-md: 2rem;
        --spacing-sm: 1rem;
    }

    .page-header {
        padding-top: 130px;
        padding-bottom: 50px;
        min-height: auto;
        clip-path: polygon(0 0, 100% 0, 100% calc(100% - 40px), 50% 100%, 0 calc(100% - 40px));
    }

    .page-header .section-subtitle {
        font-size: 15.2px !important;
        /* Specific user request for optimal reading */
        line-height: 1.6;
        text-align: justify !important;
        /* Ensure mobile text is flush justified */
    }

    .section-title {
        font-size: 2rem;
    }

    /* Adjudicator Page Specific Mobile Overrides */
    #roles-section,
    #isolated-flow-section {
        padding-top: 40px !important;
        padding-bottom: 40px !important;
    }

    #roles-section .roles-animate-title,
    #isolated-flow-section .flow-animate-header,
    #isolated-adj-overview .text-center.mb-xl,
    #isolated-travel-policy-section .tsp-animate-header,
    #isolated-wit-purpose .text-center.mb-lg {
        margin-bottom: 20px !important;
        padding-bottom: 20px !important;
    }

    .v2-accordion .accordion-content,
    .v2-accordion .accordion-content li,
    .v2-accordion .accordion-content p {
        font-size: 15.2px !important;
    }

    .v2-accordion summary {
        font-size: 15.2px !important;
        font-weight: bold !important;
    }
}

/* Sticky Header Interaction removed - moved to customStyle.css */

.mobile-menu-btn {
    pointer-events: auto !important;
    position: relative;
    z-index: 10;
}


/* GSAP Slider Styles */
.slider-container {
    width: 100%;
    overflow: hidden;
    padding: var(--spacing-md) 0;
    position: relative;
    /* Mask for fade effect on edges */
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.slider-track {
    display: flex;
    gap: var(--spacing-md);
    width: max-content;
    animation: scroll 20s linear infinite;
    /* Pause on hover */
}

.slider-track:hover {
    animation-play-state: paused;
}

.slide-card {
    flex: 0 0 300px;
    /* Fixed width cards */
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    background: #fff;
}

.slide-card:hover {
    transform: scale(1.02);
}

.slide-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }

    /* Assumes content is duplicated for seamless loop */
}

/* Utility Classes */
.max-w-800 {
    max-width: 800px;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

/* Mobile Reverse Layout */
@media (max-width: 768px) {
    .reverse-mobile {
        flex-direction: column-reverse;
    }

    .col-text,
    .col-image {
        min-width: 100%;
    }

    .section-title {
        font-size: 1.8rem;
    }
}

/* Cards Grid System */
.cards-grid {
    display: grid;
    /* Reduced min-width to 280px to fit iPhone SE/small androids */
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.cards-grid.three-col {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

@media (max-width: 768px) {

    .cards-grid,
    .cards-grid.three-col {
        grid-template-columns: 1fr;
        gap: 15px !important;
        max-width: 320px;
        /* Near square proportion constraint */
        margin: 0 auto;
    }

    .info-card {
        padding: 20px 15px !important;
        /* Restore vertical volume for squarish look */
    }

    .philosophy-content {
        max-width: 320px;
        /* Resize brand philosophy to fit mobile beautifully */
        margin: 0 auto;
    }

    .philosophy-item {
        padding: 15px !important;
    }

    .info-card h3 {
        font-size: 19.2px !important;
    }

    .info-card p {
        font-size: 15.2px !important;
        line-height: 1.5 !important;
    }
}

.info-card {
    background: #FFFFFF;
    border: 1px solid var(--color-border);
    padding: var(--spacing-lg);
    /* Increased padding */
    border-radius: 8px;
    /* Softer corners */
    text-align: center;
    transition: var(--transition-fast);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.info-card:hover {
    background: #FFFFFF;
    border-color: var(--color-accent);
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.info-card h3 {
    color: var(--color-brand);
    font-family: var(--font-heading);
    margin: var(--spacing-sm) 0;
    font-size: 1.25rem;
}

.info-card p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Brand Philosophy Section Styles */
.section-philosophy {
    position: relative;
    padding: 250px 0;
    /* Matched to homepage award section */
    overflow: hidden;
}

@media (max-width: 768px) {
    .section-philosophy {
        padding: 60px 0 !important;
        /* Heavily reduced vertical padding for mobile */
    }

    .section-philosophy .section-title {
        margin-bottom: 1.5rem !important;
        /* Cut margin from 3rem (48px) to 1.5rem (~24px) */
    }

    .section-philosophy .philosophy-content {
        gap: 15px !important;
        /* Tighter spacing between items on mobile */
    }
}

.philosophy-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/brand.png') !important;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* Matched to homepage award section */
    background-repeat: no-repeat;
    z-index: 0;
}

.philosophy-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Matched to homepage award section exactly */
    background: linear-gradient(to bottom, rgba(43, 45, 115, 0.7), rgba(5, 6, 20, 0.8));
    z-index: 1;
}

/* Uniqueness Section Styles (Matches Brand Philosophy) */
.section-unique {
    position: relative;
    padding: 250px 0;
    /* Matched to homepage award section */
    overflow: hidden;
}

@media (max-width: 768px) {
    .section-unique {
        padding: 100px 0 !important;
        /* Heavily reduced vertical padding for mobile */
    }
}

.uniqueness-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/uniqueness.jpg') !important;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* Parallax effect */
    background-repeat: no-repeat;
    z-index: 0;
}

.uniqueness-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(43, 45, 115, 0.7), rgba(5, 6, 20, 0.8));
    z-index: 1;
}

/* Ensure text on uniqueness section pops */
.section-unique .section-title {
    color: #FFFFFF !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 2;
}

/* Adjust info-cards in uniqueness section for dark background */
.section-unique .info-card {
    background: rgba(255, 255, 255, 0.95);
    /* Slightly transparent white on dark BG */
    backdrop-filter: blur(10px);
}

/* Brand Philosophy Premium Styles */
.section-philosophy .section-title {
    color: #FFFFFF !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}

.philosophy-content {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    gap: var(--spacing-md);
    position: relative;
    z-index: 2;
}

.philosophy-item {
    background: rgba(255, 255, 255, 0.08);
    /* Slightly more prominent glass effect */
    backdrop-filter: blur(5px);
    padding: var(--spacing-lg);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: left;
    transition: transform 0.3s ease, background 0.3s ease;
}

.philosophy-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.12);
}

.philosophy-item p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--color-secondary);
    /* Pure white for maximum contrast */
    letter-spacing: 0.01em;
    font-weight: 300;
    margin: 0;
}

/* Core Services Specific Styles */
.section-services {
    padding: var(--spacing-xl) 0;
    background: #FFFFFF;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    /* Reduced gap to widen cards */
    margin-bottom: var(--spacing-lg);
}

@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

.service-card {
    background: #FFFFFF;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 1px solid rgba(43, 45, 115, 0.08);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(43, 45, 115, 0.12);
}

.service-card img {
    width: 100%;
    /* Prevent upscaling blurriness on large mobile cards */
    /* max-width: 400px; */
    margin: 0 auto;
    display: block;
    transition: transform 0.3s ease;
    /* Attempt to sharpen downscaled/upscaled images */
    image-rendering: -webkit-optimize-contrast;
}

.service-card:hover img {
    transform: scale(1.05);
}

.cta-banner {
    padding: var(--spacing-xl);
    background: linear-gradient(135deg, var(--color-brand) 0%, #1A1C50 100%);
    border-radius: 8px;
    margin-top: var(--spacing-xl);
    box-shadow: 0 8px 30px rgba(43, 45, 115, 0.15);
}

.cta-title {
    color: #FFFFFF;
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: var(--spacing-sm);
}

.cta-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: var(--spacing-md);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Light Theme CTA Banner Override */
.cta-banner-light {
    background: #FFFFFF;
    box-shadow: none;
    border: 1px solid var(--color-border);
    margin-top: 0;
}

@media (max-width: 768px) {
    .cta-banner {
        padding: 10px 20px !important;
        /* Horizontal landscape feel */
        margin-top: var(--spacing-md) !important;
    }

    .cta-title {
        font-size: 1.2rem !important;
        margin-bottom: 2px !important;
    }

    .cta-subtitle {
        font-size: 0.7rem !important;
        line-height: 1.3 !important;
        margin-bottom: 8px !important;
    }

    .btn-lg {
        padding: 0.5rem 1.2rem !important;
        /* Shorter button for landscape feel */
        font-size: 0.8rem !important;
    }
}

.cta-banner-light .cta-title {
    color: var(--color-brand);
}

.cta-banner-light .cta-subtitle {
    color: var(--color-text-muted);
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* Values Cards */
.values-section {
    margin: 0 auto;
    background-color: #1A1C50;
    /* Brand Deep Blue */
    padding: 100px 0 160px;
    color: #FFFFFF;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.values-section .section-title,
.values-section .section-subtitle {
    color: #FFFFFF !important;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    margin-top: 60px;
    width: 100%;
}

@media (max-width: 900px) {
    .values-section {
        padding: 40px 0 60px !important;
    }

    .values-grid {
        grid-template-columns: 1fr;
        gap: 20px !important;
        /* Uniform gap between all vertical cards */
        margin-top: 30px !important;
        padding: 0 5px !important;
        /* Prevent edge touching */
    }

    .philosophy-item p {
        font-size: 0.95rem !important;
        line-height: 1.6 !important;
    }
}

/* New Modern Benefits Grid (Trademark Section) */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* Force 2 columns */
    gap: 16px;
    /* Tighter gap */
}

@media (max-width: 768px) {
    .benefits-grid {
        grid-template-columns: 1fr;
        /* 1 column on mobile */
    }
}

.benefit-card {
    background: white;
    padding: 34px;
    /* Increased padding slightly */
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 16px;
    /* Restored gap */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    border-color: var(--color-brand);
}

.benefit-card .icon-box {
    width: 42px;
    /* Increased icon box slightly */
    height: 42px;
    background: #eff6ff;
    color: var(--color-brand);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.benefit-card .icon-box svg {
    width: 22px;
    height: 22px;
}

.benefit-text p {
    font-size: 0.9rem;
    /* Increased font size slightly */
    color: var(--color-text-muted);
    line-height: 1.6;
    margin: 0;
}

/* .value-card {
    background: #FFFFFF;
    padding: 0;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    border: none;
    text-align: center;
    transition: all 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    max-width: 450px;
    width: 100%;
    margin: 0 auto;
} */

/* .value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(43, 45, 115, 0.12);
    border-color: var(--color-accent);
} */

/* New image-based icon area */
.value-icon-image {
    width: 100%;
    height: 200px;
    /* Upper half of card */
    min-height: 200px;
    /* Prevent collapse */
    display: block;
    /* Ensure it's block-level */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 8px 8px 0 0;
    /* Rounded top corners only */
    overflow: hidden;
    /* Prevent zoom spillover */
}

/* Specific background images for each card */
.card-origin .value-icon-image {
    background-image: url('../images/born-in.jpg');
    background-position: right center;
    /* Shift content to the left */
}

.card-global .value-icon-image {
    background-image: url('../images/born-in01.jpg');
}

.card-legacy .value-icon-image {
    background-image: url('../images/born-in02.jpg');
}

/* ----------------------------------------------------------------------
   BRAND POSITIONING OVERRIDES (User Request)
   ---------------------------------------------------------------------- */
.section-positioning .values-grid {
    gap: 15px !important;
    /* Reduced gap between cards */
    max-width: 1600px;
    /* Expand container to let cards grow */
    margin-left: auto;
    margin-right: auto;
    grid-template-columns: repeat(4, 1fr);
}

.section-positioning .value-card {
    max-width: 100%;
    /* Remove 450px default cap */
    width: 100%;
    /* Allow cards to stretch */
}

/* Image Scale Animation on Hover */
.section-positioning .value-card .value-icon-image {
    transition: transform 0.5s ease;
}

.section-positioning .value-card:hover .value-icon-image {
    transform: scale(1.1);
    /* Zoom effect */
}

/* Specific background images for Brand Positioning cards */
.card-trust .value-icon-image {
    background-image: url('../images/correct123.jpg');
}

.card-legacy-bp .value-icon-image {
    background-image: url('../images/legacy123.jpg');
}

.card-authority .value-icon-image {
    background-image: url('../images/cert123.jpg');
}

.card-essence .value-icon-image {
    background-image: url('../images/relax123.jpg');
}

/* Specific background images for Path of Recognition cards */
.card-step1 .value-icon-image {
    background-image: url('../images/wewewe.jpg');
}

.card-step2 .value-icon-image {
    background-image: url('../images/control123.jpg');
}

.card-step3 .value-icon-image {
    background-image: url('../images/clap123.jpg');
}

.card-step4 .value-icon-image {
    background-image: url('../images/sunworld123.jpg');
}

/* Specific background images for Certification Value cards */
.card-val1 .value-icon-image {
    background-image: url('../images/shake.jpg');
}

.card-val2 .value-icon-image {
    background-image: url('../images/sing.jpg');
}

.card-val3 .value-icon-image {
    background-image: url('../images/plant.jpg');
}

/* Original emoji icon (hidden when using images) */
.value-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
    display: block;
}

.value-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-brand);
    margin-bottom: var(--spacing-sm);
    padding: 0 var(--spacing-lg);
    margin-top: var(--spacing-md);
}

.value-text {
    color: var(--color-text-main);
    line-height: 1.7;
    font-size: 0.95rem;
    padding: 0 var(--spacing-lg) var(--spacing-lg);
    /* Add padding for text content */
}


.value-text.has-list {
    padding-bottom: 15px;
    /* Reduce bottom padding when a list immediately follows */
}

.value-card .feature-list {
    padding: 0 var(--spacing-lg) var(--spacing-lg);
    /* Shift the bottom card padding to the list instead */
    color: var(--color-text-main);
    font-size: 0.95rem;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .section-positioning {
        padding: 60px 0 20px 0;
        /* Increased top padding for breathing room */
    }

    .section-positioning .desc-card {
        font-size: 0.8rem;
        line-height: 1.4;
    }

    .value-title {
        font-size: 19.2px;
        margin-top: 20px;
        margin-bottom: 10px;
        padding: 0 20px;
    }

    .value-text,
    .value-card .feature-list {
        font-size: 15.2px;
        line-height: 1.6;
        /* Increased from 1.5 for better legibility */
        padding-left: 20px;
        /* Increased from 15px */
        padding-right: 20px;
        /* Increased from 15px */
        padding-bottom: 30px;
        /* Increased from 25px */
    }

    .value-card {
        padding: 0;
        max-width: 100%;
        margin: 0 auto;
    }

    .value-icon-image {
        height: 240px;
        /* Increased from 180px for better aspect ratio */
        min-height: 240px;
    }

    /* Scoped cap for Brand Positioning 2x2 grid */
    .section-positioning .value-icon-image {
        height: 180px;
        min-height: 180px;
    }

    .benefit-card {
        padding: 10px;
        gap: 8px;
    }

    .benefit-text p {
        font-size: 12.8px;
    }

    /* Trademark Usage Shrink */
    #trademarkUsage {
        padding-top: 60px;
        /* Overrides inline 120px */
    }

    #trademarkUsage .tm-animate-desc p {
        font-size: 15.2px;
        /* User requested smaller subtitle */
    }

    #trademarkUsage .guidelines-box {
        padding: 20px;
        margin-top: 10px;
    }

    #trademarkUsage .box-title {
        font-size: 19.2px;
        margin-bottom: 1rem;
    }

    #trademarkUsage .guidelines-list li {
        font-size: 12.8px;
        padding: 0.5rem 0;
    }

    #trademarkUsage .guidelines-list li::before {
        font-size: 1rem;
    }
}

/* Recognition Category Styles */
.section-positioning {
    background: #1A1C50;
    /* Brand Deep Blue */
    padding: 80px 0;
    position: relative;
    color: #FFFFFF;
}

.section-positioning .section-title {
    color: #FFFFFF;
}

/* Trademark Usage Parallax Background Section */
.section-trademark {
    position: relative;
    overflow: hidden;
}

.trademark-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/buckingham.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* Parallax effect */
    background-repeat: no-repeat;
    z-index: 0;
}

.trademark-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(26, 28, 80, 0.85), rgba(5, 6, 20, 0.95));
    /* Dark blue gradient overlay */
    z-index: 1;
}

/* Ensure text on trademark section pops */
.section-trademark .section-title,
.section-trademark .text-white {
    color: #FFFFFF;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 2;
    /* Sit cleanly over background and overlay */
}


.intro-card {
    color: var(--color-text-muted);
    font-size: 1.1rem;
    line-height: 1.6;
}

.section-positioning .desc-card {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    line-height: 1.6;
}

.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

@media (max-width: 900px) {
    .split-layout {
        grid-template-columns: 1fr;
        text-align: center;
        /* Fix: Reverse order so image is on top or content? usually image first is fine, but lets check */
    }
}

.image-card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(43, 45, 115, 0.1);
    background: #FFFFFF;
    padding: 0.5rem;
}

.featured-image {
    width: 100%;
    height: auto;
    border-radius: 4px;
    display: block;
}

.image-card.no-shadow {
    border: none;
    box-shadow: none;
    background: transparent;
    padding: 0;
}

.stamp-image {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.subsection-title {
    color: var(--color-brand);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    border-bottom: 2px solid var(--color-accent);
    display: inline-block;
    padding-bottom: 0.5rem;
}

.core-list {
    list-style: none;
    padding: 0;
    margin-top: var(--spacing-md);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 901px) {
    .core-list {
        align-items: flex-start;
    }
}

@media (max-width: 900px) {
    .core-list {
        align-items: center;
    }
}

.core-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-text-heading);
    padding: 0.8rem 1.5rem;
    background: #FFFFFF;
    border-radius: 50px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    border: 1px solid var(--color-border);
    transition: all 0.2s ease;
    width: fit-content;
}

.core-list li:hover {
    transform: translateX(10px);
    border-color: var(--color-brand);
    color: var(--color-brand);
}

.core-list .icon {
    font-size: 1.2rem;
}

/* Specific 4-column grid for Recognition Page */
.section-positioning .values-grid {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1024px) {
    .section-positioning .values-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2x2 on Tablet */
    }
}

@media (max-width: 600px) {
    .section-positioning .values-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2x2 on Mobile per user request */
        gap: 10px;
    }

    .intro-card,
    .desc-card {
        padding: 0 var(--spacing-sm);
        /* Prevent text hitting edges */
    }
}

/* Industry Strategic Styles */
.section-feature {
    background: var(--color-primary-light);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.feature-card {
    background: #FFFFFF;
    padding: var(--spacing-lg);
    border-radius: 4px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    border-top: 4px solid var(--color-accent);
    /* Gold Top Border */
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0 auto;
    /* Ensure centering */
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(43, 45, 115, 0.02));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(43, 45, 115, 0.15);
}

.feature-card:hover::before {
    opacity: 1;
}

/* Feature Card with Background Image (Refactored to match Vision/Mission pattern) */
.feature-card.has-bg {
    position: relative;
    border-top: none;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #FFFFFF;
    z-index: 1;
    overflow: hidden;
}

.feature-card.has-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 28, 80, 0.65);
    /* Navy overlay - matches footer and CTA banners */
    backdrop-filter: blur(1px);
    z-index: 1;
    transition: background 0.4s ease;
}

.feature-card.has-bg:hover::before {
    background: rgba(26, 28, 80, 0.75);
    /* Slightly darker on hover */
}

.feature-card.has-bg .card-icon-large,
.feature-card.has-bg .card-icon,
.feature-card.has-bg .card-title-lg,
.feature-card.has-bg .card-text {
    position: relative;
    z-index: 2;
    color: #FFFFFF;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
    /* Subtle lift */
}

/* Section with Background Image & Overlay (Synchronized with Homepage Award Section) */
.section-has-bg {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    /* Parallax effect */
    background-color: var(--color-brand-deep);
    /* Prevent white bleed/seams during scroll */
    z-index: 1;
    overflow: hidden;
    /* Hardware acceleration hints for smoother parallax */
    transform: translateZ(0);
    will-change: transform;
}

.section-has-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(43, 45, 115, 0.3), rgba(5, 6, 20, 0.4));
    /* Lightened overlay for better visibility */
    z-index: 1;
}

.section-has-bg .container,
.section-has-bg .container-fluid {
    position: relative;
    z-index: 2;
}

.section-has-bg .section-title {
    color: #FFFFFF;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    /* Match Homepage style */
    position: relative;
    z-index: 3;
}

.section-has-bg .section-subtitle {
    color: rgba(255, 255, 255, 0.95);
    /* Match Homepage subtitle style */
    position: relative;
    z-index: 3;
}

.bg-industry-21 {
    background-image: url('../images/moreppl.jpg');
}

.bg-flow-of {
    background-image: url('../images/flow-of.png');
}

.bg-contact {
    /* Base dark grey background + semi-transparent overlay + smaller shifted logo */
    background-color: #1a1a1d;
    /* Very dark grayish-black */
    background-image:
        linear-gradient(rgba(26, 26, 30, 0.55), rgba(26, 26, 30, 0.75)),
        /* Greyish-black Overlay (Lightened further) */
        url('../images/sgr13.png');
    background-size: 600px;
    /* Shrink logo to act as watermark */
    background-position: center 30%;
    /* Move logo up so the star sits behind the text */
    background-repeat: no-repeat;
    background-blend-mode: normal;
    /* Removed multiply so the logo colors stay visible but washed out */
}

/* Specific background images for strategic cards */
.card-database {
    background-image: url('../images/database.png');
}

.card-system {
    background-image: url('../images/database01.png');
}

.card-ceremony {
    background-image: url('../images/database02.png');
}

/* Refined icon style to match Vision/Mission */
.feature-card.has-bg .card-icon {
    background: #FFFFFF;
    color: var(--color-brand);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
    font-size: 1.5rem;
}

.card-icon-large {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    background: linear-gradient(135deg, var(--color-brand), var(--color-brand-deep));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.card-title-lg {
    color: var(--color-brand);
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    min-height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-text {
    color: var(--color-text-main);
    font-size: 1rem;
    line-height: 1.7;
}

/* Industry Grid */
.industry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: var(--spacing-md);
    margin-top: 80px;
}

.industry-card {
    background: #FFFFFF;
    padding: 2rem 1.5rem;
    border-radius: 4px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    border: 1px solid var(--color-border);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.industry-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(43, 45, 115, 0.1);
    border-color: var(--color-accent);
}

.industry-icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--color-primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    padding: 15px;
    transition: background 0.3s ease;
}

.industry-card:hover .industry-icon-wrapper {
    background: rgba(212, 175, 55, 0.1);
}

.industry-icon-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.industry-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-text-heading);
    line-height: 1.3;
}

/* Mobile Responsive */
@media (max-width: 900px) {
    .feature-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .industry-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
        /* Tighter gap to fit 3 items */
    }

    .industry-card {
        padding: 15px 5px;
        /* Squeeze padding heavily */
    }

    .industry-icon-wrapper {
        width: 50px;
        height: 50px;
        padding: 8px;
        margin-bottom: 8px;
    }

    .industry-title {
        font-size: 15.2px;
        /* Scale down text massively so it doesn't break */
    }
}

/* Qualification Path Styles */
.section-process,
.section-recognition {
    padding: var(--spacing-xl) 0;
}

/* Process Comparison Layout */
.process-wrapper {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: var(--spacing-lg);
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.process-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
}

.process-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    /* Centered vertically relative to columns */
    padding-top: 0;
}

.vs-circle {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--color-accent), #F3D270);
    /* Luxury Gold Gradient */
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
    /* Gold Glow */
    border: 4px solid #FFFFFF;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.process-item {
    background: #FFFFFF;
    padding: 1.2rem 1.5rem;
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
    position: relative;
}

.process-item::after {
    content: attr(data-step);
    font-weight: 700;
    color: rgba(43, 45, 115, 0.1);
    /* Subtle Brand Blue */
    font-size: 1.5rem;
    position: absolute;
    right: 1.5rem;
}

.process-item:hover {
    transform: translateY(-3px);
    border-color: var(--color-accent);
    box-shadow: 0 8px 25px rgba(43, 45, 115, 0.1);
}

.process-item:hover::after {
    color: var(--color-brand);
    /* Highlight number on hover */
}

.process-text {
    font-weight: 600;
    color: var(--color-text-heading);
    font-size: 1.05rem;
}

@media (max-width: 768px) {
    .process-wrapper {
        flex-direction: column;
    }

    .process-divider {
        padding: 1rem 0;
        width: 100%;
    }
}

/* Qualification Recognition Grid Override */
.section-recognition .values-grid {
    grid-template-columns: repeat(4, 1fr);
    margin-top: 60px;
    gap: 15px;
    /* Extremely tight gap as requested */
    max-width: 1600px;
    /* Super wide container */
    margin-left: auto;
    margin-right: auto;
}

/* Duplicated completely independent card style per user request */
.recognition-card {
    background: #FFFFFF;
    padding: 0;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    border: none;
    text-align: center;
    transition: all 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    /* Fill the entire track */
    margin: 0;
    /* Remove centering auto-margin so gaps stay tight */
}

.recognition-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(43, 45, 115, 0.12);
}

.recognition-card .value-icon-image {
    width: 100%;
    height: 250px;
    /* Make the photo taller for better proportions */
    min-height: 250px;
    display: block;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-bottom: 2px solid var(--color-brand);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.recognition-card:hover .value-icon-image {
    transform: none;
}


.recognition-card h3.value-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-brand);
    margin: 25px 0 15px;
    padding: 0 20px;
}

.recognition-card p.value-text {
    font-size: 1rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin: 0 0 30px;
    padding: 0 20px;
    flex-grow: 1;
}

@media (max-width: 900px) {
    .recognition-card .value-icon-image {
        height: 240px;
        min-height: 240px;
    }

    .section-recognition .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .section-recognition .values-grid {
        grid-template-columns: 1fr;
    }
}

/* Witness Page: Centered Flex Grid */
.values-grid.centered {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--spacing-lg);
}

.values-grid.centered .value-card {
    flex: 0 1 300px;
    max-width: 350px;
    width: 100%;
}

.values-grid.centered .value-card {
    flex: 1 1 250px;
    /* Allow shrinking/growing from 250px base */
    max-width: 320px;
    /* Cap width to prevent massive stretching */
    width: 100%;
    /* Ensure it fills flex basis */
}

/* --- Consolidated Batch Styles --- */

/* Common Utils (CVU, Witness, Adjudicator) */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

.info-card {
    background: #FFFFFF;
    padding: var(--spacing-lg);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--color-border);
    transition: transform 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(43, 45, 115, 0.1);
}

.info-card.card-vision,
.info-card.card-mission {
    position: relative;
    background-size: cover;
    background-repeat: no-repeat;
    color: #FFFFFF;
    border: none;
    overflow: hidden;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.info-card.card-vision::before,
.info-card.card-mission::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 28, 80, 0.55);
    /* Balanced overlay */
    z-index: -1;
}

.info-card.card-vision {
    background-image: url('../images/light-bulb.jpg');
    background-position: center right 20%;
    /* Move bulb into view */
}

.info-card.card-mission {
    background-image: url('../images/light-bulb0123.jpg');
    background-position: center left;
    /* Focus on hand */
}

.info-card.card-vision h3,
.info-card.card-mission h3 {
    color: #FFFFFF;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.info-card.card-vision p,
.info-card.card-mission p {
    color: #FFFFFF;
    font-size: 1.2rem;
    line-height: 1.6;
}

.info-card.card-vision .card-icon,
.info-card.card-mission .card-icon {
    background: #FFFFFF;
    /* White background for logo */
    color: var(--color-brand);
    /* Brand blue icon */
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--color-brand);
}

.overview-box {
    max-width: 800px;
    margin: 0 auto;
    padding: var(--spacing-lg);
    background: #FFFFFF;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border-left: 4px solid var(--color-accent);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.overview-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.overview-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--color-text-main);
}

/* Adjudicator Styles */
.v2-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.v2-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 20px;
    width: 4px;
    background: var(--color-border);
    border-radius: 2px;
}

.timeline-row {
    position: relative;
    margin-bottom: var(--spacing-lg);
    padding-left: 60px;
}

.timeline-marker {
    position: absolute;
    left: 0;
    top: 0;
    width: 44px;
    height: 44px;
    background: var(--color-brand);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    border: 4px solid #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.timeline-content.card-style {
    background: #fff;
    padding: var(--spacing-md);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--color-border);
}

.timeline-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.timeline-title {
    color: var(--color-brand);
    font-weight: 700;
    margin: 0;
}

.timeline-list {
    list-style: disc;
    padding-left: 1.2rem;
    color: var(--color-text-main);
    font-size: 0.95rem;
}

.roles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: var(--spacing-md);
}

.role-card {
    background: #fff;
    padding: var(--spacing-md);
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--color-border);
    transition: transform 0.3s ease;
}

.role-card:hover {
    transform: translateY(-5px);
}

.role-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.role-title {
    color: var(--color-brand);
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-size: 15.2px;
}

.role-desc {
    font-size: 15.2px;
    color: var(--color-text-muted);
}

.accordion-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.v2-accordion {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    border: 1px solid var(--color-border);
}

.v2-accordion summary {
    padding: 1rem;
    cursor: pointer;
    font-weight: 600;
    color: var(--color-brand);
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.v2-accordion summary::-webkit-details-marker {
    display: none;
}

.v2-accordion summary::after {
    content: '+';
    font-weight: bold;
}

.v2-accordion[open] summary::after {
    content: '-';
}

.accordion-content {
    padding: 1rem;
    border-top: 1px solid var(--color-border);
    background: #f9f9ff;
    color: var(--color-text-main);
}

/* Witness Styles */
.procedure-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--spacing-lg);
}

.step-card {
    flex: 1 1 200px;
    background: #f9f9ff;
    padding: var(--spacing-lg);
    border-radius: 8px;
    text-align: center;
    position: relative;
    border: 1px solid var(--color-border);
}

.step-badge {
    width: 40px;
    height: 40px;
    background: var(--color-brand);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin: 0 auto 1rem;
}

.step-title {
    color: var(--color-brand);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

/* Contact Us Styles */
.contact-card-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    min-height: 600px;
}

.contact-info {
    padding: var(--spacing-xl);
    position: relative;
    overflow: hidden;
    /* background: var(--color-brand-deep); */
    /* Removed to allow .bg-contact background image */
    color: #fff;
}



.info-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: var(--spacing-md);
    color: #fff;
    position: relative;
    z-index: 2;
    /* Above overlay */
}

.info-desc {
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
    margin-bottom: var(--spacing-lg);
    position: relative;
    z-index: 2;
    /* Above overlay */
}

.detail-item {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
    position: relative;
    z-index: 2;
    /* Above overlay */
}

.detail-icon {
    font-size: 1.5rem;
}

.detail-text .label {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    /* Increased opacity for better readability */
    margin-bottom: 2px;
    letter-spacing: 1px;
}

.detail-text p {
    font-size: 1.1rem;
    font-weight: 600;
}

.contact-form-wrapper {
    padding: var(--spacing-xl);
}

.form-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: var(--spacing-lg);
    color: var(--color-brand);
}

.luxury-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-brand-deep);
}

.luxury-form input,
.luxury-form select,
.luxury-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.luxury-form input:focus,
.luxury-form select:focus,
.luxury-form textarea:focus {
    border-color: var(--color-accent);
    background: #fff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
}

.grayscale-map {
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.grayscale-map:hover {
    filter: grayscale(0%);
}

@media (max-width: 900px) {

    .cards-grid,
    .contact-card-wrapper,
    .form-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {

    .contact-info,
    .contact-form-wrapper {
        padding: 24px;
    }

    .contact-card-wrapper {
        min-height: auto;
    }

    .info-title {
        font-size: 1.6rem;
    }

    .info-desc {
        font-size: 0.95rem;
    }

    .detail-text p {
        font-size: 1rem;
    }

    .form-title {
        font-size: 1.5rem;
        margin-bottom: var(--spacing-sm);
    }

    .luxury-form label {
        font-size: 15.2px;
    }

    .luxury-form input,
    .luxury-form select,
    .luxury-form textarea {
        padding: 10px 14px;
        font-size: 0.95rem;
    }

    .custom-checkbox-wrapper {
        margin-bottom: 10px;
    }
}

/* Registration Form Styles */
.registration-options {
    display: flex;
    justify-content: center;
    gap: var(--spacing-xl);
    flex-wrap: wrap;
}

.reg-card {
    flex: 1 1 300px;
    max-width: 400px;
    background: #FFFFFF;
    padding: var(--spacing-xl);
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--color-border);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.reg-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(43, 45, 115, 0.15);
    border-color: var(--color-brand);
}

.reg-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.reg-title {
    color: var(--color-brand);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.reg-desc {
    color: var(--color-text-main);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.reg-action {
    margin-top: auto;
    color: var(--color-accent);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.95rem;
    letter-spacing: 1px;
}

.text-lg {
    font-size: 1.15rem;
    line-height: 1.6;
}

/* CVU Helper - Scoped */
#trademarkUsage .guidelines-box {
    background: #FFFFFF;
    padding: var(--spacing-lg);
    border-left: 4px solid var(--color-brand);
    border-radius: 0 8px 8px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    margin-top: 60px;
}

#trademarkUsage .guidelines-box:hover {
    transform: translateX(5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

#trademarkUsage .box-title {
    color: var(--color-brand);
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding-bottom: 0.8rem;
}

#trademarkUsage .guidelines-list {
    list-style: none;
    padding: 0;
}

#trademarkUsage .guidelines-list li {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    color: var(--color-text-main);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.05rem;
}

#trademarkUsage .guidelines-list li::before {
    content: "•";
    color: var(--color-accent);
    /* Gold bullet */
    font-size: 1.5rem;
    line-height: 0;
}

@media (min-width: 901px) {
    #benefitTrademark .split-content {
        padding-left: 80px;
    }
}

#benefitTrademark .benefits-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
}

@media (max-width: 768px) {
    #benefitTrademark .benefits-list {
        grid-template-columns: 1fr;
    }
}

#benefitTrademark .benefits-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
}

#benefitTrademark .benefits-list li:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    border-color: var(--color-accent);
}

#benefitTrademark .check-icon {
    color: var(--color-accent);
    font-weight: bold;
    font-size: 1.2rem;
    flex-shrink: 0;
    background: rgba(212, 175, 55, 0.1);
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
}

/* CVU Benefits Mobile Layout */
.cvu-benefits-layout {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 50px;
}

.benefits-grid {
    display: grid;
    /* Default is stacked or flex, but we'll enforce a grid if not defined */
}

@media (max-width: 768px) {
    .cvu-benefits-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .cvu-benefits-layout .split-image {
        order: -1;
        /* Force image to top */
        margin-bottom: 20px;
        width: 100%;
    }

    .cvu-benefits-layout .image-card {
        max-width: 100%;
        /* Supersize image on mobile */
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2 items per row */
        gap: 15px;
    }

    .benefits-grid .benefit-card {
        padding: 15px;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

/* Vision & Mission Scoped Styles */
#vision_mision .cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-xl);
    max-width: 1200px;
    margin: 3rem auto 0;
}

@media (max-width: 768px) {
    #vision_mision .cards-grid {
        grid-template-columns: 1fr;
    }
}

#vision_mision .info-card {
    background: #FFFFFF;
    padding: var(--spacing-xl);
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    /* Softer, deeper shadow */
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    height: 100%;
}

#vision_mision .info-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

#vision_mision .card-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(212, 175, 55, 0.05));
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--color-brand);
    margin-left: auto;
    margin-right: auto;
}

#vision_mision h3 {
    margin-bottom: 1rem;
    color: var(--color-brand);
    font-family: var(--font-heading);
}

#vision_mision p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--color-text-muted);
}

@media (max-width: 1200px) {
    .container-fluid {
        padding: 0 30px;
    }

    .process-wrapper {
        flex-direction: column;
        gap: 2rem;
    }

    .process-divider {
        width: 100%;
        height: auto;
        padding: 1rem 0;
        border-left: none;
        border-top: 1px dashed var(--color-border);
    }

    .vs-circle {
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .container-fluid {
        padding: 0 20px;
        /* Reduce side padding on mobile */
    }
}



/* --- Footer Styles (Migrated) --- */
.main-footer {
    position: relative;
    background: var(--color-brand);
    background-image: url('../images/footer-bg.jpg');
    /* Header background image */
    background-size: cover;
    /* Fill the container */
    background-position: center;
    /* Center the image */
    padding-top: var(--spacing-lg);
    padding-bottom: var(--spacing-md);
    color: var(--color-secondary);
    margin-top: var(--spacing-xl);
}

.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 28, 80, 0.65);
    /* Navy overlay */
    z-index: 0;
}

.main-footer .container {
    position: relative;
    z-index: 1;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-logo {
    height: 160px;
    margin-bottom: var(--spacing-sm);
}

.footer-desc {
    color: var(--color-secondary);
    font-size: 16px;
    max-width: 300px;
    line-height: 1.6;
}

.footer-col h4 {
    color: var(--color-secondary);
    font-family: var(--font-heading);
    font-size: 21.6px;
    font-weight: 600;
    margin-bottom: 1.2rem;
    /* Increased spacing */
    border-bottom: 2px solid var(--color-accent);
    /* Added underline as requested */
    padding-bottom: 5px;
    display: inline-block;
}

.footer-col ul li {
    margin-bottom: 0.4rem;
}

.footer-col ul li a {
    color: var(--color-secondary);
    font-size: 16px;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: var(--color-accent);
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    /* Tighter gap */
}

.footer-contact-item {
    display: flex;
    flex-direction: column;
    margin-bottom: 0.4rem;
    /* Match ul li spacing */
}

.footer-contact-item label {
    font-size: 16px;
    color: var(--color-secondary);
    font-weight: 700;
    /* Bolded as requested */
    text-transform: none;
    /* Override any inline forced uppercase if possible, or handle in PHP */
    font-family: inherit;
    margin-bottom: 0.2rem;
}

.footer-contact-item span {
    font-size: 16px;
    color: var(--color-secondary);
    font-weight: 400;
    line-height: 1.4;
    font-family: inherit;
}

.footer-contact-item span a {
    color: var(--color-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-contact-item span a:hover {
    color: var(--color-accent);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--color-secondary);
    font-size: 0.85rem;
}

/* Footer Breakpoints */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        /* Tablet: 2 Columns */
        gap: var(--spacing-lg);
    }
}

@media (max-width: 600px) {
    .footer-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        /* 2-Column Layout */
        gap: 1.5rem;
        /* Reduced from 2rem to tighten layout */
    }

    /* Force specific order and span on mobile as requested */
    .footer-col:nth-child(1) {
        order: 1;
        grid-column: 1 / -1;
    }

    /* Branding: Full Width */
    .footer-col:nth-child(2) {
        order: 2;
    }

    /* Who we are: Left Column */
    .footer-col:nth-child(3) {
        order: 3;
    }

    /* Services: Right Column */
    .footer-col:nth-child(4) {
        order: 4;
        grid-column: 1 / -1;
    }

    /* Connect: Full Width */

    .footer-col {
        text-align: left;
        /* Left align everything */
    }

    .footer-desc {
        margin: 0;
        /* Left align */
        font-size: 15.2px;
        /* Shrunk from 1rem default */
        max-width: 250px;
        text-align: left;
    }

    .footer-logo {
        margin: 0 0 var(--spacing-sm) 0;
        /* Left align */
        display: block;
        height: 120px;
        /* Increased back to original/larger size as requested */
    }

    .footer-col h4 {
        font-size: 21.2px;
        /* Shrunk from 1.2rem default */
        margin-bottom: 0.5rem;
        /* Adjusted for better spacing */
        text-align: left;
        border-bottom: 2px solid var(--color-accent);
        /* Added underline as requested */
        padding-bottom: 5px;
        display: inline-block;
    }

    .footer-col ul {
        padding-left: 0;
    }

    .footer-col ul li {
        margin-bottom: 5px;
        /* Tighten list items */
        text-align: left;
    }

    .footer-col ul li a {
        font-size: 15.2px;
        /* Set specific font size */
        text-align: left;
    }

    .footer-contact-item label {
        font-size: 15.2px;
        font-weight: 700;
        /* Bold */
        color: #FFFFFF;
        /* High contrast for bold labels */
        text-align: left;
        margin-bottom: 2px;
    }

    .footer-contact-item span,
    .footer-contact-item span a {
        font-size: 15.2px;
        text-align: left;
    }

    .footer-contact-info {
        gap: 0.5rem;
        /* Reduce large gap between contact items */
    }

    .footer-contact-item {
        margin-bottom: 5px;
        /* Decrease margin in connect section */
    }
}

/* User Menu & Login Styles */
.user-nav {
    position: relative;
    margin-left: 20px;
}

.user-icon-btn {
    color: var(--color-brand);
    font-size: 1.8rem;
    transition: color 0.3s;
    display: flex;
    align-items: center;
}

.user-icon-btn:hover {
    color: var(--color-accent);
}

.user-menu-content {
    right: 0;
    left: auto;
    min-width: 200px;
}

.user-menu-content a {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Adjust Login Button Spacing */
.btn-gold.desktop-only.ml-sm {
    margin-left: 15px;
}

/* Bilingual Toggle Logic */
html[lang="en"] .lang-zh {
    display: none;
}

html[lang="zh"] .lang-en {
    display: none;
}

/* Utility for custom file inputs */
.hidden-file-input {
    display: none;
}

/* Progress Bar Styles - Added for Registration Forms */
.progress-container {
    padding: 2rem 0;
    width: 100%;
}

.progress-bar-bg {
    background-color: #e0e0e0;
    height: 4px;
    width: 100%;
    position: relative;
    border-radius: 2px;
    margin-bottom: 2rem;
    z-index: 1;
}

.progress-bar {
    background: var(--color-brand);
    height: 100%;
    transition: width 0.4s ease;
    border-radius: 2px;
}

.step-indicators {
    display: flex;
    justify-content: space-between;
    margin-top: -34px;
    /* Align dots with line */
    position: relative;
    z-index: 2;
    padding: 0 10px;
    /* Slight padding to keep dots inside */
}

.step-dot {
    width: 30px;
    /* Increased size */
    height: 30px;
    /* Increased size */
    background-color: #e0e0e0;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    transition: all 0.3s ease;
    border: 2px solid #fff;
    /* White border to separate from line */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.step-dot.active {
    background: var(--color-brand);
    /* Classic Brand Blue */
    transform: scale(1.2);
    box-shadow: 0 4px 10px rgba(43, 45, 115, 0.3);
}

/* Completed Step Style - Dark Grey */
.step-dot.completed {
    background-color: #555555;
    /* Dark Grey */
    color: #fff;
    border-color: #fff;
}

.section-cta-global {
    padding-top: 100px;
    padding-bottom: 20px;
}

@media (max-width: 768px) {
    .section-cta-global {
        padding-top: 60px;
        padding-bottom: 0px;
    }
}

/* CTA Card (Global & Varieties) */
.cta-card,
.cta-banner {
    background-color: #1A1C50; /* Royal Navy Blue */
    border-radius: 12px;
    padding: 100px 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    background-image: url('../images/business.jpg');
    background-size: cover;
    background-position: center;
    max-width: 1000px;
    margin: 30px auto;
    text-align: center;
    position: relative;
    overflow: hidden;
    color: #FFFFFF;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 28, 80, 0.7); /* Navy overlay for readability */
    z-index: 1;
}

/* Specific Light Banner Variant (Home Page variety) */
.cta-banner-light {
    background-image: url('../images/business.jpg') !important;
    padding: 100px 40px;
}

.cta-banner-light::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 28, 80, 0.65); /* Navy overlay */
    z-index: 1;
}

/* Ensure all text inside CTA card is properly colored and above overlay */
.cta-card .section-title,
.cta-card .section-subtitle,
.cta-card h2,
.cta-card p,
.cta-banner .section-title,
.cta-banner .section-subtitle,
.cta-banner h2,
.cta-banner p {
    color: #FFFFFF !important;
    position: relative;
    z-index: 2;
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
}

.cta-card .section-title,
.cta-banner .section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    margin-bottom: 15px;
}

.cta-card .section-subtitle,
.cta-banner .section-subtitle {
    font-size: 1.1rem;
    margin-bottom: 15px;
}

/* Button positioning inside CTA */
.cta-card .btn,
.cta-banner .btn {
    position: relative;
    z-index: 2;
    margin-top: 20px;
    display: inline-block;
}

/* Global CTA Card Auto-Height Fix for Tablets & Mobile */
@media (max-width: 1100px) {
    .cta-card, .cta-banner-light, .cta-banner {
        height: auto;
        min-height: auto;
        padding-top: 50px;
        padding-bottom: 50px;
    }
}

/* Global CTA Card Mobile Format Fix */
@media (max-width: 768px) {
    .cta-card, .cta-banner-light, .cta-banner {
        padding-left: 30px;
        padding-right: 30px;
        margin: 0 15px;
        border-radius: 12px;
    }

    .cta-card .section-title, 
    .cta-banner-light .section-title {
        font-size: 1.4rem; /* Balanced size for mobile cards */
        line-height: 1.2;
        margin-bottom: 15px;
        white-space: normal; /* Crucial: Allow wrapping for long titles like index page */
        text-align: center;
    }

    .cta-card .section-subtitle,
    .cta-banner-light .section-subtitle {
        font-size: 14px;
        line-height: 1.4;
        margin-bottom: 20px;
        text-align: center;
    }

    .cta-card .btn,
    .cta-banner-light .btn {
        margin-top: 10px;
        padding: 0.8rem 1.8rem;
        font-size: 0.9rem;
    }
}

.section-cta-clean {
    padding-top: 8rem;
    padding-bottom: 0;
}


/* --- FAQ Page Specific Styles - Card Redesign --- */
#faqPage {
    background-color: var(--color-primary);
}

/* Accordion Section - White Background (Pic 3) */
.faq-accordion-section {
    background-color: #FFFFFF;
    padding: 100px 0 60px;
}

/* Reduce gap between Accordion and Contact Card */
.faq-accordion-section+.section-cta-clean {
    padding-top: 60px;
}

.faq-card-container {
    max-width: 850px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Lines format as per Pic 1 but white for blue bg */
.faq-card-item {
    background-color: #FFFFFF;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition-smooth);
    border: 1px solid var(--color-brand);
}

.faq-card-item.active {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.faq-card-header {
    width: 100%;
    padding: 15px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: #FFFFFF;
}

.faq-question {
    color: var(--color-brand);
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.4;
    transition: var(--transition-fast);
}

.faq-icon {
    font-size: 1.3rem;
    color: var(--color-brand);
    font-weight: 300;
    margin-left: 20px;
    transition: transform 0.3s ease;
}

.faq-card-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: #FFFFFF;
}

.faq-card-inner {
    padding: 0 25px 25px;
    color: var(--color-text-main);
    line-height: 1.8;
    font-size: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    /* Subtle divider when open */
    padding-top: 15px;
}

.faq-card-inner p {
    margin: 0;
}





/* Mobile Tweaks */
@media (max-width: 768px) {
    .faq-header {
        padding: 120px 20px 60px;
    }

    .faq-main-title {
        font-size: 2.8rem;
    }

    .faq-accordion-section {
        padding: 60px 20px;
    }

    .faq-card-header {
        padding: 20px 25px;
    }

    .faq-question {
        font-size: 1.1rem;
    }

    .faq-card-inner {
        padding: 0 25px 25px;
        font-size: 1rem;
    }

    .help-title {
        font-size: 2rem;
    }
}

/* =========================================================================
   17. GLOBAL WHATSAPP FLOATING BUTTON
   =========================================================================*/
/* Floating Contact WhatsApp */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    left: 30px;
    /* Force to bottom-left side */
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 9999;
    text-decoration: none;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: transparent;
}

.floating-whatsapp:hover {
    transform: translateY(-5px);
}

.whatsapp-icon-container {
    width: 60px;
    height: 60px;
    background-color: #FFFFFF;
    /* Minimal white background */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    /* Soft, neutral shadow */
    position: relative;
    z-index: 2;
}

.whatsapp-svg {
    width: 32px;
    /* Nicely padded within the 60px container */
    height: 32px;
    fill: #000000;
    /* Black icon fill */
}

.whatsapp-text {
    background-color: #FFFFFF;
    color: #333;
    font-weight: 600;
    font-family: var(--font-heading);
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 0.95rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    /* Create the little speech bubble tail pointing to the icon */
    margin-left: 5px;
    white-space: nowrap;
}

/* Speech bubble arrow/tail */
.whatsapp-text::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 50%;
    transform: translateY(-50%);
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-right: 8px solid #FFFFFF;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .floating-whatsapp {
        bottom: 20px;
        left: 20px;
        gap: 8px;
    }

    .whatsapp-icon-container {
        width: 50px;
        height: 50px;
    }

    .whatsapp-svg {
        width: 28px;
        height: 28px;
    }

    .whatsapp-text {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
}

/* ============================================================================
   8. Global Top Announcement Banner
   ============================================================================ */
.top-announcement-banner {
    background-color: #ffffff;
    color: #333333;
    padding: 8px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    position: relative;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.top-announcement-banner .banner-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-grow: 1;
    text-align: center;
}

.top-announcement-banner .banner-icon {
    width: 18px;
    height: 18px;
    color: #333333;
    /* Black icon to match text */
}

.top-announcement-banner strong {
    color: #111111;
    /* Darker bold text */
    font-weight: 700;
}

.top-announcement-banner a {
    color: var(--color-brand);
    /* Hyperlink visually pops against white */
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.3s ease;
}

.top-announcement-banner a:hover {
    color: var(--color-gold);
    /* Gold hover effect */
}

.close-banner-btn {
    background: none;
    border: none;
    color: #333333;
    /* Close button clearly visible against white */
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.close-banner-btn:hover {
    opacity: 1;
}

.close-banner-btn svg {
    width: 18px;
    height: 18px;
}

/* --- LINKTREE MODAL --- */
.linktree-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 10000;
    display: none;
    /* Hidden by default */
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.linktree-modal-overlay.active {
    display: flex;
    opacity: 1;
}

.linktree-card {
    background-color: #d6d4d2;
    width: 90%;
    max-width: 400px;
    /* Matched the screenshot constraints */
    border-radius: 20px;
    padding: 40px 30px;
    /* More vertical space */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    text-align: center;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.linktree-modal-overlay.active .linktree-card {
    transform: translateY(0);
}

.linktree-logo {
    width: 110px;
    /* Larger logo */
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    /* Fill the entire circle, cropping any excess edges */
    display: block;
    margin: 0 auto 25px auto;
    /* Force horizontal center, 25px bottom gap */
    background-color: #fff;
    /* Ensure transparent PNGs display cleanly */
}

.linktree-email {
    font-size: 1.2rem;
    font-weight: 800;
    color: #1a1c50;
    margin-bottom: 10px;
}

.linktree-tagline {
    font-size: 0.95rem;
    color: #4a4a4a;
    line-height: 1.5;
    margin-bottom: 30px;
    padding: 0 10px;
}

.linktree-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.linktree-btn {
    display: flex;
    align-items: center;
    background: #ffffff;
    color: #1a1c50;
    padding: 16px 20px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
    position: relative;
    letter-spacing: 0.5px;
}

.linktree-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    background: #fdfdfd;
}

.linktree-icon-wrapper {
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: -30px;
    /* Visually negates the width so text remains perfectly mathematically centered in the flex container */
    z-index: 2;
}

.linktree-btn i,
.linktree-btn svg {
    font-size: 1.4rem;
    color: #1a1c50;
}

.linktree-btn-text {
    flex: 1;
    text-align: center;
    padding-left: 30px;
    /* Counter-balances the absolute left icon */
    text-transform: uppercase;
}

/* Close button on card */
.linktree-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.05);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #333;
    transition: background 0.2s;
    font-size: 1.2rem;
}

.linktree-close:hover {
    background: rgba(0, 0, 0, 0.1);
}

/* =========================================================================
   NEW QUALIFICATION & PARTICIPATION GRID (Redesign)
   ========================================================================= */

.qualifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 40px auto 0 auto;
    max-width: 1200px;
    /* Constrain width so it isn't completely full-bleed */
}

/* Card Design */
.q-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 30px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(226, 232, 240, 0.8);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 140px;
    box-shadow: var(--shadow-sm);
}

.q-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    /* Keep accent color on hover per user request */
    border-color: #3b82f6;
}

.q-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    /* Replaced with strict brand blue from Master Prompt */
    background: var(--color-brand);
    opacity: 0;
    transition: opacity 0.3s;
}

.q-card:hover::before {
    opacity: 1;
}

/* Icons and Titles */
.card-top {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    z-index: 2;
}

.icon-wrapper {
    /* Keep accent color for icons per user request */
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.q-card h3 {
    font-size: 1.15rem;
    margin: 0;
    line-height: 1.4;
    /* Strict Brand Blue from Master Prompt */
    color: var(--color-brand);
    font-weight: 700;
}

/* Background Large Numbers */
.number-bg {
    position: absolute;
    bottom: -15px;
    right: 10px;
    font-size: 5rem;
    font-weight: 900;
    /* Strict Brand Blue but highly transparent */
    color: rgba(43, 45, 115, 0.04);
    user-select: none;
    z-index: 1;
}

.q-card:hover .number-bg {
    /* Reverted back to the light blue background overlay as requested (looks like headers/icons bg) */
    color: rgba(59, 130, 246, 0.08);
    transform: scale(1.1);
    transition: all 0.4s ease;
}

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

/* =========================================================================
   SYSTEM POSITIONING (REDESIGN)
   ========================================================================= */

.section-positioning-new {
    background-color: #ffffff;
    padding: 80px 0 120px 0;
}

.section-positioning-new .header h1 {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--color-brand);
    margin-bottom: 30px;
    letter-spacing: -0.03em;
}

.section-positioning-new .header p {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    max-width: 700px;
    margin: 0 auto;
}

.section-positioning-new .grid-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.categories-visual {
    position: relative;
    width: 100%;
    max-width: 500px;
    aspect-ratio: 1/1;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.center-hub {
    position: absolute;
    z-index: 10;
    background: white;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border: none;
    /* Removed the border as requested */
    padding: 10px;
}

.center-hub span {
    font-weight: 800;
    color: var(--color-brand);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.segment-container {
    position: absolute;
    width: 100%;
    height: 100%;
    animation: rotateOnce 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes rotateOnce {
    from {
        transform: scale(0.3) rotate(-180deg);
        opacity: 0;
    }

    to {
        transform: scale(1) rotate(0);
        opacity: 1;
    }
}

.brand-core {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.brand-core h2 {
    font-size: 1.5rem;
    color: var(--color-brand);
    border-bottom: 3px solid var(--color-accent);
    display: inline-block;
    padding-bottom: 8px;
    margin-bottom: 20px;
}

.core-item {
    display: flex;
    align-items: center;
    background: #f9fafb;
    padding: 16px 24px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.core-item:hover {
    transform: translateX(10px);
    border-color: var(--color-brand);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.core-icon {
    width: 44px;
    height: 44px;
    background: white;
    color: var(--color-brand);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    box-shadow: var(--shadow-sm);
}

.core-icon-dot {
    width: 14px;
    height: 14px;
    background: var(--color-brand);
    border-radius: 50%;
    margin-right: 20px;
    box-shadow: 0 0 10px rgba(43, 45, 115, 0.4);
    flex-shrink: 0;
}

.core-text {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--color-brand);
}

@media (max-width: 900px) {
    .section-positioning-new {
        padding: 40px 0 60px 0;
    }

    .section-positioning-new .grid-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .section-positioning-new .header h1 {
        font-size: 1.6rem;
        margin-bottom: 15px;
    }

    .section-positioning-new .header p {
        font-size: 0.85rem;
        line-height: 1.4;
    }

    .section-positioning-new .header {
        margin-bottom: 40px;
    }

    .brand-core h2 {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }

    .core-item {
        padding: 10px 15px;
        border-radius: 8px;
    }

    .core-text {
        font-size: 15.2px;
    }

    .core-icon-dot {
        width: 10px;
        height: 10px;
        margin-right: 12px;
    }

    .categories-visual {
        order: 2;
    }

    .brand-core {
        order: 1;
    }
}

/* Standardized CTA Section Wrapper for balanced Mobile Spacing */
.section-cta-global {
    padding-top: var(--spacing-xl);
    padding-bottom: var(--spacing-sm);
}

@media (max-width: 768px) {
    .section-cta-global {
        padding-top: 60px;
        padding-bottom: 0px;
    }
}



/* Mobile Responsiveness for Register/Login Page (.login-wrapper) */
@media (max-width: 768px) {
    .login-wrapper .contact-form-wrapper {
        padding: 1.5rem 1rem;
        /* More compact for mobile screens */
    }

    .login-wrapper .text-center[style*="margin-bottom: 4rem"] {
        margin-bottom: 1.5rem;
        /* Reduced white space above inputs */
    }

    .login-wrapper .text-center[style*="margin-top: 3rem"] {
        margin-top: 1rem;
    }

    .login-wrapper .text-center[style*="margin-top: 3rem;"] {
        margin-top: 1rem;
    }

    .login-wrapper img {
        height: 130px;
        /* Enlarged from 80px per user request */
        margin-bottom: 0.8rem;
    }

    .login-wrapper h2 {
        font-size: 1.8rem;
        /* Restored from 1.1rem (28.8px) per user request */
        letter-spacing: 0.5px;
    }

    .login-wrapper .text-muted {
        font-size: 15.2px;
        /* Specific user request */
        line-height: 1.4;
    }

    .login-wrapper .form-group,
    .login-wrapper .form-group[style*="margin-bottom: 3rem"],
    .login-wrapper .form-group[style*="margin-bottom: 4rem"] {
        margin-bottom: 1.2rem;
        /* Tighter vertical rhythm */
    }

    .login-wrapper .form-control {
        padding: 12px;
        font-size: 0.9rem;
    }

    .login-wrapper label {
        font-size: 0.9rem;
        margin-bottom: 6px;
    }

    .login-wrapper .btn-gold {
        padding: 12px 30px;
        /* Shrunk from 18px 70px */
        font-size: 1rem;
        /* Shrunk from 1.3rem */
        min-width: 180px;
        /* Shrunk from 250px */
        border-radius: 40px;
    }

    .login-wrapper p {
        font-size: 0.85rem;
    }
}

/* Authentication Page Header Overrides */
.auth-header {
    padding-top: 110px;
    padding-bottom: 90px;
    min-height: auto;
}

@media (max-width: 768px) {
    .auth-header {
        padding-top: 120px;
        padding-bottom: 80px;
    }

    .auth-header .section-title {
        font-size: 2rem;
    }
}

/* Adjudicator Page Mobile Responsiveness Tweaks */
@media (max-width: 768px) {
    .overview-box {
        padding: 1.5rem 1.5rem;
    }

    .v2-timeline::before {
        left: 14px;
    }

    .timeline-row {
        padding-left: 45px;
    }

    .timeline-marker {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
        border-width: 2px;
    }

    .timeline-content.card-style {
        padding: 1.2rem 1rem;
    }

    .timeline-title {
        font-size: 15.2px;
    }

    .timeline-list {
        font-size: 15.2px;
    }

    .roles-grid {
        gap: 15px;
    }

    .role-card {
        padding: 1.5rem 1.5rem;
    }

    #isolated-travel-policy-section {
        padding-top: 40px;
        padding-bottom: 40px;
    }
}

/* Witness Page Mobile Responsiveness Tweaks */
@media (max-width: 768px) {

    /* Relax the 40px side padding on the main fluid containers to widen the screen */
    #isolated-witness-cr-section .container-fluid,
    #isolated-witness-procedure-section .container-fluid,
    #isolated-evidence-requirements-section .container-fluid {
        padding: 0 15px;
    }

    /* Overall Section Padding Reduction */
    #isolated-witness-cr-section,
    #isolated-witness-procedure-section,
    #isolated-evidence-requirements-section {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    /* Purpose Overview Shrinkage */
    .overview-text {
        font-size: 0.95rem;
    }

    /* Core Responsibilities Slider Card */
    .witness-card {
        padding: 30px 20px;
        min-height: 300px;
    }

    .cr-title {
        font-size: 1.4rem;
        margin-bottom: 15px;
    }

    .cr-text {
        font-size: 0.95rem;
    }

    .cr-icon {
        font-size: 2.5rem;
        margin-bottom: 20px;
    }

    /* Witness Procedure Slider Card */
    .step-card {
        padding: 40px 20px;
        min-height: 330px;
    }

    .step-badge {
        width: 48px;
        height: 48px;
        font-size: 1.2rem;
        margin-bottom: 20px;
    }

    .step-title {
        font-size: 1.4rem;
    }

    .step-desc {
        font-size: 0.95rem;
    }

    /* Evidence Requirements Grid Card */
    .er-info-card {
        padding: 30px 20px;
        min-height: 180px;
    }

    .er-card-title {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }

    .er-card-text {
        font-size: 0.95rem;
    }
}

/* FAQ Page Mobile Responsiveness Tweaks */
@media (max-width: 768px) {
    .faq-accordion-section {
        padding: 40px 0 40px;
    }

    .faq-card-header {
        padding: 15px 15px;
    }

    .faq-question {
        font-size: 0.95rem;
    }

    .faq-icon {
        font-size: 1.1rem;
        margin-left: 10px;
    }

    .faq-card-inner {
        padding: 0 15px 15px;
        font-size: 0.95rem;
    }
}



/* User Dashboard Mobile Tweaks */
@media (max-width: 768px) {
    .dashboard-wrapper {
        flex-direction: column;
        padding-top: 40px;
        /* Reduce the huge 100px padding */
        gap: 20px;
    }

    .dashboard-sidebar {
        width: 100%;
        height: auto;
        flex-shrink: initial;
    }

    .dashboard-content {
        width: 100%;
    }

    .profile-row {
        flex-wrap: wrap;
        padding: 15px;
        /* Slightly tighter on mobile */
    }

    .profile-row>div:nth-child(1) {
        width: 100%;
        /* Label takes full width and stacks on top */
        margin-bottom: 8px;
    }

    .profile-row>div:nth-child(2) {
        width: calc(100% - 40px);
        /* Value takes remaining width */
    }

    .profile-row>div:nth-child(3) {
        width: 30px;
        /* Chevron stays fixed on the right */
        text-align: right;
    }

    .app-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .app-status-mid,
    .app-date-right {
        text-align: left;
        padding: 0 20px;
    }

    .app-toggle {
        align-self: flex-end;
        margin-top: -30px;
    }
}

/* Registration Form Page Mobile Scaling */
@media (max-width: 768px) {
    #registration-form-page .section-content {
        padding: 40px 0;
    }

    #registration-form-page .section-title {
        font-size: 1.8rem;
        margin-bottom: 25px;
    }

    #registration-form-page .registration-options {
        gap: 20px;
        padding: 0 15px;
    }

    #registration-form-page .reg-card {
        padding: 30px 20px;
        flex: 1 1 100%;
        max-width: 100%;
    }

    #registration-form-page .reg-icon {
        font-size: 3rem;
        margin-bottom: 1rem;
    }

    #registration-form-page .reg-title {
        font-size: 1.3rem;
        margin-bottom: 0.8rem;
        line-height: 1.3;
    }

    #registration-form-page .reg-desc {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
}

/* --- Sticky Header Interaction Fix to Match V3 --- */
#stickyHeaderWrapper {
    z-index: 10000;
    height: 90px;
    margin-bottom: -90px;
    pointer-events: none;
}

#stickyHeaderWrapper .main-header {
    pointer-events: auto;
}

@media (max-width: 1280px) {
    #stickyHeaderWrapper {
        height: 90px;
        margin-bottom: -90px;
    }
}

@media (max-width: 768px) {
    #stickyHeaderWrapper {
        height: 70px;
        margin-bottom: -70px;
    }
}