/* ========== ASDEN Solutions - Design System ========== */

:root {
    /* Palette */
    --bg: #FDFDFC;
    --bg-secondary: #F6F5F4;
    --surface: #FFFFFF;
    --text: #171717;
    --text-secondary: #868D94;
    --text-tertiary: #9CA3AF;
    --brand: #12213C;
    --brand-light: #1E3A66;
    --brand-deep: #1A375E;
    --accent: #2866C5;
    --accent-hover: #318EDF;
    --accent-light: #EDF4FC;
    --border: #E5E5E0;
    --border-light: #F0EFEC;
    --success: #166534;
    --success-light: #ECFDF5;
    --error: #991B1B;
    --error-light: #FEF2F2;

    /* Radii */
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    /* Shadows - used sparingly */
    --shadow-xs: 0 1px 3px rgba(0,0,0,0.04);
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.04), 0 2px 8px rgba(0,0,0,0.04);

    /* Transitions */
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ========== Reset & Base ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text);
    line-height: 1.7;
    padding-top: 72px;
    overflow-x: hidden;
    background: var(--bg);
}

a { color: var(--accent); transition: color 0.2s var(--ease); }
a:hover { color: var(--accent-hover); }

::selection { background: var(--accent-light); color: var(--accent-hover); }

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

/* ========== Typography ========== */
h1, h2, h3, h4, h5, h6 { color: var(--text); line-height: 1.25; }

/* ========== Navigation ========== */
#mainNav {
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
    height: 72px;
    z-index: 1030;
}

#mainNav.scrolled {
    border-bottom-color: var(--border);
    box-shadow: var(--shadow-xs);
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.25rem;
    text-decoration: none;
    letter-spacing: -0.02em;
    padding: 0;
}

.navbar-logo {
    height: 48px;
    width: auto;
    display: block;
    transition: opacity 0.2s var(--ease);
}

.navbar-logo:hover {
    opacity: 0.85;
}

@media (max-width: 767.98px) {
    .navbar-logo {
        height: 38px;
    }
}

.brand-text { color: var(--text); }
.brand-accent { color: var(--accent); font-weight: 700; }

#mainNav .nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.875rem;
    padding: 0.4rem 0.85rem !important;
    transition: color 0.2s var(--ease);
    position: relative;
    letter-spacing: -0.01em;
}

#mainNav .nav-link:hover,
#mainNav .nav-link.active { color: var(--text); }

#mainNav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0.85rem;
    right: 0.85rem;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
    transform: scaleX(0);
    transition: transform 0.25s var(--ease);
}

#mainNav .nav-link:hover::after,
#mainNav .nav-link.active::after { transform: scaleX(1); }

.nav-portal-btn {
    background: var(--accent) !important;
    color: #fff !important;
    font-weight: 600 !important;
    padding: 0.5rem 1rem !important;
    border-radius: var(--radius-sm) !important;
    font-size: 0.8rem !important;
    border: none !important;
    transition: background 0.2s var(--ease), transform 0.2s var(--ease) !important;
    letter-spacing: -0.01em;
}

.nav-portal-btn:hover {
    background: var(--accent-hover) !important;
    transform: translateY(-1px);
}

.nav-portal-btn::after { display: none !important; }

.dropdown-menu {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 0.4rem 0;
    background: var(--surface);
    margin-top: 0.5rem;
}

.dropdown-item {
    padding: 0.5rem 1.1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.15s var(--ease);
}

.dropdown-item:hover { background: var(--bg-secondary); color: var(--text); }

/* ========== Hero ========== */
.hero-section {
    background: var(--brand-deep);
    color: #fff;
    padding: 6rem 0 5rem;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px);
    background-size: 24px 24px;
    pointer-events: none;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: -120px;
    right: -80px;
    width: 500px;
    height: 500px;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 50%;
    pointer-events: none;
}

.hero-section .container { position: relative; z-index: 1; }

.hero-section h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.25rem;
    letter-spacing: -0.03em;
    color: #fff;
}

.hero-section > .container > .row > div > p {
    font-size: 1.1rem;
    max-width: 640px;
    line-height: 1.7;
    color: #fff;
}

.hero-buttons {
    margin-top: 2rem;
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.btn-hero-primary {
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 0.8rem 1.75rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    transition: all 0.25s var(--ease);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-hero-primary:hover {
    background: var(--accent-hover);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(40,102,197,0.3);
}

.btn-hero-outline {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.2);
    padding: 0.8rem 1.75rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    transition: all 0.25s var(--ease);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-hero-outline:hover {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.4);
    color: #fff;
}

.hero-stats {
    margin-top: 3rem;
    display: flex;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.hero-stat {
    text-align: left;
}

.hero-stat-number {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #fff;
    line-height: 1;
}

.hero-stat-label {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.55);
    margin-top: 0.3rem;
}

.hero-trust-line {
    margin-top: 2.5rem;
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    font-size: 0.85rem;
    opacity: 0.65;
}

.hero-trust-line span { display: flex; align-items: center; gap: 0.5rem; }
.hero-trust-line span::before {
    content: '';
    width: 6px; height: 6px;
    background: var(--accent);
    border-radius: 50%;
    flex-shrink: 0;
}

/* ========== Section Spacing ========== */
.section-py { padding: 6rem 0; }
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header h2 {
    font-size: clamp(1.6rem, 3vw, 2.25rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--text);
    margin-bottom: 0.75rem;
}
.section-header p {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.7;
}

/* ========== Section Backgrounds ========== */
.bg-light { background: var(--bg-secondary) !important; }
.bg-dark-section { background: var(--brand-deep); color: #fff; }

/* ========== Quick Nav Cards ========== */
.quick-nav-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem 1.25rem;
    background: var(--surface);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    text-decoration: none;
    color: var(--text);
    transition: all 0.3s var(--ease);
    height: 100%;
    gap: 0.75rem;
}

.quick-nav-card:hover {
    border-color: var(--accent);
    color: var(--text);
    background: var(--accent-light);
}

.quick-nav-icon {
    width: 52px; height: 52px;
    background: var(--accent-light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    color: var(--accent);
    transition: transform 0.3s var(--ease);
    flex-shrink: 0;
}

.quick-nav-card:hover .quick-nav-icon { transform: scale(1.08); }
.quick-nav-card h4 { font-size: 0.95rem; font-weight: 600; margin: 0; letter-spacing: -0.01em; }

/* ========== Service Cards ========== */
.service-card {
    background: var(--surface);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    padding: 2rem;
    height: 100%;
    transition: all 0.3s var(--ease);
    text-decoration: none;
    color: var(--text);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    border-color: var(--accent);
    color: var(--text);
    background: var(--accent-light);
}

.service-card .card-icon {
    font-size: 1.75rem;
    color: var(--accent);
    margin-bottom: 1.25rem;
    width: 48px; height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-light);
    border-radius: var(--radius-sm);
}

.service-card h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 0.5rem; letter-spacing: -0.01em; }
.service-card p { color: var(--text-secondary); font-size: 0.925rem; margin: 0; line-height: 1.6; }

.service-card .card-arrow {
    margin-top: auto;
    padding-top: 1.25rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent);
    opacity: 0;
    transform: translateX(-4px);
    transition: all 0.3s var(--ease);
}

.service-card:hover .card-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* ========== Serve Blocks ========== */
.serve-block {
    background: var(--surface);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    padding: 2rem;
    height: 100%;
    border-top: 3px solid var(--accent);
    transition: border-color 0.3s var(--ease);
}

.serve-block:hover { border-top-color: var(--accent-hover); }

.serve-block h3 { font-size: 1.15rem; font-weight: 700; color: var(--text); margin-bottom: 1rem; letter-spacing: -0.01em; }

.serve-block ul { list-style: none; padding: 0; margin: 0; }
.serve-block ul li {
    padding: 0.4rem 0;
    color: var(--text-secondary);
    font-size: 0.925rem;
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
}
.serve-block ul li::before {
    content: '';
    width: 6px; height: 6px;
    background: var(--accent);
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 0.55rem;
}

/* ========== Work Steps ========== */
.work-step {
    text-align: center;
    padding: 1.5rem;
    position: relative;
}

.work-step-number {
    width: 48px; height: 48px;
    background: var(--accent-light);
    color: var(--accent);
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    transition: all 0.3s var(--ease);
}

.work-step:hover .work-step-number {
    background: var(--accent);
    color: #fff;
}

.work-step h4 { font-size: 1rem; font-weight: 600; margin-bottom: 0.4rem; letter-spacing: -0.01em; }
.work-step p { color: var(--text-secondary); font-size: 0.875rem; margin: 0; }

/* ========== Expertise Tags ========== */
.expertise-tag {
    background: var(--bg-secondary);
    color: var(--text);
    padding: 0.55rem 1.1rem;
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: 0.875rem;
    display: inline-block;
    margin: 0.2rem;
    transition: all 0.2s var(--ease);
    text-decoration: none;
    border: 1px solid transparent;
}

.expertise-tag:hover {
    background: var(--accent-light);
    color: var(--accent-hover);
    border-color: var(--accent);
}

/* ========== Blog Cards ========== */
.blog-card {
    background: var(--surface);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow: hidden;
    height: 100%;
    transition: all 0.3s var(--ease);
    text-decoration: none;
    color: var(--text);
    display: flex;
    flex-direction: column;
}

.blog-card:hover { border-color: var(--accent); color: var(--text); }

.blog-card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }

.blog-card .category-badge {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.75rem;
    display: inline-block;
}

.blog-card h4 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.4;
    letter-spacing: -0.01em;
    flex: 1;
}

.blog-card .excerpt {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.blog-card .meta {
    font-size: 0.8rem;
    color: var(--text-tertiary);
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-top: auto;
}

/* Featured blog card */
.blog-card-featured {
    border-left: 4px solid var(--accent);
}

.blog-card-featured .blog-card-body { padding: 2rem; }

/* ========== CTA Section ========== */
.cta-section {
    background: var(--bg);
    color: var(--text);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(0,0,0,0.03) 1px, transparent 1px);
    background-size: 20px 20px;
    pointer-events: none;
}

.cta-section .container { position: relative; z-index: 1; }

.cta-section h2 {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--text);
}

.cta-section > .container > .row > div > p { color: var(--text-secondary); }

.cta-form .form-control,
.cta-form .form-select {
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text);
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    transition: all 0.2s var(--ease);
}

.cta-form .form-control::placeholder { color: var(--text-tertiary); }
.cta-form .form-control:focus,
.cta-form .form-select:focus {
    background: var(--surface);
    border-color: var(--accent);
    color: var(--text);
    box-shadow: 0 0 0 3px rgba(40,102,197,0.08);
    outline: none;
}
.cta-form .form-select option { color: var(--text); background: var(--surface); }

.cta-form .form-check-label { color: var(--text-secondary); font-size: 0.85rem; }
.cta-form .form-check-label a { color: var(--accent); }
.cta-form .form-check-input {
    background-color: var(--surface);
    border-color: var(--border);
}
.cta-form .form-check-input:checked {
    background-color: var(--accent);
    border-color: var(--accent);
}

.btn-cta-submit {
    background: var(--accent);
    color: #fff;
    border: none;
    font-weight: 600;
    padding: 0.8rem 2rem;
    border-radius: var(--radius-sm);
    transition: all 0.25s var(--ease);
    font-size: 0.95rem;
}

.btn-cta-submit:hover:not(:disabled) { background: var(--accent-hover); transform: translateY(-1px); }

/* Bootstrap .btn:disabled arka plani siler; ozel butonlarda tam kutu gorunsun */
.btn.btn-primary-custom:disabled,
.btn.btn-primary-custom[disabled],
button.btn-primary-custom:disabled,
button.btn-primary-custom[disabled],
.btn-cta-submit:disabled,
.btn-cta-submit[disabled] {
    opacity: 1 !important;
    background-color: #8BAED4 !important;
    background: #8BAED4 !important;
    color: #fff !important;
    border: 1px solid #7A9DC3 !important;
    cursor: not-allowed !important;
    transform: none !important;
    box-shadow: none !important;
    pointer-events: none;
}

/* ========== Page Header ========== */
.page-header {
    background: var(--brand-deep);
    color: #fff;
    padding: 3.5rem 0 3rem;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 20px 20px;
    pointer-events: none;
}

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

    .page-header h1 {
        font-size: clamp(1.8rem, 4vw, 2.5rem);
        font-weight: 800;
        letter-spacing: -0.03em;
        margin-bottom: 0.5rem;
        color: #fff;
    }

.page-header > .container > p { font-size: 1.05rem; max-width: 620px; color: #fff; }

/* ========== Breadcrumb ========== */
.custom-breadcrumb { font-size: 0.85rem; margin-bottom: 0.5rem; }
.custom-breadcrumb a { color: rgba(255,255,255,0.5); text-decoration: none; transition: color 0.2s var(--ease); }
.custom-breadcrumb a:hover { color: rgba(255,255,255,0.8); }
.custom-breadcrumb .separator { margin: 0 0.4rem; color: rgba(255,255,255,0.25); }
.custom-breadcrumb .current { color: rgba(255,255,255,0.7); }

/* ========== Content Styles ========== */
.content-section { padding: 4rem 0; }
.content-section h2 { font-weight: 700; font-size: 1.8rem; letter-spacing: -0.02em; margin-bottom: 1.25rem; color: var(--text); }
.content-section h3 { font-weight: 600; font-size: 1.35rem; letter-spacing: -0.01em; margin-bottom: 1rem; color: var(--text); }
.content-section p { color: var(--text); margin-bottom: 1rem; line-height: 1.8; }
.content-section ul { padding-left: 1.25rem; margin-bottom: 1.5rem; }
.content-section ul li { margin-bottom: 0.4rem; }

.content-card {
    background: var(--surface);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    padding: 2rem;
    margin-bottom: 1.5rem;
    transition: border-color 0.3s var(--ease);
}

.content-card:hover { border-color: var(--accent); }

.content-card h3 { margin-top: 0; }

/* ========== Forms ========== */
.form-control-lg {
    border-radius: var(--radius-sm);
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    font-size: 0.95rem;
    transition: all 0.2s var(--ease);
    background: var(--surface);
}

.form-control-lg:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(40,102,197,0.08);
    outline: none;
}

.form-select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(40,102,197,0.08);
    outline: none;
}

.form-check-input:checked {
    background-color: var(--accent);
    border-color: var(--accent);
}

/* ========== Buttons ========== */
.btn-primary-custom {
    background: var(--accent);
    color: #fff;
    border: none;
    font-weight: 600;
    padding: 0.7rem 1.75rem;
    border-radius: var(--radius-sm);
    transition: all 0.25s var(--ease);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.btn-primary-custom:hover { background: var(--accent-hover); color: #fff; transform: translateY(-1px); }

.btn-accent {
    background: var(--accent);
    color: #fff;
    border: none;
    font-weight: 600;
    padding: 0.6rem 1.5rem;
    border-radius: var(--radius-sm);
    transition: all 0.25s var(--ease);
    font-size: 0.9rem;
}

.btn-accent:hover { background: var(--accent-hover); color: #fff; }

.btn-outline-custom {
    background: transparent;
    color: var(--accent);
    border: 1px solid var(--accent);
    font-weight: 600;
    padding: 0.65rem 1.5rem;
    border-radius: var(--radius-sm);
    transition: all 0.25s var(--ease);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.btn-outline-custom:hover {
    background: var(--accent-light);
    color: var(--accent-hover);
}

/* ========== Contact Info ========== */
.contact-info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.contact-info-item .icon {
    width: 44px; height: 44px;
    background: var(--accent-light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* ========== Alert ========== */
.alert-success-custom {
    background: var(--success-light);
    border: 1px solid #86EFAC;
    color: var(--success);
    border-radius: var(--radius);
    padding: 1rem 1.25rem;
    font-weight: 500;
}

.contact-success-toast {
    position: fixed;
    right: 1.5rem;
    bottom: 1.5rem;
    z-index: 1080;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.35rem;
    background: linear-gradient(135deg, #16a34a 0%, #22c55e 100%);
    color: #fff;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(22, 163, 74, 0.45);
    font-weight: 600;
    font-size: 1rem;
    transform: translateX(calc(100% + 2rem));
    opacity: 0;
    pointer-events: none;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease;
}

.contact-success-toast.is-visible {
    transform: translateX(0);
    opacity: 1;
    animation: contactToastPulse 2s ease-in-out 0.45s 2;
}

.contact-success-toast__icon { font-size: 1.35rem; line-height: 1; }

@keyframes contactToastPulse {
    0%, 100% { box-shadow: 0 12px 40px rgba(22, 163, 74, 0.45); }
    50% { box-shadow: 0 14px 48px rgba(22, 163, 74, 0.65); }
}

/* ========== Footer ========== */
.site-footer {
    background: var(--brand-deep);
    color: rgba(255,255,255,0.6);
    padding: 4rem 0 0;
    font-size: 0.925rem;
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('../images/footer.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.12;
    pointer-events: none;
    z-index: 0;
}

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

.site-footer h5 {
    color: #fff;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    letter-spacing: -0.01em;
}

.site-footer .footer-brand {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.site-footer .footer-brand .brand-text { color: #fff; }
.site-footer .footer-brand .brand-accent { color: var(--accent); }

.site-footer .footer-desc { margin-bottom: 1rem; font-size: 0.9rem; color: rgba(255,255,255,0.45); }

.site-footer .footer-contact div {
    margin-bottom: 0.35rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.site-footer .footer-contact i { color: var(--accent); width: 16px; text-align: center; font-size: 0.85rem; }

.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 0.3rem; }
.footer-links a {
    color: rgba(255,255,255,0.45);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s var(--ease);
}
.footer-links a:hover { color: rgba(255,255,255,0.8); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 1.25rem 0;
    margin-top: 3rem;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.3);
}

/* ========== Tag Badge ========== */
.tag-badge {
    background: var(--bg-secondary);
    color: var(--text-secondary);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    display: inline-block;
    text-decoration: none;
    transition: all 0.2s var(--ease);
    border: 1px solid transparent;
}

.tag-badge:hover {
    background: var(--accent-light);
    color: var(--accent-hover);
    border-color: var(--accent);
}

/* ========== Blog Detail ========== */
.blog-detail-content { line-height: 1.9; font-size: 1.05rem; }
.blog-detail-content * { background-color: transparent !important; background: transparent !important; }
.blog-detail-content table { background: var(--surface) !important; border-collapse: collapse; }
.blog-detail-content table td,
.blog-detail-content table th { background: var(--surface) !important; padding: 0.5rem 0.75rem; border: 1px solid var(--border); }
.blog-detail-content h2 { font-size: 1.5rem; margin: 2rem 0 1rem; font-weight: 700; letter-spacing: -0.02em; }
.blog-detail-content h3 { font-size: 1.25rem; margin: 1.5rem 0 0.75rem; font-weight: 600; }
.blog-detail-content p { margin-bottom: 1.25rem; }

/* ========== Blog Sidebar ========== */
.blog-sidebar { }
.blog-sidebar .card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}
.blog-sidebar .card h5 {
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
    font-size: 0.95rem;
}

/* ========== Pagination ========== */
.pagination .page-link {
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    margin: 0 2px;
    border: 1px solid var(--border);
    padding: 0.4rem 0.75rem;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.2s var(--ease);
}

.pagination .page-link:hover {
    background: var(--bg-secondary);
    color: var(--text);
    border-color: var(--text-secondary);
}

.pagination .active .page-link {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

/* ========== Table ========== */
.table-custom th {
    background: var(--bg-secondary);
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    border-bottom: 2px solid var(--border);
    padding: 0.75rem 1rem;
}

.table-custom td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border-light);
    vertical-align: middle;
}

/* ========== Portal ========== */
.portal-sidebar {
    background: var(--surface);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow: hidden;
}

.portal-sidebar .nav-link {
    padding: 0.75rem 1.25rem;
    color: var(--text-secondary);
    font-weight: 500;
    border-left: 3px solid transparent;
    transition: all 0.2s var(--ease);
    font-size: 0.925rem;
}

.portal-sidebar .nav-link:hover,
.portal-sidebar .nav-link.active {
    background: var(--accent-light);
    color: var(--accent-hover);
    border-left-color: var(--accent);
}

.portal-content {
    background: var(--surface);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    padding: 2rem;
}

/* ========== Login Page ========== */
.login-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    max-width: 440px;
    margin: 0 auto;
}

.login-card h3 {
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    text-align: center;
}

/* ========== Stats / Dashboard Cards ========== */
.stat-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    transition: border-color 0.3s var(--ease);
}

.stat-card:hover { border-color: var(--accent); }

.stat-card .stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent);
    letter-spacing: -0.02em;
    line-height: 1;
}

.stat-card .stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

/* ========== Scroll to Top ========== */
.scroll-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    cursor: pointer;
    z-index: 1000;
    opacity: 0;
    transform: translateY(12px);
    transition: all 0.3s var(--ease);
    font-size: 1.1rem;
    box-shadow: var(--shadow-xs);
}

.scroll-to-top.visible {
    opacity: 1;
    transform: translateY(0);
}

.scroll-to-top:hover { border-color: var(--accent); color: var(--accent); }

/* ========== Animations ========== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delay for children */
.stagger-1 { transition-delay: 0ms; }
.stagger-2 { transition-delay: 80ms; }
.stagger-3 { transition-delay: 160ms; }
.stagger-4 { transition-delay: 240ms; }
.stagger-5 { transition-delay: 320ms; }
.stagger-6 { transition-delay: 400ms; }

/* ========== Utility ========== */
.text-accent { color: var(--accent) !important; }
.no-print { }
.no-transition { transition: none !important; }

/* ========== Print ========== */
@media print {
    #mainNav, .site-footer, .no-print, .scroll-to-top { display: none !important; }
    body { padding-top: 0; }
}

/* ========== Dark Theme ========== */
[data-theme="dark"] {
    --bg: #121212;
    --bg-secondary: #1E1E1E;
    --surface: #252525;
    --text: #ECECEC;
    --text-secondary: #A0A0A0;
    --text-tertiary: #707070;
    --brand: #091323;
    --brand-light: #12213C;
    --border: #333333;
    --border-light: #2A2A2A;
    --shadow-xs: 0 1px 3px rgba(0,0,0,0.2);
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.2), 0 2px 8px rgba(0,0,0,0.2);
    --accent-light: #1E293B;
}

[data-theme="dark"] body {
    background: var(--bg);
    color: var(--text);
}

[data-theme="dark"] #mainNav {
    background: rgba(18,18,18,0.92);
}

[data-theme="dark"] #mainNav .nav-link:hover,
[data-theme="dark"] #mainNav .nav-link.active {
    color: #fff;
}

[data-theme="dark"] .navbar-collapse {
    background: rgba(18,18,18,0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

[data-theme="dark"] .hero-section,
[data-theme="dark"] .page-header {
    background: #0D1C33;
}

[data-theme="dark"] .stat-card,
[data-theme="dark"] .service-card,
[data-theme="dark"] .serve-block,
[data-theme="dark"] .quick-nav-card,
[data-theme="dark"] .blog-card,
[data-theme="dark"] .blog-sidebar .card,
[data-theme="dark"] .login-card,
[data-theme="dark"] .portal-content,
[data-theme="dark"] .portal-sidebar,
[data-theme="dark"] .content-card,
[data-theme="dark"] .dropdown-menu {
    background: var(--surface);
}

[data-theme="dark"] .bg-light {
    background: var(--bg-secondary) !important;
}

[data-theme="dark"] .form-control-lg {
    background: var(--surface);
    color: var(--text);
    border-color: var(--border);
}

[data-theme="dark"] .form-control-lg:focus {
    border-color: var(--accent);
}

[data-theme="dark"] .pagination .page-link {
    background: var(--surface);
    color: var(--text-secondary);
    border-color: var(--border);
}

[data-theme="dark"] .pagination .page-link:hover {
    background: var(--bg-secondary);
    color: var(--text);
}

[data-theme="dark"] .expertise-tag {
    background: var(--bg-secondary);
}

[data-theme="dark"] .dropdown-item:hover {
    background: var(--bg-secondary);
}

/* Dark mode: override Bootstrap text utility classes */
[data-theme="dark"] .text-muted {
    color: #B0B0B0 !important;
}

[data-theme="dark"] .text-dark {
    color: #ECECEC !important;
}

[data-theme="dark"] .text-secondary {
    color: #B0B0B0 !important;
}

[data-theme="dark"] .form-control {
    background: var(--surface);
    color: var(--text);
    border-color: var(--border);
}

[data-theme="dark"] .form-control:focus {
    background: var(--surface);
    color: var(--text);
}

[data-theme="dark"] .form-select {
    background-color: var(--surface);
    color: var(--text);
    border-color: var(--border);
}

[data-theme="dark"] .form-select option {
    background: var(--surface);
    color: var(--text);
}

/* ── Theme Toggle Button ── */
.theme-toggle {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-secondary);
    font-size: 1.1rem;
    transition: all 0.3s var(--ease);
    padding: 0;
    margin-left: 0.5rem;
    flex-shrink: 0;
}

.theme-toggle:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-light);
}

[data-theme="dark"] .theme-toggle {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.7);
}

[data-theme="dark"] .theme-toggle:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(40,102,197,0.15);
}

/* ========== Accent Color Themes ========== */
/* Default (blue) is in :root — no data-accent needed */

[data-accent="orange"] {
    --accent: #CA6F1E;
    --accent-hover: #A85A18;
    --accent-light: #FEF5EC;
}
[data-theme="dark"][data-accent="orange"] {
    --accent-light: #3D2A14;
}

[data-accent="red"] {
    --accent: #DC2626;
    --accent-hover: #B91C1C;
    --accent-light: #FEF2F2;
}
[data-theme="dark"][data-accent="red"] {
    --accent-light: #3B1A1A;
}

[data-accent="green"] {
    --accent: #16A34A;
    --accent-hover: #15803D;
    --accent-light: #F0FDF4;
}
[data-theme="dark"][data-accent="green"] {
    --accent-light: #1A2E1A;
}

[data-accent="purple"] {
    --accent: #7C3AED;
    --accent-hover: #6D28D9;
    --accent-light: #F5F3FF;
}
[data-theme="dark"][data-accent="purple"] {
    --accent-light: #2A1A3B;
}

/* ── Color Picker ── */
.color-picker-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
    margin-left: 0.35rem;
}

.color-picker-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--accent);
    border: 2px solid var(--border);
    cursor: pointer;
    padding: 0;
    transition: all 0.2s var(--ease);
    flex-shrink: 0;
}

.color-picker-btn:hover {
    transform: scale(1.12);
    border-color: var(--accent);
}

.color-picker-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0.5rem;
    display: flex;
    gap: 6px;
    z-index: 1040;
    box-shadow: var(--shadow-sm);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: all 0.2s var(--ease);
}

.color-picker-dropdown.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.color-option {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 2px solid transparent;
    cursor: pointer;
    padding: 0;
    transition: all 0.2s var(--ease);
    position: relative;
}

.color-option:hover {
    transform: scale(1.15);
}

.color-option.active {
    border-color: var(--text);
}

.color-option.active::after {
    content: '';
    position: absolute;
    inset: 4px;
    border-radius: 50%;
    border: 2px solid #fff;
}

.color-option[data-color="orange"] { background: #CA6F1E; }
.color-option[data-color="blue"] { background: #2866C5; }
.color-option[data-color="red"] { background: #DC2626; }
.color-option[data-color="green"] { background: #16A34A; }
.color-option[data-color="purple"] { background: #7C3AED; }

/* ========== Hero Slider ========== */
.hero-slider {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
    margin-top: -72px; /* nav offset */
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.slider-track {
    display: flex;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    cursor: grab;
}

.slider-track.dragging {
    transition: none;
    cursor: grabbing;
}

.slider-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(26,55,94,0.33) 0%, rgba(26,55,94,0.26) 50%, rgba(26,55,94,0.35) 100%);
}

.slider-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}



.slider-overlay {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #fff;
    max-width: 620px;
    padding: 1.5rem 2rem;
    animation: slideFadeIn 0.8s ease forwards;
}

.slider-slide.switching .slider-overlay {
    animation: slideFadeOut 0.3s ease forwards;
}

@keyframes slideFadeIn {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideFadeOut {
    from { opacity: 1; transform: translateY(0); }
    to { opacity: 0; transform: translateY(-16px); }
}

.slider-overlay h2 {
    font-size: clamp(1.6rem, 4vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
    color: #fff;
    line-height: 1.2;
    text-shadow: 0 0 6px #000, 0 0 14px #000, 0 2px 4px rgba(0,0,0,0.9);
}

.slider-overlay p {
    font-size: clamp(0.95rem, 1.5vw, 1.15rem);
    color: #fff;
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto 1.5rem;
    text-shadow: 0 0 4px #000, 0 0 10px #000, 0 1px 3px rgba(0,0,0,0.9);
}

.slider-overlay .slider-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--accent);
    color: #fff;
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.25s var(--ease);
}

.slider-overlay .slider-cta:hover {
    background: var(--accent-hover);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(40,102,197,0.35);
}

/* Slider Arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(0,0,0,0.3);
    color: #fff;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s var(--ease);
    backdrop-filter: blur(6px);
    opacity: 0;
}

.hero-slider:hover .slider-arrow {
    opacity: 1;
}

.slider-arrow:hover {
    background: rgba(0,0,0,0.55);
    border-color: rgba(255,255,255,0.45);
}

.slider-arrow:active {
    transform: translateY(-50%) scale(0.94);
}

.slider-prev { left: 20px; }
.slider-next { right: 20px; }

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    gap: 10px;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.5);
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s var(--ease);
}

.slider-dot:hover {
    border-color: rgba(255,255,255,0.85);
}

.slider-dot.active {
    background: #fff;
    border-color: #fff;
    transform: scale(1.15);
}

/* Slider Progress Bar */
.slider-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: var(--accent);
    z-index: 3;
    transition: width 0.1s linear;
}

/* Slider Responsive */
@media (max-width: 991.98px) {
    .hero-slider {
        height: 500px;
    }

    .slider-arrow {
        opacity: 1;
        width: 40px;
        height: 40px;
        font-size: 0.95rem;
    }

    .slider-prev { left: 10px; }
    .slider-next { right: 10px; }
}

@media (max-width: 767.98px) {
    .hero-slider {
        height: 420px;
    }

    .slider-overlay {
        padding: 0 1.25rem;
    }

    .slider-overlay h2 {
        font-size: 1.4rem;
    }

    .slider-overlay p {
        font-size: 0.9rem;
    }

    .slider-dots {
        bottom: 16px;
        gap: 8px;
    }

    .slider-dot {
        width: 8px;
        height: 8px;
    }
}

@media (max-width: 575.98px) {
    .hero-slider {
        height: 360px;
    }

    .slider-arrow {
        display: none;
    }

    .slider-overlay h2 {
        font-size: 1.2rem;
    }

    .slider-overlay p {
        font-size: 0.85rem;
    }

    .slider-dots {
        bottom: 12px;
    }
}

/* ========== Intro Section ========== */
.intro-section {
    position: relative;
    background: var(--surface);
    border-bottom: 1px solid var(--border-light);
}

.intro-section h1 {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.2;
    color: var(--brand-deep);
    margin-bottom: 1.5rem;
}

.intro-body {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.intro-body p {
    margin-bottom: 0.75rem;
}

.intro-designations {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.designation-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--accent-light);
    color: var(--accent);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    border: 1px solid rgba(40,102,197,0.12);
}

.intro-image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}

.intro-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-lg);
}

/* ========== Solution Button (liftinstituut-style) ========== */
.btn-solution {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 0.8rem 1.75rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.25s var(--ease);
}

.btn-solution:hover {
    background: var(--accent-hover);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(40,102,197,0.3);
}

/* ========== Services Image Cards (2-Column Grid) ========== */
.services-grid-section {
    background: var(--bg-secondary);
}

.service-image-card {
    display: block;
    text-decoration: none;
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
    height: 280px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.service-image-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

.service-card-img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s var(--ease);
}

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

.service-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(26,55,94,0.15) 0%, rgba(26,55,94,0.55) 100%);
    display: flex;
    align-items: flex-end;
    padding: 2rem;
    transition: background 0.35s var(--ease);
}

.service-image-card:hover .service-card-overlay {
    background: linear-gradient(180deg, rgba(26,55,94,0.25) 0%, rgba(26,55,94,0.7) 100%);
}

.service-card-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.02em;
    text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

@media (max-width: 767.98px) {
    .service-image-card {
        height: 220px;
    }
    .service-card-overlay {
        padding: 1.25rem;
    }
    .service-card-title {
        font-size: 1.1rem;
    }
}

/* ========== Promo Banner Section (Full-width with bg image) ========== */
.promo-banner-section {
    position: relative;
}

.promo-banner-bg {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    min-height: 400px;
}

.promo-banner-overlay {
    background: linear-gradient(135deg, rgba(18,33,60,0.88) 0%, rgba(18,33,60,0.65) 100%);
    padding: 5rem 0;
    min-height: 400px;
    display: flex;
    align-items: center;
}

.promo-banner-overlay h2 {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #fff;
    margin-bottom: 1.25rem;
    line-height: 1.25;
}

.promo-banner-overlay p {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    max-width: 620px;
}

.promo-banner-overlay .btn-solution {
    background: #fff;
    color: var(--brand-deep);
    font-weight: 700;
}

.promo-banner-overlay .btn-solution:hover {
    background: rgba(255,255,255,0.9);
    color: var(--brand-deep);
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

/* ========== About Preview Section ========== */
.about-preview-section {
    background: var(--surface);
}

.about-image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.06);
}

.about-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-lg);
    transition: transform 0.4s var(--ease);
}

.about-image-wrapper:hover .about-image {
    transform: scale(1.02);
}

.about-preview-section h2 {
    font-size: clamp(1.6rem, 3vw, 2.25rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--brand-deep);
    margin-bottom: 1.25rem;
}

.about-body {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-body p {
    margin-bottom: 0.75rem;
}

/* ========== Testimonial Carousel ========== */
.testimonial-section {
    background: var(--bg-secondary);
}

.testimonial-carousel {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-slide {
    min-width: 100%;
    padding: 0 1rem;
}

.testimonial-quote {
    font-size: 1.15rem;
    line-height: 1.9;
    color: var(--text);
    font-style: italic;
    margin-bottom: 1.75rem;
    position: relative;
    padding-left: 2rem;
    border-left: 3px solid var(--accent);
}

.testimonial-slide footer {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.testimonial-slide footer strong {
    font-weight: 700;
    color: var(--text);
    font-size: 0.95rem;
    letter-spacing: -0.01em;
}

.testimonial-slide footer span {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.testimonial-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s var(--ease);
    font-size: 0.9rem;
    box-shadow: var(--shadow-xs);
}

.testimonial-arrow:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-light);
}

.testimonial-prev { left: -20px; }
.testimonial-next { right: -20px; }

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 2rem;
}

.testimonial-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid var(--border);
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s var(--ease);
}

.testimonial-dot.active {
    background: var(--accent);
    border-color: var(--accent);
}

@media (max-width: 991.98px) {
    .testimonial-arrow {
        display: none;
    }
}

/* ========== Reference Logo Bar ========== */
.reference-section {
    background: var(--surface);
}

.reference-logo-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2rem 2.5rem;
}

.reference-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}

.reference-logo-item img {
    max-height: 48px;
    max-width: 140px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.5;
    transition: all 0.35s var(--ease);
}

.reference-logo-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: translateY(-2px);
}

a.reference-logo-item {
    text-decoration: none;
}

@media (max-width: 767.98px) {
    .reference-logo-bar {
        gap: 1.25rem 1.5rem;
    }
    .reference-logo-item img {
        max-height: 36px;
        max-width: 100px;
    }
}

/* ========== Nav Search Toggle ========== */
.search-toggle {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-secondary);
    font-size: 1rem;
    transition: all 0.3s var(--ease);
    padding: 0;
    margin-left: 0.35rem;
    flex-shrink: 0;
}

.search-toggle:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-light);
}

/* ========== Search Overlay ========== */
.search-overlay {
    position: fixed;
    inset: 0;
    background: rgba(18,33,60,0.95);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s var(--ease);
}

.search-overlay.open {
    opacity: 1;
    visibility: visible;
}

.search-overlay-inner {
    width: 100%;
    max-width: 640px;
    padding: 0 1.5rem;
}

.search-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: none;
    border: none;
    color: rgba(255,255,255,0.5);
    font-size: 2.5rem;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s var(--ease);
}

.search-close:hover { color: #fff; }

.search-form {
    display: flex;
    gap: 0.75rem;
}

.search-input {
    flex: 1;
    background: transparent;
    border: none;
    border-bottom: 2px solid rgba(255,255,255,0.2);
    padding: 1rem 0;
    font-size: 1.5rem;
    color: #fff;
    outline: none;
    transition: border-color 0.3s var(--ease);
}

.search-input::placeholder { color: rgba(255,255,255,0.35); }
.search-input:focus { border-bottom-color: var(--accent); }

.search-submit {
    background: var(--accent);
    color: #fff;
    border: none;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.25s var(--ease);
    flex-shrink: 0;
    align-self: center;
}

.search-submit:hover { background: var(--accent-hover); }

/* ========== Footer Newsletter ========== */
.footer-newsletter .newsletter-form .form-control {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
    padding: 0.55rem 1rem;
    font-size: 0.85rem;
}

.footer-newsletter .newsletter-form .form-control::placeholder {
    color: rgba(255,255,255,0.3);
}

.footer-newsletter .newsletter-form .btn-solution {
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    padding: 0.55rem 1rem;
    font-size: 0.85rem;
}

/* ========== Category Tree (Knowledge Center Sidebar) ========== */
.category-tree {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-tree-header {
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-secondary);
    display: block;
    padding: 0.2rem 0;
}

.category-tree-link {
    display: block;
    padding: 0.35rem 0.6rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.2s var(--ease);
}

.category-tree-link:hover {
    background: var(--bg-secondary);
    color: var(--text);
}

.category-tree-link.active {
    background: var(--accent-light);
    color: var(--accent);
    font-weight: 600;
}

.category-tree-children {
    list-style: none;
    padding-left: 1rem;
    margin-top: 0.25rem;
}

/* ========== Footer Badges ========== */
.footer-badges {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    padding: 2rem 0;
    border-top: 1px solid rgba(255,255,255,0.06);
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

.footer-badge {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255,255,255,0.3);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.35rem 1rem;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 4px;
    transition: all 0.3s var(--ease);
}

.footer-badge:hover {
    color: rgba(255,255,255,0.6);
    border-color: rgba(255,255,255,0.2);
}

/* ========== Intro Section Responsive ========== */
@media (max-width: 991.98px) {
    .intro-section {
        text-align: center;
    }
    .intro-designations {
        justify-content: center;
    }
    .intro-image-wrapper {
        max-width: 400px;
        margin: 0 auto;
    }
    .promo-banner-overlay {
        text-align: center;
    }
    .promo-banner-overlay p {
        margin-left: auto;
        margin-right: auto;
    }
    .about-preview-section {
        text-align: center;
    }
    .about-image-wrapper {
        max-width: 400px;
        margin: 0 auto 1.5rem;
    }
}

/* ========== Scroll Animation: offset trigger ========== */
@media (prefers-reduced-motion: reduce) {
    .animate-on-scroll {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ========== Responsive ========== */
@media (max-width: 991.98px) {
    .hero-section { padding: 4rem 0 3.5rem; text-align: center; }
    .hero-section > .container > .row > div > p { margin: 0 auto; }
    .hero-buttons { justify-content: center; }
    .hero-stats { justify-content: center; }
    .hero-trust-line { justify-content: center; }
    .section-py { padding: 4rem 0; }
    .section-header h2 { font-size: 1.7rem; }
    #mainNav .nav-link::after { display: none; }
    .navbar-collapse {
        background: rgba(255,255,255,0.92);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        padding: 1rem;
        border-radius: var(--radius);
        border: 1px solid var(--border);
        box-shadow: var(--shadow-sm);
        margin-top: 0.5rem;
    }
    .nav-portal-btn { margin-top: 0.5rem; text-align: center; display: block; }
    .cta-section h2 { font-size: 1.6rem; }
    .cta-section { text-align: center; }
}

@media (max-width: 767.98px) {
    body { padding-top: 64px; }
    #mainNav { height: 64px; }
    .hero-section h1 { font-size: 1.75rem; }
    .hero-section > .container > .row > div > p { font-size: 1rem; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .hero-stats { gap: 1.5rem; }
    .hero-stat-number { font-size: 1.5rem; }
    .section-py { padding: 3rem 0; }
    .section-header { margin-bottom: 2.5rem; }
    .section-header h2 { font-size: 1.5rem; }
    .page-header h1 { font-size: 1.6rem; }
    .work-step { padding: 1rem 0.5rem; }
    .content-card { padding: 1.25rem; }
}

@media (max-width: 575.98px) {
    .hero-section { padding: 3rem 0 2.5rem; }
    .hero-section h1 { font-size: 1.5rem; }
    .hero-stats { gap: 1rem; flex-direction: column; }
    .section-py { padding: 2.5rem 0; }
    .quick-nav-card { padding: 1.25rem 1rem; }
    .service-card { padding: 1.25rem; }
    .cta-section { padding: 3rem 0; }
}
