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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #2c2c2c;
    background-color: #fafafa;
}

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

/* Header */
.header {
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

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

.logo {
    font-size: 24px;
    font-weight: 700;
    color: #4a4a4a;
}

.nav {
    display: flex;
    gap: 30px;
}

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

.nav a:hover {
    color: #2c2c2c;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 120px 0 80px;
    text-align: center;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    color: #2c2c2c;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 20px;
    color: #666;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    background: #4a4a4a;
    color: white;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: background 0.3s ease, transform 0.2s ease;
}

.cta-button:hover {
    background: #333;
    transform: translateY(-2px);
}

/* Section Titles */
.section-title {
    font-size: 36px;
    font-weight: 700;
    color: #2c2c2c;
    text-align: center;
    margin-bottom: 50px;
}

/* Achievements Section */
.achievements {
    padding: 80px 0;
    background: #ffffff;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.stat {
    text-align: center;
    padding: 30px 20px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

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

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: #4a4a4a;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 16px;
    color: #666;
    font-weight: 500;
}

.clients {
    text-align: center;
}

.clients h4 {
    font-size: 24px;
    color: #4a4a4a;
    margin-bottom: 30px;
}

.client-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
}

.client {
    font-size: 18px;
    font-weight: 600;
    color: #666;
    padding: 10px 20px;
    background: #f0f0f0;
    border-radius: 5px;
}

/* Tech Stack Section */
.tech-stack {
    padding: 80px 0;
    background: #f8f9fa;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.tech-item {
    background: #ffffff;
    padding: 15px 20px;
    text-align: center;
    border-radius: 8px;
    font-weight: 500;
    color: #4a4a4a;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid #e0e0e0;
}

.tech-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Services Section */
.services {
    padding: 80px 0;
    background: #ffffff;
}

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

.service-card {
    padding: 40px 30px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 4px solid #4a4a4a;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-card h4 {
    font-size: 20px;
    font-weight: 700;
    color: #2c2c2c;
    margin-bottom: 15px;
}

.service-card p {
    color: #666;
    line-height: 1.6;
}

/* Extended service card styles */
.service-card--extended {
    grid-column: span 2;
}

.service-main-desc {
    font-size: 16px;
    margin-bottom: 25px;
    font-weight: 500;
}

.service-examples h5 {
    font-size: 16px;
    color: #2c2c2c;
    margin-bottom: 15px;
    font-weight: 600;
}

.service-list {
    list-style: none;
    margin-bottom: 20px;
}

.service-list li {
    margin-bottom: 12px;
    padding-left: 15px;
    position: relative;
    color: #555;
    line-height: 1.5;
}

.service-list li:before {
    content: '•';
    color: #4a4a4a;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.service-list strong {
    color: #2c2c2c;
    font-weight: 600;
}

.service-note {
    font-style: italic;
    color: #777;
    font-size: 14px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
}

/* FAQ Section */
.faq {
    padding: 80px 0;
    background: #ffffff;
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 0;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 0;
    cursor: pointer;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: #4a4a4a;
}

.faq-question h4 {
    font-size: 18px;
    font-weight: 600;
    color: #2c2c2c;
    margin: 0;
    flex: 1;
    padding-right: 20px;
}

.faq-toggle {
    font-size: 24px;
    font-weight: bold;
    color: #4a4a4a;
    transition: transform 0.3s ease;
    min-width: 30px;
    text-align: center;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding-bottom: 25px;
}

.faq-answer p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: #f8f9fa;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info {
    padding: 20px 0;
}

.contact-info p {
    font-size: 18px;
    color: #4a4a4a;
    margin-bottom: 30px;
    font-weight: 500;
}

.contact-info ul {
    list-style: none;
}

.contact-info li {
    color: #666;
    margin-bottom: 15px;
    font-size: 16px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input,
.contact-form textarea {
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #4a4a4a;
}

.submit-button {
    background: #4a4a4a;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}

.submit-button:hover {
    background: #333;
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: #2c2c2c;
    color: #ccc;
    padding: 30px 0;
    text-align: center;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: #ffffff;
    margin: 15% auto;
    padding: 40px;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    text-align: center;
    position: relative;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    right: 20px;
    top: 15px;
    cursor: pointer;
}

.close:hover {
    color: #000;
}

.modal-content h3 {
    color: #4a4a4a;
    margin-bottom: 20px;
    font-size: 24px;
}

.modal-content p {
    color: #666;
    font-size: 16px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .nav {
        display: none;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card--extended {
        grid-column: span 1;
    }
    
    .client-list {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .tech-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .achievements,
    .tech-stack,
    .services,
    .faq,
    .contact {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .service-card {
        padding: 30px 20px;
    }
    
    .modal-content {
        margin: 20% auto;
        padding: 30px 20px;
    }
    
    .container {
        padding: 0 15px;
    }
}