/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

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

header {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px 0;
    background: linear-gradient(135deg, #2c5aa0 0%, #1e4080 100%);
    color: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(44, 90, 160, 0.3);
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 700;
}

header h2 {
    font-size: 1.5rem;
    font-weight: 400;
    opacity: 0.9;
}

footer {
    text-align: center;
    margin-top: 40px;
    padding: 20px;
    color: #666;
    font-size: 0.9rem;
}

/* Form Dropdown Styles */
.form-dropdown-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 20px;
}

.dropdown-title {
    text-align: center;
    margin-bottom: 25px;
    color: #2c5aa0;
    font-size: 24px;
    font-weight: 600;
}

.form-search {
    margin-bottom: 25px;
    display: flex;
    gap: 10px;
    align-items: center;
    background: #f8f9fc;
    padding: 15px;
    border-radius: 6px;
}

.form-search input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    background: white;
}

.form-search input:focus {
    outline: none;
    border-color: #2c5aa0;
    box-shadow: 0 0 0 2px rgba(44, 90, 160, 0.1);
}

.form-search button {
    padding: 12px 20px;
    background-color: #6c757d;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.form-search button:hover {
    background-color: #545b62;
}

.dropdown-categories {
    margin-bottom: 20px;
}

.dropdown-category {
    margin-bottom: 12px;
    border: 2px solid #e3f2fd;
    border-radius: 8px;
    overflow: hidden;
    background: white;
}

.category-header {
    width: 100%;
    padding: 18px 25px;
    background: linear-gradient(135deg, #2c5aa0 0%, #1e4080 100%);
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    font-weight: 600;
    color: white;
    transition: all 0.3s ease;
}

.category-header:hover {
    background: linear-gradient(135deg, #1e4080 0%, #1a3a70 100%);
    transform: translateY(-1px);
}

.dropdown-arrow {
    font-size: 14px;
    transition: transform 0.3s ease;
    font-weight: bold;
}

.dropdown-arrow.open {
    transform: rotate(180deg);
}

.category-content {
    background-color: #fafbff;
    border-top: 1px solid #e3f2fd;
}

.form-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.form-item {
    border-bottom: 1px solid #f0f4f8;
}

.form-item:last-child {
    border-bottom: none;
}

.form-link {
    width: 100%;
    padding: 15px 25px;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    transition: all 0.2s ease;
}

.form-link:hover {
    background: linear-gradient(90deg, #f0f7ff 0%, #e3f2fd 100%);
    transform: translateX(5px);
}

.form-name {
    color: #333;
    font-size: 15px;
    font-weight: 500;
}

.download-icon {
    color: #2c5aa0;
    font-size: 16px;
    font-weight: bold;
}

.form-link:hover .download-icon {
    color: #1e4080;
    transform: scale(1.1);
}

.download-note {
    text-align: center;
    margin-top: 20px;
    padding: 15px;
    background: #f8f9fc;
    border-radius: 6px;
    border-left: 4px solid #2c5aa0;
}

.download-note p {
    margin: 0;
    color: #555;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    header h1 {
        font-size: 2rem;
    }
    
    header h2 {
        font-size: 1.2rem;
    }
    
    .form-dropdown-wrapper {
        margin: 0 10px;
        padding: 15px;
    }
    
    .dropdown-title {
        font-size: 20px;
    }
    
    .category-header {
        padding: 15px 20px;
        font-size: 15px;
    }
    
    .form-link {
        padding: 12px 20px;
    }
    
    .form-search {
        flex-direction: column;
        align-items: stretch;
    }
    
    .form-search button {
        align-self: flex-start;
        width: 100px;
    }
    
    .form-name {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    header {
        padding: 20px 0;
    }
    
    header h1 {
        font-size: 1.8rem;
    }
    
    header h2 {
        font-size: 1.1rem;
    }
    
    .category-header {
        padding: 12px 15px;
    }
    
    .form-link {
        padding: 10px 15px;
    }
}