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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background: #f5f5f5;
}

.navbar {
    background: white;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 800;
    color: #4F46E5;
}

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

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
}

.menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 120px 20px 80px;
    text-align: center;
    color: white;
}

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

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 80px 0;
}

section:nth-child(even) {
    background: #f8f9fa;
}

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

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

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

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

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

.price {
    margin-top: 1rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: #4F46E5;
}

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

.portfolio-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.portfolio-content {
    padding: 1.5rem;
}

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

.consultation-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.info-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.consultation-form {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: #4F46E5;
    color: white;
}

.order-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    justify-content: center;
}

.tab-btn {
    padding: 10px 20px;
    border: none;
    background: white;
    cursor: pointer;
    border-radius: 8px;
}

.tab-btn.active {
    background: #4F46E5;
    color: white;
}

.orders-list {
    display: grid;
    gap: 1rem;
    margin-bottom: 2rem;
}

.order-card {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.new-order {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    margin-top: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.footer {
    background: #1a1a1a;
    color: white;
    padding: 3rem 0 1rem;
}

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

.social-links a {
    color: white;
    margin-right: 1rem;
    font-size: 1.25rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .menu-btn {
        display: block;
    }
    .hero h1 {
        font-size: 2rem;
    }
    .consultation-container {
        grid-template-columns: 1fr;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* Make hero text visible - white color */
.hero h1, 
.hero p,
.hero .btn-secondary {
    color: white !important;
}

.hero h1 {
    color: white !important;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.hero p {
    color: white !important;
    opacity: 0.95;
}

.hero-buttons .btn-primary {
    background: white !important;
    color: #4F46E5 !important;
}

.hero-buttons .btn-secondary {
    border-color: white !important;
    color: white !important;
}

/* Featured Project Styles */
.featured-grid {
    display: flex;
    justify-content: center;
    align-items: center;
}

.featured-item {
    transition: transform 0.3s;
}

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

@media (max-width: 768px) {
    .featured-item {
        margin: 0 20px;
    }
    
    .featured-item .portfolio-content {
        padding: 20px;
    }
    
    .featured-item h3 {
        font-size: 1.5rem !important;
    }
}

/* Featured Project Styles */
.featured-grid {
    display: flex;
    justify-content: center;
    align-items: center;
}

.featured-item {
    transition: transform 0.3s;
}

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

@media (max-width: 768px) {
    .featured-item {
        margin: 0 20px;
    }
    
    .featured-item .portfolio-content {
        padding: 20px;
    }
    
    .featured-item h3 {
        font-size: 1.5rem !important;
    }
}

/* Service Cards with Background Images */
.service-card {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.15;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.service-card:hover::before {
    opacity: 0.25;
}

/* Mobile Apps - Smartphone image */
.service-card:nth-child(1)::before {
    background-image: url('https://images.pexels.com/photos/699122/pexels-photo-699122.jpeg?auto=compress&cs=tinysrgb&w=600');
}

/* Web Apps - Laptop coding */
.service-card:nth-child(2)::before {
    background-image: url('https://images.pexels.com/photos/1181244/pexels-photo-1181244.jpeg?auto=compress&cs=tinysrgb&w=600');
}

/* Backend Systems - Server room */
.service-card:nth-child(3)::before {
    background-image: url('https://images.pexels.com/photos/325153/pexels-photo-325153.jpeg?auto=compress&cs=tinysrgb&w=600');
}

/* 24/7 Support - Customer support */
.service-card:nth-child(4)::before {
    background-image: url('https://images.pexels.com/photos/3394659/pexels-photo-3394659.jpeg?auto=compress&cs=tinysrgb&w=600');
}
