/* web-development.css */
:root {
    --primary-color: #fdad01;
    --dark-bg: #121212;
    --card-bg: #1e1e1e;
    --text-color: #ffffff;
    --text-muted: #d0d0d0;
    /* Increased contrast from #b0b0b0 */
}

body {
    background-color: var(--dark-bg);
    color: var(--text-color);
    font-family: 'Lato', sans-serif;
    font-size: 1.1rem;
    /* Slightly larger base text */
}

/* Hero Section */
.web-hero {
    position: relative;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.web-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    /* Dark overlay */
    z-index: 1;
}

.web-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 20px;
}

/* Case Study Layout (replaces showcase) */
.case-study-section {
    padding: 120px 20px;
    background: #0a0a0a;
    overflow: hidden;
    position: relative;
    /* subtle pattern overlay */
    background-image: radial-gradient(#1f1f1f 1px, transparent 1px);
    background-size: 40px 40px;
}

/* ... existing case study css ... */

/* Pricing Packages */
.web-pricing {
    padding: 120px 20px;
    background: var(--dark-bg);
    position: relative;
    /* subtle pattern overlay */
    background-image: radial-gradient(#2a2a2a 1px, transparent 1px);
    background-size: 30px 30px;
}

.package-card {
    background: rgba(30, 30, 30, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.package-card:hover {
    transform: translateY(-8px);
    background: rgba(30, 30, 30, 0.9);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(253, 173, 1, 0.3);
}

.package-card.featured {
    border: 1px solid var(--primary-color);
    /* Thinner border but glowing */
    box-shadow: 0 0 30px rgba(253, 173, 1, 0.1);
    transform: scale(1.05);
    /* Restore scale a bit for emphasis */
    z-index: 2;
    background: rgba(40, 40, 40, 0.8);
}

.package-card.featured:hover {
    transform: scale(1.05) translateY(-8px);
    box-shadow: 0 20px 50px rgba(253, 173, 1, 0.2);
}

.package-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: #000;
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(253, 173, 1, 0.4);
}

.case-study-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 80px;
    max-width: 1400px;
    margin: 0 auto 150px auto;
}

.case-study-row:last-child {
    margin-bottom: 0;
}

.case-study-row.reverse {
    flex-direction: row-reverse;
}

.case-visual {
    flex: 1;
    min-width: 300px;
    position: relative;
    perspective: 1000px;
}

.browser-mockup {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    height: 450px;
    /* Taller for better visual */
}

.browser-mockup:hover {
    transform: translateY(-10px) scale(1.02) !important;
    /* Override tilt on hover slightly */
    box-shadow: 0 40px 80px rgba(253, 173, 1, 0.15);
    z-index: 10;
}

/* Tilt Effects */
.tilted-left {
    transform: rotateY(5deg) rotateX(2deg);
}

.tilted-right {
    transform: rotateY(-5deg) rotateX(2deg);
}

.browser-header {
    background: #f1f1f1;
    padding: 12px 18px;
    display: flex;
    gap: 8px;
    border-bottom: 1px solid #ddd;
}

.browser-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
}

.dot-red {
    background: #ff5f56;
    border: 1px solid #e0443e;
}

.dot-yellow {
    background: #ffbd2e;
    border: 1px solid #dea123;
}

.dot-green {
    background: #27c93f;
    border: 1px solid #1aab29;
}

.browser-content {
    height: 100%;
    /* No padding in content to let scrolling happen cleanly if we had it */
    background: #1a1a1a;
}

.case-info {
    flex: 0.8;
    padding: 20px;
}

.case-tag {
    display: inline-block;
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 5px;
}

.case-info h3 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #fff;
    line-height: 1.1;
}

.case-info p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    line-height: 1.6;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    list-style: none;
    padding: 0;
    margin-bottom: 40px;
}

.tech-stack li {
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: #ddd;
}

.btn-text {
    color: var(--primary-color);
    font-weight: bold;
    text-decoration: none;
    font-size: 1.1rem;
    transition: margin-left 0.3s ease;
}

.btn-text:hover {
    margin-left: 10px;
    text-decoration: underline;
}

/* Fix Hero Gradient Text */
.web-hero h1 {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #fff, var(--primary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.web-hero p {
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

/* Value Prop Section - "The Full Package" */
.value-prop-section {
    padding: 120px 20px;
    background: var(--dark-bg);
    text-align: center;
    position: relative;
    /* subtle pattern overlay */
    background-image: radial-gradient(#2a2a2a 1px, transparent 1px);
    background-size: 30px 30px;
}

.section-subtitle {
    max-width: 700px;
    margin: 0 auto 60px auto;
    color: var(--text-muted);
    font-size: 1.3rem;
    line-height: 1.6;
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1300px;
    margin: 0 auto;
}

.value-card {
    background: rgba(30, 30, 30, 0.6);
    /* Transparent bg */
    backdrop-filter: blur(10px);
    padding: 40px 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    text-align: left;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.value-card:hover {
    transform: translateY(-8px);
    background: rgba(30, 30, 30, 0.9);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(253, 173, 1, 0.3);
}

.value-card:hover::before {
    transform: scaleX(1);
}

.value-card h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: #fff;
    font-weight: 700;
}

.value-card p {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 1.05rem;
}

/* Pricing Packages */
/* Pricing Inner Elements */
.package-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #fff;
    font-weight: 700;
}

.package-price {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary-color);
    margin: 15px 0;
    text-shadow: 0 0 20px rgba(253, 173, 1, 0.3);
}

.package-desc {
    color: var(--text-muted);
    margin-bottom: 25px;
    font-size: 1rem;
    line-height: 1.5;
}



.package-features {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
    flex-grow: 1;
}

.package-features li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.package-features li:last-child {
    border-bottom: none;
}

.btn-glow {
    display: inline-block;
    padding: 15px 40px;
    background: var(--primary-color);
    color: #000;
    text-decoration: none;
    font-weight: bold;
    border-radius: 30px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-glow:hover {
    box-shadow: 0 0 20px var(--primary-color);
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 1200px) {
    .case-study-row {
        gap: 40px;
    }

    .case-info h3 {
        font-size: 2.5rem;
    }
}

@media (max-width: 992px) {

    .case-study-row,
    .case-study-row.reverse {
        flex-direction: column;
        gap: 40px;
        margin-bottom: 100px;
        text-align: center;
    }

    .case-visual {
        width: 100%;
        max-width: 600px;
    }

    .browser-mockup {
        height: 350px;
    }

    .case-info {
        flex: 1;
        width: 100%;
        max-width: 700px;
    }

    .tech-stack {
        justify-content: center;
    }

    .tilted-left,
    .tilted-right {
        transform: none;
    }
}

@media (max-width: 768px) {
    .web-hero {
        height: 60vh;
    }

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

    .web-hero p {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .section-subtitle {
        font-size: 1.1rem;
        margin-bottom: 40px;
    }

    .case-study-section {
        padding: 80px 20px;
    }

    .case-info h3 {
        font-size: 2rem;
    }

    .case-info p {
        font-size: 1.1rem;
    }

    .browser-mockup {
        height: 280px;
    }

    .package-card.featured {
        transform: scale(1);
    }

    .package-card.featured:hover {
        transform: translateY(-8px);
    }

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

@media (max-width: 480px) {
    .web-hero h1 {
        font-size: 2rem;
    }

    .browser-mockup {
        height: 220px;
    }

    .case-info h3 {
        font-size: 1.8rem;
    }

    .btn-glow {
        padding: 12px 30px;
        font-size: 0.9rem;
    }
}