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

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
}

header {
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2%;
    width: 100%;
}

.logo {
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li a {
    color: #333;
    text-decoration: none;
    padding: 0.5rem 1rem;
    transition: color 0.3s;
}

nav ul li a {
    color: #333;
    text-decoration: none;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
    border-radius: 20px;
}

nav ul li a:hover {
    color: white;
    background: linear-gradient(45deg, #FF6B6B, #4ECDC4);
}

section {
    padding: 4rem 5%;
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.carousel {
    width: 100%;
    height: 100%;
    position: relative;
}

.carousel-inner {
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-width: none;
}

.carousel-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    z-index: 1;
}



.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 2;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
}

.dot.active {
    background: white;
}

@keyframes gradientBG {
    0% {background-position: 0% 50%;}
    50% {background-position: 100% 50%;}
    100% {background-position: 0% 50%;}
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    padding: 2rem;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 3px solid transparent;
    background: linear-gradient(white, white) padding-box,
                linear-gradient(45deg, #FF6B6B, #4ECDC4) border-box;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

.service-card h3 {
    color: #FF6B6B;
    margin-bottom: 1rem;
}

h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #333;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-item {
    padding: 2rem;
    background: #fff;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
}



.testimonials-carousel {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.testimonial-slide {
    display: none;
    text-align: center;
    padding: 1rem;
}

.testimonial-slide.active {
    display: block;
    animation: fadeIn 0.5s ease-in;
}

.testimonial-slide p {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    line-height: 1.8;
}

.testimonial-slide .author {
    color: #666;
    font-style: italic;
    display: block;
    margin-top: 1rem;
}

.testimonials-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
}

.testimonials-nav button {
    background: linear-gradient(45deg, #FF6B6B, #4ECDC4);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.testimonials-nav button:hover {
    transform: scale(1.1);
}

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

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.team-member {
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
}

.team-member img {
    width: 100%;
    max-width: 150px;
    height: auto;
    aspect-ratio: 1;
    border-radius: 50%;
    margin-bottom: 1rem;
    object-fit: cover;
}

.team-member h3 {
    color: #333;
    margin-bottom: 0.5rem;
}

.team-member .position {
    color: #FF6B6B;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.team-member .description {
    color: #666;
    font-size: 0.9rem;
}

.contact-info {
    text-align: center;
    line-height: 2;
}

footer {
    text-align: center;
    padding: 2rem;
    background: #333;
    color: white;
}

@media (max-width: 768px) {
    nav {
        flex-direction: column;
        text-align: center;
        padding: 0.5rem;
    }
    
    nav ul {
        flex-direction: column;
        width: 100%;
        margin-top: 1rem;
    }
    
    nav ul li {
        width: 100%;
        margin: 0.2rem 0;
    }
    
    nav ul li a {
        display: block;
        padding: 0.8rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .carousel-content {
        width: 90%;
    }
    
    .carousel-content h1 {
        font-size: 1.8rem;
    }
    
    .services-grid,
    .features-grid,
    .team-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }
    
    .service-card,
    .feature-item,
    .team-member {
        margin: 0.5rem 0;
    }
    
    .testimonials-carousel {
        width: 90%;
        margin: 0 auto;
        padding: 1rem;
    }
    
    .testimonial-slide p {
        font-size: 1rem;
    }
    
    section {
        padding: 2rem 1rem;
    }
    
    .contact-info {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.5rem;
    }
    
    .carousel-content p {
        font-size: 0.9rem;
    }
    
    .carousel-btn {
        padding: 0.5rem;
        width: 35px;
        height: 35px;
    }
    
    h2 {
        font-size: 1.5rem;
    }
}
