/* Modern Digital Agency Services & Pricing CSS */

:root {
    --agency-primary: #F73739;
    --agency-primary-dark: #dc2626;
    --agency-secondary: #0f172a;
    --agency-accent: #6366f1;
    --agency-bg: #f8fafc;
    --agency-card-bg: #ffffff;
    --agency-border: #e2e8f0;
    --agency-text-main: #0f172a;
    --agency-text-muted: #64748b;
    --agency-shadow-sm: 0 2px 4px rgba(15, 23, 42, 0.04);
    --agency-shadow-md: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
    --agency-shadow-hover: 0 20px 35px -10px rgba(15, 23, 42, 0.12), 0 10px 15px -5px rgba(15, 23, 42, 0.06);
    --agency-shadow-popular: 0 20px 40px -10px rgba(247, 55, 57, 0.22);
    --agency-radius: 20px;
    --agency-radius-sm: 12px;
}

/* Hero Section */
.agency-hero {
    position: relative;
    background: radial-gradient(circle at 50% 20%, #1e1b4b 0%, #0f172a 65%, #080d1a 100%);
    padding: 100px 20px 90px;
    color: #ffffff;
    overflow: hidden;
}

.agency-hero::before {
    content: '';
    position: absolute;
    top: -25%;
    left: 50%;
    transform: translateX(-50%);
    width: 900px;
    height: 550px;
    background: radial-gradient(ellipse at center, rgba(247, 55, 57, 0.22) 0%, rgba(99, 102, 241, 0.18) 50%, transparent 70%);
    filter: blur(70px);
    pointer-events: none;
}

.agency-hero-content {
    position: relative;
    z-index: 2;
    max-width: 840px;
    margin: 0 auto;
    text-align: center;
}

.agency-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 22px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(14px);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: #ff9b9c;
    margin-bottom: 24px;
}

.agency-hero-title {
    font-size: 54px;
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -1px;
    margin-bottom: 20px;
    color: #ffffff;
    background: linear-gradient(135deg, #ffffff 40%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.agency-hero-subtitle {
    font-size: 18px;
    line-height: 1.65;
    color: #94a3b8;
    margin-bottom: 38px;
    font-weight: 400;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.agency-hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-agency-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 34px;
    background: linear-gradient(135deg, #F73739 0%, #dc2626 100%);
    color: #ffffff !important;
    font-size: 15px;
    font-weight: 600;
    border-radius: 50px;
    border: none;
    box-shadow: 0 10px 25px -5px rgba(247, 55, 57, 0.45);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none !important;
    cursor: pointer;
}

.btn-agency-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 32px -5px rgba(247, 55, 57, 0.6);
    background: linear-gradient(135deg, #ff4d4f 0%, #ea2a2c 100%);
    color: #ffffff !important;
}

.btn-agency-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 34px;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff !important;
    font-size: 15px;
    font-weight: 600;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none !important;
    cursor: pointer;
}

.btn-agency-secondary:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-3px);
    color: #ffffff !important;
}

/* Category Segmented Control Bar - Sleek & Compact */
.agency-filter-wrapper {
    margin-top: 40px;
    margin-bottom: 50px;
}

.agency-filter-container {
    display: flex;
    justify-content: center;
}

.agency-filter-bar {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 6px;
    background: rgba(15, 23, 42, 0.04);
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: var(--agency-shadow-sm);
    max-width: 100%;
}

.agency-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 20px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    color: var(--agency-text-muted);
    background: transparent;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.agency-filter-btn:hover {
    color: var(--agency-text-main);
    background: rgba(255, 255, 255, 0.8);
}

.agency-filter-btn.active {
    background: var(--agency-secondary);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.18);
}

/* Section Header */
.agency-section {
    padding: 20px 0 80px;
}

.agency-section-header {
    margin-bottom: 32px;
}

.agency-category-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    background: rgba(247, 55, 57, 0.08);
    border-radius: 30px;
    color: var(--agency-primary);
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 12px;
}

.agency-section-title {
    font-size: 30px;
    font-weight: 800;
    color: var(--agency-text-main);
    letter-spacing: -0.5px;
    margin-bottom: 6px;
}

.agency-section-desc {
    font-size: 15px;
    color: var(--agency-text-muted);
}

/* Service Card Grid */
.agency-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

@media (max-width: 1199px) {
    .agency-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .agency-cards-grid {
        grid-template-columns: 1fr;
    }
}

/* Service Cards Design */
.agency-card {
    position: relative;
    background: var(--agency-card-bg);
    border: 1px solid var(--agency-border);
    border-radius: var(--agency-radius);
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--agency-shadow-sm);
    height: 100%;
    overflow: hidden;
}

.agency-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--agency-primary), var(--agency-accent));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.agency-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--agency-shadow-hover);
    border-color: #cbd5e1;
}

.agency-card:hover::before {
    opacity: 1;
}

/* Highlighted / Popular Card */
.agency-card.popular {
    border: 2px solid var(--agency-primary);
    box-shadow: var(--agency-shadow-popular);
    background: linear-gradient(180deg, #ffffff 0%, #fff9f9 100%);
}

.agency-card.popular::before {
    opacity: 1;
    background: var(--agency-primary);
}

.agency-card.popular:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 45px -10px rgba(247, 55, 57, 0.32);
}

/* Popular Badge */
.agency-badge {
    position: absolute;
    top: 18px;
    right: 20px;
    background: linear-gradient(135deg, #F73739 0%, #dc2626 100%);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 5px 14px;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(247, 55, 57, 0.35);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* Card Header & Content */
.agency-card-top {
    margin-bottom: 20px;
}

.agency-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--agency-primary);
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.agency-card:hover .agency-card-icon {
    background: var(--agency-primary);
    color: #ffffff;
    border-color: var(--agency-primary);
    transform: scale(1.08) rotate(-4deg);
    box-shadow: 0 8px 20px rgba(247, 55, 57, 0.25);
}

.agency-card-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--agency-text-main);
    line-height: 1.35;
    margin-bottom: 12px;
}

.agency-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.agency-card-title a:hover {
    color: var(--agency-primary);
}

.agency-card-desc {
    font-size: 14px;
    line-height: 1.6;
    color: var(--agency-text-muted);
    margin-bottom: 16px;
}

/* Service Features List inside Card */
.agency-card-features {
    list-style: none;
    padding: 0;
    margin: 16px 0 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.agency-card-features li {
    font-size: 13px;
    color: #475569;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.agency-card-features li svg {
    color: #10b981;
    flex-shrink: 0;
}

/* Card Footer / Pricing & Actions */
.agency-card-bottom {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #f1f5f9;
}

.agency-price-wrapper {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 18px;
}

.agency-price-value {
    font-size: 32px;
    font-weight: 800;
    color: var(--agency-secondary);
    letter-spacing: -0.5px;
}

/* Action Buttons */
.btn-agency-cart {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 22px;
    background: var(--agency-secondary);
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--agency-radius-sm);
    border: none;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none !important;
}

.btn-agency-cart:hover {
    background: var(--agency-primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(247, 55, 57, 0.35);
    color: #ffffff !important;
}

.btn-agency-cart.added {
    background: #10b981 !important;
    color: #ffffff !important;
    box-shadow: 0 6px 18px rgba(16, 185, 129, 0.35) !important;
}

.btn-agency-cart.added:hover {
    background: #059669 !important;
    box-shadow: 0 10px 22px rgba(16, 185, 129, 0.45) !important;
}

/* Floating Toast Notification Container */
.agency-toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.agency-toast {
    pointer-events: auto;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 22px;
    background: #0f172a;
    color: #ffffff;
    border-radius: 14px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 14px;
    font-weight: 600;
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.agency-toast.show {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.agency-toast-icon {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #10b981;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.agency-card.popular .btn-agency-cart {
    background: var(--agency-primary);
    box-shadow: 0 6px 18px rgba(247, 55, 57, 0.3);
}

.agency-card.popular .btn-agency-cart:hover {
    background: var(--agency-primary-dark);
    box-shadow: 0 12px 25px rgba(247, 55, 57, 0.45);
}

.btn-agency-quote {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 22px;
    background: transparent;
    color: var(--agency-secondary) !important;
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--agency-radius-sm);
    border: 2px solid var(--agency-secondary);
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none !important;
}

.btn-agency-quote:hover {
    background: var(--agency-secondary);
    color: #ffffff !important;
    transform: translateY(-2px);
}

/* Why Choose Us Section */
.why-choose-us-section {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    padding: 90px 0;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.why-card {
    background: #ffffff;
    border: 1px solid var(--agency-border);
    border-radius: var(--agency-radius);
    padding: 36px 28px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--agency-shadow-sm);
    height: 100%;
}

.why-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--agency-shadow-md);
    border-color: #cbd5e1;
}

.why-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: rgba(247, 55, 57, 0.08);
    color: var(--agency-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    transition: all 0.3s ease;
}

.why-card:hover .why-icon {
    background: var(--agency-primary);
    color: #ffffff;
    transform: scale(1.1) rotate(-4deg);
}

.why-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--agency-text-main);
    margin-bottom: 12px;
}

.why-desc {
    font-size: 14px;
    color: var(--agency-text-muted);
    line-height: 1.6;
}

/* FAQ Accordion Section */
.faq-section {
    padding: 90px 0;
    background: #ffffff;
}

.faq-accordion {
    max-width: 840px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    border: 1px solid var(--agency-border);
    border-radius: var(--agency-radius-sm);
    overflow: hidden;
    transition: all 0.25s ease;
    background: #ffffff;
}

.faq-item.active {
    border-color: #cbd5e1;
    box-shadow: var(--agency-shadow-sm);
}

.faq-header {
    width: 100%;
    padding: 22px 26px;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    font-size: 17px;
    font-weight: 600;
    color: var(--agency-text-main);
    cursor: pointer;
    transition: color 0.2s ease;
}

.faq-header:hover {
    color: var(--agency-primary);
}

.faq-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #f1f5f9;
    color: var(--agency-text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    background: var(--agency-primary);
    color: #ffffff;
}

.faq-body {
    padding: 0 26px 26px;
    font-size: 15px;
    line-height: 1.7;
    color: var(--agency-text-muted);
    display: none;
}

.faq-item.active .faq-body {
    display: block;
}

/* Bottom CTA Banner */
.bottom-cta-section {
    background: radial-gradient(circle at 50% 100%, #1e1b4b 0%, #0f172a 70%, #080d1a 100%);
    padding: 80px 0px 0px;
    color: #ffffff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.bottom-cta-section::before {
    content: '';
    position: absolute;
    bottom: -40%;
    left: 50%;
    transform: translateX(-50%);
    width: 750px;
    height: 450px;
    background: radial-gradient(ellipse at center, rgba(247, 55, 57, 0.22) 0%, transparent 70%);
    filter: blur(60px);
    pointer-events: none;
}

.cta-content {
    padding: 50px;
    position: relative;
    z-index: 2;
    max-width: 760px;
    margin: 0 auto;
}

.cta-title {
    font-size: 42px;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 18px;
    color: #ffffff;
}

.cta-desc {
    font-size: 18px;
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 38px;
}

.cta-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* Responsive Overrides */
@media (max-width: 991px) {
    .agency-hero-title {
        font-size: 40px;
    }

    .cta-title {
        font-size: 34px;
    }
}

@media (max-width: 575px) {
    .agency-hero {
        padding: 65px 15px;
    }

    .agency-hero-title {
        font-size: 30px;
    }

    .agency-hero-subtitle {
        font-size: 15px;
    }

    .agency-filter-btn {
        padding: 8px 16px;
        font-size: 13px;
    }
}