/* Custom Front-End Styles */

/* Portfolio Card Image Height & Aspect Formatting */
.PortfolioInnerSec .portfolio-grid .portfolio-item img {
    height: 260px !important;
    object-fit: cover !important;
    object-position: center !important;
    border-radius: 20px !important;
    display: block !important;
}

@media (max-width: 767px) {
    .PortfolioInnerSec .portfolio-grid .portfolio-item img {
        height: 220px !important;
    }
}

/* Contact Us Form Full Width Card */
.newContactForm .contactFormContent {
    display: block !important;
    width: 100% !important;
}

.contactFormContent .contactRightAside {
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 38px !important;
    padding: 50px !important;
    background: #f6a440 !important;
}

@media (max-width: 767px) {
    .contactFormContent .contactRightAside {
        padding: 30px 20px !important;
        border-radius: 20px !important;
    }
}

/* Footer Padding Rules - Default to compact padding */
footer {
    background: #1C1C1C;
    padding: 60px 0px 20px !important;
    overflow-x: hidden;
}

/* Only apply 320px padding when Contact Us form is immediately preceding the footer */
.newContactForm + footer,
footer.has-contact-form {
    padding-top: 320px !important;
}

footer.no-contact-form {
    padding-top: 60px !important;
}

@media (max-width: 767px) {
    footer,
    footer.no-contact-form {
        padding-top: 40px !important;
    }
    .newContactForm + footer,
    footer.has-contact-form {
        padding-top: 220px !important;
    }
}

/* Service Details & Home Blog Cards Uniform Height & Alignment */
.blog-card {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    text-decoration: none !important;
}

.blog-card .blog-image {
    width: 100% !important;
    height: 240px !important;
    overflow: hidden !important;
    border-radius: 20px !important;
}

.blog-card .blog-image img {
    width: 100% !important;
    height: 240px !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
    border-radius: 20px !important;
}

.blog-card .blog-content {
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
    margin-top: 15px !important;
}

.blog-card .blog-content h3 {
    margin-top: 10px !important;
    font-size: 20px !important;
    line-height: 28px !important;
}

.blog-card .blog-content p {
    flex-grow: 1 !important;
}

.blog-card .blog-content .author {
    margin-top: auto !important;
    padding-top: 10px !important;
}

@media (max-width: 767px) {
    .blog-card .blog-image,
    .blog-card .blog-image img {
        height: 200px !important;
    }
}
.newBannerSec.aboutBanner.innerpage .ban_inner_text p {
    padding: 0% 2%;
}
 
 

.serviceWhatWedo .ourServicesContent .serviceIconBox img,
.serviceWhatWedo .ourServicesContent img {
    max-height: 60px !important;
    max-width: 65px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    display: block !important;
}

/* Testimonial Section & Cards Fixed Height, Flex Layout & Alignment */
.testimonial_slider .reviews-carousel .owl-stage {
    display: flex !important;
}

.testimonial_slider .reviews-carousel .owl-item {
    display: flex !important;
    height: auto !important;
}

.testimonial_slider .reviews-carousel .item {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 380px !important;
    padding: 30px 25px !important;
    background: #ffffff !important;
    border-radius: 20px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
    text-align: center !important;
    box-sizing: border-box !important;
}

.testimonial_slider .item .allStar {
    margin-bottom: 15px !important;
    display: flex !important;
    justify-content: center !important;
    gap: 4px !important;
    padding: 0 !important;
    list-style: none !important;
}

.testimonial_slider .item p.text-content {
    flex-grow: 1 !important;
    font-size: 15px !important;
    line-height: 1.6 !important;
    color: #4a5568 !important;
    margin-bottom: 12px !important;
    overflow: hidden !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 4 !important;
    -webkit-box-orient: vertical !important;
    transition: all 0.3s ease !important;
}

.testimonial_slider .item p.text-content.expanded {
    -webkit-line-clamp: unset !important;
    overflow: visible !important;
}

.testimonial_slider .item .read-more {
    background: none !important;
    border: none !important;
    color: #f6a440 !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    cursor: pointer !important;
    margin-bottom: 20px !important;
    outline: none !important;
    padding: 0 !important;
    display: inline-block !important;
    transition: color 0.2s ease !important;
}

.testimonial_slider .item .read-more:hover {
    color: #e08b28 !important;
    text-decoration: underline !important;
}

.testimonial_slider .item .client-profile {
    margin-top: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 15px !important;
    padding-top: 15px !important;
    border-top: 1px solid #f0f0f0 !important;
}

.testimonial_slider .item .client-profile .client-img img {
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
}

.testimonial_slider .item .client-profile .client-details {
    text-align: center !important;
}

.testimonial_slider .item .client-profile .client-details strong {
    display: block !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #1a202c !important;
}

.testimonial_slider .item .client-profile .client-details span {
    font-size: 13px !important;
    color: #718096 !important;
}

/* About Us Page Checklist - Single Column Layout (1 Item Per Line) */
.about-us-page .aboutUsListItem li,
.aboutUsPageSec .aboutUsListItem li {
    width: 100% !important;
}

/* Align Read More links at the bottom across all homepage service cards */
.newOurServicesSec .ourServices-container .ourServicesContent p {
    flex-grow: 1 !important;
}

.newOurServicesSec .ourServices-container .ourServicesContent a,
.newOurServicesSec .ourServices-container .ourServicesContent .similarAllBtns {
    margin-top: auto !important;
}

/* Service Details Page "Types of Software We Build" Checklist - 2 Columns Layout */
.serDetailType .aboutUsListItem,
.aboutUsListItem.two-columns-list {
    display: flex !important;
    flex-wrap: wrap !important;
}

.newAboutSec.aboutAboutSec .web_dev_title .fl-rich-text .aboutUsListItem.two-columns-list li,
.serDetailType .aboutUsListItem li,
.aboutUsListItem.two-columns-list li {
    width: 50% !important;
}

@media (max-width: 575px) {
    .newAboutSec.aboutAboutSec .web_dev_title .fl-rich-text .aboutUsListItem.two-columns-list li,
    .serDetailType .aboutUsListItem li,
    .aboutUsListItem.two-columns-list li {
        width: 100% !important;
    }
}

/* Footer Responsive Alignment Fix - All Links, Headings & Content Left-Aligned */
@media (max-width: 991px) {
    footer,
    footer .footer_first,
    footer .newFooterFirst,
    footer .title,
    footer h4,
    footer .sidebar,
    footer .menu-quick-links-menu-container,
    footer .menu-services-menu-container,
    footer ul.menu,
    footer ul.newMenu,
    footer ul.newMenu li,
    footer ul.newMenu li a,
    footer .contact_sec,
    footer .newContactSec,
    footer .contact_sec p,
    footer .contact_sec a,
    footer .foot_mail,
    footer .foot_tell,
    footer .phone-details {
        text-align: left !important;
        margin-left: 0 !important;
    }

    footer .col-lg-4,
    footer .col-lg-2,
    footer .col-lg-3,
    footer .col-sm-4,
    footer .col-xs-6,
    footer .col-xs-12 {
        margin-bottom: 25px !important;
    }

    footer ul.newMenu {
        padding-left: 0 !important;
        margin-left: 0 !important;
    }

    footer ul.newMenu li {
        display: block !important;
        padding-left: 0 !important;
        text-align: left !important;
    }

    footer ul.social_media,
    footer ul.newSocialMedia {
        justify-content: flex-start !important;
        text-align: left !important;
        padding-left: 0 !important;
    }

    footer .phone-details {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        justify-content: flex-start !important;
        text-align: left !important;
    }

    footer .phone-details i {
        margin-left: 0 !important;
        margin-right: auto !important;
    }

    footer .foot_bottom_sec p {
        text-align: center !important;
    }
}

@media (max-width: 575px) {
    footer .col-xs-6,
    footer .col-xs-12 {
        width: 100% !important;
        float: none !important;
        margin-bottom: 25px !important;
    }
}

.swiper-wrapper {
    height: auto !important;
}

/* Mobile Menu Link Wrapper for Services & Plus Button Separation */
.mob-menu .menu-link-wrapper {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 20px !important;
    width: 100% !important;
}

.mob-menu .menu-link-wrapper > a {
    display: flex;
    justify-content: space-between;
    align-items: center; 
    text-decoration: none;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
}

.mob-menu .menu-link-wrapper > a.active-menu,
.mob-menu .menu-link-wrapper > a:hover {
    color: #f3a533 !important;
}

