/* ============================================
   PORTFOLIO DETAIL PAGE STYLES - PREMIUM UI
   ============================================ */

/* Use the same CSS Variables for Branding Consistency */
:root {
    --primary: #258412;
    --secondary: #1C2A3E;
    --white: #FFFFFF;
    --wd-primary-color: #258412;
    --wd-secondary-color: #1C2A3E;
    --wd-accent-color: #4ECDC4;
    --wd-text-color: #4A5568;
    --wd-heading-color: #2C3E50;
    --wd-background-light: #F8F9FA;
    --wd-background-dark: #1C2A3E;
    --wd-border-radius: 8px;
    --wd-box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* ============================================
   HERO SECTION - PREMIUM DESIGN
   ============================================ */
.portfolio-detail-hero {
    position: relative;
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfeff 50%, #f0fdf4 100%);
    overflow: hidden;
    min-height: 85vh;
    display: flex;
    align-items: center;
}

/* Decorative Background Shapes */
.portfolio-detail-hero::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, rgba(37, 132, 18, 0.08), rgba(78, 205, 196, 0.08));
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
}

.portfolio-detail-hero::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, rgba(78, 205, 196, 0.06), rgba(37, 132, 18, 0.06));
    border-radius: 50%;
    animation: float 15s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(5deg); }
}

/* ============================================
   ELEVATION PARTNER THEME
   ============================================ */
.portfolio-detail-hero.elevation-partner-theme {
    background: linear-gradient(135deg, #f0f9ff 0%, #f0fdf4 50%, #fef3f2 100%);
}

.portfolio-detail-hero.elevation-partner-theme::before {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(16, 185, 129, 0.08));
}

.portfolio-detail-hero.elevation-partner-theme::after {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.06), rgba(251, 146, 60, 0.06));
}

.portfolio-detail-hero .hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.portfolio-detail-hero .hero-text {
    z-index: 2;
}

/* Back Link */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--wd-text-color);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 28px;
    padding: 10px 18px;
    background: var(--white);
    border-radius: 50px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.back-link:hover {
    color: var(--wd-primary-color);
    transform: translateX(-5px);
    box-shadow: 0 4px 15px rgba(37, 132, 18, 0.15);
}

.back-link i {
    transition: transform 0.3s ease;
}

.back-link:hover i {
    transform: translateX(-3px);
}

/* Project Tags */
.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}

.project-tags .tag {
    background: linear-gradient(135deg, rgba(37, 132, 18, 0.1), rgba(78, 205, 196, 0.1));
    color: var(--wd-primary-color);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    border: 1px solid rgba(37, 132, 18, 0.15);
    transition: all 0.3s ease;
}

.project-tags .tag:hover {
    background: var(--wd-primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

/* Hero Title */
.portfolio-detail-hero h1 {
    font-size: 56px;
    font-weight: 700;
    color: var(--wd-heading-color);
    margin-bottom: 16px;
    line-height: 1.15;
    letter-spacing: -1px;
}

.hero-tagline {
    font-size: 22px;
    font-weight: 500;
    background: linear-gradient(90deg, var(--wd-primary-color), var(--wd-accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 24px;
    font-style: normal;
}

.hero-description {
    font-size: 17px;
    color: var(--wd-text-color);
    line-height: 1.8;
    margin-bottom: 36px;
    max-width: 520px;
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-buttons .btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s ease;
    justify-content: center;
}

.hero-buttons .btn-primary {
    background: linear-gradient(90deg, var(--wd-primary-color), var(--wd-accent-color));
    color: var(--white);
    box-shadow: 0 8px 25px rgba(37, 132, 18, 0.3);
}

.hero-buttons .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(37, 132, 18, 0.4);
}

.hero-buttons .btn-outline {
    background: var(--white);
    color: var(--wd-heading-color);
    border: 2px solid #e5e7eb;
}

.hero-buttons .btn-outline:hover {
    border-color: var(--wd-primary-color);
    color: var(--wd-primary-color);
    transform: translateY(-3px);
}

/* Hero Visual - Phone Mockup */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-visual::before {
    content: '';
    position: absolute;
    width: 350px;
    height: 350px;
    background: linear-gradient(135deg, rgba(37, 132, 18, 0.1), rgba(78, 205, 196, 0.15));
    border-radius: 50%;
    z-index: 0;
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.hero-visual .phone-mockup {
    position: relative;
    width: 280px;
    height: 570px;
    background: linear-gradient(145deg, #1f1f1f 0%, #0a0a0a 100%);
    border-radius: 45px;
    padding: 10px;
    box-shadow:
        0 50px 100px rgba(0, 0, 0, 0.25),
        0 0 0 2px rgba(255, 255, 255, 0.1),
        inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    z-index: 1;
}

.hero-visual .phone-mockup::before {
    content: '';
    position: absolute;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    width: 72px;
    height: 22px;
    background: #0a0a0a;
    border-radius: 20px;
    z-index: 3;
}

.hero-visual .phone-mockup::after {
    content: '';
    position: absolute;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 10px;
    background: radial-gradient(circle, #1a3a1a 30%, #0d1f0d 70%);
    border-radius: 50%;
    z-index: 4;
}

.hero-visual .phone-mockup img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 38px;
}

/* Floating Elements */
.hero-visual .float-badge {
    position: absolute;
    background: var(--white);
    padding: 12px 20px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 14px;
    z-index: 5;
    animation: floatBadge 3s ease-in-out infinite;
}

@keyframes floatBadge {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Laptop Mockup Styles */
.hero-visual .laptop-mockup {
    position: relative;
    width: 580px;
    z-index: 1;
}

.laptop-screen {
    position: relative;
    background: linear-gradient(145deg, #2d2d2d 0%, #1a1a1a 100%);
    border-radius: 16px 16px 0 0;
    padding: 8px 8px 0 8px;
    box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.laptop-screen::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    background: radial-gradient(circle, #2a2a2a 40%, #1a1a1a 70%);
    border-radius: 50%;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.5);
}

.laptop-screen-inner {
    background: #ffffff;
    border-radius: 8px 8px 0 0;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    position: relative;
}

.laptop-screen-inner {
    display: flex;
    align-items: flex-start;
}

.laptop-screen-inner img {
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
    object-position: top center;
    display: block;
    flex-shrink: 0;
    animation: smoothScrollLaptopAuto 40s ease-in-out infinite;
}

/* Auto-Height Scroll Animation - Starts Immediately on Page Load */
@keyframes smoothScrollLaptopAuto {
    0% {
        transform: translateY(0);
    }
    37.5% {
        transform: translateY(calc(-100% + var(--laptop-screen-height, 280px)));
    }
    50% {
        transform: translateY(calc(-100% + var(--laptop-screen-height, 280px)));
    }
    87.5% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(0);
    }
}

/* Pause animation on hover */
.hero-visual .laptop-mockup:hover .laptop-screen-inner img {
    animation-play-state: paused;
}

.laptop-base {
    position: relative;
    height: 18px;
    background: linear-gradient(180deg, #3d3d3d 0%, #2a2a2a 50%, #1f1f1f 100%);
    border-radius: 0 0 8px 8px;
    box-shadow:
        0 4px 15px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.laptop-base::before {
    content: '';
    position: absolute;
    top: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 6px;
    background: linear-gradient(180deg, #4a4a4a, #3a3a3a);
    border-radius: 0 0 4px 4px;
}

.laptop-bottom {
    position: relative;
    height: 12px;
    background: linear-gradient(180deg, #1f1f1f, #0f0f0f);
    border-radius: 0 0 12px 12px / 0 0 8px 8px;
    margin: 0 -15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.laptop-bottom::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 40%;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05), transparent);
    border-radius: 2px;
}

/* Floating Tech Badges for Web Dev */
.hero-visual .tech-float {
    position: absolute;
    background: var(--white);
    padding: 10px 16px;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 13px;
    z-index: 5;
    animation: floatBadge 3s ease-in-out infinite;
}

.hero-visual .tech-float i {
    font-size: 18px;
}

.hero-visual .tech-float.html-badge {
    top: 15%;
    left: -20px;
    color: #E34F26;
    animation-delay: 0s;
}

.hero-visual .tech-float.css-badge {
    top: 45%;
    right: 0px;
    color: #1572B6;
    animation-delay: 0.5s;
}

.hero-visual .tech-float.js-badge {
    bottom: 20%;
    left: -10px;
    color: #F7DF1E;
    background: #323330;
    animation-delay: 1s;
}

.hero-visual .tech-float.react-badge {
    bottom: 5%;
    right: -10px;
    color: #61DAFB;
    animation-delay: 1.5s;
}

.hero-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to top, var(--white), transparent);
    z-index: 1;
}

/* ============================================
   SECTION STYLES
   ============================================ */
.section-label {
    display: inline-block;
    background: linear-gradient(90deg, var(--wd-primary-color), var(--wd-accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 16px;
}

/* ============================================
   PROJECT OVERVIEW
   ============================================ */
.project-overview {
    padding: 60px 0;
    background: var(--white);
}

.overview-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 80px;
    align-items: center;
}

.overview-content h2 {
    font-size: 38px;
    font-weight: 700;
    color: var(--wd-heading-color);
    margin-bottom: 28px;
    line-height: 1.25;
}

.overview-content p {
    font-size: 16px;
    color: var(--wd-text-color);
    line-height: 1.85;
    margin-bottom: 18px;
}

.overview-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.stat-card {
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfeff 100%);
    padding: 28px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid rgba(37, 132, 18, 0.08);
    transition: box-shadow 0.4s ease, border-color 0.4s ease;
}

.stat-card:hover {
    box-shadow: 0 8px 25px rgba(37, 132, 18, 0.12);
    border-color: rgba(37, 132, 18, 0.15);
}

.stat-card:hover .stat-icon {
    background: var(--wd-primary-color);
}

.stat-card:hover .stat-icon i {
    color: white;
}

.stat-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: rgba(37, 132, 18, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    transition: background 0.4s ease;
}

.stat-icon i {
    font-size: 24px;
    color: var(--wd-primary-color);
    transition: color 0.4s ease;
}

.stat-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--wd-text-color);
    margin-bottom: 10px;
}

.stat-value {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: var(--wd-heading-color);
}

/* ============================================
   THE CHALLENGE
   ============================================ */
.the-challenge {
    padding: 60px 0;
    background:#fff;
}

.challenge-content h2 {
    font-size: 38px;
    font-weight: 700;
    color: var(--wd-heading-color);
    margin-bottom: 24px;
}

.challenge-content > p {
    font-size: 17px;
    color: var(--wd-text-color);
    line-height: 1.85;
    max-width: 800px;
    margin-bottom: 50px;
}

.pain-points {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.pain-point {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    background: var(--white);
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.pain-point:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    border-color: rgba(37, 132, 18, 0.1);
}

.pain-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    background: linear-gradient(135deg, var(--wd-primary-color), var(--wd-accent-color));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 20px;
}

.pain-point p {
    font-size: 15px;
    color: var(--wd-text-color);
    line-height: 1.7;
    margin: 0;
    padding-top: 4px;
}

/* ============================================
   KEY FEATURES
   ============================================ */
.key-features {
    padding: 60px 0px;
    background: linear-gradient(135deg, rgba(37, 132, 18, 0.05) 0%, rgba(78, 205, 196, 0.08) 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 38px;
    font-weight: 700;
    color: var(--wd-heading-color);
    margin-bottom: 18px;
}

.section-header p {
    font-size: 17px;
    color: var(--wd-text-color);
    max-width: 550px;
    margin: 0 auto;
    line-height: 1.7;
}

.section-header.light h2 {
    color: var(--white);
}

.section-header.light p {
    color: rgba(255, 255, 255, 0.8);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.feature-card {
    background: #fff;
    padding: 36px 28px;
    border-radius: 24px;
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid rgb(0 0 0 / 9%);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--wd-primary-color), var(--wd-accent-color));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    border-color: rgba(37, 132, 18, 0.12);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 62px;
    height: 62px;
    background: linear-gradient(135deg, rgba(37, 132, 18, 0.1) 0%, rgba(76, 175, 80, 0.15) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: var(--wd-primary-color);
    font-size: 24px;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background: linear-gradient(135deg, var(--wd-primary-color), var(--wd-accent-color));
    color: var(--white);
}

.feature-card h3 {
    font-size: 19px;
    font-weight: 700;
    color: var(--wd-heading-color);
    margin-bottom: 14px;
}

.feature-card p {
    font-size: 14px;
    color: var(--wd-text-color);
    line-height: 1.75;
    margin: 0;
}

/* ============================================
   SCREENSHOTS GALLERY - MODERN DESIGN
   ============================================ */
.screenshots-gallery {
    padding: 60px 0;
    background: linear-gradient(180deg, #f0fdf4 0%, #e8f5e9 50%, #f0fdf4 100%);
    overflow: hidden;
    position: relative;
}

.screenshots-gallery::before {
    content: '';
    position: absolute;
    top: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(37, 132, 18, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.screenshots-gallery::after {
    content: '';
    position: absolute;
    bottom: -20%;
    right: -5%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(76, 175, 80, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.screenshots-gallery .section-header {
    position: relative;
    z-index: 2;
}

.screenshots-gallery .section-header .section-label {
    color: var(--wd-primary-color);
}

.screenshots-gallery .section-header h2 {
    color: var(--wd-heading-color);
}

.gallery-wrapper {
    position: relative;
    z-index: 2;
    padding: 40px 0;
}

.gallery-scroll {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    padding: 20px;
}

.screenshot-item {
    position: relative;
    width: 220px;
    height: 450px;
    background: linear-gradient(145deg, #2a2a2a 0%, #1a1a1a 100%);
    border-radius: 32px;
    padding: 10px;
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.screenshot-item:nth-child(2) {
    transform: translateY(-20px);
}

.screenshot-item:nth-child(4) {
    transform: translateY(-20px);
}

.screenshot-item:hover {
    transform: translateY(-10px);
    box-shadow:
        0 40px 80px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.15),
        0 0 30px rgba(37, 132, 18, 0.15);
}

.screenshot-item:nth-child(2):hover,
.screenshot-item:nth-child(4):hover {
    transform: translateY(-30px);
}

/* Phone notch */
.screenshot-item::before {
    content: '';
    position: absolute;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 24px;
    background: #1a1a1a;
    border-radius: 20px;
    z-index: 10;
}

/* Camera dot */
.screenshot-item::after {
    content: '';
    position: absolute;
    top: 24px;
    left: calc(50% + 25px);
    width: 10px;
    height: 10px;
    background: linear-gradient(145deg, #2d2d2d, #1a1a1a);
    border-radius: 50%;
    z-index: 11;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.5);
}

.screenshot-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 24px;
}

/* ============================================
   USE CASES
   ============================================ */
.use-cases {
    padding: 60px 0px;
    background: var(--white);
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.use-case-card {
    background: var(--white);
    padding: 36px 24px;
    border-radius: 24px;
    text-align: center;
    border: 2px solid #f1f5f9;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.use-case-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--wd-primary-color), var(--wd-accent-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.use-case-card:hover {
    border-color: rgba(37, 132, 18, 0.15);
    box-shadow: 0 10px 30px rgba(37, 132, 18, 0.08);
}

.use-case-card:hover::after {
    transform: scaleX(1);
}

.use-case-icon {
    width: 68px;
    height: 68px;
    background: linear-gradient(135deg, rgba(37, 132, 18, 0.1) 0%, rgba(76, 175, 80, 0.15) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 22px;
    color: var(--wd-primary-color);
    font-size: 26px;
    transition: all 0.3s ease;
}

.use-case-card:hover .use-case-icon {
    background: linear-gradient(135deg, var(--wd-primary-color), var(--wd-accent-color));
    color: var(--white);
}

.use-case-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--wd-heading-color);
    margin-bottom: 12px;
}

.use-case-card p {
    font-size: 14px;
    color: var(--wd-text-color);
    line-height: 1.7;
    margin: 0;
}

/* ============================================
   RESULTS SECTION
   ============================================ */
.results-section {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--wd-background-dark) 0%, #263445 100%);
    position: relative;
    overflow: hidden;
}

.results-section::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.02'%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;
}

.results-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 60px;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.result-stat {
    text-align: center;
    padding: 20px;
}

.result-number {
    font-size: 60px;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
    display: inline-block;
}

.result-suffix {
    font-size: 36px;
    font-weight: 700;
    color: var(--wd-accent-color);
}

.result-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.65);
    margin-top: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.results-content {
    max-width: 750px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.results-content p {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.85;
    margin-bottom: 0;
}

/* ============================================
   TECH STACK
   ============================================ */
.tech-stack-section {
    padding: 60px 0;
    background: var(--white);
}

.tech-categories {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.tech-category h4 {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--wd-text-color);
    margin-bottom: 22px;
    text-align: center;
}

.tech-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tech-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: var(--wd-background-light);
    padding: 16px 24px;
    border-radius: 14px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.tech-item:hover {
    background: var(--white);
    border-color: rgba(37, 132, 18, 0.15);
    box-shadow: 0 6px 20px rgba(37, 132, 18, 0.08);
}

.tech-item i {
    font-size: 22px;
    color: var(--wd-primary-color);
}

.tech-item span {
    font-size: 14px;
    font-weight: 600;
    color: var(--wd-heading-color);
}

/* ============================================
   TESTIMONIAL
   ============================================ */
.testimonial-section {
    padding: 60px 0;
    background: linear-gradient(180deg, var(--wd-background-light) 0%, #f0fdf4 100%);
}

.testimonial-card {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    background: var(--white);
    padding: 60px;
    border-radius: 28px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.08);
    position: relative;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(135deg, var(--wd-primary-color), var(--wd-accent-color));
    border-radius: 30px;
    z-index: -1;
    opacity: 0.15;
}

.quote-icon {
    color: var(--wd-primary-color);
    font-size: 48px;
    margin-bottom: 28px;
    opacity: 0.2;
}

.testimonial-card blockquote {
    font-size: 21px;
    color: var(--wd-heading-color);
    line-height: 1.75;
    font-style: italic;
    margin: 0 0 36px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
}

.author-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(37, 132, 18, 0.15);
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info {
    text-align: left;
}

.author-info h4 {
    font-size: 17px;
    font-weight: 700;
    color: var(--wd-heading-color);
    margin-bottom: 4px;
}

.author-info p {
    font-size: 14px;
    color: var(--wd-text-color);
    margin: 0;
}

/* ============================================
   CTA SECTION
   ============================================ */
.portfolio-cta {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--wd-primary-color) 0%, var(--wd-accent-color) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.portfolio-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 50%);
    animation: rotateCta 30s linear infinite;
}

@keyframes rotateCta {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 42px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 18px;
}

.cta-content p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 36px;
}

.cta-buttons {
    display: flex;
    gap: 18px;
    justify-content: center;
}

.btn-large {
    padding: 18px 36px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 10px;
}

.btn-outline-light {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--wd-primary-color);
    transform: translateY(-3px);
}

/* ============================================
   MORE PROJECTS
   ============================================ */
.more-projects {
    padding: 60px 0 20px;
    background: linear-gradient(180deg, var(--wd-background-light) 0%, var(--white) 100%);
    position: relative;
}

.more-projects::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(37, 132, 18, 0.15), transparent);
}

.more-projects .section-header {
    margin-bottom: 20px;
    text-align: center;
}

.more-projects .section-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--wd-heading-color);
    position: relative;
    display: inline-block;
}

.more-projects .section-header h2::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--wd-primary-color), var(--wd-accent-color));
    border-radius: 2px;
}

/* Projects Slider Container */
.projects-slider-container {
    position: relative;
    overflow: hidden;
    padding: 20px 70px 40px;     
}

.projects-row {
    display: flex;
    gap: 30px;
    transition: transform 0.5s ease;
    will-change: transform;
}

/* Arrow Navigation */
.projects-slider-container .arrow {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    background: linear-gradient(90deg, #258412, #4ECDC4);
    color: white;
    border: none;
    cursor: pointer;
    z-index: 10;
    font-size: 20px;
    transition: background 0.3s ease, transform 0.2s ease;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    line-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 132, 18, 0.3);
}

.projects-slider-container .arrow.left {
    left: 14px;
}

.projects-slider-container .arrow.right {
    right: 14px;
}

.projects-slider-container .arrow:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.projects-slider-container .arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

.project-mini-card {
    display: flex;
    align-items: center;
    gap: 24px;
    background: var(--white);
    padding: 20px;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
    min-width: calc(50% - 15px);
    flex-shrink: 0;
}

.project-mini-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--wd-primary-color), var(--wd-accent-color));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-mini-card:hover {
    background: var(--white);
    box-shadow: 0 15px 40px rgba(37, 132, 18, 0.12);
    border-color: rgba(37, 132, 18, 0.15);
    transform: translateY(-5px);
}

.project-mini-card:hover::before {
    opacity: 1;
}

.project-mini-card:hover .mini-image {
    transform: scale(1.05);
}

.project-mini-card:hover .mini-image img {
    transform: scale(1.1);
}

.project-mini-card:hover i {
    color: var(--white);
    background: linear-gradient(135deg, var(--wd-primary-color), var(--wd-accent-color));
    transform: translateX(5px);
}

.mini-image {
    width: 100px;
    height: 100px;
    border-radius: 16px;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    transition: transform 0.4s ease;
}

.mini-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    object-position: top;
}

.mini-content {
    flex: 1;
}

.mini-content h4 {
    font-size: 20px;
    font-weight: 700;
    color: var(--wd-heading-color);
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.project-mini-card:hover .mini-content h4 {
    color: var(--wd-primary-color);
}

.mini-content span {
    font-size: 14px;
    color: var(--wd-text-color);
    display: inline-block;
    padding: 4px 12px;
    background: rgba(37, 132, 18, 0.08);
    border-radius: 20px;
    font-weight: 500;
}

.project-mini-card i {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--wd-primary-color);
    font-size: 18px;
    background: rgba(37, 132, 18, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

/* Removed prev/next positioning - single slide display */


/* ============================================
   RESPONSIVE STYLES
   ============================================ */
@media (max-width: 1200px) {
    .portfolio-detail-hero h1 {
        font-size: 48px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .use-cases-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .results-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .tech-categories {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .portfolio-detail-hero .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 50px;
    }

    .portfolio-detail-hero h1 {
        font-size: 42px;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

       .hero-buttons {
        justify-content: center;
        align-items: center;
        flex-direction: row;
    }
    .hero-buttons a {
    width: auto;
}

    .project-tags {
        justify-content: center;
    }

    .hero-visual .phone-mockup {
        width: 240px;
        height: 490px;
    }

    .hero-visual .laptop-mockup {
        width: 100%;
        max-width: 480px;
    }

    .hero-visual .tech-float {
        display: none;
    }

    .overview-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .pain-points {
        grid-template-columns: 1fr;
    }

    .projects-row {
        grid-template-columns: 1fr;
    }
  .projects-slider-container {
       padding: 10px 0px 80px;
    }  
    .projects-slider-container .arrow.right {
    right: 50%;
    transform: translateX(60px);
    bottom: 14px;
    top: auto;
    }
    .projects-slider-container .arrow.left {
        left: 50%;
        transform: translateX(-60px);
        bottom: 14px;
        top: auto;
    } 
}

@media (max-width: 575px) {
    /* Move arrows below the slider on mobile */

      .project-mini-card {
        min-width: 100%;
        flex-direction: column;
        text-align: center;
    }
    .mini-image {
    width: 200px;
    height: 200px;
    }
}

@media (max-width: 768px) {
    .portfolio-detail-hero {
        padding: 110px 0 60px;
        min-height: auto;
    }

    .portfolio-detail-hero h1 {
        font-size: 34px;
    }

    .hero-tagline {
        font-size: 18px;
    }

    .hero-description {
        font-size: 15px;
    }

    .project-overview,
    .the-challenge,
    .key-features,
    .screenshots-gallery,
    .use-cases,
    .results-section,
    .tech-stack-section,
    .testimonial-section,
    .portfolio-cta,
    .more-projects {
        padding: 60px 0;
    }

    .section-header h2,
    .overview-content h2,
    .challenge-content h2 {
        font-size: 28px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .use-cases-grid {
        grid-template-columns: 1fr;
    }

    .results-stats {
        grid-template-columns: 1fr 1fr;
    }

    .result-number {
        font-size: 46px;
    }

    .tech-categories {
        grid-template-columns: 1fr 1fr;
    }

    .testimonial-card {
        padding: 40px 28px;
    }

    .testimonial-card blockquote {
        font-size: 17px;
    }

    .cta-content h2 {
        font-size: 30px;
    }

  .cta-buttons {
        flex-direction: row;
        align-items: center;
    }
    .cta-buttons a {
        width: auto;
    }

    .screenshot-item {
        width: 180px;
        height: 370px;
    }

    .screenshot-item:nth-child(2),
    .screenshot-item:nth-child(4) {
        transform: translateY(0);
    }

    .screenshot-item:nth-child(2):hover,
    .screenshot-item:nth-child(4):hover {
        transform: translateY(-10px);
    }

    .gallery-scroll {
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .portfolio-detail-hero h1 {
        font-size: 30px;
    }

    .hero-visual .phone-mockup {
        width: 200px;
        height: 410px;
    }

    .results-stats {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .tech-categories {
        grid-template-columns: 1fr;
    }

    .overview-stats {
        grid-template-columns: 1fr;
    }

    .back-link {
        padding: 8px 14px;
        font-size: 13px;
    }
        .cta-buttons a {
        width: 100%;
    }
}

/* ============================================
   THEME VARIATIONS - PROJECT SPECIFIC
   ============================================ */

/* Text Now Theme */
.portfolio-detail-hero.textnow-theme {
    background: linear-gradient(135deg, #ecfeff 0%, #f0fdf4 50%, #ecfeff 100%);
}

.textnow-theme .project-tags .tag {
    background: linear-gradient(135deg, rgba(37, 132, 18, 0.1), rgba(78, 205, 196, 0.1));
    color: var(--wd-primary-color);
    border-color: rgba(78, 205, 196, 0.2);
}

.textnow-theme .hero-tagline {
    background: linear-gradient(90deg, var(--wd-accent-color), var(--wd-primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Car Buddy Theme */
.portfolio-detail-hero.carbuddy-theme {
    background: linear-gradient(135deg, #f1f5f9 0%, #f0fdf4 50%, #f1f5f9 100%);
}

.carbuddy-theme .project-tags .tag {
    background: linear-gradient(135deg, rgba(37, 132, 18, 0.1), rgba(78, 205, 196, 0.1));
    color: var(--wd-primary-color);
    border-color: rgba(28, 42, 62, 0.15);
}

.carbuddy-theme .hero-tagline {
    background: linear-gradient(90deg, var(--wd-secondary-color), var(--wd-primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   NIGHTLY THEME
   ============================================ */
.portfolio-detail-hero.nightly-theme {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #4c1d95 100%);
}

.nightly-theme .project-tags .tag {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.15), rgba(59, 130, 246, 0.15));
    color: #a855f7;
    border-color: rgba(168, 85, 247, 0.25);
}

.nightly-theme .hero-tagline {
    background: linear-gradient(90deg, #a855f7, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nightly-theme h1 {
    color: #ffffff;
}

.nightly-theme .hero-description {
    color: #e0e7ff;
}

.nightly-theme .back-link {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    backdrop-filter: blur(10px);
}

.nightly-theme .back-link:hover {
    background: rgba(168, 85, 247, 0.2);
    color: #ffffff;
}

/* ============================================
   APP SCREENSHOTS SLIDER - CLEAN DESIGN
   ============================================ */
.app-screens-section {
    padding: 60px 0 10px;
    background: linear-gradient(135deg, rgba(37, 132, 18, 0.05) 0%, rgba(78, 205, 196, 0.08) 100%);
    position: relative;
    overflow: hidden;
}

.app-screens-section .section-header {
    margin-bottom: 0px;
}

/* Slider Container */
.screens-slider-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 55px;
}


/* Slider Viewport - Single Slide Only */
.screens-slider-viewport {
    width: 100%;
    max-width: 400px;
    overflow: hidden;
    position: relative;
    margin: 0 auto 20px;
    min-height: 670px;
}

/* Center Phone Frame - EXACT copy of Hero Section Phone Mockup */
.center-phone-frame {
    position: absolute;
    top: 51%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 260px;
    height: 524px;
    border-radius: 45px;
    z-index: 12;
    pointer-events: none;
    background: transparent;
    border: 4px solid;
    border-color: #1a1a1a;
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.25), 0 0 0 2px rgba(255, 255, 255, 0.1), inset 0 0 0 1px rgba(255, 255, 255, 0.05), inset 0 0 0 3px #0a0a0a;
}

/* Hide old notch element */
.frame-notch {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 20px;
    background: #0a0a0a;
    border-radius: 20px;
    z-index: 30;
}

/* Camera dot */
.frame-notch::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: radial-gradient(circle, #1a3a1a 30%, #0d1f0d 70%);
    border-radius: 50%;
}

/* Hide pseudo elements - using frame-notch instead */
.center-phone-frame::before,
.center-phone-frame::after {
    display: none;
}

/* Slider Track */
.screens-slider-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 10;
    align-items: center;
    cursor: grab;
    user-select: none;
}

.screens-slider-track:active {
    cursor: grabbing;
}

/* Individual Slide - One Slide at a Time */
.screen-slide {
    flex: 0 0 100%;
    padding: 0 15px;
    transition: all 0.5s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 0px;
    min-height: 662px;
    position: relative;
    margin-top: 0px;
}

.screen-slide img {
    width: 250px;
    height: 517px;
    border-radius: 40px;
    transition: none;
    opacity: 1;
    transform: none;
    object-fit: cover;
    border: none;
    margin-top: 25px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}
/* Active slide - fully visible and prominent */
.screen-slide.active {
    z-index: 20;
    opacity: 1;
    position: relative;
}

.screen-slide.active img {
    height: 517px;
    width: 250px;
    opacity: 1;
    border-radius: 40px;
    box-shadow: none;
    position: relative;
    z-index: 20;
    transform: none;
    transition: none;
    border: none;
}

/* Navigation Arrows */
.screens-nav {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid rgba(37, 132, 18, 0.2);
    background: var(--white);
    color: var(--wd-primary-color);
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
    z-index: 20;
}

.screens-nav:hover {
    background: var(--wd-primary-color);
    border-color: var(--wd-primary-color);
    color: white;
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(37, 132, 18, 0.3);
}

.screens-nav:active {
    transform: scale(0.95);
}

.screens-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

/* Pagination Dots */
.screens-pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 0px;
    margin-bottom: 0px;
    position: relative;
    bottom: 70px;
}

.screen-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #e0e0e0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.screen-dot:hover {
    background: rgba(37, 132, 18, 0.4);
}

.screen-dot.active {
    width: 32px;
    border-radius: 5px;
    background: var(--wd-primary-color);
}

/* Main Content Wrapper - Side by Side Layout */
.screens-content-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1400px;
    margin: 0px auto 0;
    padding: 0 0px;
    position: relative;
    margin-top: -40px;
}

.screens-content-wrapper:before {
    position: absolute;
    content: "";
    background: #fff;
    left: 0;
    right: 0;
    top: 100px;
    bottom: 100px;
    border-radius: 280px;
    box-shadow: 0 0 30px 0 #00000012;
}


.screens-content-wrapper .screens-slider-container {
    position: relative;
    flex: 0 0 auto;
    width: 50%;
    max-width: 490px;
}

/* Slide Description Container - Side by Side Layout */
.slide-description-container {
    flex: 1;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 0;
    margin: 0;
}

.slide-description {
    display: none;
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.6s ease;
    text-align: left;
    flex: 1;
    max-width: 95%;
    margin-top: 0px;
    padding: 30px 30px 30px 15px;
}

.slide-description.active {
    display: block;
    opacity: 1;
    transform: translateX(0);
    animation: slideInLeft 0.6s ease forwards;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-description .description-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--wd-primary-color), var(--wd-accent-color));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    box-shadow: 0 10px 30px rgba(37, 132, 18, 0.2);
}

.slide-description .description-icon i {
    font-size: 24px;
    color: white;
}

.slide-description h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--wd-heading-color);
    margin-bottom: 16px;
    line-height: 1.3;
}

.slide-description p {
    font-size: 16px;
    color: var(--wd-text-color);
    line-height: 1.8;
}


button.screens-nav.screens-prev {
    position: absolute;
    left: 26px;
    z-index: 20;
}

button.screens-nav.screens-next {
    position: absolute;
    right: 26px;
    z-index: 20;
}

/* All slides visible but only active is prominent */
.screen-slide {
    opacity: 0.3;
    pointer-events: none;
}

.screen-slide.active {
    opacity: 1;
    pointer-events: auto;
}

/* Responsive Styles for Screenshots Slider */


@media (max-width: 1200px) {
    .screen-slide {
        flex: 0 0 100%;
    }

    .screens-slider-viewport {
        width: 100%;
        max-width: 380px;
    }

 
    .frame-notch {
        width: 60px;
        height: 18px;
        top: 10px;
        border-radius: 12px;
    }

    .frame-notch::after {
        width: 8px;
        height: 8px;
    }

  
  
}
 

@media (max-width: 1160px) {
.screens-pagination {
    bottom: 40px;
}
 

}

@media (max-width: 992px) {
   .app-screens-section {
        padding: 60px 0 40px;
    }

    .app-screens-section .section-header {
        margin-bottom: 35px;
        padding: 0 20px;
    }

    .app-screens-section .section-header h2 {
        font-size: 32px;
        margin-bottom: 14px;
    }

    .app-screens-section .section-header p {
        font-size: 16px;
    }

    /* Stack vertically on tablets and mobile */
    .screens-content-wrapper {
        flex-direction: column;
        gap: 10px;
        padding: 0 20px;
    }

    .screens-slider-container {
        width: 100%;
        max-width: 100%;
        gap: 15px;
        padding: 0 40px;
    }

    .slide-description-container {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        padding: 0 0px 20px;
    }

    .slide-description {
        text-align: center;
        max-width: 100%;
    }

    .slide-description .description-icon {
        width: 60px;
        height: 60px;
        border-radius: 16px;
        margin: 0 auto 24px;
    }

    .slide-description .description-icon i {
        font-size: 28px;
    }

    .slide-description h3 {
        font-size: 24px;
    }

    .slide-description p {
        font-size: 16px;
    }

    .screens-slider-viewport {
        min-height: 450px;
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
    }

    .screen-slide {
        flex: 0 0 100%;
        padding: 0 12px;
        min-height: 450px;
    }
    .screen-slide img {
        width: 210px;
        height: 414px;
        margin-top: 0px;
        border-radius: 25px;
        background-size: contain;
    }
    .slide-description {
    padding: 0px;
    padding-bottom: 30px;
}

    /* Scale 80% phone frame */
    .center-phone-frame {
        width: 210px;
        height: 420px;
        border-radius: 35px;
        top: 46%;
    }

    .frame-notch {
        width: 55px;
        height: 16px;
        top: 9px;
        border-radius: 11px;
    }

    .frame-notch::after {
        width: 7px;
        height: 7px;
    }

    .screen-slide.active img {
        width: 210px;
        height: 420px;
        border-radius: 35px;
    }

    .screens-pagination {
        bottom: 50px;
    }

    button.screens-nav.screens-prev {
        left: 10px;
    }

    button.screens-nav.screens-next {
        right: 10px;
    }

    .screens-nav {
        width: 44px;
        height: 44px;
        font-size: 16px;
    }
    .screens-content-wrapper {
        margin-top: 0px;
    }
        .center-phone-frame {
        top: 50%;
    }
    .screens-content-wrapper:before {
    bottom: 30px;
    border-radius: 30px;
}
.center-phone-frame {
   box-shadow: none;
}
.section-header {
    margin-bottom: 30px;
}
}

@media (max-width: 768px) {
    .app-screens-section {
        padding: 60px 0 40px;
    }

    .app-screens-section .section-header {
        margin-bottom: 30px;
        padding: 0 20px;
    }

    .app-screens-section .section-header h2 {
        font-size: 28px;
        margin-bottom: 12px;
    }

    .app-screens-section .section-header p {
        font-size: 15px;
    }

    .app-screens-section .section-label {
        font-size: 13px;
        margin-bottom: 10px;
    }

    .screens-slider-container {
        padding: 0 30px;
    }

    .screens-slider-viewport {
        min-height: 370px;
        width: 100%;
        max-width: 300px;
        overflow: hidden;
        margin: 0 auto;
    }

      .screen-slide {
        flex: 0 0 100%;
        padding: 0 10px;
        min-height: 340px;
    }

      .screen-slide img {
        width: 170px;
        height: 340px;
        margin-top: 0px;
        border-radius: 30px;
    }

    /* Scale 65% phone frame */
    .center-phone-frame {
        width: 170px;
        height: 340px;
        border-radius: 30px;
        top: 46%;
    }

    .frame-notch {
        width: 45px;
        height: 13px;
        top: 8px;
        border-radius: 10px;
    }

    .frame-notch::after {
        width: 6px;
        height: 6px;
    }

    .screen-slide.active img {
        width: 170px;
        height: 340px;
        border-radius: 30px;
    }

    button.screens-nav.screens-prev {
        left: 5px;
    }

    button.screens-nav.screens-next {
        right: 5px;
    }

    .screens-nav {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }

    .screens-pagination {
        margin-top: 20px;
        bottom: 40px;
    }
}

@media (max-width: 630px) {

    .screens-content-wrapper .screens-slider-container {
    width: 100%;
    max-width: 290px;
}

    .app-screens-section {
        padding: 60px 0 50px;
    }

    .app-screens-section .section-header {
        margin-bottom: 25px;
        padding: 0 15px;
    }

    .app-screens-section .section-header h2 {
        font-size: 24px;
        margin-bottom: 10px;
        line-height: 1.3;
    }

    .app-screens-section .section-header p {
        font-size: 14px;
        line-height: 1.6;
    }

    .app-screens-section .section-label {
        font-size: 12px;
        margin-bottom: 8px;
    }

    .screens-slider-container {
        gap: 10px;
        padding: 0 50px;
    }

    .slide-description-container {
        margin-top: 10px;
        min-height: 200px;
    }

    .slide-description .description-icon {
        width: 50px;
        height: 50px;
        border-radius: 14px;
        margin-bottom: 15px;
    }

    .slide-description .description-icon i {
        font-size: 24px;
    }

    .slide-description h3 {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .slide-description p {
        font-size: 14px;
        line-height: 1.6;
    }

    .screens-slider-viewport {
        min-height: 380px;
        width: 100%;
        max-width: 280px;
        overflow: hidden;
        margin: 0 auto;
    }

    /* Only 1 slide visible */
    .screen-slide {
        flex: 0 0 100%;
        padding: 0;
        min-height: 380px;
    }

    /* Phone frame for single slide */
     .center-phone-frame {
        width: 180px;
        height: 360px;
        border-radius: 30px;
        border-width: 3px;
        top: 50%;
        box-shadow: none;
    }  
     .screens-content-wrapper {
        gap: 0px;
    }

    .frame-notch {
        width: 45px;
        height: 12px;
        top: 7px;
        border-radius: 10px;
    }

    .frame-notch::after {
        width: 5px;
        height: 5px;
    }

    .screen-slide img {
        width: 180px;
        height: 360px;
        border-radius: 30px;
        margin-top: 0;
        opacity: 1;
    }

    .screen-slide.active img {
        width: 180px;
        height: 360px;
        opacity: 1;
        border-radius: 30px;
    }

    .slide-description {
        padding: 0px;
        padding-bottom: 30px;
    }

    button.screens-nav.screens-prev {
        left: 5px;
    }

    button.screens-nav.screens-next {
        right: 5px;
    }

    .screens-nav {
        width: 36px;
        height: 36px;
        font-size: 12px;
    }

    .screens-pagination {
        margin-top: 20px;
        bottom: 30px;
        gap: 8px;
    }

    .screen-dot {
        width: 8px;
        height: 8px;
    }

    .screen-dot.active {
        width: 24px;
    }
    .center-phone-frame {
        box-shadow: none;
    }
}

/* Extra small screens */
@media (max-width: 400px) {
    .app-screens-section {
        padding: 60px 0 40px;
    }

    .app-screens-section .section-header {
        margin-bottom: 20px;
        padding: 0 15px;
    }

    .app-screens-section .section-header h2 {
        font-size: 22px;
        margin-bottom: 8px;
        line-height: 1.3;
    }

    .app-screens-section .section-header p {
        font-size: 13px;
        line-height: 1.6;
    }

    .app-screens-section .section-label {
        font-size: 11px;
        margin-bottom: 6px;
    }

    .screens-slider-container {
        padding: 0 45px;
        gap: 8px;
    }

    .screens-slider-viewport {
        min-height: 320px;
        width: 100%;
        max-width: 260px;
        overflow: hidden;
        margin: 0 auto;
    }

    /* Only 1 slide visible */
    .screen-slide {
        flex: 0 0 100%;
        padding: 0;
        min-height: 320px;
    }

    .center-phone-frame {
        width: 150px;
        height: 300px;
        border-radius: 25px;
        top: 50%;
        box-shadow: none;
    }

    .frame-notch {
        width: 38px;
        height: 10px;
        top: 6px;
        border-radius: 8px;
    }

    .frame-notch::after {
        width: 4px;
        height: 4px;
    }

    .screen-slide img {
        width: 150px;
        height: 300px;
        border-radius: 25px;
        margin-top: 0;
        opacity: 1;
    }

    .screen-slide.active img {
        width: 150px;
        height: 300px;
        opacity: 1;
        border-radius: 25px;
    }

    .slide-description {
        padding: 0px;
        padding-bottom: 25px;
    }

    .slide-description .description-icon {
        width: 48px;
        height: 48px;
        border-radius: 12px;
        margin-bottom: 14px;
    }

    .slide-description .description-icon i {
        font-size: 22px;
    }

    button.screens-nav.screens-prev {
        left: 5px;
    }

    button.screens-nav.screens-next {
        right: 5px;
    }

    .screens-nav {
        width: 32px;
        height: 32px;
        font-size: 11px;
    }

    .screens-pagination {
        bottom: 25px;
        gap: 6px;
    }

    .screen-dot {
        width: 7px;
        height: 7px;
    }

    .screen-dot.active {
        width: 20px;
    }
}


@media only screen and (max-width: 420px) {
.hero-buttons .btn {
    width: 100%;
}
}


/* Very small screens (iPhone SE, Galaxy Fold) */
@media (max-width: 360px) {
    .app-screens-section {
        padding: 60px 0 40px;
    }

    .app-screens-section .section-header {
        margin-bottom: 18px;
        padding: 0 12px;
    }

    .app-screens-section .section-header h2 {
        font-size: 20px;
        margin-bottom: 6px;
    }

    .app-screens-section .section-header p {
        font-size: 12px;
    }

    .app-screens-section .section-label {
        font-size: 10px;
        margin-bottom: 5px;
    }

    .screens-slider-container {
        padding: 0 40px;
        gap: 6px;
    }

    .screens-slider-viewport {
        min-height: 280px;
        width: 100%;
        max-width: 220px;
        overflow: hidden;
        margin: 0 auto;
    }

    .screen-slide {
        flex: 0 0 100%;
        min-height: 280px;
        padding: 0;
    }

    .center-phone-frame {
        width: 130px;
        height: 260px;
        border-radius: 22px;
        top: 50%;
        box-shadow: none;
    }

    .frame-notch {
        width: 32px;
        height: 9px;
        top: 5px;
        border-radius: 7px;
    }

    .frame-notch::after {
        width: 3px;
        height: 3px;
    }

    .screen-slide img {
        width: 130px;
        height: 260px;
        border-radius: 22px;
        margin-top: 0;
        opacity: 1;
    }

    .screen-slide.active img {
        width: 130px;
        height: 260px;
        border-radius: 22px;
        opacity: 1;
    }

    .slide-description {
        padding: 0px;
        padding-bottom: 20px;
    }

    .slide-description .description-icon {
        width: 44px;
        height: 44px;
        border-radius: 11px;
        margin-bottom: 12px;
    }

    .slide-description .description-icon i {
        font-size: 20px;
    }

 
    button.screens-nav.screens-prev {
        left: 3px;
    }

    button.screens-nav.screens-next {
        right: 3px;
    }

    .screens-nav {
        width: 30px;
        height: 30px;
        font-size: 10px;
    }

    .screens-pagination {
        bottom: 20px;
        gap: 5px;
    }

    .screen-dot {
        width: 6px;
        height: 6px;
    }

    .screen-dot.active {
        width: 18px;
    }
}
