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

/* ================================================
   CSS Custom Properties (Color Palette)
   ================================================ */
:root {
    /* Primary Colors - Pastel High-Contrast */
    --primary-color: #4968d1;
    --secondary-color: #14d4dd;
    --accent-color: #1ed198;
    --warning-color: #ff3930;
    --danger-color: #fc3b7a;
    
    /* Light Shades */
    --primary-light: #98b3ed;
    --secondary-light: #7efffc;
    --accent-light: #79d9b6;
    --warning-light: #f49368;
    --danger-light: #ff94a1;
    
    /* Dark Shades */
    --primary-dark: #2b47b2;
    --secondary-dark: #147c9b;
    --accent-dark: #2a9161;
    --warning-dark: #ac2822;
    --danger-dark: #c5283d;
    
    /* Neutral Colors */
    --text-dark: #1d2530;
    --text-muted: #576984;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #fbfbfb;
}

/* ================================================
   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: 100px;
}

.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(108, 114, 221, 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(97, 104, 238, 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 - Rounded Style */
.team-social-links {
    margin-top: 20px;
    padding: 15px 0;
}

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

.social-link {
    display: inline-flex;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s;
}

.social-link:hover::before {
    left: 100%;
}

.social-link:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    color: white;
}

.facebook-link {
    background: linear-gradient(135deg, #1877f2, #42a5f5);
}

.facebook-link:hover {
    background: linear-gradient(135deg, #0d6efd, #1877f2);
}

.linkedin-link {
    background: linear-gradient(135deg, #0a66c2, #2196f3);
}

.linkedin-link:hover {
    background: linear-gradient(135deg, #084a8a, #0a66c2);
}

.instagram-link {
    background: linear-gradient(135deg, #e4405f, #f77737, #fcaf45);
}

.instagram-link:hover {
    background: linear-gradient(135deg, #d62976, #e4405f, #f77737);
}

.x-link {
    background: linear-gradient(135deg, #000000, #333333);
    position: relative;
}

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

.x-link:hover {
    background: linear-gradient(135deg, #1a1a1a, #000000);
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 10px;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}
