/* =======================================================
   RESIDENTIAL PAVING HERO SECTION
   PREMIUM MODERN UI STYLE
========================================================= */

.residential-paving-hero-section{
    position:relative;
    min-height:220px;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:80px 20px;
    background-size:cover;
    background-position:center;
    overflow:hidden;
}

/* =========================================
   OVERLAY
========================================= */

.residential-paving-hero-overlay{
    position:absolute;
    inset:0;
    background:
        linear-gradient(rgba(0,0,0,0.55),
        rgba(0,0,0,0.55)),
        url('../images/ebony-black-carousel-far.webp') center/cover no-repeat;
    backdrop-filter:blur(5px);
    z-index:1;
}

/* =========================================
   CONTAINER
========================================= */

.residential-paving-hero-container{
    width:100%;
    max-width:1200px;
    margin:auto;
    position:relative;
    z-index:2;
}

/* =========================================
   CONTENT
========================================= */

.residential-paving-hero-content{
    text-align:center;
    color:#ffffff;
    animation:residentialPavingHeroFadeUp 1s ease forwards;
    opacity:0;
}

/* =========================================
   TITLE
========================================= */

.residential-paving-hero-title{
    font-family:'Orbitron',sans-serif;
    font-size:46px;
    font-weight:900;
    text-transform:uppercase;
    margin-bottom:20px;
    line-height:1.3;
    letter-spacing:.5px;
    text-shadow:0 4px 20px rgba(0,0,0,0.35);
}

/* =========================================
   DIVIDER
========================================= */

.residential-paving-hero-divider{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:12px;
}

/* =========================================
   LINE
========================================= */

.residential-paving-hero-line{
    width:160px;
    height:14px;
    border-radius:20px;
    background:#ffffff;
    opacity:.7;
    position:relative;
    overflow:hidden;
}

.residential-paving-hero-line::before{
    content:"";
    position:absolute;
    inset:0;
    background:#CE0F2C;
    animation:residentialPavingLineMove 2s linear infinite;
}

/* =========================================
   ICON
========================================= */

.residential-paving-hero-icon{
    width:18px;
    height:18px;
    display:flex;
    animation:residentialPavingHeroPulse 2s ease infinite;
}

.residential-paving-hero-icon svg{
    fill:#CE0F2C;
    width:100%;
    height:100%;
    filter:drop-shadow(0 0 10px rgba(206,15,44,0.5));
}

/* =========================================
   ANIMATIONS
========================================= */

@keyframes residentialPavingHeroFadeUp{

    from{
        transform:translateY(40px);
        opacity:0;
    }

    to{
        transform:translateY(0);
        opacity:1;
    }

}

@keyframes residentialPavingLineMove{

    0%{
        transform:translateX(-100%);
    }

    100%{
        transform:translateX(100%);
    }

}

@keyframes residentialPavingHeroPulse{

    0%,100%{
        transform:scale(1);
    }

    50%{
        transform:scale(1.2);
    }

}

/* =========================================
   RESPONSIVE
========================================= */

@media (max-width:768px){

    .residential-paving-hero-title{
        font-size:28px;
    }

    .residential-paving-hero-section{
        padding:60px 15px;
    }

    .residential-paving-hero-line{
        width:70px;
    }

}

@media (max-width:480px){

    .residential-paving-hero-title{
        font-size:24px;
        line-height:1.4;
    }

    .residential-paving-hero-line{
        width:40px;
    }

    .residential-paving-hero-divider{
        gap:8px;
    }

}


/* =========================================
   RESIDENTIAL ROAD PAVING INTRO STYLE
========================================= */

.residential-paving-intro-section{
    position:relative;
    padding:clamp(10px,8vw,15px) 20px;    
    overflow:hidden;
}

/* Background Layer */
.residential-paving-intro-section::before{
    content:"";
    position:absolute;
    inset:0;
    background: var(--paving-bg) center/cover no-repeat;
    filter: blur(2px);
    transform: scale(1.05); /* blur edge fix */
    z-index:-2;
}

/* Overlay (optional but recommended) */
.residential-paving-intro-section::after{
    content:"";
    position:absolute;
    inset:0;
    background: rgba(255,255,255,0.85);
    z-index:-1;
}

.residential-paving-intro-container{
    position:relative;
    z-index:2;
    max-width:1200px;
    margin:0 auto;
    display:grid;
    grid-template-columns:1.4fr .6fr;
    gap:clamp(40px,6vw,80px);

    align-items:flex-start; /* 🔥 CHANGED (was center) */
}

/* =========================================
   LEFT CONTENT
========================================= */

.residential-paving-intro-content{
    display:flex;
    flex-direction:column;
    justify-content:flex-start; /* 🔥 CHANGED (was center) */
}

.residential-paving-intro-content h2{
    color:#CE0F2C;
    font-size:clamp(30px,4vw,46px);
    font-weight:700;
    margin-bottom:15px;
    margin-top:5px; /* 🔥 ADD (ensure top align) */
    border-left:6px solid #CE0F2C;
    padding-left:18px;
    line-height:1.15;
}

.residential-paving-intro-content p{
    color:rgba(17,17,17,0.92);
    font-size:1.05rem;
    font-family: calibri;
    font-weight:500;
    line-height:1.75;
    margin-bottom:18px;
}

.residential-paving-intro-content p a {
    text-decoration: none;
    color: #CE0F2C;
}

/* =========================================
   FORM BOX
========================================= */

.residential-paving-intro-form-box{
    background:#fff;
    width:100%;
    max-width:460px;
    margin-left:auto;
    padding:30px;
    border-radius:16px;
    box-shadow:0 25px 60px rgba(0,0,0,.25);
    display:flex;
    flex-direction:column;
    justify-content:flex-start;
    height:auto;
    transition:.3s ease;
}

.residential-paving-intro-form-box:hover{
    transform:translateY(-4px);
    box-shadow:0 30px 70px rgba(0,0,0,.35);
}

.residential-paving-intro-form-title{
    background:#000;
    border:5px solid #CE0F2C;
    color:#fff;
    padding:14px;
    font-size:1.2rem;
    font-weight:600;
    text-align:center;
    margin:0 0 18px 0;
    border-radius:8px;
}

/* =========================================
   CTA BUTTON
========================================= */

.residential-paving-intro-cta-wrapper{
    margin-top:28px;
}

.residential-paving-intro-cta-button{
    display: inline-block;
    padding: 14px 32px;
    background: #CE0F2C;
    color: #fff;
    font-weight: 700;
    font-size: 18px;
    border-radius: 50px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease;
    letter-spacing: .5px;
    cursor: pointer;
    z-index: 1;

    opacity: 0;
    transform: translateY(15px);
    animation: fadeInUp 0.7s ease-out forwards;
}

.residential-paving-intro-cta-button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    height: 100%;
    width: 100%;
    background: rgba(255,255,255,0.25);
    transform: skewX(-20deg);
    transition: .5s;
}

.residential-paving-intro-cta-button:hover::before {
    left: 120%;
}

.residential-paving-intro-cta-button:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 12px 28px rgba(206,15,44,0.4);
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================
   CONTACT FORM 7 FIX
========================================= */

.wpcf7-form p{
    margin:0;
    padding:0;
}

.wpcf7-form br{
    display:none;
}

.quote-form{
    display:flex;
    flex-direction:column;
    gap:12px;
}

.quote-form label{
    display:block;
    padding-bottom: 5px;
    width:100%;
}

.quote-form input,
.quote-form select,
.quote-form textarea{
    width:100%;
    padding:12px 14px;
    border:1px solid #ddd;
    border-radius:8px;
    font-size:.95rem;
    transition:.3s ease;
    background:#fff;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus{
    border-color:#CE0F2C;
    box-shadow:0 0 0 3px rgba(206,15,44,.15);
    outline:none;
}

.quote-form textarea{
    height:110px;
    resize:none;
}

.quote-form input[type="submit"]{
    background:#CE0F2C;
    color:#fff;
    border:none;
    padding:13px;
    font-size:.98rem;
    font-weight:600;
    border-radius:50px;
    cursor:pointer;
    transition:.3s ease;
}

.quote-form input[type="submit"]:hover{
    background:#000;
}

/* =========================================
   RESPONSIVE (FIXED + IMPROVED)
========================================= */

/* ✅ Large tablets / small laptops */
@media (max-width:1024px){

    .residential-paving-intro-container{
        grid-template-columns:1fr; /* 🔥 stack layout */
        gap:40px;
    }

    .residential-paving-intro-form-box{
        max-width:600px;
        margin:0 auto;
    }

    .residential-paving-intro-content{
        text-align:center;
        align-items:center;
    }

    .residential-paving-intro-content h2{
        border-left:none;
        padding-left:0;
    }
}


/* ✅ Tablets */
@media (max-width:768px){

    .residential-paving-intro-section{
        padding:40px 15px;
    }

    .residential-paving-intro-container{
        gap:30px;
    }

    .residential-paving-intro-content h2{
        font-size:clamp(26px, 5vw, 36px);
    }

    .residential-paving-intro-content p{
        font-size:0.95rem;
    }

    .residential-paving-intro-form-box{
        padding:24px;
    }

    .residential-paving-intro-cta-wrapper{
        text-align:center;
    }
}


/* ✅ Mobile devices */
@media (max-width:576px){

    .residential-paving-intro-section{
        padding:30px 12px;
    }

    .residential-paving-intro-container{
        gap:24px;
    }

    .residential-paving-intro-content h2{
        font-size:24px;
        line-height:1.3;
    }

    .residential-paving-intro-content p{
        font-size:0.9rem;
        line-height:1.6;
    }

    .residential-paving-intro-form-box{
        padding:20px;
        border-radius:14px;
    }

    .residential-paving-intro-form-title{
        font-size:1rem;
        padding:10px;
    }

    .quote-form input,
    .quote-form select,
    .quote-form textarea{
        font-size:0.9rem;
        padding:10px 12px;
    }

    .quote-form textarea{
        height:90px;
    }

    .quote-form input[type="submit"]{
        padding:12px;
        font-size:0.95rem;
    }

    .residential-paving-intro-cta-button{
        font-size:16px;
        padding:12px 24px;
    }
}


/* ✅ Extra small devices */
@media (max-width:400px){

    .residential-paving-intro-content h2{
        font-size:22px;
    }

    .residential-paving-intro-form-box{
        padding:16px;
    }

    .residential-paving-intro-cta-button{
        width:100%;
        text-align:center;
    }
}



/* =========================================
   RESIDENTIAL PAVE NY SECTION
========================================= */

:root{    
    --residential-orange:#CE0F2C;
    --residential-orange-light:#ffffff;
    --residential-white:#ffffff;
    --residential-muted:#c7c7c7;
    --residential-border:rgba(255,255,255,.08);
    --residential-glass:rgba(255,255,255,.05);
}

/* SECTION */

.residential-pave-ny-section{
    position:relative;
    overflow:hidden;

    padding:
    clamp(80px,10vw,50px)
    20px;

    background:
    linear-gradient(rgba(0,0,0,.82), rgba(0,0,0,.92)),
    url('../images/residential-road-paving.webp')
    center center/cover no-repeat;

    clip-path:polygon(
        0 0,
        100% 0,
        100% 96%,
        0 100%
    );
}

/* OVERLAY */

.residential-road-overlay{
    position:absolute;
    inset:0;

    background:
    radial-gradient(
        circle at top left,
        rgba(255,140,26,.12),
        transparent 28%
    ),

    radial-gradient(
        circle at bottom right,
        rgba(255,140,26,.10),
        transparent 30%
    );
}

/* GRID */

.residential-road-grid{
    position:absolute;
    inset:0;

    background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);

    background-size:70px 70px;

    opacity:.18;
}

/* NOISE */

.residential-road-noise{
    position:absolute;
    inset:0;

    background-image:url("images/noise-texture.webp");

    opacity:.04;

    mix-blend-mode:overlay;
}

/* GLOW */

.residential-road-glow{
    position:absolute;
    border-radius:50%;
    filter:blur(110px);

    animation:glowFloat 7s ease-in-out infinite;
}

.glow-left{
    width:320px;
    height:320px;

    background:rgba(255,140,26,.14);

    left:-100px;
    top:-100px;
}

.glow-right{
    width:340px;
    height:340px;

    background:rgba(255,140,26,.10);

    right:-120px;
    bottom:-120px;
}

@keyframes glowFloat{

    0%{
        transform:translateY(0);
    }

    50%{
        transform:translateY(-20px);
    }

    100%{
        transform:translateY(0);
    }

}

/* CONTAINER */

.residential-pave-ny-container{
    position:relative;
    z-index:3;

    width:min(1320px,100%);
    margin:auto;

    display:grid;
    grid-template-columns:1fr 1fr;
    gap:70px;
    align-items:center;
}

/* LEFT */

.residential-pave-content{
    position:relative;
}

/* BADGE */

.residential-section-badge{
    display:inline-flex;

    padding:10px 18px;

    border-radius:100px;

    background:
    rgba(255,140,26,.08);

    border:
    1px solid rgba(255,140,26,.22);

    color:var(--residential-orange-light);

    font-size:.8rem;
    font-weight:700;
    letter-spacing:2px;

    margin-bottom:24px;
}

/* TITLE */

.residential-pave-content h2{
    color:var(--residential-white);

    font-size:clamp(2.5rem,5vw,5rem);

    line-height:1.05;

    margin-bottom:28px;

    font-weight:900;

    letter-spacing:-2px;
}

.residential-pave-content h2 span{
    color:var(--residential-orange);
}

/* TEXT */

.residential-main-text{
    color:var(--residential-muted);

    line-height:1.9;

    margin-bottom:22px;

    font-size:1.03rem;

    max-width:720px;
}

/* INFO CARDS */

.residential-info-card{
    position:relative;

    display:flex;
    gap:24px;

    margin-top:24px;

    padding:30px;

    border-radius:30px;

    background:var(--residential-glass);

    border:1px solid var(--residential-border);

    backdrop-filter:blur(18px);

    overflow:hidden;

    transition:.45s ease;

    box-shadow:
    0 18px 50px rgba(0,0,0,.35),
    inset 0 1px 0 rgba(255,255,255,.04);
}

/* SHINE EFFECT */

.residential-info-card::before{
    content:"";

    position:absolute;

    top:0;
    left:-100%;

    width:100%;
    height:100%;

    background:
    linear-gradient(
        120deg,
        transparent,
        rgba(255,255,255,.08),
        transparent
    );

    transition:.8s ease;
}

.residential-info-card:hover::before{
    left:100%;
}

/* HOVER */

.residential-info-card:hover{
    transform:
    translateY(-8px);

    border-color:
    rgba(255,140,26,.35);
}

/* NUMBER */

.residential-card-number{
    min-width:65px;
    height:65px;

    display:flex;
    align-items:center;
    justify-content:center;

    border-radius:20px;

    background:
    linear-gradient(
        145deg,
        rgba(255,140,26,.18),
        rgba(255,140,26,.04)
    );

    border:
    1px solid rgba(255,140,26,.22);

    color:var(--residential-orange);

    font-weight:800;
    font-size:1.2rem;
}

/* CARD CONTENT */

.residential-info-content h3{
    color:#fff;

    font-size:1.4rem;

    margin-bottom:14px;
}

.residential-info-content p{
    color:var(--residential-muted);

    line-height:1.8;
}

/* RIGHT SIDE */

.residential-gallery-side{
    position:relative;
}

/* FLOATING STATS */

.residential-floating-stat{
    position:absolute;

    z-index:4;

    padding:18px 24px;

    border-radius:22px;

    background:
    rgba(255,255,255,.06);

    backdrop-filter:blur(16px);

    border:
    1px solid rgba(255,255,255,.08);

    box-shadow:
    0 15px 35px rgba(0,0,0,.3);
}

.residential-floating-stat strong{
    display:block;

    color:var(--residential-orange);

    font-size:1.8rem;

    margin-bottom:6px;
}

.residential-floating-stat span{
    color:#fff;

    font-size:.9rem;
}

.stat-one{
    top:-25px;
    left:-20px;
}

.stat-two{
    right:-20px;
    bottom:140px;
}

/* BENTO GRID */

.residential-bento-gallery{
    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:24px;
}

/* GALLERY ITEM */

.residential-gallery-item{
    position:relative;

    overflow:hidden;

    border-radius:34px;

    border:1px solid rgba(255,255,255,.08);

    min-height:280px;

    background:#111;

    box-shadow:
    0 25px 60px rgba(0,0,0,.4);

    transition:.45s ease;
}

.large-item{
    grid-row:span 2;

    min-height:620px;
}

.wide-item{
    grid-column:span 2;

    min-height:280px;
}

/* IMAGE */

.residential-gallery-item img{
    width:100%;
    height:100%;

    object-fit:cover;

    display:block;

    transition:transform .8s ease;
}

.residential-gallery-item:hover img{
    transform:scale(1.08);
}

/* OVERLAY */

.residential-image-overlay{
    position:absolute;
    inset:0;

    display:flex;
    flex-direction:column;
    justify-content:flex-end;

    padding:34px;

    background:
    linear-gradient(
        to top,
        rgba(0,0,0,.82),
        rgba(0,0,0,.18),
        transparent
    );
}

.residential-image-overlay span{
    display:inline-flex;

    width:max-content;

    padding:9px 15px;

    border-radius:100px;

    background:
    rgba(255,140,26,.16);

    border:
    1px solid rgba(255,140,26,.2);

    color:var(--residential-orange-light);

    font-size:.78rem;
    font-weight:700;

    margin-bottom:16px;

    backdrop-filter:blur(10px);
}

.residential-image-overlay h4{
    color:#fff;

    font-size:clamp(1.2rem,2vw,2rem);

    line-height:1.4;

    max-width:500px;
}

/* CTA DOCK */

.residential-cta-dock{
    margin-top:32px;

    display:flex;
    gap:18px;

    padding:18px;

    border-radius:28px;

    background:
    rgba(255,255,255,.05);

    backdrop-filter:blur(18px);

    border:
    1px solid rgba(255,255,255,.08);
}

/* =========================================
   RESIDENTIAL CTA BUTTONS
========================================= */

.residential-btn-primary,
.residential-btn-secondary{

    flex:1;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:10px 10px;
    border-radius:60px;
    position:relative;
    overflow:hidden;
    text-decoration:none;
    font-weight:800;
    font-size:1rem;
    letter-spacing:.5px;
    cursor:pointer;
    isolation:isolate;
    transition:
    transform .35s ease,
    box-shadow .35s ease,
    background .35s ease,
    color .35s ease;

    opacity:0;

    transform:translateY(18px);

    animation:
    residentialButtonFade .7s ease-out forwards;
}

/* =========================================
   PRIMARY BUTTON
========================================= */

.residential-btn-primary{

    background:#CE0F2C;
    color:#fff;
    box-shadow:
    0 14px 34px rgba(206,15,44,.30);
}

/* =========================================
   SECONDARY BUTTON
========================================= */

.residential-btn-secondary{

    background:
    rgba(255,255,255,.05);
    border:
    1px solid rgba(255,255,255,.12);
    backdrop-filter:blur(14px);
    color:#fff;
    animation-delay:.12s;
}

/* =========================================
   SHINE EFFECT
========================================= */

.residential-btn-primary::before,
.residential-btn-secondary::before{

    content:"";
    position:absolute;
    top:0;
    left:-120%;
    width:70%;
    height:100%;
    background:
    linear-gradient(
        120deg,
        transparent,
        rgba(255,255,255,.28),
        transparent
    );

    transform:skewX(-22deg);
    transition:.7s ease;
    z-index:1;
}

/* =========================================
   SHINE HOVER
========================================= */

.residential-btn-primary:hover::before,
.residential-btn-secondary:hover::before{

    left:140%;
}

/* =========================================
   PRIMARY HOVER
========================================= */

.residential-btn-primary:hover{

    transform:
    translateY(-5px)
    scale(1.03);

    box-shadow:
    0 16px 38px rgba(206,15,44,.45);
}

/* =========================================
   SECONDARY HOVER
========================================= */

.residential-btn-secondary:hover{

    background:#fff;
    color:#000;
    transform:
    translateY(-5px)
    scale(1.03);
    box-shadow:
    0 14px 34px rgba(255,255,255,.18);
}

/* =========================================
   ACTIVE EFFECT
========================================= */

.residential-btn-primary:active,
.residential-btn-secondary:active{

    transform:scale(.98);
}

/* =========================================
   BUTTON ANIMATION
========================================= */

@keyframes residentialButtonFade{

    to{

        opacity:1;
        transform:translateY(0);
    }

}

/* RESPONSIVE */

@media (max-width:1100px){

    .residential-pave-ny-container{
        grid-template-columns:1fr;
    }

    .residential-floating-stat{
        display:none;
    }

}

@media (max-width:768px){

    .residential-bento-gallery{
        grid-template-columns:1fr;
    }

    .large-item,
    .wide-item{
        grid-column:auto;
        grid-row:auto;

        min-height:350px;
    }

    .residential-info-card{
        flex-direction:column;
    }

}

@media (max-width:576px){

    .residential-cta-dock{
        flex-direction:column;
    }

    .residential-btn-primary,
    .residential-btn-secondary{
        width:100%;
    }

    .residential-image-overlay{
        padding:24px;
    }

}



:root{
  --rrp-bg:#0b0d10;
  --rrp-card:#111315;
  --rrp-text:#ffffff;
  --rrp-muted:#a7a7a7;
  --rrp-orange:#ce0f2c;
  --rrp-red:#ce0f2c;
}

/* =========================
   SECTION WRAPPER
========================= */
.rrp-projects-section{
  position:relative;
  padding:40px 20px;
  background: radial-gradient(circle at top, #1a1d22 0%, var(--rrp-bg) 60%);
  overflow:hidden;
  font-family:"Inter",sans-serif;
  color:var(--rrp-text);
}

/* NOISE */
.rrp-projects-section::before{
  content:"";
  position:absolute;
  inset:0;
  background-image:url("https://grainy-gradients.vercel.app/noise.svg");
  opacity:0.05;
  pointer-events:none;
}

/* =========================
   CONTAINER
========================= */
.rrp-container{
  max-width:1200px;
  margin:auto;
  position:relative;
  z-index:2;
}

/* =========================
   HEADER
========================= */
.rrp-section-header{
  text-align:center;
  margin-bottom:55px;
}

.rrp-section-header h2{
  font-size:44px;
  letter-spacing:5px;
  text-transform:uppercase;
  font-weight:800;
  margin-bottom:10px;
}

.rrp-section-header p{
  color:var(--rrp-muted);
  font-size:16px;
}

/* =========================
   FILTER BUTTONS
========================= */
.rrp-filters{
  margin-top:25px;
  display:flex;
  justify-content:center;
  gap:12px;
  flex-wrap:wrap;
}

.rrp-filters button{
  padding:10px 18px;
  border-radius:30px;
  border:1px solid rgba(255,255,255,0.1);
  background:rgba(255,255,255,0.05);
  color:#fff;
  cursor:pointer;
  transition:0.4s ease;
  font-size:14px;
}

.rrp-filters button:hover{
  transform:translateY(-2px);
}

.rrp-filters button.active{
  background:linear-gradient(135deg,var(--rrp-orange),var(--rrp-red));
  box-shadow:0 0 22px rgba(255,140,26,0.35);
}

/* =========================
   GRID
========================= */
.rrp-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
}

/* =========================
   CARD
========================= */
.rrp-card{
  position:relative;
  overflow:hidden;
  border-radius:18px;
  background:var(--rrp-card);
  cursor:pointer;
  transition:0.5s ease;
  box-shadow:0 10px 30px rgba(0,0,0,0.45);

  opacity:1;
  transform:scale(1);
  transition:0.4s ease;
}

/* IMAGE */
.rrp-card img{
  width:100%;
  height:280px;
  object-fit:cover;
  transition:0.7s ease;
}

/* OVERLAY */
.rrp-overlay{
  position:absolute;
  inset:0;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  padding:20px;
  background:linear-gradient(to top, rgba(0,0,0,0.85), transparent);
  opacity:0;
  transition:0.5s ease;
  backdrop-filter:blur(8px);
}

.rrp-overlay h3{
  font-size:18px;
  margin-top:8px;
}

/* TAG */
.rrp-tag{
  font-size:12px;
  padding:6px 12px;
  border-radius:20px;
  width:max-content;
  background:rgba(255,140,26,0.12);
  border:1px solid rgba(255,140,26,0.4);
}

/* =========================
   HOVER EFFECTS
========================= */
.rrp-card:hover{
  transform:translateY(-10px);
  box-shadow:0 25px 60px rgba(0,0,0,0.65);
}

.rrp-card:hover img{
  transform:scale(1.1);
}

.rrp-card:hover .rrp-overlay{
  opacity:1;
}

/* GLOW BORDER */
.rrp-card::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius:18px;
  padding:1px;
  background:linear-gradient(120deg,var(--rrp-orange),transparent,var(--rrp-red));
  opacity:0;
  transition:0.5s ease;
}

.rrp-card:hover::after{
  opacity:1;
}

/* =========================
   BLOBS
========================= */
.rrp-blob{
  position:absolute;
  width:320px;
  height:320px;
  filter:blur(140px);
  opacity:0.18;
}

.rrp-blob-1{
  background:var(--rrp-orange);
  top:-100px;
  left:-100px;
}

.rrp-blob-2{
  background:var(--rrp-red);
  bottom:-120px;
  right:-120px;
}

/* =========================
   RESPONSIVE
========================= */
@media(max-width:992px){
  .rrp-grid{
    grid-template-columns:repeat(2,1fr);
  }
  .rrp-section-header h2{
    font-size:34px;
  }
}

@media(max-width:600px){
  .rrp-grid{
    grid-template-columns:1fr;
  }
  .rrp-section-header h2{
    font-size:26px;
    letter-spacing:3px;
  }
  .rrp-card img{
    height:240px;
  }
}




/* =====================================================
RESIDENTIAL ROAD PAVING SERVICE AREA SECTION
===================================================== */

/* ===== SECTION ===== */
.residential-service-area-section {
    padding: clamp(20px, 8vw, 20px) 20px;
    position: relative;
    text-align: center;
    color: #fff;
}

/* Overlay */
.residential-service-area-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, #000000, #CE0F2C);
    z-index: 1;
}

.residential-service-area-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: auto;
}

/* ===== HEADING ===== */
.residential-service-area-gradient-heading {
    font-size: clamp(26px, 4vw, 40px);
    font-weight: 900;
    color: #ffffff;
}

/* underline */
.residential-service-area-gradient-heading::after {
    content: "";
    display: block;
    width: 90px;
    height: 4px;
    margin: 12px auto;
    background: linear-gradient(90deg, #CE0F2C, #a50c23);
}

/* ===== GRID (WITH BACKGROUND IMAGE) ===== */
.residential-service-area-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;

    padding: 30px;
    border-radius: 20px;

    /* 🔥 BACKGROUND IMAGE */
    background:
        linear-gradient(rgba(2,6,23,0.7), rgba(2,6,23,0.85)),
        url('../images/hero-section-image.webp'); /* change image path */

    background-size: cover;
    background-position: center;

    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 25px 80px rgba(0,0,0,0.6);

    overflow: hidden;
}

/* grid overlay */
.residential-service-area-grid::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.2;
    z-index: 0;
}

/* ===== CARD ===== */
.residential-service-area--list {
    position: relative;
    z-index: 1;

    list-style: none;
    padding: 18px;

    border-radius: 14px;
    background: rgba(255,255,255,0.05);

    border: 1px solid rgba(255,255,255,0.08);

    transition: 0.3s;
}

/* Hover */
.residential-service-area--list:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 30px rgba(255,59,59,0.4);
}

/* ===== LINKS ===== */
.residential-service-area--list li {
    margin-bottom: 10px;
}

.residential-service-area--list a {
    display: flex;
    align-items: center;
    gap: 8px;

    color: #fff;
    text-decoration: none;

    padding: 8px;
    border-radius: 6px;
}

/* icon */
.residential-service-area--list a::before {
    content: "✔";
    color: #ff3b3b;
}

/* hover */
.residential-service-area--list a:hover {
    background: rgba(255,255,255,0.08);
    padding-left: 12px;
}



/* =====================================
   RESIDENTIAL CTA SECTION
===================================== */
.residential-cta-section{
    padding:10px;
    background:
        linear-gradient(rgba(0,0,0,0.55),
        rgba(0,0,0,0.55)),
        url('../images/ebony-black-carousel-far.webp') center/cover no-repeat;
    backdrop-filter:blur(5px);
    position:relative;
    overflow:hidden;
}

/* CONTAINER */
.residential-cta-container{
    max-width:1200px;
    margin:auto;
    text-align:center;
    position:relative;
    z-index:2;
}

/* HEADER */
.residential-cta-header h3{
    font-family: 'Anton', sans-serif;    
    font-size:clamp(20px,4vw,38px);
    font-weight:800;    
    color:#fff;
    margin-bottom:25px;
    line-height:1.2;  
}

/* CONTENT BOX */
.residential-cta-content{
    text-align: left;
    background:rgba(255,255,255,0.05);
    backdrop-filter:blur(12px);
    padding:40px 30px;
    border-radius:20px;
    border:1px solid rgba(255,255,255,0.1);
    box-shadow:0 20px 60px rgba(0,0,0,0.3);
}

/* TEXT */
.residential-cta-content p{
    font-size: 18px;
    font-family: calibri;
    color:rgba(255,255,255,0.85);
    line-height:1.7;
    margin-bottom:18px;
}

/* LINKS */
.residential-cta-content a{
    color:#CE0F2C;
    font-weight:600;
    text-decoration:none;
    position:relative;
}

/* underline hover effect */
.residential-cta-content a::after{
    content:"";
    position:absolute;
    left:0;
    bottom:-3px;
    width:0%;
    height:2px;
    background:#ff4d6d;
    transition:0.3s ease;
}

.residential-cta-content a:hover::after{
    width:100%;
}

/* =========================================
   CONTACT BUTTON
========================================= */
.residential-cta-wrapper {
    margin-top: 30px;

    /* ✅ Modern center layout */
    display: flex;
    justify-content: center;
    align-items: center;
}

.residential-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: clamp(12px, 1.5vw, 10px) clamp(25px, 3vw, 30px);
    font-size: clamp(14px, 1.5vw, 16px);
    font-weight: 600;
    border-radius: 50px;
    background: #ce0f2c;
    color: #fff;
    text-decoration: none;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;

    box-shadow: 0 8px 25px rgba(206, 15, 44, 0.4);
}

.residential-cta-button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255,255,255,0.5),
        transparent
    );
    transform: skewX(-25deg);
}

.residential-cta-button:hover::before {
    animation: shine 0.8s ease forwards;
}

@keyframes shine {
    100% {
        left: 125%;
    }
}

.residential-cta-button:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 16px 40px rgba(206, 15, 44, 0.6);
}

.residential-cta-button:active {
    transform: scale(0.97);
}

/* RESPONSIVE */
@media(max-width:600px){
    .residential-cta-section{
        padding:20px 15px;
    }

    .residential-cta-content{
        padding:25px 20px;
    }

    .residential-cta-header h3{
        font-size:26px;
    }
}