/* Services Page Enhancements */
.departments-section .department-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(8, 104, 150, 0.08);
    border-radius: 22px;
    box-shadow: 0 22px 45px rgba(15, 23, 42, 0.08);
    background: #fff;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.departments-section .department-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.12);
}

.departments-section .department-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.departments-section .department-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.departments-section .department-card:hover .department-image img {
    transform: scale(1.05);
}

.departments-section .department-card .department-icon {
    position: absolute;
    bottom: -26px;
    left: 24px;
    width: 60px;
    height: 60px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    box-shadow: 0 18px 35px rgba(8, 104, 150, 0.28);
}

.departments-section .department-card .department-content {
    padding: 48px 32px 36px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.departments-section .department-title {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
}

.departments-section .department-tagline {
    margin: 0;
    font-weight: 600;
    color: var(--primary);
}

.departments-section .department-description {
    margin: 0;
    color: #475569;
    line-height: 1.6;
}

.departments-section .department-features {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

.departments-section .department-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #1e293b;
    font-weight: 500;
}

.departments-section .department-features i {
    color: var(--secondary);
}

.departments-section .department-btn {
    margin-top: auto;
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 12px 24px;
    border-radius: 999px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.departments-section .department-btn:hover {
    transform: translateX(4px);
    box-shadow: 0 16px 30px rgba(8, 104, 150, 0.3);
}

.departments-section .impact-2030-card .department-icon {
    position: static;
    margin-bottom: 16px;
    box-shadow: none;
}

.departments-section .impact-2030-card .department-content {
    padding-top: 32px;
}

.impact-2030-description {
    color: #475569;
    line-height: 1.8;
}

.impact-2030-description p {
    margin-bottom: 1.2rem;
}

.axes-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 20px;
}

.axis-item {
    background: #f8fafc;
    border: 1px solid rgba(8, 104, 150, 0.1);
    border-radius: 20px;
    padding: 24px;
    height: 100%;
    transition: all 0.3s ease;
}

.axis-item:hover {
    background: #fff;
    box-shadow: 0 15px 30px rgba(8, 104, 150, 0.1);
    transform: translateY(-4px);
    border-color: var(--primary);
}

.axis-number {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
}

.axis-content {
    font-weight: 600;
    color: #1e293b;
    line-height: 1.4;
}

/* Service Detail */
.service-hero {
    position: relative;
    padding: 140px 0 60px;
    color: #fff;
    background: linear-gradient(135deg, #086896 0%, #1e3a8a 100%);
    overflow: hidden;
}

.service-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 86c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zm66 3c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zm-46-45c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm26 26c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm-1-48c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm-48 38c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm85 25c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm-24-49c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm-57 44c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm76-21c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm-42-4c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm-28-40c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm-8 56c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm38 20c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm10-73c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1z' fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.4;
}



.service-hero-content {
    position: relative;
    max-width: 720px;
}

.service-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.32);
    letter-spacing: 0.08em;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.service-title {
    margin-top: 20px;
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1.2;
}

.service-tagline {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-top: 12px;
}

.service-body-section {
    padding: 80px 0;
    background: #f8fafc;
}

.service-body {
    background: #fff;
    padding: 48px;
    border-radius: 28px;
    box-shadow: 0 25px 60px rgba(15, 23, 42, 0.08);
    display: flex;
    flex-direction: column;
    gap: 28px;
    color: #1f2937;
    line-height: 1.75;
}

.service-section h2 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--primary);
}

.service-section p {
    margin: 0 0 12px;
}

.service-highlights {
    background: linear-gradient(135deg, rgba(8, 104, 150, 0.08), rgba(114, 178, 58, 0.06));
    border: 1px solid rgba(8, 104, 150, 0.16);
    border-radius: 24px;
    padding: 32px;
}

.service-highlights h3 {
    margin-bottom: 18px;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
}

.service-highlights ul {
    margin: 0;
    padding-left: 20px;
    display: grid;
    gap: 10px;
}

.service-solutions {
    display: grid;
    gap: 20px;
}

.service-solution-card {
    border: 1px solid rgba(8, 104, 150, 0.1);
    border-radius: 20px;
    padding: 28px;
    background: #f9fbfd;
}

.service-solution-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #0f172a;
}

.service-solution-card ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.service-solution-card li {
    display: flex;
    align-items: baseline;
    gap: 10px;
    color: #1e293b;
}

.service-solution-card i {
    color: var(--secondary);
}

.service-quote {
    padding: 32px;
    border-left: 4px solid var(--primary);
    background: #f1f5f9;
    border-radius: 20px;
    font-size: 1.15rem;
    font-style: italic;
    color: #0f172a;
}

.service-quote footer {
    margin-top: 16px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary);
}

.service-cta {
    margin-top: 8px;
}

.service-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    padding: 12px 26px;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.service-cta-btn:hover {
    transform: translateX(4px);
    box-shadow: 0 18px 32px rgba(8, 104, 150, 0.32);
}

.service-back-link {
    margin-top: 32px;
}

.back-to-services {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
}

.back-to-services:hover {
    color: var(--primary-dark);
}

.service-related {
    padding: 70px 0 100px;
}

.service-related-header {
    text-align: center;
    margin-bottom: 40px;
}

.service-related-header h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.service-related-header p {
    color: #64748b;
}

.service-related-card {
    background: #fff;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 22px 45px rgba(15, 23, 42, 0.08);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-related-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 55px rgba(15, 23, 42, 0.12);
}

.service-related-image {
    position: relative;
    height: 200px;
}

.service-related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-related-icon {
    position: absolute;
    bottom: 16px;
    right: 16px;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    box-shadow: 0 18px 32px rgba(8, 104, 150, 0.28);
}

.service-related-content {
    padding: 26px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex: 1;
}

.service-related-content h3 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
}

.service-related-content a {
    text-decoration: none;
    color: #0f172a;
}

.service-related-content a:hover {
    color: var(--primary);
}

.service-related-content p {
    margin: 0;
    color: #64748b;
    line-height: 1.6;
}

.service-related-link {
    margin-top: auto;
    font-weight: 600;
    color: var(--primary);
}

.service-related-link:hover {
    color: var(--primary-dark);
}

@media (max-width: 992px) {
    .service-hero {
        padding: 100px 0 60px;
        min-height: 320px;
    }

    .service-title {
        font-size: 2.2rem;
    }

    .service-body {
        padding: 36px;
    }

    .service-solutions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .departments-section .department-card .department-content {
        padding: 42px 24px 32px;
    }

    .departments-section .department-image {
        height: 180px;
    }

    .service-hero {
        padding: 90px 0 50px;
    }

    .service-title {
        font-size: 1.9rem;
    }

    .service-body {
        padding: 30px;
        border-radius: 24px;
    }

    .service-solutions {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .departments-section .department-card .department-icon {
        left: 20px;
        width: 52px;
        height: 52px;
    }

    .departments-section .department-card .department-content {
        padding-top: 44px;
    }

    .service-hero {
        padding: 80px 0 40px;
    }

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

    .service-body {
        padding: 24px;
    }
}