/* SERVICE-DETAILS.CSS - TechRon Ltd */
: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 */
    --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-body);
    color: var(--text-main);
    background-color: var(--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;
}

/* HEADER COPY - Same as header.css for consistency */

@media (max-width: 900px) {
    .desktop-nav {
        display: none;
    }

    .menu-toggle {
        display: block;
        background: none;
        border: none;
    }

    .bar {
        display: block;
        width: 28px;
        height: 3px;
        background: #231834;
        margin: 6px 0;
    }

    .header-actions .btn-cta {
        display: none;
    }
}

/* PAGE SPECIFIC STYLES */
.service-details-page {
    background: #fafbfc;
}

.service-hero {
    background: linear-gradient(135deg, #231834 0%, #3d2a54 100%);
    padding: 100px 0 80px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.service-hero::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.03'%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");
    opacity: 0.5;
}

.service-hero .container {
    position: relative;
    z-index: 1;
}

.service-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.service-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.service-details-content {
    padding: 80px 0;
}

.service-details-content .container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.layout-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 50px;
    align-items: start;
}

/* Sidebar */
.sidebar {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 12px rgba(35, 24, 52, 0.06);
    position: sticky;
    top: 120px;
}

.sidebar h3 {
    font-size: 1.1rem;
    border-bottom: 2px solid #231834;
    padding-bottom: 12px;
    margin-bottom: 20px;
    color: #231834;
    font-weight: 600;
}

.sidebar ul li {
    margin-bottom: 8px;
}

.sidebar ul li a {
    display: block;
    padding: 12px 16px;
    background: #f8f9fc;
    border-radius: 8px;
    color: #5a5568;
    transition: all 0.25s ease;
    border: 1px solid transparent;
    font-weight: 500;
    font-size: 0.95rem;
}

.sidebar ul li a:hover {
    background: #231834;
    color: white;
    border-color: #231834;
    transform: translateX(4px);
}

.sidebar ul li a.active {
    background: #231834;
    color: white;
    border-color: #231834;
}

.sidebar-cta {
    margin-top: 30px;
    background: linear-gradient(135deg, #f8f9fc 0%, #f0f2f7 100%);
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #e8e6ef;
}

.sidebar-cta h4 {
    color: #231834;
    margin-bottom: 10px;
    font-weight: 600;
}

.sidebar-cta p {
    color: #5a5568;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.full-width {
    width: 100%;
    display: block;
    text-align: center;
}

/* Main Content */
.main-content {
    background: white;
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 10px 30px rgba(35, 24, 52, 0.05);
    border: 1px solid var(--border-color);
}

.main-content h2 {
    font-size: 2.2rem;
    margin-bottom: 24px;
    color: var(--secondary-color);
    font-weight: 800;
}

.lead {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 45px;
}

.service-image-container {
    width: 100%;
    height: 400px;
    border-radius: 20px;
    margin-bottom: 50px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
}

.service-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.benefits-section {
    background: linear-gradient(135deg, #f8f9fc 0%, #f0f2f7 100%);
    padding: 40px;
    border-radius: 12px;
    border-left: 4px solid #231834;
    margin-bottom: 40px;
}

.benefits-section h3 {
    color: #231834;
    font-size: 1.4rem;
    margin-bottom: 24px;
    font-weight: 600;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    color: #231834;
    padding: 12px;
    background: white;
    border-radius: 8px;
}

.check-icon {
    color: #231834;
    font-weight: bold;
    font-size: 1.1rem;
}

.service-cta-block {
    text-align: center;
    padding: 60px;
    background: linear-gradient(135deg, #231834 0%, #3d2a54 100%);
    border-radius: 12px;
    margin-top: 60px;
    color: white;
    position: relative;
    overflow: hidden;
}

.service-cta-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'%3E%3Cpath d='M0 40L40 0H20L0 20M40 40V20L20 40'/%3E%3C/g%3E%3C/svg%3E");
}

.service-cta-block .container {
    position: relative;
    z-index: 1;
}

.service-cta-block h3 {
    font-size: 1.6rem;
    margin-bottom: 30px;
    font-weight: 600;
}

.btn {
    padding: 14px 32px;
    border-radius: 8px;
    display: inline-block;
    font-weight: 600;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.btn-primary {
    background: white;
    color: #231834;
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.service-cta-block .btn-primary {
    background: white;
    color: #231834;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .layout-grid {
        grid-template-columns: 240px 1fr;
        gap: 30px;
    }

    .main-content {
        padding: 35px;
    }
}

@media (max-width: 900px) {
    .layout-grid {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: static;
    }

    .service-hero h1 {
        font-size: 2.2rem;
    }

    .main-content {
        padding: 25px;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .service-cta-block {
        padding: 40px 25px;
    }
}

@media (max-width: 480px) {
    .service-hero {
        padding: 70px 0 50px;
    }

    .service-hero h1 {
        font-size: 1.8rem;
    }

    .main-content {
        padding: 20px;
    }

    .main-content h2 {
        font-size: 1.5rem;
    }

    .benefits-section {
        padding: 25px;
    }

    .sidebar {
        padding: 20px;
    }
}