/* =====================================
   SERVICES DETAILED – ADVANCED DESIGN
===================================== */

.services-detailed {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 60px;
}

/* Card */
.service-detailed-item {
    position: relative;
    padding: 42px 34px;
    border-radius: 22px;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.95),
        rgba(248, 250, 252, 0.9)
    );
    border: 1px solid rgba(59, 130, 246, 0.15);
    box-shadow:
        0 20px 40px rgba(15, 23, 42, 0.06);
    overflow: hidden;
    transition: all 0.45s ease;
    animation: serviceFadeUp 0.8s ease forwards;
    opacity: 0;
}

/* Hover lift + glow */
.service-detailed-item:hover {
    transform: translateY(-14px);
    box-shadow:
        0 35px 70px rgba(59, 130, 246, 0.22);
}

/* Gradient overlay */
.service-detailed-item::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at top right,
        rgba(59, 130, 246, 0.18),
        transparent 65%
    );
    opacity: 0;
    transition: opacity 0.45s ease;
}

.service-detailed-item:hover::before {
    opacity: 1;
}

/* ===============================
   SERVICE NUMBER
================================ */

.service-number {
    font-size: 56px;
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.25;
    margin-bottom: 16px;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.service-detailed-item:hover .service-number {
    transform: scale(1.08);
    opacity: 0.45;
}

/* ===============================
   TITLES & TEXT
================================ */

.service-detailed-item h3 {
    font-size: 22px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 12px;
    position: relative;
}

.service-detailed-item p {
    font-size: 15.5px;
    line-height: 1.75;
    color: #475569;
    margin-bottom: 22px;
}

/* ===============================
   FEATURES LIST
================================ */

.service-features {
    list-style: none;
    padding: 0;
    margin: 0 0 26px;
    display: grid;
    gap: 10px;
}

.service-features li {
    position: relative;
    padding-left: 26px;
    font-size: 14.5px;
    color: #334155;
    line-height: 1.6;
    transition: transform 0.35s ease, color 0.35s ease;
}

/* Animated check icon */
.service-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    font-size: 14px;
    font-weight: 700;
    color: #2563eb;
    transform: scale(0);
    animation: checkPop 0.5s ease forwards;
}

/* Hover micro-interaction */
.service-detailed-item:hover .service-features li {
    transform: translateX(6px);
}

.service-detailed-item:hover .service-features li {
    color: #1e40af;
}

/* ===============================
   LINK ARROW (BONUS)
================================ */

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #2563eb;
    text-decoration: none;
    transition: gap 0.3s ease, color 0.3s ease;
}

.link-arrow::after {
    content: "→";
    transition: transform 0.3s ease;
}

.link-arrow:hover {
    gap: 14px;
    color: #1e40af;
}

.link-arrow:hover::after {
    transform: translateX(4px);
}

/* ===============================
   ANIMATIONS
================================ */

@keyframes serviceFadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes checkPop {
    to {
        transform: scale(1);
    }
}

/* Stagger animation */
.service-detailed-item:nth-child(1) { animation-delay: 0.1s; }
.service-detailed-item:nth-child(2) { animation-delay: 0.2s; }
.service-detailed-item:nth-child(3) { animation-delay: 0.3s; }
.service-detailed-item:nth-child(4) { animation-delay: 0.4s; }
.service-detailed-item:nth-child(5) { animation-delay: 0.5s; }
.service-detailed-item:nth-child(6) { animation-delay: 0.6s; }

/* ===============================
   RESPONSIVE
================================ */

@media (max-width: 1024px) {
    .services-detailed {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .services-detailed {
        grid-template-columns: 1fr;
    }

    .service-detailed-item {
        padding: 34px 26px;
    }

    .service-number {
        font-size: 48px;
    }
}
/* =====================================
   SERVICE PACKAGES – TAB CONTENT
===================================== */

.tab-content {
    position: relative;
    margin-top: 50px;
}

/* ===============================
   TAB PANEL
================================ */

.tab-panel {
    display: none;
    padding: 42px 40px;
    border-radius: 24px;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.95),
        rgba(248, 250, 252, 0.9)
    );
    border: 1px solid rgba(59, 130, 246, 0.15);
    box-shadow:
        0 25px 50px rgba(15, 23, 42, 0.08);
    animation: tabFadeUp 0.6s ease forwards;
    position: relative;
    overflow: hidden;
}

/* Active panel */
.tab-panel.active {
    display: block;
}

/* Gradient glow */
.tab-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at top right,
        rgba(59, 130, 246, 0.2),
        transparent 65%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
}

.tab-panel.active::before {
    opacity: 1;
}

/* ===============================
   HEADINGS & TEXT
================================ */

.tab-panel h3 {
    font-size: 26px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 14px;
}

.tab-panel p {
    font-size: 16px;
    line-height: 1.75;
    color: #475569;
    margin-bottom: 26px;
    max-width: 560px;
}

/* ===============================
   FEATURES LIST
================================ */

.package-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 14px;
}

/* Feature item */
.package-features li {
    position: relative;
    padding: 14px 18px 14px 48px;
    font-size: 15px;
    font-weight: 500;
    color: #334155;
    border-radius: 14px;
    background: rgba(59, 130, 246, 0.06);
    transition: all 0.35s ease;
}

/* Check icon */
.package-features li::before {
    content: "✓";
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%) scale(0);
    width: 22px;
    height: 22px;
    display: grid;
    place-items: center;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    border-radius: 50%;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    animation: featurePop 0.4s ease forwards;
}

/* Hover interaction */
.package-features li:hover {
    transform: translateX(8px);
    background: rgba(59, 130, 246, 0.12);
    color: #1e40af;
}

/* ===============================
   ANIMATIONS
================================ */

@keyframes tabFadeUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes featurePop {
    to {
        transform: translateY(-50%) scale(1);
    }
}

/* Stagger list animation */
.package-features li:nth-child(1)::before { animation-delay: 0.1s; }
.package-features li:nth-child(2)::before { animation-delay: 0.2s; }
.package-features li:nth-child(3)::before { animation-delay: 0.3s; }
.package-features li:nth-child(4)::before { animation-delay: 0.4s; }
.package-features li:nth-child(5)::before { animation-delay: 0.5s; }
.package-features li:nth-child(6)::before { animation-delay: 0.6s; }

/* ===============================
   RESPONSIVE
================================ */

@media (max-width: 768px) {
    .tab-panel {
        padding: 34px 26px;
    }

    .tab-panel h3 {
        font-size: 22px;
    }

    .tab-panel p {
        font-size: 15px;
    }
}
