:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --text-color: #1f2937;
    --background-color: #f3f4f6;
    --box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

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

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.5;
    background-color: var(--background-color);
    color: var(--text-color);
}

main {
    max-width: 1200px;
    margin: 0 auto;
}

/* Clients Section */
.clients-section {
    background-color: #111111ed;
    color: rgb(255, 255, 255);
    padding: 4rem 2rem;
   text-align: center;
    
    margin-bottom: 4rem;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}

.outline-text {
    font-size: 4rem;
    font-weight: 900;
    text-align: center;
    color: transparent;
    -webkit-text-stroke: 2px rgb(253, 249, 249);
    /* background: linear-gradient(45deg, #000000, #f47676); */
    letter-spacing: 2px;
    margin-bottom: 3rem;
}

/* .clients-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
} */

.clients-text h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: rgb(254, 249, 249);
}

.clients-text p {
    color: #ffffff;
    font-size: 1.1rem;
    line-height: 1.6;
}

.clients-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-item .stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(45deg, #000000, #eedcdc);
    -webkit-background-clip: text;
    color: transparent;
}

.stat-item .stat-label {
    color: #fffdfd;
    font-size: 1rem;
}

.stars {
    color: #ffd700;
    margin-top: 0.5rem;
    display: block;
    font-size: 1.2rem;
}

/* Stats Section */
.stats-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 4rem 0;
    flex-wrap: wrap;
    padding: 0 2rem;
}

.stat-box {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--box-shadow);
    text-align: center;
    min-width: 200px;
    transition: transform 0.2s ease;
}

.stat-box:hover {
    transform: translateY(-5px);
}

.stat-box .stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-box .stat-label {
    font-size: 1rem;
    color: #4b5563;
}
/* Testimonials Section */
.testimonials-section {
    padding: 4rem 2rem;
    background: white;
    margin-bottom: 4rem;
}

.section-title-1 {
    text-align: center !important;
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 3rem;
    font-weight: 700;
}

.testimonials-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    min-height: 300px;
}

.testimonial {
    position: absolute;
    width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    visibility: hidden;
}

.testimonial.active {
    opacity: 1;
    visibility: visible;
}

.testimonial-content {
    text-align: center;
    padding: 2rem;
}

.testimonial-content i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.testimonial-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4b5563;
    font-style: italic;
    margin-bottom: 2rem;
}

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

.author-info h4 {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 0.25rem;
}

.author-info p {
    font-size: 0.9rem;
    color: #6b7280;
    margin: 0;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

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

.dot.active {
    background-color: var(--primary-color);
}

/* Stats Section */
.stats-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 4rem 0;
    flex-wrap: wrap;
    padding: 0 2rem;
}

.stat-box {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--box-shadow);
    text-align: center;
    min-width: 200px;
    transition: transform 0.2s ease;
}

.stat-box:hover {
    transform: translateY(-5px);
}

.stat-box .stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-box .stat-label {
    font-size: 1rem;
    color: #4b5563;
}

/* Portfolio Section */
.portfolio-headline {
    font-size: 3rem;
    font-weight: 800;
    text-align: center;
    margin: 4rem 0;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    color: transparent;
    position: relative;
    padding: 0 2rem;
}

.portfolio-headline::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

.portfolio-item {
    display: flex;
    margin: 0 2rem 2rem;
    background: white;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.portfolio-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 10px;
}

.category-label {
    padding: 6px 12px;
    background-color: #f0f0f0;
    color: #333;
    font-size: 0.85rem;
    border-radius: 20px;
    text-transform: capitalize;
}

/* css for button  */

.view-website-button {
    background: linear-gradient(90deg, #f76b1c, #fcae1e);
    /* Gradient Orange */
    color: #fff;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    /* Rounded corners */
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    /* Subtle shadow */
    transition: background 0.3s ease, transform 0.2s ease;
}

.view-website-button:hover {
    background: linear-gradient(90deg, #fcae1e, #f76b1c);
    /* Reversed gradient on hover */
    transform: translateY(-2px);
    /* Slight lift */
}

.view-website-button:active {
    transform: translateY(0);
    /* Press effect */
}


.project-image {
    flex: 0 0 300px;
    max-width: 300px;
}

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

.project-info {
    flex: 2;
    padding: 1.5rem;
}

.project-info h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--primary-color);
}

.project-info p {
    color: #4b5563;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Responsive Design */
@media (max-width: 968px) {
    .clients-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .outline-text {
        font-size: 3rem;
        -webkit-text-stroke: 1px white;
    }
}

@media (max-width: 768px) {
    .portfolio-item {
        padding: 3rem;
        flex-direction: column;
    }
    .portfolio-item .project-image img {
            border-radius: 30px;
    }
    .project-image {
        min-width: 100%;
        max-width: none;
        height: 200px;
    }

    .stats-container {
        gap: 1rem;
    }

    .stat-box {
        min-width: 150px;
    }

    .outline-text {
        font-size: 2.5rem;
    }

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

    .testimonial-content p {
        font-size: 1rem;
    }
}