/* ================================================
   ErgoAssess Pro - Main CSS
   ================================================ */

/* ================================================
   CSS Custom Properties (Color Palette)
   ================================================ */
:root {
    /* Primary Colors - Pastel High-Contrast */
    --primary-color: #4452d6;
    --secondary-color: #00a8e7;
    --accent-color: #23b67c;
    --warning-color: #ff5845;
    --danger-color: #ff387a;
    
    /* Light Shades */
    --primary-light: #878aea;
    --secondary-light: #5be2ff;
    --accent-light: #53da9d;
    --warning-light: #ff9b7d;
    --danger-light: #ffacb1;
    
    /* Dark Shades */
    --primary-dark: #3c51bd;
    --secondary-dark: #199dac;
    --accent-dark: #26ae5a;
    --warning-dark: #b63a1a;
    --danger-dark: #d6343b;
    
    /* Neutral Colors */
    --text-dark: #3a4650;
    --text-muted: #5a6e85;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #f7f7f7;
}

/* ================================================
   Base Styles
   ================================================ */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-white);
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ================================================
   Typography - Conservative Sizes
   ================================================ */
h1 {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

h2 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 0.75rem;
}

h3 {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--secondary-dark);
    margin-bottom: 0.5rem;
}

h4 {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

h5 {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

h6 {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

p {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

/* Conservative navbar brand sizing */
.navbar-brand {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
}

/* ================================================
   Hero Section
   ================================================ */
.hero-section {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--secondary-light) 100%);
    padding-top: 80px;
    min-height: 100vh;
}

.hero-section h1 {
    color: var(--bg-white);
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding-top: 150px;
}

.hero-section h2 {
    color: var(--primary-dark);
    font-size: 1.5rem;
}

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

/* ================================================
   Card Components
   ================================================ */
.feature-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card i {
    color: var(--primary-color);
}

.service-card {
    border: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card .card-title {
    color: var(--primary-dark);
}

.service-card .price {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent-color);
}

.review-card {
    border: none;
    background: var(--bg-light);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.case-card,
.career-card,
.faq-card {
    border: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.case-card:hover,
.career-card:hover {
    transform: translateY(-3px);
}

/* ================================================
   Price Plan Cards
   ================================================ */
.price-card {
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

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

.price-amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* ================================================
   Team Section
   ================================================ */
.team-member img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border: 3px solid var(--primary-light);
}

.team-member h5 {
    color: var(--primary-dark);
    margin-top: 1rem;
}

.team-member p {
    color: var(--secondary-dark);
    font-size: 0.9rem;
}

/* ================================================
   Feature Items
   ================================================ */
.feature-item {
    background: var(--bg-white);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.feature-icon i {
    color: var(--accent-color);
}

/* ================================================
   Process Steps
   ================================================ */
.process-step {
    background: var(--bg-white);
    padding: 2rem 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 auto 1rem;
}

/* ================================================
   Timeline Items
   ================================================ */
.timeline-item {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--secondary-color);
}

.timeline-item h6 {
    color: var(--primary-dark);
    font-weight: 600;
}

/* ================================================
   Element Cards (Additional Pages)
   ================================================ */
.element-card {
    background: var(--bg-white);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    height: 100%;
}

.element-card:hover {
    transform: translateY(-3px);
}

.element-card h5 {
    color: var(--primary-dark);
}

.element-card p {
    font-size: 0.9rem;
}

/* ================================================
   Info Cards
   ================================================ */
.info-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
}

.info-card i {
    color: var(--accent-color);
}

/* ================================================
   Blog Cards
   ================================================ */
.blog-card {
    border: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-card .card-title {
    color: var(--primary-dark);
}

/* ================================================
   Contact Form
   ================================================ */
.contact-form .form-control {
    border: 2px solid var(--border-color);
    border-radius: 6px;
    padding: 0.75rem;
    transition: border-color 0.3s ease;
}

.contact-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(82, 92, 247, 0.25);
}

.contact-info {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 8px;
}

.contact-item {
    text-align: center;
}

.contact-item i {
    color: var(--primary-color);
}

.contact-item p {
    color: var(--text-dark);
    font-weight: 500;
    margin: 0;
}

/* ================================================
   Buttons
   ================================================ */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 0.75rem 2rem;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.3s ease;
}

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

.btn-primary:focus {
    box-shadow: 0 0 0 0.2rem rgba(106, 139, 223, 0.50);
}

/* ================================================
   Utilities
   ================================================ */
.text-primary {
    color: var(--primary-color);
}

.text-secondary {
    color: var(--secondary-color);
}

.text-accent {
    color: var(--accent-color);
}

.bg-primary-light {
    background-color: var(--primary-light);
}

.bg-secondary-light {
    background-color: var(--secondary-light);
}

/* ================================================
   Gallery
   ================================================ */
#gallery img {
    border-radius: 8px;
    transition: transform 0.3s ease;
}

#gallery img:hover {
    transform: scale(1.05);
}

/* ================================================
   Footer
   ================================================ */
footer {
    background-color: var(--text-dark);
}

footer h5,
footer h6 {
    color: var(--bg-white);
}

footer .text-white-50 {
    transition: color 0.3s ease;
}

footer .text-white-50:hover {
    color: var(--primary-light);
}

/* ================================================
   Section Spacing
   ================================================ */
section {
    position: relative;
}

.py-5 {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

/* ================================================
   Responsive Adjustments
   ================================================ */
@media (max-width: 768px) {
    .hero-section {
        padding-top: 100px;
        text-align: center;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .price-amount {
        font-size: 2rem;
    }
    
    .team-member img {
        width: 100px;
        height: 100px;
    }
} 


/* Team Social Links - Square Style */
.team-social-links {
    margin-top: 18px;
    padding: 12px 0;
}

.social-icons-grid {
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 17px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 12px rgba(0,0,0,0.15);
    position: relative;
}

.social-link:hover {
    transform: translateY(-2px) rotate(5deg);
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
    color: white;
}

.facebook-link {
    background: #1877f2;
    border: 2px solid #1877f2;
}

.facebook-link:hover {
    background: #166fe5;
    border-color: #166fe5;
}

.linkedin-link {
    background: #0a66c2;
    border: 2px solid #0a66c2;
}

.linkedin-link:hover {
    background: #0959aa;
    border-color: #0959aa;
}

.instagram-link {
    background: #e4405f;
    border: 2px solid #e4405f;
}

.instagram-link:hover {
    background: #d62976;
    border-color: #d62976;
}

.x-link {
    background: #000000;
    border: 2px solid #000000;
    position: relative;
}

.x-link::after {
    content: '✕';
    font-weight: bold;
    font-size: 18px;
}

.x-link:hover {
    background: #333333;
    border-color: #333333;
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 8px;
    }
    
    .social-link {
        width: 38px;
        height: 38px;
        font-size: 15px;
    }
}
