/* ============================================================
   HUABANG - Global Custom Styles
   ============================================================ */

/* --- 1. Global Reset & Utilities --- */
body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
h2 br{
	display:none;
}
.lucide {
    stroke-width: 1.5;
}

/* --- 2. Hero Background (Used on Homepage) --- */
.hero-bg {
    background-image:
        linear-gradient(
            to right,
            rgba(11, 26, 58, 0.9) 0%,
            rgba(11, 26, 58, 0.6) 40%,
            rgba(11, 26, 58, 0) 100%
        ),
        url("https://images.unsplash.com/photo-1581093588401-fbb62a02f120?q=80&w=2070&auto=format&fit=crop");
    background-size: cover;
    background-position: center;
}

/* --- 3. Process Journey Step Lines (Used on About Us) --- */
.process-line {
    position: absolute;
    top: 50%;
    left: 5%;
    right: 5%;
    height: 2px;
    background-color: #e2e8f0;
    transform: translateY(-50%);
    z-index: 0;
}

/* --- 4. Swiper Projects Slider Customization --- */
.projectsSwiper .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #334155; /* Inactive gray dot */
    opacity: 1;
    transition: all 0.3s ease;
}
.projectsSwiper .swiper-pagination-bullet-active {
    background: #1e5bd9; /* Active brand-blue dot */
}
.projectsSwiper .swiper-button-next,
.projectsSwiper .swiper-button-prev {
    width: 48px !important;
    height: 48px !important;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(30, 91, 217, 0.4);
    border-radius: 9999px;
    color: #1e5bd9 !important;
    transition: all 0.3s ease;
}
.projectsSwiper .swiper-button-next:hover,
.projectsSwiper .swiper-button-prev:hover {
    background: #1e5bd9;
    color: #ffffff !important;
    border-color: #1e5bd9;
}
.projectsSwiper .swiper-button-next::after,
.projectsSwiper .swiper-button-prev::after {
    display: none; /* Hides default arrow */
}

/* Responsive adjustments for navigation arrows */
@media (max-width: 1024px) {
    .projectsSwiper .swiper-button-next,
    .projectsSwiper .swiper-button-prev {
        display: none !important;
    }
}

/* --- 5. FAQ Accordion Animations --- */
.faq-item .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
    padding-top: 0;
    padding-bottom: 0;
}
.faq-item.active .faq-answer {
    max-height: 500px;
    padding-bottom: 0.5rem;
}
.faq-item .faq-icon {
    transition: transform 0.3s ease;
}

/* --- 6. Contact Form 7 Styling (Global Form Styles) --- */

/* Grid Layout for the fields */
.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}
.form-col {
    flex: 1;
    min-width: 250px;
}

/* Style the Inputs */
.wpcf7-form label {
    display: block;
    font-size: 0.875rem; /* text-sm */
    font-weight: 700;    /* font-bold */
    color: #0b1a3a;      /* text-brand-dark */
    margin-bottom: 0.375rem;
}
.wpcf7-form .form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #e5e7eb; /* border-gray-200 */
    border-radius: 0.5rem;     /* rounded-lg */
    background-color: #f9fafb; /* bg-gray-50/50 */
    font-size: 0.875rem;
    transition: all 0.2s ease;
    box-sizing: border-box;
}
.wpcf7-form .form-control:focus {
    outline: none;
    border-color: #0048ad;    /* border-brand-primary */
    box-shadow: 0 0 0 3px rgba(0, 72, 173, 0.2); /* ring-2 */
    background-color: #ffffff;
}
.wpcf7-form textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

/* Style the Submit Button */
.wpcf7-form input[type="submit"].btn-submit {
    width: 100%;
    background-color: #0048ad;   /* bg-brand-primary */
    color: #ffffff;
    font-weight: 700;           /* font-bold */
    padding: 0.75rem 1.5rem;    /* py-3 px-8 */
    border-radius: 0.5rem;      /* rounded-lg */
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1); /* shadow-md */
    transition: background-color 0.3s ease;
    font-size: 0.875rem;
}
.wpcf7-form input[type="submit"].btn-submit:hover {
    background-color: #003a8c;  /* hover:bg-brand-dark */
}
.wpcf7-form input[type="submit"].btn-submit:after {
    content: "→";
    font-size: 1.1em;
}

/* Response Message box */
.wpcf7-response-output {
    margin-top: 20px !important;
    border-radius: 0.5rem !important;
    border-width: 1px !important;
    font-size: 0.875rem !important;
    background: #ffffff;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05) !important;
}
.wpcf7-spinner {
    margin: 10px auto !important;
    display: none !important;
}