/* ScIntel - Scientific Consulting Website Stylesheet */

/* ===== PERFORMANCE OPTIMIZATION ===== */
/* Critical CSS inlined, non-critical loaded asynchronously */
/* Font display strategy optimized for performance */

/* ===== CSS VARIABLES ===== */
:root {
    --primary-color: #0ea5e9;
    --secondary-color: #0891b2;
    --text-dark: #000000;
    --text-light: #64748b;
    --background: #ffffff;
    --background-light: #f8fafc;
    --border: #e2e8f0;
    --shadow: rgba(0, 0, 0, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--background);
    font-weight: 400;
    font-display: swap; /* Performance optimization */
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Merriweather', serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    font-display: swap; /* Performance optimization */
}

h1 {
    font-size: 2.5rem;
    color: var(--text-dark);
}

h2 {
    font-size: 2rem;
    color: var(--text-dark);
}

h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
}

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

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

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

/* ===== MOBILE MENU TOGGLE ===== */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 0;
    margin: 0;
}

.mobile-menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background: var(--text-dark);
    border-radius: 3px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ===== MOBILE NAVIGATION ===== */
.mobile-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-top: 1px solid var(--border);
}

/* Mobile nav positioning fix */
@media (max-width: 768px) {
    .mobile-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white !important;
        min-height: 200px;
    }
    
    .mobile-nav.active {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) !important;
    }
}

.mobile-nav.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mobile-nav-content {
    text-align: left;
    padding: 1rem 0;
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
}

.mobile-menu-close {
    display: none;
}

.mobile-nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-links li {
    margin: 0;
}

.mobile-nav-links a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    display: block;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
}

.mobile-nav-links a:hover {
    color: var(--primary-color);
    background: var(--background-light);
    padding-left: 1rem;
}

.mobile-nav-links a:last-child {
    border-bottom: none;
}

.mobile-nav .lang-toggle {
    margin-top: 1rem;
    justify-content: center;
}

/* ===== LOGO ===== */
.logo {
    font-family: 'Merriweather', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

/* ===== IMAGES ===== */
.responsive-img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}

.featured-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
}

.article-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: var(--background-light);
}

.service-icon {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 1rem;
}

.hero-image {
    max-width: 100%;
    height: auto;
    margin: 2rem 0;
}

/* ===== LAYOUT ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 5rem 0;
}

/* ===== HEADER ===== */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 1px 3px var(--shadow);
    margin-bottom: 0;
}

/* Mobile header positioning */
@media (max-width: 768px) {
    header {
        position: relative;
    }
    
    nav {
        position: relative;
    }
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    min-height: 80px;
}

.logo {
    font-family: 'Merriweather', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    padding: 0.5rem 0;
    display: block;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Desktop Language Toggle */
.desktop-lang-toggle {
    display: flex;
    align-items: center;
}

.desktop-lang-toggle .lang-toggle {
    display: flex;
    background: var(--background-light);
    border-radius: 25px;
    padding: 4px;
    border: 1px solid var(--border);
    margin-left: 1rem;
}

.desktop-lang-toggle .lang-btn {
    padding: 8px 16px;
    border: none;
    background: transparent;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark);
    transition: var(--transition);
}

.desktop-lang-toggle .lang-btn.active {
    background: var(--primary-color);
    color: white;
}

.desktop-lang-toggle .lang-btn:hover:not(.active) {
    background: var(--background);
}

/* ===== LANGUAGE TOGGLE ===== */
.lang-toggle {
    display: flex;
    background: var(--background-light);
    border-radius: 25px;
    padding: 4px;
    border: 1px solid var(--border);
}

.lang-btn {
    padding: 8px 16px;
    border: none;
    background: transparent;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
    color: var(--text-light);
}

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

/* ===== MODERN CARD DESIGN ===== */
.modern-card {
    background: #667eea;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    color: white;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
}

.modern-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.modern-card-content {
    position: relative;
    z-index: 2;
}

.modern-card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: inline-block;
}

.modern-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.modern-card p {
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 0;
    color : #000;
}

/* ===== FEATURE CARD DESIGN ===== */
.feature-card {
    background: white;
    border-radius: 16px;
    padding: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    min-height: 280px;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.feature-card-image {
    flex: 0 0 auto;
    background: #667eea;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    border-radius: 16px 16px 0 0;
}

.feature-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-card-icon {
    font-size: 3rem;
    color: white;
}

.feature-card-content {
    flex: 1;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.feature-card-content h3 {
    color: var(--text-dark);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.feature-card-content p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.feature-card-content .btn {
    align-self: flex-start;
    margin-top: auto;
}

/* ===== FLAT COLOR BACKGROUNDS ===== */
.flat-bg-1 {
    background: #667eea;
}

.flat-bg-2 {
    background: #f093fb;
}

.flat-bg-3 {
    background: #4facfe;
}

.flat-bg-4 {
    background: #43e97b;
}

.flat-bg-5 {
    background: #fa709a;
}

.flat-bg-6 {
    background: #30cfd0;
}

/* ===== CTA SECTIONS ===== */
.cta-section {
    padding: 4rem 0;
}

.cta-section .container {
    max-width: 800px;
    margin: 0 auto;
}

.cta-section h2 {
    margin-bottom: 1.5rem;
    text-align: center;
}

.cta-section p {
    margin-bottom: 2rem;
    text-align: center;
    max-width: none;
    width: 100%;
}

.pricing-info {
    text-align: center;
    margin-bottom: 2rem;
}

.pricing-info h3 {
    margin-bottom: 1rem;
    text-align: center;
}

.pricing-info p {
    margin-bottom: 0.5rem;
    text-align: center;
    width: 100%;
}

.cta-section .mt-2 {
    text-align: center;
}

.cta-section .mt-2 a {
    display: inline-block;
}
.hero {
    padding: 4rem 0;
    text-align: center;
    background: #f8f9fa;
    margin-top: -20px;
    margin-bottom: 0;
}

.hero .container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero h1 {
    margin-bottom: 1.5rem;
}

.hero p {
    text-align: center;
    margin-bottom: 2rem;
    max-width: none;
    width: 100%;
}

.hero .hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 3rem;
    text-align: left;
}

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

.hero .hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    line-height: 1.1;
    width: 100%;
}

.hero .hero-content p {
    font-size: 1.25rem;
    color: var(--text-light);
    margin: 0 0 1.5rem 0;
    max-width: none;
    width: 100%;
    display: block;
    box-sizing: border-box;
    text-align: left;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 12px 32px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
}

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

.btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(14, 165, 233, 0.3);
}

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

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

/* ===== GRID LAYOUT ===== */
.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.grid-3-features {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* ===== CARDS ===== */
.card {
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem;
    transition: var(--transition);
    box-shadow: 0 2px 8px var(--shadow);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px var(--shadow);
}

.card h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* ===== SECTIONS ===== */
.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-title p {
    font-size: 1.1rem;
    margin: 0 auto;
    color: var(--text-light);
}

/* ===== PROBLEM/SOLUTION SECTIONS ===== */
.problem-section, .solution-section {
    padding: 5rem 0;
}

.problem-section {
    background: #ffffff;
}

.solution-section {
    background: #f8f9fa;
}

/* ===== SERVICES ===== */
.service-card {
    text-align: center;
    padding: 2rem;
}

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

.service-card .icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    color: white;
}

/* ===== TRAINING PAGE ===== */
.training-hero {
    background: #3498db;
    color: white;
    padding: 6rem 0;
    text-align: center;
}

.training-hero h1 {
    color: white;
    font-size: 3rem;
}

.training-hero p {
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto;
}

.training-features {
    padding: 4rem 0;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: flex-start;
}

.feature-list li::before {
    content: "✓";
    color: var(--primary-color);
    font-weight: bold;
    margin-right: 1rem;
    flex-shrink: 0;
}

/* ===== APPROACH PAGE ===== */
.approach-step {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--background-light);
    border-radius: 12px;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.step-content h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* ===== INSIGHTS PAGE ===== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.article-card {
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px var(--shadow);
}

.article-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: var(--background-light);
}

.article-content {
    padding: 1.5rem;
}

.article-content h3 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.article-content .date {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* ===== FEATURED ARTICLE ===== */
.featured-article {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 32px var(--shadow);
}

.featured-content {
    padding-right: 2rem;
}

.featured-badge {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.featured-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.featured-content p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    max-width: none;
}

.article-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.author {
    font-weight: 600;
    color: var(--text-dark);
}

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

.read-more:hover {
    color: var(--secondary-color);
}

.article-excerpt {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.article-excerpt h4 {
    font-size: 0.9rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* ===== CATEGORIES ===== */
.categories {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.category-tag {
    padding: 0.5rem 1rem;
    border: 1px solid var(--border);
    border-radius: 20px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
}

.category-tag:hover,
.category-tag.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* ===== CONTACT PAGE ===== */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

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

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

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

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

.contact-info {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-info h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 0.25rem;
}

.checkbox-group label {
    margin-bottom: 0;
    font-weight: 400;
    font-size: 0.9rem;
}

.form-submit {
    text-align: center;
}

/* ===== FAQ SECTION ===== */
.faq-grid {
    display: grid;
    gap: 1.5rem;
    margin-top: 2rem;
}

.faq-item {
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: 0 4px 12px var(--shadow);
}

.faq-item h3 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.faq-item p {
    margin-bottom: 0;
    line-height: 1.6;
}

/* ===== PROCESS TIMELINE ===== */
.process-timeline {
    display: grid;
    gap: 2rem;
    margin-top: 3rem;
}

.process-step {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.5rem;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.step-content h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.step-content p {
    margin-bottom: 0;
}

/* ===== SERVICES PROCESS VERTICAL LAYOUT ===== */
.process-step.text-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    min-height: 250px;
}

.process-step.text-center:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.process-step.text-center .step-number {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    flex-shrink: 0;
}

.process-step.text-center h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.process-step.text-center p {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
    flex: 1;
}

/* ===== APPROACH PAGE ===== */
.approach-step {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.approach-step:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.step-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary-color);
    min-width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(14, 165, 233, 0.1);
    border-radius: 50%;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.step-content h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.step-content p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.step-details {
    margin-top: 1.5rem;
}

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

.step-details .feature-list {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.step-details .feature-list li {
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

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

.tech-category {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.tech-category:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.tech-category h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
}

.tech-category .feature-list {
    padding-left: 1.5rem;
}

.tech-category .feature-list li {
    color: var(--text-light);
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* ===== FOOTER ===== */
footer {
    background: #2c3e50;
    color: white;
    text-align: center;
    padding: 2rem 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

footer .container {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

footer p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
    text-align: center;
    width: 100%;
    display: block;
    max-width: none;
}

footer p span {
    color: rgba(255, 255, 255, 0.9);
}

/* ===== WORKFLOW SHOWCASE ===== */
.workflow-showcase {
    margin-top: 3rem;
}

.workflow-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.workflow-item {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
    opacity: 1;
    visibility: visible;
}

.workflow-item.hidden {
    opacity: 0;
    visibility: hidden;
    transform: scale(0.95);
    position: absolute;
    pointer-events: none;
}

.workflow-item.visible {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    position: relative;
    pointer-events: auto;
}

.workflow-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.workflow-images {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.workflow-img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.workflow-img:hover {
    transform: scale(1.02);
}

.workflow-caption {
    text-align: center;
    margin-top: 1rem;
}

.workflow-caption h4 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.workflow-caption p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.5;
}

.workflow-features {
    background: var(--background-light);
    padding: 2rem;
    border-radius: 16px;
    margin-top: 2rem;
}

.feature-item {
    padding: 1rem;
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-3px);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.feature-item h4 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.feature-item p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Responsive Design for Workflow */
@media (max-width: 768px) {
    .workflow-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .workflow-item {
        padding: 1rem;
    }
    
    .workflow-features {
        padding: 1.5rem;
    }
    
    .workflow-caption h4 {
        font-size: 1.1rem;
    }
    
    .feature-icon {
        font-size: 2rem;
    }
    
    .feature-item h4 {
        font-size: 1rem;
    }
}

@media (max-width: 1024px) and (min-width: 769px) {
    .workflow-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }
    
    .workflow-item {
        padding: 1.2rem;
    }
}

/* ===== TABLET RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) and (min-width: 769px) {
    .hero h1 {
        font-size: 2.5rem;
        line-height: 1.1;
    }
    
    .hero p {
        font-size: 1.1rem !important;
    }
    
    .hero .hero-grid {
        gap: 2rem;
    }
    
    .hero-buttons {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero-buttons .btn {
        flex: 1;
        min-width: 200px;
    }
    
    /* Section titles tablet */
    .section-title h2 {
        font-size: 2.2rem;
    }
    
    .section-title p {
        font-size: 1rem;
    }
    
    /* Cards tablet */
    .feature-card-content h3 {
        font-size: 1.2rem;
    }
    
    .feature-card-content p {
        font-size: 0.95rem;
    }
    
    .modern-card h3 {
        font-size: 1.4rem;
    }
    
    .modern-card p {
        font-size: 0.95rem;
    }
    
    .service-card h3 {
        font-size: 1.3rem;
    }
    
    .service-card p {
        font-size: 0.95rem;
    }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    footer .container {
        padding: 0 1rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.25rem;
    }
    
    .hero h1 {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .hero p {
        font-size: 1rem !important;
    }
    
    .hero .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero .hero-content p {
        text-align: center !important;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
    }
    
    /* Hide desktop navigation completely */
    .nav-links {
        display: none !important;
        visibility: hidden !important;
    }
    
    /* Hide desktop language toggle in mobile */
    .desktop-lang-toggle {
        display: none !important;
    }
    
    /* Show mobile menu toggle */
    .mobile-menu-toggle {
        display: flex !important;
    }
    
    /* Ensure mobile nav is hidden by default */
    .mobile-nav {
        opacity: 0 !important;
        visibility: hidden !important;
        transform: translateY(-20px) !important;
    }
    
    .mobile-nav.active {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) !important;
    }
    
    /* Modern cards responsive */
    .modern-card {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .modern-card-icon {
        font-size: 2.5rem;
    }
    
    .modern-card h3 {
        font-size: 1.3rem;
    }
    
    .modern-card p {
        font-size: 0.95rem;
    }
    
    /* Feature cards responsive */
    .feature-card {
        flex-direction: column;
        min-height: auto;
        margin-bottom: 1rem;
    }
    
    .feature-card-image {
        flex: 0 0 auto;
        padding: 1.5rem;
        border-radius: 16px 16px 0 0;
    }
    
    .feature-card-icon {
        font-size: 2.5rem;
    }
    
    .feature-card-content {
        padding: 1.5rem;
    }
    
    .feature-card-content h3 {
        font-size: 1.1rem;
    }
    
    .feature-card-content p {
        font-size: 0.9rem;
    }
    
    /* Section titles responsive */
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .section-title p {
        font-size: 0.95rem;
    }
    
    /* Cards responsive */
    .modern-card h3 {
        font-size: 1.2rem;
    }
    
    .modern-card p {
        font-size: 0.9rem;
    }
    
    .service-card h3 {
        font-size: 1.1rem;
    }
    
    .service-card p {
        font-size: 0.9rem;
    }
    
    /* Services process responsive */
    .process-step.text-center {
        min-height: auto;
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .process-step.text-center .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .process-step.text-center h3 {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }
    
    .process-step.text-center p {
        font-size: 0.9rem;
    }
    
    /* Approach page responsive */
    .approach-step {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.5rem;
    }
    
    .step-number {
        min-width: 60px;
        height: 60px;
        font-size: 2rem;
    }
    
    .tech-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .tech-category {
        padding: 1.5rem;
    }
    
    /* Navigation adjustments */
    nav {
        justify-content: space-between;
        padding: 1rem 0;
        min-height: auto;
    }
    
    .logo {
        font-size: 1.2rem;
        padding: 0.5rem 0;
    }
    
    .logo img {
        height: 30px;
    }
    
    .approach-step {
        flex-direction: column;
        text-align: center;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .grid-2 {
        grid-template-columns: 1fr;
    }
    
    .grid-3 {
        grid-template-columns: 1fr;
    }
    
    .logo {
        font-size: 1.2rem;
    }
    
    .logo img {
        height: 30px;
    }
    
    .featured-article {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 1.5rem;
    }
    
    .featured-content {
        padding-right: 0;
    }
    
    .featured-content h2 {
        font-size: 1.5rem;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .categories {
        gap: 0.5rem;
    }
    
    .category-tag {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    .lang-toggle {
        margin: 0 auto;
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .lang-btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}

/* Desktop styles - ensure mobile menu is hidden */
@media (min-width: 769px) {
    .mobile-menu-toggle {
        display: none !important;
    }
    
    .mobile-nav {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
        transform: translateY(-100%) !important;
    }
    
    .nav-links {
        display: flex !important;
        visibility: visible !important;
    }
    
    .desktop-lang-toggle {
        display: flex !important;
    }
}

/* ===== UTILITY CLASSES ===== */
.text-center {
    text-align: center;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mb-3 {
    margin-bottom: 3rem;
}

.mt-2 {
    margin-top: 2rem;
}

.mt-3 {
    margin-top: 3rem;
}

/* ===== LOADING ANIMATION ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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