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

/* --- DESIGN SYSTEM & VARIABLES --- */
:root {
    /* Color Palette - Light Mode Default */
    --bg-primary: #F8FAFC;
    --bg-secondary: #FFFFFF;
    --bg-tertiary: #F1F5F9;
    --text-primary: #0F172A;
    --text-secondary: #475569;
    --text-muted: #64748B;
    --accent-color: #BDDE45; /* Refined premium corporate lime/olive */
    --accent-hover: #AAC752;
    --accent-light: rgba(189, 222, 69, 0.15);
    --primary-blue: #0A2540; /* Modern Corporate Blue */
    --primary-blue-hover: #1E3A8A;
    --border-color: #E2E8F0;
    --nav-bg: rgba(255, 255, 255, 0.7);
    --card-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.02);
    --glow-shadow: 0 0 20px rgba(189, 222, 69, 0.2);
    
    /* Glassmorphism system */
    --glass-bg: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(255, 255, 255, 0.5);
    --glass-shadow: 0 8px 32px 0 rgba(15, 23, 42, 0.04);
    
    /* Fonts */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing & Borders */
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Header Heights */
    --header-height: 80px;
    --topbar-height: 40px;
}

[data-theme="dark"] {
    /* Color Palette - Dark Mode overrides */
    --bg-primary: #090D16; /* Deeper slate dark */
    --bg-secondary: #0F1524;
    --bg-tertiary: #1B2336;
    --text-primary: #F8FAFC;
    --text-secondary: #94A3B8;
    --text-muted: #64748B;
    --accent-color: #D8F278; /* Brighter neon chartreuse for dark mode */
    --accent-hover: #BDDE45;
    --accent-light: rgba(216, 242, 120, 0.18);
    --primary-blue: #38BDF8; /* Sky Blue accent for dark mode */
    --primary-blue-hover: #7DD3FC;
    --border-color: rgba(255, 255, 255, 0.08);
    --nav-bg: rgba(9, 13, 22, 0.75);
    --card-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.4);
    --glow-shadow: 0 0 20px rgba(216, 242, 120, 0.15);
    
    /* Glassmorphism system */
    --glass-bg: rgba(15, 21, 36, 0.75);
    --glass-border: rgba(255, 255, 255, 0.05);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-secondary);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    font-weight: 700;
    line-height: 1.25;
    transition: color 0.3s ease;
}

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

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

ul {
    list-style: none;
}

/* --- BUTTONS & INTERACTIVE ELEMENTS --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 50px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition-smooth);
    gap: 8px;
}

.btn-primary {
    background-color: var(--accent-color);
    color: #0F172A;
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--glow-shadow);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--border-color);
    color: var(--text-primary);
}

.btn-secondary:hover {
    border-color: var(--accent-color);
    background-color: var(--accent-light);
    color: var(--text-primary);
    transform: translateY(-2px);
}

.btn-dark {
    background-color: var(--primary-blue);
    color: #FFFFFF;
}

.btn-dark:hover {
    background-color: var(--primary-blue-hover);
    transform: translateY(-2px);
}

/* --- UTILITY CLASSES --- */
.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 100px 0;
}

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

.section-title-wrap {
    max-width: 700px;
    margin: 0 auto 50px auto;
}

.section-subtitle {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--accent-color);
    letter-spacing: 2px;
    display: inline-block;
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.8rem;
    color: var(--text-primary);
    font-weight: 800;
}

/* Glassmorphism system card */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: var(--border-radius-lg);
    padding: 30px;
    transition: var(--transition-smooth);
}

.glass-card:hover {
    box-shadow: var(--card-shadow);
    transform: translateY(-4px);
    border-color: var(--accent-color);
}

/* Text Gradient Helpers */
.text-gradient {
    background: linear-gradient(135deg, var(--text-primary) 30%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Custom Tag Badges */
.tag-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 16px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 50px;
    background-color: var(--accent-light);
    color: var(--accent-color);
    border: 1px solid rgba(189, 222, 69, 0.2);
    margin-bottom: 16px;
}

/* Interactive Tabs Component */
.tab-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.tab-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
}

.tab-btn {
    padding: 12px 24px;
    border-radius: 50px;
    border: 1px solid var(--border-color);
    background-color: var(--bg-secondary);
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.tab-btn:hover, .tab-btn.active {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: #000000;
    transform: translateY(-2px);
    box-shadow: var(--glow-shadow);
}

.tab-content {
    display: none;
    animation: tabFadeIn 0.5s ease forwards;
}

.tab-content.active {
    display: block;
}

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

/* Display Utilities */
.d-none {
    display: none !important;
}

/* Workflow Steps Responsive Grid */
.workflow-steps-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    width: 100%;
}
.workflow-steps-grid.cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

/* B2B Form Row Grid */
.form-row-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* Responsive Image Wrap */
.responsive-img-container {
    border-radius: var(--border-radius-lg);
    height: 380px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border-color);
}

/* CTA Section padding helper */
.cta-section {
    background-color: var(--bg-primary);
    padding: 100px 0;
}

/* Progress Roadmap Timeline */
.roadmap-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 0;
}

.roadmap-container::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: var(--border-color);
    transform: translateX(-50%);
}

.roadmap-step {
    position: relative;
    width: 50%;
    padding: 0 40px;
    margin-bottom: 40px;
    box-sizing: border-box;
}

.roadmap-step:nth-child(odd) {
    left: 0;
    text-align: right;
}

.roadmap-step:nth-child(even) {
    left: 50%;
    text-align: left;
}

.roadmap-badge {
    position: absolute;
    top: 4px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--accent-color);
    color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
    z-index: 2;
    box-shadow: var(--glow-shadow);
}

.roadmap-step:nth-child(odd) .roadmap-badge {
    right: -18px;
}

.roadmap-step:nth-child(even) .roadmap-badge {
    left: -18px;
}

.roadmap-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 24px;
    box-shadow: var(--card-shadow);
    transition: var(--transition-smooth);
}

.roadmap-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-4px);
    box-shadow: var(--card-shadow), var(--glow-shadow);
}

@media (max-width: 768px) {
    .roadmap-container::before {
        left: 20px;
    }
    .roadmap-step {
        width: 100%;
        padding-left: 50px;
        padding-right: 0;
        text-align: left !important;
    }
    .roadmap-step:nth-child(even) {
        left: 0;
    }
    .roadmap-badge {
        left: 2px !important;
    }
}

/* --- HEADER & NAVIGATION --- */
.topbar {
    height: var(--topbar-height);
    background-color: var(--primary-blue);
    color: #FFFFFF;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-smooth);
}

.topbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.topbar-info {
    display: flex;
    gap: 24px;
}

.topbar-info li {
    display: flex;
    align-items: center;
    gap: 6px;
}

.topbar-info svg {
    color: var(--accent-color);
    width: 16px;
    height: 16px;
}

.header-main {
    height: var(--header-height);
    background-color: var(--nav-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

.header-main.sticky {
    box-shadow: var(--card-shadow);
}

.header-main .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link img {
    height: 60px;
    transition: var(--transition-smooth);
}

.logo-link .footer-logo-img {
    height: auto !important;
    width: 70px !important;
}

.logo-dark {
    display: none !important;
}

.logo-split-container {
    flex-direction: column;
    align-items: flex-start;
}

[data-theme="dark"] .logo-light {
    display: none !important;
}

[data-theme="dark"] .logo-dark.logo-split-container {
    display: flex !important;
}

.mobile-split-logo {
    transform: scale(0.833);
    transform-origin: left center;
}

/* Navbar Links */
.navbar {
    display: flex;
    align-items: center;
}

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

.nav-item {
    position: relative;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-primary);
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 4px;
}

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

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    box-shadow: var(--card-shadow);
    border-radius: var(--border-radius-md);
    min-width: 250px;
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition-smooth);
    z-index: 999;
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-link {
    display: block;
    padding: 10px 12px;
    border-radius: var(--border-radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.dropdown-link:hover {
    background-color: var(--accent-light);
    color: var(--text-primary);
    padding-left: 16px;
}

/* Header CTA and Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Theme Toggle Button */
.theme-toggle-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    border-radius: 50%;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
}

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

.theme-toggle-btn svg {
    width: 20px;
    height: 20px;
}

/* Burger Mobile Menu */
.mobile-nav-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    font-size: 1.5rem;
}

/* Mobile Side Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

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

.mobile-menu-panel {
    position: fixed;
    top: 0;
    right: -320px;
    width: 320px;
    height: 100vh;
    background-color: var(--bg-secondary);
    box-shadow: -10px 0 30px rgba(0,0,0,0.15);
    z-index: 10000;
    padding: 30px 24px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    transition: var(--transition-smooth);
}

.mobile-menu-overlay.open .mobile-menu-panel {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
}

.mobile-menu-close {
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
}

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

.mobile-nav-link {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    display: block;
}

.mobile-dropdown-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-dropdown-links {
    padding-left: 20px;
    margin-top: 10px;
    display: none;
    flex-direction: column;
    gap: 12px;
}

.mobile-dropdown-links.open {
    display: flex;
}

/* --- HERO SECTION --- */
/* --- HERO SLIDER SECTION --- */
.hero-slider-section {
    position: relative;
    padding: 0;
    overflow: hidden;
    background-color: var(--bg-primary);
    margin-top: calc(-1 * var(--header-height));
}

.hero-slider-container {
    position: relative;
    width: 100%;
    min-height: 650px;
}

skinny-placeholder { content: ""; }

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    padding: 140px 0 100px 0;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.hero-slide.slide-1 {
    background-image: linear-gradient(to right, rgba(248, 250, 252, 0.96) 30%, rgba(248, 250, 252, 0.7) 100%), url('../images/slider_bg_1.png');
    background-size: cover;
    background-position: center;
}
.hero-slide.slide-2 {
    background-image: linear-gradient(to right, rgba(248, 250, 252, 0.96) 30%, rgba(248, 250, 252, 0.7) 100%), url('../images/slider_bg_2.png');
    background-size: cover;
    background-position: center;
}
.hero-slide.slide-3 {
    background-image: linear-gradient(to right, rgba(248, 250, 252, 0.96) 30%, rgba(248, 250, 252, 0.7) 100%), url('../images/slider_bg_3.png');
    background-size: cover;
    background-position: center;
}

[data-theme="dark"] .hero-slide.slide-1 {
    background-image: linear-gradient(to right, rgba(11, 15, 25, 0.96) 30%, rgba(11, 15, 25, 0.75) 100%), url('../images/slider_bg_1.png');
}
[data-theme="dark"] .hero-slide.slide-2 {
    background-image: linear-gradient(to right, rgba(11, 15, 25, 0.96) 30%, rgba(11, 15, 25, 0.75) 100%), url('../images/slider_bg_2.png');
}
[data-theme="dark"] .hero-slide.slide-3 {
    background-image: linear-gradient(to right, rgba(11, 15, 25, 0.96) 30%, rgba(11, 15, 25, 0.75) 100%), url('../images/slider_bg_3.png');
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    position: relative;
    z-index: 5;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.hero-title span {
    background: linear-gradient(135deg, var(--text-primary) 30%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 1.15rem;
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 50px;
}

.hero-badge-wrap {
    display: flex;
    gap: 30px;
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
}

.hero-badge {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-badge svg {
    color: var(--accent-color);
    width: 24px;
    height: 24px;
}

.hero-badge-text h4 {
    font-size: 1.1rem;
    margin-bottom: 2px;
}

.hero-badge-text p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.hero-graphics {
    position: relative;
}

.hero-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: var(--card-shadow);
    border-radius: var(--border-radius-lg);
    padding: 30px;
    position: relative;
    z-index: 2;
    transition: var(--transition-smooth);
}

[data-theme="dark"] .hero-card {
    background: rgba(17, 24, 39, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.hero-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 16px;
}

.hero-card-title {
    font-size: 1.25rem;
}

.hero-card-icon {
    background-color: var(--accent-light);
    color: var(--accent-color);
    width: 48px;
    height: 48px;
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-chart-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.hero-chart-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    font-weight: 500;
}

.hero-chart-bar-bg {
    height: 10px;
    background-color: var(--bg-tertiary);
    border-radius: 5px;
    overflow: hidden;
}

.hero-chart-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-color) 0%, var(--primary-blue) 100%);
    border-radius: 5px;
    width: 0;
    transition: width 1.5s cubic-bezier(0.1, 0.8, 0.25, 1);
}

/* Slide Specific Animations */
.hero-slide.active .hero-title,
.hero-slide.active .hero-desc,
.hero-slide.active .hero-actions,
.hero-slide.active .hero-badge-wrap {
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-slide.active .hero-graphics {
    animation: fadeInRight 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Slider Controls */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--text-primary);
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition-smooth);
}

[data-theme="dark"] .slider-arrow {
    background: rgba(17, 24, 39, 0.4);
}

.slider-arrow:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: #000000;
}

.prev-arrow {
    left: 30px;
}

.next-arrow {
    right: 30px;
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--border-color);
    cursor: pointer;
    transition: var(--transition-smooth);
}

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


/* --- STATS & VALUES SECTION --- */
.stats-section {
    background-color: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    padding: 60px 0;
    transition: var(--transition-smooth);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.stat-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.stat-icon {
    background-color: var(--accent-light);
    color: var(--accent-color);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

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

.stat-title {
    font-size: 1.3rem;
    margin-bottom: 6px;
}

.stat-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* --- ABOUT TEASER SECTION --- */
.about-teaser {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-teaser-img-wrap {
    position: relative;
}

.teaser-img {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--card-shadow);
}

.teaser-overlay-card {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    box-shadow: var(--card-shadow);
    border-radius: var(--border-radius-md);
    padding: 24px;
    max-width: 250px;
    display: flex;
    align-items: center;
    gap: 16px;
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.teaser-overlay-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--accent-color);
    line-height: 1;
}

.teaser-overlay-text {
    font-size: 0.85rem;
    font-weight: 600;
}

/* --- SERVICES SHOWCASE SECTION --- */
.services-section {
    background-color: var(--bg-tertiary);
    transition: var(--transition-smooth);
}

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

.service-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 40px;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: var(--card-shadow);
    transition: var(--transition-smooth);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] .service-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.service-card-icon {
    color: var(--accent-color);
    margin-bottom: 24px;
    display: inline-block;
}

.service-card-icon svg {
    width: 42px;
    height: 42px;
}

.service-card-title {
    font-size: 1.4rem;
    margin-bottom: 14px;
}

.service-card-desc {
    font-size: 0.95rem;
    margin-bottom: 24px;
    flex-grow: 1;
}

.service-card-link {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.service-card-link svg {
    width: 16px;
    height: 16px;
    transition: var(--transition-smooth);
}

.service-card:hover .service-card-link {
    color: var(--accent-color);
}

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

/* --- TESTIMONIALS SECTION --- */
.testimonials-section {
    background-color: var(--bg-secondary);
    overflow: hidden;
    position: relative;
    transition: var(--transition-smooth);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 40px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition-smooth);
}

.testimonial-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-4px);
}

.testimonial-quote-icon {
    position: absolute;
    top: 30px;
    right: 30px;
    color: var(--border-color);
    opacity: 0.3;
}

.testimonial-text {
    font-size: 1rem;
    font-style: italic;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-blue) 100%);
    color: white;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.testimonial-info h4 {
    font-size: 1rem;
    margin-bottom: 2px;
}

.testimonial-info p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* --- CTA SECTION --- */
.cta-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #061524 100%);
    color: #FFFFFF;
    padding: 80px 0;
    text-align: center;
}

.cta-wrap {
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    color: #FFFFFF;
    margin-bottom: 20px;
}

.cta-desc {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* --- FOOTER --- */
.footer {
    background-color: #060913;
    color: #94A3B8;
    padding: 80px 0 30px 0;
    border-top: 1px solid #1E293B;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo-box {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 20px;
}

.footer-logo-shield-wrap {
    height: 38px;
    width: 70px;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
}

.footer-logo-shield-wrap .footer-logo-img {
    width: 70px;
    height: auto;
    object-fit: contain;
    object-position: top center;
}

.footer-logo-text-wrap {
    height: 28px;
    width: 70px;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
}

.footer-logo-text-wrap .footer-logo-img {
    width: 70px;
    height: auto;
    object-fit: contain;
    object-position: top center;
    filter: brightness(0) invert(1);
    margin-top: -38px;
}



.footer-desc {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.social-link {
    background-color: #1E293B;
    color: #FFFFFF;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.social-link:hover {
    background-color: var(--accent-color);
    color: #000;
}

.footer-title {
    color: #FFFFFF;
    font-size: 1.15rem;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent-color);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-link {
    font-size: 0.9rem;
}

.footer-link:hover {
    color: var(--accent-color);
    padding-left: 6px;
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-contact-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.footer-contact-item svg {
    color: var(--accent-color);
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-contact-text h5 {
    color: #FFFFFF;
    font-size: 0.85rem;
    margin-bottom: 2px;
}

.footer-contact-text p, .footer-contact-text a {
    font-size: 0.9rem;
}

.footer-bottom {
    border-top: 1px solid #1E293B;
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}

/* --- SERVICE DETAIL PAGE TEMPLATE (Sidebar Layout) --- */
.inner-hero {
    --bc-image: url('../images/breadcrumb_bg.png'); /* default fallback */
    background-image: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 250, 252, 0.8) 100%), var(--bc-image);
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    border-bottom: 1px solid var(--border-color);
    text-align: center;
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] .inner-hero {
    background-image: linear-gradient(135deg, rgba(15, 21, 36, 0.9) 0%, rgba(9, 13, 22, 0.8) 100%), var(--bc-image);
}

/* Page-specific Breadcrumb overrides */
.hero-about { --bc-image: url('../images/about_bc.png'); }
.hero-contact { --bc-image: url('../images/contact_bc.png'); }
.hero-services { --bc-image: url('../images/services_bc.png'); }
.hero-blog { --bc-image: url('../images/blog_bc.png'); }
.hero-ai { --bc-image: url('../images/ai_bc.png'); }
.hero-partner { --bc-image: url('../images/services_bc.png'); }
.hero-individual-tax { --bc-image: url('../images/individual_taxation_bc.png'); }
.hero-business-tax { --bc-image: url('../images/business_taxation_bc.png'); }
.hero-tax-resolution { --bc-image: url('../images/tax_resolution_bc.png'); }
.hero-intl-tax { --bc-image: url('../images/international_taxation_bc.png'); }
.hero-fiduciary-tax { --bc-image: url('../images/fiduciary_taxation_bc.png'); }
.hero-ngo-tax { --bc-image: url('../images/ngo_taxation_bc.png'); }
.hero-estate-tax { --bc-image: url('../images/estate_taxation_bc.png'); }
.hero-gift-tax { --bc-image: url('../images/gift_taxation_bc.png'); }

.inner-hero-title {
    font-size: 3rem;
    margin-bottom: 16px;
}

.breadcrumbs {
    display: flex;
    justify-content: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 500;
}

.breadcrumbs-separator {
    color: var(--text-muted);
}

.breadcrumbs-active {
    color: var(--accent-color);
}

.sidebar-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
}

.service-content-article h2 {
    font-size: 2.2rem;
    margin: 30px 0 16px 0;
}

.service-content-article h3 {
    font-size: 1.7rem;
    margin: 24px 0 12px 0;
    color: var(--text-primary);
}

.service-content-article h4 {
    font-size: 1.35rem;
    margin: 20px 0 10px 0;
    color: var(--text-primary);
}

.service-content-article p {
    font-size: 1.05rem;
    margin-bottom: 24px;
}

.service-features-list {
    margin: 30px 0;
    display: grid;
    gap: 16px;
}

.service-feature-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 20px;
    border-radius: var(--border-radius-md);
    transition: var(--transition-smooth);
}

.service-feature-item:hover {
    border-color: var(--accent-color);
    box-shadow: var(--card-shadow);
}

.service-feature-icon {
    color: var(--accent-color);
    flex-shrink: 0;
}

.service-feature-icon svg {
    width: 24px;
    height: 24px;
}

.service-feature-text h4 {
    font-size: 1.15rem;
    margin-bottom: 6px;
}

.service-feature-text p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* Sidebar Widgets */
.sidebar-widgets {
    display: flex;
    flex-direction: column;
    gap: 40px;
    position: sticky;
    top: 100px;
    align-self: start;
}

.widget {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 30px;
    box-shadow: var(--card-shadow);
}

.widget-title {
    font-size: 1.3rem;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent-color);
}

.services-list-widget {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.service-list-item-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    background-color: var(--bg-tertiary);
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
}

.service-list-item-link.active, .service-list-item-link:hover {
    background-color: var(--accent-color);
    color: #000000;
}

.service-list-item-link svg {
    width: 16px;
    height: 16px;
}

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

.contact-widget-item {
    display: flex;
    gap: 16px;
    align-items: center;
}

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

.contact-widget-text h5 {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.contact-widget-text p, .contact-widget-text a {
    font-size: 1rem;
    font-weight: 600;
}

/* --- FAQ ACCORDION --- */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
}

.faq-question {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-primary);
}

.faq-icon-wrap {
    color: var(--accent-color);
    transition: var(--transition-smooth);
}

.faq-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-content {
    padding: 0 24px 24px 24px;
    border-top: 1px solid transparent;
    font-size: 1rem;
    color: var(--text-secondary);
}

.faq-item.open .faq-icon-wrap {
    transform: rotate(180deg);
}

.faq-item.open {
    border-color: var(--accent-color);
}

/* --- CONTACT FORM --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
}

.contact-form-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 40px;
    box-shadow: var(--card-shadow);
}

.contact-form-title {
    font-size: 1.75rem;
    margin-bottom: 30px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group-full {
    grid-column: 1 / -1;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.form-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

.form-control {
    width: 100%;
    padding: 14px 20px;
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--border-color);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px var(--accent-light);
    background-color: var(--bg-secondary);
}

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

.form-message {
    padding: 16px;
    border-radius: var(--border-radius-sm);
    margin-bottom: 24px;
    font-weight: 500;
    display: none;
}

.form-message.success {
    background-color: rgba(16, 185, 129, 0.15);
    color: #10B981;
    border: 1px solid #10B981;
    display: block;
}

.form-message.error {
    background-color: rgba(239, 68, 68, 0.15);
    color: #EF4444;
    border: 1px solid #EF4444;
    display: block;
}

/* --- MODAL (Callback Form) --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

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

.modal-container {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--card-shadow);
    width: 100%;
    max-width: 550px;
    padding: 40px;
    position: relative;
    transform: scale(0.9);
    transition: var(--transition-smooth);
}

.modal-overlay.open .modal-container {
    transform: scale(1);
}



.modal-close-btn {
    position: absolute;
    top: 24px;
    right: 24px;
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: var(--text-primary);
    cursor: pointer;
}

.modal-title {
    font-size: 1.75rem;
    margin-bottom: 12px;
}

.modal-desc {
    font-size: 0.95rem;
    margin-bottom: 30px;
    color: var(--text-muted);
}

/* --- COOKIES BANNER --- */
.cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 24px;
    right: 24px;
    max-width: 500px;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    padding: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transform: translateY(150px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cookie-banner.show {
    transform: translateY(0);
    opacity: 1;
}

.cookie-text {
    font-size: 0.9rem;
    line-height: 1.5;
}

.cookie-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 1024px) {
    .topbar {
        display: none !important;
    }

    .nav-menu {
        display: none;
    }
    
    .mobile-nav-toggle {
        display: block;
    }

    .hero-slider-container {
        min-height: auto;
    }
    
    .hero-slide {
        padding: 100px 0 80px 0;
        position: absolute;
        height: auto !important;
    }
    
    .hero-slide.active {
        position: relative;
        height: auto !important;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-badge-wrap {
        justify-content: center;
    }
    
    .about-teaser {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .sidebar-layout {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .workflow-steps-grid.cols-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }
    
    .hero-slide {
        padding: 80px 0 60px 0;
    }
    
    .slider-arrow {
        display: none;
    }
    
    .slider-dots {
        bottom: 15px;
    }

    .section-padding {
        padding: 70px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .workflow-steps-grid {
        grid-template-columns: 1fr !important;
    }
    .workflow-steps-grid.cols-3 {
        grid-template-columns: 1fr !important;
    }
    .responsive-img-container {
        height: 250px !important;
    }
    .glass-card {
        padding: 24px !important;
    }
    .inner-hero-title {
        font-size: 2.2rem !important;
    }
    .cta-title {
        font-size: 1.8rem !important;
    }
    .cta-section {
        padding: 70px 0 !important;
    }
}

@media (max-width: 576px) {
    .form-row-grid {
        grid-template-columns: 1fr !important;
        gap: 0;
    }
    .header-actions .open-callback-modal {
        display: none !important;
    }
    .cookie-banner {
        left: 12px;
        right: 12px;
        bottom: 12px;
        padding: 16px;
    }
}

@media (min-width: 992px) {
    .d-lg-flex {
        display: flex !important;
    }
}

