/* SERVICES.CSS - TechRon Ltd (Red/Black Theme) */
:root {
    --primary-color: #D32F2F;
    --primary-dark: #B71C1C;
    --primary-light: #ef5350;
    --secondary-color: #231834;
    --text-primary: #231834;
    --text-secondary: #4a4a68;
    --text-muted: #6b6b8a;
    --bg-white: #ffffff;
    --bg-light: #f8f9fc;
    --border-color: #e2e8f0;
    --max-width: 1280px;
    --font-main: 'Plus Jakarta Sans', sans-serif;

    /* Fallbacks for older variable names used in this file */
    --primary-blue: var(--primary-color);
    --dark-blue: var(--secondary-color);
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--text-primary);
    background-color: var(--bg-white);
    line-height: 1.6;
}

a {
    text-decoration: none;
    transition: 0.3s;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* PAGE SPECIFIC */
.page-header {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #3d2a54 100%);
    padding: 120px 0 80px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-header h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.page-header p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.2rem;
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
}

.services-list-section {
    padding: 100px 0;
    background: var(--bg-light);
}

.services-grid-large {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
}

.service-item {
    height: 100%;
}

.service-inner {
    background: white;
    padding: 0;
    border-radius: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    overflow: hidden;
}

.service-inner:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.service-img-box {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.grid-service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-inner:hover .grid-service-img {
    transform: scale(1.1);
}

.service-inner-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.icon-box {
    width: 50px;
    height: 50px;
    background: var(--bg-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    margin-bottom: 20px;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.service-inner:hover .icon-box {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.service-content h2 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: var(--secondary-color);
    font-weight: 700;
}

.service-content p {
    color: var(--text-secondary);
    margin-bottom: 25px;
    flex-grow: 1;
    font-size: 1rem;
    line-height: 1.6;
}

.btn-learn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-color);
    font-weight: 700;
    text-decoration: none;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: gap 0.3s ease;
}

.btn-learn:hover {
    gap: 15px;
}

/* CTA BLOCK */
.services-cta {
    padding-bottom: 100px;
    background: var(--bg-light);
}

.cta-banner {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 80px 40px;
    border-radius: 30px;
    text-align: center;
    color: white;
    box-shadow: 0 20px 40px rgba(211, 47, 47, 0.2);
    position: relative;
    overflow: hidden;
}

.cta-banner h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-weight: 800;
}

.cta-banner p {
    font-size: 1.1rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.white-bg {
    background: white !important;
    color: var(--primary-color) !important;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
    display: inline-block;
}