/* Main Styles for OmniTeq Website */

/* CSS Variables */
:root {
    /* Color Palette - Premium OmniTeq Theme */
    --primary: #007bff;
    /* Vibrant electric blue */
    --primary-dark: #004c99;
    --secondary: #00cc99;
    /* Tech Cyan */
    --secondary-dark: #009973;

    /* Gradients for UI POP */
    --brand-gradient: linear-gradient(135deg, var(--primary), var(--secondary));

    /* Backgrounds & Text */
    --dark: #0f172a;
    /* Slate deep blue instead of flat black */
    --light: #f8fafc;
    /* Very soft off-white */
    --white: #ffffff;
    --gray: #64748b;
    /* Slate gray */
    --light-gray: #e2e8f0;
    --glass-bg: rgba(255, 255, 255, 0.85);

    /* Typography */
    --body-font: 'Roboto', sans-serif;
    --heading-font: 'Montserrat', sans-serif;

    /* Spacing */
    --section-padding: 60px 0;
    /* Increase global breathing room */
    --container-padding: 0 15px;

    /* Transitions */
    --theme-transition: background-color 0.3s cubic-bezier(0.4, 0, 0.2, 1),
        color 0.3s cubic-bezier(0.4, 0, 0.2, 1),
        border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark Theme Variables - Premium Slate Palette */
.dark-theme {
    --white: #0f172a;
    /* Deepest Base */
    --light: #1e293b;
    /* Primary Surface */
    --dark: #f1f5f9;
    /* High Contrast Text */
    --gray: #94a3b8;
    /* Muted Text */
    --light-gray: #334155;
    /* Boarders & UI Elements */
    --glass-bg: rgba(15, 23, 42, 0.8);

    /* Vibrant Contrast Colors */
    --primary: #38bdf8;
    /* Sky Blue */
    --primary-dark: #0ea5e9;
    --secondary: #2dd4bf;
    /* Teal */

    /* Refined Brand Gradient */
    --brand-gradient: linear-gradient(135deg, #0ea5e9, #2dd4bf);

    /* Shadows for Depth */
    --card-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    --hover-shadow: 0 25px 60px rgba(14, 165, 233, 0.15);
}

/* Global Transition for Theme Switching */
body,
header,
footer,
section,
div,
h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
i,
.service-card,
.product-card,
.stat-item,
.btn-primary,
.btn-secondary,
input,
textarea,
select {
    transition: var(--theme-transition);
}

/* Theme Toggle Button Styles - Premium Slider */
.theme-toggle {
    background: var(--light-gray);
    border: none;
    cursor: pointer;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    color: var(--primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.theme-toggle i {
    font-size: 1.2rem;
    position: absolute;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.theme-toggle .fa-sun {
    transform: translateY(0);
    opacity: 1;
}

.theme-toggle .fa-moon {
    transform: translateY(30px);
    opacity: 0;
}

.dark-theme .theme-toggle .fa-sun {
    transform: translateY(-30px);
    opacity: 0;
}

.dark-theme .theme-toggle .fa-moon {
    transform: translateY(0);
    opacity: 1;
    color: #fcd34d;
}

.theme-toggle:hover {
    transform: translateY(-2px);
    background-color: var(--primary);
    color: var(--white);
    box-shadow: 0 8px 20px rgba(0, 123, 255, 0.25);
}

.theme-toggle:hover .fa-moon {
    color: var(--white);
}

/* Dark Mode Specific Overrides */
.dark-theme .theme-toggle {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Additional Dark Mode Refinements */

.dark-theme .service-card,
.dark-theme .product-card,
.dark-theme .stat-item,
.dark-theme .auth-card {
    background-color: var(--light);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: var(--card-shadow);
    backdrop-filter: blur(8px);
}

.dark-theme .service-card:hover,
.dark-theme .product-card:hover {
    border-color: rgba(56, 189, 248, 0.3);
    box-shadow: var(--hover-shadow);
    transform: translateY(-8px);
}

.dark-theme .service-icon {
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.1), rgba(45, 212, 191, 0.05));
}

.dark-theme #header {
    background-color: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

.dark-theme .nav-menu a {
    color: var(--dark);
}

.dark-theme .nav-menu a:hover,
.dark-theme .nav-menu a.active {
    color: var(--primary);
}

.dark-theme .nav-menu a.active:after {
    background-color: var(--primary);
}

.dark-theme input,
.dark-theme textarea,
.dark-theme select,
.dark-theme .styled-form,
.dark-theme .auth-input {
    background-color: #0f172a;
    color: var(--dark);
    border-color: #334155;
}

.dark-theme input:focus,
.dark-theme textarea:focus,
.dark-theme select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.1);
}

.dark-theme input::placeholder,
.dark-theme textarea::placeholder {
    color: #475569;
}

.dark-theme .alt-bg {
    background-color: #020617;
}

.dark-theme #footer {
    background-color: #020617;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Sections & Page Parity */
.dark-theme .service-card-footer {
    border-top-color: rgba(255, 255, 255, 0.05);
}

.dark-theme .testimonial-card,
.dark-theme .testimonial-content {
    background-color: var(--light);
    color: var(--dark);
    box-shadow: var(--card-shadow);
}

.dark-theme .testimonial-content blockquote {
    color: var(--dark);
}

.dark-theme .testimonial-author img {
    border: 2px solid var(--primary);
}

.dark-theme .mission-box,
.dark-theme .vision-box,
.dark-theme .values-box {
    background-color: var(--light);
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.dark-theme .team-member {
    background-color: var(--light);
    box-shadow: var(--card-shadow);
}

.dark-theme .member-info h3 {
    color: var(--dark);
}

.dark-theme .bio {
    color: var(--gray);
}

.dark-theme .partner-logo {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.dark-theme .partner-logo img {
    filter: brightness(0) invert(1);
    /* Make logos white in dark mode if they are dark */
    opacity: 0.8;
}

.dark-theme #cta {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dark-theme .faq-item {
    border-bottom-color: rgba(255, 255, 255, 0.05);
}

.dark-theme .faq-question h3 {
    color: var(--dark);
}

.dark-theme .faq-answer {
    color: var(--gray);
}

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Roboto:wght@300;400;500&display=swap');

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--white);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--heading-font);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
    color: var(--dark);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 15px;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-dark);
}

ul,
ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
}

section {
    padding: var(--section-padding);
}


.section-header {
    text-align: center;
    margin-bottom: 30px;
}

.tight-section {
    padding: 20px 0 !important;
}

.tight-container {
    padding: 0 15px !important;
}

.tight-header {
    margin-bottom: 15px !important;
}

.section-header h2 {
    position: relative;
    display: inline-block;
    margin-bottom: 15px;
}

.section-header h2:after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background-color: var(--secondary);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.section-header p {
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
}

/* Buttons */
.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 8px;
    /* Slightly squarer for tech feel */
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--brand-gradient);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.5);
    color: var(--white);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background-color: rgba(0, 123, 255, 0.05);
}

/* Form Styling */
form {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background-color: var(--light-gray);
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
}

label {
    margin-bottom: 6px;
    font-weight: 600;
    color: var(--dark);
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
    padding: 10px 15px;
    font-size: 1rem;
    border: 1px solid var(--gray);
    border-radius: 5px;
    transition: border-color 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus {
    border-color: var(--primary);
    outline: none;
}

textarea {
    resize: vertical;
    min-height: 120px;
}

/* Responsive Form Styles */
.styled-form {
    max-width: 800px;
    margin: 0 auto;
    padding: 30px;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.styled-form:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.styled-form .form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.styled-form .form-group {
    flex: 1;
    min-width: 250px;
    margin-bottom: 20px;
}

.styled-form .full-width {
    flex-basis: 100%;
    min-width: 100%;
}

.styled-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark);
}

.styled-form input[type="text"],
.styled-form input[type="email"],
.styled-form input[type="tel"],
.styled-form input[type="date"],
.styled-form select,
.styled-form textarea {
    width: 100%;
    padding: 12px 15px;
    font-size: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: var(--white);
    transition: all 0.3s ease;
}

.styled-form input:focus,
.styled-form select:focus,
.styled-form textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
    outline: none;
}

.styled-form input::placeholder,
.styled-form textarea::placeholder {
    color: #aaa;
}

.styled-form textarea {
    resize: vertical;
    min-height: 120px;
}

.styled-form small {
    display: block;
    margin-top: 5px;
    color: var(--gray);
    font-size: 0.85rem;
}

.styled-form .form-controls {
    display: flex;
    justify-content: flex-end;
    margin-top: 10px;
}

.styled-form button[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 30px;
    font-weight: 500;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: var(--primary);
    color: var(--white);
}

.styled-form button[type="submit"]:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

/* Custom File Upload Styling */
.file-upload-container {
    margin-bottom: 30px;
}

.custom-file-upload {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.custom-file-upload input[type="file"] {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.file-upload-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    background-color: var(--light-gray);
    color: var(--dark);
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.file-upload-label:hover {
    background-color: #e0e0e0;
}

.selected-files {
    color: var(--gray);
    flex: 1;
    font-size: 0.9rem;
}

/* Form validation styling */
.styled-form input.error,
.styled-form select.error,
.styled-form textarea.error {
    border-color: #ff3860;
}

.form-message {
    padding: 12px 15px;
    margin-top: 20px;
    border-radius: 5px;
    text-align: center;
}

.form-message.success {
    background-color: #f0fff4;
    color: #257953;
    border: 1px solid #48c774;
}

.form-message.error {
    background-color: #fff5f7;
    color: #cc0f35;
    border: 1px solid #ff3860;
}

/* ===========================
   Header / Navbar - Full Width
   =========================== */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(18px) saturate(180%);
    -webkit-backdrop-filter: blur(18px) saturate(180%);
    border-bottom: 1px solid rgba(148, 163, 184, 0.15);
    z-index: 1000;
    padding: 0;
    transition: background-color 0.3s ease, box-shadow 0.35s ease, border-color 0.3s ease;
    box-shadow: 0 1px 12px rgba(0, 0, 0, 0.06);
}

#header.sticky {
    box-shadow: 0 4px 32px rgba(0, 0, 0, 0.12);
    border-color: rgba(148, 163, 184, 0.2);
}

.dark-theme #header {
    background-color: rgba(15, 23, 42, 0.85);
    border-bottom-color: rgba(255, 255, 255, 0.06);
    box-shadow: 0 1px 12px rgba(0, 0, 0, 0.3);
}

.dark-theme #header.sticky {
    box-shadow: 0 4px 32px rgba(0, 0, 0, 0.4);
}

#header .container {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    height: 64px;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0 10% 0 10%;
}

.logo {
    justify-self: start;
    z-index: 1001;
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 34px;
    width: auto;
    display: block;
    transition: opacity 0.3s ease;
}

.logo img:hover {
    opacity: 0.85;
}

.nav-menu {
    display: flex;
    gap: 6px;
    margin: 0;
    list-style: none;
    align-items: center;
    justify-self: center;
}

.nav-menu a {
    color: var(--dark);
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.1px;
    position: relative;
    padding: 4px 12px;
    transition: color 0.2s ease;
    text-decoration: none;
}

.nav-menu a::after {
    content: none;
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--brand-gradient);
    bottom: -2px;
    left: 12px;
    right: 12px;
    transition: width 0.25s ease;
    border-radius: 2px;
}

.nav-menu a:hover {
    color: var(--primary);
    text-decoration: none;
}

.nav-menu a:hover::after {
    width: 0;
}

.nav-menu a.active {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.nav-menu a.active::after {
    width: 0;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    justify-self: end;
}

/* Divider before CTA button */
.nav-actions .cta-button {
    margin-left: 8px;
    position: relative;
}

.nav-actions .cta-button::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 22px;
    background-color: rgba(100, 116, 139, 0.3);
}

/* Login / Register auth links in nav */
.nav-auth-link {
    color: var(--dark);
    font-weight: 500;
    font-size: 0.875rem;
    padding: 6px 10px;
    border-radius: 6px;
    transition: color 0.2s ease;
    white-space: nowrap;
    opacity: 0.85;
    text-decoration: none;
}

.nav-auth-link:hover {
    color: var(--primary);
    opacity: 1;
    text-decoration: none;
}

.nav-auth-link.active {
    color: var(--primary);
    opacity: 1;
    font-weight: 600;
    text-decoration: none;
}

.nav-auth-btn {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.875rem;
    padding: 6px 14px;
    border-radius: 6px;
    border: 1.5px solid var(--primary);
    transition: all 0.2s ease;
    white-space: nowrap;
    text-decoration: none;
}

.nav-auth-btn:hover {
    background-color: var(--primary);
    color: #fff;
    text-decoration: none;
}

.nav-auth-btn.active {
    background-color: var(--primary);
    color: #fff;
    text-decoration: none;
}

.cta-button {
    background: var(--brand-gradient);
    color: #fff !important;
    padding: 8px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.3px;
    box-shadow: 0 3px 12px rgba(0, 123, 255, 0.3);
    transition: all 0.25s ease;
    white-space: nowrap;
    text-decoration: none !important;
}

.cta-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.45);
    color: #fff !important;
    filter: brightness(1.08);
    text-decoration: none !important;
}

.cta-button:visited,
.cta-button:active {
    text-decoration: none !important;
}

/* Hamburger */
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 6px;
    z-index: 1001;
}

.bar {
    display: block;
    width: 22px;
    height: 2px;
    background-color: var(--dark);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-radius: 2px;
}

.hamburger.active .bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.hamburger.active .bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Hero Section */
#hero {
    padding-top: 150px;
    /* Slightly more space for fixed header */
    padding-bottom: 100px;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    /* Deep slate tech blue */
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

/* Subtle glow blob behind hero to tie in logo colors */
#hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 123, 255, 0.15) 0%, rgba(0, 204, 153, 0.05) 50%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

#hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: #ffffff;
    line-height: 1.1;
    letter-spacing: -1px;
}

.hero-content h1 span {
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.85);
    /* Slightly muted white for readability */
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.hero-image {
    position: relative;
    z-index: 2;
}

.hero-image img {
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

/* Services Snapshot Section */
#services-snapshot {
    background-color: var(--white);
}

/* Services Grid Layout */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 50px;
}

.service-card {
    background-color: var(--white);
    border-radius: 16px;
    /* Modern 16px rounded corners */
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    /* Smooth, diffuse shadow */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0, 0, 0, 0.03);
    /* Barely visible border against light bg */
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 123, 255, 0.1);
    /* Subtle brand-colored glowing shadow */
    border-color: rgba(0, 123, 255, 0.2);
}

.service-card-header {
    background-color: transparent;
    padding: 30px 20px 10px;
    text-align: center;
    border-bottom: none;
    /* Remove harsh gray lines */
}

.service-card .service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.1), rgba(0, 204, 153, 0.05));
    /* Soft gradient base */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    border: none;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    /* Pop logo slightly on card hover */
}

.service-card .service-icon i {
    font-size: 32px;
    color: var(--primary);
}

.service-card-header h3 {
    font-size: 1.5rem;
    color: var(--dark);
    margin: 0;
    font-weight: 700;
}

.service-card-body {
    padding: 25px 20px;
    flex: 1;
}

.service-card-body p {
    margin-bottom: 20px;
    color: var(--gray);
    line-height: 1.6;
}

.service-features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-features-list li {
    margin-bottom: 10px;
    padding-left: 28px;
    position: relative;
    color: var(--dark);
}

.service-features-list li i {
    position: absolute;
    left: 0;
    top: 3px;
    color: var(--secondary);
}

.service-card-footer {
    padding: 20px;
    text-align: center;
    border-top: 1px solid var(--light-gray);
}

.service-card-footer .btn-secondary {
    width: 100%;
    padding: 10px;
}

/* Responsive styles for services grid */
@media (max-width: 1199px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        max-width: 500px;
        margin: 0 auto;
    }
}

/* Products Highlight Section */
#products-highlight {
    background-color: var(--light);
}

.products-slider {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding: 20px 5px 40px;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) transparent;
    -webkit-overflow-scrolling: touch;
}

.products-slider::-webkit-scrollbar {
    height: 6px;
}

.products-slider::-webkit-scrollbar-track {
    background: transparent;
}

.products-slider::-webkit-scrollbar-thumb {
    background-color: var(--primary);
    border-radius: 20px;
    border: 3px solid transparent;
}

.product-card {
    flex: 0 0 350px;
    scroll-snap-align: start;
    background-color: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0, 0, 0, 0.02);
}

@media (max-width: 768px) {
    .product-card {
        flex: 0 0 85%;
    }
}

.product-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0, 102, 204, 0.12);
    border-color: rgba(0, 102, 204, 0.1);
}

.product-image {
    height: 200px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-content {
    padding: 20px;
    text-align: center;
}

.product-content h3 {
    margin-bottom: 10px;
}

.product-content p {
    color: var(--gray);
    margin-bottom: 20px;
}

/* Stats Section */
#stats {
    background: linear-gradient(135deg, var(--dark) 0%, #1e293b 100%);
    color: var(--white);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

#stats::before {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 204, 153, 0.1) 0%, rgba(0, 123, 255, 0.05) 50%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.stats-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.stat-item {
    flex: 1;
    min-width: 200px;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.03);
    /* Barely visible glassmorphism */
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(10px);
}

.stat-item:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
    /* Increase opacity on hover */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.1);
}

.stat-value {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 5px;
    color: var(--white);
    font-family: var(--heading-font);
    position: relative;
    display: inline-block;
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-value::after {
    content: '+';
    font-size: 2rem;
    position: absolute;
    top: 5px;
    right: -20px;
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Testimonials Section */
#testimonials {
    background-color: var(--white);
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background-color: var(--light);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.testimonial-content {
    background-color: var(--white);
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
}

.quote-icon {
    position: absolute;
    top: 30px;
    left: 30px;
    color: var(--primary);
    opacity: 0.1;
    font-size: 36px;
}

.testimonial-content blockquote {
    border: none;
    padding: 0;
    margin: 0 0 30px 0;
    font-size: 1.2rem;
    font-style: italic;
    color: var(--dark);
    line-height: 1.6;
    text-align: center;
    padding-top: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    margin: 0;
    font-size: 1.1rem;
}

.author-info p {
    margin: 5px 0 0;
    font-size: 0.9rem;
    color: var(--gray);
}

/* Reveal Animations */
.reveal-left,
.reveal-right,
.reveal-up {
    opacity: 0;
    transition: all 0.8s ease;
}

.reveal-left {
    transform: translateX(-50px);
}

.reveal-right {
    transform: translateX(50px);
}

.reveal-up {
    transform: translateY(50px);
}

.reveal-left.visible,
.reveal-right.visible,
.reveal-up.visible {
    opacity: 1;
    transform: translate(0);
}

/* CTA Section */
#cta {
    background-color: var(--secondary);
    color: var(--white);
    text-align: center;
    padding: 60px 0;
}

#cta h2 {
    color: var(--white);
    margin-bottom: 15px;
}

#cta p {
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Global Toast Notifications --- */
.omni-toast {
    position: fixed !important;
    top: 30px !important;
    right: 30px !important;
    background: #ffffff !important;
    border-radius: 12px !important;
    padding: 16px 24px !important;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4) !important;
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
    z-index: 999999 !important;
    transform: translateX(120%) scale(0.9) !important;
    opacity: 0 !important;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) !important;
    border-left: 6px solid #0066cc !important;
    min-width: 320px !important;
    max-width: 450px !important;
    pointer-events: none !important;
}

.dark-theme .omni-toast {
    background: #1e293b !important;
    border-color: #334155 !important;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.6) !important;
}

.omni-toast.show {
    transform: translateX(0) scale(1) !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

.omni-toast i {
    font-size: 1.5rem !important;
    flex-shrink: 0 !important;
}

.omni-toast span {
    font-weight: 600 !important;
    color: #333333 !important;
    font-size: 1rem !important;
    line-height: 1.4 !important;
}

.dark-theme .omni-toast span {
    color: #f1f5f9 !important;
}

.omni-toast.success {
    border-left-color: #10b981 !important;
}

.omni-toast.success i {
    color: #10b981 !important;
}

.omni-toast.error {
    border-left-color: #ef4444 !important;
}

.omni-toast.error i {
    color: #ef4444 !important;
}

.omni-toast.info {
    border-left-color: #0066cc !important;
}

.omni-toast.info i {
    color: #0066cc !important;
}

.omni-toast.info i {
    color: var(--primary);
}

#cta .btn-primary {
    background: var(--brand-gradient);
    color: #ffffff;
    border: none;
}

#cta .btn-primary:hover {
    background: var(--brand-gradient);
    color: #000000;
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.5);
    transform: translateY(-3px);
}

/* Footer Section */
#footer {
    background-color: var(--dark);
    color: #e2e8f0;
    padding-top: 70px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 30px;
    margin-bottom: 50px;
}

.footer-logo {
    height: 40px;
    margin-bottom: 20px;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    font-size: 1.2rem;
}

.social-icons a:hover {
    background-color: var(--primary);
}

.footer-links h3,
.footer-services h3,
.footer-contact h3 {
    color: #ffffff;
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
}

.footer-links h3:after,
.footer-services h3:after,
.footer-contact h3:after {
    content: '';
    position: absolute;
    width: 40px;
    height: 2px;
    background-color: var(--secondary);
    bottom: -10px;
    left: 0;
}

.footer-links ul li,
.footer-services ul li {
    margin-bottom: 10px;
}

.footer-links ul li a,
.footer-services ul li a {
    color: #e2e8f0;
}

.footer-links ul li a:hover,
.footer-services ul li a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

.footer-contact p {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.footer-contact p i {
    margin-right: 10px;
    color: var(--secondary);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    color: #e2e8f0;
    font-size: 0.9rem;
}

.footer-bottom-links a:hover {
    color: var(--secondary);
}

/* Service Cards Grid */
.service-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    border-top: 4px solid var(--primary);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-card.featured {
    border-top: 4px solid var(--secondary);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.service-card.featured:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Fix for content hiding behind fixed header */
#page-banner {
    padding-top: 120px;
    padding-bottom: 50px;
    background-color: var(--primary);
    color: var(--white);
    text-align: center;
}

.dark-theme #page-banner {
    background-color: var(--white);
    background-image: linear-gradient(135deg, rgba(14, 165, 233, 0.05), rgba(45, 212, 191, 0.08));
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

#page-banner h1 {
    color: var(--white);
    margin-bottom: 10px;
}

.dark-theme #page-banner h1 {
    color: var(--dark);
}

#page-banner p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
}

.dark-theme #page-banner p {
    color: var(--gray);
}

/* Add scroll margin to section targets */
section[id] {
    scroll-margin-top: 80px;
}

/* Sticky header adjustments - removed redundant style to maintain premium glass pill design */


/* Add a spacer for pages without banner */
.header-spacer {
    height: 80px;
    display: block;
}

/* About Page Styles */
.about-banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

/* Story Section */
.story-content {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-top: 50px;
}

.story-image {
    flex: 0 0 45%;
}

.story-image img {
    border-radius: 8px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.story-image img:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.story-text {
    flex: 0 0 55%;
}

.lead-text {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 20px;
    line-height: 1.5;
}

.story-stats {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}

.story-stats .stat-item {
    text-align: center;
    background-color: var(--light);
    padding: 15px;
    border-radius: 8px;
    min-width: 100px;
    flex: 1;
}

.story-stats .stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 5px;
}

.story-stats .stat-label {
    display: block;
    font-size: 0.9rem;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Mission Vision Section */
.alt-bg {
    background-color: var(--light);
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.mission-box,
.vision-box,
.values-box {
    background-color: var(--white);
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.mission-box:hover,
.vision-box:hover,
.values-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.mission-box .icon {
    background-color: rgba(0, 102, 204, 0.1);
}

.vision-box .icon {
    background-color: rgba(0, 204, 153, 0.1);
}

.values-box .icon {
    background-color: rgba(255, 102, 102, 0.1);
}

.icon i {
    font-size: 24px;
}

.mission-box .icon i {
    color: var(--primary);
}

.vision-box .icon i {
    color: var(--secondary);
}

.values-box .icon i {
    color: #ff6666;
}

.values-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.values-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px;
}

.values-list li i {
    color: var(--secondary);
    margin-right: 10px;
    margin-top: 4px;
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.team-member {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.member-image {
    position: relative;
    overflow: hidden;
}

.member-image img {
    width: 100%;
    height: auto;
    transition: all 0.4s ease;
}

.member-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 102, 204, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
}

.member-image:hover .member-overlay {
    opacity: 1;
}

.member-image:hover img {
    transform: scale(1.1);
}

.member-overlay .social-links {
    display: flex;
    gap: 15px;
}

.member-overlay .social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 18px;
    transition: all 0.3s ease;
}

.member-overlay .social-links a:hover {
    background-color: var(--white);
    color: var(--primary);
}

.member-info {
    padding: 20px;
}

.member-info h3 {
    margin-top: 0;
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.position {
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 10px;
    display: block;
}

.bio {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Partners Section */
.partners-logo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.partner-logo {
    background-color: var(--white);
    border-radius: 8px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.partner-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Products Page Styles */
.products-banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

/* Products Overview Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.product-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.feature-list li,
.use-cases-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
    color: var(--dark);
}

.feature-list li i,
.use-cases-list li i {
    color: var(--secondary);
    margin-right: 10px;
    margin-top: 4px;
    flex-shrink: 0;
}

.product-actions {
    display: flex;
    flex-direction: row;
    gap: 15px;
    margin-top: 20px;
    justify-content: flex-start;
}

.product-actions a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 15px;
    white-space: nowrap;
    flex: 1;
    text-align: center;
}

.product-actions a i {
    margin-right: 8px;
}

.product-detail-gallery {
    width: 100%;
}

.gallery-container {
    display: flex;
    flex-direction: column;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--light-gray);
    overflow: hidden;
}

.main-image {
    width: 100%;
    height: auto;
    overflow: hidden;
    border-bottom: 1px solid var(--light-gray);
}

.main-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.main-image:hover img {
    transform: scale(1.05);
}

.gallery-thumbnails-side {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    padding: 15px;
    white-space: nowrap;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) var(--light);
}

.gallery-thumbnails-side::-webkit-scrollbar {
    height: 6px;
}

.gallery-thumbnails-side::-webkit-scrollbar-thumb {
    background-color: var(--primary);
    border-radius: 3px;
}

.gallery-thumbnails-side::-webkit-scrollbar-track {
    background-color: var(--light);
    border-radius: 3px;
}

.thumbnail-item {
    flex: 0 0 auto;
    width: 80px;
    height: 60px;
    border: 2px solid transparent;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.thumbnail-item.active {
    border-color: var(--primary);
}

.thumbnail-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Product Comparison */
.comparison-table-wrapper {
    overflow-x: auto;
    margin-top: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    background-color: var(--white);
    overflow: hidden;
}

.comparison-table th,
.comparison-table td {
    padding: 15px;
    text-align: center;
    border-bottom: 1px solid #f0f0f0;
    font-weight: 900;
}

.comparison-table th {
    background-color: var(--primary);
    color: var(--white);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.comparison-table th:first-child {
    text-align: left;
    border-top-left-radius: 8px;
}

.comparison-table th:last-child {
    border-top-right-radius: 8px;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table td:first-child {
    text-align: left;
    font-weight: 500;
    color: var(--dark);
}

.comparison-table i.fa-check {
    color: #28a745;
}

.comparison-table i.fa-times {
    color: #dc3545;
}

/* Product Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.testimonial-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-content {
    position: relative;
    margin-bottom: 20px;
}

.quote-icon {
    color: var(--primary);
    opacity: 0.2;
    font-size: 24px;
    position: absolute;
    top: 0;
    left: 0;
}

.testimonial-content p {
    font-style: italic;
    color: var(--dark);
    line-height: 1.6;
    padding-left: 35px;
    margin: 0;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    margin: 0 0 5px 0;
    font-size: 1.1rem;
}

.author-info p {
    margin: 0;
    color: var(--gray);
    font-size: 0.9rem;
}

/* CTA Section Enhancement */
.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 25px;
    flex-wrap: wrap;
}

.cta-buttons .btn-primary,
.cta-buttons .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Portfolio Page Styles */
.portfolio-items {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.portfolio-item {
    margin-bottom: 20px;
    transition: all 0.3s ease, opacity 0.3s ease;
    opacity: 1;
}

.project-card {
    display: grid;
    grid-template-columns: 60% 40%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Filter Buttons */
.filter-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 10px 25px;
    border-radius: 30px;
    background-color: var(--white);
    color: var(--primary);
    border: 2px solid var(--primary);
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    outline: none;
}

.filter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 102, 204, 0.2);
}

.filter-btn.active {
    background-color: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    box-shadow: 0 4px 8px rgba(0, 102, 204, 0.3);
}

.filter-btn:focus {
    outline: none;
}

/* Resources Page Styles */
#resources-intro {
    padding-bottom: 20px;
}

.resources-intro-text {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    color: var(--gray);
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Resources Filter */
#resource-filter {
    padding-top: 10px;
    padding-bottom: 30px;
}

/* Resources Grid */
.resources-items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

.resource-item {
    transition: all 0.3s ease, opacity 0.3s ease;
    opacity: 1;
}

.resource-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid var(--light-gray);
}

.resource-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    transform: translateY(-5px);
}

.resource-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--light);
    padding: 30px;
    border-bottom: 1px solid var(--light-gray);
}

.resource-icon i {
    font-size: 2.5rem;
    color: var(--primary);
}

.resource-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.resource-content h3 {
    color: var(--primary-dark);
    margin-bottom: 12px;
    font-size: 1.2rem;
}

.resource-content p {
    margin-bottom: 20px;
    color: var(--gray);
    line-height: 1.6;
    flex: 1;
}

.resource-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
    font-size: 0.85rem;
}

.resource-meta span {
    display: flex;
    align-items: center;
    color: var(--gray);
}

.resource-meta span i {
    margin-right: 8px;
    color: var(--primary);
    font-size: 0.9rem;
}

.resource-download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    background-color: var(--white);
    color: var(--primary);
    border: 2px solid var(--primary);
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
    margin-top: auto;
}

.resource-download-btn i {
    margin-right: 8px;
}

.resource-download-btn:hover {
    background-color: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

/* Responsive Styles for Resources Grid */
@media (max-width: 1200px) {
    .resources-items {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .resources-items {
        grid-template-columns: 1fr;
    }
}

/* Contact Info Cards */
#contact-info {
    padding: 50px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 20px;
}

.contact-card {
    background-color: var(--white);
    border-radius: 10px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid var(--light-gray);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.contact-icon {
    width: 70px;
    height: 70px;
    background-color: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    border: 2px solid var(--primary);
}

.contact-icon i {
    font-size: 30px;
    color: var(--primary);
}

.contact-card h3 {
    font-size: 1.2rem;
    color: var(--primary-dark);
    margin-bottom: 15px;
}

.contact-card p {
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 0;
}

/* FAQ Section */
.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--white);
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--light-gray);
}

.faq-item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.faq-question {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    position: relative;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--primary-dark);
    flex: 1;
    padding-right: 20px;
}

.faq-toggle {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--light);
    border-radius: 50%;
    color: var(--primary);
    transition: all 0.3s ease;
}

.faq-toggle i {
    transition: all 0.3s ease;
}

.faq-question.active .faq-toggle {
    background-color: var(--primary);
    color: var(--white);
}

.faq-question.active .faq-toggle i {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-answer p {
    margin: 0;
    padding: 0 0 20px 0;
    color: var(--gray);
    line-height: 1.7;
}

/* Show FAQ answer when active */
.faq-question.active+.faq-answer {
    padding-top: 5px;
}

/* WhatsApp Contact Section */
#whatsapp-contact {
    padding: 30px 0;
    margin-bottom: 40px;
    background-color: #f0f9ff;
    /* Lighter blue background */
    border-top: 1px solid rgba(0, 102, 204, 0.1);
    border-bottom: 1px solid rgba(0, 102, 204, 0.1);
}

.dark-theme #whatsapp-contact {
    background-color: rgba(37, 211, 102, 0.05);
    /* Faint WhatsApp green glass background */
    border-top: 1px solid rgba(37, 211, 102, 0.1);
    border-bottom: 1px solid rgba(37, 211, 102, 0.1);
}

.dark-theme .whatsapp-text h2 {
    color: var(--dark);
}

.whatsapp-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.whatsapp-icon {
    width: 80px;
    height: 80px;
    background-color: #25D366;
    /* WhatsApp green */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

.whatsapp-icon i {
    font-size: 40px;
    color: var(--white);
}

.whatsapp-text {
    flex: 1;
}

.whatsapp-text h2 {
    font-size: 1.6rem;
    color: var(--primary-dark);
    margin-bottom: 10px;
}

.whatsapp-text p {
    color: var(--gray);
    margin-bottom: 15px;
    line-height: 1.5;
}

.whatsapp-text .btn-primary {
    background-color: #25D366;
    /* WhatsApp green */
    border-color: #25D366;
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
}

.whatsapp-text .btn-primary:hover {
    background-color: #128C7E;
    /* Darker WhatsApp green */
    border-color: #128C7E;
    transform: translateY(-2px);
}

.whatsapp-text .btn-primary i {
    margin-right: 8px;
}

/* Responsive styles for WhatsApp section */
@media (max-width: 767px) {
    .whatsapp-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .whatsapp-icon {
        width: 70px;
        height: 70px;
    }

    .whatsapp-icon i {
        font-size: 35px;
    }

    .whatsapp-text h2 {
        font-size: 1.4rem;
    }
}

/* Services Navigation in Card Grid */
.services-nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin: 40px 0;
}

.service-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 25px 15px;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-decoration: none;
    border: 1px solid var(--light-gray);
}

.service-nav-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.nav-icon {
    width: 60px;
    height: 60px;
    background-color: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.nav-icon i {
    font-size: 24px;
    color: var(--primary);
    transition: all 0.3s ease;
}

.service-nav-item span {
    font-weight: 600;
    color: var(--dark);
    font-size: 1.1rem;
}

.service-nav-item:hover .nav-icon {
    background-color: var(--primary);
}

.service-nav-item:hover .nav-icon i {
    color: var(--white);
}

/* Responsive styles */
@media (max-width: 991px) {
    .services-nav {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .services-nav {
        grid-template-columns: 1fr;
    }
}

/* Service Detail Layout */
.service-detail {
    padding: 60px 0;
}

.service-header {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.service-header .service-icon {
    margin-right: 15px;
}

.service-header h2 {
    margin: 0;
}

.service-content {
    display: flex;
    gap: 30px;
}

/* Service Image - 45% */
.service-image {
    flex: 0 0 45%;
    max-width: 45%;
    max-height: min-content;
    display: flex;
    flex-direction: column;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.service-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    border-radius: 8px;
    background-color: var(--white);
}

.dark-theme .service-image img {
    background-color: var(--light);
}

.image-overlay {
    margin-top: auto;
    background: var(--light);
    padding: 15px;
    text-align: center;
    border-top: 1px solid var(--light-gray);
}

.dark-theme .image-overlay {
    background: var(--dark-secondary);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.image-overlay span {
    display: block;
    font-size: 1rem;
    font-weight: 500;
    color: var(--gray);
}

.service-content.reverse {
    flex-direction: row-reverse;
}

.service-actions {
    display: flex;
    flex-direction: row;
    gap: 15px;
    margin-top: 20px;
    justify-content: flex-start;
}

.service-actions a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 15px;
    white-space: nowrap;
    flex: 1;
    text-align: center;
}

.service-actions a i {
    margin-right: 8px;
}

/* Service Text */
.service-text {
    flex: 1;
}

.service-description {
    font-size: 1.1rem;
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 25px;
}

.service-feature-group {
    margin-bottom: 30px;
}

.service-feature-group h3 {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    color: var(--primary-dark);
}

.service-feature-group h3 i {
    margin-right: 10px;
    color: var(--secondary);
}

.service-features {
    columns: 2;
    column-gap: 30px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.service-features li {
    margin-bottom: 12px;
    padding-left: 28px;
    position: relative;
    break-inside: avoid;
}

.service-features li i {
    position: absolute;
    left: 0;
    top: 3px;
    color: var(--secondary);
}

.industry-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.industry-tag {
    background-color: var(--light);
    color: var(--dark);
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.industry-tag:hover {
    background-color: var(--primary);
    color: var(--white);
}

/* Responsive styles */
@media (max-width: 991px) {
    .service-content {
        flex-direction: column;
    }

    .service-image,
    .service-text {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .service-actions {
        justify-content: center;
        flex-wrap: wrap;
    }

    .service-actions a {
        flex: 0 1 auto;
        min-width: 200px;
    }

    .service-features {
        columns: 1;
    }
}

@media (max-width: 767px) {
    .service-actions {
        flex-direction: column;
    }

    .service-actions a {
        width: 100%;
    }
}

/* Product Detail Section Layout */
.product-detail-section {
    padding: 60px 0;
    border-bottom: 1px solid #f0f0f0;
}

.dark-theme .product-detail-section {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.product-detail-section.alt-bg {
    background-color: #f8f9fa;
}

.dark-theme .product-detail-section.alt-bg {
    background-color: var(--light);
}

.product-detail-grid {
    display: flex;
    gap: 30px;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    padding: 40px;
}

/* Left Side - 30% */
.product-detail-gallery {
    flex: 0 0 30%;
    display: flex;
    flex-direction: column;
}

.gallery-container {
    display: flex;
    flex-direction: column;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    /* Smoother edge on inner gallery */
    border: 1px solid var(--light-gray);
    overflow: hidden;
}

.main-image {
    width: 100%;
    height: auto;
    overflow: hidden;
    border-bottom: 1px solid var(--light-gray);
}

.main-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.main-image:hover img {
    transform: scale(1.05);
}

.gallery-thumbnails-side {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    padding: 15px;
    white-space: nowrap;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) var(--light);
}

.gallery-thumbnails-side::-webkit-scrollbar {
    height: 6px;
}

.gallery-thumbnails-side::-webkit-scrollbar-thumb {
    background-color: var(--primary);
    border-radius: 3px;
}

.gallery-thumbnails-side::-webkit-scrollbar-track {
    background-color: var(--light);
    border-radius: 3px;
}

.thumbnail-item {
    flex: 0 0 auto;
    width: 80px;
    height: 60px;
    border: 2px solid transparent;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.thumbnail-item.active {
    border-color: var(--primary);
}

.thumbnail-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* After gallery container, add product actions */
.product-actions {
    display: flex;
    flex-direction: row;
    gap: 15px;
    margin-top: 20px;
    justify-content: flex-start;
}

.product-actions a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 15px;
    white-space: nowrap;
    flex: 1;
    text-align: center;
}

.product-actions a i {
    margin-right: 8px;
}

/* Right Side - 70% */
.product-detail-content {
    flex: 0 0 70%;
}

.product-header {
    margin-bottom: 25px;
}

.product-header h2 {
    margin-bottom: 10px;
    color: var(--primary-dark);
}

.product-tagline {
    font-size: 1.1rem;
    color: var(--gray);
    font-style: italic;
}

.product-features,
.product-use-cases {
    margin-bottom: 30px;
}

.product-features h3,
.product-use-cases h3 {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: var(--primary-dark);
}

.product-features h3 i,
.product-use-cases h3 i {
    margin-right: 10px;
    color: var(--secondary);
}

.feature-list,
.use-cases-list {
    padding: 0;
    margin: 0;
    list-style: none;
}

.feature-list {
    columns: 2;
    column-gap: 30px;
}

.feature-list li,
.use-cases-list li {
    margin-bottom: 12px;
    padding-left: 28px;
    position: relative;
    break-inside: avoid;
}

.feature-list li i,
.use-cases-list li i {
    position: absolute;
    left: 0;
    top: 3px;
    color: var(--secondary);
}

.use-cases-list li strong {
    color: var(--primary-dark);
}

/* Reverse layout (for alternating sections) */
.product-detail-grid.reverse {
    flex-direction: row-reverse;
}

/* Responsive styles */
@media (max-width: 991px) {

    .product-detail-grid,
    .product-detail-grid.reverse {
        flex-direction: column;
    }

    .product-detail-gallery,
    .product-detail-content {
        flex: 0 0 100%;
    }

    .feature-list {
        columns: 1;
    }

    .product-actions {
        justify-content: center;
        flex-wrap: wrap;
    }

    .product-actions a {
        flex: 0 1 auto;
        min-width: 200px;
    }
}

@media (max-width: 767px) {
    .gallery-container {
        flex-direction: column-reverse;
    }

    .gallery-thumbnails-side {
        border-top: 1px solid var(--light-gray);
        padding: 10px;
    }

    .main-image {
        border-bottom: none;
    }
}


.process-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.process-step {
    display: flex;
    align-items: flex-start;
    background-color: #f9f9f9;
    border-left: 6px solid #007BFF;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.process-step:hover {
    transform: translateY(-5px);
}

.step-number {
    flex-shrink: 0;
    background-color: #007BFF;
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
}

.step-content h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.25rem;
    color: #333;
}

.step-content p {
    margin: 0;
    font-size: 1rem;
    color: #555;
}

/* Enhancements for Products Page */
#products-overview {
    background-color: #fdfdfd;
}

.dark-theme #products-overview {
    background-color: var(--white);
}

/* Modern Comparison Table Layout */
#product-comparison {
    background-color: #f8f9fa;
    padding: 60px 0;
}

.dark-theme #product-comparison {
    background-color: var(--light);
}

.comparison-table-wrapper {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    overflow-x: auto;
    margin: 30px auto;
    width: 100%;
}

.dark-theme .comparison-table-wrapper {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    background: var(--white);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 1rem;
    text-align: left;
    min-width: 800px;
}

.comparison-table thead tr {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
}

.comparison-table th {
    padding: 18px 20px;
    font-weight: 600;
    font-family: var(--heading-font);
    letter-spacing: 0.5px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.comparison-table td {
    padding: 16px 20px;
    border-bottom: 1px solid #eee;
    color: var(--dark);
    vertical-align: middle;
}

.dark-theme .comparison-table td {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.comparison-table tbody tr {
    transition: all 0.3s ease;
}

.comparison-table tbody tr:nth-of-type(even) {
    background-color: #fcfcfc;
}

.dark-theme .comparison-table tbody tr:nth-of-type(even) {
    background-color: rgba(255, 255, 255, 0.02);
}

.comparison-table tbody tr:hover {
    background-color: #f0f7ff;
    transform: scale(1.01);
    box-shadow: 0 2px 10px rgba(0, 102, 204, 0.1);
}

.dark-theme .comparison-table tbody tr:hover {
    background-color: rgba(255, 255, 255, 0.05);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
}

.comparison-table tbody tr:last-of-type {
    border-bottom: 2px solid var(--primary);
}

.comparison-table td i.fa-check {
    color: var(--secondary);
    font-size: 1.2rem;
}

.comparison-table td i.fa-times {
    color: #ff4d4d;
    font-size: 1.2rem;
}

/* CTA Section - Matched to Hero Style */
#cta {
    padding: 100px 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #ffffff;
    position: relative;
    overflow: hidden;
    text-align: center;
}

#cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 123, 255, 0.15) 0%, rgba(0, 204, 153, 0.05) 50%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

#cta h2 {
    color: #ffffff;
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-family: var(--heading-font);
}

#cta p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.15rem;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Readonly fields styling for authenticated form users */
input[readonly].readonly-field,
textarea[readonly].readonly-field {
    background-color: var(--light-gray) !important;
    opacity: 0.8;
    cursor: not-allowed;
    border-color: rgba(var(--primary-rgb), 0.2);
}

.dark-theme input[readonly].readonly-field,
.dark-theme textarea[readonly].readonly-field {
    background-color: rgba(255, 255, 255, 0.05) !important;
    border-color: rgba(255, 255, 255, 0.1);
}