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

/* Body */
body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 1.5rem 0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 2.2rem;
    color: #fff;
    font-weight: 700;
    letter-spacing: 1px;
}

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

nav ul li {
    margin-left: 35px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
    border-radius: 25px;
}

nav ul li a:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

/* Main */
main {
    padding: 0;
}

/* Hero/Slider */
.slider {
    position: relative;
    overflow: hidden;
    height: 550px;
    box-shadow: inset 0 0 0 1000px rgba(0,0,0,0.3);
}

.slider-container {
    display: flex;
    width: 300%;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.slider-container.shift1 {
    transform: translateX(-33.33%);
}

.slider-container.shift2 {
    transform: translateX(-66.66%);
}

.slide {
    width: 100%;
    position: relative;
}

.slide img {
    width: 100%;
    height: 550px;
    object-fit: cover;
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    background: rgba(0,0,0,0.7);
    padding: 3rem;
    border-radius: 15px;
    max-width: 700px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.slide-content h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.slide-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    font-weight: 300;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

/* Slider Controls */
.slider-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
}

.slider-controls button {
    background: rgba(255,255,255,0.9);
    border: none;
    padding: 12px 18px;
    margin: 0 8px;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.slider-controls button:hover {
    background: #3498db;
    transform: scale(1.1);
}

/* Sections */
.section {
    background: rgba(255,255,255,0.95);
    padding: 5rem 0;
    margin: 2rem 0;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
    font-size: 2.8rem;
    font-weight: 600;
    position: relative;
}

.section h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    margin: 1rem auto;
    border-radius: 2px;
}

.section p {
    margin-bottom: 2rem;
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Services */
.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
}

.service {
    padding: 2.5rem;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.service:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.service h3 {
    margin-bottom: 1.5rem;
    color: #2c3e50;
    font-size: 1.6rem;
    font-weight: 600;
}

/* Portfolio */
.portfolio-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
}

.portfolio-item {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.portfolio-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.portfolio-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.portfolio-item h3 {
    padding: 1.5rem;
    text-align: center;
    color: #2c3e50;
    font-weight: 600;
}

/* Testimonials */
.testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial {
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-left: 5px solid #667eea;
}

.testimonial p {
    font-style: italic;
    margin-bottom: 1rem;
    color: #555;
}

.testimonial cite {
    font-weight: 600;
    color: #2c3e50;
}

/* Technologies */
.technologies {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.tech {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* Contact */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.8rem;
}

label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 500;
    color: #2c3e50;
}

input, textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    font-family: 'Roboto', sans-serif;
    transition: all 0.3s ease;
}

input:focus, textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 10px rgba(102, 126, 234, 0.3);
}

.btn {
    display: inline-block;
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: #fff;
    padding: 1rem 3rem;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

/* Footer */
footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: #fff;
    padding: 3rem 0 2rem;
    margin-top: 0;
}

footer .container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

footer div {
    flex: 1;
    min-width: 250px;
    margin-bottom: 2rem;
}

footer h3, footer h4 {
    margin-bottom: 1.5rem;
    color: #fff;
    font-weight: 600;
}

footer p {
    margin-bottom: 0.8rem;
    line-height: 1.7;
}

footer a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #5dade2;
}

/* Responsive */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        align-items: center;
        margin-top: 1.5rem;
    }
    nav ul li {
        margin: 0.5rem 0;
    }
    .slide-content h2 {
        font-size: 2.2rem;
    }
    .slide-content p {
        font-size: 1rem;
    }
    .slider {
        height: 350px;
    }
    .slide img {
        height: 350px;
    }
    .section {
        padding: 3rem 0;
        margin: 1rem 0;
    }
    .section h2 {
        font-size: 2.2rem;
    }
    .services, .portfolio-items, .testimonials {
        grid-template-columns: 1fr;
    }
    .technologies {
        flex-direction: column;
        align-items: center;
    }
    footer .container {
        flex-direction: column;
        text-align: center;
    }
}
