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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 75rem;
    margin: 0 auto;
    padding: 0 1.25rem;
}

.header {
    background-color: #FFCD08;
    padding: 0.9375rem 0;
    box-shadow: 0 0.125rem 0.25rem rgba(0,0,0,0.1);
}

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

.logo {
    display: flex;
    align-items: center;
    font-weight: 600;
    font-size: 0.875rem;
    color: #333;
}

.logo i {
    font-size: 1.5rem;
    margin-right: 0.625rem;
}

.social-links {
    display: flex;
    gap: 0.625rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.1875rem;
    height: 2.1875rem;
    background-color: #333;
    color: white;
    text-decoration: none;
    border-radius: 0.25rem;
    transition: background-color 0.3s ease;
}

.social-links a:hover {
    background-color: #555;
}

.main {
    padding: 2.5rem 0 0 0;
    height: 100%;
    flex: 1;
}

.page-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 1.875rem;
    color: #333;
}

.tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 2.5rem;
    background-color: #d0d0d0;
    border-radius: 1.5625rem;
    padding: 0.25rem;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.tab-btn {
    background-color: transparent;
    border: none;
    padding: 0.75rem 1.875rem;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 1.3125rem;
    margin: 0;
    transition: all 0.3s ease;
    color: #666;
}

.tab-btn.active {
    background-color: white;
    color: #333;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.tab-btn:hover:not(.active) {
    background-color: rgba(255,255,255,0.5);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.form-card {
    background: white;
    border-radius: 0.75rem;
    padding: 1.5625rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 0.125rem 0.5rem rgba(0,0,0,0.1);
    max-width: 70%;
    margin-left: auto;
    margin-right: auto;
    border: 2px solid #ddd;
}

.card-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.25rem;
    padding-bottom: 0.625rem;
    border-bottom: 1px solid #eee;
}

.card-header i {
    font-size: 1.125rem;
    margin-right: 0.625rem;
    color: #666;
}

.card-header h2 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #333;
}

.order-form {
    background: none;
    padding: 0;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
}

.input-wrapper {
    position: relative;
}

.input-wrapper i {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
}

.input-wrapper input {
    width: 100%;
    padding: 0.75rem 0.9375rem 0.75rem 2.5rem;
    border: 1px solid #ddd;
    border-radius: 0.375rem;
    font-size: 0.875rem;
}

.submit-btn {
    background: #333;
    color: white;
    padding: 0.9375rem 2.5rem;
    border: none;
    border-radius: 0.375rem;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    width: 100%;
}

.submit-btn:hover {
    background: #555;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.9375rem;
    gap: 0.75rem;
}

.info-item i {
    color: #666;
    margin-top: 0.125rem;
    flex-shrink: 0;
}

.info-item p {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.5;
}

.services-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.875rem;
    padding-bottom: 0.9375rem;
    border-bottom: 2px solid #f0f0f0;
}

.services-header i {
    font-size: 1.5rem;
    margin-right: 0.9375rem;
    color: #666;
}

.services-header h2 {
    font-size: 1.375rem;
    font-weight: 500;
    color: #333;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.service-card {
    display: flex;
    border: 1px solid #e0e0e0;
    border-radius: 0.625rem;
    padding: 1.25rem;
    transition: all 0.3s ease;
}

.service-card:hover {
    box-shadow: 0 0.25rem 0.75rem rgba(0,0,0,0.1);
    transform: translateY(-0.125rem);
}

.service-icon {
    margin-right: 1.25rem;
    flex-shrink: 0;
}

.service-icon i {
    font-size: 1.75rem;
    width: 3.125rem;
    height: 3.125rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-content {
    flex: 1;
}

.service-content h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.625rem;
    color: #333;
}

.service-content p {
    font-size: 0.875rem;
    color: #666;
    margin-bottom: 0.9375rem;
    line-height: 1.5;
}

.logo-icon {
    height: 3.125rem;
    width: auto;
    margin-right: 0.625rem;
}

.service-btn {
    display: block;
    background-color: #ffc107;
    border: none;
    padding: 0.625rem 1.25rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #333;
    width: 100%;
    text-decoration: none;
    text-align: center;
}

.service-btn:hover {
    background-color: #ffb300;
    transform: translateY(-1px);
    box-shadow: 0 0.125rem 0.25rem rgba(0,0,0,0.2);
}

.faq-container {
    max-width: 50rem;
    margin: 0 auto;
}

.faq-item {
    border: 2px solid #e0e0e0;
    border-radius: 0.5rem;
    margin-bottom: 0.625rem;
    width: 100%;
    background: white;
}

.faq-question {
    padding: 1.25rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
}

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

.faq-item.active .faq-answer {
    padding: 0 1.25rem 1.25rem 1.25rem;
    max-height: 12.5rem;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.footer-card {
    background-color: white;
    padding: 2.5rem 5rem;
    border-top: 1px solid #ccc;
    margin-top: 2.5rem;
}

.footer-card p {
    margin-bottom: 0.3125rem;
    font-size: 0.875rem;
    color: #666;
}

@media (max-width: 48rem) {
    .header .container {
        flex-direction: column;
        gap: 0.9375rem;
        text-align: center;
    }
    
    .logo {
        justify-content: center;
    }
    
    .page-title {
        font-size: 1.5rem;
    }
    
    .tabs {
        flex-direction: column;
        align-items: center;
        gap: 0.625rem;
    }
    
    .tab-btn {
        width: 12.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        display: block;
    }
    
    .service-card {
        display: block;
        border: 1px solid #e0e0e0;
        border-radius: 0.625rem;
        padding: 1.25rem;
        background-color: #fafafa;
        transition: all 0.3s ease;
        margin-bottom: 0.9375rem;
    }
    
    .service-icon {
        margin-bottom: 0.9375rem;
    }
}

@media (max-width: 30rem) {
    .container {
        padding: 0 0.9375rem;
    }
    
    .service-card {
        margin-bottom: 0.9375rem;
    }
    
    .page-title {
        font-size: 1.25rem;
    }
}

.api-message {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    margin: 1.25rem 0;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    line-height: 1.4;
    animation: slideIn 0.3s ease-out;
}

.api-message-success {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.api-message-error {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.api-message i:first-child {
    font-size: 1.125rem;
    flex-shrink: 0;
}

.api-message-success i:first-child {
    color: #28a745;
}

.api-message-error i:first-child {
    color: #dc3545;
}

.api-message span {
    flex: 1;
}

.message-close {
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 0.25rem;
    transition: background-color 0.2s ease;
    flex-shrink: 0;
}

.message-close:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

.message-close i {
    font-size: 0.875rem;
}

.submit-btn:disabled {
    background-color: #6c757d;
    border-color: #6c757d;
    cursor: not-allowed;
    opacity: 0.7;
}

.submit-btn:disabled:hover {
    background-color: #6c757d;
    border-color: #6c757d;
    transform: none;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-0.625rem);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 48rem) {
    .api-message {
        padding: 0.75rem 1rem;
        font-size: 0.8125rem;
        gap: 0.625rem;
    }
    
    .api-message i:first-child {
        font-size: 1rem;
    }
}