/* -------------------------
   SECTIONS
-------------------------- */
.services-section {
    padding: 5rem 2rem;
}

.core-services {
    background: #ffffff;
}

.secondary-services {
    background: #0f172a;
}

/* -------------------------
   HEADERS
-------------------------- */
.section-header {
    max-width: 720px;
    margin-bottom: 3.5rem;
}

.section-header h2 {
    font-size: 2.4rem;
    color: #0f172a;
}

.section-header p {
    font-size: 1.1rem;
    color: #475569;
}

.section-header.dark h2 {
    color: #ffffff;
}

.section-header.dark p {
    color: #cbd5e1;
}

/* -------------------------
   GRID
-------------------------- */
.modern-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

/* -------------------------
   CARDS
-------------------------- */
.modern-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 2.5rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.modern-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.12);
}

.dark-card {
    background: #020617;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.dark-card h3,
.dark-card p {
    color: #e5e7eb;
}

/* -------------------------
   ICONS
-------------------------- */
.icon-wrap {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    background: linear-gradient(135deg, #2563eb, #38bdf8);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    padding-bottom: 0;
}

.icon-wrap i {
    font-size: 1.5rem;
    color: white;
}

/* -------------------------
   TYPOGRAPHY
-------------------------- */
.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.service-card p {
    font-size: 0.95rem;
    line-height: 1.6;
}

/* -------------------------
   CTA
-------------------------- */
.services-cta {
    margin-top: 4rem;
    display: inline-flex;
}

.dark-icons i {
    color: rgb(27, 22, 22);
}