/* Extracted from services.blade.php */
/* Pillar 5 Styling */
.pillar-5 {
    background: linear-gradient(135deg, #ec4899, #be185d);
}

/* AI Services Slider */
.ai-services-slider-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    margin-top: 40px;
    gap: 12px;
}

.ai-services-slider {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 8px 0;
    flex: 1;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE/Edge */
}

.ai-services-slider::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

.ai-services-slider .service-card {
    flex: 0 0 300px;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
}

/* AI Tools Section */
.ai-tools-section {
    padding: 40px 0;
    background: #faf5ff;
}

.ai-tools-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 32px;
}

.ai-tool-card {
    background: white;
    padding: 24px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.2s;
    border: 1px solid #f3e8ff;
}

.ai-tool-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(236, 72, 153, 0.1);
    border-color: #ec4899;
}

.ai-tool-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ec4899, #be185d);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.ai-tool-icon i {
    font-size: 28px;
    color: white;
}

.ai-tool-card h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #1f2937;
}

.ai-tool-card p {
    font-size: 13px;
    color: #6b7280;
    margin: 0;
}

/* AI ROI Calculator */
.ai-roi-section {
    padding: 60px 0;
}

.ai-roi-card {
    background: linear-gradient(135deg, #1e1b4b, #312e81);
    border-radius: 24px;
    padding: 48px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    color: white;
}

.ai-roi-left h3 {
    color: white;
    font-size: 28px;
    margin: 16px 0 12px;
}

.ai-roi-left p {
    color: #cbd5e1;
    margin-bottom: 32px;
}

.ai-calc-inputs {
    margin-bottom: 32px;
}

.calc-row {
    margin-bottom: 20px;
}

.calc-row label {
    display: block;
    font-size: 14px;
    color: #cbd5e1;
    margin-bottom: 8px;
}

.calc-row input {
    width: 100%;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid #4c1d95;
    background: #2e1065;
    color: white;
    font-size: 16px;
    font-weight: 600;
}

.calc-row input:focus {
    outline: none;
    border-color: #a78bfa;
    box-shadow: 0 0 0 3px rgba(167, 139, 250, 0.2);
}

.ai-calc-results {
    display: flex;
    gap: 20px;
}

.result-item {
    flex: 1;
    text-align: center;
    padding: 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
}

.result-item.highlight {
    background: linear-gradient(135deg, #ec4899, #be185d);
}

.result-label {
    display: block;
    font-size: 12px;
    color: #cbd5e1;
    margin-bottom: 8px;
}

.result-value {
    display: block;
    font-size: 28px;
    font-weight: 800;
    color: white;
}

.ai-roi-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ai-benefits-list {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
}

.ai-benefits-list h4 {
    color: white;
    margin-bottom: 16px;
    font-size: 18px;
}

.ai-benefits-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ai-benefits-list li {
    padding: 10px 0;
    color: #e2e8f0;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ai-benefits-list li:last-child {
    border-bottom: none;
}

.ai-benefits-list i {
    color: #34d399;
    font-size: 16px;
}

.ai-roi-right .btn-primary {
    background: white;
    color: #1e1b4b;
    font-weight: 700;
}

.ai-roi-right .btn-primary:hover {
    background: #f3f4f6;
    transform: translateY(-2px);
}

/* Responsive for AI sections */
@media (max-width: 1024px) {
    .ai-tools-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ai-roi-card {
        grid-template-columns: 1fr;
        padding: 32px;
    }
}

@media (max-width: 640px) {
    .ai-tools-grid {
        grid-template-columns: 1fr;
    }

    .ai-calc-results {
        flex-direction: column;
    }

    .ai-roi-card {
        padding: 24px;
    }
}

/* Pillar-specific styling */
.pillar-section {
    padding: 60px 0;
    border-bottom: 1px solid #e5e7eb;
}

.pillar-section:last-of-type {
    border-bottom: none;
}

.pillar-tag {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 16px;
    color: white;
}

.pillar-1 {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

.pillar-2 {
    background: linear-gradient(135deg, #10b981, #059669);
}

.pillar-3 {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.pillar-4 {
    background: linear-gradient(135deg, #8b5cf6, #6d28d9);
}

.pillar-desc {
    font-size: 18px;
    color: #4b5563;
    max-width: 700px;
    margin: 0 auto;
}

/* Service Cards */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.service-card {
    background: white;
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.2s;
    border: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.service-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 12px 0 8px;
    color: #1f2937;
}

.service-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon i {
    font-size: 24px;
    color: white;
}

.service-features-list {
    list-style: none;
    padding: 0;
    margin: 16px 0;
    text-align: left;
    flex: 1;
}

.service-features-list li {
    padding: 6px 0;
    font-size: 13px;
    color: #4b5563;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.service-features-list i {
    color: #10b981;
    font-size: 14px;
    margin-top: 2px;
    flex-shrink: 0;
}

.service-desc {
    color: #6b7280;
    font-size: 14px;
    margin-bottom: 8px;
    font-weight: 500;
}

.service-link {
    display: inline-block;
    margin-top: auto;
    padding-top: 12px;
    color: #2563eb;
    font-weight: 600;
    text-decoration: none;
    font-size: 14px;
}

.service-link:hover {
    text-decoration: underline;
}

/* Overview Grid / Slider */
.all-services-overview {
    padding: 60px 0;
    background: #f8fafc;
}

.pillars-slider-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    margin-top: 40px;
    gap: 12px;
}

.pillars-slider {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 8px 0;
    flex: 1;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE/Edge */
}

.pillars-slider::-webkit-scrollbar {
    display: none;
}

.pillar-overview-card {
    flex: 0 0 300px;
    scroll-snap-align: start;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s, box-shadow 0.2s;
}

.pillar-overview-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.slider-arrow {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: #2563eb;
    color: white;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.2s;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
    z-index: 2;
}

.slider-arrow:hover {
    background: #1d4ed8;
    transform: scale(1.1);
}

.slider-arrow:active {
    transform: scale(0.95);
}

.pillar-header {
    padding: 20px;
    color: white;
    text-align: center;
}

.pillar-header i {
    font-size: 28px;
    margin-bottom: 8px;
}

.pillar-header h3 {
    font-size: 16px;
    margin: 0;
    font-weight: 700;
    color: white;
}

.pillar-overview-card ul {
    list-style: none;
    padding: 20px;
    margin: 0;
}

.pillar-overview-card li {
    padding: 6px 0;
    font-size: 13px;
    color: #4b5563;
    border-bottom: 1px solid #f3f4f6;
}

.pillar-overview-card li:last-child {
    border-bottom: none;
}

/* Tech Grid */
.tech-stack-section {
    padding: 60px 0;
    background: white;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.tech-item {
    background: #f9fafb;
    padding: 20px 12px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.2s;
}

.tech-item:hover {
    background: white;
    border-color: #2563eb;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
}

.tech-item i {
    font-size: 28px;
    color: #2563eb;
    margin-bottom: 8px;
    display: block;
}

.tech-item span {
    font-size: 13px;
    font-weight: 600;
    color: #374151;
}

/* Package Features */
.package-features {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    text-align: left;
}

.package-features li {
    padding: 6px 0;
    font-size: 13px;
    color: #4b5563;
}

.package-desc {
    color: #6b7280;
    font-size: 14px;
    margin: 8px 0;
    font-weight: 500;
}

.custom-package-cta {
    text-align: center;
    margin-top: 40px;
    padding: 20px;
    background: #f0fdf4;
    border-radius: 12px;
}

.custom-package-cta p {
    margin: 0;
    font-size: 16px;
}

.custom-package-cta a {
    color: #2563eb;
    font-weight: 700;
    text-decoration: none;
}

/* Form Select */
#inlineEnqService {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    margin-bottom: 12px;
    font-size: 14px;
    background: white;
}

/* Field errors */
.field-error {
    display: none;
    color: #dc2626;
    font-size: 12px;
    margin: -8px 0 8px;
    font-weight: 500;
}

/* btn-card as anchor */
 a.btn-card {
    display: block;
    text-align: center;
    text-decoration: none;
}

/* Inline Meta - Date/Time/Phone */
.inline-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 12px;
}

.inline-meta input {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    font-size: 14px;
    background: white;
    color: #1f2937;
}

.inline-meta input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

#inlineEnqDate::before,
#inlineEnqTime::before {
    content: attr(placeholder);
    color: #9ca3af;
}

/* Responsive */
@media (max-width: 768px) {
    .pillar-overview-card {
        flex: 0 0 280px;
    }

    .slider-arrow {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    .tech-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 480px) {
    .pillar-overview-card {
        flex: 0 0 260px;
    }

    .pillars-slider-wrapper {
        gap: 8px;
    }

    .slider-arrow {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }

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