/* ========================================
   SERVICE PAGE PREMIUM STYLES
   Modern design with glassmorphism, gradients & animations
   ======================================== */

/* ========== COLOR PALETTE (Inherited & Unified) ========== */
:root {
    --gradient-primary: linear-gradient(135deg, #0a58ca 0%, #0d6efd 100%);
    --gradient-accent: linear-gradient(135deg, #ff4d00 0%, #ff8c00 100%);
    --gradient-success: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    --gradient-warning: var(--gradient-accent); /* Unified with Action Orange */
    --gradient-info: linear-gradient(135deg, #0a58ca 0%, #4facfe 100%);
    --shadow-soft: 0 8px 32px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 30px rgba(10, 88, 202, 0.3);
}

/* ========== HERO SECTION ========== */
.service-hero {
    height: 85vh;
    min-height: 600px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* Align content to bottom */
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    overflow: hidden;
    padding-bottom: 5rem;
}

.service-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.7) 100%);
    z-index: 1;
}

.service-hero .container {
    position: relative;
    z-index: 3;
}

.hero-main-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: center;
    font-size: clamp(3.5rem, 12vw, 9rem);
    font-weight: 800;
    color: white;
    text-transform: uppercase;
    line-height: 0.9;
    letter-spacing: -2px;
    z-index: 2;
    margin: 0;
    pointer-events: none;
    opacity: 0.95;
}

.hero-bottom-content {
    max-width: 500px;
    animation: fadeInLeft 0.8s ease-out both;
}

.hero-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.hero-cta-group {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn-hero-primary {
    background: white;
    color: black;
    padding: 1rem 2.5rem;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-hero-primary:hover {
    background: var(--brand-blue);
    color: white;
    transform: translateY(-3px);
}

.btn-hero-outline {
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-hero-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    transform: translateY(-3px);
}

/* Subtle Breadcrumb for High-End Hero */
.hero-breadcrumb-mini {
    position: absolute;
    top: 3.5rem;
    left: 0;
    right: 0;
    z-index: 10;
}

.hero-breadcrumb-mini .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
}

.hero-breadcrumb-mini .breadcrumb-item.active {
    color: white;
    font-size: 0.85rem;
}

.breadcrumb-glass {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 16px;
    padding: 1.5rem 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 0.6s ease-out;
}

.breadcrumb-glass .breadcrumb {
    background: transparent;
    margin-bottom: 0;
    padding: 0;
}

.breadcrumb-glass .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumb-glass a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.breadcrumb-glass a:hover {
    color: white;
    transform: translateX(2px);
}

/* ========== SERVICE DETAIL SECTION ========== */
.service-detail-section {
    position: relative;
    padding: 5rem 0;
}

.service-title {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 0.8s ease-out 0.2s both;
    font-weight: 800;
}

.service-subtitle {
    color: var(--brand-blue);
    animation: fadeInUp 0.8s ease-out 0.1s both;
}

.service-description {
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

/* ========== BENEFITS SECTION ========== */
.benefit-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-bottom: 3px solid rgba(17, 153, 142, 0.1);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-success);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.benefit-card:hover::before {
    opacity: 0.1;
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(17, 153, 142, 0.15);
    border-color: #11998e;
    border-bottom-color: #11998e;
}

.benefit-icon {
    width: 50px;
    height: 50px;
    background: var(--brand-blue);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.benefit-card:hover .benefit-icon {
    transform: scale(1.1);
    box-shadow: 0 4px 20px rgba(10, 88, 202, 0.4);
}

.benefit-text {
    position: relative;
    z-index: 1;
}

/* ========== COMMON PROBLEMS SECTION ========== */
.problem-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-bottom: 3px solid rgba(255, 77, 0, 0.1);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    opacity: 0;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease-out forwards;
}

.problem-card:nth-child(1) { animation-delay: 0.1s; }
.problem-card:nth-child(2) { animation-delay: 0.2s; }
.problem-card:nth-child(3) { animation-delay: 0.3s; }
.problem-card:nth-child(4) { animation-delay: 0.4s; }
.problem-card:nth-child(5) { animation-delay: 0.5s; }
.problem-card:nth-child(6) { animation-delay: 0.6s; }

.problem-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-warning);
    opacity: 0;
    transition: all 0.3s ease;
}

.problem-card:hover::before {
    opacity: 1;
}

.problem-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(255, 77, 0, 0.15);
    border-color: var(--accent-orange);
    border-bottom-color: var(--accent-orange);
}

.problem-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, rgba(242, 153, 74, 0.2), rgba(242, 201, 76, 0.2));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.problem-card:hover .problem-icon {
    background: var(--gradient-warning);
    transform: scale(1.1);
}

.problem-card:hover .problem-icon i {
    color: white !important;
}

/* ========== PRICING CARD ========== */
.pricing-glass-card {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    backdrop-filter: blur(20px);
    border: 2px solid;
    border-image: var(--gradient-primary) 1;
    border-radius: 24px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    animation: pulse-glow 3s ease-in-out infinite;
}

.pricing-glass-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gradient-primary);
    border-radius: 24px;
    z-index: -1;
    opacity: 0.3;
    filter: blur(10px);
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(102, 126, 234, 0.3); }
    50% { box-shadow: 0 0 40px rgba(102, 126, 234, 0.6), 0 0 60px rgba(102, 126, 234, 0.3); }
}

.pricing-icon-wrapper {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.pricing-amount {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

/* ========== CTA BUTTONS ========== */
.btn-gradient-primary {
    background: var(--gradient-primary);
    border: none;
    color: white;
    font-weight: 600;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-gradient-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-gradient-primary:hover::before {
    left: 100%;
}

.btn-gradient-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.6);
    color: white;
}

.btn-gradient-primary:active {
    transform: translateY(-1px) scale(1.02);
}

.btn-glass-outline {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(13, 110, 253, 0.5);
    color: var(--brand-blue);
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-glass-outline:hover {
    background: rgba(13, 110, 253, 0.1);
    border-color: var(--brand-blue);
    color: var(--brand-blue);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

/* ========== IMAGE SECTION ========== */
.service-image-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    animation: fadeInRight 0.8s ease-out;
}

.service-image-wrapper::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gradient-primary);
    border-radius: 24px;
    z-index: -1;
}

.service-image-wrapper img {
    border-radius: 22px;
    transition: transform 0.5s ease;
}

.service-image-wrapper:hover img {
    transform: scale(1.05);
}

.certified-badge {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 2px solid;
    border-image: var(--gradient-primary) 1;
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
}

.certified-badge:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.4);
}

.certified-badge i {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========== TRUST BADGES ========== */
.trust-badge {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.trust-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.trust-badge:hover::before {
    transform: scaleX(1);
}

.trust-badge:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(102, 126, 234, 0.25);
    background: rgba(255, 255, 255, 1);
}

.trust-badge i {
    transition: all 0.4s ease;
}

.trust-badge:hover i {
    transform: scale(1.2);
}

/* ========== REVIEW FORM ENHANCEMENTS ========== */
.review-form-glass {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.review-form-glass::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--gradient-primary);
}

.review-form-header {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.form-control-modern {
    border: 2px solid rgba(102, 126, 234, 0.2);
    border-radius: 12px;
    padding: 0.875rem 1.25rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.8);
}

.form-control-modern:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
    background: white;
    transform: translateY(-2px);
}

.rating-wrapper-glass {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 16px;
    padding: 2rem;
}

/* ========== REVIEW CARDS ENHANCEMENTS ========== */
.review-card-glass {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease-out forwards;
}

.review-card-glass::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--gradient-primary);
    transition: height 0.4s ease;
}

.review-card-glass:hover::before {
    height: 100%;
}

.review-card-glass:hover {
    transform: translateX(8px) translateY(0);
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.2);
    background: rgba(255, 255, 255, 0.95);
}

.review-star-glow i.fas {
    color: #ffc107;
    filter: drop-shadow(0 0 3px rgba(255, 193, 7, 0.5));
}

/* ========== WORKING PROCESS SECTION (Inherited from style.css) ========== */

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .service-hero {
        padding: 3rem 0 2rem;
    }
    
    .breadcrumb-glass {
        padding: 1rem 1.5rem;
    }
    
    .service-detail-section {
        padding: 3rem 0;
    }
    
    .review-form-glass {
        padding: 2rem 1.5rem;
    }
    
    .benefit-card,
    .problem-card {
        margin-bottom: 1rem;
    }
    
    .pricing-glass-card {
        padding: 2rem 1.5rem;
    }
    
    .btn-gradient-primary {
        padding: 0.875rem 2rem;
    }
    
    .process-card-glass {
        padding: 2rem 1.5rem;
        margin-bottom: 1.5rem;
    }
}

/* ========== UTILITY CLASSES ========== */
.gradient-text-primary {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text-success {
    background: var(--gradient-success);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text-warning {
    background: var(--gradient-warning);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glass-bg {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.shadow-glow-primary {
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.3);
}

.shadow-glow-success {
    box-shadow: 0 8px 32px rgba(17, 153, 142, 0.3);
}

/* ========== FAQ SECTION ========== */
.custom-accordion .accordion-item {
    background: transparent;
    border: none;
    margin-bottom: 1rem;
}

.faq-glass-item {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5) !important;
    border-radius: 16px !important;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}

.faq-glass-item:hover {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
    transform: translateY(-2px);
}

.custom-accordion .accordion-button {
    background: transparent;
    border: none;
    box-shadow: none;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 1.5rem;
    color: #333;
}

.custom-accordion .accordion-button:not(.collapsed) {
    color: var(--brand-blue);
    background: rgba(13, 110, 253, 0.05);
    box-shadow: none;
}

.custom-accordion .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230d6efd'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    transition: transform 0.3s ease;
}

.custom-accordion .accordion-body {
    padding: 0 1.5rem 1.5rem;
    color: #555;
    line-height: 1.6;
}
