/* Home Tweenty — theme custom overrides */

/* Team listing — even 3-column grid, equal photo frames */
.team-listing-page .team-listing-grid > [class*="col-"] {
    display: flex;
}

.team-listing-page .team-items {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.team-listing-page .team-items .thumb {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    flex-shrink: 0;
}

.team-listing-page .team-items .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.footer2-social li {
    list-style: none;
}

.footer-section .footer2-social .emails,
.footer-section .list-area a[href^="mailto:"],
.footer-section .list-area a[href^="tel:"] {
    color: inherit !important;
    text-decoration: none !important;
}

.footer-section .footer2-social .emails:hover,
.footer-section .list-area a[href^="mailto:"]:hover,
.footer-section .list-area a[href^="tel:"]:hover {
    color: inherit !important;
}

a {
    text-decoration: none !important;
}

.user-dashbord {
    padding-top: 3%;
}

.contact-section input {
    margin-bottom: 4%;
}

.contact-section .contact-form {
    background-color: var(--white);
    border-radius: 30px;
    margin-top: 30px;
}

/* Contact AJAX success/error — space from form top border (Bootstrap row gutter pulls first col up) */
.get-inform > .row:has(.ajax-form-message:not([hidden])),
form.get-inform.row:has(.ajax-form-message:not([hidden])),
.getin-wrappper form.row:has(.ajax-form-message:not([hidden])) {
    margin-top: 0;
}

.get-inform .ajax-form-message:not([hidden]),
.getin-wrappper .ajax-form-message:not([hidden]) {
    margin-top: 0.75rem;
    margin-bottom: 1rem;
}

form.get-inform.row:has(.ajax-form-message:not([hidden])),
.getin-wrappper form.row:has(.ajax-form-message:not([hidden])) {
    padding-top: 1.25rem;
}

.contact-section .contact-form input {
    border-top-left-radius: 8px !important;
    border-bottom-left-radius: 8px !important;
    border-radius: 8px;
    outline: none;
    border: none;
    width: 100%;
    border: 1px solid var(--border);
    padding: 20px 20px;
    line-height: 1;
    color: var(--text);
    border: 1px solid;
}

.contact-section .user-form .no-gutters .text-center {
    text-align: left !important;
}

.user-dashbord .user-sidebar ul li {
    list-style: none;
}

.mbl-btn {
    display: none !important;
    width: max-content;
    margin-left: 3%;
    margin-bottom: 2%;
}

.pricing-items h2 {
    font-size: 36px;
}

.pricing-items.style2.active h2 span,
.pricing-items.style2:hover h2 span {
    font-size: 22px;
    letter-spacing: 0.2px;
}

.bizzen-about_two .bizzen-image.image-two {
    display: none;
}

@media (max-width: 575px) {
    .mbl-btn {
        display: block !important;
    }
}

@media (min-width: 780px) {
    .portflio-details {
        width: 100% !important;
        max-width: 100%;
        height: 530px !important;
        object-fit: cover !important;
        object-position: left center !important;
    }

    .portfolio-details-gallery {
        width: 100% !important;
        max-width: 100%;
        height: 247px !important;
        object-fit: cover !important;
        object-position: left center !important;
    }

    .package-price {
        margin-top: 0;
    }
}

/* Portfolio/service details hero image: cover, left-aligned (no squeeze) */
.portflio-details,
.portfolio-details-gallery,
.service-details-section .service-details-wraping .thumb img {
    object-fit: cover !important;
    object-position: left center !important;
}

.contact-section {
    padding-top: unset;
    padding-block: unset;
}

.breadcrumb-section::before {
    background: unset !important;
}

.btn-common-issue {
    display: block !important;
}

@media (max-width: 575px) {
    .contact-section input {
        margin-bottom: 0;
    }

    .contact-section.contact-page.section-gap .user-form .mt-40 {
        margin-top: 0;
    }
}

.pricing-items.style2.active h2 span,
.pricing-items.style2:hover h2 span {
    font-size: 36px;
}

.tech-service-item.overflow-hidden.rounded-4.reveal-left.w-100 img {
    max-height: 500px;
}

/* Why Choose Us side photos — equal fill, no stretch */
.tech-services .tech-service-photo {
    position: relative;
    min-height: 320px;
}

.tech-services .tech-service-photo > img {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
    object-position: center;
    display: block;
}

.tech-project-item.overflow-hidden.text-center.p3-bg.rounded-4.reveal-left.w-100 img {
    max-height: 260px;
}

.mhn-details-page h2 {
    height: 20px !important;
}

@media (max-width: 767px) {
    .mhn-details-page br {
        display: block;
    }
}

@media (max-width: 575px) {
    .pricing-toggle-item {
        padding: 6px 12px !important;
    }

    .pricing-section.space-bottom.fix {
        padding-top: 30px;
    }
}

/* Header: logo + auth + nav spacing */
.header-1 .header-main {
    gap: 16px;
}

.header-1 .header-main .header-left .header-logo {
    max-width: 140px;
    max-height: 48px;
    display: block;
    flex-shrink: 0;
}

.header-1 .header-main .header-left .header-logo img {
    width: auto;
    max-width: 140px;
    max-height: 48px;
    height: auto;
    object-fit: contain;
    display: block;
}

.header-1 .header-main .main-menu ul li {
    margin-inline-end: 16px;
}

/* Blog AJAX category active state */
.category-blog .cates li.active > a {
    color: var(--p1-clr, #ff5f00);
}

.category-blog .cates li.active .seri {
    background: var(--p1-clr, #ff5f00);
    color: #fff;
}

/* Mobile: search immediately left of menu icon */
.header-1 .header-mobile-tools {
    gap: 12px;
    margin-left: 0;
    flex-shrink: 0;
}

.header-1 .header-mobile-tools .search-icon {
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    border: 1px solid rgba(92, 112, 126, 0.3);
    color: var(--header);
    margin-left: 0 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.header-1 .header-mobile-tools .header__hamburger {
    margin: 0;
}

.header-1 .header-auth-links {
    gap: 0;
    flex-shrink: 0;
    margin-left: 4px;
}

.header-1 .header-auth-link {
    display: inline-flex;
    align-items: center;
    padding: 8px 0;
    white-space: nowrap;
    text-decoration: none;
}

.header-1 .header-auth-link--login {
    padding-right: 12px;
    margin-right: 12px;
    border-right: 2px solid #000;
}

.header-1 .call-version1 {
    flex-shrink: 0;
    margin-left: 4px;
}

/* Our Services: equal card heights */
.empower-section .row > [class*="col-"] {
    display: flex;
}

.empower-section .empower-item {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

.empower-section .empower-item > p {
    flex-grow: 1;
}

.empower-section .empower-item > .read-more-btn {
    margin-top: auto;
}

/* Service details: related service cards equal height */
.service-details-section .col-lg-4.col-md-6 {
    display: flex;
}

.service-details-section .empower-item {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

.service-details-section .empower-item > p {
    flex-grow: 1;
}

.service-details-section .empower-item > .read-more-btn {
    margin-top: auto;
}

/* Services page: equal card heights + room for hanging arrows */
.working-section6 {
    padding-bottom: 80px;
}

.working-section6 .row {
    --bs-gutter-y: 2.5rem;
}

.working-section6 .row > [class*="col-"] {
    display: flex;
}

.working-section6 .worke-items {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    margin-bottom: 48px;
}

.working-section6 .worke-items > p {
    flex-grow: 1;
}

.working-section6 .worke-items > .rarrow {
    margin-top: auto;
}

@media (max-width: 991px) {
    .working-section6 {
        padding-bottom: 60px;
    }
}

/* Hero blue card: Learn More hover = softer white, not blue-on-blue */
.banner-section.hero-style2 .hero-connecting-box .learn {
    color: #fff !important;
    transition: opacity 0.25s ease;
}

.banner-section.hero-style2 .hero-connecting-box .learn:hover,
.banner-section.hero-style2 .hero-connecting-box .learn:focus {
    color: #fff !important;
    opacity: 0.7;
}

/* Insights & Resources: equal card + thumbnail heights */
.blog-section .blog-items.style2 {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-section .blog-items.style2 .thumb {
    height: 220px;
    max-height: 220px;
    overflow: hidden;
    flex-shrink: 0;
}

.blog-section .blog-items.style2 .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Conversation form: beat common.css textarea height/padding + match input border */
.getin-touch-section .get-inform textarea,
.contact-section .get-inform textarea,
.get-inform.style4 textarea,
.get-inform.get-inform-main textarea {
    min-height: 140px !important;
    height: auto !important;
    resize: vertical !important;
    line-height: 1.5 !important;
    padding: 22px 24px !important;
    padding-top: 24px !important;
    outline: none !important;
    border-radius: 24px !important;
    box-shadow: none !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    vertical-align: top;
    box-sizing: border-box !important;
}

.getin-touch-section .get-inform textarea {
    border-top: 1px solid var(--black) !important;
    border-bottom: 3px solid var(--black) !important;
    border-left: 1px solid var(--black) !important;
    border-right: 1px solid var(--black) !important;
    background: var(--cmnbg) !important;
}

.getin-touch-section .get-inform textarea:focus {
    outline: none !important;
    border-top: 1px solid var(--black) !important;
    border-bottom: 3px solid var(--black) !important;
    border-left: 1px solid var(--black) !important;
    border-right: 1px solid var(--black) !important;
    box-shadow: none !important;
}

.getin-touch-section .get-inform textarea::placeholder,
.contact-section .get-inform textarea::placeholder,
.get-inform.style4 textarea::placeholder,
.get-inform.get-inform-main textarea::placeholder {
    line-height: 1.5 !important;
    opacity: 1;
}

/* Multi-line contact address: keep icon top-aligned, allow wrapping */
.footer-widgets-wrapper .list-area li.d-flex.align-items-center,
.contact-info-area .contact-info.d-flex.align-items-center {
    align-items: flex-start !important;
}

.footer-widgets-wrapper .list-area li .d-block.fs-seven,
.contact-info-area .contact-info .cont {
    white-space: normal !important;
    overflow: visible !important;
    word-break: break-word;
}

.blog-section .blog-items.style2 .content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-section .blog-items.style2 .content h3 {
    flex-grow: 1;
}

.blog-section .blog-items.style2 .content .read-more-btn {
    margin-top: auto;
}

@media (max-width: 767px) {
    .blog-section .blog-items.style2 .thumb {
        height: 180px;
        max-height: 180px;
    }
}

/* FAQ: restore full pill radius when closed */
.faq-section .custom-accordion.accordion-style2 .accordion-item {
    border-radius: 100px !important;
    transition: border-radius 0.25s ease;
}

.faq-section .custom-accordion.accordion-style2 .accordion-item.active {
    border-radius: 100px !important;
}

.faq-section .custom-accordion.accordion-style2 .accordion-item:has(.accordion-button:not(.collapsed)),
.faq-section .custom-accordion.accordion-style2 .accordion-item:has(.accordion-collapse.show) {
    border-radius: 24px !important;
}

/* Contact page: equal-height info cards */
.contact-section1 .contact-info-area > [class*="col-"] {
    display: flex;
}

.contact-section1 .contact-info-area .contact-info {
    width: 100%;
    height: 100%;
}

/* Pricing cards: equal height + CTA pinned to same bottom row */
.pricing-section .pricing-col {
    display: flex;
}

.pricing-section .pricing-items {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

.pricing-section .pricing-items .price-list {
    flex: 1 1 auto;
    margin-bottom: 0 !important;
}

.pricing-section .pricing-items > .common-btn,
.pricing-section .pricing-items > .quote-btn,
.pricing-section .pricing-items > .purchase-btn,
.pricing-section .pricing-items > a.common-btn,
.pricing-section .pricing-items > button.common-btn {
    margin-top: auto;
    align-self: stretch;
    justify-content: center;
}

/* Theme main.css sets input:focus { color: white } for dark search UI —
   keep typed text readable on light forms (onboarding, checkout, contact, quote). */
.onboarding-container input,
.onboarding-container input:focus,
.onboarding-container select,
.onboarding-container select:focus,
.checkout-container input,
.checkout-container input:focus,
.checkout-container select,
.checkout-container select:focus,
.contact-section input,
.contact-section input:focus,
.contact-section textarea,
.contact-section textarea:focus,
.user-form input,
.user-form input:focus,
.user-form textarea,
.user-form textarea:focus,
.theme-nineteen-quote input,
.theme-nineteen-quote input:focus,
.theme-nineteen-quote textarea,
.theme-nineteen-quote textarea:focus {
    color: #1a1a1a !important;
    -webkit-text-fill-color: #1a1a1a !important;
    caret-color: #1a1a1a;
}

/* Our Work (fronter) — equal card size; cover crop, no stretch/shrink */
.fronter-wrapper .swiper-slide {
    height: auto;
    align-self: stretch;
}

.fronter-wrapper .fornter-items {
    width: 100%;
    height: clamp(280px, 30vw, 400px);
    aspect-ratio: auto;
    max-height: none;
}

.fronter-wrapper .fornter-items > img {
    width: 100% !important;
    height: 100% !important;
    max-width: none;
    object-fit: cover;
    object-position: center;
    display: block;
}

