/* --- Service Hero Section --- */
.services-hero-wrapper {
    position: relative;
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    padding: 120px 0;
    overflow: hidden;
}

.services-hero-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.services-hero-shape {
    position: absolute;
}

.services-hero-circle-1 {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(78, 171, 228, 0.3);
    top: -100px;
    right: -50px;
    animation: float 8s ease-in-out infinite;
}

.services-hero-circle-2 {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(254, 207, 51, 0.3);
    bottom: -50px;
    left: -50px;
    animation: float 6s ease-in-out infinite;
}

.services-hero-triangle-1 {
    width: 0;
    height: 0;
    border-left: 100px solid transparent;
    border-right: 100px solid transparent;
    border-bottom: 170px solid rgba(78, 171, 228, 0.3);
    top: 20%;
    left: 15%;
    transform: rotate(15deg);
    animation: float 7s ease-in-out infinite;
}

.services-hero-triangle-2 {
    width: 0;
    height: 0;
    border-left: 70px solid transparent;
    border-right: 70px solid transparent;
    border-bottom: 120px solid rgba(254, 207, 51, 0.3);
    top: 50%;
    right: 10%;
    transform: rotate(-25deg);
    animation: float 9s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

/* --- Hero Content --- */
.services-hero-content {
    position: relative;
    z-index: 2;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(78, 171, 228, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(78, 171, 228, 0.1);
}

.services-hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #4eabe4, #fecf33);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .services-hero-wrapper { padding: 80px 0; }
    .services-hero-title { font-size: 2.5rem; }
    .services-hero-triangle-1,
    .services-hero-triangle-2 { display: none; }
    .services-hero-circle-1 { width: 200px; height: 200px; }
    .services-hero-circle-2 { width: 150px; height: 150px; }
}


/* --- News Section --- */
.news-section {
    background: #ffffff;
    padding: 80px 0;
    font-family: 'DM Sans', sans-serif;
}

.news-item {
    margin-bottom: 40px;
    background: #ffffff;
    border: 1px solid #e6eef1;
    border-radius: 16px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.03);
    overflow: hidden;
    transition: box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.news-item:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.05);
}

.news-thumbnail {
    height: 240px;
    overflow: hidden;
    background: #f2f6f7;
}

.news-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.news-thumbnail a:hover img {
    transform: scale(1.05);
}

.no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #999;
    font-size: 0.95rem;
}

/* --- Info Area --- */
.news-info {
    padding: 22px 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.news-meta {
    font-size: 0.85rem;
    color: #6c7a80;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.news-meta .separator {
    color: #ccd4d8;
    margin: 0 8px;
}

.news-title {
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.5;
    margin: 0;
    color: #222;
    font-family: 'Rubik', sans-serif;
}

.news-title a {
    color: inherit;
    text-decoration: none;
}

.news-title a:hover {
    color: #4eabe4;
    text-decoration: underline;
}

/* --- Pagination --- */
.pagination {
    margin-top: 50px;
    justify-content: center;
}

.pagination > li > a,
.pagination > li > span {
    padding: 10px 16px;
    margin: 0 4px;
    font-size: 0.95rem;
    color: #4eabe4;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    background: #fff;
    transition: background 0.3s ease;
}

.pagination > li > a:hover,
.pagination > li.active > span {
    background: #4eabe4;
    color: #fff;
    border-color: #4eabe4;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .services-hero-wrapper {
        padding: 80px 0;
    }

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

    .news-thumbnail {
        height: 200px;
    }

    .news-title {
        font-size: 1.1rem;
    }

    .news-info {
        padding: 20px;
    }
}

.insight-card {
    display: block;
    text-decoration: none;
    margin-bottom: 50px;
    font-family: 'DM Sans', sans-serif;
}

.insight-card-inner {
    display: flex;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e6eef1;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #fff;
    min-height: 280px;
}

.insight-card:hover .insight-card-inner {
    transform: translateY(-4px);
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.06);
}

.insight-img-wrap {
    flex: 0 0 40%;
    position: relative;
    overflow: hidden;
    clip-path: polygon(0 0, 100% 0, 90% 100%, 0% 100%);
}

.insight-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.insight-card:hover img {
    transform: scale(1.05);
}

.insight-no-image {
    background: #f2f6f7;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
}

.insight-content {
    flex: 1;
    padding: 30px 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.insight-date {
    font-size: 0.85rem;
    color: #4eabe4;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.insight-title {
    font-family: 'Rubik', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 12px;
    line-height: 1.4;
}

.insight-author {
    font-size: 0.9rem;
    color: #777;
    margin-top: auto;
}

/* Mobile fallback */
@media (max-width: 768px) {
    .insight-card-inner {
        flex-direction: column;
        clip-path: none;
    }

    .insight-img-wrap {
        clip-path: none;
        flex: none;
        height: 200px;
    }

    .insight-title {
        font-size: 1.2rem;
    }
}
