/* ========================================
   Corporate Website - Premium Stylesheet
   Redesigned for maximum visual impact
   ======================================== */

/* Google Fonts - Inter */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* CSS Variables */
:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #60a5fa;
    --primary-glow: rgba(37, 99, 235, 0.25);
    --accent: #f97316;
    --accent-dark: #ea580c;
    --accent-light: #fb923c;
    --accent-glow: rgba(249, 115, 22, 0.3);
    --success: #10b981;
    --text-dark: #0f172a;
    --text-body: #334155;
    --text-muted: #64748b;
    --bg-light: #f8fafc;
    --bg-section: #f1f5f9;
    --white: #ffffff;
    --shadow-xs: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow: 0 8px 24px -4px rgba(15, 23, 42, 0.12), 0 4px 8px -2px rgba(15, 23, 42, 0.06);
    --shadow-lg: 0 20px 40px -8px rgba(15, 23, 42, 0.18), 0 8px 16px -4px rgba(15, 23, 42, 0.08);
    --shadow-xl: 0 32px 64px -12px rgba(15, 23, 42, 0.25);
    --shadow-primary: 0 8px 24px -4px var(--primary-glow);
    --shadow-accent: 0 8px 24px -4px var(--accent-glow);
    --radius-sm: 8px;
    --radius: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.18s ease;
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    --gradient-accent: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    --gradient-hero: linear-gradient(135deg, #1e3a8a 0%, #312e81 50%, #1e1b4b 100%);
}

/* ==========================================
   Base Styles
   ========================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--text-body);
    background-color: var(--bg-light);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.2;
    letter-spacing: -0.03em;
}

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

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

section {
    overflow: hidden;
}

.py-5 {
    padding: 90px 0;
}

/* ==========================================
   Section Styles
   ========================================== */
.section-header {
    margin-bottom: 3.5rem;
}

.section-tag {
    display: inline-block;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(99, 102, 241, 0.1));
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.35rem 1rem;
    border-radius: 50px;
    margin-bottom: 1rem;
    border: 1px solid rgba(37, 99, 235, 0.15);
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 900;
    position: relative;
    display: inline-block;
    padding-bottom: 22px;
    margin-bottom: 1.25rem;
    letter-spacing: -0.04em;
    background: linear-gradient(135deg, var(--text-dark) 0%, #1e40af 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient-accent);
    border-radius: 4px;
    animation: expandLine 0.6s ease forwards;
}

@keyframes expandLine {
    from {
        width: 0;
        opacity: 0;
    }

    to {
        width: 60px;
        opacity: 1;
    }
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

.bg-section {
    background: linear-gradient(180deg, var(--bg-section) 0%, #eef2ff 100%);
    position: relative;
    overflow: hidden;
}

.bg-section::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.bg-section::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* ==========================================
   Navbar
   ========================================== */
.navbar {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06), 0 4px 20px rgba(0, 0, 0, 0.04);
    padding: 1.1rem 0;
    transition: var(--transition);
    border-bottom: 1px solid rgba(255, 255, 255, 0.6);
}

.navbar.scrolled {
    padding: 0.7rem 0;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}

.navbar-brand {
    font-size: 1.75rem;
    font-weight: 800;
}

.site-logo {
    height: 40px;
    max-width: 200px;
    object-fit: contain;
}

.logo-text {
    background: linear-gradient(135deg, var(--primary) 0%, #6366f1 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 1.75rem;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.nav-link {
    color: var(--text-body);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.5rem 1.1rem !important;
    transition: var(--transition);
    border-radius: var(--radius-sm);
    position: relative;
    letter-spacing: 0.01em;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 2px;
    transform: translateX(-50%);
    transition: width 0.25s ease;
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link:hover::after {
    width: calc(100% - 2.2rem);
}

.nav-link.active {
    color: var(--white) !important;
    background: var(--gradient-primary);
    box-shadow: var(--shadow-primary);
}

.nav-link.active::after {
    display: none;
}

.navbar-phone {
    font-size: 0.875rem;
    color: var(--text-body);
    font-weight: 600;
}

.navbar-phone i {
    color: var(--primary);
    font-size: 1rem;
}

.navbar-right .dropdown-menu {
    border: none;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 0.75rem;
}

.navbar-right .dropdown-item {
    border-radius: var(--radius-sm);
    font-weight: 500;
    transition: var(--transition-fast);
}

.navbar-right .dropdown-item:hover {
    background: rgba(37, 99, 235, 0.06);
    color: var(--primary);
}

/* ==========================================
   Hero Section
   ========================================== */
.hero-section {
    position: relative;
}

.hero-slide {
    min-height: 680px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(15, 23, 42, 0.75) 0%,
            rgba(30, 58, 138, 0.55) 50%,
            rgba(15, 23, 42, 0.6) 100%);
}

.hero-overlay::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(37, 99, 235, 0.15) 0%, transparent 60%);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 760px;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: clamp(2.5rem, 5.5vw, 4rem);
    font-weight: 900;
    margin-bottom: 1.25rem;
    color: var(--white);
    letter-spacing: -0.04em;
    line-height: 1.1;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.hero-title span {
    background: linear-gradient(135deg, #60a5fa, #a78bfa);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
    opacity: 0.95;
    font-weight: 400;
    line-height: 1.5;
}

.hero-description {
    font-size: 1rem;
    opacity: 0.85;
    line-height: 1.75;
    margin-bottom: 2rem;
}

.btn-accent {
    background: var(--gradient-accent);
    border: none;
    color: var(--white);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.875rem 2.5rem;
    border-radius: var(--radius);
    transition: var(--transition);
    box-shadow: var(--shadow-accent);
    letter-spacing: 0.01em;
}

.btn-accent:hover {
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 16px 40px -8px var(--accent-glow);
}

.carousel-control-prev,
.carousel-control-next {
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
    transition: var(--transition);
}

.carousel-control-prev {
    left: 24px;
}

.carousel-control-next {
    right: 24px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.05);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 1.5rem;
    height: 1.5rem;
}

.carousel-indicators button {
    width: 32px;
    height: 4px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    transition: var(--transition);
}

.carousel-indicators button.active {
    background: var(--white);
    width: 48px;
}

/* ==========================================
   Page Banner (inner pages)
   ========================================== */
.page-banner {
    position: relative;
    padding: 64px 0 48px;
    background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 100%);
    border-bottom: 1px solid rgba(37, 99, 235, 0.08);
    overflow: hidden;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.07) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.page-banner-overlay,
.page-banner-overlay-neutral {
    display: none;
}

.page-banner-content {
    position: relative;
    z-index: 1;
}

.page-title {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 900;
    margin-bottom: 0.75rem;
    letter-spacing: -0.04em;
    background: linear-gradient(135deg, var(--text-dark) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
}

.page-banner .breadcrumb {
    background: transparent;
    margin-bottom: 0;
    justify-content: center;
}

.page-banner .breadcrumb-item,
.page-banner .breadcrumb-item a {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.875rem;
}

.page-banner .breadcrumb-item.active {
    color: var(--primary);
    font-weight: 600;
}

.page-banner .breadcrumb-item+.breadcrumb-item::before {
    color: #cbd5e1;
}

/* ==========================================
   Cards - Common
   ========================================== */
.advantage-card,
.product-card,
.case-card,
.news-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
}

.advantage-card:hover,
.product-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
}

/* ==========================================
   Advantage Card
   ========================================== */
.section-advantages {
    background: var(--white);
}

.advantage-card {
    padding: 2.25rem;
    text-align: center;
    background: linear-gradient(145deg, #ffffff, #f8fafc);
}

.advantage-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    border: 1.5px solid transparent;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(249, 115, 22, 0.05)) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: var(--transition);
}

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

.advantage-icon {
    width: 84px;
    height: 84px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 24px;
    color: var(--white);
    box-shadow: var(--shadow-primary);
    transition: var(--transition);
    position: relative;
}

.advantage-icon::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 28px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
    filter: blur(10px);
}

.advantage-card:hover .advantage-icon::after {
    opacity: 0.4;
}

.advantage-card:hover .advantage-icon {
    transform: scale(1.08) rotate(-3deg);
}

.advantage-icon i {
    font-size: 2rem;
}

.advantage-icon img {
    max-width: 46px;
    max-height: 46px;
    filter: brightness(0) invert(1);
}

.advantage-title {
    font-size: 1.2rem;
    margin: 0 0 0.75rem;
    color: var(--text-dark);
    font-weight: 800;
}

.advantage-description {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--text-muted);
}

/* ==========================================
   Product Card
   ========================================== */
.product-image {
    height: 230px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, #dbeafe, #e0e7ff);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .product-image img {
    transform: scale(1.08);
}

.product-placeholder {
    width: 100%;
    height: 100%;
}

.badge-featured {
    position: absolute;
    top: 14px;
    right: 14px;
    background: var(--gradient-accent);
    color: var(--white);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    box-shadow: var(--shadow-accent);
    z-index: 2;
}

.product-body {
    padding: 1.625rem;
}

.product-title {
    font-size: 1.15rem;
    margin-bottom: 0.6rem;
    color: var(--text-dark);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.product-summary {
    font-size: 0.875rem;
    margin-bottom: 1.25rem;
    line-height: 1.7;
    color: var(--text-muted);
}

.btn-link {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.875rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    background: rgba(37, 99, 235, 0.06);
    border-radius: 8px;
    transition: var(--transition);
}

.btn-link:hover {
    color: var(--white);
    background: var(--gradient-primary);
    gap: 0.6rem;
    box-shadow: var(--shadow-primary);
}

.btn-link i {
    transition: transform 0.25s ease;
}

.btn-link:hover i {
    transform: translateX(4px);
}

/* ==========================================
   Case Card
   ========================================== */
.case-card-link {
    display: block;
    text-decoration: none;
}

.case-card {
    position: relative;
    height: 330px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.case-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-6px) scale(1.01);
}

.case-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.case-card:hover img {
    transform: scale(1.12);
}

.case-placeholder {
    width: 100%;
    height: 100%;
}

.case-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 20, 50, 0.92) 0%, rgba(0, 0, 0, 0) 55%);
    padding: 2rem 1.75rem;
    display: flex;
    align-items: flex-end;
    transition: var(--transition);
}

.case-card:hover .case-overlay {
    background: linear-gradient(to top, rgba(10, 20, 80, 0.96) 0%, rgba(37, 99, 235, 0.1) 55%);
}

.case-content {
    position: relative;
    z-index: 2;
    transform: translateY(4px);
    transition: var(--transition);
}

.case-card:hover .case-content {
    transform: translateY(0);
}

.case-title {
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 0.4rem;
    letter-spacing: -0.02em;
}

.case-client {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.case-badge {
    display: inline-block;
    background: rgba(37, 99, 235, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.2rem 0.6rem;
    border-radius: 50px;
    margin-bottom: 0.6rem;
}

/* ==========================================
   Stats Counter Section
   ========================================== */
.section-stats {
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #0f172a 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.section-stats::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle at center, rgba(37, 99, 235, 0.12) 0%, rgba(99, 102, 241, 0.06) 40%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.section-stats::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.07) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.stat-item {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 3rem 1.5rem;
    border-radius: var(--radius-xl);
    transition: var(--transition);
    position: relative;
    z-index: 1;
    text-align: center;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), transparent);
    border-radius: var(--radius-xl);
    opacity: 0;
    transition: var(--transition);
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.07);
    transform: translateY(-12px);
    border-color: rgba(37, 99, 235, 0.4);
    box-shadow: 0 24px 48px -12px rgba(37, 99, 235, 0.3);
}

.stat-item:hover::before {
    opacity: 1;
}

.stat-number {
    font-size: 3.75rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #93c5fd 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.04em;
    line-height: 1;
}

.section-stats-simple .stat-number {
    background: linear-gradient(135deg, var(--primary) 0%, #1e3a8a 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
}

/* ==========================================
   News Section
   ========================================== */
.news-card-link {
    display: block;
    text-decoration: none;
}

.news-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--shadow-sm);
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.news-image {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: linear-gradient(135deg, #dbeafe, #e0e7ff);
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.news-card:hover .news-image img {
    transform: scale(1.08);
}

.news-date {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--white);
    padding: 6px 12px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    z-index: 2;
    min-width: 52px;
}

.news-date .day {
    display: block;
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
    letter-spacing: -0.03em;
}

.news-date .month {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.news-placeholder {
    width: 100%;
    height: 100%;
}

.news-body {
    padding: 1.5rem;
}

.news-meta {
    margin-bottom: 0.75rem;
}

.news-meta .badge {
    padding: 0.3rem 0.75rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.7rem;
    letter-spacing: 0.05em;
}

.news-title {
    color: var(--text-dark);
    font-weight: 800;
    font-size: 1.05rem;
    line-height: 1.4;
    transition: var(--transition);
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}

.news-card:hover .news-title {
    color: var(--primary);
}

.news-summary {
    line-height: 1.7;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.bg-primary-light {
    background-color: rgba(37, 99, 235, 0.08) !important;
}

/* News Section (Index) */
.section-news {
    background: var(--bg-light);
}

.news-filter-bar {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.search-form .form-control {
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
    border-right: none;
}

.search-form .btn {
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

.category-pills {
    display: flex;
    gap: 0.5rem;
    flex-wrap: nowrap;
    align-items: center;
    overflow-x: auto;
    padding-bottom: 4px;
    /* Space for scrollbar if visible */
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

.category-pills::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari and Opera */
}

.category-pills .btn {
    border-radius: 50px;
    padding: 0.4rem 1.25rem !important;
    font-weight: 600;
    font-size: 0.85rem !important;
    white-space: nowrap;
    line-height: 1.5;
    flex-shrink: 0;
    transition: var(--transition-fast);
}

/* News List Card Upgrade */
.news-list-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: var(--transition);
    position: relative;
}

.news-list-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(37, 99, 235, 0.1);
}

.news-list-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.news-list-card:hover .news-list-image {
    transform: scale(1.08);
}

.news-list-placeholder {
    width: 100%;
    height: 100%;
    min-height: 200px;
}

.news-list-body {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.news-list-title {
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.4;
    transition: var(--transition-fast);
}

.news-list-title a {
    color: var(--text-dark);
}

.news-list-card:hover .news-list-title a {
    color: var(--primary);
}

.news-list-summary {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.news-list-meta {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.news-list-meta i {
    color: var(--primary-light);
}

.news-list-meta .badge {
    padding: 0.4rem 0.8rem;
    border-radius: 50px;
    font-weight: 700;
}

/* Sidebar Upgrades */
.sidebar-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.75rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.sidebar-card-title {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 12px;
}

.sidebar-card-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 3px;
}

.hot-news-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    transition: var(--transition-fast);
}

.hot-news-item:last-child {
    border-bottom: none;
}

.hot-news-number {
    width: 24px;
    height: 24px;
    background: var(--bg-section);
    color: var(--text-muted);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 800;
    flex-shrink: 0;
    transition: var(--transition-fast);
}

.hot-news-item:nth-child(-n+3) .hot-news-number {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-primary);
}

.hot-news-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-body);
    line-height: 1.5;
}

.hot-news-item:hover .hot-news-title {
    color: var(--primary);
}

.hot-news-item:hover {
    transform: translateX(5px);
}

.category-list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1rem;
    background: var(--bg-light);
    border-radius: 10px;
    margin-bottom: 0.6rem;
    color: var(--text-body);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

.category-list-item:hover,
.category-list-item.active {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-primary);
}

.category-list-item i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.category-list-item:hover i {
    transform: translateX(3px);
}

/* News Detail Upgrade */
.news-detail-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-lg);
}

@media (max-width: 767.98px) {
    .news-detail-card {
        padding: 1.5rem;
    }

    .news-list-body {
        padding: 1.5rem;
    }
}

.news-detail-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1.25;
}

.news-featured-image {
    margin: 2.5rem 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.news-content {
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--text-body);
}

.news-summary.alert {
    border: none;
    border-left: 5px solid var(--primary);
    background: var(--bg-section);
    padding: 1.5rem 2rem;
    border-radius: 0 var(--radius) var(--radius) 0;
    font-style: italic;
}

.nav-link-item {
    display: block;
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: var(--radius);
    transition: var(--transition);
    border: 1px solid transparent;
}

.nav-link-item:hover {
    background: var(--white);
    border-color: rgba(37, 99, 235, 0.1);
    box-shadow: var(--shadow);
    transform: translateY(-3px);
}

.nav-link-title {
    font-weight: 700;
    color: var(--text-dark);
}

/* Related News Cards */
.related-news-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    height: 100%;
    transition: var(--transition);
}

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

.related-news-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.related-news-body {
    padding: 1.25rem;
}

.related-news-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.related-news-title a {
    color: var(--text-dark);
}

.related-news-card:hover .related-news-title a {
    color: var(--primary);
}

.latest-news-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.25rem;
    align-items: center;
}

.latest-news-item img,
.latest-news-placeholder {
    width: 70px;
    height: 70px;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
}

.latest-news-placeholder {
    background: var(--bg-section);
}

.latest-news-title {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--text-dark);
}

/* ==========================================
   Partners Section
   ========================================== */
.section-partners {
    background: var(--white);
}

.partner-item {
    padding: 1.25rem;
    transition: var(--transition);
    border-radius: var(--radius);
    border: 1px solid transparent;
}

.partner-item:hover {
    background: rgba(37, 99, 235, 0.03);
    border-color: rgba(37, 99, 235, 0.1);
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.partner-logo {
    max-width: 140px;
    max-height: 70px;
    width: 100%;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.5);
    transition: var(--transition);
    margin: 0 auto;
}

.partner-item:hover .partner-logo {
    filter: grayscale(0%) opacity(1);
}

.partner-name {
    font-weight: 700;
    color: var(--text-muted);
    transition: var(--transition);
    font-size: 1rem;
    letter-spacing: -0.01em;
}

.partner-item:hover .partner-name {
    color: var(--primary);
}

/* ==========================================
   CTA Section
   ========================================== */
.section-cta {
    background: linear-gradient(135deg, #1e3a8a 0%, #312e81 50%, #1e1b4b 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.section-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23FFFFFF' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.section-cta::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.cta-title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 900;
    color: var(--white);
    letter-spacing: -0.04em;
    position: relative;
    z-index: 1;
}

.cta-subtitle {
    font-size: 1.1rem;
    opacity: 0.85;
    position: relative;
    z-index: 1;
    font-weight: 400;
}

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

.section-cta .btn-light {
    background: var(--white);
    color: var(--primary);
    font-weight: 700;
    border-radius: var(--radius);
    padding: 0.875rem 2rem;
    box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.section-cta .btn-light:hover {
    background: var(--white);
    color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 16px 40px -8px rgba(0, 0, 0, 0.3);
}

.section-cta .btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: var(--white);
    font-weight: 700;
    border-radius: var(--radius);
    padding: 0.875rem 2rem;
    backdrop-filter: blur(4px);
    transition: var(--transition);
}

.section-cta .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-3px);
}

/* ==========================================
   Footer
   ========================================== */
.footer {
    background: linear-gradient(180deg, #0c1228 0%, #080d1a 100%);
    color: rgba(255, 255, 255, 0.6);
    padding: 80px 0 0;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(37, 99, 235, 0.4), rgba(249, 115, 22, 0.3), transparent);
}

.footer h5 {
    color: var(--white);
    font-weight: 800;
    margin-bottom: 1.75rem;
    position: relative;
    padding-bottom: 12px;
    letter-spacing: -0.02em;
    font-size: 1rem;
}

.footer h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 28px;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

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

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

.footer-links a {
    color: rgba(255, 255, 255, 0.5);
    transition: var(--transition);
    font-size: 0.875rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.footer-links a::before {
    content: '';
    width: 0;
    height: 1px;
    background: var(--primary-light);
    transition: width 0.25s ease;
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 0;
}

.footer-links a:hover::before {
    width: 12px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.55);
}

.footer-contact-item i {
    color: var(--primary-light);
    margin-top: 2px;
    flex-shrink: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    margin-top: 48px;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.8rem;
}

.footer-bottom a:hover {
    color: rgba(255, 255, 255, 0.8);
}

.footer-bottom small {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.35);
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.5);
    transition: var(--transition);
}

.social-icons a:hover {
    background: var(--gradient-primary);
    border-color: transparent;
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-primary);
}

/* ==========================================
   Floating Buttons
   ========================================== */
.floating-consultation-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    box-shadow: var(--shadow-primary);
    z-index: 1050;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    transition: var(--transition);
    animation: floatPulse 3s ease-in-out infinite;
}

.floating-consultation-btn::before {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    opacity: 0;
    animation: ripplePulse 3s ease-in-out infinite;
}

@keyframes floatPulse {

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

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

@keyframes ripplePulse {
    0% {
        opacity: 0.4;
        inset: 0;
    }

    100% {
        opacity: 0;
        inset: -14px;
    }
}

.floating-consultation-btn:hover {
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 16px 32px -8px var(--primary-glow);
}

.back-to-top-btn {
    position: fixed;
    bottom: 90px;
    right: 24px;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    color: var(--primary);
    border: 1px solid rgba(37, 99, 235, 0.15);
    box-shadow: var(--shadow);
    z-index: 1050;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: var(--transition);
    cursor: pointer;
}

.back-to-top-btn.visible {
    display: flex;
}

.back-to-top-btn:hover {
    background: var(--gradient-primary);
    color: var(--white);
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: var(--shadow-primary);
}

/* ==========================================
   Modals
   ========================================== */
.modal-content {
    border: none;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
}

.modal-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-bottom: none;
    padding: 1.5rem 1.75rem;
}

.modal-title {
    color: var(--white);
    font-weight: 800;
}

.modal-header .btn-close {
    filter: brightness(0) invert(1);
}

.modal-body {
    padding: 1.75rem;
}

.form-control {
    border: 1.5px solid #e2e8f0;
    border-radius: var(--radius-sm);
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    font-family: 'Inter', sans-serif;
    transition: var(--transition-fast);
    background: #fafafa;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
    background: var(--white);
}

.form-label {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

/* ==========================================
   Buttons
   ========================================== */
.btn-primary {
    background: var(--gradient-primary);
    border: none;
    font-weight: 700;
    border-radius: var(--radius-sm);
    padding: 0.75rem 1.75rem;
    color: var(--white);
    transition: var(--transition);
    box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), #1e1b4b);
    transform: translateY(-2px);
    box-shadow: 0 12px 24px -8px var(--primary-glow);
    color: var(--white);
}

.btn-outline-primary {
    border: 2px solid var(--primary);
    color: var(--primary);
    font-weight: 700;
    border-radius: var(--radius-sm);
    padding: 0.75rem 2rem;
    transition: var(--transition);
}

.btn-outline-primary:hover {
    background: var(--gradient-primary);
    border-color: transparent;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-primary);
}

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

/* ==========================================
   Pagination / List Enhancements
   ========================================== */
.page-link {
    color: var(--primary);
    border: 1.5px solid #e2e8f0;
    border-radius: var(--radius-sm) !important;
    font-weight: 600;
    transition: var(--transition-fast);
}

.page-link:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.page-item.active .page-link {
    background: var(--gradient-primary);
    border-color: transparent;
    box-shadow: var(--shadow-primary);
}

/* ==========================================
   Utility Animations
   ========================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

[data-aos="fade-up"] {
    animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================
   Scrollbar Styling
   ========================================== */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(var(--primary), var(--primary-dark));
    border-radius: 6px;
}

/* ==========================================
   Responsive
   ========================================== */
@media (max-width: 991.98px) {
    .py-5 {
        padding: 60px 0;
    }

    .hero-slide {
        min-height: 520px;
    }

    .hero-title {
        font-size: 2.25rem;
    }

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

    .stat-number {
        font-size: 2.75rem;
    }

    .stat-item {
        padding: 2rem 1.25rem;
    }

    .navbar-collapse {
        background: rgba(255, 255, 255, 0.97);
        backdrop-filter: blur(20px);
        border-radius: var(--radius-lg);
        padding: 1rem;
        margin-top: 0.75rem;
        box-shadow: var(--shadow-lg);
    }
}

@media (max-width: 767.98px) {
    .py-5 {
        padding: 48px 0;
    }

    .hero-slide {
        min-height: 420px;
    }

    .hero-title {
        font-size: 1.875rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .cta-title {
        font-size: 1.75rem;
    }

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

    .stat-number {
        font-size: 2.25rem;
    }

    .floating-consultation-btn {
        bottom: 16px;
        right: 16px;
    }

    .back-to-top-btn {
        bottom: 80px;
        right: 16px;
    }

    .carousel-control-prev,
    .carousel-control-next {
        display: none;
    }
}

/* ==========================================
   Product / Case Detail Pages
   ========================================== */
.case-image-main,
.product-image-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.case-image-main img,
.product-image-main img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.detail-meta {
    background: linear-gradient(135deg, #f8fafc, #eef2ff);
    border-radius: var(--radius);
    padding: 1.75rem;
    border: 1px solid rgba(37, 99, 235, 0.08);
}

.detail-meta .meta-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 0.9rem;
}

.detail-meta .meta-item:last-child {
    border-bottom: none;
}

.detail-meta .meta-label {
    color: var(--text-muted);
    font-weight: 600;
    min-width: 80px;
}

.detail-meta .meta-value {
    color: var(--text-dark);
    font-weight: 700;
}

.product-price {
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary);
    letter-spacing: -0.04em;
}

.product-price-original {
    font-size: 1.1rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.article-content {
    line-height: 1.85;
    color: var(--text-body);
    font-size: 0.975rem;
}

.article-content h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-dark);
    margin: 2rem 0 0.75rem;
    padding-left: 1rem;
    border-left: 3px solid var(--primary);
}

.article-content p {
    margin-bottom: 1.25rem;
}

/* ==========================================
   Category Filter Tabs
   ========================================== */
.filter-tabs {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-tab {
    background: var(--white);
    border: 1.5px solid #e2e8f0;
    color: var(--text-body);
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
}

.filter-tab:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.filter-tab.active {
    background: var(--gradient-primary);
    border-color: transparent;
    color: var(--white);
    box-shadow: var(--shadow-primary);
}

/* ==========================================
   Pagination Overrides
   ========================================== */
.pagination-wrapper nav .text-muted.small {
    display: none !important;
}

.pagination-wrapper nav .d-sm-flex {
    justify-content: center !important;
}