﻿/* Page Header */
.page-header {
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.95) 0%, rgba(0, 77, 153, 0.95) 100%), url('https://images.unsplash.com/photo-1504328345606-18bbc8c9d7d1?w=1920') center/cover;
    padding: 120px 0 80px;
    color: white;
    text-align: center;
}

.page-header h1 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 20px;
}

.page-header p {
    font-size: 1.3rem;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto;
}

/* Services Intro */
.services-intro {
    padding: 80px 0;
    background: #f8f9fa;
}

.intro-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.intro-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
}

    .intro-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
    }

.intro-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ff6600 0%, #ff8533 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

    .intro-icon i {
        font-size: 2rem;
        color: white;
    }

.intro-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #1a1a1a;
}

.intro-card p {
    color: #666;
    margin: 0;
}

/* Service Details */
.service-detail {
    padding: 100px 0;
}

    .service-detail:nth-child(even) {
        background: #f8f9fa;
    }

.service-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
}

.service-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #0066cc 0%, #004d99 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 900;
    color: white;
    flex-shrink: 0;
}

.service-detail h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1a1a1a;
    margin: 0;
}

.deliverables-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.deliverable-item {
    background: white;
    padding: 25px;
    border-radius: 12px;
    border-left: 4px solid #ff6600;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s;
}

    .deliverable-item:hover {
        transform: translateX(5px);
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    }

    .deliverable-item h4 {
        font-size: 1.2rem;
        font-weight: 700;
        color: #1a1a1a;
        margin-bottom: 10px;
        display: flex;
        align-items: center;
        gap: 10px;
    }

        .deliverable-item h4 i {
            color: #ff6600;
            font-size: 1.1rem;
        }

    .deliverable-item p {
        color: #666;
        margin: 0;
        line-height: 1.6;
    }

.service-description {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 30px;
}

/* Standards Section */
.standards-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: white;
}

.standards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.standard-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 35px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
}

    .standard-card:hover {
        background: rgba(255, 255, 255, 0.1);
        transform: translateY(-5px);
    }

    .standard-card h3 {
        font-size: 1.8rem;
        font-weight: 700;
        margin-bottom: 15px;
        color: #ff6600;
    }

    .standard-card .used-for {
        font-weight: 600;
        margin-bottom: 10px;
        color: rgba(255, 255, 255, 0.9);
    }

    .standard-card .codes {
        color: rgba(255, 255, 255, 0.7);
        line-height: 1.8;
    }

/* Software Section */
.software-section {
    padding: 100px 0;
    background: white;
}

.software-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 50px;
}

.software-item {
    background: #f8f9fa;
    padding: 30px 20px;
    border-radius: 12px;
    text-align: center;
    font-weight: 600;
    font-size: 1.1rem;
    color: #1a1a1a;
    border: 2px solid transparent;
    transition: all 0.3s;
}

    .software-item:hover {
        background: white;
        border-color: #0066cc;
        transform: scale(1.05);
        box-shadow: 0 10px 30px rgba(0, 102, 204, 0.15);
    }

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1a1a1a;
    text-align: center;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

    .section-title::after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
        height: 4px;
        background: linear-gradient(135deg, #ff6600 0%, #ff8533 100%);
    }

.text-center .section-title {
    display: block;
}

/* Responsive */
@@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2.5rem;
    }

    .service-header {
        flex-direction: column;
        text-align: center;
    }

    .service-detail h2 {
        font-size: 2rem;
    }

    .deliverables-grid {
        grid-template-columns: 1fr;
    }
}
/* Modal Overlay */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    inset: 0; /* shorthand for top/left/right/bottom = 0 */
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(6px);
    justify-content: center;
    align-items: center;
    padding: 20px;
    /* smooth fade-in */
    animation: modalFade 0.25s ease forwards;
}

/* Modal Box */
.modal-content {
    background: linear-gradient(135deg, #ffffff, #f3f3f3);
    width: 90%;
    max-width: 480px;
    padding: 28px;
    border-radius: 16px;
    position: relative;
    text-align: center;
    box-shadow: 0px 15px 40px rgba(0,0,0,0.30);
    transform: translateY(-20px);
    animation: slideUp 0.35s ease forwards;
}

    /* Title */
    .modal-content h2 {
        margin: 0 0 12px;
        font-size: 24px;
        font-weight: 700;
        color: #222;
        letter-spacing: 0.5px;
    }

    /* Description */
    .modal-content p {
        font-size: 17px;
        line-height: 1.7;
        color: #555;
    }

/* Close Button */
.close {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    transition: 0.2s;
}

    .close:hover {
        color: #e63946;
        transform: scale(1.2);
    }

/* Animations */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes modalFade {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 480px) {
    .modal-content {
        padding: 22px;
        max-width: 95%;
    }

        .modal-content h2 {
            font-size: 20px;
        }

        .modal-content p {
            font-size: 14px;
        }
}

