/* ==========================================================================
   WORDPRESS DEVELOPMENT SUBPAGE SPECIFIC STYLES
   ========================================================================== */

/* --- 1. HERO SECTION --- */
.wordpress-hero {
    background: var(--gradient-premium-dark);
    padding: 140px 24px 100px;
    position: relative;
    overflow: hidden;
}

/* Glowing backdrops for depth */
.wordpress-hero .glow-blob-hero {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(231, 24, 27, 0.12) 0%, transparent 70%);
    top: -10%;
    right: 5%;
    border-radius: 50%;
    z-index: 1;
}

.wordpress-hero .container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content-left {
    color: var(--color-white);
}

.hero-content-left .badge {
    margin-bottom: 24px;
    color: var(--color-white);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.15);
}

.hero-content-left .badge-pulse {
    background: #10b981;
    /* emerald green */
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero-desc {
    font-size: 1.1rem;
    line-height: 1.65;
    color: #cbd5e1;
    margin-bottom: 35px;
}

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
}

.btn-secondary-white {
    background: transparent;
    color: var(--color-white);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 14px 38px;
    border-radius: 60px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-secondary-white:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--color-white);
    transform: translateY(-2px);
}

/* Right Illustration */
.hero-image-right {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-right img {
    width: 100%;
    max-width: 540px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.5s ease;
}

.hero-image-right:hover img {
    transform: translateY(-5px);
}

/* Floating Enquire Badge */
.float-enquire {
    position: fixed;
    right: 0;
    top: 40%;
    transform: translateY(-50%) rotate(-90deg);
    transform-origin: right bottom;
    background: var(--color-primary);
    color: var(--color-white);
    padding: 14px 28px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 8px 8px 0 0;
    z-index: 999;
    box-shadow: -4px 0 20px rgba(231, 24, 27, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.float-enquire:hover {
    background: var(--color-primary-hover);
    padding-bottom: 34px;
}

.float-enquire i {
    margin-right: 8px;
}


/* --- 2. TENDERING SERVICES GRID --- */
.services-grid-section {
    padding: 100px 24px;
    background: #f8fafc;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 55px;
}

.service-card {
    background: var(--color-white);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.07);
    border-color: rgba(231, 24, 27, 0.15);
}

.service-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #0f172a;
    padding-bottom: 12px;
    margin-bottom: 18px;
    border-bottom: 2px solid #f1f5f9;
    position: relative;
}

.service-card h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 40px;
    height: 2px;
    background: var(--color-primary);
    transition: width 0.3s ease;
}

.service-card:hover h3::after {
    width: 80px;
}

.service-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #475569;
}

.service-card p strong {
    color: #0f172a;
    font-weight: 600;
}


/* --- 3. CONVERSIONS CTA BANNER --- */
.conversions-banner-section {
    padding: 100px 24px;
    background: #f8fafc;
}

.conversions-banner {
    background: var(--gradient-premium-dark);
    border-radius: 24px;
    padding: 50px 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.conversions-left {
    display: flex;
    align-items: center;
    gap: 30px;
    flex: 1;
}

.conversions-avatar-wrap {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.15);
    overflow: hidden;
    flex-shrink: 0;
}

.conversions-avatar-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.conversions-text {
    color: var(--color-white);
}

.conversions-text h3 {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 8px;
}

.conversions-text p {
    font-size: 1.05rem;
    color: #cbd5e1;
    line-height: 1.5;
}

.conversions-banner .btn-primary {
    flex-shrink: 0;
}


/* --- 4. PROCESS SECTION --- */
.process-section {
    padding: 100px 24px;
    background: var(--color-white);
}

.process-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 60px;
    align-items: start;
}

.process-left-col {
    position: sticky;
    top: 100px;
}

.process-left-col .section-title {
    margin-bottom: 20px;
}

.process-left-col .section-line {
    margin: 0 0 25px 0;
}

.process-desc {
    font-size: 1.1rem;
    line-height: 1.65;
    color: #475569;
}

.process-right-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.process-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 28px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.process-card:hover {
    background: var(--color-white);
    transform: translateX(8px);
    /* border-left: 4px solid var(--color-primary); */
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05);
}

.process-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
}

.process-card p {
    font-size: 0.95rem;
    line-height: 1.55;
    color: #475569;
}


/* --- 4.5 WORDPRESS HARDENING SECTION --- */
.wp-hardening-section {
    padding: 100px 24px;
    background: #f8fafc;
}

.hardening-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.hardening-card {
    background: var(--color-white);
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.02);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.hardening-card:hover {
    transform: translateY(-8px);
    border-color: rgba(231, 24, 27, 0.15);
    box-shadow: 0 20px 40px rgba(231, 24, 27, 0.05);
}

.hardening-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(231, 24, 27, 0.05);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.hardening-card:hover .hardening-icon {
    background: var(--color-primary);
    color: var(--color-white);
    transform: scale(1.1);
}

.hardening-card h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
}

.hardening-card p {
    font-size: 0.95rem;
    line-height: 1.55;
    color: #475569;
}

/* responsive rule for hardening grid */
@media (max-width: 991px) {
    .hardening-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .hardening-grid {
        grid-template-columns: 1fr;
    }

    .hardening-card {
        padding: 30px 20px;
    }
}


/* --- 5. RESPONSIVE BREAKPOINTS --- */
@media (max-width: 1199px) {
    .hero-title {
        font-size: 2.8rem;
    }
}

@media (max-width: 991px) {
    .conversions-banner-section {
        padding: 50px 16px;
    }
    .wordpress-hero .container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .conversions-banner {
        flex-direction: column;
        text-align: center;
        padding: 40px;
    }

    .conversions-left {
        flex-direction: column;
        gap: 20px;
    }

    .process-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .process-left-col {
        position: relative;
        top: 0;
    }
}

@media (max-width: 767px) {
    .wordpress-hero {
        padding: 100px 16px 60px;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .conversions-text h3 {
        font-size: 1.6rem;
    }

    .section-title {
        font-size: 1.7rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .hero-desc {
        font-size: 0.95rem;
        margin-bottom: 25px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }

    .hero-buttons a {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .services-grid-section {
        padding: 60px 16px;
    }

    .section-title {
        font-size: 1.4rem;
    }

    .service-card {
        padding: 30px 20px;
    }

    .service-card h3 {
        font-size: 1.25rem;
    }

    .conversions-banner {
        padding: 30px 20px;
        border-radius: 16px;
    }

    .conversions-text h3 {
        font-size: 1.35rem;
    }

    .conversions-text p {
        font-size: 0.9rem;
    }

    .process-section {
        padding: 60px 16px;
    }

    .process-card {
        padding: 24px 20px;
    }

    .process-card:hover {
        transform: translateX(4px);
    }

    .process-card h4 {
        font-size: 1.15rem;
    }

    .faq-section {
        padding: 60px 16px;
    }

    .faq-main-heading {
        font-size: 1.45rem;
    }

    .wp-hardening-section {
        padding: 60px 16px;
    }
}

/* ==========================================================================
   ADDED SECTION: WORDPRESS THEMES & PAGE BUILDERS
   ========================================================================== */
.wp-builders-section {
    padding: 100px 24px;
    background: #f8fafc;
    position: relative;
}

.builders-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1100px;
    margin: 80px auto 0;
}

.builder-card {
    background: var(--color-white);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 20px;
    padding: 45px 25px 35px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.01);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.builder-card:hover {
    transform: translateY(-5px);
    border-color: rgba(99, 102, 241, 0.15);
    box-shadow: 0 18px 40px rgba(99, 102, 241, 0.05);
}

.builder-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: rgba(99, 102, 241, 0.06);
    color: var();
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 5px 15px rgba(99, 102, 241, 0.1);
    transition: all 0.3s ease;
}

.builder-card:hover .builder-icon {
    /* background: #ffffff; */
    background: var(--color-primary);
    color: var(--color-white);
    transform: translateX(-50%) translateY(-2px) scale(1.05);
}

.builder-card h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 12px;
    margin-top: 10px;
}

.builder-card p {
    font-size: 0.88rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 1024px) {
    .builders-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 60px 24px;
    }
}

@media (max-width: 600px) {
    .builders-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

/* ==========================================================================
   ADDED SECTION: HEADLESS WORDPRESS JAMSTACK DIAGRAM
   ========================================================================== */
.wp-headless-section {
    padding: 100px 4px;
    background: var(--color-white);
    position: relative;
}

.headless-diagram-wrap {
    max-width: 1050px;
    margin: 50px auto 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    background: #f8fafc;
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: 24px;
    padding: 50px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.01);
}

.headless-block {
    flex: 1;
    background: var(--color-white);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 16px;
    padding: 30px 24px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.008);
}

.headless-block[data-type="backend"] {
    border-top: 3px solid #000000;
}

.headless-block[data-type="api"] {
    border-top: 3px solid #000000;
}

.headless-block[data-type="frontend"] {
    border-top: 3px solid #000000;
}

.headless-block h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 10px;
}

.headless-block p {
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
}

.headless-icon-main {
    font-size: 2rem;
    margin-bottom: 15px;
    display: inline-block;
}

.headless-block[data-type="backend"] .headless-icon-main {
    color: #21759b;
}

.headless-block[data-type="frontend"] .headless-icon-main {
    color: #000000;
}

/* Connecting arrows in between - static */
.headless-connector {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 60px;
    text-align: center;
}

.headless-connector i {
    font-size: 1.5rem;
    color: #cbd5e1;
}

.headless-connector span {
    font-size: 0.7rem;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    margin-top: 6px;
}

@media (max-width: 900px) {
    .headless-diagram-wrap {
        flex-direction: column;
        padding: 40px 20px;
        gap: 25px;
    }

    .headless-connector {
        width: 100%;
    }

    .headless-connector i {
        transform: rotate(90deg);
    }
}