/* Engineering Detail Page Styles */
.engineering-detail {
    background-color: #fff;
}

.detail-hero {
    position: relative;
    height: 450px;
    width: 100%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    margin-bottom: 60px;
}

.detail-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: none;
    z-index: 1;
}

.detail-hero .container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.detail-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    font-family: 'Montserrat', sans-serif;
}

.hero-subtitle {
    font-size: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.4;
}

.detail-content {
    padding: 0 0 80px;
}

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

.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
}

.content-main h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 30px;
    font-family: 'Montserrat', sans-serif;
}

.content-main p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 30px;
}

.content-main ul {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
}

.content-main ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: #666;
}

.content-main ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    background-color: #666;
    border-radius: 50%;
}

.featured-image {
    margin: 40px 0;
}

.featured-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.content-sidebar {
    padding-top: 20px;
}

.sidebar-widget {
    margin-bottom: 40px;
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
}

.sidebar-widget h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    font-family: 'Montserrat', sans-serif;
}

.sidebar-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-widget ul li {
    margin-bottom: 15px;
}

.sidebar-widget ul li a {
    color: #007bff;
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.sidebar-widget ul li a:hover {
    color: #0056b3;
}

.contact-widget {
    text-align: center;
    padding: 20px;
    margin: 30px auto;
    max-width: 400px;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.contact-widget h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    font-family: 'Montserrat', sans-serif;
}

.contact-widget p {
    font-size: 1rem;
    margin-bottom: 15px;
    color: #666;
}

.contact-widget .btn-primary {
    background-color: #666;
    color: #fff;
    padding: 10px 25px;
    font-size: 1rem;
}

.contact-widget .btn-primary:hover {
    background-color: #555;
}

.other-categories ul li.view-all,
.related-solutions ul li.view-all {
    background: #f5f5f5;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.other-categories ul li.view-all:hover,
.related-solutions ul li.view-all:hover {
    background: #e5e5e5;
}

.other-categories ul li.view-all a,
.related-solutions ul li.view-all a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    color: #333;
    font-weight: 600;
}

.other-categories ul li.view-all a i,
.related-solutions ul li.view-all a i {
    margin-left: 10px;
    font-size: 14px;
}

/* Desktop Large */
@media (min-width: 1400px) {
    .detail-hero {
        height: 450px;
    }
}

/* Desktop */
@media (min-width: 1200px) and (max-width: 1399px) {
    .detail-hero {
        height: 450px;
    }
}

/* Tablet Large */
@media (min-width: 992px) and (max-width: 1199px) {
    .detail-hero {
        height: 400px;
    }

    .detail-hero h1 {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.3rem;
    }

    .content-grid {
        gap: 40px;
    }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 991px) {
    .detail-hero {
        height: 350px;
    }

    .detail-hero h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .content-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Mobile Large */
@media (min-width: 576px) and (max-width: 767px) {
    .detail-hero {
        height: 350px;
    }

    .detail-hero h1 {
        font-size: 2.25rem;
        margin-bottom: 15px;
    }

    .hero-subtitle {
        font-size: 1.2rem;
        max-width: 100%;
        padding: 0 15px;
    }

    .detail-hero .container {
        padding: 0 25px;
    }

    .content-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .content-main h2 {
        font-size: 1.75rem;
    }

    .sidebar-widget,
    .contact-widget {
        padding: 25px;
    }

    .btn-primary {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
}

/* Mobile */
@media (max-width: 575px) {
    .detail-hero {
        height: 300px;
    }

    .detail-hero h1 {
        font-size: 2rem;
        margin-bottom: 15px;
        padding: 0 10px;
    }

    .hero-subtitle {
        font-size: 1.15rem;
        max-width: 100%;
        padding: 0 15px;
        line-height: 1.3;
    }

    .detail-hero .container {
        padding: 0 20px;
    }

    .content-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .content-main h2 {
        font-size: 1.5rem;
    }

    .sidebar-widget,
    .contact-widget {
        padding: 20px;
    }

    .btn-primary {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
}

/* Mobile styles */
@media (max-width: 576px) {
    .btn-primary {
        padding: 10px 25px;
        font-size: 0.9rem;
    }

    .contact-widget p {
        font-size: 1.1rem;
    }
    
    .contact-widget .btn-primary {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
} 