/* ===================================
   Process First Solutions - Custom Styles
   Colors: Navy Blue #1a3a52, Orange #f57c00
   =================================== */

/* ===== ROOT VARIABLES ===== */
:root {
    /* Primary Colors */
    --navy-blue: #1a3a52;
    --industrial-orange: #f57c00;

    /* Secondary Colors */
    --light-gray: #f5f5f5;
    --medium-gray: #757575;
    --dark-gray: #333333;

    /* Accent Colors */
    --white: #ffffff;
    --success-green: #4caf50;
    --warning-red: #d32f2f;

    /* Text Colors */
    --text-primary: #333333;
    --text-secondary: #666666;
    --text-light: #999999;

    /* Fonts */
    --heading-font: 'Montserrat', 'Roboto', 'Open Sans', sans-serif;
    --body-font: 'Open Sans', 'Roboto', 'Lato', sans-serif;
}

/* ===== GLOBAL STYLES ===== */
body {
    font-family: var(--body-font);
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-primary);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 700;
    line-height: 1.3;
    color: var(--navy-blue);
}

.lead {
    font-size: 1.15rem;
    font-weight: 400;
}

/* ===== BOOTSTRAP OVERRIDES ===== */
.btn-primary {
    background-color: var(--industrial-orange);
    border-color: var(--industrial-orange);
    font-weight: 600;
    padding: 0.75rem 1.5rem;
}

.btn-primary:hover, .btn-primary:focus {
    background-color: #d66a00;
    border-color: #d66a00;
}

.btn-outline-primary {
    color: var(--industrial-orange);
    border-color: var(--industrial-orange);
    font-weight: 600;
    padding: 0.75rem 1.5rem;
}

.btn-outline-primary:hover, .btn-outline-primary:focus {
    background-color: var(--industrial-orange);
    border-color: var(--industrial-orange);
    color: white;
}

.bg-primary {
    background-color: var(--navy-blue) !important;
}

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

/* ===== NAVIGATION ===== */
.navbar {
    padding: 1rem 0;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy-blue);
}

.nav-link {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-primary);
    padding: 0.5rem 1rem !important;
}

.nav-link:hover {
    color: var(--industrial-orange);
}

.nav-link.active {
    color: var(--industrial-orange);
}

.nav-link.btn {
    border-radius: 0.375rem;
}

/* ===== HERO SECTION ===== */
.hero-section {
    padding: 4rem 0;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hero-section h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.hero-section .lead {
    font-size: 1.25rem;
    color: var(--text-secondary);
}

.min-vh-75 {
    min-height: 75vh;
}

/* ===== SECTION SPACING ===== */
section {
    position: relative;
}

.py-5 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
}

/* ===== CARDS ===== */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.15) !important;
}

/* ===== PROBLEM SECTION ===== */
.problem-section .card {
    border-radius: 0.5rem;
}

.problem-section .icon-wrapper {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== SOLUTION SECTION ===== */
.number-badge {
    width: 60px;
    height: 60px;
    background-color: var(--industrial-orange);
    color: white;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 auto;
}

/* ===== SERVICES CARDS ===== */
.service-card {
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    position: relative;
}

.service-card.featured {
    border: 2px solid var(--industrial-orange);
}

.service-card .service-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card ul {
    list-style: none;
    padding-left: 0;
}

.service-card ul li {
    padding: 0.25rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.service-card ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success-green);
    font-weight: bold;
}

.badge-corner {
    position: absolute;
    top: 20px;
    right: -10px;
    background-color: var(--industrial-orange);
    color: white;
    padding: 0.25rem 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    transform: rotate(5deg);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.price-tag {
    padding: 0.5rem 0;
}

/* ===== WHO WE HELP SECTION ===== */
.industry-card {
    background-color: white;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.industry-card:hover {
    border-color: var(--industrial-orange);
    transform: translateY(-3px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}

/* ===== ABOUT SECTION ===== */
.about-section img {
    box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.2);
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: linear-gradient(135deg, var(--navy-blue) 0%, #0f2439 100%);
}

/* ===== FOOTER ===== */
.footer {
    background-color: #0f2439;
}

.footer a:hover {
    color: var(--industrial-orange) !important;
}

.social-links a:hover {
    transform: scale(1.1);
    transition: transform 0.2s ease;
}

/* ===== UTILITY CLASSES ===== */
.shadow-sm {
    box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.075) !important;
}

.shadow {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.shadow-lg {
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 991px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }

    .navbar-nav .nav-link.btn {
        margin-top: 1rem;
        margin-left: 0 !important;
    }
}

@media (max-width: 767px) {
    .hero-section {
        padding: 2rem 0;
    }

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

    .hero-section .lead {
        font-size: 1.1rem;
    }

    body {
        font-size: 16px;
    }

    .display-4 {
        font-size: 2.5rem;
    }

    .display-5 {
        font-size: 2rem;
    }
}

/* ===== SMOOTH SCROLLING ===== */
html {
    scroll-behavior: smooth;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* ===== FORM STYLES (for contact page) ===== */
.form-control {
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 0.375rem;
}

.form-control:focus {
    border-color: var(--industrial-orange);
    box-shadow: 0 0 0 0.2rem rgba(245, 124, 0, 0.25);
}

.form-label {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.form-select {
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 0.375rem;
}

.form-select:focus {
    border-color: var(--industrial-orange);
    box-shadow: 0 0 0 0.2rem rgba(245, 124, 0, 0.25);
}

/* ===== PROCESS STEPS (for process.html) ===== */
.process-step {
    position: relative;
    padding: 2rem;
    background-color: white;
    border-radius: 0.75rem;
    margin-bottom: 2rem;
}

.process-step::before {
    content: attr(data-step);
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background-color: var(--industrial-orange);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.process-arrow {
    text-align: center;
    color: var(--industrial-orange);
    font-size: 2rem;
    margin: 1rem 0;
}

/* ===== CASE STUDY CARDS (for results.html) ===== */
.case-study-card {
    border-radius: 0.75rem;
    overflow: hidden;
}

.case-study-card img {
    height: 250px;
    object-fit: cover;
}

.case-study-tag {
    display: inline-block;
    background-color: var(--navy-blue);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.stat-highlight {
    background-color: var(--light-gray);
    padding: 1rem;
    border-left: 4px solid var(--industrial-orange);
    margin: 1rem 0;
}

.stat-highlight .stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--industrial-orange);
    display: block;
}

/* ===== FAQ SECTION (for services.html) ===== */
.accordion-button {
    font-weight: 600;
    font-size: 1.1rem;
}

.accordion-button:not(.collapsed) {
    background-color: var(--light-gray);
    color: var(--navy-blue);
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.2rem rgba(245, 124, 0, 0.25);
}

/* ===== PRICING TABLE (for services.html) ===== */
.pricing-table {
    background-color: white;
    border-radius: 0.75rem;
    padding: 2rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}

.pricing-table .price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--navy-blue);
}

.pricing-table .price-period {
    font-size: 1rem;
    color: var(--text-secondary);
}

.pricing-table ul {
    list-style: none;
    padding: 0;
}

.pricing-table ul li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #e0e0e0;
}

.pricing-table ul li:last-child {
    border-bottom: none;
}

/* ===== TESTIMONIAL STYLES ===== */
.testimonial {
    background-color: var(--light-gray);
    padding: 2rem;
    border-left: 4px solid var(--industrial-orange);
    border-radius: 0.5rem;
    font-style: italic;
    margin: 2rem 0;
}

.testimonial-author {
    font-style: normal;
    font-weight: 600;
    color: var(--navy-blue);
    margin-top: 1rem;
}

.testimonial-company {
    font-style: normal;
    font-size: 0.9rem;
    color: var(--text-secondary);
}
