.hero {
    padding: 40px 0;
    position: relative;
    width: 100%;
}

.hero-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.4);
}

.hero-container {
    min-height: 600px;
    display: flex;
    gap: 0;
    position: relative;
    z-index: 1;
}

.hero-left {
    flex: 1;
    background: rgba(30, 32, 34, 0.85);
    padding: 50px;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 10px 0 0 10px;
}

.hero-left h1 {
    font-size: 40px;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-left p {
    font-size: 14px;
    margin-bottom: 30px;
    line-height: 1.6;
}

.btn-white {
    background: #fff;
    color: var(--primary-black);
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    font-weight: 400;
    cursor: pointer;
    align-self: flex-start;
    transition: transform 0.3s;
}

.btn-white:hover {
    transform: scale(1.05);
}

.hero-right {
    flex: 1.5;
    border-radius: 0 10px 10px 0;
    overflow: hidden;
    display: flex;
}

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

.what-we-do {
    padding: 80px 0;
    text-align: center;
}

.what-we-do h2 {
    font-size: 32px;
    margin-bottom: 40px;
}

.mockup-container {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
}

.mockup-box {
    flex: 1;
    height: 300px;
    background: #1e2022;
    border-radius: 10px;
    background-size: cover;
    background-position: center;
}

.mockup-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.service-desc {
    text-align: center;
    padding: 60px 0;
}

.service-desc h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.service-desc p {
    color: var(--text-gray);
    max-width: 800px;
    margin: 0 auto;
    font-size: 14px;
    line-height: 1.8;
}

.portfolio {
    padding: 80px 0;
    position: relative;
}

.port-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.portfolio::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.7);
}

.portfolio .container {
    position: relative;
    z-index: 1;
}

.portfolio h2 {
    font-size: 28px;
    margin-bottom: 30px;
}

.portfolio-cards {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.port-card {
    flex: 1;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    padding: 40px;
    border-radius: 10px;
    color: white;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.port-card h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.port-card p {
    font-size: 12px;
    color: #eee;
}

.btn-black {
    background: var(--primary-black);
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    float: right;
    font-weight: 400;
}

@media (max-width: 768px) {
    .hero-container,
    .mockup-container,
    .portfolio-cards {
        flex-direction: column;
    }
}
