:root {
            --primary-red: #EB1A1F;
            --primary-hover: #c41317;
            --dark-bg: #0B0F17;
            --card-bg: #0F172A;
            --input-bg: #1E293B;
            --text-main: #F8FAFC;
            --text-muted: #94A3B8;
            --border-color: rgba(255, 255, 255, 0.08);
        }

        body {
            font-family: 'Plus Jakarta Sans', sans-serif;
            background-color: var(--dark-bg);
            color: var(--text-main);
            overflow-x: hidden;
        }

        h1, h2, h3, h4, h5, h6 {
            font-family: 'Montserrat', sans-serif;
        }

        /* Hero Banner */
        .services-hero {
            position: relative;
            padding: 90px 0 60px;
            background: radial-gradient(circle at top center, rgba(235, 26, 31, 0.15) 0%, rgba(11, 15, 23, 0) 70%);
            border-bottom: 1px solid var(--border-color);
        }

        .badge-red {
            background-color: rgba(235, 26, 31, 0.12);
            color: var(--primary-red);
            border: 1px solid rgba(235, 26, 31, 0.3);
            font-size: 0.8rem;
            letter-spacing: 1px;
            text-transform: uppercase;
            padding: 6px 16px;
            border-radius: 50px;
            font-weight: 700;
        }

        /* Service Cards Grid */
        .service-card {
            background-color: var(--card-bg);
            border: 1px solid var(--border-color);
            border-radius: 16px;
            padding: 35px 30px;
            height: 100%;
            transition: all 0.3s ease;
            position: relative;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }

        .service-card:hover {
            transform: translateY(-6px);
            border-color: rgba(235, 26, 31, 0.4);
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 20px rgba(235, 26, 31, 0.1);
        }

        /* Icon Container */
        .icon-box {
            width: 60px;
            height: 60px;
            background-color: var(--primary-red);
            color: #FFFFFF;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            margin-bottom: 24px;
            box-shadow: 0 6px 18px rgba(235, 26, 31, 0.3);
            transition: transform 0.3s ease;
        }

        .service-card:hover .icon-box {
            transform: scale(1.08);
        }

        /* Card Content */
        .service-title {
            color: #FFFFFF;
            font-weight: 700;
            font-size: 1.25rem;
            margin-bottom: 12px;
        }

        .service-desc {
            color: var(--text-muted);
            font-size: 0.92rem;
            line-height: 1.6;
            margin-bottom: 20px;
        }

        .service-features {
            list-style: none;
            padding: 0;
            margin: 0 0 25px 0;
        }

        .service-features li {
            color: #CBD5E1;
            font-size: 0.88rem;
            margin-bottom: 8px;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .service-features li i {
            color: var(--primary-red);
            font-size: 0.8rem;
        }

        /* CTA Button */
        .btn-service-action {
            color: #FFFFFF;
            background-color: var(--input-bg);
            border: 1px solid var(--border-color);
            border-radius: 8px;
            padding: 10px 18px;
            font-size: 0.88rem;
            font-weight: 600;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            justify-content: space-between;
            transition: all 0.25s ease;
            width: 100%;
        }

        .btn-service-action:hover {
            background-color: var(--primary-red);
            color: #FFFFFF;
            border-color: var(--primary-red);
        }

        /* Bottom Call to Action Section */
        .cta-section {
            background-color: var(--card-bg);
            border: 1px solid var(--border-color);
            border-radius: 20px;
            padding: 50px 40px;
            margin: 80px 0;
            position: relative;
            overflow: hidden;
        }

        .cta-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 6px;
            height: 100%;
            background-color: var(--primary-red);
        }

        .btn-red-main {
            background-color: var(--primary-red);
            color: #FFFFFF;
            font-weight: 700;
            padding: 14px 28px;
            border-radius: 8px;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 10px;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(235, 26, 31, 0.3);
        }

        .btn-red-main:hover {
            background-color: var(--primary-hover);
            color: #FFFFFF;
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(235, 26, 31, 0.4);
        }



        /* Reset & Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.hero {
    background-color: #0d233a;
    color: #ffffff;
    text-align: center;
    padding: 60px 20px;
    margin-bottom: 40px;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #Eb1A1F;
}

.hero p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.service-card {
    background: #ffffff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border-top: 4px solid #f39c12;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.service-card h2 {
    font-size: 1.35rem;
    color: #0d233a;
    margin-bottom: 15px;
}

.service-card p {
    color: #666666;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.service-card ul {
    list-style-type: none;
}

.service-card li {
    font-size: 0.9rem;
    margin-bottom: 12px;
    padding-left: 18px;
    position: relative;
    color: #444444;
}

.service-card li::before {
    content: "■";
    color: #f39c12;
    font-size: 0.7rem;
    position: absolute;
    left: 0;
    top: 2px;
}

.service-card strong {
    color: #0d233a;
}

/* Footer */
footer {
    background-color: #0d233a;
    color: #ffffff;
    /*text-align: center;*/
    padding: 20px 0;
    font-size: 0.9rem;
}

/* Card Container Grid Alignment */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    align-items: stretch; /* Keeps card heights uniform */
    margin-bottom: 50px;
}

/* Individual Card Styling */
.service-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 28px 24px;
    border: 1px solid #eaeeef;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);

    /* Enforce top-to-bottom layout without weird vertical distribution */
    display: flex;
    flex-direction: column;
    justify-content: flex-start; 
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.07);
}

/* Card Heading */
.service-card h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0b1f3a;
    line-height: 1.35;
    margin-bottom: 12px; /* Controlled spacing below title */
}

/* Intro Paragraph */
.service-card p {
    color: #64748b;
    font-size: 0.925rem;
    line-height: 1.5;
    margin-bottom: 20px; /* Compact margin before the list starts */
}

/* List Styling */
.service-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-card li {
    font-size: 0.88rem;
    line-height: 1.55;
    color: #334155;
    margin-bottom: 14px; /* Consistent spacing between list items */
    padding-left: 16px;
    position: relative;
}

.service-card li:last-child {
    margin-bottom: 0; /* Remove bottom margin on the final item */
}

/* Custom List Bullet Accent */
.service-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 7px;
    width: 6px;
    height: 6px;
    background-color: #f39c12; /* Brand accent color */
    border-radius: 2px;
}

.service-card strong {
    color: #0b1f3a;
    font-weight: 600;
}


.service-card.highlight-card {
    background: #0b1f3a;
    color: #ffffff;
    border: none;
}
/*
.service-card.highlight-card h2 {
    color: #f39c12;
}

.service-card.highlight-card p {
    color: #cbd5e1;
}

.service-card.highlight-card li {
    color: #e2e8f0;
}

.service-card.highlight-card strong {
    color: #ffffff;
}*/
/* updated */
.service-card.highlight-card {
    background: #0b1f3a;
    color: #ffffff;
    border: none;
}

.service-card.highlight-card h2 {
    color: #f39c12;
}

.service-card.highlight-card p {
    color: #cbd5e1;
}

.service-card.highlight-card li {
    color: #e2e8f0;
}

.service-card.highlight-card strong {
    color: #ffffff;
}

.cta-card {
    background: linear-gradient(135deg, #0b1f3a 0%, #1e3a8a 100%);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cta-card h2 {
    color: #ffffff;
}

.cta-card p {
    color: #e2e8f0;
}

.cta-content {
    margin-top: auto;
    padding-top: 15px;
}

.btn-primary {
    display: inline-block;
    background-color: #f39c12;
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 15px;
    transition: background-color 0.2s ease;
}

.btn-primary:hover {
    background-color: #d68910;
}

/* Make the 4th card take up the full remaining width on desktop */
@media (min-width: 992px) {
    .service-card:nth-child(4) {
        grid-column: span 2; /* Spans across 2 grid columns */
    }
}