/* ============================================
   AINEO - Global Styles
   Charte Graphique:
   - Couleur principale: #0e2887
   - Couleur secondaire: #9251ca
   - Couleur dominante: #ffffff (blanc)
   ============================================ */

:root {
    /* Primary Colors */
    --primary: #0e2887;
    /* Main Blue */
    --primary-hover: #0a1d66;
    /* Darker Blue */

    /* Secondary & Accents */
    --secondary: #9251ca;
    /* Secondary Purple */
    --accent: #9251ca;
    /* Matching Secondary */
    --accent-light: #eaddf7;
    /* Light Purple for backgrounds */

    /* Status Colors */
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;

    /* Neutrals */
    --dark: #121212;
    --gray-900: #111827;
    --gray-800: #1f2937;
    --gray-700: #374151;
    --gray-600: #4b5563;
    --gray-500: #6b7280;
    --gray-400: #9ca3af;
    --gray-300: #d1d5db;
    --gray-200: #e5e7eb;
    --gray-100: #f3f4f6;
    --gray-50: #f9fafb;
    --white: #ffffff;

    /* Gradients */
    --gradient: linear-gradient(135deg, #0e2887 0%, #9251ca 100%);
    /* Main Brand Gradient */
    --gradient-primary: linear-gradient(135deg, #0e2887 0%, #9251ca 100%);
    --gradient-accent: linear-gradient(135deg, #9251ca 0%, #b07ae6 100%);

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.1);

    /* Colored Shadows */
    --shadow-primary: 0 10px 30px rgba(14, 40, 135, 0.3);
    --shadow-secondary: 0 10px 30px rgba(146, 81, 202, 0.3);

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-full: 9999px;

    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ============================================
   Scroll Animations
   ============================================ */

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1),
        transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

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

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--white);
    color: var(--gray-700);
    line-height: 1.6;
    overflow-x: hidden;
    font-size: 1.125rem;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ============================================
   Typography
   ============================================ */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
    color: var(--primary);
    line-height: 1.1;
    font-weight: 700;
}

h1 {
    font-size: clamp(3.5rem, 6vw, 5.5rem);
    letter-spacing: -0.03em;
    font-weight: 800;
}

h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    letter-spacing: -0.025em;
}

h3 {
    font-size: 2rem;
    letter-spacing: -0.02em;
}

h4 {
    font-size: 1.5rem;
    letter-spacing: -0.01em;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1rem;
}

p {
    color: var(--gray-600);
    font-size: 1.125rem;
    line-height: 1.75;
}

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

small,
.small {
    font-size: 0.9375rem;
}

strong,
b {
    font-weight: 600;
    color: var(--primary);
}

.gradient-text {
    color: var(--accent);
    /* Option: Use gradient if preferred, but sold color is cleaner for this style */
    /* background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; */
}

/* ============================================
   Navigation - Top Bar
   ============================================ */

.logo {
    text-decoration: none;
    flex-shrink: 0;
}

.logo img {
    height: 38px;
    width: auto;
}

/* ============================================
   Navigation - Main Nav
   ============================================ */

.main-nav {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
    padding: 1rem 0;
    border-bottom: 1px solid transparent;
}

.main-nav.scrolled {
    padding: 0.75rem 0;
    background: rgba(255, 255, 255, 0.95);
    border-bottom-color: rgba(0, 0, 0, 0.05);
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}


.nav-logo-wrapper {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.nav-logo img {
    height: 48px;
    width: auto;
    display: block;
    transition: var(--transition);
}

.nav-tagline {
    font-size: 0.75rem;
    color: var(--gray-500);
    margin-top: -2px;
    /* Pull tighter to logo */
    font-weight: 500;
    line-height: 1.2;
}

.nav-logo:hover img {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 1.5rem;
    background: var(--gray-50);
    padding: 0.4rem 0.5rem;
    border-radius: var(--radius-full);
}

.nav-links li {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-links a {
    display: block;
    padding: 0.6rem 1.25rem;
    color: var(--gray-600);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    border-radius: var(--radius-full);
}

.nav-links a:hover {
    color: var(--primary);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.nav-links a.active {
    color: var(--primary);
    background: var(--white);
    font-weight: 600;
    box-shadow: var(--shadow-sm);
}

/* Nav Actions (CTA Buttons) */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.btn-nav-outline {
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--gray-800);
    background: transparent;
    color: var(--gray-800);
    font-weight: 600;
    font-size: 0.9375rem;
    border-radius: var(--radius-full);
    text-decoration: none;
    transition: var(--transition);
}

.btn-nav-outline:hover {
    background: var(--gray-800);
    color: var(--white);
}

.btn-nav-primary {
    padding: 0.75rem 1.5rem;
    background: var(--primary);
    color: var(--white);
    font-weight: 600;
    font-size: 0.9375rem;
    border-radius: var(--radius-full);
    text-decoration: none;
    transition: var(--transition);
    border: 2px solid var(--primary);
}

.btn-nav-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-1px);
}

.nav-icon-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--gray-700);
    transition: var(--transition);
    border-radius: var(--radius-full);
}

.nav-icon-btn:hover {
    background: var(--gray-100);
    color: var(--primary);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-lg);
}

.mobile-menu-btn:hover {
    background: var(--gray-100);
}

.mobile-menu-btn span {
    width: 22px;
    height: 2px;
    background: var(--gray-700);
    transition: var(--transition);
    border-radius: 2px;
}

/* Search Overlay */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding-top: 15vh;
}

.search-overlay.active {
    display: flex;
}

.search-container {
    width: 100%;
    max-width: 600px;
    padding: 0 1.5rem;
    position: relative;
}

.search-form {
    display: flex;
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.search-form input {
    flex: 1;
    padding: 1.25rem 1.5rem;
    border: none;
    font-size: 1.1rem;
    outline: none;
}

.search-form button {
    padding: 1.25rem 1.5rem;
    background: var(--gradient);
    border: none;
    color: var(--white);
    cursor: pointer;
    transition: var(--transition);
}

.search-form button:hover {
    opacity: 0.9;
}

.search-close {
    position: absolute;
    top: -60px;
    right: 1.5rem;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: var(--white);
    cursor: pointer;
    transition: var(--transition);
}

.search-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    z-index: 1500;
    padding: 1.5rem;
    overflow-y: auto;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--gray-200);
}

.mobile-menu-close {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-100);
    border: none;
    border-radius: var(--radius-lg);
    cursor: pointer;
    color: var(--gray-700);
}

.mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu li {
    border-bottom: 1px solid var(--gray-100);
}

.mobile-menu a {
    display: block;
    padding: 1.25rem 0;
    color: var(--gray-700);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
}

.mobile-menu a:hover,
.mobile-menu a.active {
    color: var(--primary);
}

.mobile-devis a {
    background: #ae84d1;
    color: #fff !important;
}

.mobile-devis a:hover {
    background: #9b6fc4;
    color: #fff !important;
}

/* Devis Sliding Panel */
.devis-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1999;
}

.devis-overlay.active {
    opacity: 1;
    visibility: visible;
}

.devis-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 450px;
    max-width: 100%;
    height: 100%;
    background: var(--white);
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.15);
    transform: translateX(100%);
    transition: transform 0.4s ease;
    z-index: 2000;
    display: flex;
    flex-direction: column;
}

.devis-panel.active {
    transform: translateX(0);
}

.devis-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--gray-200);
    background: #ae84d1;
    color: var(--white);
}

.devis-panel-header h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
}

.devis-close {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: var(--radius-lg);
    color: var(--white);
    cursor: pointer;
    transition: var(--transition);
}

.devis-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.devis-panel-content {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
}

.devis-intro {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.devis-form .form-group {
    margin-bottom: 1.25rem;
}

.devis-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--gray-700);
}

.devis-form input,
.devis-form select,
.devis-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    font-size: 0.95rem;
    transition: var(--transition);
}

.devis-form input:focus,
.devis-form select:focus,
.devis-form textarea:focus {
    outline: none;
    border-color: #ae84d1;
    box-shadow: 0 0 0 3px rgba(174, 132, 209, 0.1);
}

.devis-form textarea {
    resize: vertical;
    min-height: 100px;
}

.devis-form .btn-full {
    margin-top: 0.5rem;
}

@media (max-width: 500px) {
    .devis-panel {
        width: 100%;
    }
}

.mobile-menu-cta {
    margin-top: 2rem;
}

.mobile-menu-info {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-200);
}

.mobile-menu-info .info-item {
    margin-bottom: 1.5rem;
}

/* Responsive Navigation */
@media (max-width: 1100px) {
    .top-bar-info {
        display: none;
    }

    .nav-links a {
        padding: 1.25rem 1.25rem;
    }
}

@media (max-width: 900px) {
    .nav-links {
        display: none;
    }

    .nav-actions {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }
}

/* ============================================
   Buttons (Modern Julaya Style)
   ============================================ */

/* ============================================
   Buttons (Modern Julaya Style)
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.1rem 2.25rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
    line-height: 1;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.btn-primary:hover {
    background: var(--primary-hover);
    border-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--gray-200);
}

.btn-secondary:hover {
    background: var(--gray-50);
    border-color: var(--gray-300);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
}

.btn-white {
    background: var(--white);
    color: var(--primary);
    border: 1px solid var(--white);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.1);
}

.btn-full {
    width: 100%;
}

.btn-sm {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
}

.btn-lg {
    padding: 1.4rem 3rem;
    font-size: 1.125rem;
}

/* ============================================
   Hero Slider Section
   ============================================ */

.hero-slider {
    position: relative;
    width: 100%;
    height: 85vh;
    min-height: 550px;
    overflow: hidden;
    background: var(--primary-dark);
}

/* Animated Background Shapes */
.slider-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.slider-shapes .shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
}

.slider-shapes .shape-1 {
    width: 600px;
    height: 600px;
    background: rgba(146, 81, 202, 0.5);
    top: -20%;
    right: -10%;
    animation: floatShape 20s infinite ease-in-out;
}

.slider-shapes .shape-2 {
    width: 400px;
    height: 400px;
    background: rgba(14, 40, 135, 0.6);
    bottom: -10%;
    left: -5%;
    animation: floatShape 25s infinite ease-in-out reverse;
}

.slider-shapes .shape-3 {
    width: 300px;
    height: 300px;
    background: rgba(99, 102, 241, 0.4);
    top: 40%;
    left: 30%;
    animation: floatShape 18s infinite ease-in-out 2s;
}

@keyframes floatShape {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    25% {
        transform: translate(50px, -50px) scale(1.1);
    }

    50% {
        transform: translate(-30px, 30px) scale(0.95);
    }

    75% {
        transform: translate(-50px, -20px) scale(1.05);
    }
}

.slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease, visibility 1s ease;
}

.slide.active {
    opacity: 1;
    visibility: visible;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1.1);
    transition: transform 8s ease-out;
}

.slide.active .slide-bg {
    transform: scale(1);
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(14, 40, 135, 0.9) 0%, rgba(146, 81, 202, 0.8) 50%, rgba(99, 102, 241, 0.85) 100%);
    z-index: 1;
}

.slide .container {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    z-index: 3;
}

.slide-content {
    max-width: 750px;
    color: var(--white);
}

/* Slide Tag */
.slide-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease 0.2s;
}

.slide.active .slide-tag {
    opacity: 1;
    transform: translateY(0);
}

.tag-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.slide-content h1 {
    font-size: 3.75rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--white);
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease 0.3s;
}

.slide.active .slide-content h1 {
    opacity: 1;
    transform: translateY(0);
}

.text-highlight {
    position: relative;
    color: transparent;
    background: linear-gradient(135deg, #a78bfa 0%, #818cf8 50%, #c4b5fd 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

.slide-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    opacity: 0;
    max-width: 580px;
    color: rgba(255, 255, 255, 0.9);
    transform: translateY(40px);
    transition: all 0.8s ease 0.4s;
}

.slide.active .slide-content p {
    opacity: 1;
    transform: translateY(0);
}

.slide-content .hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease 0.5s;
}

.slide.active .slide-content .hero-buttons {
    opacity: 1;
    transform: translateY(0);
}

/* Button Glow Effect */
.btn-glow {
    position: relative;
    overflow: hidden;
}

.btn-glow::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-glow:hover::before {
    left: 100%;
}

/* Outline Light Button */
.btn-outline-light {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
}

/* Slider Controls */
.slider-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 3rem;
    z-index: 10;
    pointer-events: none;
}

.slider-btn {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--white);
    transition: all 0.3s ease;
    pointer-events: auto;
}

.slider-btn:hover {
    background: var(--white);
    color: var(--primary);
    transform: scale(1.1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

/* Slider Navigation */
.slider-nav {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 2rem;
    z-index: 10;
}

.slider-counter {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
    font-family: inherit;
    color: var(--white);
}

.slider-counter .current {
    font-size: 1.5rem;
    font-weight: 700;
}

.slider-counter .separator {
    font-size: 1rem;
    opacity: 0.5;
    margin: 0 0.25rem;
}

.slider-counter .total {
    font-size: 1rem;
    opacity: 0.5;
}

.slider-progress {
    width: 120px;
    height: 3px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    overflow: hidden;
}

.progress-bar {
    width: 0%;
    height: 100%;
    background: var(--white);
    border-radius: 3px;
    transition: width 0.3s ease;
}

.slider-dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot:hover {
    background: rgba(255, 255, 255, 0.5);
}

.dot.active {
    background: var(--white);
    width: 30px;
    border-radius: 5px;
}

/* Slider Responsive */
@media (max-width: 1024px) {
    .slide-content h1 {
        font-size: 3rem;
    }

    .slider-controls {
        padding: 0 1.5rem;
    }
}

@media (max-width: 768px) {
    .hero-slider {
        min-height: 550px;
    }

    .slide-content {
        text-align: center;
        max-width: 100%;
    }

    .slide-content h1 {
        font-size: 2.25rem;
    }

    .slide-content p {
        font-size: 1rem;
        max-width: 100%;
    }

    .slide-content .hero-buttons {
        justify-content: center;
    }

    .slider-controls {
        display: none;
    }

    .slider-nav {
        bottom: 2rem;
        gap: 1.5rem;
    }

    .slider-counter {
        display: none;
    }

    .slider-progress {
        width: 80px;
    }

    .slider-shapes .shape-1 {
        width: 300px;
        height: 300px;
    }

    .slider-shapes .shape-2 {
        width: 200px;
        height: 200px;
    }

    .slider-shapes .shape-3 {
        display: none;
    }
}

/* ============================================
   Hero Section (Legacy)
   ============================================ */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 0 4rem;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
}

.hero-shape-1 {
    width: 500px;
    height: 500px;
    background: rgba(14, 40, 135, 0.2);
    top: -10%;
    right: -10%;
    animation: float 20s infinite ease-in-out;
}

.hero-shape-2 {
    width: 400px;
    height: 400px;
    background: rgba(146, 81, 202, 0.15);
    bottom: 10%;
    left: -5%;
    animation: float 25s infinite ease-in-out reverse;
}

.hero-shape-3 {
    width: 300px;
    height: 300px;
    background: rgba(14, 40, 135, 0.15);
    top: 50%;
    right: 20%;
    animation: float 18s infinite ease-in-out;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    25% {
        transform: translate(30px, -30px) rotate(5deg);
    }

    50% {
        transform: translate(-20px, 20px) rotate(-5deg);
    }

    75% {
        transform: translate(-30px, -10px) rotate(3deg);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    color: var(--gray-600);
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow);
    animation: fadeInUp 0.6s ease;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

.hero h1 {
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.6s ease 0.1s backwards;
}

.hero-content>p {
    font-size: 1.25rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
    max-width: 540px;
    animation: fadeInUp 0.6s ease 0.2s backwards;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.6s ease 0.3s backwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.hero-visual {
    position: relative;
    z-index: 2;
    animation: fadeInUp 0.6s ease 0.4s backwards;
}

.hero-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    box-shadow: var(--shadow-xl);
}

.hero-card-header {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.hero-card-header span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.hero-card-header span:nth-child(1) {
    background: #ff5f57;
}

.hero-card-header span:nth-child(2) {
    background: #febc2e;
}

.hero-card-header span:nth-child(3) {
    background: #28c840;
}

.hero-card-content {
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    padding: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}

.ai-visualization {
    position: relative;
    width: 200px;
    height: 200px;
}

.ai-circle {
    position: absolute;
    border-radius: 50%;
    border: 2px solid;
    animation: rotate 20s linear infinite;
}

.ai-circle-1 {
    width: 100%;
    height: 100%;
    border-color: rgba(14, 40, 135, 0.3);
    animation-duration: 20s;
}

.ai-circle-2 {
    width: 70%;
    height: 70%;
    top: 15%;
    left: 15%;
    border-color: rgba(146, 81, 202, 0.4);
    animation-duration: 15s;
    animation-direction: reverse;
}

.ai-circle-3 {
    width: 40%;
    height: 40%;
    top: 30%;
    left: 30%;
    border-color: rgba(14, 40, 135, 0.5);
    animation-duration: 10s;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.ai-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    box-shadow: var(--shadow-primary);
}

/* ============================================
   Clients Section
   ============================================ */

.clients {
    padding: 4rem 0;
    background: var(--white);
    border-top: 1px solid var(--gray-100);
    border-bottom: 1px solid var(--gray-100);
}

.clients-title {
    text-align: center;
    color: var(--gray-500);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 2rem;
}

.clients-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.client-logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-400);
    transition: var(--transition);
}

.client-logo:hover {
    color: var(--gray-600);
}

/* Clients Marquee Animation */
.clients-marquee {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 1rem 0;
}

.clients-marquee::before,
.clients-marquee::after {
    content: '';
    position: absolute;
    top: 0;
    width: 80px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.clients-marquee::before {
    left: 0;
    background: linear-gradient(to right, var(--white), transparent);
}

.clients-marquee::after {
    right: 0;
    background: linear-gradient(to left, var(--white), transparent);
}

.clients-track {
    display: flex;
    gap: 3rem;
    width: max-content;
    animation: marquee-scroll 20s linear infinite;
}

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

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

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

.client-logo-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
    padding: 0.5rem 1.5rem;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
    text-decoration: none;
}

.client-logo-item:hover {
    background: var(--white);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transform: scale(1.05);
}

.client-logo-item img {
    max-height: 40px;
    max-width: 150px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

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

/* ============================================
   Section Styles
   ============================================ */

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: linear-gradient(135deg, rgba(14, 40, 135, 0.08) 0%, rgba(146, 81, 202, 0.08) 100%);
    border-radius: var(--radius-full);
    font-size: 0.9375rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.section-tag::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--secondary);
    border-radius: 50%;
}

.section-header h2 {
    margin-bottom: 1rem;
    font-size: clamp(2.25rem, 4.5vw, 3rem);
}

.section-header p {
    max-width: 680px;
    margin: 0 auto;
    font-size: 1.125rem;
    line-height: 1.75;
}

/* ============================================
   Hero Modern (Julaya Style)
   ============================================ */

.hero-modern {
    position: relative;
    padding: 6rem 0 8rem;
    /* Increased padding slightly */
    min-height: 85vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(180deg, #fef9f3 0%, #fdf6ed 50%, #faf5f0 100%);
}

#hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    /* Behind content (z-index 2) but above bg */
    pointer-events: none;
}

.hero-bg-gradient {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 80%;
    /* Increased size */
    height: 150%;
    background: radial-gradient(circle at center, rgba(146, 81, 202, 0.15) 0%, rgba(14, 40, 135, 0.05) 70%);
    border-radius: 50%;
    z-index: 0;
    filter: blur(80px);
    /* Softer blur */
    animation: pulseGradient 10s ease-in-out infinite alternate;
}

@keyframes pulseGradient {
    0% {
        transform: scale(1) translate(0, 0);
        opacity: 0.8;
    }

    100% {
        transform: scale(1.1) translate(-20px, 20px);
        opacity: 1;
    }
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 5rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 700px;
    /* Increased width for better text framing */
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(14, 40, 135, 0.08);
    border-radius: var(--radius-full);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--secondary);
    border-radius: 50%;
}

.hero-content h1 {
    font-size: clamp(3rem, 6vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.75rem;
    color: var(--gray-900);
    letter-spacing: -0.02em;
}

.text-gradient {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.25rem;
    line-height: 1.7;
    color: var(--gray-600);
    margin-bottom: 0;
}

.hero-modern .hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.hero-stat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--gray-600);
}

.stat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: rgba(14, 40, 135, 0.1);
    border-radius: var(--radius-sm);
    color: var(--primary);
}

.stat-icon svg {
    width: 14px;
    height: 14px;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 480px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(14, 40, 135, 0.18);
}

.hero-image {
    width: 100%;
    height: auto;
    display: block;
}

/* Floating Cards */
.hero-floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 1rem 1.5rem;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    z-index: 10;
    animation: floatCard 5s ease-in-out infinite;
}

.hero-floating-card.card-1 {
    top: 10%;
    left: -15%;
    animation-delay: 0s;
}

.hero-floating-card.card-2 {
    bottom: 15%;
    right: -10%;
    animation-delay: 2.5s;
}

@keyframes floatCard {

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

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

.floating-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--gradient-light);
    border-radius: var(--radius-md);
    color: var(--primary);
}

.floating-text {
    display: flex;
    flex-direction: column;
}

.floating-title {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--gray-900);
}

.floating-desc {
    font-size: 0.75rem;
    color: var(--gray-500);
}

/* Hero Modern Responsive */
@media (max-width: 1024px) {
    .hero-grid {
        gap: 3rem;
    }

    .hero-floating-card.card-1 {
        left: 0;
    }

    .hero-floating-card.card-2 {
        right: 0;
    }
}

@media (max-width: 768px) {
    .hero-modern {
        padding: 3rem 0 4rem;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-modern .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        order: -1;
    }

    .hero-image-wrapper {
        max-width: 320px;
    }

    .hero-floating-card {
        display: none;
    }
}

/* ============================================
   Services Preview Section
   ============================================ */

.services-preview {
    padding: 6rem 0;
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.services-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.services-grid-5 {
    grid-template-columns: repeat(5, 1fr);
}

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

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

@media (max-width: 768px) {

    .services-grid-3,
    .services-grid-5 {
        grid-template-columns: 1fr;
    }
}

.service-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 2.25rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.service-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
    pointer-events: none;
}

.service-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 50px rgba(14, 40, 135, 0.25);
    border-color: transparent;
}

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

.service-card:hover::after {
    opacity: 1;
}

.service-card:hover h3 {
    color: var(--white);
}

.service-card:hover p {
    color: rgba(255, 255, 255, 0.9);
}

.service-card:hover .service-icon {
    background: var(--white);
    color: var(--primary);
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.service-card:hover .service-link {
    color: var(--white);
    background: rgba(255, 255, 255, 0.15);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
}

.service-card:hover .service-link svg {
    transform: translateX(4px);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--white);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 15px rgba(14, 40, 135, 0.2);
}

.service-icon svg {
    width: 28px;
    height: 28px;
    transition: transform 0.3s ease;
}

.service-card h3 {
    margin-bottom: 0.875rem;
    font-size: 1.375rem;
    position: relative;
    z-index: 1;
    transition: color 0.4s ease;
}

.service-card p {
    margin-bottom: 1.5rem;
    line-height: 1.75;
    flex-grow: 1;
    font-size: 1rem;
    position: relative;
    z-index: 1;
    transition: color 0.4s ease;
}

.service-link {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: auto;
    font-size: 0.9375rem;
    position: relative;
    z-index: 1;
}

.service-link svg {
    transition: transform 0.3s ease;
}

.service-link:hover {
    gap: 0.75rem;
}

.service-link:hover svg {
    transform: translateX(4px);
}

/* Service Card Stagger Animation */
.services-grid .service-card:nth-child(1) {
    animation-delay: 0s;
}

.services-grid .service-card:nth-child(2) {
    animation-delay: 0.1s;
}

.services-grid .service-card:nth-child(3) {
    animation-delay: 0.2s;
}

.services-grid .service-card:nth-child(4) {
    animation-delay: 0.3s;
}

.services-grid .service-card:nth-child(5) {
    animation-delay: 0.4s;
}

.services-grid .service-card:nth-child(6) {
    animation-delay: 0.5s;
}

/* Service Card CTA - Dark Navy Blue */
.service-card.service-card-cta {
    background: linear-gradient(135deg, #0a1628 0%, #0e2887 100%) !important;
    border: none !important;
    color: var(--white);
}

.service-card.service-card-cta::before {
    display: none;
}

.service-card.service-card-cta::after {
    display: none;
}

.service-card.service-card-cta .service-icon {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
}

.service-card.service-card-cta h3 {
    color: var(--white);
}

.service-card.service-card-cta p {
    color: rgba(255, 255, 255, 0.8);
}

.service-card.service-card-cta:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 50px rgba(14, 40, 135, 0.5);
}

.service-card.service-card-cta:hover h3,
.service-card.service-card-cta:hover p {
    color: var(--white);
}

.service-card.service-card-cta:hover .service-icon {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.1) rotate(5deg);
}

/* Service Card CTA Button Style */
.service-card.service-card-cta .service-link {
    background: var(--white);
    color: #0a1628;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-lg);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.service-card.service-card-cta .service-link:hover {
    background: rgba(255, 255, 255, 0.9);
    color: #0e2887;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
    gap: 0.75rem;
}

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

/* ============================================
   Features Section
   ============================================ */

/* Legacy Features (keep for compatibility) */
.features {
    padding: 6rem 0;
    background: var(--gray-50);
}

.features-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* ============================================
   Features Modern Section
   ============================================ */

.features-modern {
    padding: 7rem 0;
    background: linear-gradient(180deg, var(--white) 0%, var(--gray-50) 100%);
    position: relative;
    overflow: hidden;
}

.features-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(14, 40, 135, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(146, 81, 202, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.features-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
    position: relative;
    z-index: 1;
}

.features-header .section-tag {
    margin-bottom: 1.25rem;
}

.features-header h2 {
    margin-bottom: 1.25rem;
}

.features-header p {
    font-size: 1.1875rem;
    color: var(--gray-600);
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Feature Cards */
.feature-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 1.75rem 2rem;
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover {
    transform: translateX(8px);
    box-shadow: 0 15px 40px rgba(14, 40, 135, 0.12);
    border-color: transparent;
}

.feature-card:hover::before {
    transform: scaleY(1);
}

.feature-card:hover .feature-card-icon {
    background: var(--gradient);
    color: var(--white);
    transform: scale(1.1);
}

.feature-card:hover .feature-card-number {
    opacity: 0.15;
    transform: translateX(10px);
}

.feature-card-icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    background: linear-gradient(135deg, rgba(14, 40, 135, 0.08) 0%, rgba(146, 81, 202, 0.08) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card-content {
    flex: 1;
}

.feature-card-content h4 {
    font-size: 1.1875rem;
    margin-bottom: 0.5rem;
    color: var(--gray-900);
}

.feature-card-content p {
    font-size: 1rem;
    color: var(--gray-600);
    line-height: 1.65;
    margin: 0;
}

.feature-card-number {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--gray-100);
    opacity: 0.8;
    line-height: 1;
    transition: all 0.4s ease;
}

/* Code Window */
.features-code-wrapper {
    position: relative;
}

.code-window {
    background: #1e1e2e;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.05);
    transition: all 0.4s ease;
}

.code-window:hover {
    transform: translateY(-8px);
    box-shadow:
        0 35px 60px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.08);
}

.code-window-header {
    background: #181825;
    padding: 0.875rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.code-window-dots {
    display: flex;
    gap: 0.5rem;
}

.code-window-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.code-window-dots .dot.red {
    background: #ff5f57;
}

.code-window-dots .dot.yellow {
    background: #febc2e;
}

.code-window-dots .dot.green {
    background: #28c840;
}

.code-window-title {
    flex: 1;
    text-align: center;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.5);
    font-family: 'Inter', sans-serif;
}

.code-window-actions {
    color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: color 0.2s;
}

.code-window-actions:hover {
    color: rgba(255, 255, 255, 0.6);
}

.code-window-body {
    padding: 1.5rem;
    font-family: 'JetBrains Mono', 'Fira Code', 'Monaco', 'Consolas', monospace;
    font-size: 0.875rem;
    line-height: 1.7;
}

.code-line {
    display: flex;
    align-items: flex-start;
}

.line-number {
    width: 32px;
    color: rgba(255, 255, 255, 0.2);
    user-select: none;
    text-align: right;
    padding-right: 1rem;
    font-size: 0.75rem;
}

.code-comment {
    color: #6a6a7a;
    font-style: italic;
}

.code-keyword {
    color: #c678dd;
}

.code-string {
    color: #98c379;
}

.code-function {
    color: #61afef;
}

.code-variable {
    color: #e5c07b;
}

.code-property {
    color: #e06c75;
}

.code-window-footer {
    background: #181825;
    padding: 0.75rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.code-lang {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    padding: 0.25rem 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
}

.code-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #28c840;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.code-floating-badge {
    position: absolute;
    bottom: -1rem;
    right: 2rem;
    background: var(--white);
    padding: 0.875rem 1.5rem;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    gap: 0.625rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--gray-800);
    animation: float 3s ease-in-out infinite;
}

.code-floating-badge svg {
    color: var(--success);
}

@keyframes float {

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

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

/* Features Responsive */
@media (max-width: 968px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .features-code-wrapper {
        order: -1;
    }

    .code-floating-badge {
        right: 1rem;
        bottom: -0.5rem;
    }
}

@media (max-width: 640px) {
    .feature-card {
        padding: 1.25rem;
    }

    .feature-card-icon {
        width: 48px;
        height: 48px;
        min-width: 48px;
    }

    .feature-card-number {
        display: none;
    }

    .code-window-body {
        font-size: 0.75rem;
        padding: 1rem;
    }
}

/* ============================================
   Sectors Section
   ============================================ */

.sectors {
    padding: 6rem 0;
    background: var(--gray-50);
}

.sectors-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.sector-card {
    position: relative;
    height: 220px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background-color: #0a1628;
    background-size: cover;
    background-position: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.sector-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 50px rgba(10, 22, 40, 0.3);
}

.sector-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(10, 22, 40, 0.75) 0%, rgba(14, 40, 135, 0.6) 100%);
    transition: all 0.4s ease;
}

.sector-card:hover .sector-overlay {
    background: linear-gradient(135deg, rgba(10, 22, 40, 0.65) 0%, rgba(14, 40, 135, 0.5) 100%);
}

.sector-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1.5rem;
    color: var(--white);
}

.sector-label {
    font-size: 1.375rem;
    font-weight: 600;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.sector-card:hover .sector-label {
    transform: scale(1.05);
}

/* Legacy Stats (keep for backwards compatibility) */
.stats {
    padding: 6rem 0;
    background: var(--white);
}

.stats-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
}

.stat-number {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--gray-600);
    font-weight: 500;
    font-size: 1rem;
}

/* ============================================
   Testimonials Section
   ============================================ */

.testimonials {
    padding: 6rem 0;
    background: var(--gray-50);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
    align-items: stretch;
}

.testimonial-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 2rem;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.testimonial-card:hover {
    box-shadow: var(--shadow-lg);
}

.testimonial-stars {
    color: var(--warning);
    font-size: 1.25rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: 1.125rem;
    color: var(--gray-700);
    line-height: 1.75;
    margin-bottom: 1.5rem;
    flex: 1;
    font-style: italic;
}

.testimonial-author {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 1rem;
    flex-wrap: nowrap !important;
    margin-top: auto;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    min-width: 50px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 1rem;
}

.testimonial-info {
    flex: 1;
    min-width: 0;
    display: block;
}

.testimonial-info h4 {
    font-size: 1.0625rem;
    margin-bottom: 0.25rem;
    white-space: nowrap !important;
    overflow: hidden;
    text-overflow: ellipsis;
}

.testimonial-info p {
    font-size: 0.9375rem;
    white-space: nowrap !important;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ============================================
   CTA Section
   ============================================ */

.cta {
    padding: 6rem 0;
    background: var(--white);
}

.cta-wrapper {
    background: var(--gradient);
    border-radius: var(--radius-xl);
    padding: 4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.cta-content h2 {
    color: var(--white);
    margin-bottom: 0.5rem;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.newsletter-form input {
    padding: 1rem 1.5rem;
    border-radius: var(--radius-full);
    border: none;
    font-size: 1rem;
    min-width: 280px;
}

/* ============================================
   Newsletter Section (Home Page)
   ============================================ */

.newsletter-section {
    padding: 4rem 0;
    background: var(--gray-50);
}

.newsletter-wrapper {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 3rem 4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-100);
}

.newsletter-section .newsletter-content h3 {
    font-size: 1.75rem;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.newsletter-section .newsletter-content p {
    color: var(--gray-600);
    font-size: 1rem;
    max-width: 400px;
}

.newsletter-section .newsletter-form {
    flex: 1;
    max-width: 500px;
}

.newsletter-section .newsletter-input-group {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.newsletter-section .newsletter-input-group input {
    flex: 1;
    min-width: 250px;
    padding: 0.875rem 1.25rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: var(--transition);
    color: var(--primary);
    background: var(--white);
}

.newsletter-section .newsletter-input-group input::placeholder {
    color: var(--gray-400);
}

.newsletter-section .newsletter-input-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(14, 40, 135, 0.1);
}

.newsletter-section .newsletter-input-group button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.newsletter-message {
    margin-top: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: var(--radius);
    font-size: 0.875rem;
    display: none;
}

.newsletter-message.success {
    display: block;
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.newsletter-message.error {
    display: block;
    background: rgba(239, 68, 68, 0.1);
    color: var(--error);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

@media (max-width: 768px) {
    .newsletter-wrapper {
        padding: 2rem;
        flex-direction: column;
        text-align: center;
    }

    .newsletter-section .newsletter-content {
        text-align: center;
    }

    .newsletter-section .newsletter-content p {
        max-width: 100%;
    }

    .newsletter-section .newsletter-form {
        width: 100%;
        max-width: 100%;
    }

    .newsletter-section .newsletter-input-group {
        flex-direction: column;
    }

    .newsletter-section .newsletter-input-group input {
        min-width: 100%;
    }

    .newsletter-section .newsletter-input-group button {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================
   Footer
   ============================================ */

/* ============================================
   Footer
   ============================================ */

footer {
    background: var(--primary);
    color: var(--white);
    padding: 6rem 0 2rem;
    position: relative;
    overflow: hidden;
    margin-top: 6rem;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand h2 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.footer-brand p {
    color: var(--gray-400);
    max-width: 300px;
    margin-bottom: 2rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-column h4 {
    color: var(--white);
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

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

.footer-column li {
    margin-bottom: 1rem;
}

.footer-column a {
    color: var(--gray-400);
    font-size: 1rem;
    transition: var(--transition);
}

.footer-column a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--gray-500);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--gray-500);
}

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

@media (max-width: 1024px) {
    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }

    .footer-brand {
        grid-column: span 2;
    }
}

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

    .footer-brand {
        grid-column: span 1;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}

/* ============================================
   Page Header (for inner pages)
   ============================================ */

.page-header {
    padding: 10rem 0 4rem;
    background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: rgba(14, 40, 135, 0.1);
    border-radius: 50%;
    filter: blur(100px);
}

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

.page-header h1 {
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
}

.breadcrumb a {
    color: var(--gray-500);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumb a:hover {
    color: var(--primary);
}

.breadcrumb span {
    color: var(--gray-400);
}

/* ============================================
   Page Hero (with background image)
   ============================================ */

.page-hero {
    position: relative;
    padding: 8rem 0 5rem;
    background: linear-gradient(180deg, #fef9f3 0%, #fdf6ed 50%, #faf5f0 100%);
    background-size: cover;
    background-position: center;
    text-align: center;
    overflow: hidden;
    min-height: 85vh;
    display: flex;
    align-items: center;
}

.page-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(14, 40, 135, 0.85) 0%, rgba(146, 81, 202, 0.75) 100%);
    z-index: 1;
}

.page-hero .container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.page-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.page-hero .breadcrumb {
    margin-bottom: 1.5rem;
}

.page-hero .breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.2s ease;
}

.page-hero .breadcrumb a:hover {
    color: #fff;
}

.page-hero .breadcrumb span {
    color: rgba(255, 255, 255, 0.6);
}

.page-hero .hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.9375rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}

.page-hero h1 {
    color: #fff;
    font-size: clamp(2.75rem, 5.5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.025em;
}

.page-hero h1 .gradient-text {
    background: linear-gradient(135deg, #fff 0%, rgba(255, 255, 255, 0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-hero p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.page-hero .hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.page-hero .btn-outline-light {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: #fff;
}

.page-hero .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.6);
}

.page-hero .btn-primary {
    background: #fff;
    color: var(--primary);
}

.page-hero .btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .page-hero {
        padding: 10rem 0 4rem;
        min-height: 60vh;
    }

    .page-hero h1 {
        font-size: 2.25rem;
    }

    .page-hero p {
        font-size: 1.0625rem;
    }

    .page-hero .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* ============================================
   Solutions Section (Cards)
   ============================================ */

.solutions-section {
    padding: 6rem 0;
    background: var(--gray-50);
}

.solutions-section .section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    align-items: stretch;
}

.solution-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    border: 1px solid var(--gray-200);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

.solution-card:nth-child(1) {
    animation-delay: 0.1s;
}

.solution-card:nth-child(2) {
    animation-delay: 0.2s;
}

.solution-card:nth-child(3) {
    animation-delay: 0.3s;
}

.solution-card:nth-child(4) {
    animation-delay: 0.4s;
}

.solution-card:nth-child(5) {
    animation-delay: 0.5s;
}

.solution-card:nth-child(6) {
    animation-delay: 0.6s;
}

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

.solution-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(14, 40, 135, 0.15);
    border-color: var(--primary);
}

.solution-card-inner {
    padding: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.solution-card .solution-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2rem 2rem 1.5rem 2rem;
    color: var(--white);
    transition: var(--transition);
}

.solution-card:hover .solution-icon {
    transform: scale(1.1) rotate(5deg);
}

.solution-card .solution-icon svg {
    width: 32px;
    height: 32px;
}

.solution-card .solution-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.solution-card .solution-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to top, var(--white), transparent);
}

.solution-card .solution-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.solution-card:hover .solution-image img {
    transform: scale(1.1);
}

.solution-card-content {
    padding: 1.5rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.solution-card h3 {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
    color: var(--gray-900);
    transition: var(--transition);
}

.solution-card:hover h3 {
    color: var(--primary);
}

.solution-card p {
    color: var(--gray-600);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex: 1;
}

.solution-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    margin-top: auto;
}

.solution-card:hover .solution-link {
    gap: 0.85rem;
    color: var(--secondary);
}

.solution-link svg {
    transition: transform 0.3s ease;
}

.solution-card:hover .solution-link svg {
    transform: translateX(4px);
}

/* ============================================
   Solution Detail Page
   ============================================ */

.solution-detail-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.solution-detail-icon svg {
    width: 40px;
    height: 40px;
}

.solution-content-section {
    padding: 4rem 0;
}

.solution-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 3rem;
    align-items: start;
}

.solution-main-content {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    border: 1px solid var(--gray-200);
}

.solution-body {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--gray-700);
}

.solution-body h2 {
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
    color: var(--gray-900);
}

.solution-body h3 {
    font-size: 1.25rem;
    margin: 1.5rem 0 0.75rem;
    color: var(--gray-900);
}

.solution-body p {
    margin-bottom: 1rem;
}

.solution-body ul,
.solution-body ol {
    margin: 1rem 0 1.5rem 1.5rem;
}

.solution-body li {
    margin-bottom: 0.5rem;
}

.solution-body img {
    max-width: 100%;
    border-radius: var(--radius-lg);
    margin: 1.5rem 0;
}

.solution-cta-box {
    margin-top: 3rem;
    padding: 2rem;
    background: var(--gradient-light);
    border-radius: var(--radius-xl);
    text-align: center;
}

.solution-cta-box h3 {
    margin-bottom: 0.75rem;
    color: var(--gray-900);
}

.solution-cta-box p {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
}

.solution-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.sidebar-card h4 {
    font-size: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--gray-200);
}

.other-solutions-list {
    list-style: none;
}

.other-solutions-list li {
    margin-bottom: 0.5rem;
}

.other-solutions-list a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: var(--radius);
    color: var(--gray-700);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95rem;
}

.other-solutions-list a:hover {
    background: var(--gray-50);
    color: var(--primary);
}

.other-solution-icon {
    width: 32px;
    height: 32px;
    background: var(--gradient-light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}

.other-solution-icon svg {
    width: 16px;
    height: 16px;
}

.contact-card {
    background: var(--gradient-light);
    border-color: transparent;
}

.contact-card p {
    color: var(--gray-600);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

@media (max-width: 992px) {
    .solution-content-wrapper {
        grid-template-columns: 1fr;
    }

    .solution-sidebar {
        position: static;
    }
}

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

    .solution-main-content {
        padding: 1.5rem;
    }

    .solution-detail-icon {
        width: 60px;
        height: 60px;
    }

    .solution-detail-icon svg {
        width: 30px;
        height: 30px;
    }
}

/* ============================================
   Services Full Page
   ============================================ */

.services-full {
    padding: 6rem 0;
    background: var(--gray-50);
}

.services-full .services-grid {
    margin-bottom: 0;
    align-items: stretch;
}

.service-detail-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-detail-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.service-detail-card .service-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-light);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-detail-card .service-icon svg {
    color: var(--primary);
}

.service-detail-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--gray-900);
}

.service-detail-card>p {
    margin-bottom: 1.5rem;
    color: var(--gray-600);
    line-height: 1.7;
}

.service-features {
    list-style: none;
    margin-bottom: 2rem;
    flex: 1;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0;
    color: var(--gray-700);
    font-size: 0.95rem;
    border-bottom: 1px solid var(--gray-100);
}

.service-features li:last-child {
    border-bottom: none;
}

.service-features li svg {
    color: var(--success);
    flex-shrink: 0;
}

.service-detail-card .btn {
    margin-top: auto;
    text-align: center;
    justify-content: center;
}

/* ============================================
   About Page
   ============================================ */

.about-intro {
    padding: 6rem 0;
}

.about-intro .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    overflow: hidden;
}

.about-visual-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-xl);
}

.about-visual {
    width: 200px;
    height: 200px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 4rem;
    font-weight: 800;
    box-shadow: var(--shadow-primary);
}

.about-content h2 {
    margin-bottom: 1.5rem;
}

.about-content p {
    margin-bottom: 1rem;
    font-size: 1.125rem;
    line-height: 1.8;
}

.values {
    padding: 6rem 0;
    background: var(--gray-50);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.value-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
}

.value-card:hover {
    box-shadow: var(--shadow-lg);
}

.value-icon {
    width: 64px;
    height: 64px;
    background: var(--gradient-light);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--primary);
}

.value-card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.375rem;
}

.value-card p {
    font-size: 1rem;
    line-height: 1.7;
}

.team {
    padding: 6rem 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.team-card {
    text-align: center;
    padding: 2rem;
}

.team-avatar {
    width: 120px;
    height: 120px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--white);
    font-size: 2.5rem;
    font-weight: 700;
}

.team-card h3 {
    margin-bottom: 0.25rem;
}

.team-card .role {
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 1rem;
}

.team-card p {
    font-size: 0.95rem;
}

/* ============================================
   Contact Page
   ============================================ */

.contact-section {
    padding: 6rem 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
}

.contact-info h2 {
    margin-bottom: 1rem;
}

.contact-info>p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.contact-form-wrapper {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
}

.contact-form-wrapper h3 {
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--gray-700);
    font-size: 1rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem 1.125rem;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 1rem;
    color: var(--gray-800);
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(14, 40, 135, 0.1);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-400);
}

/* ============================================
   Blog Page
   ============================================ */

.blog-section {
    padding: 6rem 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
}

.blog-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.blog-image {
    height: 200px;
    background: var(--gradient-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-content {
    padding: 1.5rem;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
}

.blog-category {
    color: var(--primary);
    font-weight: 500;
}

.blog-date {
    color: var(--gray-500);
}

.blog-card h3 {
    font-size: 1.375rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.blog-card h3 a {
    color: var(--gray-900);
    text-decoration: none;
    transition: var(--transition);
}

.blog-card h3 a:hover {
    color: var(--primary);
}

.blog-card p {
    font-size: 1rem;
    margin-bottom: 1rem;
    line-height: 1.7;
}

.blog-link {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
    font-size: 0.9375rem;
}

.blog-link:hover {
    gap: 0.75rem;
}

/* Featured Article */
.featured-article {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.featured-image {
    height: 300px;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-content h2 {
    margin-bottom: 1rem;
}

.featured-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Categories Grid */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.category-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 2rem;
    text-align: center;
    text-decoration: none;
    transition: var(--transition);
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.category-icon {
    width: 56px;
    height: 56px;
    background: var(--gradient);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: var(--white);
}

.category-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 3rem;
}

.pagination-info {
    color: var(--gray-600);
}

/* Blog Layout with Sidebar */
.blog-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 3rem;
    align-items: start;
}

.blog-main {
    min-width: 0;
}

.section-header-inline {
    margin-bottom: 2rem;
}

.section-header-inline h2 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.section-header-inline p {
    color: var(--gray-600);
}

.blog-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.sidebar-card h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--gray-100);
}

.sidebar-card .category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-card .category-list li {
    margin-bottom: 0;
}

.sidebar-card .category-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    color: var(--gray-700);
    text-decoration: none;
    border-bottom: 1px solid var(--gray-100);
    transition: var(--transition);
}

.sidebar-card .category-list li:last-child a {
    border-bottom: none;
}

.sidebar-card .category-list a:hover {
    color: var(--primary);
}

.sidebar-card .category-list .cat-count {
    background: var(--gray-100);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    color: var(--gray-600);
}

.sidebar-newsletter p {
    font-size: 0.9rem;
    color: var(--gray-600);
    margin-bottom: 1rem;
}

.sidebar-form input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
}

.sidebar-form input:focus {
    outline: none;
    border-color: var(--primary);
}

/* Featured Article Section */
.featured-section {
    padding: 3rem 0;
}

.featured-article-card {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 2.5rem;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.featured-article-card .featured-image {
    position: relative;
    height: 100%;
    min-height: 320px;
    background: var(--gradient-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.featured-article-card .featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-placeholder {
    color: var(--primary);
    opacity: 0.5;
}

.featured-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--gradient);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.featured-article-card .featured-content {
    padding: 2rem 2rem 2rem 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-article-card .featured-content h2 {
    font-size: 1.75rem;
    line-height: 1.3;
    margin-bottom: 1rem;
}

.featured-article-card .featured-content p {
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

@media (max-width: 992px) {
    .blog-layout {
        grid-template-columns: 1fr;
    }

    .blog-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }

    .sidebar-card {
        margin-bottom: 0;
    }

    .featured-article-card {
        grid-template-columns: 1fr;
    }

    .featured-article-card .featured-image {
        min-height: 250px;
    }

    .featured-article-card .featured-content {
        padding: 1.5rem;
    }
}

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

    .featured-article-card .featured-content h2 {
        font-size: 1.4rem;
    }
}

/* Article Page - Hero Section */
.article-hero {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 2rem 0 3rem;
}

.article-hero-inner {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 3rem;
    align-items: center;
}

.article-hero-content {
    order: 1;
}

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

.article-meta-top {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.category-badge {
    padding: 0.4rem 0.9rem;
    background: var(--gradient);
    border-radius: var(--radius-full);
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
}

.category-badge:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(14, 40, 135, 0.3);
}

.article-date,
.article-views {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--gray-500);
    font-size: 0.85rem;
}

.article-date svg,
.article-views svg {
    opacity: 0.7;
}

.article-title {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.article-excerpt {
    font-size: 1.05rem;
    color: var(--gray-600);
    line-height: 1.7;
}

.article-hero-image {
    order: 2;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.article-hero-image img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
}

/* When no featured image, content spans full width */
.article-hero-inner:not(:has(.article-hero-image)) {
    grid-template-columns: 1fr;
}

.article-hero-inner:not(:has(.article-hero-image)) .article-title {
    font-size: 2rem;
    max-width: 800px;
}

.article-content {
    padding: 3rem 0 4rem;
}

.article-wrapper {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 4rem;
}

.article-main {
    max-width: 800px;
}

.article-featured-image {
    margin-bottom: 2rem;
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.article-featured-image img {
    width: 100%;
    height: auto;
}

.article-body {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray-700);
}

.article-body>*:first-child {
    margin-top: 0;
}

.article-body>*:last-child {
    margin-bottom: 0;
}

.article-body h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.article-body h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.article-body h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.article-body h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.article-body p {
    margin-bottom: 1.5rem;
    color: var(--gray-700);
}

.article-body a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: var(--transition);
}

.article-body a:hover {
    color: var(--secondary);
}

.article-body strong,
.article-body b {
    font-weight: 600;
    color: var(--gray-900);
}

.article-body em,
.article-body i {
    font-style: italic;
}

.article-body img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    margin: 2rem 0;
    display: block;
}

.article-body figure {
    margin: 2rem 0;
}

.article-body figure img {
    margin: 0;
}

.article-body figcaption {
    text-align: center;
    font-size: 0.9rem;
    color: var(--gray-500);
    margin-top: 0.75rem;
}

.article-body ul,
.article-body ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.article-body ul {
    list-style-type: disc;
}

.article-body ol {
    list-style-type: decimal;
}

.article-body li {
    margin-bottom: 0.5rem;
    padding-left: 0.25rem;
}

.article-body li>ul,
.article-body li>ol {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.article-body blockquote {
    border-left: 4px solid var(--primary);
    padding: 1rem 1.5rem;
    margin: 2rem 0;
    background: var(--gray-50);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.article-body blockquote p {
    font-style: italic;
    color: var(--gray-600);
    margin-bottom: 0;
}

.article-body blockquote p:not(:last-child) {
    margin-bottom: 1rem;
}

.article-body code {
    font-family: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;
    font-size: 0.9em;
    background: var(--gray-100);
    padding: 0.2em 0.4em;
    border-radius: var(--radius-sm);
    color: var(--secondary);
}

.article-body pre {
    background: var(--gray-900);
    color: var(--gray-100);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    overflow-x: auto;
    margin: 2rem 0;
}

.article-body pre code {
    background: none;
    padding: 0;
    color: inherit;
    font-size: 0.9rem;
    line-height: 1.6;
}

.article-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    font-size: 0.95rem;
}

.article-body th,
.article-body td {
    padding: 0.75rem 1rem;
    border: 1px solid var(--gray-200);
    text-align: left;
}

.article-body th {
    background: var(--gray-50);
    font-weight: 600;
    color: var(--gray-900);
}

.article-body tr:hover {
    background: var(--gray-50);
}

.article-body hr {
    border: none;
    border-top: 1px solid var(--gray-200);
    margin: 3rem 0;
}

.article-body .ck-content,
.article-body .ck-editor__editable {
    border: none !important;
    padding: 0 !important;
    box-shadow: none !important;
}

.article-tags {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-200);
}

.tags-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--gray-700);
    font-size: 0.9rem;
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    padding: 0.4rem 0.9rem;
    background: var(--gray-100);
    border-radius: var(--radius-full);
    color: var(--gray-600);
    font-size: 0.8rem;
    text-decoration: none;
    transition: var(--transition);
}

.tag:hover {
    background: var(--primary);
    color: var(--white);
}

.article-share {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
}

.share-label {
    font-weight: 600;
    color: var(--gray-700);
    font-size: 0.9rem;
}

.share-buttons {
    display: flex;
    gap: 0.75rem;
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
}

.share-btn.twitter {
    background: #1DA1F2;
    color: var(--white);
}

.share-btn.linkedin {
    background: #0077B5;
    color: var(--white);
}

.share-btn.facebook {
    background: #1877F2;
    color: var(--white);
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Sidebar */
.article-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.sidebar-card h4 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--gray-200);
    font-size: 1rem;
}

.sidebar-card h4 svg {
    color: var(--primary);
}

.category-list {
    list-style: none;
}

.category-list li {
    margin-bottom: 0.5rem;
}

.category-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    color: var(--gray-600);
    text-decoration: none;
    transition: var(--transition);
}

.category-list a:hover {
    color: var(--primary);
}

.category-list span {
    background: var(--gray-100);
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
}

/* Sidebar CTA */
.sidebar-cta {
    background: linear-gradient(135deg, #0e2887 0%, #1e40af 100%);
    border: none;
    text-align: center;
    color: var(--white);
}

.sidebar-cta-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.sidebar-cta-icon svg {
    color: var(--white);
}

.sidebar-cta h4 {
    border: none;
    padding: 0;
    margin-bottom: 0.5rem;
    color: var(--white);
    justify-content: center;
}

.sidebar-cta p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1.25rem;
    line-height: 1.5;
}

.sidebar-cta .btn {
    width: 100%;
    background: var(--white);
    color: var(--primary);
}

.sidebar-cta .btn:hover {
    background: var(--gray-100);
}

/* Related Articles */
.related-articles {
    padding: 4rem 0;
    background: var(--gray-50);
}

/* Empty State */
.empty-state-public {
    text-align: center;
    padding: 4rem 2rem;
}

.empty-state-public h3 {
    margin-bottom: 0.5rem;
}

.empty-state-public p {
    margin-bottom: 1.5rem;
}

/* Map Section */
.map-section {
    padding: 4rem 0 6rem;
}

.map-section .section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.map-wrapper {
    background: var(--gray-100);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.map-wrapper iframe {
    display: block;
    width: 100%;
    min-height: 450px;
}

/* Alerts */
.alert {
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
    border: 1px solid var(--success);
}

.alert-error {
    background: rgba(239, 68, 68, 0.1);
    color: var(--error);
    border: 1px solid var(--error);
}

/* Error Page */
.error-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
}

.error-content h1 {
    font-size: 8rem;
    line-height: 1;
    margin-bottom: 1rem;
}

.error-content h2 {
    margin-bottom: 0.5rem;
}

.error-content p {
    margin-bottom: 2rem;
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content>p {
        margin: 0 auto 2rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-visual {
        max-width: 500px;
        margin: 0 auto;
    }

    .features-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

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

    .feature-list {
        max-width: 500px;
        margin: 0 auto;
    }

    .feature-item {
        text-align: left;
    }

    .stats-wrapper,
    .sectors-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }

    .about-intro .container {
        grid-template-columns: 1fr;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .cta-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .article-wrapper {
        grid-template-columns: 1fr;
    }

    .article-sidebar {
        position: static;
    }

    .featured-article {
        grid-template-columns: 1fr;
    }

    .article-hero-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .article-hero-content {
        order: 2;
    }

    .article-hero-image {
        order: 1;
    }

    .article-hero-image img {
        height: 220px;
    }

    .article-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-cta,
    .nav-actions {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero {
        padding: 7rem 0 3rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 0.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .clients-logos {
        gap: 2rem;
    }

    .cta-wrapper {
        padding: 2.5rem;
    }

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

@media (max-width: 480px) {
    .article-meta-top {
        gap: 0.75rem;
    }

    .article-title {
        font-size: 1.3rem;
    }

    .article-hero-image img {
        height: 180px;
    }

    .share-buttons {
        flex-direction: column;
    }

    .share-btn {
        justify-content: center;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
    }

    .stats-wrapper,
    .sectors-wrapper {
        grid-template-columns: 1fr;
    }

    .sector-card {
        height: 180px;
    }

    .categories-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   NEW HOMEPAGE STYLES (Julaya Inspired)
   ============================================ */

/* Hero Section */
.hero-section {
    position: relative;
    padding: 8rem 0 6rem;
    overflow: hidden;
    background: var(--white);
}

.hero-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.hero-bg-shapes .shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
}

.hero-bg-shapes .shape-1 {
    top: -10%;
    right: -5%;
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, rgba(244, 240, 248, 1), rgba(224, 212, 252, 0.5));
}

.hero-bg-shapes .shape-2 {
    bottom: 10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, rgba(240, 248, 255, 1), rgba(220, 240, 255, 0.5));
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--gray-50);
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 2rem;
    border: 1px solid var(--gray-200);
}

.hero-label .dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
}

.hero-section h1 {
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-section p {
    font-size: 1.25rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 4rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    padding-top: 3rem;
    border-top: 1px solid var(--gray-100);
}

.hero-stats .stat {
    text-align: center;
}

.hero-stats .num {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.hero-stats .label {
    font-size: 0.9rem;
    color: var(--gray-500);
    font-weight: 500;
}

/* Clients Section */
.clients-section {
    padding: 4rem 0;
    background: var(--white);
    text-align: center;
}

.clients-label {
    font-size: 0.9rem;
    color: var(--gray-400);
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.clients-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
    opacity: 0.6;
}

.client-logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-400);
}

/* Bento Grid Services */
.services-section {
    padding: 8rem 0;
    background: var(--gray-50);
}

.services-bento {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, minmax(300px, auto));
    gap: 1.5rem;
    margin-top: 4rem;
}

.bento-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

.bento-card.large {
    grid-column: span 2;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 2rem;
}

.bento-card.wide {
    grid-column: span 3;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 2rem;
}

.bento-content {
    flex: 1;
}

.bento-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.bento-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.bento-card p {
    color: var(--gray-600);
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.bento-visual {
    flex: 1;
    height: 100%;
    min-height: 200px;
    border-radius: var(--radius-lg);
    background: var(--secondary);
}

.visual-chart {
    background: linear-gradient(135deg, #fceeff 0%, #f3f4f6 100%);
    position: relative;
    overflow: hidden;
}

.visual-chart::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10%;
    right: 10%;
    height: 60%;
    background: var(--accent);
    border-radius: 10px 10px 0 0;
    opacity: 0.1;
}

.visual-automation {
    background: var(--gray-100);
    position: relative;
}

/* Value Section */
.value-section {
    padding: 8rem 0;
}

.value-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.value-list {
    list-style: none;
    margin-top: 3rem;
}

.value-list li {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.check-icon {
    width: 32px;
    height: 32px;
    background: var(--black);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
    background: var(--primary);
}

.value-list h4 {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.image-card {
    background: var(--gray-100);
    border-radius: var(--radius-xl);
    padding: 3rem;
    position: relative;
}

.ui-mockup {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
}

.ui-header {
    padding: 1rem;
    background: var(--gray-50);
    display: flex;
    gap: 0.5rem;
    border-bottom: 1px solid var(--gray-200);
}

.ui-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gray-300);
}

.ui-body {
    padding: 2rem;
}

.ui-graph {
    height: 100px;
    background: var(--secondary);
    border-radius: var(--radius);
    margin-bottom: 1rem;
}

.ui-row {
    height: 20px;
    background: var(--gray-100);
    border-radius: 4px;
    margin-bottom: 0.5rem;
    width: 80%;
}

/* Large CTA */
.cta-section-large {
    padding: 6rem 0;
}

.cta-box {
    background: var(--primary);
    border-radius: var(--radius-xl);
    padding: 5rem;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.cta-box h2 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.cta-box p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.25rem;
    margin-bottom: 3rem;
}

/* Mobile Tweaks for New Sections */
@media (max-width: 992px) {
    .services-bento {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .bento-card.large,
    .bento-card.wide {
        grid-column: span 1;
        flex-direction: column;
    }

    .value-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 2rem;
    }

    .cta-box {
        padding: 3rem 1.5rem;
    }

    .cta-box h2 {
        font-size: 2rem;
    }
}

/* ============================================
   INNER PAGE REFINEMENTS (Julaya Style)
   ============================================ */

/* Refined Service Detail Card */
.service-detail-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 3rem;
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-detail-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.service-detail-card .service-icon {
    width: 64px;
    height: 64px;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    color: var(--primary);
}

.service-detail-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--gray-900);
}

.service-detail-card p {
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.service-features {
    list-style: none;
    margin-bottom: 2rem;
    padding: 0;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--gray-700);
    font-size: 0.95rem;
}

.service-features li svg {
    color: var(--success);
    flex-shrink: 0;
}

/* Refined Form Inputs (Pill Shape) */
.form-group input,
.form-group select,
.sidebar-form input {
    border-radius: 9999px;
    /* Pill shape */
    padding: 1rem 1.5rem;
    background: var(--white);
    border: 1px solid var(--gray-200);
}

.form-group textarea {
    border-radius: var(--radius-lg);
    padding: 1rem 1.5rem;
    background: var(--white);
    border: 1px solid var(--gray-200);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus,
.sidebar-form input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(112, 0, 255, 0.1);
    /* Soft Purple Glow */
    outline: none;
}

/* Refined Value & Team Cards */
.value-card,
.team-card,
.contact-form-wrapper,
.sidebar-card,
.blog-card,
.category-card {
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
}

.value-card:hover,
.team-card:hover,
.blog-card:hover,
.category-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-5px);
}

/* Contact Form Wrapper - Clean Look */
.contact-form-wrapper {
    background: var(--white);
    padding: 3rem;
    border-radius: var(--radius-2xl);
}

/* Map Section Adjustment */
.map-wrapper {
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: none;
    border: 1px solid rgba(0, 0, 0, 0.05);
}