/* ==========================================================================
   CUSTOM WEB DESIGN SUBPAGE SPECIFIC STYLES
   ========================================================================== */

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

/* Glowing backdrops for depth */
.webdesign-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;
}

.webdesign-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. RESULT-FOCUSED SERVICES GRID (6 Cards) --- */
.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. PLATFORM-SPECIFIC SECTION --- */
.platform-section {
    padding: 100px 24px;
    background: var(--color-white);
}

.platform-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
    align-items: start;
}

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

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

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

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

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

.platform-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 30px;
    display: flex;
    gap: 24px;
    align-items: start;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.platform-card:hover {
    background: var(--color-white);
    transform: translateY(-5px);
    border-color: rgba(231, 24, 27, 0.15);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05);
}

.platform-icon-wrap {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.8rem;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.01);
}

/* Brand Colors */
.brand-wp { color: #21759b; }
.brand-shopify { color: #7ab55c; }
.brand-php { color: #777bb4; }
.brand-webflow { color: #4353ff; }
.brand-wix { color: #0f172a; }

.platform-info h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
}

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


/* --- 5. INDUSTRY BADGES SECTION --- */
.industries-badges-section {
    padding: 100px 24px;
    background: #f8fafc;
}

.industries-badges-section .section-title {
    text-align: center;
}

.industries-badges-desc {
    text-align: center;
    max-width: 800px;
    margin: 20px auto 40px;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #475569;
}

.industry-badge-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 40px auto 0;
}

.industry-card-new {
    background: var(--color-white);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 20px;
    padding: 35px 24px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.015);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.industry-card-new::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(231, 24, 27, 0.03) 0%, rgba(231, 24, 27, 0) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.industry-card-new:hover::before {
    opacity: 1;
}

.industry-card-new:hover {
    transform: translateY(-6px);
    border-color: rgba(231, 24, 27, 0.15);
    box-shadow: 0 20px 45px rgba(231, 24, 27, 0.06);
}

.industry-icon-box {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: #f8fafc;
    color: #475569;
}

.industry-card-new:hover .industry-icon-box {
    transform: scale(1.1) rotate(-5deg);
}

/* Dynamic colors for each industry's icon wrapper background */
.industry-card-new[data-industry="travel"] .industry-icon-box {
    background: rgba(14, 165, 233, 0.08);
    color: #0ea5e9;
}
.industry-card-new[data-industry="ecommerce"] .industry-icon-box {
    background: rgba(236, 72, 153, 0.08);
    color: #ec4899;
}
.industry-card-new[data-industry="realestate"] .industry-icon-box {
    background: rgba(245, 158, 11, 0.08);
    color: #f59e0b;
}
.industry-card-new[data-industry="social"] .industry-icon-box {
    background: rgba(99, 102, 241, 0.08);
    color: #6366f1;
}
.industry-card-new[data-industry="healthcare"] .industry-icon-box {
    background: rgba(16, 185, 129, 0.08);
    color: #10b981;
}
.industry-card-new[data-industry="education"] .industry-icon-box {
    background: rgba(139, 92, 246, 0.08);
    color: #8b5cf6;
}
.industry-card-new[data-industry="finance"] .industry-icon-box {
    background: rgba(231, 24, 27, 0.08);
    color: var(--color-primary);
}
.industry-card-new[data-industry="decor"] .industry-icon-box {
    background: rgba(71, 85, 105, 0.08);
    color: #475569;
}

.industry-card-new h4 {
    font-size: 1.2rem;
    font-weight: 750;
    color: #1e293b;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.industry-card-new:hover h4 {
    color: var(--color-primary);
}

.industry-card-new p {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.6;
}

@media (max-width: 1024px) {
    .industry-badge-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

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


/* --- 5.5 DESIGN PRINCIPLES SECTION --- */
.design-principles-section {
    padding: 100px 24px;
    background: #f8fafc;
}

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

.principle-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);
}

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

.principle-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;
}


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

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

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

/* responsive rule for principles grid */
@media (max-width: 991px) {
    .principles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 575px) {
    .principles-grid {
        grid-template-columns: 1fr;
    }
    .principle-card {
        padding: 30px 20px;
    }
}


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

@media (max-width: 991px) {
    .conversions-banner-section {
        padding: 50px 16px;
    }
    .webdesign-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;
    }
    .platform-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .platform-left-col {
        position: relative;
        top: 0;
    }
}

@media (max-width: 767px) {
    .webdesign-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;
    }
    .platform-section {
        padding: 60px 16px;
    }
    .platform-card {
        padding: 24px 18px;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 16px;
    }
    .platform-card:hover {
        transform: translateY(-3px);
    }
    .platform-info h4 {
        font-size: 1.15rem;
    }
    .industries-badges-section {
        padding: 60px 16px;
    }
    .industries-badges-desc {
        font-size: 0.95rem;
        margin-bottom: 30px;
    }
    .industry-badge-pill {
        padding: 10px 20px;
        font-size: 0.95rem;
    }
    .faq-section {
        padding: 60px 16px;
    }
    .faq-main-heading {
        font-size: 1.45rem;
    }
    .design-principles-section {
        padding: 60px 16px;
    }
}







/* ==========================================================================
   REDESIGNED: CREATIVE DESIGN PROCESS
   ========================================================================== */
.design-process-section {
    padding: 100px 24px;
    background: #f8fafc; /* canvas */
    position: relative;
    overflow: hidden;
}

.glow-blob-process {
    position: absolute;
    top: -15%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(231, 24, 27, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

.process-timeline-wrap {
    position: relative;
    margin-top: 70px;
}

/* Connecting dashed timeline line on desktop */
.process-connecting-line {
    position: absolute;
    top: 135px; /* Center aligned to icons */
    left: 10%;
    width: 80%;
    height: 2px;
    background: repeating-linear-gradient(to right, rgba(231, 24, 27, 0.15) 0px, rgba(231, 24, 27, 0.15) 8px, transparent 8px, transparent 16px);
    z-index: 1;
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
    z-index: 2;
}

.process-step {
    background: var(--color-white);
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: 24px;
    padding: 50px 30px 40px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.015);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Hover effects */
.process-step:hover {
    transform: translateY(-8px);
    border-color: rgba(231, 24, 27, 0.18);
    box-shadow: 0 25px 50px rgba(231, 24, 27, 0.07);
}

/* Floating step phase badge */
.step-badge {
    position: absolute;
    top: -15px;
    background: #f1f5f9;
    color: #475569;
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    transition: all 0.3s ease;
}

.process-step:hover .step-badge {
    background: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
    box-shadow: 0 4px 15px rgba(231, 24, 27, 0.25);
}

/* Icon Wrap */
.step-icon-wrap {
    width: 76px;
    height: 76px;
    border-radius: 22px;
    background: #f8fafc;
    color: #475569;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 24px;
    border: 1px solid rgba(0, 0, 0, 0.02);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* .process-step:hover .step-icon-wrap {
    transform: scale(1.1) rotate(6deg);
} */

/* Glowing Indicator at bottom */


/* .step-glowing-indicator {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--color-primary);
    border-radius: 3px 3px 0 0;
    transition: width 0.3s ease;
} */

/* .process-step:hover .step-glowing-indicator {
    width: 60px;
} */

/* Phase specific colors on hover */
.process-step[data-step="1"]:hover .step-icon-wrap {
    background: rgba(14, 165, 233, 0.08);
    color: #0ea5e9;
    border-color: rgba(14, 165, 233, 0.15);
}
.process-step[data-step="2"]:hover .step-icon-wrap {
    background: rgba(245, 158, 11, 0.08);
    color: #f59e0b;
    border-color: rgba(245, 158, 11, 0.15);
}
.process-step[data-step="3"]:hover .step-icon-wrap {
    background: rgba(236, 72, 153, 0.08);
    color: #ec4899;
    border-color: rgba(236, 72, 153, 0.15);
}
.process-step[data-step="4"]:hover .step-icon-wrap {
    background: rgba(16, 185, 129, 0.08);
    color: #10b981;
    border-color: rgba(16, 185, 129, 0.15);
}

.process-step h4 {
    font-size: 1.25rem;
    font-weight: 750;
    color: #1e293b;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.process-step:hover h4 {
    color: var(--color-primary);
}

.process-step p {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.6;
}

@media (max-width: 1024px) {
    .process-connecting-line {
        display: none;
    }
    .process-timeline {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 24px;
    }
}

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


.design-process-section {
    padding: 70px 24px;

}

}
