/**
 * ConstructFlow Pro — Custom Stylesheet
 * Overrides and enhancements on top of the Brickz template
 */

/* ================================================================
   FONTS IMPORT (also set in head.php, but here as fallback)
================================================================ */
:root {
    --cf-primary: #0a1628;
    --cf-accent:  #fed403;
    --cf-accent2: #e8b800;
    --cf-white:   #ffffff;
    --cf-text:    #333333;
    --cf-muted:   #6d6d6d;
    --cf-border:  #e0e0e0;
    --cf-radius:  8px;
}

/* ================================================================
   GLOBAL OVERRIDES
================================================================ */
body {
    font-family: 'Inter', sans-serif;
    color: var(--cf-text);
}

h1, h2, h3, h4, h5, h6,
.section-title,
.rs-banner-title,
.rs-services-title,
.rs-pricing-title,
.rs-blog-title,
.rs-team-title {
    font-family: 'Outfit', sans-serif;
}

/* ================================================================
   HERO FORM INPUT FOCUS STATES
================================================================ */
#cf-hero-form input:focus,
#cf-hero-form select:focus {
    border-color: var(--cf-accent) !important;
    box-shadow: 0 0 0 3px rgba(254, 212, 3, 0.15) !important;
    outline: none;
}

/* ================================================================
   NAVIGATION ACTIVE STATE
================================================================ */
.header-nav nav a.active {
    color: var(--cf-accent);
    font-weight: 600;
}

/* ================================================================
   PROGRESS BARS
================================================================ */
.single-progress .progress {
    height: 6px;
    border-radius: 50px;
    background: #f0f0f0;
}

.single-progress .progress-bar {
    background: linear-gradient(90deg, var(--cf-accent) 0%, var(--cf-primary) 100%);
    border-radius: 50px;
}

.single-progress .progress-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.single-progress .progress-title {
    font-size: 14px;
    font-weight: 600;
    margin: 0;
}

.single-progress .progress-number {
    font-size: 14px;
    font-weight: 700;
    color: var(--cf-primary);
}

/* ================================================================
   COUNTER NUMBERS
================================================================ */
.rs-counter-number-wrapper {
    display: flex;
    align-items: baseline;
    gap: 2px;
}

.rs-counter-number.odometer {
    font-size: 52px;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    color: var(--cf-primary);
    line-height: 1;
}

.rs-counter-number-wrapper .prefix {
    font-size: 28px;
    font-weight: 800;
    color: var(--cf-accent);
    font-family: 'Outfit', sans-serif;
}

/* ================================================================
   TESTIMONIAL GRID LAYOUT (6-card grid, no swiper)
================================================================ */
.rs-testimonial-two .rs-testimonial-item {
    background: #fff;
    border-radius: 12px;
    padding: 28px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
    border: 1px solid var(--cf-border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rs-testimonial-two .rs-testimonial-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

.rs-testimonial-avater-thumb img {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
}

.rs-testimonial-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.rs-testimonial-rating { color: var(--cf-accent); font-size: 13px; }
.rs-testimonial-desc { font-size: 14px; line-height: 1.75; color: var(--cf-muted); margin-bottom: 20px; }
.rs-testimonial-avater-title { font-size: 16px; font-weight: 700; margin-bottom: 2px; }
.rs-testimonial-avater-designation { font-size: 12px; color: var(--cf-muted); }

/* ================================================================
   BRAND/PARTNER LOGOS
================================================================ */
.rs-brand-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    filter: grayscale(1);
    opacity: 0.6;
    transition: filter 0.3s, opacity 0.3s;
}

.rs-brand-item:hover { filter: grayscale(0); opacity: 1; }
.rs-brand-thumb img { max-height: 40px; object-fit: contain; }

/* ================================================================
   FAQ ACCORDION
================================================================ */
.rs-accordion-two .accordion-button {
    font-size: 16px;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    background: transparent;
    color: var(--cf-primary);
    padding: 20px 0;
    border: none;
    border-bottom: 1px solid var(--cf-border);
    box-shadow: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    text-align: left;
    cursor: pointer;
}

.rs-accordion-two .accordion-button:not(.collapsed) {
    color: var(--cf-accent2);
    border-color: var(--cf-accent);
}

.rs-accordion-two .accordion-body {
    padding: 16px 0 20px;
    font-size: 14px;
    line-height: 1.8;
    color: var(--cf-muted);
    border-bottom: 1px solid var(--cf-border);
}

.accordion-icon { flex-shrink: 0; margin-left: 15px; }
.accordion-icon svg { fill: currentColor; width: 12px; height: 14px; }

/* ================================================================
   CONTACT FORM INPUTS
================================================================ */
.rs-contact-form input,
.rs-contact-form select,
.rs-contact-form textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--cf-border);
    border-radius: var(--cf-radius);
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: #fff;
    color: var(--cf-text);
    outline: none;
}

.rs-contact-form input:focus,
.rs-contact-form select:focus,
.rs-contact-form textarea:focus {
    border-color: var(--cf-accent);
    box-shadow: 0 0 0 3px rgba(254, 212, 3, 0.15);
}

.rs-contact-form textarea { min-height: 130px; resize: vertical; }

/* ================================================================
   NEWSLETTER INPUT
================================================================ */
.rs-newsletter-input-wrapper {
    display: flex;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    overflow: hidden;
}

.rs-newsletter-input-wrapper input {
    flex: 1;
    background: rgba(255,255,255,0.1);
    border: none;
    color: #fff;
    padding: 12px 16px;
    font-size: 13px;
    outline: none;
}

.rs-newsletter-input-wrapper input::placeholder { color: rgba(255,255,255,0.5); }

.rs-newsletter-input-wrapper button {
    background: var(--cf-accent);
    border: none;
    padding: 12px 18px;
    cursor: pointer;
    color: var(--cf-primary);
    font-size: 16px;
    transition: background 0.2s;
}

.rs-newsletter-input-wrapper button:hover { background: var(--cf-accent2); }

/* ================================================================
   FOOTER LINK LISTS
================================================================ */
.rs-footer-link-list { list-style: none; padding: 0; margin: 0; }
.rs-footer-link-list li { margin-bottom: 10px; }
.rs-footer-link-list a {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    text-decoration: none;
    transition: color 0.2s, padding-left 0.2s;
}
.rs-footer-link-list a:hover { color: var(--cf-accent); padding-left: 5px; }

.rs-footer-widget-title {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    font-family: 'Outfit', sans-serif;
}

.rs-footer-social ul {
    display: flex;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.rs-footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: #fff;
    font-size: 16px;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}
.rs-footer-social a:hover { background: var(--cf-accent); color: var(--cf-primary); }

.rs-footer-contact-info ul { list-style: none; padding: 0; margin: 0; }
.rs-footer-contact-info li { display: flex; align-items: flex-start; gap: 8px; }

/* ================================================================
   404 PAGE ENHANCEMENTS
================================================================ */
.cf-404-wrapper { padding: 40px 0; }

/* ================================================================
   LEGAL PAGES
================================================================ */
.rs-legal-content h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--cf-primary);
    border-left: 4px solid var(--cf-accent);
    padding-left: 12px;
}

.rs-legal-content ul li {
    margin-bottom: 8px;
    padding-left: 8px;
}

/* ================================================================
   RESPONSIVE: MOBILE ADJUSTMENTS
================================================================ */
@media (max-width: 768px) {
    .rs-banner-title { font-size: 36px; }
    .rs-counter-number.odometer { font-size: 40px; }
    .rs-testimonial-two .rs-testimonial-item { padding: 20px; }
    .rs-contact-social { display: flex; gap: 12px; }
}

@media (max-width: 480px) {
    .rs-banner-title { font-size: 28px; }
    .rs-banner-btn-wrapper { flex-direction: column; gap: 10px; }
}
