/* Main Styles for Algometis Website */

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

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Root Variables */
:root {
    /* Viewport Variables for Mobile Safari compatibility */
    --vh: 1vh;
    
    /* Primary Colors: Red Brand */
    --primary-color: #dc2626; /* Primary Red */
    --primary-color-rgb: 220, 38, 38;
    --primary-dark: #991b1b; /* Darker Red */
    --primary-light: #f87171; /* Lighter Red */
    
    /* Alternative Colors */
    --primary-blue: #2563eb; /* Alternative Blue */
    --primary-blue-rgb: 37, 99, 235;
    
    /* Secondary Colors: Earth Tones */
    --secondary-color: #92400e; /* Earth Brown */
    --secondary-color-rgb: 146, 64, 14;
    --accent-color: #d97706; /* Warm Orange */
    --earth-green: #65a30d; /* Earthy Green */
    --earth-beige: #a3a3a3; /* Warm Beige */
    
    /* Text Colors */
    --text-color: #1f2937; /* Near Black */
    --light-text: #6b7280; /* Gray */
    --dark-text: #111827; /* Very Dark */
    
    /* Background Colors */
    --bg-color: #ffffff; /* Pure White */
    --light-bg: #f9fafb; /* Off White */
    --earth-bg: #fef7ed; /* Warm Earth Background */
    --dark-bg: #1f2937; /* Dark Background */
    
    /* Border Colors */
    --border-color: #e5e7eb;
    --border-color-rgb: 229, 231, 235;
    --earth-border: #d6d3d1; /* Earth tone border */
    
/* Layout Variables */
--header-height: 150px; /* Total header height */
--container-max-width: 1200px;

/* Typography */
--font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

/* Transitions */
--transition-fast: 0.2s ease;
--transition-normal: 0.3s ease;
--transition-slow: 0.5s ease;

/* Z-index scale */
--z-header: 1000;
--z-mobile-menu: 1999;
--z-modal: 2000;
--z-tooltip: 3000;
}

/* Responsive header height adjustments */
@media (max-width: 1024px) {
    :root {
        --header-height: 140px;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 130px;
    }
}

@media (max-width: 480px) {
    :root {
        --header-height: 120px;
    }
}/* Base Typography */
body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    /* Use CSS variable for consistent header spacing */
    padding-top: var(--header-height);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1.125rem; }

p {
    margin-bottom: 1rem;
    color: var(--light-text);
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.section {
    padding: 2.5rem 0;
}

.section-final {
    padding-bottom: 0; /* Remove all bottom padding for sections before footer */
    margin-bottom: 0; /* Ensure no margin */
}

.hero {
    height: 70vh;
    min-height: 500px;
    max-height: 700px;
    padding: 0;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 35%, #a855f7 70%, #ec4899 100%);
    color: white;
    margin-top: 0;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
    opacity: 0.3;
    animation: float 20s ease-in-out infinite;
    pointer-events: none;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(20px, -20px) rotate(1deg); }
    66% { transform: translate(-10px, 10px) rotate(-1deg); }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.98);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.hero-badge:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.badge-icon {
    font-size: 1.2rem;
    animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.1) rotate(5deg); }
}

.hero-full-content {
    display: block;
}

.hero-mobile-content {
    display: none;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.25rem;
    color: white;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5), 0px 0px 20px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.5;
    margin-bottom: 0.75rem;
    color: rgba(255, 255, 255, 0.98);
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.4);
}

.hero-description {
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.92);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

.text-highlight {
    background: linear-gradient(135deg, #fbbf24, #f59e0b, #fb923c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
}

.btn-animated {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-animated:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-animated .btn-icon {
    display: inline-block;
    transition: transform 0.3s ease;
}

.btn-animated:hover .btn-icon {
    transform: translateX(5px);
}

.btn-primary {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #5a6fd8, #6a4190);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

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

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

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

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Button variants for dark backgrounds */
.btn-white {
    background-color: white;
    color: var(--primary-color);
    border: 2px solid white;
}

.btn-white:hover {
    background-color: transparent;
    color: white;
    border-color: white;
}

/* Cards */
.card {
    background: var(--bg-color);
    border-radius: 0.75rem;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Grid */
.grid {
    /* Flexbox fallback for older browsers */
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.grid > * {
    flex: 1;
    min-width: 300px;
}

/* CSS Grid enhancement for supporting browsers */
@supports (display: grid) {
    .grid {
        display: grid;
        gap: 2rem;
    }
    
    .grid > * {
        flex: none;
        min-width: auto;
    }
    
    .grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
    .grid-3 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
    .grid-4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-color);
}

.form-input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

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

/* Footer */
.footer {
    background-color: var(--text-color);
    color: white;
    padding: 2rem 0 1rem;
    margin-top: 0;
    border-top: none; /* Remove any potential border */
}

.footer-content {
    /* Flexbox fallback for older browsers */
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-content > * {
    flex: 1;
    min-width: 250px;
}

/* CSS Grid enhancement for supporting browsers */
@supports (display: grid) {
    .footer-content {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 2rem;
    }
    
    .footer-content > * {
        flex: none;
        min-width: auto;
    }
}

.footer-section {
    margin-bottom: 2rem;
}

.footer-bottom {
    border-top: 1px solid #4b5563;
    padding-top: 1rem;
    text-align: center;
    color: #9ca3af;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-white { color: white; }
.text-earth { color: var(--secondary-color); }
.text-accent { color: var(--accent-color); }
.mb-4 { margin-bottom: 2rem; }
.mt-4 { margin-top: 2rem; }
.py-4 { padding: 2rem 0; }

/* Background Utilities */
.bg-earth { background-color: var(--earth-bg); }
.bg-secondary { background-color: var(--secondary-color); }
.bg-accent { background-color: var(--accent-color); }
.bg-white { background-color: var(--bg-color); }
.bg-dark { background-color: var(--dark-bg); }
.bg-light { background-color: var(--light-bg); }
.bg-primary { background: linear-gradient(135deg, var(--primary-color), var(--primary-dark)); }

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 35%, #a855f7 70%, #ec4899 100%);
    color: white;
    height: 70vh;
    min-height: 500px;
    max-height: 700px;
    margin-top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5), 0px 0px 20px rgba(0, 0, 0, 0.3);
}

.page-description {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.4);
}

/* Text color overrides for dark backgrounds */
.bg-primary .section-title,
.bg-primary h1,
.bg-primary h2,
.bg-primary h3,
.bg-primary h4,
.bg-primary h5,
.bg-primary h6 {
    color: white;
}

.bg-primary .section-description,
.bg-primary p {
    color: rgba(255, 255, 255, 0.9);
}

.bg-dark .section-title,
.bg-dark h1,
.bg-dark h2,
.bg-dark h3,
.bg-dark h4,
.bg-dark h5,
.bg-dark h6 {
    color: white;
}

.bg-dark .section-description,
.bg-dark p {
    color: rgba(255, 255, 255, 0.8);
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 0.75rem;
    }
    
    .section {
        padding: 2rem 0;
    }
    
    .section-final {
        padding-bottom: 0; /* Remove all mobile bottom padding */
        margin-bottom: 0;
    }
    
    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .page-header {
        height: 60vh;
        min-height: 400px;
        max-height: 550px;
    }
    
    .page-title {
        font-size: 2.25rem;
    }
    
    .page-description {
        font-size: 1.125rem;
    }
    
    h1 { font-size: 2.25rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
    
    .header .container {
        padding: 0.75rem;
    }
    
    .nav ul {
        gap: 1rem;
    }
    
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }
}

/* Services Page - Tabbed Interface */
.services-overview {
    margin-bottom: 3rem;
}

.services-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--bg-color);
    border-radius: 12px;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.stat-item:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--light-text);
    font-weight: 500;
}

/* Tabbed Services */
.services-tabs-container {
    background: var(--bg-color);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.tabs-nav {
    display: flex;
    flex-wrap: wrap;
    background: var(--light-bg);
    border-bottom: 2px solid var(--border-color);
    padding: 0.5rem;
    gap: 0.5rem;
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: var(--light-text);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    justify-content: center;
    min-width: 140px;
}

.tab-btn:hover {
    background: var(--bg-color);
    color: var(--dark-text);
}

.tab-btn.active {
    background: var(--primary-color);
    color: var(--bg-color);
}

.tab-btn svg {
    width: 18px;
    height: 18px;
}

.tabs-content {
    padding: 2rem;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

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

.tab-header {
    text-align: center;
    margin-bottom: 2rem;
}

.tab-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 0.5rem;
}

.tab-header p {
    font-size: 1.125rem;
    color: var(--light-text);
    max-width: 600px;
    margin: 0 auto;
}

.tab-body {
    max-width: 900px;
    margin: 0 auto;
}

/* Service Highlights */
.service-highlights {
    margin-bottom: 2rem;
}

.highlight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.highlight-card {
    background: var(--light-bg);
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.highlight-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(var(--primary-color-rgb), 0.1);
}

.highlight-card h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 0.5rem;
}

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

/* Service Benefits */
.service-benefits h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 1rem;
}

.benefits-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.benefit-tag {
    background: var(--primary-color);
    color: var(--bg-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Tech Stack Showcase */
.tech-stack-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.tech-column h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 1rem;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-tags span {
    background: var(--earth-bg);
    color: var(--dark-text);
    padding: 0.375rem 0.75rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Development Process */
.development-process h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 1.5rem;
}

.process-timeline {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-between;
}

.timeline-item {
    flex: 1;
    min-width: 120px;
    text-align: center;
}

.timeline-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: var(--bg-color);
    border-radius: 50%;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.timeline-content h5 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 0.25rem;
}

.timeline-content p {
    font-size: 0.875rem;
    color: var(--light-text);
}

/* Analytics Services */
.analytics-services {
    margin-bottom: 2rem;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.service-item {
    background: var(--bg-color);
    padding: 1.5rem;
    border-radius: 12px;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.service-item:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

.service-item h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 0.5rem;
}

.service-item p {
    color: var(--light-text);
    font-size: 0.9rem;
}

/* Industry Focus */
.industry-focus h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 1.5rem;
}

.industry-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.industry-card {
    background: var(--light-bg);
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

.industry-card h5 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 0.5rem;
}

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

/* AI Capabilities */
.ai-capabilities {
    margin-bottom: 2rem;
}

.capability-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.capability-card {
    background: var(--bg-color);
    padding: 1.5rem;
    border-radius: 12px;
    border: 2px solid var(--border-color);
    text-align: center;
    transition: all 0.3s ease;
}

.capability-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

.capability-card h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 0.5rem;
}

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

/* Automation Benefits */
.automation-benefits h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 1.5rem;
}

.benefits-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--bg-color);
    padding: 1.5rem;
    border-radius: 12px;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.benefit-item:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

.benefit-icon {
    font-size: 2rem;
}

.benefit-text h5 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 0.25rem;
}

.benefit-text p {
    color: var(--light-text);
    font-size: 0.9rem;
}

/* IoT Services */
.iot-services {
    margin-bottom: 2rem;
}

.iot-workflow {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.workflow-step {
    text-align: center;
    padding: 1.5rem;
    background: var(--bg-color);
    border-radius: 12px;
    border: 2px solid var(--border-color);
    flex: 1;
    min-width: 200px;
    transition: all 0.3s ease;
}

.workflow-step:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

.step-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.workflow-step h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 0.5rem;
}

.workflow-step p {
    color: var(--light-text);
    font-size: 0.9rem;
}

.workflow-arrow {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: bold;
}

/* IoT Applications */
.iot-applications h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 1.5rem;
}

.application-list {
    display: grid;
    gap: 1rem;
}

.app-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: var(--light-bg);
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.app-icon {
    font-size: 1.5rem;
}

/* Consulting Areas */
.consulting-areas {
    margin-bottom: 2rem;
}

.consulting-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.consulting-card {
    background: var(--bg-color);
    padding: 1.5rem;
    border-radius: 12px;
    border: 2px solid var(--border-color);
    text-align: center;
    transition: all 0.3s ease;
}

.consulting-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

.consulting-card h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 0.5rem;
}

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

/* Consulting Approach */
.consulting-approach h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 1.5rem;
}

.approach-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.approach-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--light-bg);
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: var(--primary-color);
    color: var(--bg-color);
    border-radius: 50%;
    font-size: 0.875rem;
    font-weight: 700;
    flex-shrink: 0;
}

/* Responsive Design for Tabs */
@media (max-width: 768px) {
    .tabs-nav {
        flex-direction: column;
    }
    
    .tab-btn {
        justify-content: flex-start;
        min-width: auto;
    }
    
    .process-timeline {
        flex-direction: column;
        align-items: center;
    }
    
    .iot-workflow {
        flex-direction: column;
    }
    
    .workflow-arrow {
        transform: rotate(90deg);
    }
    
    .benefits-showcase {
        grid-template-columns: 1fr;
    }
}

/* Hero Responsive Design */
@media (max-width: 1024px) {
    .hero {
        height: 65vh;
        min-height: 450px;
        max-height: 650px;
    }
    
    .page-header {
        height: 65vh;
        min-height: 450px;
        max-height: 650px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-description {
        font-size: 1.05rem;
    }
}

@media (max-width: 768px) {
    .hero {
        height: 60vh;
        min-height: 400px;
        max-height: 550px;
    }
    
    .hero-content {
        text-align: center;
        padding: 0 1rem;
        max-width: 600px;
    }
    
    .hero-badge {
        padding: 0.5rem 1.25rem;
        font-size: 0.875rem;
        margin-bottom: 1rem;
    }
    
    .hero-full-content {
        display: none;
    }
    
    .hero-mobile-content {
        display: block;
    }
    
    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 0.75rem;
        line-height: 1.1;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 1.25rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }
    
    .btn-large {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 60vh;
        min-height: 400px;
        max-height: 550px;
    }
    
    .hero-content {
        padding: 0 0.75rem;
        max-width: 100%;
    }
    
    .hero-badge {
        padding: 0.375rem 1rem;
        font-size: 0.8rem;
        margin-bottom: 0.75rem;
    }
    
    .hero-title {
        font-size: 1.75rem;
        line-height: 1.15;
        margin-bottom: 0.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 0.375rem;
        line-height: 1.4;
    }
    
    .hero-description {
        font-size: 0.9rem;
        margin-bottom: 1rem;
        line-height: 1.5;
    }
    
    .hero-actions {
        gap: 0.5rem;
    }
    
    .btn-large {
        padding: 0.75rem 1.25rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 360px) {
    .hero {
        height: 60vh;
        min-height: 400px;
        max-height: 500px;
    }
    
    .hero-title {
        font-size: 1.5rem;
        margin-bottom: 0.375rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 0.25rem;
    }
    
    .hero-description {
        font-size: 0.875rem;
        margin-bottom: 0.875rem;
    }
    
    .btn-large {
        padding: 0.625rem 1rem;
        font-size: 0.9rem;
    }
}

/* =====================================================
   GLOBAL HEADER LOGO SIZE FIX
   ===================================================== */
/* Keep logo size consistent across all pages */
.top-logo-img {
    height: 50px !important;
    max-width: 200px !important;
    transition: none !important;
}

/* Override scroll effects for logo on all pages */
.header.header-scrolled .top-logo-img {
    height: 50px !important;
    max-width: 200px !important;
}
