/* Modern Website Styles for In2Excel Solutions */

/* Ensure content is always visible */
html, body {
    width: 100% !important;
    overflow-x: hidden !important;
}

/* Logo styles */
.navbar-brand {
    padding: 5px 0;
    margin: 0;
    height: auto;
}

.nav-logo {
    height: 40px;
    width: auto;
    max-width: 180px;
    transition: all 0.3s ease;
}

/* Ensure logo is visible on mobile */
@media (max-width: 991.98px) {
    .navbar-brand {
        padding: 5px 0;
    }
    
    .nav-logo {
        height: 35px;
        max-width: 150px;
    }
}

/* Adjust navbar height for better mobile display */
.navbar {
    min-height: 70px;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-toggler {
    padding: 0.5rem 0.75rem;
    font-size: 1.25rem;
    line-height: 1;
    background-color: transparent;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 0.25rem;
    z-index: 1050;
    position: relative;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(99, 102, 241, 0.25);
}

.navbar-toggler:not(.collapsed) {
    border-color: var(--primary-color);
}

/* Ensure dropdown menus work properly */
.dropdown-menu {
    border: none;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border-radius: 0.5rem;
    z-index: 1060;
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: white;
        border-radius: 0.5rem;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
        margin-top: 0.5rem;
        padding: 1rem;
    }
    
    .dropdown-menu {
        position: static !important;
        transform: none !important;
        box-shadow: none;
        border: 1px solid rgba(0, 0, 0, 0.1);
        margin-top: 0.5rem;
    }
}

/* Force visibility of all elements with AOS */
[data-aos] {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

/* CSS Variables */
:root {
    --primary-color: #6366f1;
    --secondary-color: #8b5cf6;
    --accent-color: #06b6d4;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --dark-color: #1e293b;
    --light-color: #f8fafc;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-muted: #94a3b8;
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --border-color: #e2e8f0;
    --border-radius: 0.75rem;
    --border-radius-lg: 1rem;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* General List Styling */
ul, ol {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 400;
    color: var(--text-primary);
    line-height: 1.6;
}

li {
    font-family: inherit;
    font-weight: inherit;
    color: inherit;
    line-height: inherit;
    margin-bottom: 0.5rem;
}

/* Ensure proper font inheritance for all list items */
.service-desc ul li,
.service-desc ol li,
ul li,
ol li {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 400;
    color: var(--text-primary);
    font-size: 1rem;
    line-height: 1.6;
}

/* Themed feature list for inner pages */
.feature-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}
.feature-list li {
    position: relative;
    padding: 12px 15px 12px 42px;
    margin-bottom: 10px;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: var(--border-radius);
    background: #fff;
    font-size: 0.95rem;
    line-height: 1.5;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 400;
    color: var(--text-primary);
}
.feature-list li::before {
    content: "";
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    box-shadow: 0 0 0 3px rgba(99,102,241,0.15);
}

@media (max-width: 767px) {
    /* Ensure body takes full width and prevents horizontal scroll */
    body {
        position: relative;
        width: 100%;
        overflow-x: hidden;
    }
    
    .container {
        padding-left: 15px;
        padding-right: 15px;
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
    }
    
    .heading-about .section-heading h2 {
        font-size: 1.75rem;
        line-height: 1.3;
    }
    
    .service-box {
        margin-bottom: 20px;
    }
    
    .cta-banner {
        padding: 20px 15px;
    }
    
    .cta-banner h3 {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }
    
    .btn-lg {
        padding: 0.5rem 1rem;
        font-size: 1rem;
    }
}

@media (min-width: 768px) {
    .feature-list { 
        grid-template-columns: 1fr 1fr; 
    }
    
    .container {
        max-width: 1140px;
    }
}

/* Themed numbered list */
.numbered-list {
    counter-reset: num;
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}
.numbered-list li {
    position: relative;
    padding: 15px 15px 15px 50px;
    margin-bottom: 12px;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: var(--border-radius);
    background: #fff;
    font-size: 0.95rem;
    line-height: 1.5;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 400;
    color: var(--text-primary);
}
.numbered-list li::before {
    counter-increment: num;
    content: counter(num);
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

/* Full-width image helper for cards */
.full-width-image {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
}

/* CTA banner used on inner pages */
.cta-banner {
    background: linear-gradient(135deg, rgba(99,102,241,0.08), rgba(139,92,246,0.08));
    border: 1px solid rgba(99,102,241,0.2);
    border-radius: var(--border-radius-lg);
    padding: 1.25rem 1.5rem;
    box-shadow: var(--shadow-sm);
}
.cta-banner h3 { margin: 0 0 0.25rem 0; color: var(--text-primary); }
.cta-banner p { margin: 0; color: var(--text-secondary); }

/* Platform badges for OTT messaging page */
.platform-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
}

.platform-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: var(--border-radius);
    background: #fff;
    transition: var(--transition);
    min-width: 120px;
}

.platform-badge:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.platform-badge i {
    font-size: 2rem;
    color: var(--primary-color);
}

.platform-badge span {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.9rem;
}

/* Chat mockup visual for OTT messaging */
.messaging-visual {
    max-width: 320px;
    margin: 0 auto;
}

.chat-mockup {
    background: #fff;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.1);
}

.chat-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.chat-messages {
    padding: 1rem;
    background: #f8f9fa;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.message {
    max-width: 80%;
    padding: 0.75rem 1rem;
    border-radius: 1rem;
    font-size: 0.9rem;
    line-height: 1.4;
}

.bot-message {
    align-self: flex-start;
    background: #e3f2fd;
    color: var(--text-primary);
    border-bottom-left-radius: 0.25rem;
}

.user-message {
    align-self: flex-end;
    background: var(--primary-color);
    color: white;
    border-bottom-right-radius: 0.25rem;
}

.message span {
    display: block;
}

/* Icon wrapper for consistent icon styling */
.icon-wrapper {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    transition: var(--transition);
}

.icon-wrapper i {
    font-size: 1.5rem;
    color: white;
}

.service-box:hover .icon-wrapper {
    transform: scale(1.1);
}

/* Ensure equal height cards */
.h-100 .service-desc {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.h-100 .service-desc p {
    flex-grow: 1;
}

/* Benefit items styling */
.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    border-radius: var(--border-radius);
    background: rgba(99,102,241,0.05);
    border: 1px solid rgba(99,102,241,0.1);
    transition: var(--transition);
}

.benefit-item:hover {
    background: rgba(99,102,241,0.08);
    transform: translateY(-2px);
}

.benefit-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.benefit-icon i {
    font-size: 1rem;
    color: white;
}

.benefit-content h5 {
    margin: 0 0 0.25rem 0;
    font-weight: 600;
    color: var(--text-primary);
}

.benefit-content p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* --- Compatibility styles for legacy inner pages --- */
/* Sections */
.home-section {
    padding: 4rem 0;
}

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

.heading-about {
    background: radial-gradient(1000px 400px at 20% -10%, rgba(99,102,241,0.25), rgba(99,102,241,0) 60%),
                radial-gradient(1000px 400px at 80% 110%, rgba(139,92,246,0.25), rgba(139,92,246,0) 60%),
                linear-gradient(135deg, rgba(99,102,241,0.08), rgba(139,92,246,0.08));
    padding: 3.5rem 0;
    margin-bottom: 2.5rem;
}

.heading-about .section-heading {
    text-align: center;
}

.heading-about h2 {
    font-size: clamp(1.75rem, 3.2vw, 2.25rem);
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.heading-about i.fa-angle-down {
    color: var(--primary-color);
}

.service-box {
    background: #fff;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0,0,0,0.05);
}

.service-desc {
    padding: 2rem;
}

.service-desc h2, .service-desc h1, h2, h3, h4, h5, h6 {
    color: var(--text-primary);
}

/* --- Mobile Navbar and Hero fixes --- */

/* Utility */
.how-img img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

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

.footer-links-list li {
    margin-bottom: 0.5rem;
    color: rgba(255,255,255,0.8);
}

.footer-links-list a { color: rgba(255,255,255,0.9); text-decoration: none; }
.footer-links-list a:hover { color: var(--primary-color); text-decoration: none; }

/* CTA helpers for legacy links auto-styled via JS */
.btn-cta {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff !important;
    border: none;
    border-radius: var(--border-radius);
    padding: 0.625rem 1.25rem;
    font-weight: 600;
    transition: var(--transition);
    text-decoration: none !important;
}

.btn-cta:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }

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

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

/* --- Demo Request Modal --- */
.demo-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1050;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
}

.demo-modal.show { display: block; }

.demo-dialog {
    background: #fff;
    margin: 8% auto;
    padding: 24px;
    width: 92%;
    max-width: 480px;
    border-radius: 12px;
    box-shadow: var(--shadow-xl);
    position: relative;
    animation: fadeIn 0.25s ease-in-out;
}

.demo-close {
    position: absolute;
    top: 10px;
    right: 12px;
    background: transparent;
    border: none;
    font-size: 28px;
    font-weight: 700;
    color: #8a8a8a;
    cursor: pointer;
    line-height: 1;
}

.demo-close:hover { color: #333; }

.demo-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 10px;
}

.demo-form .form-group label {
    font-weight: 600;
    margin-bottom: 6px;
    display: block;
}

.demo-form input[type="text"],
.demo-form input[type="email"] {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.demo-form input[type="text"]:focus,
.demo-form input[type="email"]:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(99,102,241,0.15);
}

.demo-response { margin-top: 12px; font-weight: 600; }

@keyframes fadeIn { from { opacity: 0; transform: scale(0.98); } to { opacity: 1; transform: scale(1); } }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--white);
    overflow-x: hidden;
    padding-top: 64px; /* prevent fixed navbar overlap on mobile */
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #FFFFFF ;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--primary-color);
}

/* Navigation */
.modern-nav {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    padding: 1rem 0;
}

.modern-nav.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
    padding: 0.5rem 0;
}

.nav-logo {
    height: 50px;
    width: auto;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--text-primary) !important;
    padding: 0.75rem 1rem !important;
    margin: 0 0.25rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
    position: relative;
}

.navbar-nav .nav-link:hover {
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary-color) !important;
}

.navbar-nav .nav-link.active {
    background: var(--primary-color) !important;
    color: white !important;
    font-weight: 600;
}

.navbar-nav .nav-link.active:hover {
    background: var(--primary-color) !important;
    color: white !important;
}

/* Dropdown specific styles */
.navbar-nav .dropdown-toggle.active {
    background: var(--primary-color) !important;
    color: white !important;
}

.navbar-nav .dropdown-toggle.active::after {
    border-top-color: white;
}

/* Dropdown menu styles */
.dropdown-menu {
    border: none;
    box-shadow: var(--shadow-lg);
    border-radius: var(--border-radius);
    padding: 0.5rem 0;
    margin-top: 0.5rem;
}

.dropdown-item {
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    color: var(--text-primary);
    transition: var(--transition);
}

.dropdown-item:hover {
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary-color);
}

.dropdown-item:focus {
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary-color);
}

/* Ensure dropdown stays open when hovering */
.nav-item.dropdown:hover .dropdown-menu {
    display: block;
}

/* Fix dropdown arrow color when active */
.navbar-nav .dropdown-toggle::after {
    transition: var(--transition);
}

.cta-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)) !important;
    color: white !important;
    border-radius: var(--border-radius) !important;
    padding: 0.75rem 1.5rem !important;
    font-weight: 600 !important;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Enhanced Hero Particles */
.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.particle-1 { top: 20%; left: 10%; animation-delay: 0s; }
.particle-2 { top: 60%; left: 20%; animation-delay: 1s; }
.particle-3 { top: 40%; left: 80%; animation-delay: 2s; }
.particle-4 { top: 80%; left: 70%; animation-delay: 3s; }
.particle-5 { top: 30%; left: 60%; animation-delay: 4s; }
.particle-6 { top: 70%; left: 40%; animation-delay: 5s; }

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); opacity: 0.3; }
    50% { transform: translateY(-20px) rotate(180deg); opacity: 0.8; }
}

/* Additional Hero Shapes */
.shape-4 {
    position: absolute;
    top: 10%;
    right: 15%;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: pulse 4s ease-in-out infinite;
}

.shape-5 {
    position: absolute;
    bottom: 20%;
    left: 10%;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 30%;
    animation: rotate 8s linear infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.1; }
    50% { transform: scale(1.2); opacity: 0.3; }
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 0.5rem 1rem;
    color: white;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.hero-badge i {
    color: #ffd700;
}

/* Enhanced Hero Title */
.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: white;
    margin-bottom: 1.5rem;
}

.text-gradient {
    background: linear-gradient(135deg, #ffd700, #ff6b6b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Enhanced Hero Subtitle */
.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.hero-subtitle .highlight {
    color: #ffd700;
    font-weight: 600;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.stat-item {
    text-align: center;
    min-width: 80px;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #ffd700;
    line-height: 1.2;
    font-family: 'Arial', 'Helvetica', sans-serif;
    display: block;
    white-space: nowrap;
    overflow: visible;
    text-overflow: clip;
    min-width: fit-content;
    opacity: 1 !important;
    visibility: visible !important;
    font-feature-settings: normal;
    font-variant-numeric: normal;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Ensure percentage symbol displays correctly */
.stat-number::after {
    content: '';
    display: inline;
}



/* Force percentage symbol visibility */
.stat-number[data-percent="true"]::after {
    content: '%';
    font-family: 'Arial', sans-serif;
    font-weight: 700;
}


.stat-percent {
    font-size: 2rem;
    font-weight: 700;
    color: #ffd700;
    line-height: 1.2;
    font-family: 'Arial', 'Helvetica', sans-serif;
    display: block;
    white-space: nowrap;
    overflow: visible;
    text-overflow: clip;
    min-width: fit-content;
    opacity: 1 !important;
    visibility: visible !important;
    font-feature-settings: normal;
    font-variant-numeric: normal;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.stat-percent::after {
    content: '';
    display: inline;
}

.stat-percent[data-percent="true"]::after {
    content: '%';
    font-family: 'Arial', sans-serif;
    font-weight: 700;
}

.stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 0.25rem;
}

/* Hero CTA Buttons */
.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.btn-primary-hero {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #ff6b6b, #ffd700);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.btn-primary-hero:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
    color: white;
    text-decoration: none;
}

.btn-secondary-hero {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-secondary-hero:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    color: white;
    text-decoration: none;
}

/* Hero Trust Section */
.hero-trust {
    margin-top: 1rem;
}

.trust-text {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.75rem;
}

.trust-badges {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.trust-badge {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

/* Hero Visual Container */
.hero-visual-container {
    position: relative;
    height: 100%;
}

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

/* Enhanced Glass Panel */
.glass-panel-enhanced {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

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

.dot-red { background: #ff5f56; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #27ca3f; }

.panel-title {
    color: white;
    font-weight: 600;
    font-size: 1rem;
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.sms-icon { background: linear-gradient(135deg, #667eea, #764ba2); color: white; }
.ussd-icon { background: linear-gradient(135deg, #f093fb, #f5576c); color: white; }
.vas-icon { background: linear-gradient(135deg, #4facfe, #00f2fe); color: white; }
.api-icon { background: linear-gradient(135deg, #43e97b, #38f9d7); color: white; }

.feature-info h4 {
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
    margin: 0;
}

.feature-info p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75rem;
    margin: 0;
}

.feature-status {
    margin-left: auto;
    color: #27ca3f;
    font-size: 1rem;
}

/* Performance Indicator */
.performance-indicator {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1rem;
}

.performance-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.performance-bar {
    background: rgba(255, 255, 255, 0.1);
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.performance-fill {
    background: linear-gradient(90deg, #27ca3f, #43e97b);
    height: 100%;
    width: 99.9%;
    border-radius: 4px;
    animation: fillBar 2s ease-out;
}

@keyframes fillBar {
    from { width: 0%; }
    to { width: 99.9%; }
}

.performance-value {
    color: #27ca3f;
    font-size: 0.875rem;
    font-weight: 600;
    text-align: right;
}

/* Floating Elements */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 0.75rem 1rem;
    color: white;
    font-size: 0.875rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    animation: floatCard 6s ease-in-out infinite;
}

.card-1 {
    top: -10%;
    right: 20%;
    animation-delay: 0s;
}

.card-2 {
    bottom: 10%;
    right: -10%;
    animation-delay: 2s;
}

.card-3 {
    top: 50%;
    left: -15%;
    animation-delay: 4s;
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(2deg); }
}

/* Enhanced Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.scroll-down {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.scroll-down:hover {
    color: white;
    transform: translateY(-2px);
    text-decoration: none;
}

.scroll-down i {
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

.scroll-down span {
    font-size: 0.875rem;
    font-weight: 500;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* Responsive Hero Styles */
@media (max-width: 991px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        gap: 1rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .btn-primary-hero,
    .btn-secondary-hero {
        width: 100%;
        justify-content: center;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .floating-card {
        display: none;
    }
    
    .trust-badges {
        justify-content: flex-start;
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .stat-item {
        display: flex;
        align-items: center;
        justify-content: space-between;
        background: rgba(255, 255, 255, 0.1);
        padding: 0.75rem 1rem;
        border-radius: 12px;
    }
    
    .glass-panel-enhanced {
        padding: 1.5rem;
    }
    
    .panel-header {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .hero-particles {
        display: none;
    }
}

/* Enhanced Hero Section */
.hero-section {
    min-height: 90vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

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

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.25rem);
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 700px;
}

.hero-buttons {
    margin-bottom: 3rem;
}

/* Hero Image */
.hero-image {
    position: relative;
    height: clamp(300px, 42vh, 520px);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* New hero visual: centered glass panel with chips */
.hero-visual {
    position: relative;
    width: 100%;
    max-width: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.glass-panel {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: var(--border-radius-lg);
    padding: 1.25rem;
    box-shadow: var(--shadow-lg);
    width: 100%;
}

.feature-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 0.75rem;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.5rem 0.75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    font-weight: 600;
}

.chip i { color: #fff; }

.mini-note {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    opacity: 0.9;
    font-weight: 600;
    justify-content: center;
}

@media (min-width: 768px) {
    .hero-section {
        min-height: 100vh;
    }
    .hero-image {
        height: clamp(400px, 50vh, 600px);
    }
    .hero-subtitle {
        max-width: 800px;
    }
    .hero-buttons {
        margin-bottom: 4rem;
    }
}
.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius-lg);
    padding: 1.5rem;
    color: white;
    text-align: center;
    animation: float 4s ease-in-out infinite;
    transition: var(--transition);
}

.floating-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.2);
}

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

.card-2 {
    top: 20%;
    right: 10%;
    animation-delay: 1s;
}

.card-3 {
    bottom: 20%;
    left: 20%;
    animation-delay: 2s;
}

.card-4 {
    bottom: 10%;
    right: 20%;
    animation-delay: 3s;
}

.floating-card i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: block;
}

.floating-card span {
    font-weight: 600;
    font-size: 0.9rem;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-down {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: var(--transition);
    animation: bounce 2s infinite;
}

.scroll-down:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* Sections */
.services-section {
    background: var(--light-color);
    position: relative;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Products Section */
.products-section {
    background: var(--white);
}

/* Product Cards */
.product-card {
    background: #ebe6f5;
    border-radius: var(--border-radius-lg);
    padding: 1rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

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

.product-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    overflow: hidden;
}

.product-icon img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.product-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.product-card p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.product-features {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1.25rem;
}

.product-features li {
    padding: 0.4rem 0 0.4rem 1.25rem;
    position: relative;
    color: var(--text-secondary);
}

.product-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.75rem;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--success-color);
}

.product-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.product-link:hover {
    color: var(--secondary-color);
    text-decoration: none;
}

.product-link i {
    margin-left: 0.4rem;
    transition: var(--transition);
}

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

/* Service Cards */
.service-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

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

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

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

.service-icon i {
    font-size: 2rem;
    color: white;
}

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

.service-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

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

.service-features li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.5rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

.service-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.service-link:hover {
    color: var(--secondary-color);
    text-decoration: none;
}

.service-link i {
    margin-left: 0.5rem;
    transition: var(--transition);
}

.service-link:hover i {
    transform: translateX(5px);
}

/* Contact Section */
.contact-section {
    background: var(--dark-color);
    color: white;
}

.contact-form-container {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
}

.contact-form .form-label {
    color: white;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.contact-form .form-control {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius);
    color: white;
    padding: 0.75rem 1rem;
    transition: var(--transition);
}

.contact-form .form-control:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
    color: white;
}

.contact-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-logo {
    height: 60px;
    margin-bottom: 1rem;
}

.footer-title {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.footer-text {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

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

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

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.contact-info {
    margin-top: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

.contact-item i {
    margin-right: 1rem;
    color: var(--primary-color);
    width: 20px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 2rem;
    padding-top: 2rem;
}

.copyright {
    margin: 0;
}

/* Responsive Design */
@media (min-width: 992px) {
    body { padding-top: 84px; }
    .hero-image { height: 520px; margin-top: 1rem; }
    .service-card {
        margin-bottom: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .hero-buttons {
        text-align: center;
    }
    
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
}

/* Hero space utilization tweaks */
.hero-section .row.min-vh-100 { min-height: 80vh; }

@media (max-width: 991.98px) {
    .hero-section { padding: 3rem 0; min-height: unset; }
    .hero-section .row.min-vh-100 { min-height: unset; }
    .hero-image { height: clamp(260px, 38vh, 420px); margin-top: 1rem; }
    .floating-card { padding: 1.1rem; }
    .shape-1 { width: 140px; height: 140px; }
    .shape-2 { width: 110px; height: 110px; }
    .shape-3 { width: 80px; height: 80px; }
}
