
/*
Service Page Template CSS
Upload to:
wp-content/themes/your-child-theme/assets/css/service-page.css
*/

:root{
  --primary:#c62828;
  --dark:#1d1d1d;
  --text:#444;
  --light:#f5f5f5;
  --radius:12px;
  --container:1200px;
}

*{box-sizing:border-box}
.service-page{font-family:Arial,Helvetica,sans-serif;color:var(--text);line-height:1.7}
.container{width:min(92%,var(--container));margin:auto; max-width: 1200px;}

.service-hero{

display:flex;

min-height:780px;

background:#06162b;

overflow:hidden;
margin-top: 90px;
}

.hero-left{

width:46%;

background:linear-gradient(
90deg,
#051629 0%,
#071c33 70%,
rgba(7,28,51,.92) 100%
);

display:flex;

align-items:center;

position:relative;

z-index:2;

}

.hero-inner{
max-width:620px;
margin:auto;

}

.hero-right{
width:54%;
}

.hero-right img{
width:100%;
height:100%;
object-fit:cover;
display:block;

}
.hero-left h1{
font-size:54px;
line-height:1.05;
font-weight:800;
color:#fff;
margin-bottom:35px;

}
.hero-content h2{
color:#ed1c24;
font-size:42px;
font-weight:700;
margin-bottom:20px;

}
.hero-content p{
color:#fff;
opacity:.92;
font-size:16px;
line-height:1.8;
margin-bottom:25px;

}
.hero-buttons{

display:flex;

gap:20px;

margin-top:45px;

}
.btn{
display:inline-block;
padding:14px 28px;
border-radius:6px;
text-decoration:none;
transition:.3s;
font-weight:600;
}
.btn-primary{

background:#d71920;

padding:18px 34px;

border-radius:4px;

color:#fff;

font-weight:700;

}
.btn-secondary{

border:2px solid #fff;

padding:18px 34px;

color:#fff;

border-radius:4px;

}
.btn:hover{transform:translateY(-2px)}

.client-logos{padding:50px 0;background:#fff}
.logos-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(100px,1fr));
gap:30px;
align-items:center;
}
.logos-grid img{max-width:100%;opacity:.8}

.two-col{
display:grid;
grid-template-columns:1fr 1fr;
gap:70px;
align-items:center;
padding:90px 0;
}
.image-right .image{order:2}
.image-right .content{order:1}

.image img{
width:100%;
display:block;
border-radius:var(--radius);
}

.content h2{
font-size:42px;
margin-bottom:20px;
color:#222;
}

.feature-cards{
padding:80px 0;
background:var(--light);
}
.cards{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
gap:35px;
}
.card,.project-card{
background:#fff;
padding:30px;
border-radius:12px;
box-shadow:0 10px 30px rgba(0,0,0,.08);
}
.card img,.project-card img,.step img{
width:100%;
border-radius:10px;
margin-bottom:20px;
}

.content-block.dark{
background:#06162b;
color:#fff;
}
.content-block.dark h2{color:#fff}

.service-card{
    background:#fff;
    border-radius:12px;
    overflow:hidden;
    box-shadow:0 8px 25px rgba(0,0,0,.08);
    position:relative;

}

.card-image img{
    width:100%;
    display:block;

}

.card-icon{
    position:absolute;
    left:50%;
    top:250px;
    transform:translateX(-50%);
    width:95px;
    height:95px;
    border-radius:50%;
    background:#d71920;
    display:flex;
    justify-content:center;
    align-items:center;
    border:6px solid #fff;

}

.card-icon img{
    width:42px;

}

.card-content{
    padding:70px 35px 35px;

}

.card-content h3{
    margin-bottom:20px;

}

.card-description{
    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:5;
   overflow:hidden;
    transition:.3s;

}

.service-card.expanded .card-description{
    display:block;
    overflow:visible;

}

.read-more{
    display:inline-flex;
    align-items:center;
   gap:10px;
    margin-top:25px;
    color:#d71920;
    font-weight:700;
    text-decoration:none;

}

.read-more svg{
    transition:.3s;
}

.service-card.expanded .read-more svg{
    transform:rotate(90deg);
}

.projects{
padding:90px 0;
background:#fff;
}

.process{
padding:90px 0;
background:#06162b;
text-align:center;
color:#f5f5f5;
}
.step img{
width:70px;
height:70px;
object-fit:contain;
margin:auto auto 20px;
}

.why{
padding:90px 0;
background:#111;
color:#fff;
}
.why h2{color:#fff}
.benefits{
list-style:none;
padding:0;
margin:40px 0 0;
display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:20px;
}
.benefits li{
display:flex;
align-items:center;
gap:15px;
background:rgba(255,255,255,.08);
padding:15px;
border-radius:8px;
}
.benefits img{
width:40px;
height:40px;
object-fit:contain;
}
/* ===================================
CTA
=================================== */

.cta-section{
    background:#d71920;
    padding:55px 0;

}

.cta-grid{
    display:grid;
    grid-template-columns:1.6fr auto;
    align-items:center;
    gap:60px;

}

.cta-content{
    display:flex;
    align-items:flex-start;
    gap:35px;

}

.cta-icon img{
    width:120px;

}

.cta-text h2{
    color:#fff;
    font-size:40px;
    line-height:1.05;
    margin:0 0 20px;

}

.cta-text p{

    color: #fff;
    font-size: 18px;
    line-height: 1.7;
    margin: 0;

}

.cta-buttons{
    display:flex;
    gap:30px;

}

.cta-buttons .btn{
    min-width:320px;
    height:76px;
    display:flex;
    justify-content:center;
    align-items:center;
    border-radius:8px;
    text-decoration:none;
    font-size:20px;
    font-weight:600;

}

.btn-outline-white{
    border:2px solid #fff;
    color:#fff;

}

.btn-dark{

    background:#071a2f;

    color:#fff;

}

@media(max-width:992px){
.hero{min-height:550px}
.hero h1{font-size:42px}
.two-col{
grid-template-columns:1fr;
gap:40px;
}
.image-right .image,
.image-right .content{
order:initial;
}
}

@media(max-width:768px){
.hero h1{font-size:34px}
.content h2,.cta h2{font-size:30px}
.cards{grid-template-columns:1fr}
.hero-buttons{flex-direction:column;align-items:flex-start}
}
a.read-more:hover {
    color: #222;
}
.process-title h2 {
    color: #fff;
    font-size: 42px;
    margin-bottom: 40px;
}
/* =====================================================
   WHY VALOUR SERVICES
===================================================== */

.why-section{
    display:flex;
    min-height:760px;
    width:100%;
}

.why-left{
    width:50%;
    background:#fff;
    display:flex;
    align-items:center;
}

.why-inner{
    width:100%;
    max-width:760px;
    padding:90px 80px;
}

.why-left h2{
    font-size:42px;
    line-height:1.1;
    color:#081a33;
    margin:0;
    font-weight:700;
}

.section-divider{
    display:block;
    width:70px;
    height:4px;
    background:#d71920;
    margin:35px 0 45px;
}

.why-content{
    color:#17243a;
    font-size:20px;
    line-height:1.8;
}

.why-content p{
    margin-bottom:28px;
}

.why-content ul{
    margin:25px 0;
    padding-left:20px;
}

.why-content li{
    margin-bottom:12px;
}


/* Benefits */

.benefits-grid{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:28px 40px;

    margin-top:50px;

}

.benefit-item{

    display:flex;

    align-items:flex-start;

    gap:18px;

}

.benefit-icon {
    width: 80px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;

}

.benefit-icon img{
width: 60px;
    height: 60px;
    object-fit: contain;

}

.benefit-title{

    font-size:18px;

    line-height:1.5;

    color:#081a33;

    font-weight:600;

}


/* ==========================================
RIGHT SIDE
========================================== */

.why-right{

    width:50%;

    background-size:cover;

    background-position:center;

    position:relative;

    display:flex;

    align-items:center;

    overflow:hidden;

}

.why-overlay{

    position:absolute;

    inset:0;

    background:rgba(7,26,47,.72);

}

.why-overlay:before{

    content:"";

    position:absolute;

    inset:0;

    background:linear-gradient(
        90deg,
        rgba(7,26,47,.92) 0%,
        rgba(7,26,47,.70) 45%,
        rgba(7,26,47,.55) 100%
    );

}

.why-right-content{

    position:relative;

    z-index:2;

    max-width:720px;

    padding:90px 90px;

    color:#fff;

}

.why-right h2{

    font-size:42px;

    line-height:1.1;

    margin:0;

    color:#fff;

}

.why-right .why-content{

    color:#fff;

}

.why-right .why-content p{

    color:#fff;

}


/* ==========================================
Responsive
========================================== */

@media(max-width:1200px){

.why-left h2,
.why-right h2{

    font-size:48px;

}

}

@media(max-width:991px){

.why-section{

    flex-direction:column;

}

.why-left,
.why-right{

    width:100%;

}

.why-inner,
.why-right-content{

    padding:60px 35px;

}

.why-right{

    min-height:550px;

}

.benefits-grid{

    grid-template-columns:1fr;

}

}

@media(max-width:767px){

.why-left h2,
.why-right h2{

    font-size:36px;

}

.why-content{

    font-size:17px;

}
section.service-hero {
    padding: 20px;
    display: inline-block;
}
.hero-left h1 {font-size:32px;}
.hero-right {
   width:100%;
   margin-top:20px;
}
.hero-left {width: 100%;background: transparent;}
.cta-grid {
    display: inline-block;
}
.cta-content {
    display: inline-block;
    margin-bottom: 30px;
}
.cta-buttons {
    display: inline;
}
.cta-icon img {
    width: 60px;
}
}