:root {
    --primary: #84bcdd;
    --primary-dark: #2c7bac;
    --primary-light: #A3D4EE;
    --secondary: #00E5D4;
    --accent: #FFC107;
    --dark: #000000;
    --light: #FFFFFF;
    --bg-light: #f1f2f4;
    --bg-white: #ffffff;
    --text-dark: #212121;
    --text-main: #424242;
    --text-medium: #555555;
    --text-light: #757575;
    --text-muted: rgba(255, 255, 255, 0.7);
    --text-white: #ffffff;
    --heading-color: var(--text-white);
    --gradient-primary: linear-gradient(135deg, #84bcdd 0%, #6BA4C5 100%);
    --gradient-secondary: linear-gradient(90deg, #212121 0%, #424242 100%);
    --gradient-hero: linear-gradient(135deg, #1a2980 0%, #26d0ce 100%);
    --gradient-cta: linear-gradient(135deg, #1a2980 0%, #26d0ce 100%);
    --gradient-blue: linear-gradient(135deg, #3949ab, #5c6bc0);
    --container-max-width: 1400px;
    --section-padding-large: 100px 0;
    --section-padding-medium: 80px 0;
    --section-padding-small: 50px 0;
    --border-radius-sm: 8px;
    --border-radius-md: 12px;
    --border-radius-lg: 16px;
    --border-radius-full: 50px;
    --shadow-soft: 0 5px 15px rgba(0, 0, 0, 0.05);
    --shadow-medium: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.12);
    --shadow-text: 0 2px 4px rgba(0, 0, 0, 0.3);
    --transition: all 0.3s ease;
    --transition-slow: all 0.6s ease;
    --primary-blue: #1a2980;
    --secondary-blue: #23395d;
    --accent-blue: #84bcdd;
    --light-blue: #5dade2;
    --dark-blue: #010D2E;
    --text-gray: #555555;
    --border-color: var(--text-white);
}

/* ============================================================================
   SERVICE LIST PAGE STYLES
   Consistent with website design system
   ============================================================================ */



/* Hero Section */
.services-hero {
    background: url('/static/assets/hero.jpeg') center 40% / cover no-repeat;
    position: relative;
    text-align: center;
    overflow: hidden;
    padding: 5rem 0 0 0;
    min-height: 95vh;
    display: flex;
    align-items: center;
}

.services-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="1"/></pattern></defs><rect width="1200" height="600" fill="url(%23grid)"/></svg>');
    pointer-events: none;
}

.services-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}


.services-hero .container {
    position: relative;
    z-index: 2;
}

.services-hero h1 {
    font-size: 56px;
    color: var(--text-white);
    margin-bottom: 20px;
    font-weight: 900;
}

.services-hero h1 .highlight {
    color: var(--text-white);
}

.services-hero p {
    color: var(--text-white);
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Services Section */
.services-section {
    padding: 80px 0;
    background: var(--bg-white);
}

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

/* Service Card */
.service-card {
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 40px 30px;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

/* Service Icon */
.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(26, 41, 128, 0.1) 0%, rgba(132, 188, 221, 0.1) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.service-icon i {
    color: var(--accent-blue);
    font-size: 28px;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: rgba(255, 255, 255, 0.2);
}

.service-card:hover .service-icon i {
    color: var(--text-light);
}

/* Service Content */
.service-card h3 {
    color: var(--primary-blue);
    font-size: 22px;
    margin: 20px 0 15px;
    font-weight: 700;
}

.service-card p {
    color: var(--text-gray);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 25px;
}

.service-card:hover h3,
.service-card:hover p {
    color: var(--text-light);
}

/* Service Link */
.service-link-wrapper {
    margin-top: auto;
}

.service-link {
    color: var(--accent-blue);
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.service-link:hover {
    gap: 15px;
}

.service-link i {
    font-size: 12px;
}

.service-card:hover .service-link {
    color: var(--text-light);
}

/* Empty State */
.services-empty {
    grid-column: 1/-1;
    text-align: center;
    padding: 80px 20px;
}

.services-empty p {
    color: var(--text-gray);
    font-size: 18px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .services-hero {
        background: url('/static/assets/Snapchat-1933929992.jpeg') no-repeat center 40%;
        background-size: cover;
        min-height: 95vh;
        padding: 180px 0 100px;
        text-align: center;
        position: relative;
    }

    .services-hero h1 {
        font-size: 36px;
    }

    .services-hero p {
        font-size: 16px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        padding: 30px 25px;
    }
}

@media (max-width: 480px) {
    .services-hero {
        padding: 150px 0 80px;
    }

    .services-hero h1 {
        font-size: 28px;
    }

    .services-section {
        padding: 60px 0;
    }

    .service-card {
        padding: 25px 20px;
    }
}