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

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    scroll-behavior: smooth;
}

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

/* Header */
header {
    background: linear-gradient(rgba(0,0,50,0.5), rgba(0,0,50,0.5)), url("/imgs/2025_11_25_13_33_IMG_0910.JPG");
    background-size:cover;
    background-position:center;
    background-attachment:fixed;
    background-repeat: no-repeat;
    color: white;
    padding: 2rem 0;
    text-align: center;
    min-height: 100vh;
    min-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.11);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.logo img {
    width: 30px;
    height: 30px;
}

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

nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover {
    color: #667eea;
}

.hero {
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.2s both;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: #fff;
    color: #667eea;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    margin: 0 10px;
    transition: all 0.3s;
    animation: fadeInUp 1s ease 0.4s both;
}

#btn-download:hover{
    background-color: transparent;
    border: 2px solid white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline:hover {
    background: white;
    color: #667eea;
}

/* Sections */
section {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.section-title p {
    color: #666;
    font-size: 1.1rem;
}

/* About */
.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

/* Services */
.services {
    background: #f8f9fa;
}

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

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.service-card:hover {
    background: #667eea;
    color: #fff;
}

.service-card:hover i,
.service-card:hover h3,
.service-card:hover p {
    color: #fff;
}


.service-card i {
    font-size: 3rem;
    color: #667eea;
    margin-bottom: 1rem;
}

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

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

.work-item a{
    color: #667eea;
    text-decoration: none;
}

.work-item {
    background: #f8f9fa;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.work-item:hover {
    transform: translateY(-5px);
    background-color:#667eea ;
}

.work-item:hover h4,
.work-item:hover p {
    color: #fff;
}

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

.work-item .graphics {
    height: 200px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    color: white; 
    font-size: 1.2rem;
}

#bisa{
    background:url("/imgs/bisa.png");
    background-size:cover;
    background-position:center;
}

#mimi{
    background:url("/imgs/mimi.jpg");
    background-size:cover;
    background-position:center;
}

.work-item .uiux{
    height: 200px; 
    /* background: linear-gradient(45deg, #f093fb, #f5576c);  */
    display: flex; 
    align-items: center; 
    justify-content: center; 
    color: white; 
    font-size: 1.2rem;
}

#uiuxes{
    background:url("/imgs/eslogo.png");
    background-size:cover;
    background-position:center;
}

#uiuxkz{
    background:url("/imgs/kz.PNG");
    background-size:cover;
    background-position:center;
}

.work-item .web{
    height: 200px; 
    /* background: linear-gradient(45deg, #4facfe, #00f2fe);  */
    display: flex; 
    align-items: center; 
    justify-content: center; 
    color: white; 
    font-size: 1.2rem;
}

#webes{
    background:url("/imgs/eshome.png");
    background-size:cover;
    background-position:center;
}

#webcwr{
    background:url("/imgs/cwr.png");
    background-size:contain;
    background-position:center;
    background-repeat: no-repeat;
}

.work-item-content {
    padding: 1.5rem;
    text-align: center;
}

/* Contact */
.contact {
    background: #f8f9fa;
}

/* .contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
} */

.contact-info{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 70px;
}

.contact-item {
    display: flex;
    align-items: center;
    color: black ;
    margin-bottom: 2rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: #667eea;
    margin-right: 1rem;
    width: 30px;
}

.contact-item a{
    text-decoration: none;
    color: black;
}

/* .contact-form {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
} */


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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

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

.social-links {
    margin-top: 1rem;
}

.social-links a {
    color: white;
    font-size: 1.5rem;
    margin: 0 10px;
    transition: color 0.3s;
    text-decoration: none;
}

.social-links a:hover {
    color: #667eea;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Navigation */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #333;
    cursor: pointer;
}

.mobile-menu {
    display: none;
}

/* Responsive Design */
/* Desktops */
@media (min-width: 1200px) {
    .container {
        max-width: 1400px;
    }
    
    .hero h1 {
        font-size: 4rem;
    }
    
    .hero p {
        font-size: 1.4rem;
    }
}

/* Tablets */
@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .work-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    section {
        padding: 3rem 0;
    }
}

/* Large phones */
@media (max-width: 768px) {
    nav {
        padding: 0.5rem 0;
    }
    
    nav .container {
        position: relative;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        padding: 1rem;
        gap: 0;
    }
    
    nav ul.show {
        display: flex;
    }
    
    nav ul li {
        padding: 0.5rem 0;
        border-bottom: 1px solid #eee;
    }
    
    nav ul li:last-child {
        border-bottom: none;
    }

    header {
        padding: 8rem 0 4rem;
        min-height: 80vh;
    }

    .hero h1 {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }
    
    .hero p {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    .btn {
        display: block;
        margin: 10px auto;
        max-width: 250px;
        text-align: center;
    }

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

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .work-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-form {
        order: 2;
    } */
    
    .contact-info {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        align-items: center;
        justify-content: center;
        text-align: center; 
       /* order: 1; */
    }
    
    section {
        padding: 2.5rem 0;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

/* Mobile phones */
@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    header {
        padding: 6rem 0 3rem;
        min-height: 70vh;
    }

    .hero h1 {
        font-size: 1.8rem;
        line-height: 1.2;
    }
    
    .hero p {
        font-size: 1rem;
    }

    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .section-title p {
        font-size: 1rem;
    }

    .service-card {
        padding: 1.5rem;
    }
    
    .service-card i {
        font-size: 2.5rem;
    }
    
    .service-card h3 {
        font-size: 1.2rem;
    }

    /* .contact-form {
        padding: 1.5rem;
    } */
    
    .form-group input,
    .form-group textarea {
        padding: 10px;
        font-size: 0.9rem;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        margin-bottom: 1.5rem;
    }
    
    .contact-item i {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }

    footer {
        padding: 1.5rem 0;
        font-size: 0.9rem;
    }
    
    .social-links a {
        font-size: 1.3rem;
        margin: 0 8px;
    }
    
    section {
        padding: 2rem 0;
    }
    
    .back-to-top {
        width: 40px;
        height: 40px;
        bottom: 15px;
        right: 15px;
    }
}

/* Extra small screens */
@media (max-width: 320px) {
    .hero h1 {
        font-size: 1.6rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .section-title h2 {
        font-size: 1.6rem;
    }
    
    .service-card {
        padding: 1rem;
    }
    
    /* .contact-form {
        padding: 1rem;
    } */
}

/* Landscape orientation for mobile */
@media (max-height: 500px) and (orientation: landscape) {
    header {
        min-height: 100vh;
        padding: 4rem 0 2rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
}

/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #667eea;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: #5a6fd8;
    transform: translateY(-2px);
}
