/* ===== CSS RESET & BASE STYLES ===== */

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

:root {
    /* UPDATED: LIGHT GREEN + LIGHT BLUE GRADIENT THEME */
    --primary-green: #4CAF50;          /* Light Green - Main brand color */
    --green-light: #81C784;            /* Lighter green */
    --green-dark: #388E3C;             /* Darker green */

    /* Light Blue Accent Colors */
    --primary-blue: #64B5F6;           /* Light Blue */
    --blue-light: #90CAF9;             /* Lighter blue */
    --blue-dark: #42A5F5;              /* Medium blue */

    /* Clean Theme - Updated for green-blue gradient */
    --studio-dark: #0f172a;
    --studio-blue: #64B5F6;            /* Light Blue */
    --studio-teal: #4DB6AC;            /* Teal accent */
    --studio-glow: #80DEEA;            /* Light cyan glow */
    --studio-light: #f0fdf4;           /* Very light green tint */
    
    /* Neutral Colors */
    --white: #ffffff;
    --light-bg: #f8fafc;
    --light-gray: #e2e8f0;
    --medium-gray: #94a3b8;
    --dark-gray: #475569;
    --dark-bg: #0f172a;
    --black: #0f172a;
    
    /* Accent Colors */
    --accent-orange: #f97316;
    --accent-amber: #f59e0b;
    
    /* Fonts */
    --font-primary: 'Inter', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 0.75rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-xxl: 3rem;
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-green: 0 4px 20px rgba(76, 175, 80, 0.3);      /* Updated for light green */
    --shadow-blue: 0 4px 20px rgba(37, 99, 235, 0.3);
    --shadow-teal: 0 4px 20px rgba(42, 157, 143, 0.3);
    
    /* Gradients - UPDATED with light green */
    --gradient-button: linear-gradient(135deg, 
        var(--primary-green) 0%, 
        var(--green-light) 100%);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-primary);
    background-color: var(--white);
    color: var(--black);
    line-height: 1.5;
    overflow-x: hidden;
    font-size: 13px;
    background: var(--studio-light);
}

/* ===== CONTAINER ===== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: var(--spacing-sm);
}

/* UPDATED: Uniform font sizes across all pages */
h1 { 
    font-size: 2rem !important; 
    font-weight: 700; 
}

h2 { 
    font-size: 1.75rem !important; 
}

h3 { 
    font-size: 1.5rem !important; 
}

h4 { 
    font-size: 1.25rem !important; 
}

p {
    margin-bottom: var(--spacing-md);
    color: var(--dark-gray);
    font-size: 0.9rem;
    line-height: 1.6;
}

.highlight {
    color: var(--primary-green);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-medium);
    border: none;
    gap: 0.5rem;
    white-space: nowrap;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 0.95rem;
}

.btn-xl {
    padding: 1.25rem 2.5rem;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient-button);
    color: var(--white);
    box-shadow: var(--shadow-green);
}

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

.btn-outline {
    background-color: transparent;
    color: var(--studio-blue);
    border: 2px solid var(--light-gray);
}

.btn-outline:hover {
    border-color: var(--studio-blue);
    background-color: rgba(37, 99, 235, 0.05);
    transform: translateY(-2px);
}

/* ===== HEADER & NAVIGATION ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid var(--light-gray);
    transition: var(--transition-medium);
}

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

/* Desktop Navigation */
.nav-desktop {
    display: block;
}

.nav-desktop .nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-desktop .nav-menu li {
    position: relative;
}

.nav-desktop .nav-menu a {
    color: var(--dark-gray);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-fast);
    padding: 0.5rem 0;
    position: relative;
    font-size: 0.95rem;
    white-space: nowrap;
}

.nav-desktop .nav-menu a:hover,
.nav-desktop .nav-menu a.active {
    color: var(--studio-blue);
}

.nav-desktop .nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-button);
    transition: var(--transition-medium);
}

.nav-desktop .nav-menu a:hover::after,
.nav-desktop .nav-menu a.active::after {
    width: 100%;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    min-width: fit-content;
}

/* ===== DROPDOWN STYLES - UNIFIED ===== */
/* Dropdown container */
.nav-dropdown {
    position: relative;
}

/* Dropdown toggle link */
.nav-dropdown > a {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    position: relative;
    transition: var(--transition-fast);
}

/* Dropdown arrow icon */
.dropdown-arrow-icon {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
    margin-left: 5px;
}

.nav-dropdown:hover .dropdown-arrow-icon {
    transform: rotate(180deg);
}

/* DROPDOWN MENU - BASE STYLES */
.dropdown-menu {
    position: absolute !important;
    top: calc(100% + 15px) !important;
    left: 50% !important;
    transform: translateX(-50%) translateY(10px) !important;
    background: #ffffff !important;
    border-radius: var(--radius-lg) !important;
    padding: 30px !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: all 0.3s ease !important;
    border: 1px solid var(--light-gray) !important;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.15),
        0 8px 24px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(0, 0, 0, 0.05) !important;
    z-index: 1001 !important;
    display: grid !important;
}

/* Show dropdown on hover */
.nav-dropdown:hover .dropdown-menu {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateX(-50%) translateY(5px) !important;
}

/* Dropdown sections */
.dropdown-section {
    margin-bottom: 0 !important;
}

/* Section headers - DARK TEXT */
.dropdown-section h4 {
    color: #1e293b !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    margin-bottom: 20px !important;
    padding-bottom: 12px !important;
    border-bottom: 1px solid var(--light-gray) !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

.dropdown-section h4 i {
    color: var(--primary-green) !important;
    font-size: 1rem !important;
    width: 20px !important;
}

.dropdown-links {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
}

/* Dropdown links - DARK TEXT BY DEFAULT */
.dropdown-link {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 14px 16px !important;
    color: #334155 !important;
    text-decoration: none !important;
    transition: all 0.25s ease !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    border-radius: var(--radius-md) !important;
    border: 1px solid transparent !important;
    background: transparent !important;
    white-space: nowrap !important;
}

/* Hover state - GREEN TEXT WITH LIGHT BACKGROUND */
.dropdown-link:hover {
    background: linear-gradient(90deg, 
        rgba(76, 175, 80, 0.08) 0%, 
        rgba(102, 187, 106, 0.04) 100%) !important;
    color: var(--primary-green) !important;
    border-color: rgba(76, 175, 80, 0.2) !important;
    transform: translateX(5px) !important;
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.1) !important;
}

/* Icons in dropdown links */
.dropdown-link i {
    color: var(--primary-green) !important;
    font-size: 1rem !important;
    width: 20px !important;
    text-align: center !important;
    transition: all 0.25s ease !important;
}

.dropdown-link:hover i {
    transform: scale(1.1) !important;
}

/* ===== UNIVERSAL DROPDOWN STYLING - WORKS FOR ALL HTML FILES ===== */

/* SOLUTIONS DROPDOWN - Works for any solutions.html link */
.nav-dropdown a[href*="solutions.html"] + .dropdown-menu {
    min-width: 500px !important;
    max-width: 500px !important;
    width: 500px !important;
    grid-template-columns: 1fr !important;
    padding: 0 !important;
}

/* Make the single section take full width */
.nav-dropdown a[href*="solutions.html"] + .dropdown-menu .dropdown-section:first-child {
    width: 100% !important;
    padding: 0 !important;
}

/* Section header - full width */
.nav-dropdown a[href*="solutions.html"] + .dropdown-menu .dropdown-section h4 {
    width: 100% !important;
    padding: 20px 25px 15px !important;
    margin: 0 !important;
    border-bottom: 1px solid var(--light-gray) !important;
    background: var(--light-bg) !important;
    color: var(--studio-dark) !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
}

/* Grid layout for links - COMPACT 2-COLUMN */
.nav-dropdown a[href*="solutions.html"] + .dropdown-menu .dropdown-links {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
    padding: 15px !important;
    width: 100% !important;
}

/* Compact dropdown links */
.nav-dropdown a[href*="solutions.html"] + .dropdown-menu .dropdown-link {
    padding: 10px 12px !important;
    border-radius: var(--radius-md) !important;
    border: 1px solid var(--light-gray) !important;
    background: var(--white) !important;
    transition: all 0.2s ease !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    min-height: 50px !important;
    margin: 0 !important;
    width: 100% !important;
}

.nav-dropdown a[href*="solutions.html"] + .dropdown-menu .dropdown-link:hover {
    background: rgba(76, 175, 80, 0.05) !important;
    border-color: var(--primary-green) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.1) !important;
}

.nav-dropdown a[href*="solutions.html"] + .dropdown-menu .dropdown-link i {
    font-size: 1rem !important;
    color: var(--primary-green) !important;
    width: 20px !important;
    text-align: center !important;
    flex-shrink: 0 !important;
}

.nav-dropdown a[href*="solutions.html"] + .dropdown-menu .dropdown-link span {
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    color: var(--studio-dark) !important;
    line-height: 1.3 !important;
    white-space: normal !important;
    text-align: left !important;
    flex-grow: 1 !important;
}

/* ===== PRODUCTS DROPDOWN - Matches Solutions dropdown styling ===== */
.nav-dropdown a[href*="products.html"] + .dropdown-menu {
    min-width: 500px !important;
    max-width: 500px !important;
    width: 500px !important;
    grid-template-columns: 1fr !important;
    padding: 0 !important;
}

/* Make the single section take full width */
.nav-dropdown a[href*="products.html"] + .dropdown-menu .dropdown-section:first-child {
    width: 100% !important;
    padding: 0 !important;
}

/* Section header - full width */
.nav-dropdown a[href*="products.html"] + .dropdown-menu .dropdown-section h4 {
    width: 100% !important;
    padding: 20px 25px 15px !important;
    margin: 0 !important;
    border-bottom: 1px solid var(--light-gray) !important;
    background: var(--light-bg) !important;
    color: var(--studio-dark) !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
}

/* Grid layout for links - COMPACT 2-COLUMN */
.nav-dropdown a[href*="products.html"] + .dropdown-menu .dropdown-links {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
    padding: 15px !important;
    width: 100% !important;
}

/* Compact dropdown links */
.nav-dropdown a[href*="products.html"] + .dropdown-menu .dropdown-link {
    padding: 10px 12px !important;
    border-radius: var(--radius-md) !important;
    border: 1px solid var(--light-gray) !important;
    background: var(--white) !important;
    transition: all 0.2s ease !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    min-height: 50px !important;
    margin: 0 !important;
    width: 100% !important;
}

.nav-dropdown a[href*="products.html"] + .dropdown-menu .dropdown-link:hover {
    background: rgba(76, 175, 80, 0.05) !important;
    border-color: var(--primary-green) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.1) !important;
}

.nav-dropdown a[href*="products.html"] + .dropdown-menu .dropdown-link i {
    font-size: 1rem !important;
    color: var(--primary-green) !important;
    width: 20px !important;
    text-align: center !important;
    flex-shrink: 0 !important;
}

.nav-dropdown a[href*="products.html"] + .dropdown-menu .dropdown-link span {
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    color: var(--studio-dark) !important;
    line-height: 1.3 !important;
    white-space: normal !important;
    text-align: left !important;
    flex-grow: 1 !important;
}

/* ===== RESOURCES DROPDOWN - Matches Solutions/Products (rows and columns) ===== */
/* Use class so it works on root resources.html AND resources/*.html (href="index.html") */
.nav-dropdown a[href*="resources/"] + .dropdown-menu,
.nav-dropdown .dropdown-menu-resources {
    min-width: 500px !important;
    max-width: 500px !important;
    width: 500px !important;
    grid-template-columns: 1fr !important;
    padding: 0 !important;
}

.nav-dropdown a[href*="resources/"] + .dropdown-menu .dropdown-section:first-child,
.nav-dropdown .dropdown-menu-resources .dropdown-section:first-child {
    width: 100% !important;
    padding: 0 !important;
}

.nav-dropdown a[href*="resources/"] + .dropdown-menu .dropdown-section h4,
.nav-dropdown .dropdown-menu-resources .dropdown-section h4 {
    width: 100% !important;
    padding: 20px 25px 15px !important;
    margin: 0 !important;
    border-bottom: 1px solid var(--light-gray) !important;
    background: var(--light-bg) !important;
    color: var(--studio-dark) !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
}

.nav-dropdown a[href*="resources/"] + .dropdown-menu .dropdown-links,
.nav-dropdown .dropdown-menu-resources .dropdown-links {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
    padding: 15px !important;
    width: 100% !important;
}

.nav-dropdown a[href*="resources/"] + .dropdown-menu .dropdown-link,
.nav-dropdown .dropdown-menu-resources .dropdown-link {
    padding: 10px 12px !important;
    border-radius: var(--radius-md) !important;
    border: 1px solid var(--light-gray) !important;
    background: var(--white) !important;
    transition: all 0.2s ease !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    min-height: 50px !important;
    margin: 0 !important;
    width: 100% !important;
}

.nav-dropdown a[href*="resources/"] + .dropdown-menu .dropdown-link:hover,
.nav-dropdown .dropdown-menu-resources .dropdown-link:hover {
    background: rgba(76, 175, 80, 0.05) !important;
    border-color: var(--primary-green) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.1) !important;
}

.nav-dropdown a[href*="resources/"] + .dropdown-menu .dropdown-link i,
.nav-dropdown .dropdown-menu-resources .dropdown-link i {
    font-size: 1rem !important;
    color: var(--primary-green) !important;
    width: 20px !important;
    text-align: center !important;
    flex-shrink: 0 !important;
}

.nav-dropdown a[href*="resources/"] + .dropdown-menu .dropdown-link span,
.nav-dropdown .dropdown-menu-resources .dropdown-link span {
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    color: var(--studio-dark) !important;
    line-height: 1.3 !important;
    white-space: normal !important;
    text-align: left !important;
    flex-grow: 1 !important;
}

/* ===== COMPANY DROPDOWN STYLING ===== */
.nav-dropdown a[href*="company.html"] + .dropdown-menu {
    min-width: 280px !important;
    max-width: 280px !important;
    width: 280px !important;
    grid-template-columns: 1fr !important;
    padding: 0 !important;
}

.nav-dropdown a[href*="company.html"] + .dropdown-menu .dropdown-section {
    width: 100% !important;
    padding: 0 !important;
}

.nav-dropdown a[href*="company.html"] + .dropdown-menu .dropdown-section h4 {
    width: 100% !important;
    padding: 15px 20px 12px !important;
    margin: 0 !important;
    border-bottom: 1px solid var(--light-gray) !important;
    background: var(--light-bg) !important;
    color: var(--studio-dark) !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
}

.nav-dropdown a[href*="company.html"] + .dropdown-menu .dropdown-links {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    padding: 10px !important;
    width: 100% !important;
}

.nav-dropdown a[href*="company.html"] + .dropdown-menu .dropdown-link {
    padding: 12px 16px !important;
    border-radius: var(--radius-md) !important;
    border: none !important;
    background: transparent !important;
    transition: all 0.2s ease !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    margin: 0 !important;
    width: 100% !important;
}

.nav-dropdown a[href*="company.html"] + .dropdown-menu .dropdown-link:hover {
    background: rgba(76, 175, 80, 0.08) !important;
    transform: none !important;
    box-shadow: none !important;
}

.nav-dropdown a[href*="company.html"] + .dropdown-menu .dropdown-link i {
    font-size: 1rem !important;
    color: var(--primary-green) !important;
    width: 20px !important;
    text-align: center !important;
    flex-shrink: 0 !important;
}

.nav-dropdown a[href*="company.html"] + .dropdown-menu .dropdown-link span {
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    color: var(--studio-dark) !important;
}

/* ===== BLACK HEADER OVERRIDES ===== */
.header {
    background-color: #000000 !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.header .container {
    background-color: #000000 !important;
}

/* Navigation links - white on black */
.nav-desktop .nav-menu li a {
    color: #ffffff !important;
    transition: color 0.3s ease !important;
}

.nav-desktop .nav-menu li a:hover {
    color: var(--primary-green) !important;
}

.nav-desktop .nav-menu li a.active {
    color: var(--primary-green) !important;
    font-weight: 600 !important;
}

/* Dropdown menu on black background - STAYS WHITE */
.header .nav-dropdown .dropdown-menu {
    background: #ffffff !important;
}

/* Force all text in dropdown to be dark on black header */
.header .nav-dropdown .dropdown-menu,
.header .nav-dropdown .dropdown-menu *:not(.dropdown-link i) {
    color: #1e293b !important;
}

/* Links in dropdown on black header */
.header .nav-dropdown .dropdown-link {
    color: #334155 !important;
}

/* Hover state in header dropdown */
.header .nav-dropdown .dropdown-link:hover {
    color: var(--primary-green) !important;
}

/* Section headers in header dropdown */
.header .nav-dropdown .dropdown-section h4 {
    color: #1e293b !important;
    border-bottom: 1px solid #e2e8f0 !important;
}

/* Arrow icon in header */
.header .nav-dropdown > a .dropdown-arrow-icon {
    color: #ffffff !important;
}

.header .nav-dropdown:hover > a .dropdown-arrow-icon {
    color: var(--primary-green) !important;
}

/* Header action buttons - adjust for black background */
.header .header-actions .btn-outline {
    border-color: rgba(255, 255, 255, 0.3) !important;
    color: #ffffff !important;
}

.header .header-actions .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: var(--primary-green) !important;
}

.header .header-actions .btn-primary {
    background: var(--gradient-button) !important;
    color: #ffffff !important;
}

/* ===== MODERN MOBILE MENU REVAMP ===== */

/* Menu Toggle Button - Hamburger */
.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.3s ease;
    z-index: 1002;
}

.menu-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Mobile Navigation - Modern Slide-in */
.nav-mobile {
    position: fixed;
    top: 0;
    left: -100%;
    width: 320px;
    height: 100vh;
    background: #000000;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 0;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.3);
    z-index: 1001;
    overflow-y: auto;
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
    opacity: 0;
    visibility: hidden;
}

.nav-mobile.show {
    left: 0;
    opacity: 1;
    visibility: visible;
}

/* Mobile Header */
.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2;
}

.mobile-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-logo-icon {
    height: 32px;
    width: 32px;
    object-fit: contain;
    border-radius: 6px;
}

.mobile-company-name {
    height: 26px;
    width: auto;
    object-fit: contain;
}

.mobile-close {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #ffffff;
    font-size: 1.25rem;
    cursor: pointer;
    padding: 8px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.mobile-close:hover {
    background: rgba(76, 175, 80, 0.3);
    color: var(--primary-green);
}

/* Mobile Navigation List */
.nav-mobile > ul {
    list-style: none;
    padding: 20px;
    margin: 0;
}

.nav-mobile > ul > li {
    margin-bottom: 8px;
}

.nav-mobile > ul > li > a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    color: #ffffff;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    font-weight: 500;
}

.nav-mobile > ul > li > a:hover,
.nav-mobile > ul > li > a.active {
    background: rgba(76, 175, 80, 0.15);
    color: var(--primary-green);
}

/* Mobile Dropdown Items */
.mobile-solutions-list,
.mobile-products-list {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding-left: 20px;
    margin-top: 8px;
    background: rgba(255, 255, 255, 0.03);
    border-left: 2px solid var(--primary-green);
    border-radius: 0 8px 8px 0;
    margin-left: 10px;
}

.mobile-solutions-list.show,
.mobile-products-list.show {
    max-height: 500px;
    padding: 12px 0 12px 20px;
}

.mobile-solutions-list li,
.mobile-products-list li {
    margin-bottom: 6px;
}

.mobile-solutions-list a,
.mobile-products-list a {
    display: block;
    padding: 10px 14px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 0.9rem;
    border-radius: 6px;
    transition: all 0.2s ease;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 4px;
}

.mobile-solutions-list a:hover,
.mobile-products-list a:hover {
    background: rgba(76, 175, 80, 0.15);
    border-color: var(--primary-green);
    transform: translateX(5px);
    color: var(--primary-green);
}

.mobile-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
    margin: 10px 0;
    border: none;
}

/* Mobile Dropdown Toggle */
.mobile-dropdown-parent > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-dropdown-parent > a::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 12px;
    transition: transform 0.3s ease;
}

.mobile-dropdown-parent.active > a::after {
    transform: rotate(180deg);
}

/* Mobile CTA Buttons */
.nav-mobile > ul > li:last-child {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-mobile .btn {
    width: 100%;
    justify-content: center;
    margin-top: 4px;
}

/* Mobile Contact Info */
.mobile-contact {
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    margin-top: auto;
}

.mobile-contact p {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
}

.mobile-contact i {
    color: var(--primary-green);
    width: 16px;
    font-size: 0.9rem;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

/* Body lock when menu is open */
body.menu-open {
    overflow: hidden;
}

body.menu-open .header {
    z-index: 1003;
}

/* ===== COMPANY LOGO IMAGE STYLES ===== */
/* Header logo */
.logo-icon {
    height: 40px;
    width: 40px;
    object-fit: contain;
    border-radius: 4px;
}

.company-name-image {
    height: 30px !important;
    width: auto;
    object-fit: contain;
    transition: opacity 0.3s ease;
}

/* Footer logo */
.footer-logo-icon {
    height: 35px;
    width: 35px;
    object-fit: contain;
    border-radius: 4px;
}

.footer-company-name {
    height: 30px !important;
    width: auto;
    object-fit: contain;
    transition: opacity 0.3s ease;
}

/* Mobile logo */
.mobile-logo-icon {
    height: 30px;
    width: 30px;
    object-fit: contain;
    border-radius: 4px;
}

.mobile-company-name {
    height: 25px;
    width: auto;
    object-fit: contain;
}

.company-name-image:hover,
.footer-company-name:hover {
    opacity: 0.9;
}

/* Logo container adjustments */
.logo a {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.mobile-logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ===== HERO BASE STYLES - FIXED: REMOVED background: transparent !important ===== */
/* Hero base styles - FIXED: Removed background: transparent !important */
.hero,
.page-hero,
.product-hero,
section[class*="hero"] {
    margin-top: 0 !important;
    padding-top: 0 !important;
    position: relative;
    min-height: 500px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: #0f1923 !important;
}

/* Remove hero content container backgrounds - FIXED: Removed background: transparent !important */
.hero-content,
.page-hero-content,
.product-hero-content,
[class*="hero-content"] {
    /* Remove all container styling - FIXED: Removed background: transparent !important */
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    position: static !important;
    width: auto !important;
    max-width: none !important;
    overflow: visible !important;
    text-align: center !important;
}

/* Remove ::before elements (gradient lines) */
.hero-content::before,
.page-hero-content::before,
.product-hero-content::before {
    display: none !important;
}

/* Make hero text visible against images */
.hero-content h1,
.page-hero-content h1,
.hero-title,
.hero-content p,
.page-hero-content p,
.hero-subtitle,
.hero-badge,
.badge-text {
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8) !important;
}

/* Hero badge styling */
.hero-badge {
    background: rgba(0, 0, 0, 0.3) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 50px !important;
    padding: 10px 20px !important;
    margin-bottom: 20px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
}

.badge-text {
    font-size: 0.85rem !important;
    font-weight: 600 !important;
}

/* Hero buttons styling */
.hero-actions,
.page-hero-actions {
    display: flex !important;
    gap: 15px !important;
    justify-content: center !important;
    margin-top: 30px !important;
    flex-wrap: wrap !important;
}

.hero-actions .btn,
.page-hero-actions .btn {
    margin: 0 !important;
}

/* Hero images styling */
.hero-slide {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background-color: #0f1923 !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    opacity: 0 !important;
    transition: opacity 1s ease-in-out !important;
}

.hero-slide.active {
    opacity: 1 !important;
    z-index: 1 !important;
}

/* ===== LIVE STATS BAR ===== */
.live-stats-bar {
    background: var(--white);
    padding: 60px 0;
    margin: 40px auto;
    position: relative;
    z-index: 3;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    max-width: 1200px;
    border: 1px solid var(--light-gray);
}

.live-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-xl);
}

.stat-card {
    text-align: center;
    padding: var(--spacing-xl);
    transition: var(--transition-medium);
    border-radius: var(--radius-lg);
    border: 1px solid var(--light-gray);
    background: var(--light-bg);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-green);
}

.stat-icon {
    font-size: 1.75rem;
    color: var(--primary-green);
    margin-bottom: var(--spacing-md);
}

.stat-card h3 {
    font-size: 1.75rem;
    color: var(--studio-dark);
    margin-bottom: 0.5rem;
}

.stat-card p {
    color: var(--dark-gray);
    font-size: 0.85rem;
    margin-bottom: 0;
    font-weight: 500;
}

/* ===== VIDEO SECTION ===== */
.video-section {
    padding: var(--spacing-xxl) 0;
    background: var(--white);
}

.video-container {
    position: relative;
    max-width: 680px;
    margin: 0 auto;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--light-gray);
}

.feature-video {
    width: 100%;
    height: 320px;
    display: block;
    background: var(--studio-dark);
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(2px);
}

.play-button {
    width: 80px;
    height: 80px;
    background: var(--gradient-button);
    border: none;
    border-radius: 50%;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition-medium);
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-button:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-green);
}

/* ===== ADDITIONAL VIDEO SECTION ===== */
.additional-video-section {
    padding: var(--spacing-xxl) 0;
    background: var(--light-bg);
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.video-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background: var(--white);
}

.video-item video {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.video-caption {
    padding: 15px;
    background: var(--white);
    border-top: 1px solid var(--light-gray);
}

.video-caption h4 {
    margin-bottom: 5px;
    color: var(--studio-dark);
    font-size: 1.1rem;
}

.video-caption p {
    color: var(--dark-gray);
    font-size: 0.85rem;
    margin-bottom: 0;
}

/* ===== QUICK STATS BAR ===== */
.stats-bar {
    background: linear-gradient(135deg, var(--primary-green), var(--studio-blue));
    padding: var(--spacing-xxl) 0;
    position: relative;
    z-index: 2;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-xl);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    color: var(--white);
}

.stat-item i {
    font-size: 1.75rem;
    color: var(--studio-glow);
}

.stat-content h3 {
    color: var(--white);
    margin-bottom: 0.25rem;
    font-size: 1.5rem;
}

.stat-content p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
    font-size: 0.85rem;
}

/* ===== SOLUTIONS OVERVIEW ===== */
.solutions-overview {
    padding: var(--spacing-xxl) 0;
    background: var(--white);
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xxl);
}

.section-label {
    display: inline-block;
    color: var(--primary-green);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--spacing-md);
    position: relative;
}

.section-label::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--primary-green);
    border-radius: var(--radius-full);
}

.section-header h2 {
    margin-bottom: var(--spacing-md);
    color: var(--studio-dark);
    font-size: 1.75rem !important;
}

.section-header p {
    color: var(--dark-gray);
    max-width: 700px;
    margin: 0 auto;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Solutions Section */
.solutions-section {
    background: var(--light-bg);
    padding: var(--spacing-xxl) 0;
}

.solutions-grid-full {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.solution-item {
    background: var(--white);
    border-radius: 12px;
    padding: 30px;
    border: 1px solid var(--light-gray);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.solution-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-green);
}

.solution-item i {
    font-size: 2rem;
    color: var(--primary-green);
    margin-bottom: 20px;
}

.solution-item h3 {
    color: var(--studio-dark);
    margin-bottom: 10px;
    font-size: 1.25rem !important;
}

.solution-item p {
    color: var(--dark-gray);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.solution-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    border: 1px solid var(--light-gray);
    transition: var(--transition-medium);
    position: relative;
    overflow: hidden;
    text-align: center;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.solution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-button);
}

.solution-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-green);
}

.solution-icon {
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: var(--spacing-lg);
}

.solution-card h3 {
    color: var(--studio-dark);
    margin-bottom: var(--spacing-md);
    font-size: 1.25rem !important;
}

.solution-card > p {
    color: var(--dark-gray);
    margin-bottom: var(--spacing-lg);
    font-size: 0.9rem;
    line-height: 1.6;
    flex-grow: 1;
}

.solution-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: var(--spacing-lg);
}

.solution-features span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--dark-gray);
    font-size: 0.85rem;
    justify-content: center;
}

.solution-features i {
    color: var(--primary-green);
    font-size: 0.8rem;
}

.solution-devices {
    margin-bottom: var(--spacing-lg);
}

.device-preview {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    background: var(--light-bg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--light-gray);
}

.device-image {
    width: 70px;
    height: 70px;
    object-fit: contain;
    border-radius: var(--radius-md);
}

.device-info {
    flex: 1;
    text-align: left;
}

.device-info strong {
    display: block;
    color: var(--studio-dark);
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.device-info small {
    color: var(--dark-gray);
    font-size: 0.8rem;
}

.solution-card .btn {
    width: 100%;
    justify-content: center;
    margin-top: auto;
}

/* ===== FEATURE VIDEO SECTION ===== */
.feature-video-section {
    padding: var(--spacing-xxl) 0;
    background: linear-gradient(135deg, var(--primary-green), var(--studio-blue));
    color: var(--white);
}

.video-feature-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xxl);
    align-items: center;
}

.feature-video-content {
    padding-right: var(--spacing-xl);
}

.feature-label {
    display: inline-block;
    color: var(--studio-glow);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--spacing-lg);
}

.feature-video-content h2 {
    color: var(--white);
    margin-bottom: var(--spacing-lg);
    font-size: 1.75rem !important;
    line-height: 1.2;
}

.feature-video-content > p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-xxl);
    font-size: 0.95rem;
    line-height: 1.6;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xxl);
}

.feature-item {
    display: flex;
    gap: var(--spacing-lg);
    align-items: flex-start;
}

.feature-item i {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.125rem;
    color: var(--studio-glow);
}

.feature-text h4 {
    color: var(--white);
    margin-bottom: var(--spacing-sm);
    font-size: 1rem !important;
}

.feature-text p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
    font-size: 0.85rem;
    line-height: 1.5;
}

.feature-video-container {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.platform-video {
    width: 100%;
    height: auto;
    display: block;
    background: var(--studio-dark);
}

.video-controls-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(2px);
}

.video-play-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.9rem 1.75rem;
    background: var(--gradient-button);
    border: none;
    border-radius: var(--radius-md);
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-medium);
}

.video-play-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-green);
}

/* ===== INDUSTRY SOLUTIONS SECTION ===== */
.industry-solutions-section {
    padding: var(--spacing-xxl) 0;
    background: var(--white);
}

.industry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xxl);
}

.industry-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    border: 1px solid var(--light-gray);
    transition: var(--transition-medium);
    position: relative;
    overflow: hidden;
    text-align: center;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.industry-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-green);
}

.industry-icon {
    font-size: 2.25rem;
    color: var(--primary-green);
    margin-bottom: var(--spacing-lg);
}

.industry-card h3 {
    color: var(--studio-dark);
    margin-bottom: var(--spacing-md);
    font-size: 1.25rem !important;
}

.industry-card > p {
    color: var(--dark-gray);
    margin-bottom: var(--spacing-lg);
    font-size: 0.9rem;
    line-height: 1.6;
    flex-grow: 1;
}

.industry-features {
    list-style: none;
    margin-bottom: var(--spacing-lg);
    text-align: left;
}

.industry-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: var(--dark-gray);
    font-size: 0.85rem;
}

.industry-features i {
    color: var(--primary-green);
    font-size: 0.8rem;
}

.industry-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--studio-blue);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition-fast);
    margin-top: auto;
}

.industry-link:hover {
    color: var(--primary-green);
    gap: 1rem;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials-section {
    padding: var(--spacing-xxl) 0;
    background: linear-gradient(135deg, var(--light-bg) 0%, var(--studio-light) 100%);
}

/* Blog section (placeholder for future blogs) */
.blog-section {
    padding: var(--spacing-xl) 0 0 0;
    background: linear-gradient(135deg, var(--light-bg) 0%, var(--studio-light) 100%);
}

.blog-section .section-header {
    margin-bottom: var(--spacing-md);
}

.blog-placeholder {
    text-align: center;
    padding: var(--spacing-lg) 0;
    color: var(--dark-gray);
    font-size: 1rem;
}

.blog-posts-container {
    position: relative;
    overflow: hidden;
    margin-top: var(--spacing-sm);
    margin-bottom: 0;
}

/* Fade on right to suggest horizontal scroll */
.blog-posts-container::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60px;
    height: 100%;
    background: linear-gradient(to left, var(--studio-light), transparent);
    pointer-events: none;
}

.blog-carousel-wrap {
    position: relative;
    min-width: 0;
    width: 100%;
    overflow: hidden;
}

/* Blog track: base layout (static when few cards) */
.blog-carousel-wrap .blog-list {
    display: flex;
    flex-wrap: nowrap;
    gap: var(--spacing-lg);
    padding: 0.5rem var(--spacing-md) 1rem;
    margin: 0;
}

/* Only slide when section is filled (content overflows) */
.blog-carousel-wrap .blog-list.blog-list--sliding {
    width: max-content;
    animation: blogSlideLeft 50s linear infinite;
    will-change: transform;
}

.blog-carousel-wrap .blog-list.blog-list--sliding:hover {
    animation-play-state: paused;
}

@keyframes blogSlideLeft {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Editorial-style tiles: minimal card look */
.blog-card {
    flex: 0 0 auto;
    width: 320px;
    min-width: 320px;
    background: var(--white);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: none;
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transition: opacity 0.2s ease;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    opacity: 0.92;
}

.blog-card-content {
    padding: var(--spacing-md) 0 var(--spacing-sm);
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-card-title {
    margin: 0 0 0.4rem;
    font-size: 1.1rem;
    line-height: 1.35;
    color: var(--studio-dark);
    font-weight: 600;
}

.blog-card-excerpt {
    flex: 1;
    margin: 0 0 0.5rem;
    color: var(--dark-gray);
    font-size: 0.9rem;
    line-height: 1.5;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: auto;
    padding-top: 0.25rem;
}

.blog-card-view-more {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.5rem;
    padding: 0;
    background: none;
    color: var(--primary-green) !important;
    text-decoration: none;
    border-radius: 0;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: left;
    transition: gap 0.2s ease, color 0.2s ease;
}

.blog-card-view-more:hover {
    color: #2e7d32 !important;
    gap: 0.5rem;
}

.blog-card-view-more i {
    font-size: 0.75rem;
}

.blog-card-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 2px 6px;
    background: transparent;
    color: var(--dark-gray);
    font-size: 0.75rem;
    border-radius: 0;
    font-weight: 500;
}

.blog-card-no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 180px;
    background: #f5f5f5;
}

.blog-card-no-image-text {
    font-size: 0.85rem;
    color: var(--dark-gray);
}

.blog-card-date {
    font-size: 0.8rem;
    color: var(--dark-gray);
    font-weight: 500;
}

.blog-card-image-wrap {
    width: 100%;
    overflow: hidden;
    max-height: 200px;
    background: #f5f5f5;
}

.blog-card-image-wrap img.blog-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    vertical-align: top;
}

.blog-card-image-wrap.blog-card-video-wrap {
    position: relative;
    min-height: 180px;
}

.blog-card-image-wrap.blog-card-video-wrap video {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xxl);
}

/* Testimonial Rotator */
.testimonial-rotator {
    position: relative;
    height: 320px;
    overflow: hidden;
    margin: 20px auto;
    max-width: 1200px;
}

.testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    animation: rotateTestimonials 30s infinite;
    animation-timing-function: ease-in-out;
}

.testimonial-slide:nth-child(1) { animation-delay: 0s; }
.testimonial-slide:nth-child(2) { animation-delay: 5s; }
.testimonial-slide:nth-child(3) { animation-delay: 10s; }
.testimonial-slide:nth-child(4) { animation-delay: 15s; }
.testimonial-slide:nth-child(5) { animation-delay: 20s; }
.testimonial-slide:nth-child(6) { animation-delay: 25s; }

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 25px;
    border: 1px solid var(--light-gray);
    box-shadow: var(--shadow-lg);
    max-width: 700px;
    margin: 0 auto;
}

.testimonial-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.company-logo {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--studio-blue);
    padding: 0.5rem 1rem;
    background: var(--light-bg);
    border-radius: var(--radius-md);
    border: 1px solid var(--light-gray);
}

.testimonial-rating {
    display: flex;
    gap: 0.25rem;
}

.testimonial-rating i {
    color: var(--accent-amber);
    font-size: 0.9rem;
}

.testimonial-text {
    font-size: 0.9rem;
    font-style: italic;
    color: var(--dark-gray);
    line-height: 1.6;
    margin-bottom: 20px;
    position: relative;
    padding-left: 20px;
}

.testimonial-text::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 0;
    font-size: 2.25rem;
    color: var(--studio-teal);
    opacity: 0.3;
    font-family: serif;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.author-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--studio-teal), var(--primary-green));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.125rem;
}

.author-info h4 {
    color: var(--studio-dark);
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
}

.author-info p {
    color: var(--dark-gray);
    margin-bottom: 0;
    font-size: 0.85rem;
}

.trusted-bar {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    text-align: center;
    margin-top: 30px;
}

.trusted-bar h3 {
    font-size: 18px !important;
    font-weight: 700;
    color: var(--studio-dark);
    margin-bottom: 15px;
}

.trusted-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    align-items: center;
}

.trusted-logo {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark-gray);
    padding: 6px 12px;
    background: var(--light-bg);
    border-radius: 8px;
    border: 1px solid var(--light-gray);
    transition: all 0.3s ease;
}

.trusted-logo:hover {
    background: rgba(76, 175, 80, 0.1);
    border-color: var(--primary-green);
    color: var(--primary-green);
    transform: translateY(-2px);
}

/* ===== CTA SECTION ===== */
.cta-section {
    padding: var(--spacing-xxl) 0;
    background: linear-gradient(135deg, var(--primary-green), var(--studio-blue));
    color: var(--white);
    text-align: center;
}

.cta-content h2 {
    color: var(--white);
    margin-bottom: var(--spacing-lg);
    font-size: 2rem !important;
    background: linear-gradient(90deg, var(--white), var(--studio-glow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-content > p {
    font-size: 1rem;
    margin-bottom: var(--spacing-xxl);
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.cta-actions {
    display: flex;
    gap: var(--spacing-lg);
    justify-content: center;
    margin-bottom: var(--spacing-xxl);
    flex-wrap: wrap;
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: var(--spacing-xl);
    flex-wrap: wrap;
}

.cta-features .feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

.cta-features .feature i {
    color: var(--primary-green);
    font-size: 1rem;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--studio-dark);
    color: var(--white);
    padding: var(--spacing-xxl) 0 0;
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--spacing-xxl);
    margin-bottom: var(--spacing-xxl);
}

.footer-brand {
    padding-right: var(--spacing-xl);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.footer-logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-tagline {
    display: block;
    margin-left: 0;
    margin-top: 0.25rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--spacing-lg);
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-certifications {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.cert-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.9rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
}

.cert-badge i {
    color: var(--primary-green);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-xl);
}

.link-column h3 {
    color: var(--white);
    font-size: 0.95rem;
    margin-bottom: var(--spacing-lg);
    font-weight: 600;
}

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

.link-column li {
    margin-bottom: 0.75rem;
}

.link-column a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.85rem;
    transition: var(--transition-fast);
}

.link-column a:hover {
    color: var(--primary-green);
    padding-left: 5px;
}

.contact-section {
    padding: var(--spacing-xxl) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: var(--spacing-xxl);
}

.contact-section h3 {
    color: var(--white);
    text-align: center;
    margin-bottom: var(--spacing-xxl);
    font-size: 1.5rem !important;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--spacing-xl);
}

.contact-item {
    display: flex;
    gap: var(--spacing-lg);
    padding: var(--spacing-lg);
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-medium);
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary-green);
    transform: translateY(-3px);
}

.contact-item i {
    font-size: 1.125rem;
    color: var(--primary-green);
    margin-top: 0.25rem;
}

.contact-item h4 {
    color: var(--white);
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.contact-item p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
}

.contact-item a {
    color: var(--primary-green);
    text-decoration: none;
    transition: var(--transition-fast);
}

.contact-item a:hover {
    text-decoration: underline;
}

.social-links {
    display: flex;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition-fast);
    font-size: 0.9rem;
}

.social-icon:hover {
    background-color: var(--primary-green);
    color: var(--white);
    transform: translateY(-2px);
}

.footer-bottom {
    padding: var(--spacing-xl) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.copyright {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
}

.copyright p {
    margin-bottom: 0.25rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-technologies {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.tech-badge {
    padding: 0.4rem 0.9rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-full);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ===== LIVE SUPPORT FIXED BUTTON ===== */
.live-support-fixed {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
}

.support-btn {
    width: 60px;
    height: 60px;
    background: #4CAF50;
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(76, 175, 80, 0.5);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.support-btn:hover {
    background: #66BB6A;
    transform: scale(1.1);
}

.support-menu {
    position: absolute;
    bottom: 70px;
    right: 0;
    background: white;
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    display: none;
    flex-direction: column;
    gap: 10px;
    min-width: 160px;
    border: 1px solid #e2e8f0;
}

.support-menu.show {
    display: flex;
}

.support-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    color: #475569;
    text-decoration: none;
    border-radius: 8px;
    transition: background 0.2s ease;
}

.support-item:hover {
    background: #f8fafc;
    color: #2563eb;
}

.support-item i {
    width: 20px;
    text-align: center;
}

/* ===== ANIMATIONS ===== */
@keyframes flashText {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.02); }
}

@keyframes pulseGlow {
    0%, 100% { text-shadow: 0 0 10px rgba(76, 175, 80, 0.5); }
    50% { text-shadow: 0 0 20px rgba(76, 175, 80, 0.8); }
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes rotateTestimonials {
    0% { transform: translateX(100%); opacity: 0; }
    10% { transform: translateX(0); opacity: 1; }
    90% { transform: translateX(0); opacity: 1; }
    100% { transform: translateX(-100%); opacity: 0; }
}

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

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.animated-text {
    animation: flashText 3s ease-in-out infinite;
}

.pulse-text {
    animation: pulseGlow 2s ease-in-out infinite;
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */
@media (max-width: 992px) {
    .nav-dropdown a[href*="products.html"] + .dropdown-menu {
        min-width: 700px !important;
        max-width: 700px !important;
        width: 700px !important;
    }
}

@media (max-width: 991px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav-desktop {
        display: none;
    }
    
    .header-actions {
        display: none;
    }
    
    .video-feature-wrapper {
        grid-template-columns: 1fr;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* HIDE DESKTOP DROPDOWNS ON MOBILE */
    .dropdown-menu {
        display: none !important;
    }
    
    .nav-dropdown:hover .dropdown-menu {
        display: none !important;
    }
}

@media (max-width: 768px) {
    h1, 
    .hero-title, 
    .page-hero-content h1 {
        font-size: 1.75rem !important;
    }
    
    h2,
    .section-header h2 {
        font-size: 1.5rem !important;
    }
    
    h3 {
        font-size: 1.25rem !important;
    }
    
    .company-name-image {
        height: 25px !important;
    }
    
    .footer-company-name {
        height: 25px !important;
    }
    
    /* Products dropdown responsive */
    .nav-dropdown a[href*="products.html"] + .dropdown-menu {
        min-width: calc(100vw - 40px) !important;
        max-width: calc(100vw - 40px) !important;
        width: auto !important;
        left: 20px !important;
        right: 20px !important;
        transform: none !important;
    }

    .nav-dropdown a[href*="products.html"] + .dropdown-menu .dropdown-links {
        grid-template-columns: 1fr !important;
    }
    
    /* Solutions dropdown responsive */
    .nav-dropdown a[href*="solutions.html"] + .dropdown-menu {
        min-width: calc(100vw - 40px) !important;
        max-width: calc(100vw - 40px) !important;
        width: auto !important;
        left: 20px !important;
        right: 20px !important;
        transform: none !important;
    }
    
    .nav-dropdown a[href*="solutions.html"] + .dropdown-menu .dropdown-links {
        grid-template-columns: 1fr !important;
    }
    
    /* Resources dropdown responsive */
    .nav-dropdown a[href*="resources/"] + .dropdown-menu,
    .nav-dropdown .dropdown-menu-resources {
        min-width: calc(100vw - 40px) !important;
        max-width: calc(100vw - 40px) !important;
        width: auto !important;
        left: 20px !important;
        right: 20px !important;
        transform: none !important;
    }
    
    .nav-dropdown a[href*="resources/"] + .dropdown-menu .dropdown-links,
    .nav-dropdown .dropdown-menu-resources .dropdown-links {
        grid-template-columns: 1fr !important;
    }
    
    /* Hero adjustments */
    .hero,
    .page-hero,
    .product-hero {
        min-height: 400px !important;
    }
}

@media (max-width: 576px) {
    h1, 
    .hero-title, 
    .page-hero-content h1 {
        font-size: 1.5rem !important;
    }
    
    h2,
    .section-header h2 {
        font-size: 1.25rem !important;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .hero-actions,
    .page-hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-actions .btn,
    .page-hero-actions .btn {
        width: 100%;
        max-width: 250px;
    }
    
    .mobile-solutions-list,
    .mobile-products-list {
        padding-left: 10px;
    }
    
    .mobile-solutions-list a,
    .mobile-products-list a {
        font-size: 0.8rem;
        padding: 8px 12px;
    }
    
    .mobile-solutions-list.show,
    .mobile-products-list.show {
        max-height: 350px;
    }
    
    /* Products dropdown mobile */
    .nav-dropdown a[href*="products.html"] + .dropdown-menu {
        min-width: calc(100vw - 20px) !important;
        max-width: calc(100vw - 20px) !important;
        left: 10px !important;
        right: 10px !important;
    }

    .nav-dropdown a[href*="products.html"] + .dropdown-menu .dropdown-link {
        padding: 8px 10px !important;
        min-height: 45px !important;
    }
    
    /* Solutions dropdown mobile */
    .nav-dropdown a[href*="solutions.html"] + .dropdown-menu {
        min-width: calc(100vw - 20px) !important;
        max-width: calc(100vw - 20px) !important;
        left: 10px !important;
        right: 10px !important;
    }
    
    .nav-dropdown a[href*="solutions.html"] + .dropdown-menu .dropdown-link {
        padding: 8px 10px !important;
        min-height: 45px !important;
    }
    
    /* Resources dropdown mobile */
    .nav-dropdown a[href*="resources/"] + .dropdown-menu,
    .nav-dropdown .dropdown-menu-resources {
        min-width: calc(100vw - 20px) !important;
        max-width: calc(100vw - 20px) !important;
        left: 10px !important;
        right: 10px !important;
    }
    
    .nav-dropdown a[href*="resources/"] + .dropdown-menu .dropdown-link,
    .nav-dropdown .dropdown-menu-resources .dropdown-link {
        padding: 8px 10px !important;
        min-height: 45px !important;
    }
    
    /* Hero mobile adjustments */
    .hero,
    .page-hero,
    .product-hero {
        min-height: 350px !important;
    }
}

/* ===== FOOTER NON-CLICKABLE SPAN STYLING ===== */
.footer-links ul li span {
    color: var(--dark-gray);
    text-decoration: none;
    display: block;
    padding: 4px 0;
    opacity: 0.8;
    cursor: default;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    line-height: 1.5;
    font-weight: 400;
    transition: all 0.3s ease;
    position: relative;
}

.footer-links ul li span:hover {
    color: var(--primary-green);
    opacity: 1;
}

.footer-links ul li span::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--primary-green);
    transition: width 0.3s ease;
}

.footer-links ul li span:hover::after {
    width: 30px;
}

.footer-links ul li {
    margin: 6px 0;
}

.footer-links ul li a,
.footer-links ul li span {
    font-weight: 400;
    margin: 2px 0;
}

/* ===== PROFESSIONAL MOBILE MENU DROPDOWNS ===== */
.mobile-dropdown-parent {
    position: relative;
}

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

.mobile-dropdown-parent > a::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 12px;
    transition: transform 0.3s ease;
}

.mobile-dropdown-parent.active > a::after {
    transform: rotate(180deg);
}

.mobile-solutions-list,
.mobile-products-list {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding-left: 20px;
    margin-top: 8px;
    background: rgba(255, 255, 255, 0.03);
    border-left: 2px solid var(--primary-green);
    border-radius: 0 8px 8px 0;
    margin-left: 10px;
}

.mobile-solutions-list.show,
.mobile-products-list.show {
    max-height: 500px;
    padding: 15px 0 15px 20px;
}

.mobile-solutions-list li,
.mobile-products-list li {
    margin-bottom: 8px;
}

.mobile-solutions-list li:last-child,
.mobile-products-list li:last-child {
    margin-bottom: 0;
}

.mobile-solutions-list a,
.mobile-products-list a {
    display: block;
    padding: 12px 16px;
    color: #ffffff !important;
    text-decoration: none;
    font-size: 0.9rem;
    border-radius: 6px;
    transition: all 0.2s ease;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 6px;
}

.mobile-solutions-list a:hover,
.mobile-products-list a:hover {
    background: rgba(76, 175, 80, 0.15);
    border-color: var(--primary-green);
    transform: translateX(5px);
    color: var(--primary-green) !important;
}

.mobile-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
    margin: 12px 0;
    border: none;
}

.nav-mobile ul li a.active {
    background: rgba(76, 175, 80, 0.15);
    border-left: 3px solid var(--primary-green);
    color: var(--primary-green) !important;
    font-weight: 600;
}

/* QUICK FIX: Adjust company name images vertical alignment */
.company-name-image {
    position: relative !important;
    top: 2px !important;
}

.footer-company-name {
    position: relative !important;
    top: 1px !important;
}

.mobile-company-name {
    position: relative !important;
    top: 1px !important;
}

img[src*="company-name-header.jpg"],
img[src*="company-name-footer.jpg"] {
    margin-top: 3px !important;
}

/* ===== FIX HERO BUTTON VISIBILITY ===== */
.product-hero .btn-outline {
    border-color: white !important;
    color: white !important;
    background: transparent !important;
}

.product-hero .btn-outline:hover {
    border-color: var(--primary-green) !important;
    color: var(--primary-green) !important;
    background: rgba(255, 255, 255, 0.1) !important;
}

.solution-link {
    display: inline-block;
    color: var(--studio-blue);
    text-decoration: none !important;
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 15px;
    padding: 8px 16px;
    border: 1px solid var(--light-gray);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    position: relative;
    background: var(--light-bg);
}

.solution-link:hover {
    color: var(--primary-green);
    border-color: var(--primary-green);
    background: rgba(76, 175, 80, 0.05);
    transform: translateX(5px);
}

.solution-link::after {
    content: '→';
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.solution-link:hover::after {
    transform: translateX(3px);
}

.solution-item {
    text-decoration: none !important;
}

.solution-item a {
    text-decoration: none !important;
}

.solution-item:hover .solution-link {
    text-decoration: none !important;
    border-color: var(--primary-green);
}

.solutions-grid-full a {
    text-decoration: none !important;
    color: inherit !important;
}

.solutions-grid-full a:hover {
    text-decoration: none !important;
    color: inherit !important;
}

.section-header h2 {
    text-decoration: none !important;
    background: none !important;
    -webkit-text-fill-color: var(--studio-dark) !important;
    background-clip: initial !important;
}

.section-header h2:hover {
    text-decoration: none !important;
}

/* ===== LOGO SIZE ADJUSTMENT ===== */
.logo-icon {
    width: 30px !important;
    height: 30px !important;
}

.company-name-image {
    height: 28px !important;
}

.mobile-logo-icon {
    width: 28px !important;
    height: 28px !important;
}

.mobile-company-name {
    height: 22px !important;
}

.footer-logo-icon {
    height: 30px !important;
    width: 30px !important;
}

.footer-company-name {
    height: 28px !important;
}

/* ===== UNIVERSAL HERO GRADIENT OVERLAY ===== */
.hero-slide,
.product-hero,
.page-hero,
section[class*="hero"] {
    position: relative;
}

.hero-slide::after,
.product-hero::after,
.page-hero::after,
section[class*="hero"]::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 1;
    pointer-events: none;
}

.hero-content,
.page-hero-content,
.product-hero-content,
.hero .container,
.page-hero .container,
.product-hero .container {
    position: relative;
    z-index: 2;
}

/* ===== REMOVE WHITE GAP BETWEEN HEADER AND HERO ===== */
.header {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.hero,
.page-hero,
.product-hero,
section[class*="hero"] {
    margin-top: 0 !important;
    padding-top: 0 !important;
    position: relative;
}

html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.hero .container,
.page-hero .container,
.product-hero .container,
section[class*="hero"] .container {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

.breadcrumb {
    margin-top: 0 !important;
    padding-top: var(--spacing-sm) !important;
    padding-bottom: var(--spacing-sm) !important;
}

.hero-content,
.page-hero-content,
.product-hero-content {
    margin-top: 20px !important;
    margin-bottom: 20px !important;
}

.index .hero-content {
    margin-top: 40px !important;
}

@media (max-width: 768px) {
    .hero-content,
    .page-hero-content,
    .product-hero-content {
        margin-top: 15px !important;
        margin-bottom: 15px !important;
    }
    
    .index .hero-content {
        margin-top: 30px !important;
    }
}

/* ===== CTA SECTION - WHITE TEXT FOR CALL OUR EXPERTS ===== */
.cta-section .btn-outline {
    color: #ffffff !important;
    border-color: #ffffff !important;
    background: rgba(255, 255, 255, 0.1) !important;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.3s ease;
}

.cta-section .btn-outline:hover {
    color: #1e88e5 !important;
    background: #ffffff !important;
    border-color: #ffffff !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3);
}

.cta-section .btn-outline:active {
    transform: translateY(-1px);
}

.cta-section .btn-outline {
    border-width: 2px;
}

.cta-section .btn-outline {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.cta-section .btn-outline i {
    color: #ffffff !important;
    transition: color 0.3s ease;
}

.cta-section .btn-outline:hover i {
    color: #1e88e5 !important;
}

.cta-section .btn-outline span {
    font-weight: 600;
}

@media (max-width: 768px) {
    .cta-section .btn-outline {
        font-size: 0.95rem;
        padding: 12px 24px;
    }
}

@media (max-width: 480px) {
    .cta-section .btn-outline {
        font-size: 0.9rem;
        padding: 10px 20px;
        width: 100%;
        max-width: 250px;
    }
}

/* ===== PAGE HERO DESCRIPTION VISIBILITY FIX ===== */
.page-hero-content p {
    color: #ffffff !important;
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 20px auto 30px !important;
    max-width: 700px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
    opacity: 0.95;
    font-weight: 400;
}

.page-hero-content p {
    background: rgba(0, 0, 0, 0.15);
    padding: 15px 20px !important;
    border-radius: var(--radius-lg);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

@media (min-width: 992px) {
    .page-hero-content p {
        font-size: 1.2rem;
        line-height: 1.7;
    }
}

@media (max-width: 768px) {
    .page-hero-content p {
        font-size: 1rem;
        padding: 12px 15px !important;
        margin: 15px auto 25px !important;
    }
}

.page-hero-content p.hero-description-highlight {
    background: linear-gradient(135deg, 
        rgba(76, 175, 80, 0.15) 0%, 
        rgba(100, 200, 255, 0.1) 100%);
    border-left: 3px solid var(--primary-green);
}

.company-hero .page-hero-content p,
.company-page .page-hero-content p,
.about-page .page-hero-content p {
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
}

.page-hero-content h1 + p {
    color: #ffffff !important;
    font-weight: 400;
    letter-spacing: 0.3px;
}

@keyframes fadeInUpText {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 0.95;
        transform: translateY(0);
    }
}

.page-hero-content p {
    animation: fadeInUpText 0.8s ease 0.3s both;
}

/* ===== MOBILE RESPONSIVE FIXES - CRITICAL UPDATES ===== */

/* Prevent horizontal scroll globally */
html {
    overflow-x: hidden;
    max-width: 100vw;
    width: 100%;
}

body {
    overflow-x: hidden;
    max-width: 100vw;
    width: 100%;
    position: relative;
}

/* ===== RESPONSIVE IMAGES AND MEDIA ===== */

/* Make all images responsive by default */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* NOTE: Video and iframe rules moved to mobile-only media queries to preserve desktop layouts */

/* Responsive video wrapper (16:9 aspect ratio) */
.video-responsive {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
}

.video-responsive iframe,
.video-responsive video,
.video-responsive embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ===== CONTAINER UPDATES ===== */

.container:not(.header .container),
section,
.section,
.hero,
[class*="wrapper"],
[class*="-container"]:not([class*="header"]):not(.video-container),
[class*="section"] {
    max-width: 100%;
    overflow-x: hidden;
}

/* Preserve video-container width on desktop */
.video-container {
    max-width: 680px !important;
}

/* Header container should NOT have overflow hidden to allow dropdowns */
.header .container {
    overflow: visible !important;
}

/* ===== HERO SECTION UPDATES ===== */

.hero {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

.hero-slide,
.hero-background {
    width: 100%;
    max-width: 100vw;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

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

/* ===== TEXT OVERFLOW FIXES ===== */

/* Prevent text from breaking layout */
h1, h2, h3, h4, h5, h6,
p, span, a, div {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.hero-title,
.section-title,
.testimonial-text {
    word-break: break-word;
    overflow-wrap: break-word;
}

/* ===== LOGO SLIDER FIXES ===== */

.logo-slider-container {
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
}

.logo-slider-track {
    display: flex;
    width: max-content;
    will-change: transform;
}

.logo-slider-item {
    flex-shrink: 0;
}

/* ===== PARTNERS SECTION FIXES ===== */

.partners-section {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    padding-top: var(--spacing-sm);
}

/* ===== FOOTER FIXES ===== */

.footer {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

.footer-main,
.footer-links,
.footer-bottom {
    width: 100%;
    max-width: 100%;
}

/* ===== MOBILE NAVIGATION ===== */

.nav-mobile {
    max-width: 90vw;
}

/* ===== FORM ELEMENTS ===== */

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="number"],
textarea,
select {
    max-width: 100%;
    width: 100%;
    font-size: 16px; /* Prevents zoom on iOS */
}

/* ===== PRE AND CODE BLOCKS ===== */

pre, code {
    max-width: 100%;
    overflow-x: auto;
    word-wrap: break-word;
}

/* ===== MODALS AND POPUPS ===== */

.modal,
.popup,
.overlay {
    max-width: 100vw;
}

/* ===== MOBILE SPECIFIC UPDATES (767px and below) ===== */

@media (max-width: 767px) {
    /* Container padding */
    .container {
        padding: 0 var(--spacing-md);
        max-width: 100%;
    }
    
    /* Hero content */
    .hero-content {
        padding-left: var(--spacing-md);
        padding-right: var(--spacing-md);
    }
    
    /* Force single column on mobile for all grids */
    .grid,
    .stats-grid,
    .solutions-grid,
    .solutions-grid-full,
    .industry-grid,
    .video-grid,
    [class*="-grid"] {
        grid-template-columns: 1fr !important;
        gap: var(--spacing-md);
    }
    
    /* Flexbox to column on mobile */
    .flex-row,
    .hero-actions,
    .cta-actions,
    [class*="actions"] {
        flex-direction: column;
        width: 100%;
    }
    
    /* Make cards full width */
    .solution-card,
    .solution-item,
    .industry-card,
    .stat-card {
        width: 100%;
        max-width: 100%;
    }
    
    /* Video and iframe responsive on MOBILE ONLY */
    video,
    iframe,
    embed,
    object {
        max-width: 100%;
        height: auto;
    }
    
    /* Specific video fixes for mobile */
    .platform-video,
    .feature-video-container video,
    .video-grid video,
    .video-wrapper video {
        width: 100%;
        max-width: 100%;
        height: auto !important;
        object-fit: cover;
    }
    
    /* Video containers on mobile */
    .feature-video-container,
    .video-container,
    .video-wrapper {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }
    
    /* Buttons full width */
    .btn,
    .hero-actions .btn,
    .cta-actions .btn {
        width: 100%;
        max-width: 100%;
        text-align: center;
        justify-content: center;
    }
    
    /* Hide desktop dropdown on mobile - use visibility to preserve structure */
    .nav-desktop .dropdown-menu {
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }
    
    /* Tables responsive */
    table {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    /* Touch-friendly targets */
    a:not(p a):not(span a), 
    button, 
    .btn, 
    input, 
    select, 
    textarea {
        min-height: 44px;
        min-width: 44px;
    }
    
    /* Logo slider */
    .logo-slider-item {
        width: 150px;
        height: 80px;
    }
    
    .logo-slider-item img {
        max-height: 50px;
    }
    
    /* Partners section edges */
    .partners-section::before,
    .partners-section::after {
        width: 50px;
    }
    
    /* Testimonials */
    .testimonial-rotator {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .testimonial-card {
        width: 100%;
    }
    
    /* Stats section */
    .live-stats-bar {
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
    }
    
    .stat-card {
        width: 100%;
    }
    
    /* Hero features */
    .hero-features {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        width: 100%;
    }
    
    .feature-chip {
        flex-shrink: 0;
        font-size: 0.75rem;
        padding: 0.5rem 0.75rem;
    }
    
    /* Trusted logos */
    .trusted-logos {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 10px;
    }
    
    .logo-item {
        flex-shrink: 0;
    }
    
    /* Feature Video */
    .video-feature-wrapper {
        grid-template-columns: 1fr;
        width: 100%;
        gap: var(--spacing-lg);
    }
    
    /* Simplify animations for better performance */
    * {
        will-change: auto !important;
    }
    
    .hero-slide {
        transition: opacity 0.3s ease;
    }
}

/* ===== SMALL MOBILE DEVICES (575px and below) ===== */

@media (max-width: 575px) {
    .container {
        padding: 0 var(--spacing-sm);
    }
    
    /* Mobile navigation */
    .nav-mobile {
        max-width: 85vw;
    }
    
    /* Logo slider */
    .logo-slider-item {
        width: 120px;
        height: 70px;
    }
    
    .logo-slider-item img {
        max-height: 40px;
    }
}

/* ===== DROPDOWN MENU MOBILE UPDATES ===== */

@media (max-width: 991px) {
    .dropdown-menu {
        max-width: 90vw !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
    }
}

/* ===== LANDSCAPE MODE ===== */

@media (max-height: 600px) and (orientation: landscape) {
    .hero {
        min-height: 500px;
    }
    
    .hero-content {
        padding: var(--spacing-sm);
    }
}

/* ===== EXTRA SMALL DEVICES (374px and below) ===== */

@media (max-width: 374px) {
    .container {
        padding: 0 10px;
    }
    
    body {
        font-size: 12px;
    }
    
    h1 { font-size: 1.25rem !important; }
    h2 { font-size: 1.1rem !important; }
    h3 { font-size: 1rem !important; }
    
    .btn {
        font-size: 0.75rem;
        padding: 0.5rem 0.75rem;
    }
}

/* ===== iOS SPECIFIC FIXES ===== */

/* Prevent zoom on input focus (iOS) */
@supports (-webkit-touch-callout: none) {
    input,
    select,
    textarea {
        font-size: 16px !important;
    }
}

/* Fix iOS Safari bottom bar issue */
@supports (-webkit-touch-callout: none) {
    .hero {
        min-height: -webkit-fill-available;
    }
}

/* ===== ANDROID SPECIFIC FIXES ===== */

/* Fix Android viewport height */
@media screen and (max-width: 767px) {
    body {
        min-height: 100vh;
        min-height: -webkit-fill-available;
    }
}

/* ===== PRINT STYLES ===== */

@media print {
    * {
        max-width: 100% !important;
    }
    
    .header,
    .footer,
    .nav-mobile,
    .support-toggle,
    .scroll-indicator,
    .menu-toggle {
        display: none !important;
    }
    
    body {
        overflow: visible !important;
    }
}

/* ===== END OF MOBILE RESPONSIVE FIXES ===== */

/* CRITICAL: Ensure header allows dropdowns to overflow */
.header {
    overflow: visible !important;
}

.header .container {
    overflow: visible !important;
}

.nav-desktop {
    overflow: visible !important;
}

.nav-menu {
    overflow: visible !important;
}

/* HIDE SCROLL INDICATOR - Keep functionality but hide visual element */
.scroll-indicator {
    display: none !important;
}

/* HIDE SLIDE INDICATORS (dots for hero navigation) */
.slide-indicators {
    display: none !important;
}

/* HIDE ANY RIGHT-SIDE NAVIGATION/ZOOM CONTROLS IN HERO */
.hero-nav-controls,
.page-navigation,
.vertical-navigation,
.zoom-controls {
    display: none !important;
}

/* CRITICAL: Remove all gaps between header and hero on ALL screen sizes */
@media (max-width: 991px) {
    .hero,
    .page-hero,
    .product-hero,
    section[class*="hero"] {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
    
    .header {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }
}
/* ===== FIX: REMOVE GAP BETWEEN HEADER AND HERO ===== */
/* Add this to your existing header styles or near the top */
.header {
    margin-bottom: 0 !important;
}

.hero,
.page-hero,
.product-hero {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Make sure hero container doesn't add space */
.hero .container {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* ===== FIX: LOGO AT FAR LEFT ON DESKTOP (Optional) ===== */
/* If you want logo to be at left edge on desktop too */
.logo {
    padding-left: 0 !important;
    margin-left: -10px !important; /* Pulls logo slightly left */
}

.logo a {
    margin-left: 0 !important;
    padding-left: 0 !important;
}
/* Replace ONLY gradient green backgrounds with solid button green (#4CAF50) */

/* 1. QUICK STATS BAR - Remove gradient, use solid button green */
.stats-bar {
    background: #4CAF50 !important;
}

/* 2. FEATURE VIDEO SECTION - Remove gradient, use solid button green */
.feature-video-section {
    background: #4CAF50 !important;
}

/* 3. CTA SECTION - Remove gradient, use solid button green */
.cta-section {
    background: #4CAF50 !important;
}
/* ===== MOBILE LOGO ADJUSTMENT - PUSH RIGHT ===== */
@media (max-width: 991px) {
    .header .container {
        padding-left: 20px !important;
    }
    
    .logo {
        margin-left: 5px !important;
    }
    
    .logo a {
        gap: 8px !important;
    }
}

@media (max-width: 768px) {
    .header .container {
        padding-left: 25px !important;
    }
    
    .logo {
        margin-left: 10px !important;
    }
    
    .logo a {
        gap: 8px !important;
    }
}

@media (max-width: 480px) {
    .header .container {
        padding-left: 20px !important;
    }
    
    .logo {
        margin-left: 8px !important;
    }
}

/* Ensure menu toggle stays properly positioned */
.menu-toggle {
    right: 15px !important;
}
/* ===== OPTIMIZED HERO IMAGE LOADING ===== */
.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #0f1923;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    opacity: 0;
    transition: opacity 0.8s ease-in-out; /* Slightly faster transition */
    will-change: opacity, transform;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
}

/* Show first slide immediately */
.hero-slide:first-child {
    opacity: 1;
    z-index: 2;
}

/* Critical: Ensure hero container has proper size */
.hero {
    position: relative;
    width: 100%;
    min-height: 600px;
    background-color: #1a1a1a; /* Fallback color while images load */
}

/* Image credit: Optimize Unsplash image loading */
.hero-slide:last-child {
    background-image: linear-gradient(135deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.2)), 
                      url('https://images.unsplash.com/photo-1544620347-c4fd4a3d5957?ixlib=rb-4.0.3&auto=format&fit=crop&w=1600&q=85&fm=jpg');
}
/* ===== FIX FOR NAVIGATION ACTIVE CLASS - CRITICAL ===== */

/* Ensure only Home link has active styles */
.nav-desktop .nav-menu li a.active {
    color: var(--primary-green) !important;
    font-weight: 600 !important;
    position: relative;
}

/* Force all other nav links to be white on black header */
.nav-desktop .nav-menu li a:not(.active) {
    color: #ffffff !important;
    opacity: 1 !important;
}

/* Remove any potential "active" styling from non-active links */
.nav-desktop .nav-menu li a:not(.active)::after {
    width: 0 !important;
    opacity: 0 !important;
    background: transparent !important;
}

/* Only active link gets the underline */
.nav-desktop .nav-menu li a.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100% !important;
    height: 2px;
    background: var(--primary-green) !important;
    opacity: 1 !important;
}

/* Hover styles - only change color, no active appearance */
.nav-desktop .nav-menu li a:not(.active):hover {
    color: var(--primary-green) !important;
}

.nav-desktop .nav-menu li a:not(.active):hover::after {
    width: 100% !important;
    background: var(--primary-green) !important;
    opacity: 1 !important;
}

/* Mobile navigation fix */
.nav-mobile > ul > li > a.active {
    background: rgba(76, 175, 80, 0.15) !important;
    color: var(--primary-green) !important;
    border-left: 3px solid var(--primary-green) !important;
    font-weight: 600 !important;
}

.nav-mobile > ul > li > a:not(.active) {
    color: #ffffff !important;
    background: transparent !important;
}

/* Override any conflicting styles */
.header .nav-desktop .nav-menu li a {
    transition: color 0.3s ease !important;
}

/* Force dropdown links to stay dark (they're correct already) */
.header .nav-dropdown .dropdown-link {
    color: #334155 !important;
}

.header .nav-dropdown .dropdown-link:hover {
    color: var(--primary-green) !important;
}
/* ===== FIX FOR NAVIGATION ACTIVE CLASS FLASHING ===== */
/* This ensures only the Home link has active styles from the start */

/* Reset all nav links to white by default (with higher specificity) */
html body .header .nav-desktop .nav-menu li a {
    color: #ffffff !important;
    transition: color 0.3s ease;
}

/* Remove any underlines by default */
html body .header .nav-desktop .nav-menu li a::after {
    width: 0 !important;
    opacity: 0 !important;
    background: transparent !important;
    content: none !important;
}

/* Only apply active styles to the current page link */
html body .header .nav-desktop .nav-menu li a.active {
    color: var(--primary-green) !important;
    font-weight: 600 !important;
}

/* Add underline only to active link */
html body .header .nav-desktop .nav-menu li a.active::after {
    content: '' !important;
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100% !important;
    height: 2px;
    background: var(--primary-green) !important;
    opacity: 1 !important;
}

/* Hover styles - separate from active */
html body .header .nav-desktop .nav-menu li a:hover {
    color: var(--primary-green) !important;
}

html body .header .nav-desktop .nav-menu li a:hover::after {
    width: 100% !important;
    background: var(--primary-green) !important;
    opacity: 1 !important;
}

/* Force dropdown links to stay dark (these are correct) */
html body .header .nav-dropdown .dropdown-link {
    color: #334155 !important;
}

html body .header .nav-dropdown .dropdown-link:hover {
    color: var(--primary-green) !important;
}

/* ===== HIDE ADMIN LOGIN BUTTON (public) ===== */
html body .header-actions a[href="admin.html"],
html body .header-actions a[href="./admin.html"],
html body .header-actions a[href*="/admin.html"],
html body .header-actions a[href*="admin.html"] {
    display: none !important;
}

/* Mobile navigation fix */
html body .nav-mobile > ul > li > a {
    color: #ffffff !important;
}

html body .nav-mobile > ul > li > a[href="index.html"],
html body .nav-mobile > ul > li > a.active {
    background: rgba(76, 175, 80, 0.15) !important;
    color: var(--primary-green) !important;
    border-left: 3px solid var(--primary-green) !important;
}