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

/* MODERN DESIGN SYSTEM FOR EXPLORER DATA SYSTEM */
:root {
    --primary-color: #0d2c54; /* Deep Navy Blue */
    --primary-light: #1b497d;
    --accent-color: #00b4d8; /* Teal Accent */
    --accent-hover: #0077b6;
    --bg-dark: #070f24; /* Dark Background for Hero/Footer */
    --bg-light: #f8f9fa; /* Light Background for sections */
    --bg-white: #ffffff;
    --text-main: #212529; /* Dark gray for body */
    --text-muted: #6c757d;
    --text-white: #ffffff;
    --border-color: #e9ecef;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 30px rgba(13, 44, 84, 0.15);
    --glass-bg: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.15);
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition-fast: all 0.2s ease;
    --transition-normal: all 0.3s ease;
}

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

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

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

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

.wrap {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
#header {
    background-color: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition-normal);
}

#header.scrolled {
    padding: 5px 0;
    box-shadow: var(--shadow-md);
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

#header .wrap {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 10px 20px;
    gap: 10px;
    position: relative;
}

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-actions .action-btn {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: var(--border-radius-sm);
    transition: var(--transition-fast);
}

.header-actions .action-btn:hover {
    color: var(--accent-color);
    background-color: var(--bg-light);
}

.header-actions .action-btn.login-btn-toggle {
    background-color: var(--primary-color);
    color: var(--text-white) !important;
}

.header-actions .action-btn.login-btn-toggle:hover,
.header-actions .action-btn.login-btn-toggle.active {
    background-color: var(--accent-color);
    color: var(--primary-color) !important;
}

.header-bottom {
    display: flex;
    justify-content: center;
    padding-top: 5px;
}

.mobile-only {
    display: none !important;
}

#logo {
    margin: 0;
}

#logo img {
    height: 55px;
    width: auto;
    display: block;
}

#logo-subtext {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-weight: 500;
    margin-top: 2px;
}

/* Top bar essential actions */
.boxtop {
    display: flex;
    align-items: center;
    gap: 20px;
}

.boxtop ul {
    list-style: none;
    display: flex;
    gap: 20px;
    align-items: center;
}

.boxtop li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 500;
}

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

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

.boxtop img {
    width: 16px;
    height: 16px;
}

/* Main Navigation Menu */
#menu {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 30px;
}

#menu li {
    position: relative;
}

#menu a {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--primary-color);
    padding: 8px 0;
    position: relative;
}

#menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--accent-color);
    transition: var(--transition-normal);
}

#menu a:hover::after,
#menu a.current::after {
    width: 100%;
}

#menu a:hover,
#menu a.current {
    color: var(--accent-color);
}

/* Dropdown Menu */
.nav-item-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background-color: var(--bg-white);
    border-radius: var(--border-radius-sm);
    box-shadow: var(--shadow-lg);
    padding: 10px 0;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
    z-index: 100;
}

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

.dropdown-menu a {
    display: block;
    padding: 10px 20px !important;
    font-size: 0.95rem !important;
    font-family: var(--font-body) !important;
    font-weight: 500 !important;
    color: var(--text-main) !important;
}

.dropdown-menu a:hover {
    background-color: var(--bg-light);
    color: var(--accent-color) !important;
}

.dropdown-menu a::after {
    display: none !important;
}

/* Hamburger mobile menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1100;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 3px;
    transition: var(--transition-normal);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--primary-color) 100%);
    position: relative;
    padding: 80px 0 100px 0;
    color: var(--text-white);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 80% 20%, rgba(0, 180, 216, 0.15) 0%, transparent 60%);
    z-index: 1;
}

.hero .wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 50px;
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    color: var(--text-white);
    margin-bottom: 20px;
}

.hero-content h1 span {
    color: var(--accent-color);
}

.hero-content p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 35px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    border-radius: var(--border-radius-sm);
    transition: var(--transition-normal);
    cursor: pointer;
}

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

.btn-primary:hover {
    background-color: var(--text-white);
    color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}

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

.btn-secondary:hover {
    border-color: var(--text-white);
    background-color: rgba(255, 255, 255, 0.1);
}

.hero-image {
    position: relative;
}

.hero-image img {
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Info Box / Features (Card Columns) */
.features-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px auto;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: var(--bg-white);
    border-radius: var(--border-radius-md);
    padding: 40px 30px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(13, 44, 84, 0.1);
}

.feature-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: var(--border-radius-sm);
    background-color: rgba(0, 180, 216, 0.1);
    color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.feature-icon-wrapper img {
    width: 32px;
    height: 32px;
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    flex-grow: 1;
    margin-bottom: 25px;
}

.feature-link {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
}

.feature-link i {
    transition: var(--transition-fast);
}

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

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

/* ERP Automac Section */
.erp-section {
    padding: 80px 0;
    background-color: var(--bg-white);
}

.erp-section .wrap {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    align-items: center;
    gap: 60px;
}

.erp-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.erp-content p {
    color: var(--text-muted);
    margin-bottom: 30px;
    font-size: 1.05rem;
}

.erp-features {
    list-style: none;
    margin-bottom: 40px;
}

.erp-features li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    font-weight: 500;
}

.erp-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: 800;
    font-size: 1.2rem;
    top: -2px;
}

.erp-image img {
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-lg);
}

/* Statistics Counter */
.stats-section {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: var(--text-white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item h3 {
    font-size: 3.5rem;
    color: var(--accent-color);
    margin-bottom: 10px;
    font-family: var(--font-heading);
}

.stat-item p {
    font-size: 1.1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

/* Partners & Badges Section */
.partners-section {
    padding: 60px 0;
    background-color: var(--bg-light);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.partners-title {
    text-align: center;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    margin-bottom: 35px;
}

.partners-logos {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.partner-logo {
    height: 40px;
    filter: grayscale(100%);
    opacity: 0.5;
    transition: var(--transition-normal);
}

.partner-logo:hover {
    filter: grayscale(0%);
    opacity: 0.9;
}

/* Inner Page Layout & Layout Grid */
.page-hero {
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--primary-color) 100%);
    padding: 60px 0;
    color: var(--text-white);
    text-align: center;
}

.page-hero h1 {
    font-size: 2.8rem;
    color: var(--text-white);
    margin-bottom: 10px;
}

.page-hero p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
}

.inner-layout {
    padding: 60px 0;
    background-color: var(--bg-white);
}

.inner-layout .wrap {
    display: grid;
    grid-template-columns: 8fr 4fr;
    gap: 50px;
}

#main {
    min-height: 500px;
}

/* Sidebar Styling */
#side {
    background-color: var(--bg-light);
    padding: 30px;
    border-radius: var(--border-radius-md);
    border: 1px solid var(--border-color);
    height: fit-content;
}

#side ul {
    list-style: none;
}

#side li {
    margin-bottom: 30px;
    font-size: 0.95rem;
}

#side li:last-child {
    margin-bottom: 0;
}

#side a {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.1rem;
    display: block;
    margin-bottom: 8px;
}

#side a:hover {
    color: var(--accent-color);
}

#side hr {
    border: none;
    border-top: 1px solid var(--border-color);
    margin: 20px 0;
}

.side-contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 15px;
}

.side-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 0.95rem;
}

/* Products Page (Aba lateral e dados AJAX) */
.products-wrapper {
    display: grid;
    grid-template-columns: 3fr 9fr;
    gap: 30px;
}

#sliding-navigation {
    list-style: none;
    background-color: var(--bg-light);
    border-radius: var(--border-radius-md);
    padding: 15px;
    border: 1px solid var(--border-color);
}

#sliding-navigation li {
    margin-bottom: 10px;
}

#sliding-navigation li:last-child {
    margin-bottom: 0;
}

#sliding-navigation a {
    display: block;
    padding: 12px 18px;
    border-radius: var(--border-radius-sm);
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary-color);
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    transition: var(--transition-normal);
}

#sliding-navigation a:hover,
#sliding-navigation a.active-product {
    background-color: var(--primary-color);
    color: var(--text-white);
    border-color: var(--primary-color);
}

#rb {
    background-color: var(--bg-white);
    border-radius: var(--border-radius-md);
    padding: 40px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    min-height: 400px;
}

.pro-desc {
    animation: fadeIn 0.4s ease-in-out;
}

.pro-desc .imge {
    margin-bottom: 30px;
    overflow: hidden;
    border-radius: var(--border-radius-sm);
}

.pro-desc .imge img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.desc_sec {
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Contact Form Styling */
.uniForm {
    background-color: var(--bg-white);
    border-radius: var(--border-radius-md);
    padding: 40px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.uniForm fieldset {
    border: none;
}

.uniForm h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 10px;
}

.uniForm h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--accent-color);
}

.ctrlHolder {
    margin-bottom: 25px;
}

.ctrlHolder label {
    display: block;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 8px;
    color: var(--primary-color);
}

.ctrlHolder label em {
    color: #dc3545;
    font-style: normal;
    margin-right: 4px;
}

.textInput, .uniForm textarea {
    width: 100%;
    padding: 12px 18px;
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--border-color);
    background-color: var(--bg-light);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-fast);
}

.textInput:focus, .uniForm textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    background-color: var(--bg-white);
    box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.15);
}

.formHint {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 5px;
}

.buttonHolder {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.primaryAction {
    padding: 12px 24px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    border: none;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: var(--transition-normal);
}

.buttonHolder button[type="submit"] {
    background-color: var(--primary-color);
    color: var(--text-white);
}

.buttonHolder button[type="submit"]:hover {
    background-color: var(--accent-color);
    color: var(--primary-color);
}

.buttonHolder button[type="reset"] {
    background-color: var(--bg-light);
    color: var(--text-muted);
    border: 1px solid var(--border-color);
}

.buttonHolder button[type="reset"]:hover {
    background-color: var(--border-color);
    color: var(--text-main);
}

#result {
    padding: 15px 20px;
    border-radius: var(--border-radius-sm);
    background-color: #d1e7dd;
    color: #0f5132;
    border: 1px solid #badbcc;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 600;
}

#result img {
    width: 20px;
    height: 20px;
}

/* About Us Section & Sustentabilidade */
.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.about-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.about-card {
    background-color: var(--bg-light);
    border-radius: var(--border-radius-md);
    padding: 25px;
    border: 1px solid var(--border-color);
    text-align: center;
}

.about-card h4 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--primary-color);
}

.about-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.sustainability-banner {
    background: linear-gradient(135deg, #1d3557 0%, #457b9d 100%);
    color: var(--text-white);
    border-radius: var(--border-radius-md);
    padding: 40px;
    margin-top: 40px;
    position: relative;
    overflow: hidden;
}

.sustainability-banner::before {
    content: '☘';
    position: absolute;
    right: 20px;
    bottom: -30px;
    font-size: 12rem;
    opacity: 0.1;
}

.sustainability-banner h3 {
    color: var(--accent-color);
    margin-bottom: 15px;
}

.sustainability-banner p {
    font-size: 1.05rem;
    line-height: 1.8;
}

/* Services Page (Full Detailed) */
.services-container {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.service-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 50px;
}

.service-row:nth-child(even) {
    direction: rtl;
}

.service-row:nth-child(even) .service-text {
    direction: ltr;
}

.service-text h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.service-text p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 25px;
}

.service-points {
    list-style: none;
}

.service-points li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    font-weight: 500;
}

.service-points li::before {
    content: '✦';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: 800;
}

.service-image img {
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-lg);
}

/* Profile / Client Area */
#loginContainer {
    position: relative;
}

#loginButton {
    background-color: var(--primary-color);
    color: var(--text-white) !important;
    padding: 10px 20px;
    border-radius: var(--border-radius-sm);
    font-family: var(--font-heading);
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

#loginButton:hover, #loginButton.active {
    background-color: var(--accent-color);
    color: var(--primary-color) !important;
}

#loginBox {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 10px;
    background-color: var(--bg-white);
    border-radius: var(--border-radius-sm);
    box-shadow: var(--shadow-lg);
    padding: 25px;
    min-width: 280px;
    z-index: 100;
    border: 1px solid var(--border-color);
    display: none;
    animation: slideUp 0.3s ease;
}

#loginForm fieldset {
    border: none;
}

#loginForm label {
    display: block;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 6px;
    color: var(--primary-color);
}

#loginForm input[type="text"],
#loginForm input[type="password"] {
    width: 100%;
    padding: 8px 12px;
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--border-color);
    margin-bottom: 15px;
    font-family: var(--font-body);
}

#loginForm input[type="submit"] {
    width: 100%;
    padding: 10px;
    background-color: var(--primary-color);
    color: var(--text-white);
    border: none;
    border-radius: var(--border-radius-sm);
    font-family: var(--font-heading);
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-fast);
}

#loginForm input[type="submit"]:hover {
    background-color: var(--accent-color);
    color: var(--primary-color);
}

/* Profile Panel Workspace */
#control-box {
    display: flex;
    gap: 15px;
    background-color: var(--bg-light);
    padding: 15px 20px;
    border-radius: var(--border-radius-sm);
    margin-bottom: 30px;
    align-items: center;
    border: 1px solid var(--border-color);
}

#control-box a {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

#control-box a:hover {
    color: var(--accent-color);
}

#control-box img {
    width: 16px;
    height: 16px;
}

.tabbed_box {
    margin-top: 30px;
}

.tabbed_area {
    background-color: var(--bg-white);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

ul.tabs {
    list-style: none;
    display: flex;
    background-color: var(--bg-light);
    border-bottom: 1px solid var(--border-color);
}

ul.tabs li a {
    display: block;
    padding: 15px 25px;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-muted);
    border-right: 1px solid var(--border-color);
}

ul.tabs li a.active {
    background-color: var(--bg-white);
    color: var(--primary-color);
    border-bottom: 2px solid var(--accent-color);
}

.content {
    padding: 30px;
}

.content ul {
    list-style: none;
}

.content li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.content li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.content li a {
    display: flex;
    justify-content: space-between;
    color: var(--text-main);
    font-weight: 500;
}

.content li a:hover {
    color: var(--accent-color);
}

.content small {
    color: var(--text-muted);
}

/* Footer Styling */
#footer {
    background-color: var(--bg-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 70px 0 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-col h4 {
    color: var(--text-white);
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

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

.footer-col p {
    margin-bottom: 20px;
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 12px;
}

.footer-col li a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.footer-col li a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.footer-socials {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.footer-socials a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    transition: var(--transition-fast);
}

.footer-socials a:hover {
    background-color: var(--accent-color);
    color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 999;
    font-size: 32px;
    transition: var(--transition-normal);
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(10deg);
    background-color: #128c7e;
    color: white;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

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

/* Responsive Styles */
@media (max-width: 992px) {
    #header .wrap {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 0;
        padding: 15px 20px;
    }
    
    .header-top {
        border-bottom: none;
        padding-bottom: 0;
    }
    
    .header-actions {
        display: none !important;
    }
    
    .mobile-only {
        display: block !important;
    }
    
    #menu {
        display: none; /* Controlled by mobile menu JS */
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--bg-white);
        box-shadow: var(--shadow-md);
        padding: 20px;
        gap: 15px;
        border-top: 1px solid var(--border-color);
    }
    
    #menu.active {
        display: flex;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .hero .wrap {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .erp-section .wrap,
    .service-row {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .service-row:nth-child(even) {
        direction: ltr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .inner-layout .wrap {
        grid-template-columns: 1fr;
    }
    
    .products-wrapper {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .about-cards {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
}

/* ==========================================================================
   BLOG STYLING
   ========================================================================== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.blog-card {
    background-color: var(--bg-white);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(0, 180, 216, 0.15);
}

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

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-normal);
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--primary-color);
    color: var(--text-white);
    padding: 6px 12px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    z-index: 10;
}

.blog-card-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-card-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 12px;
    display: flex;
    gap: 15px;
}

.blog-card-title {
    font-size: 1.25rem;
    margin-bottom: 12px;
    line-height: 1.4;
    color: var(--primary-color);
}

.blog-card-excerpt {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.blog-card-link {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--accent-color);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

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

/* Blog Article Detail View */
.blog-post-detail {
    background-color: var(--bg-white);
    border-radius: var(--border-radius-md);
    padding: 40px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.blog-post-header {
    margin-bottom: 30px;
}

.blog-post-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    line-height: 1.2;
}

.blog-post-meta {
    display: flex;
    gap: 20px;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
}

.blog-post-image {
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    margin-bottom: 35px;
    height: 400px;
}

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

.blog-post-body {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333333;
}

.blog-post-body p {
    margin-bottom: 25px;
}

.blog-post-body h3 {
    font-size: 1.6rem;
    margin: 40px 0 20px 0;
    color: var(--primary-color);
}

.blog-post-body blockquote {
    border-left: 4px solid var(--accent-color);
    padding-left: 20px;
    font-style: italic;
    color: var(--primary-color);
    margin: 30px 0;
    font-size: 1.2rem;
}

.blog-post-body ul, .blog-post-body ol {
    margin-bottom: 25px;
    padding-left: 25px;
}

.blog-post-body li {
    margin-bottom: 10px;
}

/* Category Sidebar Layout */
.blog-layout {
    display: grid;
    grid-template-columns: 3fr 9fr;
    gap: 30px;
    align-items: start;
}

.blog-sidebar {
    background-color: var(--bg-white);
    border-radius: var(--border-radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    height: fit-content;
    overflow: hidden;
}

.category-menu {
    display: flex;
    flex-direction: column;
}

.category-menu a {
    display: block;
    padding: 14px 20px;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-fast);
}

.category-menu a:last-child {
    border-bottom: none;
}

.category-menu a.cat-sub {
    font-weight: 500;
    padding-left: 35px;
    background-color: #fafafa;
    color: var(--text-main);
    font-size: 0.95rem;
}

.category-menu a:hover {
    background-color: var(--bg-light);
    color: var(--accent-color);
}

.category-menu a.active {
    background-color: var(--primary-color);
    color: var(--text-white) !important;
    border-color: var(--primary-color);
}

/* Pagination Styles */
.blog-pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
    margin-bottom: 50px;
}

.blog-pagination a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 4px;
    border: 1px solid var(--border-color);
    background-color: var(--bg-white);
    color: var(--primary-color);
    font-weight: 700;
    transition: var(--transition-fast);
}

.blog-pagination a:hover,
.blog-pagination a.active {
    background-color: var(--primary-color);
    color: var(--text-white);
    border-color: var(--primary-color);
}

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

/* Client Ticker Carousel */
.clients-section {
    background-color: var(--bg-light);
    padding: 60px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
}

.clients-title {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--primary-color);
}

.logo-slider {
    display: flex;
    width: calc(250px * 14);
    animation: scrollInfinite 30s linear infinite;
}

.logo-slider:hover {
    animation-play-state: paused;
}

.slide-item {
    width: 250px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 30px;
}

.slide-item span {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--text-muted);
    opacity: 0.6;
    transition: var(--transition-fast);
    white-space: nowrap;
}

.slide-item:hover span {
    color: var(--accent-color);
    opacity: 1;
}

.slide-item img {
    max-height: 55px;
    max-width: 180px;
    object-fit: contain;
    filter: none;
    opacity: 0.8;
    transition: var(--transition-fast);
}

.slide-item:hover img {
    filter: grayscale(100%);
    opacity: 0.5;
}

@keyframes scrollInfinite {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-250px * 7));
    }
}

/* Premium Preloader Styles */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #040d17;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    opacity: 1;
    visibility: visible;
    overflow: hidden;
}

#preloader.loaded {
    opacity: 0;
    visibility: hidden;
}

.preloader-bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 1;
    transform: translate(-50%, -50%);
    object-fit: cover;
    opacity: 0.2;
    filter: brightness(0.4) contrast(1.2) saturate(1.1);
}

.preloader-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    background: rgba(7, 21, 36, 0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 40px 60px;
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    z-index: 10;
}

.preloader-logo {
    height: 50px;
    animation: pulseLogo 2s infinite ease-in-out;
}

.preloader-spinner-wrapper {
    position: relative;
    width: 140px;
    height: 3px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    margin: 10px 0;
}

.preloader-spinner {
    position: absolute;
    width: 40%;
    height: 100%;
    background-color: var(--accent-color);
    border-radius: 2px;
    animation: loadingBar 1.5s infinite ease-in-out;
}

.preloader-text {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
}

@keyframes pulseLogo {
    0%, 100% {
        transform: scale(0.95);
        filter: drop-shadow(0 0 5px rgba(0, 188, 212, 0.2));
    }
    50% {
        transform: scale(1.05);
        filter: drop-shadow(0 0 15px rgba(0, 188, 212, 0.6));
    }
}

@keyframes loadingBar {
    0% {
        left: -40%;
    }
    50% {
        left: 100%;
    }
    100% {
        left: -40%;
    }
}

/* RESTRUCTURING AND PROFESSIONAL LAYOUT CLASSES */
.tagline-accent {
    color: var(--accent-color);
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 10px;
    display: inline-block;
}

.stat-highlight {
    font-size: 3.5rem;
    color: var(--accent-color);
    margin-bottom: 10px;
    font-family: var(--font-heading);
    font-weight: 800;
}

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

.partner-logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary-color);
    opacity: 0.65;
    transition: var(--transition-fast);
}

.partner-logo:hover {
    opacity: 1;
    color: var(--accent-color);
}

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

.about-card {
    background-color: var(--bg-white);
    padding: 35px 30px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    text-align: center;
    transition: var(--transition-normal);
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(0, 180, 216, 0.2);
}

.card-icon {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.section-title {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.lead-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.sustainability-list {
    margin-top: 15px;
    margin-left: 20px;
    font-weight: 500;
    font-size: 1rem;
    list-style-type: square;
}

.sustainability-list li {
    margin-bottom: 10px;
    color: var(--text-muted);
}