/* ================================================
   Recent Projects — Akhanddeep Solar Solution
   ================================================ */

/* ── HERO ── */
.rp-hero {
    position: relative;
    min-height: 480px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0f2318 0%, #1a4a2e 60%, #2d6a4f 100%);
    overflow: hidden;
    padding: 120px 0 80px;
}

.rp-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(76,175,80,.18) 0%, transparent 55%),
        radial-gradient(circle at 80% 20%, rgba(255,255,255,.04) 0%, transparent 50%);
}

.rp-hero-overlay {
    position: absolute; inset: 0;
    background: url('../images/footer-bg.svg') center / cover no-repeat;
    opacity: .06;
}

.rp-hero-content { position: relative; z-index: 2; }

.rp-hero-label {
    display: inline-block;
    background: rgba(76,175,80,.2);
    border: 1px solid rgba(76,175,80,.5);
    color: #81c784;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 5px 16px;
    border-radius: 50px;
    margin-bottom: 18px;
    font-family: 'Rajdhani', sans-serif;
}

.rp-hero-title {
    font-family: 'Rajdhani', sans-serif;
    font-size: 62px;
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 18px;
}
.rp-hero-title span { color: #4caf50; }

.rp-hero-sub {
    font-size: 17px;
    color: rgba(255,255,255,.72);
    max-width: 560px;
    line-height: 1.7;
    margin-bottom: 26px;
}

.rp-breadcrumb { background: transparent; padding: 0; margin: 0; }
.rp-breadcrumb .breadcrumb-item a,
.rp-breadcrumb .breadcrumb-item { color: rgba(255,255,255,.6); font-size: 14px; }
.rp-breadcrumb .breadcrumb-item.active { color: #4caf50; }

.rp-scroll-hint {
    position: absolute;
    bottom: 28px; left: 50%;
    transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 4px;
}
.rp-scroll-hint span {
    display: block; width: 2px; height: 8px;
    background: rgba(255,255,255,.3); border-radius: 2px;
    animation: scrollBounce 1.2s infinite ease-in-out;
}
.rp-scroll-hint span:nth-child(2) { animation-delay: .15s; }
.rp-scroll-hint span:nth-child(3) { animation-delay: .3s; }
@keyframes scrollBounce {
    0%, 100% { opacity: .3; transform: scaleY(1); }
    50%       { opacity: 1;  transform: scaleY(1.6); }
}

/* ── STATS ── */
.rp-stats {
    background: #fff;
    padding: 0;
    box-shadow: 0 4px 30px rgba(0,0,0,.08);
    position: relative; z-index: 3;
}
.rp-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}
.rp-stat {
    padding: 36px 20px;
    text-align: center;
    border-right: 1px solid #eee;
    transition: background .3s;
}
.rp-stat:last-child { border-right: none; }
.rp-stat:hover { background: #f6fbf6; }
.rp-stat > i {
    font-size: 28px;
    color: #4caf50;
    display: block;
    margin-bottom: 10px;
}
.rp-stat > strong {
    display: block;
    font-family: 'Rajdhani', sans-serif;
    font-size: 40px;
    font-weight: 700;
    color: #1a3c2e;
    line-height: 1;
}
.rp-stat > strong span { font-size: 22px; color: #4caf50; }
.rp-stat > span { font-size: 13px; color: #888; margin-top: 6px; display: block; }

/* ── CATEGORY NAV ── */
.rp-cats { padding: 70px 0 10px; background: #f4f8f4; }
.rp-cats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}
.rp-cat-card {
    background: #fff;
    border-radius: 18px;
    padding: 32px 24px 28px;
    text-decoration: none;
    color: inherit;
    border: 2px solid transparent;
    box-shadow: 0 4px 18px rgba(0,0,0,.06);
    transition: all .3s ease;
    display: block;
}
.rp-cat-card:hover {
    border-color: #4caf50;
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(76,175,80,.18);
    color: inherit;
    text-decoration: none;
}
.rp-cat-icon {
    width: 58px; height: 58px; border-radius: 14px;
    background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 18px;
}
.rp-cat-icon i { font-size: 24px; color: #2e7d32; }
.rp-cat-card h3 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 20px; font-weight: 700; color: #1a3c2e;
    margin-bottom: 6px;
}
.rp-cat-card p { font-size: 13px; color: #777; line-height: 1.5; margin-bottom: 14px; }
.rp-cat-count {
    display: inline-block;
    background: #e8f5e9;
    color: #2e7d32;
    font-size: 12px; font-weight: 700;
    padding: 3px 12px; border-radius: 50px;
    font-family: 'Rajdhani', sans-serif;
}

/* ── SECTIONS ── */
.rp-section { padding: 80px 0; background: #fff; }
.rp-section--alt { background: #f4f8f4; }

.rp-section-head {
    display: flex; align-items: flex-start; gap: 20px;
    margin-bottom: 46px;
}
.rp-section-icon {
    flex-shrink: 0;
    width: 62px; height: 62px; border-radius: 16px;
    background: linear-gradient(135deg, #4caf50, #2e7d32);
    display: flex; align-items: center; justify-content: center;
}
.rp-section-icon i { font-size: 26px; color: #fff; }
.rp-section-head h2 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 36px; font-weight: 700; color: #1a3c2e;
    margin-bottom: 8px;
}
.rp-section-head p { font-size: 15px; color: #666; line-height: 1.7; margin: 0; }

/* ── MASONRY GRID (Earthing) ── */
.rp-masonry {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 220px;
    gap: 14px;
    margin-bottom: 36px;
}
.rp-photo {
    position: relative; overflow: hidden;
    border-radius: 14px; cursor: pointer;
}
.rp-photo--tall  { grid-row: span 2; }
.rp-photo--wide  { grid-column: span 2; }

.rp-photo img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
    display: block;
}
.rp-photo:hover img { transform: scale(1.07); }

.rp-photo-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(26,60,46,0) 40%, rgba(26,60,46,.88) 100%);
    opacity: 0;
    transition: opacity .3s ease;
    display: flex; flex-direction: column;
    align-items: center; justify-content: flex-end;
    padding-bottom: 18px; gap: 8px;
}
.rp-photo:hover .rp-photo-overlay { opacity: 1; }
.rp-photo-overlay i { font-size: 22px; color: #4caf50; }
.rp-photo-overlay span { font-size: 13px; color: #fff; font-weight: 600; font-family: 'Rajdhani', sans-serif; }

/* ── SHOWCASE (Wiring) ── */
.rp-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 36px;
}
.rp-showcase-card {
    position: relative; border-radius: 18px;
    overflow: hidden; cursor: pointer;
    box-shadow: 0 6px 24px rgba(0,0,0,.1);
}
.rp-showcase-card img {
    width: 100%; height: 320px;
    object-fit: cover;
    transition: transform .5s ease;
    display: block;
}
.rp-showcase-card:hover img { transform: scale(1.05); }
.rp-showcase-info {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(0deg, rgba(10,30,18,.95) 0%, rgba(10,30,18,.5) 70%, transparent 100%);
    padding: 28px 24px 22px;
    transform: translateY(20px);
    transition: transform .35s ease;
}
.rp-showcase-card:hover .rp-showcase-info { transform: translateY(0); }
.rp-showcase-info h4 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 20px; font-weight: 700; color: #fff;
    margin-bottom: 6px;
}
.rp-showcase-info p { font-size: 13px; color: rgba(255,255,255,.8); margin-bottom: 12px; }
.rp-showcase-expand {
    font-size: 13px; color: #4caf50; font-weight: 600;
    font-family: 'Rajdhani', sans-serif;
    display: flex; align-items: center; gap: 6px;
}

/* ── FEATURE (Installation) ── */
.rp-feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 36px;
}
.rp-feature-img {
    position: relative; border-radius: 18px;
    overflow: hidden; cursor: pointer;
    box-shadow: 0 10px 36px rgba(0,0,0,.15);
}
.rp-feature-img img {
    width: 100%; height: 380px; object-fit: cover;
    display: block; transition: transform .5s ease;
}
.rp-feature-img:hover img { transform: scale(1.05); }
.rp-feature-zoom {
    position: absolute; top: 16px; right: 16px;
    width: 44px; height: 44px; border-radius: 50%;
    background: rgba(76,175,80,.9);
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 16px;
    opacity: 0; transition: opacity .3s;
}
.rp-feature-img:hover .rp-feature-zoom { opacity: 1; }

.rp-feature-info h3 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 32px; font-weight: 700; color: #1a3c2e;
    margin-bottom: 14px;
}
.rp-feature-info > p { font-size: 15px; color: #666; line-height: 1.7; margin-bottom: 22px; }

.rp-feature-list { list-style: none; padding: 0; margin: 0 0 24px; }
.rp-feature-list li {
    display: flex; align-items: center; gap: 10px;
    font-size: 15px; color: #444; margin-bottom: 10px;
}
.rp-feature-list i { color: #4caf50; font-size: 14px; }

.rp-feature-meta {
    display: flex; flex-wrap: wrap; gap: 16px;
    font-size: 13px; color: #777;
}
.rp-feature-meta span {
    display: flex; align-items: center; gap: 6px;
}
.rp-feature-meta i { color: #4caf50; }

/* ── TAG ── */
.rp-tag {
    display: inline-block;
    background: #4caf50; color: #fff;
    font-size: 11px; font-weight: 700;
    padding: 3px 12px; border-radius: 50px;
    text-transform: uppercase; letter-spacing: 1px;
    font-family: 'Rajdhani', sans-serif;
    margin-bottom: 10px;
}

/* ── CALLOUT ── */
.rp-callout {
    display: flex; align-items: flex-start; gap: 16px;
    background: #e8f5e9;
    border-left: 4px solid #4caf50;
    border-radius: 10px;
    padding: 20px 24px;
    font-size: 14px; color: #444; line-height: 1.6;
}
.rp-callout > i { font-size: 22px; color: #4caf50; flex-shrink: 0; margin-top: 2px; }
.rp-callout strong { display: block; color: #1a3c2e; margin-bottom: 4px; font-size: 15px; }

/* ── VIDEOS GRID ── */
.rp-videos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 0;
}
.rp-video-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,.08);
    transition: transform .3s, box-shadow .3s;
}
.rp-video-card:hover { transform: translateY(-6px); box-shadow: 0 14px 36px rgba(76,175,80,.18); }

.rp-video-thumb {
    position: relative;
    height: 240px;
    overflow: hidden;
    background: #111;
    cursor: pointer;
}
.rp-video-thumb video {
    width: 100%; height: 100%;
    object-fit: cover;
    pointer-events: none;
    display: block;
}
.rp-play-btn {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    background: rgba(0,0,0,.35);
    transition: background .3s;
}
.rp-play-btn:hover { background: rgba(0,0,0,.2); }
.rp-play-btn i {
    width: 64px; height: 64px; border-radius: 50%;
    background: rgba(76,175,80,.92);
    color: #fff; font-size: 22px;
    display: flex; align-items: center; justify-content: center;
    padding-left: 4px;
    box-shadow: 0 4px 20px rgba(0,0,0,.35);
    transition: transform .3s;
}
.rp-play-btn:hover i { transform: scale(1.12); }

.rp-vid-badge {
    position: absolute; top: 12px; left: 12px;
    background: rgba(26,60,46,.85);
    color: #81c784; font-size: 11px; font-weight: 700;
    padding: 4px 12px; border-radius: 50px;
    font-family: 'Rajdhani', sans-serif;
    letter-spacing: .5px;
}
.rp-video-info { padding: 18px 20px 20px; }
.rp-video-info h4 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 18px; font-weight: 700; color: #1a3c2e;
    margin-bottom: 5px;
}
.rp-video-info p { font-size: 13px; color: #888; margin: 0; }

/* ── CTA STRIP ── */
.rp-cta {
    background: linear-gradient(135deg, #1a3c2e, #2e7d32);
    padding: 64px 0;
}
.rp-cta-inner {
    display: flex; align-items: center;
    justify-content: space-between; gap: 30px;
    flex-wrap: wrap;
}
.rp-cta-text h2 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 34px; font-weight: 700; color: #fff; margin-bottom: 8px;
}
.rp-cta-text p { font-size: 16px; color: rgba(255,255,255,.75); margin: 0; }
.rp-cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.rp-btn-primary {
    display: inline-block;
    background: #4caf50; color: #fff;
    padding: 14px 36px; border-radius: 50px;
    font-family: 'Rajdhani', sans-serif;
    font-size: 16px; font-weight: 700;
    text-decoration: none; letter-spacing: .5px;
    transition: all .3s ease;
    box-shadow: 0 6px 20px rgba(0,0,0,.2);
}
.rp-btn-primary:hover {
    background: #388e3c; color: #fff;
    transform: translateY(-3px);
}
.rp-btn-outline {
    display: inline-flex; align-items: center; gap: 8px;
    border: 2px solid rgba(255,255,255,.55); color: #fff;
    padding: 13px 28px; border-radius: 50px;
    font-family: 'Rajdhani', sans-serif;
    font-size: 16px; font-weight: 600;
    text-decoration: none;
    transition: all .3s ease;
}
.rp-btn-outline:hover {
    background: rgba(255,255,255,.12);
    border-color: #fff; color: #fff;
}

/* ── LIGHTBOX ── */
.rp-lightbox {
    display: none; position: fixed; inset: 0;
    background: rgba(0,0,0,.93); z-index: 9999;
    justify-content: center; align-items: center;
    padding: 20px;
}
.rp-lightbox.open { display: flex; }
.rp-lightbox-inner {
    position: relative; max-width: 960px; width: 100%;
    animation: lbIn .3s ease;
}
@keyframes lbIn {
    from { opacity:0; transform: scale(.9); }
    to   { opacity:1; transform: scale(1); }
}
.rp-lightbox-inner img {
    width: 100%; border-radius: 12px;
    max-height: 82vh; object-fit: contain; display: block;
}
.rp-lb-close {
    position: absolute; top: -18px; right: -18px;
    width: 42px; height: 42px; border-radius: 50%;
    background: #4caf50; color: #fff; border: none;
    font-size: 20px; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background .2s;
}
.rp-lb-close:hover { background: #e53935; }
.rp-lb-caption {
    text-align: center;
    color: rgba(255,255,255,.8);
    font-size: 14px; margin-top: 14px;
}

/* ── RESPONSIVE ── */
@media (max-width: 1199px) {
    .rp-hero-title { font-size: 48px; }
    .rp-cats-grid { grid-template-columns: repeat(2, 1fr); }
    .rp-stats-grid { grid-template-columns: repeat(2, 1fr); }
    .rp-stat { border-bottom: 1px solid #eee; }
}
@media (max-width: 991px) {
    .rp-masonry { grid-template-columns: repeat(2, 1fr); }
    .rp-photo--tall { grid-row: span 1; }
    .rp-feature { grid-template-columns: 1fr; }
    .rp-feature-img img { height: 280px; }
    .rp-showcase { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .rp-hero-title { font-size: 36px; }
    .rp-cats-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
    .rp-videos-grid { grid-template-columns: 1fr; }
    .rp-cta-inner { flex-direction: column; text-align: center; }
    .rp-cta-actions { justify-content: center; }
}
@media (max-width: 576px) {
    .rp-hero { padding: 100px 0 60px; }
    .rp-hero-title { font-size: 30px; }
    .rp-masonry { grid-template-columns: 1fr; grid-auto-rows: 200px; }
    .rp-photo--wide { grid-column: span 1; }
    .rp-stats-grid { grid-template-columns: 1fr 1fr; }
    .rp-cats-grid { grid-template-columns: 1fr; }
    .rp-section-head { flex-direction: column; }
    .rp-feature-img img { height: 220px; }
}
