/* ===================================================================
   Site-wide UI consistency layer — loaded after premium-ui.css
   Covers: hero titlebar, gallery cards, testimonials, contact boxes,
   about counters, icon boxes, forms, long-form content.
   =================================================================== */

/* ── 1. Hero / Page-title bar ─────────────────────────────────────── */
.prt-titlebar-wrapper {
    position: relative;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    min-height: 280px;
    display: flex;
    align-items: center;
}

.prt-titlebar-wrapper-bg-layer.prt-bg-layer {
    background: linear-gradient(
        135deg,
        rgba(40, 29, 10, 0.72) 0%,
        rgba(40, 29, 10, 0.50) 60%,
        rgba(152, 114, 48, 0.28) 100%
    ) !important;
}

.prt-titlebar-wrapper-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 60px 0;
}

.prt-page-title-row-heading .title {
    font-family: 'Playfair Display', serif !important;
    font-size: clamp(28px, 5vw, 48px) !important;
    font-weight: 700 !important;
    color: #fff !important;
    letter-spacing: -0.3px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.25);
    margin-bottom: 12px;
}

.breadcrumb-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255,255,255,0.75);
}

.breadcrumb-wrapper a {
    color: rgba(255,255,255,0.85);
    transition: color 0.2s;
}

.breadcrumb-wrapper a:hover {
    color: #c49a40;
}

.breadcrumb-wrapper .prt-sep {
    color: rgba(255,255,255,0.45);
}

.breadcrumb-wrapper i.flaticon-home {
    font-size: 14px;
    color: #c49a40;
}

/* ── 2. Section titles — global consistency ──────────────────────── */
.section-title .title-header h3 {
    font-family: 'Poppins', sans-serif !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 2.5px !important;
    color: #987230 !important;
    margin-bottom: 10px !important;
}

.section-title .title-header h2.title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: #281d0a;
}

.section-title .title-header h2.title span,
.section-title .title-header h2.title .text-base-skin {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    color: #987230 !important;
}

/* ── 3. Gallery cards — always-visible title overlay ─────────────── */
.featured-imagebox-portfolio.style1 .featured-imagebox-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(40,29,10,0.12);
    transition: box-shadow 0.3s, transform 0.3s;
}

.featured-imagebox-portfolio.style1 .featured-imagebox-wrapper:hover {
    box-shadow: 0 10px 36px rgba(40,29,10,0.22);
    transform: translateY(-4px);
}

.featured-imagebox-portfolio.style1 .featured-thumbnail {
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.featured-imagebox-portfolio.style1 .featured-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.featured-imagebox-portfolio.style1:hover .featured-thumbnail img {
    transform: scale(1.06);
}

/* Force the content block always visible (override theme's hover-only reveal) */
.featured-imagebox-portfolio.style1 .featured-content {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    top: auto !important;
    padding: 20px 18px 16px !important;
    background: linear-gradient(to top, rgba(40,29,10,0.82) 0%, rgba(40,29,10,0.0) 100%) !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    display: block !important;
    visibility: visible !important;
}

.featured-imagebox-portfolio.style1 .featured-content .featured-title h2,
.featured-imagebox-portfolio.style1 .featured-content .featured-title h2 a {
    font-family: 'Poppins', sans-serif !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #fff !important;
    text-shadow: 0 1px 4px rgba(0,0,0,0.35);
    margin: 0 !important;
}

/* ── 4. Gallery section wrapper ──────────────────────────────────── */
.prt-row.home01-immigration-and-services-section {
    padding-top: 60px;
    padding-bottom: 60px;
    background: #f7f5f2;
}

.prt-row.home01-immigration-and-services-section .col-lg-3 {
    margin-bottom: 24px;
}

/* Gallery search input */
.widget-search .search-form,
.widget.widget-search.with-title {
    background: #fff;
    border-radius: 14px;
    padding: 24px 28px;
    box-shadow: 0 2px 16px rgba(40,29,10,0.08);
    margin-bottom: 0;
}

section.pt-80 {
    padding-top: 50px;
    padding-bottom: 10px;
    background: #f7f5f2;
}

/* ── 5. Testimonial cards ─────────────────────────────────────────── */
.testimonials.style2 {
    background: #fff !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 24px rgba(40,29,10,0.09) !important;
    padding: 28px 28px 24px !important;
    margin-bottom: 24px;
    transition: box-shadow 0.3s, transform 0.3s;
    border: 1px solid rgba(152,114,48,0.08);
}

.testimonials.style2:hover {
    box-shadow: 0 10px 40px rgba(40,29,10,0.15) !important;
    transform: translateY(-3px);
}

.testimonials.style2 .testimonial-wrapper {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.testimonials.style2 .testimonial-info {
    display: flex;
    align-items: center;
    gap: 14px;
}

.testimonials.style2 .testimonial-img img {
    width: 60px !important;
    height: 60px !important;
    border-radius: 50% !important;
    object-fit: cover;
    border: 3px solid rgba(152,114,48,0.3);
}

.testimonials.style2 .testimonial-caption h3 {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #281d0a !important;
    margin: 0 0 2px !important;
}

.testimonials.style2 .testimonial-caption label {
    font-size: 12px;
    color: #987230;
    font-weight: 500;
    display: block;
    margin-bottom: 4px;
}

.testimonials.style2 .rating {
    display: flex;
    gap: 3px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.testimonials.style2 .rating li.active i {
    color: #f5a623;
    font-size: 13px;
}

.testimonials.style2 .testimonial-text {
    font-size: 14px !important;
    line-height: 1.75 !important;
    color: #666 !important;
    border-left: 3px solid rgba(152,114,48,0.3) !important;
    padding-left: 14px !important;
    margin: 0 !important;
    font-style: italic;
}

.py-80 { padding-top: 80px; padding-bottom: 80px; }

section.py-80 {
    background: #f7f5f2;
}

/* ── 6. Contact info icon boxes (style19) ────────────────────────── */
.featured-icon-box.icon-align-top-content.style19 {
    padding: 28px 22px !important;
    text-align: center;
    transition: background 0.25s;
}

.featured-icon-box.icon-align-top-content.style19:hover {
    background: rgba(152,114,48,0.05);
}

.featured-icon-box.icon-align-top-content.style19 .prt-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(152,114,48,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    transition: background 0.25s;
}

.featured-icon-box.icon-align-top-content.style19:hover .prt-icon {
    background: rgba(152,114,48,0.2);
}

.featured-icon-box.icon-align-top-content.style19 .prt-icon i {
    font-size: 22px;
    color: #987230;
}

.featured-icon-box.icon-align-top-content.style19 .featured-title h3 {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #281d0a !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px !important;
}

.featured-icon-box.icon-align-top-content.style19 .featured-desc a,
.featured-icon-box.icon-align-top-content.style19 .featured-desc span {
    font-size: 13.5px;
    color: #555;
    transition: color 0.2s;
}

.featured-icon-box.icon-align-top-content.style19 .featured-desc a:hover {
    color: #987230;
}

/* Google Maps iframe */
.site-main > iframe {
    display: block;
    border-radius: 0;
    filter: grayscale(15%) contrast(1.05);
}

/* ── 7. About: icon boxes (style6, why-us section) ───────────────── */
.featured-icon-box.style6 {
    padding: 24px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.featured-icon-box.style6 .prt-icon i {
    font-size: 28px;
    color: #c49a40;
}

.featured-icon-box.style6 .featured-title h3 {
    font-size: 17px !important;
    font-weight: 700 !important;
    color: #fff !important;
    margin-bottom: 8px !important;
}

.featured-icon-box.style6 .featured-desc p {
    font-size: 14px;
    color: rgba(255,255,255,0.78);
    line-height: 1.75;
}

/* ── 8. About / Travel-Agent: stat counter (prt-fid) ─────────────── */
.prt-fid.style2 {
    padding: 30px 20px;
    text-align: center;
    border-right: 1px solid rgba(255,255,255,0.15);
}

.prt-fid.style2:last-child {
    border-right: none;
}

.prt-fid.style2 .prt-fid-icon-wrapper i {
    font-size: 32px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 8px;
}

.prt-fid.style2 .prt-fid-contents .prt-fid-inner .numinate {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.prt-fid.style2 h3.prt-fid-title {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: rgba(255,255,255,0.85) !important;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-top: 6px !important;
}

.prt-fid.style2 .prt-fid-desc p {
    font-size: 12.5px;
    color: rgba(255,255,255,0.65);
    margin-top: 4px;
}

/* ── 9. Global form inputs — all pages ───────────────────────────── */
.contact_form input[type="text"],
.contact_form input[type="email"],
.contact_form input[type="number"],
.contact_form input[type="date"],
.contact_form input[type="tel"],
.contact_form input[type="search"],
.contact_form textarea,
.contact_form select,
.bg-base-grey input[type="text"],
.bg-base-grey input[type="email"],
.bg-base-grey input[type="number"],
.bg-base-grey input[type="date"],
.bg-base-grey input[type="tel"],
.bg-base-grey textarea,
.bg-base-grey select {
    width: 100% !important;
    background: #fff !important;
    border: 1.5px solid rgba(40,29,10,0.12) !important;
    border-radius: 10px !important;
    padding: 12px 16px !important;
    font-family: 'Poppins', sans-serif !important;
    font-size: 13.5px !important;
    color: #333 !important;
    outline: none !important;
    transition: border-color 0.22s, box-shadow 0.22s !important;
    margin-bottom: 14px !important;
    box-shadow: 0 1px 4px rgba(40,29,10,0.04) !important;
}

.contact_form input:focus,
.contact_form textarea:focus,
.contact_form select:focus,
.bg-base-grey input:focus,
.bg-base-grey textarea:focus,
.bg-base-grey select:focus {
    border-color: #987230 !important;
    box-shadow: 0 0 0 3px rgba(152,114,48,0.14) !important;
}

.contact_form input::placeholder,
.contact_form textarea::placeholder,
.bg-base-grey input::placeholder,
.bg-base-grey textarea::placeholder {
    color: #aaa !important;
    font-size: 13px !important;
}

.contact_form label,
.bg-base-grey label {
    font-size: 12.5px;
    font-weight: 600;
    color: #555;
    margin-bottom: 4px;
    display: block;
}

/* Submit buttons */
.contact_form button.prt-btn,
.bg-base-grey button.prt-btn {
    font-family: 'Poppins', sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    letter-spacing: 0.3px !important;
    padding: 12px 32px !important;
    border-radius: 30px !important;
    background: #987230 !important;
    border-color: #987230 !important;
    color: #fff !important;
    box-shadow: 0 4px 18px rgba(152,114,48,0.35) !important;
    transition: background 0.2s, box-shadow 0.2s, transform 0.15s !important;
}

.contact_form button.prt-btn:hover,
.bg-base-grey button.prt-btn:hover {
    background: #7a5a22 !important;
    border-color: #7a5a22 !important;
    box-shadow: 0 6px 24px rgba(152,114,48,0.48) !important;
    transform: translateY(-1px);
}

/* form section panel */
.bg-base-grey.spacing-25 {
    padding: 40px !important;
}

/* ── 10. Long-form content (Privacy, Terms) ──────────────────────── */
.section-title .title-desc p,
.site-main .title-desc p {
    font-size: 14.5px;
    line-height: 1.9;
    color: #555;
    margin-bottom: 14px;
}

.section-title .title-desc p strong {
    color: #281d0a;
    font-weight: 700;
}

/* ── 11. Travel Agent: dark-bg section title ─────────────────────── */
.section-title.style2 .title-header h2.title {
    color: #fff !important;
}

.section-title.style2 .title-header h2.title span {
    color: #c49a40 !important;
}

/* ── 12. About why-us section — dark bg ──────────────────────────── */
.prt-row.about01-why-us-section .section-title .title-header h2.title {
    color: #fff !important;
}

.prt-row.about01-why-us-section .section-title .title-header h2.title span {
    color: #c49a40 !important;
    font-style: italic;
}

.prt-row.about01-why-us-section .section-title .title-header h3 {
    color: #c49a40 !important;
}

/* ── 13. About: checklist ul styling ─────────────────────────────── */
#ulstyle ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

#ulstyle ul li {
    font-size: 14px;
    font-weight: 500;
    color: #444;
    padding: 6px 0 6px 24px;
    position: relative;
}

#ulstyle ul li::before {
    content: '\f00c';
    font-family: 'FontAwesome';
    font-size: 11px;
    color: #987230;
    position: absolute;
    left: 0;
    top: 8px;
}

/* ── 14. Section spacing & backgrounds ───────────────────────────── */
.prt-row.about01-about-section {
    padding-top: 80px;
    padding-bottom: 80px;
}

.prt-row.contact-us-iconbox-section {
    padding: 50px 0;
    background: #f7f5f2;
}

.prt-row.contact-us-contact-form-section {
    padding-top: 60px;
    padding-bottom: 60px;
}

/* ── 15. Global `.prt-btn-color-skincolor` fill ──────────────────── */
.prt-btn.prt-btn-color-skincolor,
.prt-btn.prt-btn-color-skin {
    background: #987230 !important;
    border-color: #987230 !important;
    color: #fff !important;
}

.prt-btn.prt-btn-color-skincolor:hover,
.prt-btn.prt-btn-color-skin:hover {
    background: #7a5a22 !important;
    border-color: #7a5a22 !important;
    color: #fff !important;
}

/* ── 16. Fix Bootstrap .card collision on gallery column wrappers ── */
/* gallerys.php wraps each col in .card — strip BS card look */
#search_data .card {
    border: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    padding: 0 !important;
    box-shadow: none !important;
    margin-bottom: 24px;
}

/* ── 17. Packages-details titlebar — ensure container is above bg layer */
.prt-titlebar-wrapper > .container {
    position: relative;
    z-index: 2;
}

/* ── 18. Privacy / Terms — long-form section padding ─────────────── */
.prt-row.about01-about-section .pl-50 {
    padding-left: 32px !important;
}

@media (max-width: 991px) {
    .prt-row.about01-about-section .pl-50 {
        padding-left: 0 !important;
    }
}

/* ── 20. Mobile tweaks ───────────────────────────────────────────── */
@media (max-width: 767px) {
    .prt-titlebar-wrapper-inner {
        padding: 40px 0;
    }

    .prt-page-title-row-heading .title {
        font-size: 28px !important;
    }

    .testimonials.style2 {
        padding: 20px 16px 18px !important;
    }

    .bg-base-grey.spacing-25 {
        padding: 24px 18px !important;
    }

    .prt-fid.style2 {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.12);
        padding: 20px 12px;
    }
}
