/* Service Page Modern UI Styles */

/* Keyframe 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 float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Hero Section */
.service-hero {
    background: linear-gradient(135deg, #f0fdfa 0%, #e0f2fe 50%, #f0f9ff 100%);
    padding: 80px 0 60px 0;
    position: relative;
    overflow: hidden;
}

.service-hero::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(40, 233, 193, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.service-hero::after {
    content: "";
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(60, 199, 113, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
    animation-delay: 1s;
}

.service-hero .container {
    position: relative;
    z-index: 1;
}

.service-hero .service-badge {
    background: linear-gradient(135deg, #28E9C1 0%, #3CC771 100%);
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(40, 233, 193, 0.3);
    animation: fadeInRight 0.8s ease-out;
}

.service-hero .service-badge::before {
    content: "⭐";
    font-size: 1rem;
}

.service-hero .service-title {
    font-size: 3.2rem;
    font-weight: 800;
    color: #1a2340;
    margin-bottom: 20px;
    line-height: 1.2;
    background: linear-gradient(135deg, #1a2340 0%, #2d3748 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.service-hero .service-desc {
    color: #64748b;
    font-size: 1.25rem;
    line-height: 1.8;
    margin-bottom: 35px;
    max-width: 550px;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.service-hero .service-btns {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.service-hero .service-btns .thm-btn {
    margin-right: 0;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(40, 233, 193, 0.25);
}

.service-hero .service-btns .thm-btn-0::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;
}

.service-hero .service-btns .thm-btn-0:hover::before {
    left: 100%;
}

.service-hero .service-btns .thm-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(40, 233, 193, 0.35);
}

.service-hero .service-btns .thm-btn-1:hover {
    box-shadow: 0 8px 25px rgba(60, 199, 113, 0.2);
}

.service-hero .service-hero-img {
    max-width: 100%;
    width: 400px;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
    animation: scaleIn 1s ease-out 0.4s both;
}

.service-hero .service-hero-img:hover {
    transform: scale(1.05) rotate(2deg);
}

/* Icons Bar */
.service-icons-bar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(40, 233, 193, 0.1);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    padding: 25px 40px;
    margin: -40px auto 60px auto;
    display: flex;
    justify-content: center;
    gap: 45px;
    max-width: 800px;
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease-out 0.8s both;
}

.service-icons-bar::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg, rgba(40, 233, 193, 0.2), rgba(60, 199, 113, 0.2));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s;
}

.service-icons-bar:hover::before {
    opacity: 1;
}

.service-icons-bar .icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.9rem;
    color: #334155;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.service-icons-bar .icon-item:hover {
    transform: translateY(-5px);
    color: #28E9C1;
}

.service-icons-bar .icon-item img {
    width: 42px;
    height: 42px;
    margin-bottom: 8px;
    transition: all 0.3s ease;
    filter: grayscale(0.3);
}

.service-icons-bar .icon-item:hover img {
    transform: scale(1.15);
    filter: grayscale(0) drop-shadow(0 4px 12px rgba(40, 233, 193, 0.3));
}

/* Service Cards Section */
.service-section {
    padding: 60px 0 80px 0;
    background: linear-gradient(to bottom, #ffffff 0%, #f8fafc 100%);
}

.service-section .service-card {
    background: #fff;
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    padding: 35px 30px;
    margin-bottom: 32px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    animation: fadeInUp 0.6s ease-out backwards;
}

/* Staggered animation for cards */
.service-section .col-lg-4:nth-child(1) .service-card {
    animation-delay: 0.1s;
}

.service-section .col-lg-4:nth-child(2) .service-card {
    animation-delay: 0.2s;
}

.service-section .col-lg-4:nth-child(3) .service-card {
    animation-delay: 0.3s;
}

.service-section .col-lg-4:nth-child(4) .service-card {
    animation-delay: 0.4s;
}

.service-section .col-lg-4:nth-child(5) .service-card {
    animation-delay: 0.5s;
}

.service-section .col-lg-4:nth-child(6) .service-card {
    animation-delay: 0.6s;
}

.service-section .service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #28E9C1, #3CC771);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-section .service-card:hover::before {
    transform: scaleX(1);
}

.service-section .service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(40, 233, 193, 0.15);
    border-color: rgba(40, 233, 193, 0.3);
}

.service-section .service-card .service-card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #e0f2fe 0%, #f0fdfa 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.service-section .service-card:hover .service-card-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, #28E9C1 0%, #3CC771 100%);
}

.service-section .service-card .service-card-icon i {
    font-size: 28px;
    color: #28E9C1;
    transition: color 0.3s ease;
}

.service-section .service-card:hover .service-card-icon i {
    color: #fff;
}

.service-section .service-card .service-card-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 12px;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.service-section .service-card:hover .service-card-title {
    color: #28E9C1;
}

.service-section .service-card .service-card-desc {
    color: #64748b;
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 24px;
    flex-grow: 1;
}

.service-section .service-card .thm-btn {
    font-size: 0.95rem;
    padding: 10px 24px;
    align-self: flex-start;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.service-section .service-card .thm-btn i {
    transition: transform 0.3s ease;
}

.service-section .service-card .thm-btn:hover {
    transform: translateX(5px);
}

.service-section .service-card .thm-btn:hover i {
    transform: translateX(4px);
}

/* Responsive Design */
@media (max-width: 991px) {
    .service-hero {
        padding: 50px 0 40px 0;
    }

    .service-hero .service-title {
        font-size: 2.4rem;
    }

    .service-hero .service-desc {
        font-size: 1.1rem;
    }

    .service-hero .service-hero-img {
        width: 320px;
        margin-top: 20px;
    }

    .service-section {
        padding: 40px 0 60px 0;
    }

    .service-icons-bar {
        padding: 20px 15px;
        gap: 25px;
        margin: -30px auto 40px auto;
        max-width: 95%;
    }

    .service-icons-bar .icon-item {
        font-size: 0.85rem;
    }

    .service-icons-bar .icon-item img {
        width: 36px;
        height: 36px;
    }

    .service-section .service-card {
        padding: 28px 24px;
    }
}

@media (max-width: 767px) {
    .service-hero {
        padding: 40px 0 30px 0;
    }

    .service-hero .service-title {
        font-size: 2rem;
    }

    .service-hero .service-desc {
        font-size: 1rem;
    }

    .service-hero .service-badge {
        font-size: 0.85rem;
        padding: 6px 16px;
    }

    .service-icons-bar {
        flex-wrap: wrap;
        gap: 20px;
        padding: 18px 12px;
    }

    .service-icons-bar .icon-item {
        flex: 0 0 calc(33.333% - 14px);
        font-size: 0.8rem;
    }

    .service-section .service-card .service-card-title {
        font-size: 1.2rem;
    }

    .service-section .service-card .service-card-desc {
        font-size: 0.95rem;
    }
}

@media (max-width: 576px) {
    .service-hero::before,
    .service-hero::after {
        display: none;
    }

    .service-hero .service-btns {
        flex-direction: column;
        width: 100%;
    }

    .service-hero .service-btns .thm-btn {
        width: 100%;
        justify-content: center;
    }

    .service-icons-bar .icon-item {
        flex: 0 0 calc(50% - 10px);
    }
}

/* Service Highlights */
.service-highlights {
    display: flex;
    flex-direction: column;
    gap: 12px;
    animation: fadeInUp 0.8s ease-out 0.5s both;
}

.service-highlights .highlight-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #334155;
    font-size: 1rem;
    font-weight: 500;
}

.service-highlights .highlight-item i {
    color: #28E9C1;
    font-size: 20px;
}

/* Hero Floating Badges */
.service-hero-image-wrapper {
    position: relative;
    display: inline-block;
}

.hero-floating-badge {
    position: absolute;
    background: #fff;
    padding: 12px 18px;
    border-radius: 50px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #1e293b;
    animation: float 3s ease-in-out infinite;
    z-index: 10;
}

.hero-floating-badge.badge-1 {
    top: 10%;
    left: -10%;
    animation-delay: 0s;
}

.hero-floating-badge.badge-2 {
    bottom: 15%;
    right: -5%;
    animation-delay: 1s;
}

.hero-floating-badge i {
    color: #28E9C1;
    font-size: 18px;
}

/* Section Titles */
.section-main-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 0;
}

.section-description {
    font-size: 1.05rem;
    color: #64748b;
    line-height: 1.7;
}

/* Service Card Features */
.service-card-features {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.service-card-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    color: #64748b;
    font-size: 0.95rem;
}

.service-card-features li i {
    color: #28E9C1;
    font-size: 16px;
    flex-shrink: 0;
}

/* Process Steps */
.service-process-section .process-step {
    text-align: center;
    position: relative;
    padding: 30px 20px;
    transition: transform 0.3s ease;
}

.service-process-section .process-step:hover {
    transform: translateY(-10px);
}

.process-number {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #28E9C1 0%, #3CC771 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.2;
    line-height: 1;
    margin-bottom: -15px;
}

.process-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(40, 233, 193, 0.1) 0%, rgba(60, 199, 113, 0.1) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.process-step:hover .process-icon {
    background: linear-gradient(135deg, #28E9C1 0%, #3CC771 100%);
    transform: scale(1.1) rotate(5deg);
}

.process-icon i {
    font-size: 32px;
    color: #28E9C1;
    transition: color 0.3s ease;
}

.process-step:hover .process-icon i {
    color: #fff;
}

.process-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 12px;
}

.process-desc {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* Why Choose Section */
.why-choose-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.why-choose-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 20px;
    background: #fff;
    border-radius: 15px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.why-choose-item:hover {
    border-color: #28E9C1;
    box-shadow: 0 8px 25px rgba(40, 233, 193, 0.1);
    transform: translateX(10px);
}

.why-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: linear-gradient(135deg, #28E9C1 0%, #3CC771 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.why-icon i {
    font-size: 24px;
    color: #fff;
}

.why-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 5px;
}

.why-desc {
    font-size: 0.95rem;
    color: #64748b;
    margin: 0;
    line-height: 1.6;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.stat-card {
    background: #fff;
    padding: 30px 25px;
    border-radius: 20px;
    text-align: center;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
}

.stat-card:hover {
    border-color: #28E9C1;
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(40, 233, 193, 0.15);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #28E9C1 0%, #3CC771 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.95rem;
    color: #64748b;
    margin: 0;
    font-weight: 600;
}

/* CTA Section */
.service-cta-section .cta-heading {
    font-size: 2.2rem;
    font-weight: 700;
    color: #1e293b;
}

.service-cta-section .cta-text {
    font-size: 1.1rem;
    color: #64748b;
    line-height: 1.8;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons-group {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Additional Responsive Styles */
@media (max-width: 991px) {
    .section-main-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .hero-floating-badge {
        padding: 10px 15px;
        font-size: 0.8rem;
    }

    .hero-floating-badge.badge-1 {
        left: 0;
    }

    .hero-floating-badge.badge-2 {
        right: 0;
    }

    .stats-grid {
        gap: 15px;
    }

    .stat-card {
        padding: 25px 20px;
    }

    .stat-number {
        font-size: 2rem;
    }
}

@media (max-width: 767px) {
    .section-main-title {
        font-size: 1.75rem;
    }

    .service-highlights {
        margin-bottom: 25px;
    }

    .hero-floating-badge {
        display: none;
    }

    .process-step {
        padding: 20px 15px;
    }

    .process-number {
        font-size: 2.5rem;
    }

    .process-icon {
        width: 70px;
        height: 70px;
    }

    .process-icon i {
        font-size: 28px;
    }

    .why-choose-item {
        padding: 15px;
    }

    .why-icon {
        width: 45px;
        height: 45px;
        min-width: 45px;
    }

    .why-icon i {
        font-size: 20px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .service-cta-section .cta-heading {
        font-size: 1.75rem;
    }

    .cta-buttons-group {
        flex-direction: column;
        align-items: stretch;
    }

    .cta-buttons-group .thm-btn {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .section-main-title {
        font-size: 1.5rem;
    }

    .section-subtitle {
        font-size: 0.95rem;
    }

    .service-highlights .highlight-item {
        font-size: 0.9rem;
    }
}
