* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #e8e8e8;
    color: #1a1a1a;
}

.main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.card {
    background: #f5f5f5;
    border-radius: 40px;
    padding: 50px 60px;
    margin-bottom: 30px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 80px;
    font-size: 0.9rem;
}

.contact-info {
    display: flex;
    gap: 20px;
    color: #666;
}

.social-links {
    display: flex;
    gap: 15px;
    color: #666;
}

.social-links a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s, transform 0.3s;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 8px;
}

.social-links a:hover {
    color: #000;
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 60px 0;
}

.profile-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}

.profile-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
}

.availability {
    background: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: #666;
}

.availability::before {
    content: "●";
    color: #22c55e;
    margin-right: 8px;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 50px;
    font-weight: 600;
    color: #1a1a1a;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: #1a1a1a;
    color: #fff;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: transform 0.3s, box-shadow 0.3s;
    font-size: 0.95rem;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.cta-button::after {
    content: "↓";
    font-size: 1.2rem;
}

/* Clients Section */
.clients {
    padding: 40px 0;
    overflow: hidden;
}

.clients-title {
    text-align: center;
    font-size: 0.9rem;
    color: #999;
    margin-bottom: 50px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.carousel-container {
    position: relative;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.carousel-track {
    display: flex;
    gap: 60px;
    animation: scroll-left 30s linear infinite;
}

.carousel-track-reverse {
    display: flex;
    gap: 60px;
    animation: scroll-right 30s linear infinite;
    margin-top: 30px;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@keyframes scroll-right {
    0% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0);
    }
}

.client-logo {
    flex-shrink: 0;
    width: 140px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.client-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s;
}

.client-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* Services Section */
.services-intro {
    text-align: center;
    margin-bottom: 40px;
}

.services-intro h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.services-intro p {
    color: #666;
    font-size: 1.1rem;
}

.specialty-tag {
    display: inline-block;
    background: #fff;
    padding: 10px 20px;
    border-radius: 20px;
    margin: 30px 0 20px;
    font-size: 0.9rem;
    color: #666;
}

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 40px;
}

.project-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s;
    cursor: pointer;
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-image {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-card:nth-child(2) .project-image {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.project-card:nth-child(3) .project-image {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.project-info {
    padding: 30px;
}

.project-info h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.project-info p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.project-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tag {
    background: #f5f5f5;
    padding: 6px 14px;
    border-radius: 15px;
    font-size: 0.85rem;
    color: #666;
}

/* Modal/Popup */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    overflow-y: auto;
    animation: fadeIn 0.3s;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: #f5f5f5;
    border-radius: 30px;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideUp 0.3s;
}

@keyframes slideUp {
    from { 
        opacity: 0;
        transform: translateY(50px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: sticky;
    top: 20px;
    right: 20px;
    float: right;
    width: 40px;
    height: 40px;
    background: #fff;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: transform 0.3s, background 0.3s;
}

.modal-close:hover {
    transform: rotate(90deg);
    background: #1a1a1a;
    color: #fff;
}

.modal-header {
    padding: 50px 40px 30px;
}

.modal-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.modal-header .project-tags {
    margin-bottom: 20px;
}

.modal-header p {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.8;
}

.modal-images {
    padding: 0 40px 20px;
}

.modal-image {
    width: 100%;
    height: 400px;
    background: #e0e0e0;
    border-radius: 20px;
    margin-bottom: 20px;
    overflow: hidden;
}

.modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-details {
    padding: 0 40px 40px;
}

.detail-section {
    margin-bottom: 30px;
}

.detail-section h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.detail-section p {
    color: #666;
    line-height: 1.8;
}

.detail-section ul {
    list-style: none;
    padding: 0;
}

.detail-section ul li {
    color: #666;
    line-height: 1.8;
    padding-left: 20px;
    position: relative;
}

.detail-section ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #1a1a1a;
    font-weight: bold;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: #1a1a1a;
    color: #fff;
    text-decoration: none;
    border-radius: 20px;
    font-weight: 500;
    transition: transform 0.3s;
    margin-top: 20px;
}

.project-link:hover {
    transform: translateY(-2px);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin: 40px 20px;
}

.service-card {
    text-align: center;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: #fff;
    color: #666;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.3rem;
    transition: color 0.3s, transform 0.3s;
}

.service-icon:hover {
    color: #1a1a1a;
    transform: translateY(-2px);
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.service-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Contact Section */
.contact-section {
    text-align: center;
    padding: 60px 0;
}

.handshake-icon {
    width: 80px;
    height: 80px;
    background: #fff;
    color: #666;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    font-size: 2.5rem;
    transition: color 0.3s, transform 0.3s;
}

.handshake-icon:hover {
    color: #1a1a1a;
    transform: translateY(-2px);
}

.contact-section h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    font-weight: 600;
}

.contact-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: #1a1a1a;
    color: #fff;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: transform 0.3s;
    font-size: 0.95rem;
}

.btn-primary:hover {
    transform: translateY(-2px);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: #fff;
    color: #1a1a1a;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: transform 0.3s;
    font-size: 0.95rem;
}

.btn-secondary:hover {
    transform: translateY(-2px);
}

/* Footer */
.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 0;
    font-size: 0.85rem;
    color: #999;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: #999;
    text-decoration: none;
}

.footer-links a:hover {
    color: #666;
}

@media (max-width: 768px) {
    .card {
        padding: 40px 50px;
        border-radius: 30px;
    }

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

    .services-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-section h2 {
        font-size: 2rem;
    }

    .header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .contact-buttons {
        flex-direction: column;
    }

    .footer {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}
