
    :root {
        --primary-color: #2c5f6f;
        --secondary-color: #ef4444;
    }

    body {
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        background: #f8f9fa !important;
        margin: 0;
        padding: 0;
    }

    /* Hero Image Section */
    .service-hero {
        position: relative;
        height: 300px;
        overflow: hidden;
        border-radius: 20px;
        margin-bottom: 50px;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    }

    .service-hero img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        filter: brightness(0.5);
    }

    .service-hero-overlay {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        background: linear-gradient(to bottom, rgba(44, 95, 111, 0.6), rgba(26, 26, 26, 0.6));
    }

    .service-hero h1 {
        color: white;
        font-size: 3.5rem;
        font-weight: bold;
        text-transform: uppercase;
        letter-spacing: 3px;
        text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
        margin: 0;
        text-align: center;
        padding: 0 20px;
    }

    /* Back Button */
    .back-btn {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        background: var(--primary-color);
        color: white;
        padding: 12px 30px;
        border-radius: 50px;
        text-decoration: none;
        font-weight: 600;
        transition: all 0.3s ease;
        margin-bottom: 40px;
        box-shadow: 0 5px 15px rgba(44, 95, 111, 0.3);
    }

    .back-btn:hover {
        background: white;
        color: var(--primary-color);
        transform: translateY(-3px);
        box-shadow: 0 8px 20px rgba(239, 68, 68, 0.4);
    }

    .back-btn i {
        transition: transform 0.3s ease;
    }

    .back-btn:hover i {
        transform: translateX(-5px);
    }

    /* Service Cards Section */
    .service-cards-section {
        margin-bottom: 50px;
    }

    .service-card {
        position: relative;
        overflow: hidden;
        border-radius: 15px;
        margin-bottom: 30px;
        height: 350px;
        perspective: 1500px;
        cursor: pointer;
    }

    .service-card-inner {
        position: relative;
        width: 100%;
        height: 100%;
        transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        transform-style: preserve-3d;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
        border-radius: 15px;
    }

    .service-card:hover .service-card-inner {
        transform: translateZ(-100px) rotateX(15deg) rotateY(-12deg) scale(0.95);
    }

    .service-card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 15px;
        transition: all 0.6s ease;
    }

    .service-card:hover img {
        transform: scale(1.1);
        filter: brightness(0.6);
    }

    .service-overlay {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(to top, rgba(44, 95, 111, 0.95) 0%, rgba(26, 26, 26, 0.7) 100%);
        opacity: 0;
        transition: all 0.5s ease;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 30px;
        border-radius: 15px;
    }

    .service-card:hover .service-overlay {
        opacity: 1;
    }

    .service-info {
        text-align: center;
        transform: translateY(30px);
        transition: transform 0.5s ease 0.1s;
    }

    .service-card:hover .service-info {
        transform: translateY(0);
    }

    .service-category {
        display: inline-block;
        background: rgba(239, 68, 68, 0.9);
        color: white;
        padding: 8px 24px;
        border-radius: 25px;
        font-size: 1.1rem;
        font-weight: 600;
        margin-bottom: 20px;
        text-transform: uppercase;
        letter-spacing: 1.5px;
    }

    .service-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 100%);
        z-index: 1;
        opacity: 0;
        transition: opacity 0.3s ease;
        border-radius: 15px;
        pointer-events: none;
    }

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

    .service-cards-section .service-col {
        display: flex;
        flex-direction: column;
        height: auto;
    }

    .service-card {
        height: 260px !important;
    }

    /* NEW: Card description with View More */
    .card-description {
        flex-grow: 1;
        padding: 15px;
        position: relative;
    }

    .card-description p {
        font-size: 1rem;
        line-height: 1.6;
        color: #555;
        margin: 0;
        display: -webkit-box;
        -webkit-line-clamp: 4;
        -webkit-box-orient: vertical;
        overflow: hidden;
        transition: all 0.3s ease;
    }

    .card-description.expanded p {
        display: block;
        -webkit-line-clamp: unset;
    }

    .view-more-btn {
        display: inline-block;
        margin-top: 10px;
        color: var(--primary-color);
        font-weight: 600;
        font-size: 0.9rem;
        cursor: pointer;
        transition: all 0.3s ease;
        border: none;
        background: none;
        padding: 0;
    }

    .view-more-btn:hover {
        color: var(--secondary-color);
        text-decoration: underline;
    }

    .view-more-btn i {
        margin-left: 5px;
        transition: transform 0.3s ease;
    }

    .card-description.expanded .view-more-btn i {
        transform: rotate(180deg);
    }

    /* iOS Style Fade In Animation */
    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(40px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
        }

        to {
            opacity: 1;
        }
    }

    .back-btn {
        animation: fadeIn 0.6s ease-out;
    }

    .service-hero {
        animation: fadeIn 0.8s ease-out;
    }

    .service-cards-section .service-col {
        opacity: 0;
        animation: fadeInUp 0.8s ease-out forwards;
    }

    .service-cards-section .service-col:nth-child(1) {
        animation-delay: 0.1s;
    }

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

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

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

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

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

    .service-cards-section .service-col:nth-child(7) {
        animation-delay: 0.7s;
    }

    .service-cards-section .service-col:nth-child(8) {
        animation-delay: 0.8s;
    }

    /* Service Details Content */
    .detail-section {
        margin: 40px auto;
        max-width: 700px;
    }

    .detail-section h3 {
        color: var(--primary-color);
        font-size: 1.8rem;
        font-weight: bold;
        margin-bottom: 20px;
        border-left: 4px solid var(--secondary-color);
        padding-left: 20px;
    }

    .detail-section ul {
        list-style: none;
        padding-left: 0;
    }

    .detail-section ul li {
        font-size: 1.1rem;
        line-height: 1.8;
        color: #555;
        margin-bottom: 12px;
        padding-left: 30px;
        position: relative;
    }

    .detail-section ul li::before {
        content: "✓";
        position: absolute;
        left: 0;
        color: var(--secondary-color);
        font-weight: bold;
        font-size: 1.3rem;
    }

    /* Responsive */
    @media (max-width: 992px) {
        .service-hero h1 {
            font-size: 2.8rem;
            letter-spacing: 2px;
        }
    }

    @media (max-width: 768px) {
        .service-hero {
            height: 250px;
        }

        .service-hero h1 {
            font-size: 2.2rem;
            letter-spacing: 1.5px;
        }

        .service-card {
            height: 280px !important;
        }
    }

    @media (max-width: 576px) {
        .service-hero {
            height: 200px;
        }

        .service-hero h1 {
            font-size: 1.8rem;
            letter-spacing: 1px;
        }

        .service-card {
            height: 250px !important;
        }
    }
