/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background-color: #f5f7fa;
    color: #333;
    line-height: 1.6;
    max-width: 500px;
    margin: 0 auto;
    font-size: 14px;
}

/* Top bar styles */
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    background-color: #fff;
    border-bottom: 1px solid #eee;
}

.home-icon a {
    display: flex;
    align-items: center;
}

.title {
    font-weight: bold;
}

.language-selector {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Banner styles */
.banner {
    position: relative;
    height: 120px;
    overflow: hidden;
}

.banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-text {
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.banner h1 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.subtitle {
    font-size: 0.9rem;
}

/* Service section styles */
.service-title {
    padding: 15px;
    font-weight: bold;
    background-color: #fff;
    border-bottom: 1px solid #eee;
}

.service-list {
    background-color: #fff;
}

.service-item {
    display: flex;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #eee;
    text-decoration: none;
    color: #333;
}

.service-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: bold;
    margin-right: 15px;
    flex-shrink: 0;
}

.red-icon {
    background-color: #f44336;
}

.green-icon {
    background-color: #4CAF50;
}

.yellow-icon {
    background-color: #FFC107;
}

.service-name {
    flex-grow: 1;
}

.arrow-icon {
    font-size: 20px;
    color: #999;
}

/* Tips section styles */
.tips-section {
    background-color: #fff;
    padding: 20px 15px;
    margin-top: 15px;
}

.tips-section h3 {
    font-size: 16px;
    margin-bottom: 10px;
    color: #333;
}

.tips-section ol {
    padding-left: 20px;
    margin-bottom: 20px;
    color: #666;
    font-size: 13px;
}

.tips-section li {
    margin-bottom: 8px;
}

.progress-btn {
    background-color: #f44336;
    color: white;
    border: none;
    padding: 12px 25px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    display: block;
    width: 100%;
    font-weight: 600;
    text-align: center;
}

.progress-btn:hover {
    background-color: #d32f2f;
}

/* Form styles for service pages */
.service-form {
    background-color: #ffffff;
    padding: 20px 15px;
}

.service-form h2 {
    margin-bottom: 20px;
    color: #333;
    font-size: 18px;
}

.form-group {
    margin-bottom: 15px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #555;
    font-size: 14px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    transition: border-color 0.3s;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus {
    border-color: #f44336;
    outline: none;
}

input[type="file"] {
    padding: 8px 0;
}

.submit-btn {
    background-color: #f44336;
    color: white;
    border: none;
    padding: 12px 25px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    display: block;
    width: 100%;
    font-weight: 600;
    margin-top: 20px;
}

.submit-btn:hover {
    background-color: #d32f2f;
}

/* Responsive styles */
@media (max-width: 480px) {
    body {
        font-size: 13px;
    }
    
    .banner {
        height: 100px;
    }
    
    .banner h1 {
        font-size: 1.3rem;
    }
    
    .subtitle {
        font-size: 0.8rem;
    }
    
    .service-item {
        padding: 12px 15px;
    }
    
    .service-icon {
        width: 25px;
        height: 25px;
        margin-right: 12px;
    }
}

@media (min-width: 481px) and (max-width: 768px) {
    body {
        max-width: 600px;
    }
}

/* Loading animation for form submission */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
    margin-left: 10px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}