/* =========================================
   VARIABLES & DESIGN TOKENS
   ========================================= */
:root {
    /* Color Palette */
    --primary-color: #0B132B; /* Deep Midnight Blue */
    --primary-light: #1C2541;
    --accent-color: #D4AF37; /* Champagne Gold / Premium */
    --accent-hover: #b8972e;
    --bg-dark: #050a17;
    
    --bg-main: #FFFFFF;
    --bg-light: #F8F9FA;
    --bg-glass: rgba(255, 255, 255, 0.85);
    
    --text-main: #1A1A1A;
    --text-muted: #6C757D;
    --text-light: #F8F9FA;

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing & Sizes */
    --nav-height: 80px;
    --section-padding: 84px 0;
    --border-radius-lg: 24px;
    --border-radius-md: 16px;
    --border-radius-sm: 8px;

    /* Shadows & Transitions */
    --shadow-soft: 0 10px 40px rgba(11, 19, 43, 0.05);
    --shadow-hover: 0 20px 50px rgba(11, 19, 43, 0.1);
    --shadow-glass: 0 8px 32px rgba(31, 38, 135, 0.07);
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* =========================================
   RESET & BASE STYLES
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--bg-main);
    overflow-x: hidden;
    padding-top: var(--nav-height);
}

body.menu-open {
    overflow: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary-color);
}

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

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

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: var(--section-padding);
}

.bg-light {
    background-color: var(--bg-light);
}

/* =========================================
   SOFTWARE LOGO CAROUSEL
   ========================================= */
.software-expertise {
    background: var(--bg-main);
}

.logo-carousel-wrapper {
    width: 100%;
    margin-top: 54px;
    padding: 8px 0 46px;
    position: relative;
    overflow: hidden;
}

.logo-swiper {
    width: 100%;
    overflow: hidden;
}

.logo-swiper .swiper-wrapper {
    align-items: stretch;
}

.logo-swiper .swiper-slide {
    height: auto;
}

.logo-card {
    min-height: 132px;
    height: 100%;
    padding: 24px 18px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    background: #fff;
    border: 1px solid rgba(11, 19, 43, 0.08);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
}

.logo-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.logo-card img {
    width: 140px;
    height: 48px;
    object-fit: contain;
}

.software-name {
    display: block;
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
}

.logo-carousel-wrapper .swiper-pagination {
    bottom: 0;
}

.logo-carousel-wrapper .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: rgba(11, 19, 43, 0.25);
    opacity: 1;
}

.logo-carousel-wrapper .swiper-pagination-bullet-active {
    width: 22px;
    border-radius: 999px;
    background: var(--accent-color);
}

/* =========================================
   UTILITIES
   ========================================= */
.text-gradient {
    background: linear-gradient(135deg, var(--accent-color) 0%, #E5C07B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.w-100 {
    width: 100%;
}

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-light);
}

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

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid rgba(11, 19, 43, 0.1);
}

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

/* =========================================
   NAVIGATION
   ========================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 1000;
}

.navbar.scrolled {
    /* Kept for JS compatibility if needed, but styling is now default */
}

.nav-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

.logo span {
    color: var(--accent-color);
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    font-weight: 500;
    font-size: 15px;
    color: var(--text-main);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--accent-color);
    transition: var(--transition-smooth);
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    color: var(--primary-color);
    cursor: pointer;
}

.mobile-nav {
    position: fixed;
    inset: 0;
    z-index: 1200;
    pointer-events: none;
}

.mobile-nav-backdrop {
    position: absolute;
    inset: 0;
    border: none;
    background: rgba(5, 10, 23, 0.36);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-nav-panel {
    position: absolute;
    top: 0;
    right: 0;
    width: min(360px, 86vw);
    height: 100%;
    padding: 22px 20px 28px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(18px);
    box-shadow: -14px 0 40px rgba(11, 19, 43, 0.16);
    display: flex;
    flex-direction: column;
    gap: 24px;
    transform: translateX(100%);
    transition: transform 0.34s ease;
}

.mobile-nav.open {
    pointer-events: auto;
}

.mobile-nav.open .mobile-nav-backdrop {
    opacity: 1;
}

.mobile-nav.open .mobile-nav-panel {
    transform: translateX(0);
}

.mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.mobile-nav-close {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(11, 19, 43, 0.1);
    border-radius: 50%;
    background: #fff;
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    cursor: pointer;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-nav-links a {
    padding: 14px 16px;
    border-radius: 14px;
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color);
    background: rgba(11, 19, 43, 0.03);
}

.mobile-nav-links a.active {
    background: rgba(212, 175, 55, 0.14);
    color: var(--primary-color);
}

.mobile-nav-actions {
    margin-top: auto;
}

.mobile-nav-cta {
    width: 100%;
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: calc(var(--nav-height) + 40px) 24px 60px;
    background-color: var(--bg-light);
    overflow: hidden;
}

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

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    animation: float 10s ease-in-out infinite alternate;
}

.primary-orb {
    top: 10%;
    left: 10%;
    width: 400px;
    height: 400px;
    background: rgba(11, 19, 43, 0.15);
}

.accent-orb {
    bottom: 10%;
    right: 10%;
    width: 300px;
    height: 300px;
    background: rgba(212, 175, 55, 0.15);
    animation-delay: -5s;
}

@keyframes float {
    0% { transform: translate(0, 0); }
    100% { transform: translate(30px, 50px); }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(212, 175, 55, 0.1);
    color: var(--accent-hover);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.hero h1 {
    font-size: clamp(40px, 6vw, 72px);
    letter-spacing: -1px;
    margin-bottom: 24px;
}

.hero p {
    font-size: 20px;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 40px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
}

/* =========================================
   ABOUT SECTION
   ========================================= */
.container-flex {
    display: flex;
    align-items: center;
    gap: 80px;
}

.container-flex.reverse {
    flex-direction: row-reverse;
}

.about-text, .why-us-content {
    flex: 1;
}

.section-title {
    font-size: clamp(32px, 4vw, 48px);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 20px;
    font-weight: 500;
    color: var(--text-main);
    margin-bottom: 24px;
}

.about-text p, .why-us-content p {
    color: var(--text-muted);
    font-size: 17px;
    margin-bottom: 32px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    border-top: 1px solid rgba(0,0,0,0.05);
    padding-top: 32px;
}

.stat-number {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 4px;
}

.stat-item p {
    font-size: 14px;
    margin-bottom: 0;
}

.about-image-wrapper {
    flex: 1;
    position: relative;
}

.about-image {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-soft);
    object-fit: cover;
    aspect-ratio: 4/5;
    width: 100%;
}

.image-glass-card {
    position: absolute;
    bottom: -30px;
    left: -30px;
    background: var(--bg-glass);
    backdrop-filter: blur(16px);
    padding: 24px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-glass);
    display: flex;
    align-items: center;
    gap: 16px;
    border: 1px solid rgba(255,255,255,0.5);
    max-width: 250px;
}

.image-glass-card h4 {
    font-size: 16px;
    margin-bottom: 4px;
}

.image-glass-card p {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
}

.icon-large {
    font-size: 32px;
}

/* =========================================
   SERVICES SECTION
   ========================================= */
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
}

.service-card {
    background: var(--bg-main);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
    border: 1px solid transparent;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(212, 175, 55, 0.2);
}

.service-icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: var(--border-radius-md);
    background: rgba(11, 19, 43, 0.03);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 24px;
    transition: var(--transition-smooth);
}

.service-card:hover .service-icon-wrapper {
    background: var(--primary-color);
    color: var(--text-light);
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--text-muted);
    margin-bottom: 24px;
    font-size: 15px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 14px;
}

.service-link:hover {
    color: var(--accent-hover);
    gap: 12px;
}

/* =========================================
   WHY US SECTION
   ========================================= */
 .feature-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
 }

 .feature-item {
    display: flex;
    gap: 16px;
 }

 .feature-icon {
    font-size: 24px;
    color: var(--accent-color);
    margin-top: 2px;
 }

 .feature-item h4 {
    font-size: 18px;
    margin-bottom: 6px;
 }

 .feature-item p {
    font-size: 15px;
    margin: 0;
 }

 .why-us-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
 }

 .visual-circle {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    border: 1px dashed rgba(11, 19, 43, 0.2);
    position: relative;
    animation: rotate 30s linear infinite;
 }

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

 .metric-card {
    position: absolute;
    background: var(--bg-main);
    padding: 16px 24px;
    border-radius: 50px;
    box-shadow: var(--shadow-soft);
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-weight: 600;
    white-space: nowrap;
    animation: counter-rotate 30s linear infinite;
 }

 @keyframes counter-rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(-360deg); }
 }

 .card-1 { top: -20px; left: 50%; transform-origin: center; margin-left: -70px; }
 .card-2 { bottom: 20%; right: -40px; }
 .card-3 { bottom: 20%; left: -40px; }

 .metric-card i {
    color: var(--accent-color);
    font-size: 20px;
 }

/* =========================================
   CONTACT SECTION
   ========================================= */
.contact-box {
    background: var(--primary-color);
    border-radius: var(--border-radius-lg);
    padding: 60px;
    display: flex;
    gap: 60px;
    color: var(--text-light);
    box-shadow: 0 40px 80px rgba(11, 19, 43, 0.2);
    position: relative;
    overflow: hidden;
}

.contact-box::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, rgba(11, 19, 43, 0) 70%);
    pointer-events: none;
}

.contact-info {
    flex: 1;
    z-index: 1;
}

.contact-info h2 {
    color: var(--text-light);
    font-size: 36px;
    margin-bottom: 20px;
}

.contact-info p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 40px;
    font-size: 16px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-details a, .contact-details p {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-light);
    font-size: 16px;
}

.contact-details i {
    color: var(--accent-color);
    font-size: 20px;
}

.contact-form {
    flex: 1;
    background: var(--bg-main);
    padding: 40px;
    border-radius: var(--border-radius-md);
    z-index: 1;
}

.form-group {
    margin-bottom: 20px;
}

input, select, textarea {
    width: 100%;
    padding: 16px;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: var(--border-radius-sm);
    font-family: var(--font-body);
    font-size: 15px;
    background: var(--bg-light);
    transition: var(--transition-smooth);
    color: var(--text-main);
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--bg-main);
}

/* =========================================
   FOOTER
   ========================================= */
footer {
    background: var(--primary-color);
    color: rgba(255,255,255,0.7);
    padding: 80px 0 24px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 60px;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-brand .logo {
    color: var(--text-light);
    display: inline-block;
    margin-bottom: 16px;
}

.footer-brand p {
    max-width: 300px;
    font-size: 14px;
}

.footer-links {
    display: flex;
    gap: 80px;
}

.link-group h4 {
    color: var(--text-light);
    margin-bottom: 20px;
}

.link-group a {
    display: block;
    margin-bottom: 12px;
    font-size: 14px;
}

.link-group a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 13px;
}

/* =========================================
   ANIMATIONS
   ========================================= */
.reveal, .scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active, .scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 992px) {
    .container-flex, .container-flex.reverse, .contact-box {
        flex-direction: column;
        gap: 40px;
    }
    
    .about-image-wrapper, .why-us-visual {
        width: 100%;
        display: flex;
        justify-content: center;
    }
    
    .image-glass-card {
        bottom: 20px;
        left: 20px;
    }

    .hero h1 {
        font-size: 40px;
    }
}

@media (max-width: 768px) {
    .nav-links, .nav-cta {
        display: none;
    }
    
    .nav-container {
        padding: 0 20px;
    }

    .mobile-menu-btn {
        display: block;
    }
    
    .section-padding {
        padding: 48px 0;
    }

    .hero-actions {
        flex-direction: column;
    }

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

    .contact-box {
        padding: 30px;
    }

    .visual-circle {
        width: 300px;
        height: 300px;
        transform: scale(0.8);
    }
}

/* =========================================
   CHATBOT & TOOLS
   ========================================= */
.chatbot-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 10px 25px rgba(11, 19, 43, 0.3);
    cursor: pointer;
    z-index: 1000;
    transition: var(--transition-smooth);
}

.chatbot-widget:hover {
    transform: scale(1.1);
    background: var(--accent-color);
    box-shadow: var(--shadow-hover);
}

.page-header {
    padding: calc(var(--nav-height) + 60px) 24px 60px;
    text-align: center;
    background-color: var(--primary-color);
    color: var(--text-light);
}

.page-header h1 {
    color: var(--text-light);
    font-size: 48px;
    margin-bottom: 16px;
}

.page-header p {
    color: rgba(255,255,255,0.8);
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
}

/* =========================================
   BLOG & CALENDAR
   ========================================= */
.blog-container {
    display: flex;
    gap: 40px;
}

.blog-sidebar {
    width: 350px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.widget {
    background: var(--bg-main);
    border-radius: var(--border-radius-md);
    padding: 24px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(0,0,0,0.05);
}

.widget h3 {
    margin-bottom: 20px;
    font-size: 20px;
    border-bottom: 2px solid var(--bg-light);
    padding-bottom: 12px;
}

/* Calendar */
.calendar-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.cal-btn {
    background: none;
    border: none;
    font-size: 18px;
    color: var(--primary-color);
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
}

.cal-btn:hover {
    background: var(--bg-light);
}

.cal-title {
    font-weight: 600;
    font-family: var(--font-heading);
}

.calendar-grid-header {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

.cal-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.cal-day:hover {
    background: var(--bg-light);
}

.cal-day.has-event {
    background: rgba(212, 175, 55, 0.15);
    font-weight: 600;
    color: var(--primary-color);
    border: 1px solid rgba(212, 175, 55, 0.5);
}

.cal-day.active {
    background: var(--primary-color);
    color: var(--text-light);
}

.calendar-details {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.calendar-details.hidden {
    display: none;
}

#cal-selected-date {
    font-size: 15px;
    margin-bottom: 12px;
}

.due-date-item {
    font-size: 13px;
    padding: 8px 12px;
    background: var(--bg-light);
    border-left: 3px solid var(--accent-color);
    margin-bottom: 8px;
    border-radius: 0 4px 4px 0;
}

/* Categories List */
.cat-list {
    list-style: none;
}

.cat-list li {
    margin-bottom: 12px;
}

.cat-list a {
    display: flex;
    justify-content: space-between;
    font-size: 15px;
    color: var(--text-muted);
}

.cat-list a:hover {
    color: var(--primary-color);
    font-weight: 500;
}

/* Blog Articles */
.blog-articles {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.blog-post {
    background: var(--bg-main);
    padding: 32px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition-smooth);
}

.blog-post:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}

.blog-meta {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.badge {
    padding: 4px 10px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 12px;
}

.badge-accent { background: rgba(212, 175, 55, 0.1); color: var(--accent-hover); }
.badge-primary { background: rgba(11, 19, 43, 0.1); color: var(--primary-color); }
.badge-gray { background: rgba(108, 117, 125, 0.1); color: var(--text-muted); }

.blog-post h2 {
    font-size: 24px;
    margin-bottom: 16px;
}

.blog-excerpt {
    color: var(--text-muted);
    margin-bottom: 24px;
}

.btn-link {
    font-weight: 600;
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-link:hover {
    color: var(--accent-hover);
    gap: 12px;
}

/* =========================================
   CHAT WINDOW UI
   ========================================= */
.chat-window {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 350px;
    height: 500px;
    background: var(--bg-main);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-hover);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 1000;
    transform: translateY(20px);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
    border: 1px solid rgba(0,0,0,0.1);
}

.chat-window.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
}

.chat-header {
    background: var(--primary-color);
    color: var(--text-light);
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header h3 {
    color: var(--text-light);
    font-size: 16px;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.chat-close {
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    font-size: 20px;
}

.chat-body {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: var(--bg-light);
}

.msg {
    max-width: 80%;
    padding: 12px 16px;
    border-radius: var(--border-radius-sm);
    font-size: 14px;
    line-height: 1.4;
}

.msg-bot {
    background: var(--bg-main);
    color: var(--text-main);
    align-self: flex-start;
    border: 1px solid rgba(0,0,0,0.05);
    border-bottom-left-radius: 4px;
}

.msg-user {
    background: var(--primary-color);
    color: var(--text-light);
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.typing-indicator {
    display: none;
    align-items: center;
    gap: 4px;
    padding: 12px 16px;
    background: var(--bg-main);
    border-radius: var(--border-radius-sm);
    align-self: flex-start;
    border: 1px solid rgba(0,0,0,0.05);
    border-bottom-left-radius: 4px;
}
.typing-indicator span {
    width: 6px;
    height: 6px;
    background: var(--text-muted);
    border-radius: 50%;
    animation: bounce 1.4s infinite ease-in-out both;
}
.typing-indicator span:nth-child(1) { animation-delay: -0.32s; }
.typing-indicator span:nth-child(2) { animation-delay: -0.16s; }
@keyframes bounce { 0%, 80%, 100% { transform: scale(0); } 40% { transform: scale(1); } }

.chat-input-area {
    padding: 16px;
    background: var(--bg-main);
    border-top: 1px solid rgba(0,0,0,0.05);
    display: flex;
    gap: 12px;
}

.chat-input-area input {
    flex: 1;
    padding: 12px;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 50px;
    font-size: 14px;
    background: var(--bg-light);
}

.chat-send {
    background: var(--primary-color);
    color: var(--text-light);
    border: none;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
}
.chat-send:hover {
    background: var(--accent-color);
}

@media (max-width: 768px) {
    .blog-container {
        flex-direction: column;
    }
    .blog-sidebar {
        width: 100%;
    }
    .chat-window {
        bottom: 0;
        right: 0;
        width: 100%;
        height: 100%;
        border-radius: 0;
        transform: translateY(100%);
    }
}

/* =========================================
   HERO SLIDER
   ========================================= */
.hero-slider {
    position: relative;
    width: 100%;
    height: 75vh;
    min-height: 500px;
    overflow: hidden;
    background: var(--bg-main); 
    display: flex;
    align-items: center;
}

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

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(1.03); 
    pointer-events: none;
    background: radial-gradient(circle at center, rgba(11,19,43,0.8) 0%, rgba(5,10,25,1) 100%);
}

.slide.active {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

.slide-content {
    text-align: center;
    max-width: 850px;
    padding: 60px 40px;
    background: rgba(255, 255, 255, 0.03); /* Glassmorphism */
    border: 1px solid rgba(212, 175, 55, 0.15);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: var(--border-radius-lg);
    z-index: 10;
    transform: translateY(40px);
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.2s; 
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

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

.slide-content h2 {
    font-size: 56px;
    line-height: 1.15;
    margin-bottom: 24px;
    color: var(--text-light);
    font-family: var(--font-heading);
}

.slide-content p {
    font-size: 20px;
    color: rgba(255,255,255,0.75);
    margin-bottom: 36px;
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.05);
    color: var(--accent-light);
    border: 1px solid rgba(212,175,55,0.15);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    cursor: pointer;
    z-index: 20;
    transition: var(--transition-smooth);
    backdrop-filter: blur(8px);
}

.slider-btn:hover {
    background: var(--accent-color);
    color: var(--bg-main);
    transform: translateY(-50%) scale(1.1);
}

.prev-btn { left: 50px; }
.next-btn { right: 50px; }

.slider-indicators {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 16px;
    z-index: 20;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.dot.active {
    background: var(--accent-color);
    transform: scale(1.4);
}

@media (max-width: 768px) {
    .slide-content h2 { font-size: 32px; }
    .slide-content p { font-size: 16px; }
    .prev-btn { left: 15px; width: 45px; height: 45px; font-size: 20px; }
    .next-btn { right: 15px; width: 45px; height: 45px; font-size: 20px; }
    .slide-content { padding: 40px 20px; margin: 0 20px; }
    .hero-slider { height: 85vh; }
}

/* =========================================
   TOOL ACCORDIONS & UI
   ========================================= */
.tool-workbench {
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    margin-bottom: 24px;
    overflow: hidden;
    transition: var(--transition-smooth);
    border: 1px solid rgba(0,0,0,0.05);
}

.tool-workbench-head {
    padding: 24px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: white;
    transition: var(--transition-smooth);
}

.tool-workbench-head:hover {
    background: var(--bg-light);
}

.tool-workbench-head h3 {
    margin-bottom: 4px;
    font-size: 20px;
}

.tool-workbench-head p {
    margin: 0;
    color: #666;
    font-size: 14px;
}

.tool-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0, 1, 0, 1);
}

.tool-panel.active {
    max-height: 5000px;
    transition: max-height 0.5s ease-in-out;
}

.tool-panel-content {
    padding: 0 32px 32px 32px;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.upload-field {
    display: block;
    margin-bottom: 20px;
    padding: 20px;
    border: 2px dashed #ddd;
    border-radius: var(--border-radius-md);
    text-align: center;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.upload-field:hover {
    border-color: var(--accent-color);
    background: rgba(212, 175, 55, 0.05);
}

.upload-field input[type="file"] { display: none; }

.upload-field span {
    font-weight: 500;
    color: var(--primary-color);
}

.dual-upload {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.tool-actions {
    display: flex;
    gap: 16px;
    margin-top: 24px;
}

.status-box {
    margin-top: 20px;
    padding: 16px;
    border-radius: var(--border-radius-sm);
    font-weight: 500;
    font-size: 14px;
}
.status-box.hidden { display: none; }
.status-info { background: #e0f2fe; color: #0369a1; border: 1px solid #bae6fd; }
.status-error { background: #fee2e2; color: #b91c1c; border: 1px solid #fecaca; }
.status-success { background: #dcfce3; color: #15803d; border: 1px solid #bbf7d0; }

.table-shell {
    margin-top: 32px;
    background: var(--bg-light);
    border-radius: var(--border-radius-md);
    padding: 24px;
    overflow-x: auto;
    color: var(--text-main);
    border: 1px solid rgba(0,0,0,0.05);
}
.table-shell h4 { color: var(--primary-color); margin-bottom: 12px; font-weight: 600; }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: 13px; }
.table-wrap th, .table-wrap td { padding: 10px 12px; text-align: left; border-bottom: 1px solid rgba(0,0,0,0.05); white-space: nowrap; }
.table-wrap th { background: rgba(0,0,0,0.03); color: var(--text-muted); font-weight: 600; font-size: 11px; text-transform: uppercase; letter-spacing: 0.5px; }

.mapping-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 24px;
    background: var(--bg-light);
    padding: 24px;
    border-radius: var(--border-radius-md);
}
.mapping-grid.hidden { display: none; }
.mapping-grid label { display: flex; flex-direction: column; font-size: 14px; font-weight: 600; }
.mapping-grid select { margin-top: 8px; padding: 10px; border: 1px solid #ddd; border-radius: 4px; font-family: inherit; }

.summary-grid { display: flex; gap: 16px; margin-top: 24px; }
.summary-grid.hidden { display: none; }
.summary-tile { flex: 1; background: var(--bg-light); padding: 24px; border-radius: var(--border-radius-md); text-align: center; border: 1px solid #ddd; }
.summary-tile strong { display: block; font-size: 32px; color: var(--primary-color); line-height: 1; margin-bottom: 8px; }

.download-shell { margin-top: 24px; text-align: center; }
.download-shell.hidden { display: none; }

@media (max-width: 768px) {
    .dual-upload { grid-template-columns: 1fr; }
    .mapping-grid { grid-template-columns: 1fr; }
    .summary-grid { flex-direction: column; }
}

/* =========================================
   HOMEPAGE TWEAKS & PREMIUM UI
   ========================================= */
#about {
    padding-top: 50px !important;
}

.about-text .section-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.about-text .section-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 24px;
}

.about-image-wrapper {
    position: relative;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 30px 60px rgba(11, 19, 43, 0.15);
    transition: var(--transition-smooth);
    border: 1px solid rgba(0,0,0,0.05);
}

.about-image-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 40px 80px rgba(11, 19, 43, 0.2);
}

.about-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: var(--border-radius-lg);
    min-height: 450px;
}

/* =========================================
   SERVICE CARDS PREMIUM UI
   ========================================= */
.service-card {
    border-radius: var(--border-radius-lg) !important;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.04);
    position: relative;
    z-index: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--accent-color), #E5C07B);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 2;
}

.service-card::after {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
    z-index: -1;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(11, 19, 43, 0.08) !important;
    border-color: rgba(212, 175, 55, 0.2);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover::after {
    transform: scale(1.5);
    background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, rgba(255,255,255,0) 70%);
}

.service-icon-wrapper i {
    transition: all 0.4s ease;
}

.service-card:hover .service-icon-wrapper i {
    transform: scale(1.1);
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

/* =========================================
   SOFTWARE EXPERTISE SECTION
   ========================================= */

/* =========================================
   SOFTWARE EXPERTISE SECTION (SLIDER)
   ========================================= */
.software-expertise {
    background: #fff;
    overflow: hidden;
}

.logo-slider-wrapper {
    width: 100%;
    margin-top: 50px;
    position: relative;
    padding: 20px 0;
}

.logo-track {
    display: flex;
    gap: 100px;
    width: max-content;
    animation: scrollLogos 30s linear infinite;
    align-items: center;
}

.logo-item {
    width: 160px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

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

@keyframes scrollLogos {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-160px * 5 - 100px * 5)); }
}

.slider-dots-container {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(11, 19, 43, 0.1);
}

.slider-dot.active {
    background: var(--accent-color);
    width: 24px;
    border-radius: 10px;
}

/* Final carousel override */
.software-expertise {
    background: #fff;
    overflow: hidden;
}

.software-expertise .section-header p {
    margin-top: 10px !important;
}

.logo-carousel-wrapper {
    margin-top: 34px;
    padding: 6px 0 34px;
}

.logo-swiper {
    padding: 12px 0 18px;
}

.logo-swiper .swiper-slide {
    height: auto;
    opacity: 0.55;
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.logo-swiper .swiper-slide-active {
    opacity: 1;
}

.logo-card {
    min-height: 110px;
    height: 100%;
    padding: 12px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    transform: scale(0.88);
    transition: transform 0.35s ease, opacity 0.35s ease;
}

.logo-swiper .swiper-slide-active .logo-card {
    transform: scale(1.08);
}

.logo-card:hover {
    transform: scale(0.94);
    box-shadow: none;
}

.logo-swiper .swiper-slide-active .logo-card:hover {
    transform: scale(1.1);
}

.logo-card img {
    width: 150px;
    max-width: 100%;
    height: 54px;
    object-fit: contain;
}

.software-name {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.25;
    color: rgba(11, 19, 43, 0.9);
    text-align: center;
}

.logo-carousel-wrapper .swiper-pagination {
    bottom: 0;
}

.logo-carousel-wrapper .swiper-pagination-bullet {
    width: 7px;
    height: 7px;
}

.logo-carousel-wrapper .swiper-pagination-bullet-active {
    width: 20px;
}

@media (max-width: 1024px) {
    .logo-card img {
        width: 136px;
        height: 50px;
    }
}

@media (max-width: 768px) {
    .logo-carousel-wrapper {
        margin-top: 24px;
        padding-bottom: 28px;
    }

    .logo-card {
        min-height: 96px;
        padding: 10px 8px;
        gap: 10px;
    }

    .logo-card img {
        width: 122px;
        height: 42px;
    }

    .software-name {
        font-size: 13px;
    }
}
