/* Identinetics Consulting Website Styles */

:root {
    --primary-color: #1e7e7a;
    --primary-light: #2a9b97;
    --primary-dark: #155b58;
    --secondary-color: #f8f9fa;
    --text-dark: #333333;
    --text-muted: #6c757d;
    --border-color: #dee2e6;
    --shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    --shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    padding-top: 76px;
}

/* Custom Bootstrap overrides */
.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.border-primary {
    border-color: var(--primary-color) !important;
}

/* Navigation */
.navbar {
    background-color: #ffffff !important;
    box-shadow: var(--shadow);
    z-index: 1030;
}

.navbar-brand .brand-text {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--text-dark) !important;
    transition: color 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-color) !important;
}

.navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--primary-color);
}

/* Main content */
.main-content {
    min-height: calc(100vh - 156px);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Hero section */
.hero-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 1px solid var(--border-color);
}

.hero-section h1 {
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.hero-section .lead {
    font-size: 1.3rem;
    font-weight: 300;
    color: var(--text-muted);
}

/* Service cards */
.service-card {
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    text-align: center;
}

.service-card h3 {
    font-weight: 600;
    margin-bottom: 1rem;
}

.service-card ul li {
    padding: 0.25rem 0;
    font-size: 0.95rem;
}

/* Experience section */
.experience-section {
    background: linear-gradient(135deg, #f1f3f4 0%, #e8eaed 100%);
}

.stat-item h2 {
    font-weight: 700;
    margin-bottom: 0.5rem;
}

/* Contact section */
.contact-section {
    background-color: #ffffff;
}

.contact-info p {
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.contact-info a {
    color: var(--primary-color);
    text-decoration: none;
}

.contact-info a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Projects page */
.project-item {
    border-left: 4px solid var(--primary-color);
    transition: background-color 0.3s ease;
}

.project-item:hover {
    background-color: #ffffff !important;
    box-shadow: var(--shadow);
}

.project-item h4 {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.project-item .text-muted {
    font-size: 0.9rem;
    font-style: italic;
    margin-bottom: 0.75rem;
}

.industries-served ul li {
    padding: 0.5rem 0;
    font-size: 1.05rem;
}

/* Training page */
.training-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 0.75rem;
}

.training-hero h2 {
    font-weight: 600;
}

.training-feature {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.training-feature:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    text-align: center;
}

.topic-category {
    margin-bottom: 2rem;
}

.topic-category h5 {
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
}

.list-group-item {
    border: none;
    padding: 0.75rem 1rem;
    background-color: transparent;
    border-bottom: 1px solid var(--border-color) !important;
}

.list-group-item:last-child {
    border-bottom: none !important;
}

.training-approach {
    border-left: 4px solid var(--primary-color);
}

.training-approach ul li {
    margin-bottom: 0.75rem;
}

/* CV page */
.cv-header {
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--primary-color);
}

.cv-header h1 {
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.cv-header h3 {
    font-weight: 400;
    margin-bottom: 1rem;
}

.cv-section {
    margin-bottom: 3rem;
}

.section-title {
    font-weight: 600;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
}

.experience-summary {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 1px solid var(--border-color);
}

.expertise-category h5 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.expertise-category ul li {
    color: var(--text-muted);
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
}

.project-timeline {
    position: relative;
}

.project-timeline .project-item {
    position: relative;
    margin-left: 1rem;
    padding-left: 1.5rem;
    border-left: 4px solid var(--primary-color);
}

.project-timeline .project-item::before {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    background-color: var(--primary-color);
    border-radius: 50%;
    left: -8px;
    top: 1.5rem;
}

.project-timeline .project-item h5 {
    font-weight: 600;
    color: var(--text-dark);
}

.project-timeline .badge {
    font-size: 0.8rem;
}

/* Footer */
footer {
    background-color: #2c3e50 !important;
    margin-top: auto;
}

footer p {
    margin-bottom: 0;
    color: #ecf0f1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }

    .hero-section .lead {
        font-size: 1.1rem;
    }

    .stat-item h2 {
        font-size: 2.5rem;
    }

    .navbar-nav .nav-link.active::after {
        display: none;
    }

    .project-timeline .project-item {
        margin-left: 0;
        padding-left: 1rem;
    }

    .project-timeline .project-item::before {
        left: -6px;
    }
}

/* Smooth scrolling and animations */
html {
    scroll-behavior: smooth;
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Language switcher */
.dropdown-menu .dropdown-item.active {
    background-color: var(--primary-color);
    color: white;
}

.dropdown-menu .dropdown-item:hover {
    background-color: var(--primary-light);
    color: white;
}

/* Flag icons */
.flag-icon {
    width: 20px;
    height: auto;
    vertical-align: middle;
    display: inline-block;
}

/* Smaller flag icons in dropdown toggle */
.nav-link .flag-icon {
    width: 16px;
}

/* Portrait image centering fix */
.rounded-circle {
    object-fit: cover;
    object-position: center;
}

/* Print styles */
@media print {
    .navbar,
    footer {
        display: none !important;
    }

    .main-content {
        padding-top: 0 !important;
    }

    .tab-content {
        display: block !important;
        page-break-inside: avoid;
    }

    .service-card,
    .project-item,
    .training-feature {
        box-shadow: none !important;
        border: 1px solid var(--border-color) !important;
        break-inside: avoid;
    }
}