/* Wrapper for the 5 cards */
.theme-gradient-primary {
    background: var(--theme-gradient)
}
.theme-gradient-secondary {
    background: var(--theme-gradient-two)
}
.theme-gradient-php {
    background: linear-gradient(269.07deg, #777BB4 0%, #5A5F8E 100%);
}
.theme-gradient-codeigniter {
    background: linear-gradient(269.07deg, #FF6A3D 0%, #EE4323 50%, #CC2A14 100%);
}
.theme-gradient-wordpress {
    background: linear-gradient(269.07deg, #21759B 0%, #2EA3CC 100%);
}
.theme-gradient-woocommerce {
    background: linear-gradient(269.07deg, #96588A 0%, #743E68 100%);
}
.theme-gradient-laravel {
    background: linear-gradient(269.07deg, #FF6A4D 0%, #FF2D20 100%);
}
.theme-gradient-node{
    background: linear-gradient(269.07deg, #6BBF5F 0%, #417E38 100%);
}
.theme-gradient-shopify{
    background: linear-gradient(135deg, #96BF48 0%, #5E8E3E 100%);
}
.theme-gradient-bigcommerce{
    background: linear-gradient(269.07deg, #121118 0%, #1E1C24 100%);
}
.theme-gradient-react{
    background: linear-gradient(269.07deg, #087EA4 0%, #0AA7D1 100%);
}
.theme-gradient-magento{
    background: linear-gradient(269.07deg, #E56435 0%, #B8321A 100%) !important;
}
.theme-gradient-grey{
    background: #f7f7f7; /*linear-gradient(269.07deg, #032B2F 0%, #4FFCDD 100%);*/

}
:root {
    --theme-gradient-black: linear-gradient(135deg, #000000 0%, #2b2b2b 100%);
}


.theme-gradient-bigcommerce .hire-title span {
    background: var(--theme-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: rgba(0, 0, 0, 0);
}
.btn-flip.btn-flip-black:before {
    background: var(--theme-gradient-black);
    border-color: #000;
    color: #fff
}

/* ============================================================
   OUTSOURCING SECTION — FINAL
   ============================================================ */

/* Grid wrapper */
.outsourcing-section .outsourcing-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    margin-top: 40px;
    justify-content: center;
}

/* Base card style – mobile: 1 per row */
.outsourcing-section .os-card {
    flex: 0 1 100%;
    background: #ffffff;
    padding: 28px;
    border-radius: 14px;
    border: 1px solid #e6e8ee;
    transition: all .3s ease;
    text-align: center;
    box-shadow: 0px 4px 15px rgba(0,0,0,0.05);
}

.outsourcing-section .os-card p {
    font-weight: 600;
}

/* Tablet: 2 per row */
@media (min-width: 768px) {
    .outsourcing-section .os-card {
        flex: 0 1 calc(50% - 32px);
    }
}

/* Desktop – 3-column layout mode */
@media (min-width: 1024px) {
    /* .layout-3 → always 3 in a row */
    .outsourcing-section .layout-3 .os-card {
        flex: 0 1 calc(33.333% - 32px);
    }

    /* .layout-4 → base: 4 in a row */
    .outsourcing-section .layout-4 {
        justify-content: flex-start;
    }

    .outsourcing-section .layout-4 .os-card {
        flex: 0 1 calc(25% - 32px); /* 4 columns */
        margin-left: 0;
    }

    /* Center last row for layout-4 via JS-added classes */
    .outsourcing-section .layout-4 .os-card.last-row-3-first {
        margin-left: 12.5%; /* centers 3 cards of 25% each */
    }

    .outsourcing-section .layout-4 .os-card.last-row-2-first {
        margin-left: 25%; /* centers 2 cards of 25% each */
    }

    .outsourcing-section .layout-4 .os-card.last-row-1 {
        margin-left: 37.5%; /* centers 1 card of 25% */
    }
}

/* Hover */
.outsourcing-section .os-card:hover {
    transform: translateY(-6px);
    box-shadow: 0px 8px 25px rgba(37, 99, 235, 0.22);
    border-color: #2563EB;
}

/* Icon box (Bootstrap Icons) */
.outsourcing-section .os-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 16px;
    border-radius: 14px;
    background: var(--theme-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0px 6px 16px rgba(37, 99, 235, 0.25);
}

.outsourcing-section .os-icon i {
    font-size: 28px;
    color: #fff;
    line-height: 1;
}

/* Kill old emoji-based content if still present anywhere */
.outsourcing-section .os-icon::before {
    content: none !important;
}

/* Fade animation (optional) */
.outsourcing-section .fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp .8s forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile override safety */
@media (max-width: 575px) {
    .outsourcing-section .os-card {
        flex: 0 1 100% !important;
        margin-left: 0 !important;
    }
}



/*hire section*/
/* =============================
   Hire PHP CTA Section
============================= */

.hire-php-cta-section {
    padding: 90px 0;
}

/* Wrapper using YOUR gradient background variable */
.hire-php-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 50px;
    border-radius: 20px;
    /*background: var(--theme-gradient);*/
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    color: #fff;
}

/* Text section */
.hire-php-content {
    flex: 1 1 480px;
}

.hire-title {
    font-size: 36px;
    line-height: 1.3;
    font-weight: 700;
    color: #fff;
}

.hire-title span {
    color: var(--theme-black);
    opacity: 0.9;
}

.hire-subtext {
    font-size: 17px;
    opacity: 0.9;
    margin-bottom: 28px;
    max-width: 550px;
}

/* Button */
.hire-btn-wrap {
    margin-top: 10px;
}

.hire-btn {
    padding: 14px 32px;
    font-size: 17px;
    border-radius: 10px;
    background: #fff !important; /* white button on gradient */
    color: var(--primary-color);
    font-weight: 700;
    box-shadow: 0 6px 16px rgba(255, 255, 255, 0.35);
}

.hire-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.5);
}

/* Right visual block */
.hire-php-visual {
    flex: 0 1 280px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Large Icon Box using theme gradient */

.hire-php-visual .hire-icon {
    height: 120px;
    width: 120px;
    border-radius: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 52px;
    color: #fff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(6px);
}

.hire-php-visual .hire-icon::before {
    content: attr(data-icon);
}

.hire-icon::before {
    content: attr(data-icon);
}
.code-bracket-icon svg {
    width: 60%;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hire-php-wrapper {
        padding: 35px;
        text-align: center;
    }
    .hire-php-visual {
        order: -1;
    }
}

/* Section Spacing */
.enhanced-section {
    padding-top: 60px;
}

/* Image Styling */
.image-wrapper img {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Typography */
.enhanced-content p {
    margin-bottom: 15px;
    line-height: 1.7;
    color: #444;
}

/* Grid Layout */
.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 20px;
}

/* Feature Box */
.feature-box {
    background: #fff;
    border: 1px solid #ececec;
    padding: 12px 15px;
    border-radius: 10px;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.05);
    transition: 0.3s;
}

.feature-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0,0,0,0.07);
}

/* Icon Wrapper (Fixed Size & Alignment) */
.icon-wrapper {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--theme-gradient); /* CodexNation theme */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}

.icon-wrapper i {
    font-size: 20px;
    color: #fff;
    line-height: 1;
}


/* Full-width Enterprise FAQ */
.enterprise-accordion .faq-panel {
    border: none;
    border-radius: 18px;
    background: #ffffff;
    margin-bottom: 22px;
    box-shadow: 0 10px 35px rgba(0,0,0,0.05);
    overflow: hidden;
}

/* Accordion Button */
.enterprise-accordion .accordion-button {
    background: transparent;
    padding: 20px 28px;
    display: flex;
    align-items: center;
    gap: 16px;
    justify-content: space-between;
    font-weight: 600;
    font-size: 17px;
    color: #111827;
    border-radius: 18px;
}

.enterprise-accordion .accordion-button::after {
    display: none;
}

/* Left Icon */
.faq-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--theme-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.faq-icon i {
    font-size: 14px;
    color: #fff;
    transition: transform .25s ease;
}

/* Center Title */
.faq-question {
    flex: 1;
    padding-left: 6px;
    line-height: 1.4;
}

/* Right Arrow */
.faq-arrow i {
    font-size: 18px;
    color: #111;
    transition: transform .25s ease;
}

.enterprise-accordion .accordion-button:not(.collapsed) .faq-arrow i {
    transform: rotate(180deg);
}

/* Rotate plus icon */
.enterprise-accordion .accordion-button:not(.collapsed) .faq-icon i {
    transform: rotate(45deg);
}

/* FAQ Body */
.enterprise-accordion .accordion-body {
    padding: 0 28px 22px 28px;
    font-size: 15px;
    color: #4b5563;
    line-height: 1.7;
}
/* Improved FAQ Body Styling (Expanded Panel) */
.enterprise-accordion .accordion-collapse {
    border-top: 1px solid rgba(0,0,0,0.06);
}

.enterprise-accordion .accordion-body {
    background: #fafafa; /* soft grey background */
    padding: 22px 32px 28px 32px !important;
    border-radius: 0 0 18px 18px;
    color: #4a4a4a;
    font-size: 15px;
    line-height: 1.75;
}

/* Improve spacing if answers have multiple lines */
.enterprise-accordion .accordion-body p,
.enterprise-accordion .accordion-body div {
    margin-bottom: 10px;
}

/* Slight inner shadow for visual depth */
.enterprise-accordion .accordion-body {
    box-shadow: inset 0 4px 12px rgba(0,0,0,0.03);
}



/* Background */
.laravel-perks-sec {
    background: #f7f9fa;
}

/* 3-column border system */
.laravel-perks-grid .perk-col {
    border-right: 1px solid #e6e6e6;
    border-bottom: 1px solid #e6e6e6;
    padding: 30px;
}

/* Remove right border for 3rd and 6th items */
.laravel-perks-grid .perk-col:nth-child(3n) {
    border-right: none;
}

/* Remove bottom border for items 4,5,6 (last row) */
.laravel-perks-grid .perk-col:nth-child(n+4) {
    border-bottom: none;
}

/* Icon styling */
.perk-box .perk-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 15px;
    color: #fff;
}

/* Colors */
.icon-blue { background: #00bcd4; }
.icon-green { background: #4cd964; }
.icon-yellow { background: #f7c02d; }
.icon-pink { background: #ff6b81; }
.icon-cyan { background: #1dd1a1; }
.icon-purple { background: #7d5fff; }

/* Title */
.perk-box h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 6px;
}

/* Underline */
.perk-underline {
    width: 40px;
    height: 3px;
    display: block;
    margin-bottom: 10px;
}

.blue-line { background: #00bcd4; }
.green-line { background: #4cd964; }
.yellow-line { background: #f7c02d; }
.pink-line { background: #ff6b81; }
.cyan-line { background: #1dd1a1; }
.purple-line { background: #7d5fff; }

.lead-text {
    font-size: 18px;
    color: #555;
    line-height: 1.7;
}
/* Timeline Wrapper Spacing */
.final-timeline-wrapper {
    margin-top: 60px;
    margin-bottom: 20px;
}

/* Timeline Card Base */
.timeline-card {
    position: relative;
    background: #ffffff;
    border-radius: 12px;
    padding: 28px 30px 28px 45px;
    border-left: 4px solid #00bcd4;
    box-shadow: 0 6px 15px rgba(0,0,0,0.08);
    transition: 0.3s ease;
    margin-bottom: 30px;
}

/* Hover Effect */
.timeline-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.12);
}

/* Timeline Dots */
.timeline-dot {
    position: absolute;
    left: -11px;
    top: 28px;
    width: 18px;
    height: 18px;
    background: #00bcd4;
    border-radius: 50%;
    border: 3px solid #ffffff;
    box-shadow: 0 0 0 4px rgba(0,188,212,0.25);
}

/* Second dot (different color for uniqueness) */
.timeline-dot.second {
    background: #7d5fff;
    box-shadow: 0 0 0 4px rgba(125,95,255,0.25);
}

/* Text inside cards */
.timeline-card p {
    margin: 0;
    font-size: 16px;
    line-height: 1.75;
    color: #444;
}


