/* ============================================
   FE Technology - Custom Styles
   ============================================ */

:root {
    /* Enhanced Color Palette */
    --primary-dark: #0F232E;        /* Mariana Blue - Dark backgrounds, navbar */
    --primary: #3874FF;             /* Professional Blue - Primary accent */
    --primary-light: #DBE2E9;       /* Dawning Mist - Light backgrounds */
    --secondary-blue: #5B8DEE;      /* Lighter Blue - Secondary accents */
    --accent: #3874FF;              /* Professional Blue - Interactive elements */
    --accent-hover: #04FB87;        /* Luminescent Algae - Hover states (GREEN) */
    --text-dark: #0F232E;           /* Mariana Blue - Primary text */
    --text-secondary: #6E7891;      /* Dark Grey - Secondary text */
    --text-muted: #9BAAB9;          /* Grey - Muted text */
}

/* General */
body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: var(--text-dark);
    padding-top: 56px;
}

/* Navbar */
#mainNav {
    background-color: var(--primary-dark) !important;
    transition: box-shadow 0.3s ease;
}

#mainNav.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.navbar-brand {
    font-size: 1.3rem;
    letter-spacing: -0.5px;
}

/* Logo Styling */
.navbar-brand-logo {
    height: 35px;
    width: auto;
    margin-right: 0.5rem;
    vertical-align: middle;
    transition: opacity 0.3s ease;
}

.navbar-brand-logo:hover {
    opacity: 0.8;
}

/* Dropdown Menu */
.dropdown-menu {
    border: none;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    padding: 0.75rem 0;
    margin-top: 0.5rem;
    min-width: 220px;
}

.dropdown-item {
    padding: 0.65rem 1.5rem;
    font-size: 0.95rem;
    color: var(--text-dark);
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: rgba(56, 116, 255, 0.08);
    color: var(--accent);
    border-left-color: var(--accent);
    padding-left: 1.75rem;
}

.dropdown-item:active {
    background-color: rgba(56, 116, 255, 0.12);
    color: var(--accent);
}

.dropdown-divider {
    margin: 0.5rem 0;
    border-top-color: rgba(15, 35, 46, 0.1);
}

/* Hero Section */
.hero-section {
    min-height: 85vh;
    position: relative;
    overflow: hidden;
}

.hero-icon {
    font-size: 14rem;
    color: rgba(56, 116, 255, 0.15);
    line-height: 1;
}

/* Buttons */
.btn-accent {
    background-color: var(--accent);
    border-color: var(--accent);
    color: #fff;
    font-weight: 600;
}

.btn-accent:hover,
.btn-accent:focus {
    background-color: var(--accent-hover);
    border-color: var(--accent-hover);
    color: #fff;
}

/* Service Cards */
.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 12px;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
}

.service-icon {
    font-size: 2.5rem;
    color: var(--accent);
}

/* Background Utilities */
.bg-primary-dark {
    background-color: var(--primary-dark) !important;
}

.text-primary-dark {
    color: var(--primary-dark) !important;
}

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

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #0F232E 100%);
}

/* Page Header (for inner pages) */
.page-header {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    padding: 5rem 0 3rem;
}

/* Breadcrumb */
.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: #fff;
}

.breadcrumb-item.active {
    color: var(--accent);
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
}

/* Service Detail Page */
.service-detail-card {
    border-left: 4px solid var(--accent);
    border-radius: 8px;
}

.service-step {
    position: relative;
    padding-left: 3rem;
}

.service-step::before {
    content: attr(data-step);
    position: absolute;
    left: 0;
    top: 0;
    width: 2rem;
    height: 2rem;
    background-color: var(--accent);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.85rem;
}

/* Back to Top Button */
.btn-back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 999;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-back-to-top.show {
    display: flex;
}

/* Contact Form */
.form-control:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 0.2rem rgba(56, 116, 255, 0.25);
}

/* Sidebar */
.sidebar-link {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--text-dark);
    text-decoration: none;
    border-left: 3px solid transparent;
    transition: all 0.2s ease;
}

.sidebar-link:hover,
.sidebar-link.active {
    background-color: #f8f9fa;
    border-left-color: var(--accent);
    color: var(--accent);
}

/* Responsive */
@media (max-width: 767.98px) {
    .hero-section {
        min-height: 70vh;
    }

    .hero-section h1 {
        font-size: 2rem;
    }

    .page-header {
        padding: 4rem 0 2rem;
    }
}

/* Accessibility - Focus Styles */
a:focus-visible,
button:focus-visible,
.btn:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* Client Logo Box */
.client-logo-box {
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.client-logo-box img {
    max-height: 40px;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.client-logo-box:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* Timeline */
.border-accent {
    border-color: var(--accent) !important;
}

/* FAQ Accordion */
.accordion-button:not(.collapsed) {
    background-color: rgba(56, 116, 255, 0.08);
    color: var(--primary-dark);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.2rem rgba(56, 116, 255, 0.25);
    border-color: var(--accent);
}

/* Job Listing Cards */
.job-card {
    transition: border-color 0.3s ease;
    border-left: 4px solid transparent;
}

.job-card:hover {
    border-left-color: var(--accent);
}

/* Industry Cards */
.industry-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.industry-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1) !important;
}

/* Print Styles */
@media print {
    .navbar, .btn-back-to-top, .cta-section {
        display: none !important;
    }

    body {
        padding-top: 0;
    }
}
