body {
    font-family: "Poppins", sans-serif;
    margin: 0;
    background: #f8f9fa;
    color: #333;
}

.banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(3, 8, 16, 0.78), rgba(7, 13, 24, 0.58)), url('../images/projects/4.webp') no-repeat center/cover;
    animation: zoomOut 10s ease-in-out infinite alternate;
    z-index: 0;
    transform-origin: center;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 350px;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 25px;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: scale(1);
    transition: opacity 1s ease, transform 4s ease;
    background-size: cover;
    background-position: center;
}

.slide.active {
    opacity: 1;
    transform: scale(1.05);
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.4);
    color: #fff;
    border: none;
    padding: 10px 15px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    z-index: 2;
    transition: background 0.3s ease;
}

.slider-btn:hover {
    background: rgba(13,110,253,0.8);
}

.prev { left: 15px; }
.next { right: 15px; }

.content-section {
    display: flex;
    margin-top: 30px;
    align-items: flex-start;
    gap: 20px;
}

.sidebar {
    width: 280px;
    background-color: #002244;
    color: #fff;
    padding: 20px 0;
    border-radius: 10px;
    height: fit-content;
    position: sticky;
    top: 100px;
    align-self: flex-start;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}

.sidebar h4 {
    text-align: center;
    font-weight: 700;
    margin-bottom: 20px;
    background: #002244;
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1;
}

.sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar ul li {
    padding: 15px 25px;
    cursor: pointer;
    transition: 0.3s;
}

.sidebar ul li.active,
.sidebar ul li:hover {
    background-color: #0d6efd;
    color: #fff;
}

.main-content {
    flex: 1;
    background: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    opacity: 1;
    transition: opacity 0.5s ease;
}

.main-content.fade-out {
    opacity: 0;
}

.intro-text {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 20px;
    color: #333;
}

.section-title {
    margin-top: 30px;
    font-weight: 700;
    color: #002244;
    letter-spacing: 0.5px;
}

.well-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px,1fr));
    gap: 18px;
    margin-top: 20px;
}

.service-box {
    background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(249,251,255,0.96));
    padding: 18px 22px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2px;
    color: #1d3550;
    min-height: 90px;
    box-shadow: 0 10px 28px rgba(0,34,68,0.08);
    border: 1px solid rgba(0, 34, 68, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-box i {
    color: #0d6efd;
    font-size: 1.05rem;
    margin-right: 0;
    flex: 0 0 auto;
}

.service-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 30px rgba(0, 34, 68, 0.12);
    border-color: rgba(13, 110, 253, 0.18);
}

.service-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
    margin-top: 22px;
}

.service-detail-card {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    padding: 18px 22px 18px 24px;
    color: #18324c;
    background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(249,251,255,0.96));
    box-shadow: 0 10px 28px rgba(0, 34, 68, 0.08);
    border: 1px solid rgba(0, 34, 68, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    min-height: 96px;
}

.service-detail-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(13, 110, 253, 0.08), transparent 44%);
    pointer-events: none;
}

.service-detail-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 30px rgba(0, 34, 68, 0.12);
    border-color: rgba(13, 110, 253, 0.18);
}

.service-detail-card h5 {
    position: relative;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.02rem;
    line-height: 1.35;
    letter-spacing: 0.2px;
    text-transform: uppercase;
    color: #1d3550;
}

.service-detail-card h5::before {
    content: "\f245";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: #0d6efd;
    font-size: 0.98rem;
    line-height: 1;
    flex: 0 0 auto;
}

.service-detail-card p {
    position: relative;
    margin: 10px 0 0;
    color: #516175;
    line-height: 1.7;
    font-size: 0.98rem;
}

.service-detail-card .service-box {
    background: transparent;
    padding: 0;
    box-shadow: none;
    border-radius: 0;
    color: inherit;
}

.side-list-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 10px;
    margin-top: 15px;
}

.side-list-grid div {
    padding: 8px 10px;
    border-radius: 6px;
}

@keyframes zoomOut {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@media (max-width: 768px) {
    .content-section { flex-direction: column; }
    .sidebar { position: static; width: 100%; margin-bottom: 20px; }
    .slider-container { height: 250px; }
}
